Compare commits

..

No commits in common. "dc73cc3a50cb39937bd4e05c7513f9b652668826" and "c4e3ba10c6857cfe4f2dfd9049839748930a03b8" have entirely different histories.

32 changed files with 17447 additions and 547 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -22148,84 +22148,8 @@ AS
[Folders].[FormatID]=@FormatID
RETURN
GO
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[vesp_ListUnlinkedItems]') AND OBJECTPROPERTY(id,N'IsProcedure') = 1)
DROP PROCEDURE [vesp_ListUnlinkedItems];
GO
/*****************************************************************************
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
Copyright 2024 - Volian Enterprises, Inc. All rights reserved.
*****************************************************************************/
/*
==========================================================================================================
Author: Kathy Ruffing
Create Date: 03/27/2024
Description: B2024-018: Gets list of procedures/sections/steps for possible enhanced linking
==========================================================================================================
*/
Create Procedure[dbo].[vesp_ListUnlinkedItems]
(
@ItemID int,
@EnhType int
)
WITH EXECUTE AS OWNER
AS
BEGIN
DECLARE @ParItemID int
DECLARE @EItemID int
set @EItemID = (select top 1 VIS.EItemID from vefn_AllSiblingItems(@ItemID)--Find All Siblings
outer apply vefn_GetNewEnhancedData(ItemID,@EnhType) VIS -- That are Linked
where EitemID is not null)
if @EItemID is null
BEGIN
select @EItemID = epp.ItemID
from (select * from Parts where ItemID in(select itemID from vefn_AllSiblingItems(@ItemID)))SPP -- FindParent
JOIN ITEMS SII ON sPP.ContentID = sII.ContentID -- Get Parent Content ID
outer apply vefn_GetNewEnhancedData(SII.ItemID,@EnhType) VIS -- Get Enhanced ID for Parent
JOIN ITEMS EII ON VIS.EItemID = EII.ItemID -- Get Enhanced Parent Content ID
JOIN PARTS EPP ON EPP.ContentID = EII.ContentID and SPP.FromType = epp.FromType -- Get first Child
END
if @EItemID is null -- B2024-018: If not found at the current level, check at the parent level
BEGIN
select @ParItemID = dbo.ve_getparentitem(@ItemID)
select @EItemID = epp.ItemID
from (select * from Parts where ItemID in(select itemID from vefn_AllSiblingItems(@ParItemID)))SPP -- FindParent
JOIN ITEMS SII ON sPP.ContentID = sII.ContentID -- Get Parent Content ID
outer apply vefn_GetNewEnhancedData(SII.ItemID,@EnhType) VIS -- Get Enhanced ID for Parent
JOIN ITEMS EII ON VIS.EItemID = EII.ItemID -- Get Enhanced Parent Content ID
JOIN PARTS EPP ON EPP.ContentID = EII.ContentID --and SPP.FromType = epp.FromType (had to remove types may be proc/sect)
END
if @EItemID is null
BEGIN
select @EItemID = DV2.ItemID from (select *,cast(config as xml) xconfig from DocVersions
where ItemID in(select itemID from vefn_AllSiblingItems(@ItemID))) SDV -- Source DocVersion
cross apply (select * from vefn_GetEnhancedDocVersions(SDV.VersionID) where @EnhType = Type) EDV -- Enhanced DocVersion
Join DocVersions DV2 ON DV2.VersionID = EDV.VersionID -- First Procedure
END
Select ItemID,PreviousID,II.ContentID,II.[DTS],II.[UserID],II.[LastChanged],
(SELECT COUNT(*) FROM [Annotations] WHERE [Annotations].[ItemID]=[II].[ItemID]) [AnnotationCount],
(SELECT COUNT(*) FROM [DocVersions] WHERE [DocVersions].[ItemID]=[II].[ItemID]) [DocVersionCount],
(SELECT COUNT(*) FROM [Items] [Children] WHERE [Children].[PreviousID]=[II].[ItemID]) [NextCount],
(SELECT COUNT(*) FROM [Parts] WHERE [Parts].[ItemID]=[II].[ItemID]) [PartCount],
(SELECT COUNT(*) FROM [Transitions] WHERE [Transitions].[RangeID]=[II].[ItemID]) [Transition_RangeIDCount],
(SELECT COUNT(*) FROM [Transitions] WHERE [Transitions].[ToID]=[II].[ItemID]) [Transition_ToIDCount]
from Items II
Left Join Entries EE ON II.ContentID = EE.ContentID
where ItemID In (select SIB.ItemID from vefn_AllSiblingItems(@EItemID) SIB
outer apply vefn_GetNewEnhancedData(ItemID,0) VIE
Where VIE.EItemID is null)
and EE.ContentID is null
END
Go
IF (@@Error = 0) PRINT 'Procedure Creation: [vesp_ListUnlinkedItems] Succeeded'
ELSE PRINT 'Procedure Creation: [vesp_ListUnlinkedItems] Error on Creation'
GO
-----------------------------------------------------------------------------
/*
---------------------------------------------------------------------------
@ -22260,8 +22184,8 @@ BEGIN TRY -- Try Block
DECLARE @RevDate varchar(255)
DECLARE @RevDescription varchar(255)
set @RevDate = '03/27/2024 11:00 AM'
set @RevDescription = 'B2024-018: Enhanced link issue with sub-sections in source but not in enhanced'
set @RevDate = '10/03/2023 11:00 AM'
set @RevDescription = 'C2023-017: Added logic to filter the format list when selecting a format to be applied to a section'
Select cast(@RevDate as datetime) RevDate, @RevDescription RevDescription
PRINT 'SQL Code Revision ' + @RevDate + ' - ' + @RevDescription

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,92 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PROMS")]
[assembly: AssemblyDescription("Create, Edit, and Maintain Procedures Sets.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Volian Enterprises, Inc.")]
[assembly: AssemblyProduct("PROMS")]
[assembly: AssemblyCopyright("Copyright © 2012. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("2ffeb031-bf85-4153-baa2-2d4da2fd5556")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build YYMM (two digit year, two digit month)
// Revision DHH (day - no leading zero, two digit hour - military time
//
[assembly: AssemblyVersion("11.6.1205.316")]
[assembly: AssemblyFileVersion("11.6.1205.316")]

View File

@ -30,8 +30,8 @@ namespace VEPROMS
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmVersionsProperties));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.ppBtnCancel = new System.Windows.Forms.Button();
this.ppBtnOK = new System.Windows.Forms.Button();
this.ppBtnDefaultChgBar = new DevComponents.DotNetBar.ButtonX();
@ -95,14 +95,17 @@ namespace VEPROMS
this.ppLblDefSettingsInfo = new System.Windows.Forms.Label();
this.dlgROFolder = new System.Windows.Forms.FolderBrowserDialog();
this.tcVersions = new DevComponents.DotNetBar.TabControl();
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpRefereceObjects = new DevComponents.DotNetBar.TabControlPanel();
this.ppBtnRoToSql = new System.Windows.Forms.Button();
this.tbRoDb = new System.Windows.Forms.TextBox();
this.ppBtnRoDbBrowse = new System.Windows.Forms.Button();
this.btnRoDbProperties = new DevComponents.DotNetBar.ButtonX();
this.cmbRoDb = new System.Windows.Forms.ComboBox();
this.ppGpbxUpROvals = new DevComponents.DotNetBar.Controls.GroupPanel();
this.tiRefObjs = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel();
this.gpxMOSLandLocation = new DevComponents.DotNetBar.Controls.GroupPanel();
this.ppCmbxMOSLandcornerLoc = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.tbxMOSLandyloc = new DevComponents.DotNetBar.Controls.TextBoxX();
this.tbxMOSLandxloc = new DevComponents.DotNetBar.Controls.TextBoxX();
this.lblMOSLandcorner = new System.Windows.Forms.Label();
this.lblMOSLandyloc = new System.Windows.Forms.Label();
this.lblMOSLandxloc = new System.Windows.Forms.Label();
this.ppChbxMOSview = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.gpxMOSLocation = new DevComponents.DotNetBar.Controls.GroupPanel();
this.ppCmbxMOScornerLoc = new DevComponents.DotNetBar.Controls.ComboBoxEx();
@ -121,16 +124,6 @@ namespace VEPROMS
this.ppCmbxMOSformat = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.lblMOSformat = new System.Windows.Forms.Label();
this.tiMergedOutputSettings = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpRefereceObjects = new DevComponents.DotNetBar.TabControlPanel();
this.ppBtnRoToSql = new System.Windows.Forms.Button();
this.tbRoDb = new System.Windows.Forms.TextBox();
this.ppBtnRoDbBrowse = new System.Windows.Forms.Button();
this.btnRoDbProperties = new DevComponents.DotNetBar.ButtonX();
this.cmbRoDb = new System.Windows.Forms.ComboBox();
this.ppGpbxUpROvals = new DevComponents.DotNetBar.Controls.GroupPanel();
this.tiRefObjs = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
this.ppChbxEnhancedAllowMods = new System.Windows.Forms.CheckBox();
this.btnUnlinkDocVersion = new System.Windows.Forms.Button();
@ -217,19 +210,25 @@ namespace VEPROMS
this.ROPrefixBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.PDFLocationBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
this.formatInfoListBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.gpxMOSLandLocation = new DevComponents.DotNetBar.Controls.GroupPanel();
this.ppCmbxMOSLandcornerLoc = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.tbxMOSLandyloc = new DevComponents.DotNetBar.Controls.TextBoxX();
this.tbxMOSLandxloc = new DevComponents.DotNetBar.Controls.TextBoxX();
this.lblMOSLandcorner = new System.Windows.Forms.Label();
this.lblMOSLandyloc = new System.Windows.Forms.Label();
this.lblMOSLandxloc = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.docVersionConfigBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.imageCodecInfoBindingSource)).BeginInit();
this.ppGpbxUserSpecCB.SuspendLayout();
this.ppGpbxUserSpecTxt.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tcVersions)).BeginInit();
this.tcVersions.SuspendLayout();
this.tabControlPanel2.SuspendLayout();
this.gpxMOSLandLocation.SuspendLayout();
this.gpxMOSLocation.SuspendLayout();
this.gpxMOSfont.SuspendLayout();
this.tcpGeneral.SuspendLayout();
this.tcpRefereceObjects.SuspendLayout();
this.ppGpbxUpROvals.SuspendLayout();
this.tabControlPanel2.SuspendLayout();
this.gpxMOSLocation.SuspendLayout();
this.gpxMOSfont.SuspendLayout();
this.tabControlPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bsMiniEnhanced)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bsEnhanced)).BeginInit();
@ -248,6 +247,7 @@ namespace VEPROMS
this.panVerBtns.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ROPrefixBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).BeginInit();
this.gpxMOSLandLocation.SuspendLayout();
this.SuspendLayout();
//
// ppBtnCancel
@ -1102,9 +1102,9 @@ namespace VEPROMS
this.tcVersions.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.tcVersions.BackColor = System.Drawing.Color.Transparent;
this.tcVersions.CanReorderTabs = true;
this.tcVersions.Controls.Add(this.tcpRefereceObjects);
this.tcVersions.Controls.Add(this.tcpGeneral);
this.tcVersions.Controls.Add(this.tabControlPanel2);
this.tcVersions.Controls.Add(this.tcpGeneral);
this.tcVersions.Controls.Add(this.tcpRefereceObjects);
this.tcVersions.Controls.Add(this.tabControlPanel1);
this.tcVersions.Controls.Add(this.tcpApplicability);
this.tcVersions.Controls.Add(this.tabControlPanel5);
@ -1130,6 +1130,173 @@ namespace VEPROMS
this.tcVersions.TabsVisible = false;
this.tcVersions.Text = "tabControl1";
//
// tcpGeneral
//
this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.tcpGeneral.Controls.Add(this.ppCmbxProcSetType);
this.tcpGeneral.Controls.Add(this.ppRTxtName);
this.tcpGeneral.Controls.Add(this.label9);
this.tcpGeneral.Controls.Add(this.ppRTxtProcSetRev);
this.tcpGeneral.Controls.Add(this.lblProcSetRev);
this.tcpGeneral.Controls.Add(this.label4);
this.tcpGeneral.Controls.Add(this.label3);
this.tcpGeneral.Controls.Add(this.ppRTxtTitle);
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
this.tcpGeneral.Controls.Add(this.ppDTPicker);
this.tcpGeneral.Controls.Add(this.label2);
this.tcpGeneral.Controls.Add(this.label1);
this.tcpGeneral.DisabledBackColor = System.Drawing.Color.Empty;
this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpGeneral.Location = new System.Drawing.Point(0, 22);
this.tcpGeneral.Margin = new System.Windows.Forms.Padding(2);
this.tcpGeneral.Name = "tcpGeneral";
this.tcpGeneral.Padding = new System.Windows.Forms.Padding(2);
this.tcpGeneral.Size = new System.Drawing.Size(625, 311);
this.tcpGeneral.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpGeneral.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpGeneral.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpGeneral.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpGeneral.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpGeneral.Style.GradientAngle = 90;
this.tcpGeneral.TabIndex = 1;
this.tcpGeneral.TabItem = this.tiGeneral;
//
// tiGeneral
//
this.tiGeneral.AttachedControl = this.tcpGeneral;
this.tiGeneral.Name = "tiGeneral";
this.tiGeneral.Text = "General";
//
// tcpRefereceObjects
//
this.tcpRefereceObjects.Controls.Add(this.ppBtnRoToSql);
this.tcpRefereceObjects.Controls.Add(this.tbRoDb);
this.tcpRefereceObjects.Controls.Add(this.ppBtnRoDbBrowse);
this.tcpRefereceObjects.Controls.Add(this.btnRoDbProperties);
this.tcpRefereceObjects.Controls.Add(this.cmbRoDb);
this.tcpRefereceObjects.Controls.Add(this.ppGpbxUpROvals);
this.tcpRefereceObjects.Controls.Add(this.label6);
this.tcpRefereceObjects.DisabledBackColor = System.Drawing.Color.Empty;
this.tcpRefereceObjects.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpRefereceObjects.Location = new System.Drawing.Point(0, 22);
this.tcpRefereceObjects.Margin = new System.Windows.Forms.Padding(2);
this.tcpRefereceObjects.Name = "tcpRefereceObjects";
this.tcpRefereceObjects.Padding = new System.Windows.Forms.Padding(2);
this.tcpRefereceObjects.Size = new System.Drawing.Size(625, 311);
this.tcpRefereceObjects.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpRefereceObjects.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpRefereceObjects.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpRefereceObjects.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpRefereceObjects.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpRefereceObjects.Style.GradientAngle = 90;
this.tcpRefereceObjects.TabIndex = 2;
this.tcpRefereceObjects.TabItem = this.tiRefObjs;
this.tcpRefereceObjects.Enter += new System.EventHandler(this.tabpage_Enter);
//
// ppBtnRoToSql
//
this.ppBtnRoToSql.Location = new System.Drawing.Point(337, 146);
this.ppBtnRoToSql.Name = "ppBtnRoToSql";
this.ppBtnRoToSql.Size = new System.Drawing.Size(163, 46);
this.ppBtnRoToSql.TabIndex = 48;
this.ppBtnRoToSql.Text = "Migrate Data to Sql";
this.ppBtnRoToSql.UseVisualStyleBackColor = true;
this.ppBtnRoToSql.Visible = false;
this.ppBtnRoToSql.Click += new System.EventHandler(this.ppBtnRoToSql_Click);
//
// tbRoDb
//
this.tbRoDb.Enabled = false;
this.tbRoDb.Location = new System.Drawing.Point(80, 13);
this.tbRoDb.Margin = new System.Windows.Forms.Padding(2);
this.tbRoDb.Name = "tbRoDb";
this.tbRoDb.Size = new System.Drawing.Size(318, 20);
this.tbRoDb.TabIndex = 20;
//
// ppBtnRoDbBrowse
//
this.ppBtnRoDbBrowse.Location = new System.Drawing.Point(406, 34);
this.ppBtnRoDbBrowse.Margin = new System.Windows.Forms.Padding(2);
this.ppBtnRoDbBrowse.Name = "ppBtnRoDbBrowse";
this.ppBtnRoDbBrowse.Size = new System.Drawing.Size(51, 20);
this.ppBtnRoDbBrowse.TabIndex = 22;
this.ppBtnRoDbBrowse.Text = "Browse...";
this.ppBtnRoDbBrowse.UseVisualStyleBackColor = true;
this.ppBtnRoDbBrowse.Click += new System.EventHandler(this.ppBtnRoDbBrowse_Click);
//
// btnRoDbProperties
//
this.btnRoDbProperties.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnRoDbProperties.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnRoDbProperties.Image = ((System.Drawing.Image)(resources.GetObject("btnRoDbProperties.Image")));
this.btnRoDbProperties.Location = new System.Drawing.Point(406, 10);
this.btnRoDbProperties.Margin = new System.Windows.Forms.Padding(2);
this.btnRoDbProperties.Name = "btnRoDbProperties";
this.btnRoDbProperties.Size = new System.Drawing.Size(33, 23);
this.btnRoDbProperties.TabIndex = 21;
this.btnRoDbProperties.Click += new System.EventHandler(this.btnRoDbProperties_Click);
//
// cmbRoDb
//
this.cmbRoDb.FormattingEnabled = true;
this.cmbRoDb.Location = new System.Drawing.Point(80, 13);
this.cmbRoDb.Margin = new System.Windows.Forms.Padding(2);
this.cmbRoDb.Name = "cmbRoDb";
this.cmbRoDb.Size = new System.Drawing.Size(318, 21);
this.cmbRoDb.TabIndex = 47;
this.cmbRoDb.SelectedIndexChanged += new System.EventHandler(this.cmbRoDb_SelectedIndexChanged);
//
// ppGpbxUpROvals
//
this.ppGpbxUpROvals.BackColor = System.Drawing.Color.Transparent;
this.ppGpbxUpROvals.CanvasColor = System.Drawing.SystemColors.Control;
this.ppGpbxUpROvals.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.ppGpbxUpROvals.Controls.Add(this.ppBtnResetRoVals);
this.ppGpbxUpROvals.Controls.Add(this.ppBtnUpRoVals);
this.ppGpbxUpROvals.DisabledBackColor = System.Drawing.Color.Empty;
this.ppGpbxUpROvals.Location = new System.Drawing.Point(34, 69);
this.ppGpbxUpROvals.Margin = new System.Windows.Forms.Padding(2);
this.ppGpbxUpROvals.Name = "ppGpbxUpROvals";
this.ppGpbxUpROvals.Size = new System.Drawing.Size(112, 162);
//
//
//
this.ppGpbxUpROvals.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.ppGpbxUpROvals.Style.BackColorGradientAngle = 90;
this.ppGpbxUpROvals.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.ppGpbxUpROvals.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUpROvals.Style.BorderBottomWidth = 1;
this.ppGpbxUpROvals.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.ppGpbxUpROvals.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUpROvals.Style.BorderLeftWidth = 1;
this.ppGpbxUpROvals.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUpROvals.Style.BorderRightWidth = 1;
this.ppGpbxUpROvals.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUpROvals.Style.BorderTopWidth = 1;
this.ppGpbxUpROvals.Style.CornerDiameter = 4;
this.ppGpbxUpROvals.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGpbxUpROvals.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.ppGpbxUpROvals.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.ppGpbxUpROvals.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.ppGpbxUpROvals.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGpbxUpROvals.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppGpbxUpROvals.TabIndex = 46;
this.ppGpbxUpROvals.Text = "RO Values";
//
// tiRefObjs
//
this.tiRefObjs.AttachedControl = this.tcpRefereceObjects;
this.tiRefObjs.Name = "tiRefObjs";
this.tiRefObjs.Text = "Referenced Objects";
//
// tabControlPanel2
//
this.tabControlPanel2.Controls.Add(this.gpxMOSLandLocation);
@ -1157,128 +1324,6 @@ namespace VEPROMS
this.tabControlPanel2.TabIndex = 30;
this.tabControlPanel2.TabItem = this.tiMergedOutputSettings;
//
// gpxMOSLandLocation
//
this.gpxMOSLandLocation.BackColor = System.Drawing.Color.Transparent;
this.gpxMOSLandLocation.CanvasColor = System.Drawing.SystemColors.Control;
this.gpxMOSLandLocation.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.gpxMOSLandLocation.Controls.Add(this.ppCmbxMOSLandcornerLoc);
this.gpxMOSLandLocation.Controls.Add(this.tbxMOSLandyloc);
this.gpxMOSLandLocation.Controls.Add(this.tbxMOSLandxloc);
this.gpxMOSLandLocation.Controls.Add(this.lblMOSLandcorner);
this.gpxMOSLandLocation.Controls.Add(this.lblMOSLandyloc);
this.gpxMOSLandLocation.Controls.Add(this.lblMOSLandxloc);
this.gpxMOSLandLocation.DisabledBackColor = System.Drawing.Color.Empty;
this.gpxMOSLandLocation.Location = new System.Drawing.Point(284, 164);
this.gpxMOSLandLocation.Margin = new System.Windows.Forms.Padding(2);
this.gpxMOSLandLocation.Name = "gpxMOSLandLocation";
this.gpxMOSLandLocation.Size = new System.Drawing.Size(209, 98);
//
//
//
this.gpxMOSLandLocation.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.gpxMOSLandLocation.Style.BackColorGradientAngle = 90;
this.gpxMOSLandLocation.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.gpxMOSLandLocation.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpxMOSLandLocation.Style.BorderBottomWidth = 1;
this.gpxMOSLandLocation.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.gpxMOSLandLocation.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpxMOSLandLocation.Style.BorderLeftWidth = 1;
this.gpxMOSLandLocation.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpxMOSLandLocation.Style.BorderRightWidth = 1;
this.gpxMOSLandLocation.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpxMOSLandLocation.Style.BorderTopWidth = 1;
this.gpxMOSLandLocation.Style.CornerDiameter = 4;
this.gpxMOSLandLocation.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.gpxMOSLandLocation.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.gpxMOSLandLocation.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.gpxMOSLandLocation.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.gpxMOSLandLocation.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.gpxMOSLandLocation.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.gpxMOSLandLocation.TabIndex = 7;
this.gpxMOSLandLocation.Text = "Landscape Location";
//
// ppCmbxMOSLandcornerLoc
//
this.ppCmbxMOSLandcornerLoc.DisplayMember = "Text";
this.ppCmbxMOSLandcornerLoc.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxMOSLandcornerLoc.FormattingEnabled = true;
this.ppCmbxMOSLandcornerLoc.ItemHeight = 16;
this.ppCmbxMOSLandcornerLoc.Location = new System.Drawing.Point(59, 53);
this.ppCmbxMOSLandcornerLoc.Margin = new System.Windows.Forms.Padding(2);
this.ppCmbxMOSLandcornerLoc.Name = "ppCmbxMOSLandcornerLoc";
this.ppCmbxMOSLandcornerLoc.Size = new System.Drawing.Size(144, 22);
this.ppCmbxMOSLandcornerLoc.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ppCmbxMOSLandcornerLoc.TabIndex = 9;
this.ppCmbxMOSLandcornerLoc.WatermarkText = "corner location";
//
// tbxMOSLandyloc
//
//
//
//
this.tbxMOSLandyloc.Border.Class = "TextBoxBorder";
this.tbxMOSLandyloc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.tbxMOSLandyloc.Location = new System.Drawing.Point(62, 30);
this.tbxMOSLandyloc.Margin = new System.Windows.Forms.Padding(2);
this.tbxMOSLandyloc.Name = "tbxMOSLandyloc";
this.tbxMOSLandyloc.PreventEnterBeep = true;
this.tbxMOSLandyloc.Size = new System.Drawing.Size(75, 20);
this.tbxMOSLandyloc.TabIndex = 8;
//
// tbxMOSLandxloc
//
//
//
//
this.tbxMOSLandxloc.Border.Class = "TextBoxBorder";
this.tbxMOSLandxloc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.tbxMOSLandxloc.Location = new System.Drawing.Point(62, 10);
this.tbxMOSLandxloc.Margin = new System.Windows.Forms.Padding(2);
this.tbxMOSLandxloc.Name = "tbxMOSLandxloc";
this.tbxMOSLandxloc.PreventEnterBeep = true;
this.tbxMOSLandxloc.Size = new System.Drawing.Size(75, 20);
this.tbxMOSLandxloc.TabIndex = 7;
//
// lblMOSLandcorner
//
this.lblMOSLandcorner.AutoSize = true;
this.lblMOSLandcorner.BackColor = System.Drawing.Color.Transparent;
this.lblMOSLandcorner.Location = new System.Drawing.Point(14, 54);
this.lblMOSLandcorner.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblMOSLandcorner.Name = "lblMOSLandcorner";
this.lblMOSLandcorner.Size = new System.Drawing.Size(41, 13);
this.lblMOSLandcorner.TabIndex = 6;
this.lblMOSLandcorner.Text = "Corner:";
//
// lblMOSLandyloc
//
this.lblMOSLandyloc.AutoSize = true;
this.lblMOSLandyloc.BackColor = System.Drawing.Color.Transparent;
this.lblMOSLandyloc.Location = new System.Drawing.Point(14, 32);
this.lblMOSLandyloc.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblMOSLandyloc.Name = "lblMOSLandyloc";
this.lblMOSLandyloc.Size = new System.Drawing.Size(34, 13);
this.lblMOSLandyloc.TabIndex = 5;
this.lblMOSLandyloc.Text = "Y (in):";
//
// lblMOSLandxloc
//
this.lblMOSLandxloc.AutoSize = true;
this.lblMOSLandxloc.BackColor = System.Drawing.Color.Transparent;
this.lblMOSLandxloc.Location = new System.Drawing.Point(14, 10);
this.lblMOSLandxloc.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblMOSLandxloc.Name = "lblMOSLandxloc";
this.lblMOSLandxloc.Size = new System.Drawing.Size(34, 13);
this.lblMOSLandxloc.TabIndex = 4;
this.lblMOSLandxloc.Text = "X (in):";
//
// ppChbxMOSview
//
this.ppChbxMOSview.BackColor = System.Drawing.Color.Transparent;
@ -1568,174 +1613,6 @@ namespace VEPROMS
this.tiMergedOutputSettings.Name = "tiMergedOutputSettings";
this.tiMergedOutputSettings.Text = "Merged Output Settings";
//
// tcpGeneral
//
this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.tcpGeneral.Controls.Add(this.ppCmbxProcSetType);
this.tcpGeneral.Controls.Add(this.ppRTxtName);
this.tcpGeneral.Controls.Add(this.label9);
this.tcpGeneral.Controls.Add(this.ppRTxtProcSetRev);
this.tcpGeneral.Controls.Add(this.lblProcSetRev);
this.tcpGeneral.Controls.Add(this.label4);
this.tcpGeneral.Controls.Add(this.label3);
this.tcpGeneral.Controls.Add(this.ppRTxtTitle);
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
this.tcpGeneral.Controls.Add(this.ppDTPicker);
this.tcpGeneral.Controls.Add(this.label2);
this.tcpGeneral.Controls.Add(this.label1);
this.tcpGeneral.DisabledBackColor = System.Drawing.Color.Empty;
this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpGeneral.Location = new System.Drawing.Point(0, 22);
this.tcpGeneral.Margin = new System.Windows.Forms.Padding(2);
this.tcpGeneral.Name = "tcpGeneral";
this.tcpGeneral.Padding = new System.Windows.Forms.Padding(2);
this.tcpGeneral.Size = new System.Drawing.Size(625, 311);
this.tcpGeneral.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpGeneral.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpGeneral.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpGeneral.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpGeneral.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpGeneral.Style.GradientAngle = 90;
this.tcpGeneral.TabIndex = 1;
this.tcpGeneral.TabItem = this.tiGeneral;
//
// tiGeneral
//
this.tiGeneral.AttachedControl = this.tcpGeneral;
this.tiGeneral.Name = "tiGeneral";
this.tiGeneral.Text = "General";
//
// tcpRefereceObjects
//
this.tcpRefereceObjects.Controls.Add(this.ppBtnRoToSql);
this.tcpRefereceObjects.Controls.Add(this.tbRoDb);
this.tcpRefereceObjects.Controls.Add(this.ppBtnRoDbBrowse);
this.tcpRefereceObjects.Controls.Add(this.btnRoDbProperties);
this.tcpRefereceObjects.Controls.Add(this.cmbRoDb);
this.tcpRefereceObjects.Controls.Add(this.ppGpbxUpROvals);
this.tcpRefereceObjects.Controls.Add(this.label6);
this.tcpRefereceObjects.DisabledBackColor = System.Drawing.Color.Empty;
this.tcpRefereceObjects.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpRefereceObjects.Location = new System.Drawing.Point(0, 22);
this.tcpRefereceObjects.Margin = new System.Windows.Forms.Padding(2);
this.tcpRefereceObjects.Name = "tcpRefereceObjects";
this.tcpRefereceObjects.Padding = new System.Windows.Forms.Padding(2);
this.tcpRefereceObjects.Size = new System.Drawing.Size(625, 311);
this.tcpRefereceObjects.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpRefereceObjects.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpRefereceObjects.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpRefereceObjects.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpRefereceObjects.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpRefereceObjects.Style.GradientAngle = 90;
this.tcpRefereceObjects.TabIndex = 2;
this.tcpRefereceObjects.TabItem = this.tiRefObjs;
this.tcpRefereceObjects.Enter += new System.EventHandler(this.tabpage_Enter);
//
// ppBtnRoToSql
//
this.ppBtnRoToSql.Location = new System.Drawing.Point(337, 146);
this.ppBtnRoToSql.Name = "ppBtnRoToSql";
this.ppBtnRoToSql.Size = new System.Drawing.Size(163, 46);
this.ppBtnRoToSql.TabIndex = 48;
this.ppBtnRoToSql.Text = "Migrate Data to Sql";
this.ppBtnRoToSql.UseVisualStyleBackColor = true;
this.ppBtnRoToSql.Visible = false;
this.ppBtnRoToSql.Click += new System.EventHandler(this.ppBtnRoToSql_Click);
//
// tbRoDb
//
this.tbRoDb.Enabled = false;
this.tbRoDb.Location = new System.Drawing.Point(80, 13);
this.tbRoDb.Margin = new System.Windows.Forms.Padding(2);
this.tbRoDb.Name = "tbRoDb";
this.tbRoDb.Size = new System.Drawing.Size(318, 20);
this.tbRoDb.TabIndex = 20;
this.tbRoDb.TextChanged += new System.EventHandler(this.tbRoDb_TextChanged);
//
// ppBtnRoDbBrowse
//
this.ppBtnRoDbBrowse.Location = new System.Drawing.Point(406, 34);
this.ppBtnRoDbBrowse.Margin = new System.Windows.Forms.Padding(2);
this.ppBtnRoDbBrowse.Name = "ppBtnRoDbBrowse";
this.ppBtnRoDbBrowse.Size = new System.Drawing.Size(51, 20);
this.ppBtnRoDbBrowse.TabIndex = 22;
this.ppBtnRoDbBrowse.Text = "Browse...";
this.ppBtnRoDbBrowse.UseVisualStyleBackColor = true;
this.ppBtnRoDbBrowse.Click += new System.EventHandler(this.ppBtnRoDbBrowse_Click);
//
// btnRoDbProperties
//
this.btnRoDbProperties.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnRoDbProperties.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnRoDbProperties.Image = ((System.Drawing.Image)(resources.GetObject("btnRoDbProperties.Image")));
this.btnRoDbProperties.Location = new System.Drawing.Point(406, 10);
this.btnRoDbProperties.Margin = new System.Windows.Forms.Padding(2);
this.btnRoDbProperties.Name = "btnRoDbProperties";
this.btnRoDbProperties.Size = new System.Drawing.Size(33, 23);
this.btnRoDbProperties.TabIndex = 21;
this.btnRoDbProperties.Click += new System.EventHandler(this.btnRoDbProperties_Click);
//
// cmbRoDb
//
this.cmbRoDb.FormattingEnabled = true;
this.cmbRoDb.Location = new System.Drawing.Point(80, 13);
this.cmbRoDb.Margin = new System.Windows.Forms.Padding(2);
this.cmbRoDb.Name = "cmbRoDb";
this.cmbRoDb.Size = new System.Drawing.Size(318, 21);
this.cmbRoDb.TabIndex = 47;
this.cmbRoDb.SelectedIndexChanged += new System.EventHandler(this.cmbRoDb_SelectedIndexChanged);
//
// ppGpbxUpROvals
//
this.ppGpbxUpROvals.BackColor = System.Drawing.Color.Transparent;
this.ppGpbxUpROvals.CanvasColor = System.Drawing.SystemColors.Control;
this.ppGpbxUpROvals.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.ppGpbxUpROvals.Controls.Add(this.ppBtnResetRoVals);
this.ppGpbxUpROvals.Controls.Add(this.ppBtnUpRoVals);
this.ppGpbxUpROvals.DisabledBackColor = System.Drawing.Color.Empty;
this.ppGpbxUpROvals.Location = new System.Drawing.Point(34, 69);
this.ppGpbxUpROvals.Margin = new System.Windows.Forms.Padding(2);
this.ppGpbxUpROvals.Name = "ppGpbxUpROvals";
this.ppGpbxUpROvals.Size = new System.Drawing.Size(112, 162);
//
//
//
this.ppGpbxUpROvals.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.ppGpbxUpROvals.Style.BackColorGradientAngle = 90;
this.ppGpbxUpROvals.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.ppGpbxUpROvals.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUpROvals.Style.BorderBottomWidth = 1;
this.ppGpbxUpROvals.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.ppGpbxUpROvals.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUpROvals.Style.BorderLeftWidth = 1;
this.ppGpbxUpROvals.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUpROvals.Style.BorderRightWidth = 1;
this.ppGpbxUpROvals.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUpROvals.Style.BorderTopWidth = 1;
this.ppGpbxUpROvals.Style.CornerDiameter = 4;
this.ppGpbxUpROvals.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGpbxUpROvals.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.ppGpbxUpROvals.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.ppGpbxUpROvals.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.ppGpbxUpROvals.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGpbxUpROvals.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppGpbxUpROvals.TabIndex = 46;
this.ppGpbxUpROvals.Text = "RO Values";
//
// tiRefObjs
//
this.tiRefObjs.AttachedControl = this.tcpRefereceObjects;
this.tiRefObjs.Name = "tiRefObjs";
this.tiRefObjs.Text = "Referenced Objects";
//
// tabControlPanel1
//
this.tabControlPanel1.Controls.Add(this.ppChbxEnhancedAllowMods);
@ -2295,14 +2172,14 @@ namespace VEPROMS
this.documentEntryCountDataGridViewTextBoxColumn,
this.libTitleDataGridViewTextBoxColumn});
this.ppGrdLibDocList.DataSource = this.documentInfoListBindingSource;
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.ppGrdLibDocList.DefaultCellStyle = dataGridViewCellStyle4;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.ppGrdLibDocList.DefaultCellStyle = dataGridViewCellStyle2;
this.ppGrdLibDocList.Dock = System.Windows.Forms.DockStyle.Fill;
this.ppGrdLibDocList.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.ppGrdLibDocList.HighlightSelectedColumnHeaders = false;
@ -2319,8 +2196,8 @@ namespace VEPROMS
// documentEntryCountDataGridViewTextBoxColumn
//
this.documentEntryCountDataGridViewTextBoxColumn.DataPropertyName = "DocumentEntryCount";
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.documentEntryCountDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.documentEntryCountDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
this.documentEntryCountDataGridViewTextBoxColumn.HeaderText = "Number of Usages";
this.documentEntryCountDataGridViewTextBoxColumn.Name = "documentEntryCountDataGridViewTextBoxColumn";
this.documentEntryCountDataGridViewTextBoxColumn.ReadOnly = true;
@ -2787,14 +2664,132 @@ namespace VEPROMS
this.btnGeneral.Text = "General";
this.btnGeneral.Click += new System.EventHandler(this.btnGeneral_Click);
//
// ROPrefixBindingSource
//
this.ROPrefixBindingSource.CurrentChanged += new System.EventHandler(this.ROPrefixBindingSource_CurrentChanged);
//
// formatInfoListBindingSource
//
this.formatInfoListBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.FormatInfo);
//
// gpxMOSLandLocation
//
this.gpxMOSLandLocation.BackColor = System.Drawing.Color.Transparent;
this.gpxMOSLandLocation.CanvasColor = System.Drawing.SystemColors.Control;
this.gpxMOSLandLocation.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.gpxMOSLandLocation.Controls.Add(this.ppCmbxMOSLandcornerLoc);
this.gpxMOSLandLocation.Controls.Add(this.tbxMOSLandyloc);
this.gpxMOSLandLocation.Controls.Add(this.tbxMOSLandxloc);
this.gpxMOSLandLocation.Controls.Add(this.lblMOSLandcorner);
this.gpxMOSLandLocation.Controls.Add(this.lblMOSLandyloc);
this.gpxMOSLandLocation.Controls.Add(this.lblMOSLandxloc);
this.gpxMOSLandLocation.DisabledBackColor = System.Drawing.Color.Empty;
this.gpxMOSLandLocation.Location = new System.Drawing.Point(284, 164);
this.gpxMOSLandLocation.Margin = new System.Windows.Forms.Padding(2);
this.gpxMOSLandLocation.Name = "gpxMOSLandLocation";
this.gpxMOSLandLocation.Size = new System.Drawing.Size(209, 98);
//
//
//
this.gpxMOSLandLocation.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.gpxMOSLandLocation.Style.BackColorGradientAngle = 90;
this.gpxMOSLandLocation.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.gpxMOSLandLocation.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpxMOSLandLocation.Style.BorderBottomWidth = 1;
this.gpxMOSLandLocation.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.gpxMOSLandLocation.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpxMOSLandLocation.Style.BorderLeftWidth = 1;
this.gpxMOSLandLocation.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpxMOSLandLocation.Style.BorderRightWidth = 1;
this.gpxMOSLandLocation.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.gpxMOSLandLocation.Style.BorderTopWidth = 1;
this.gpxMOSLandLocation.Style.CornerDiameter = 4;
this.gpxMOSLandLocation.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.gpxMOSLandLocation.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.gpxMOSLandLocation.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.gpxMOSLandLocation.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.gpxMOSLandLocation.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.gpxMOSLandLocation.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.gpxMOSLandLocation.TabIndex = 7;
this.gpxMOSLandLocation.Text = "Landscape Location";
//
// ppCmbxMOSLandcornerLoc
//
this.ppCmbxMOSLandcornerLoc.DisplayMember = "Text";
this.ppCmbxMOSLandcornerLoc.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxMOSLandcornerLoc.FormattingEnabled = true;
this.ppCmbxMOSLandcornerLoc.ItemHeight = 16;
this.ppCmbxMOSLandcornerLoc.Location = new System.Drawing.Point(59, 53);
this.ppCmbxMOSLandcornerLoc.Margin = new System.Windows.Forms.Padding(2);
this.ppCmbxMOSLandcornerLoc.Name = "ppCmbxMOSLandcornerLoc";
this.ppCmbxMOSLandcornerLoc.Size = new System.Drawing.Size(144, 22);
this.ppCmbxMOSLandcornerLoc.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ppCmbxMOSLandcornerLoc.TabIndex = 9;
this.ppCmbxMOSLandcornerLoc.WatermarkText = "corner location";
//
// tbxMOSLandyloc
//
//
//
//
this.tbxMOSLandyloc.Border.Class = "TextBoxBorder";
this.tbxMOSLandyloc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.tbxMOSLandyloc.Location = new System.Drawing.Point(62, 30);
this.tbxMOSLandyloc.Margin = new System.Windows.Forms.Padding(2);
this.tbxMOSLandyloc.Name = "tbxMOSLandyloc";
this.tbxMOSLandyloc.PreventEnterBeep = true;
this.tbxMOSLandyloc.Size = new System.Drawing.Size(75, 20);
this.tbxMOSLandyloc.TabIndex = 8;
//
// tbxMOSLandxloc
//
//
//
//
this.tbxMOSLandxloc.Border.Class = "TextBoxBorder";
this.tbxMOSLandxloc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.tbxMOSLandxloc.Location = new System.Drawing.Point(62, 10);
this.tbxMOSLandxloc.Margin = new System.Windows.Forms.Padding(2);
this.tbxMOSLandxloc.Name = "tbxMOSLandxloc";
this.tbxMOSLandxloc.PreventEnterBeep = true;
this.tbxMOSLandxloc.Size = new System.Drawing.Size(75, 20);
this.tbxMOSLandxloc.TabIndex = 7;
//
// lblMOSLandcorner
//
this.lblMOSLandcorner.AutoSize = true;
this.lblMOSLandcorner.BackColor = System.Drawing.Color.Transparent;
this.lblMOSLandcorner.Location = new System.Drawing.Point(14, 54);
this.lblMOSLandcorner.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblMOSLandcorner.Name = "lblMOSLandcorner";
this.lblMOSLandcorner.Size = new System.Drawing.Size(41, 13);
this.lblMOSLandcorner.TabIndex = 6;
this.lblMOSLandcorner.Text = "Corner:";
//
// lblMOSLandyloc
//
this.lblMOSLandyloc.AutoSize = true;
this.lblMOSLandyloc.BackColor = System.Drawing.Color.Transparent;
this.lblMOSLandyloc.Location = new System.Drawing.Point(14, 32);
this.lblMOSLandyloc.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblMOSLandyloc.Name = "lblMOSLandyloc";
this.lblMOSLandyloc.Size = new System.Drawing.Size(34, 13);
this.lblMOSLandyloc.TabIndex = 5;
this.lblMOSLandyloc.Text = "Y (in):";
//
// lblMOSLandxloc
//
this.lblMOSLandxloc.AutoSize = true;
this.lblMOSLandxloc.BackColor = System.Drawing.Color.Transparent;
this.lblMOSLandxloc.Location = new System.Drawing.Point(14, 10);
this.lblMOSLandxloc.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblMOSLandxloc.Name = "lblMOSLandxloc";
this.lblMOSLandxloc.Size = new System.Drawing.Size(34, 13);
this.lblMOSLandxloc.TabIndex = 4;
this.lblMOSLandxloc.Text = "X (in):";
//
// frmVersionsProperties
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -2802,7 +2797,7 @@ namespace VEPROMS
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.CancelButton = this.ppBtnCancel;
this.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ClientSize = new System.Drawing.Size(802, 361);
this.ClientSize = new System.Drawing.Size(806, 365);
this.ControlBox = false;
this.Controls.Add(this.panVerBtns);
this.Controls.Add(this.tcVersions);
@ -2829,19 +2824,17 @@ namespace VEPROMS
this.ppGpbxUserSpecTxt.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.tcVersions)).EndInit();
this.tcVersions.ResumeLayout(false);
this.tabControlPanel2.ResumeLayout(false);
this.tabControlPanel2.PerformLayout();
this.gpxMOSLandLocation.ResumeLayout(false);
this.gpxMOSLandLocation.PerformLayout();
this.gpxMOSLocation.ResumeLayout(false);
this.gpxMOSLocation.PerformLayout();
this.gpxMOSfont.ResumeLayout(false);
this.gpxMOSfont.PerformLayout();
this.tcpGeneral.ResumeLayout(false);
this.tcpGeneral.PerformLayout();
this.tcpRefereceObjects.ResumeLayout(false);
this.tcpRefereceObjects.PerformLayout();
this.ppGpbxUpROvals.ResumeLayout(false);
this.tabControlPanel2.ResumeLayout(false);
this.tabControlPanel2.PerformLayout();
this.gpxMOSLocation.ResumeLayout(false);
this.gpxMOSLocation.PerformLayout();
this.gpxMOSfont.ResumeLayout(false);
this.gpxMOSfont.PerformLayout();
this.tabControlPanel1.ResumeLayout(false);
this.tabControlPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.bsMiniEnhanced)).EndInit();
@ -2866,6 +2859,8 @@ namespace VEPROMS
this.panVerBtns.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ROPrefixBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).EndInit();
this.gpxMOSLandLocation.ResumeLayout(false);
this.gpxMOSLandLocation.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();

View File

@ -1928,16 +1928,6 @@ namespace VEPROMS
#endregion
#endregion
private void tbRoDb_TextChanged(object sender, EventArgs e)
{
}
private void ROPrefixBindingSource_CurrentChanged(object sender, EventArgs e)
{
}
}

View File

@ -123,12 +123,6 @@
<metadata name="docVersionConfigBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>415, 17</value>
</metadata>
<metadata name="docVersionConfigBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>415, 17</value>
</metadata>
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>643, 17</value>
</metadata>
<data name="ppCmbxFormat.SuperTooltip" xml:space="preserve">
<value>Allows you to specify the default format to use for all procedures in this set.
@ -216,21 +210,9 @@ Check "Show Default Settings" to display the "default" duplexing setting (below
<metadata name="bsEnhanced.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>817, 17</value>
</metadata>
<metadata name="bsMiniEnhanced.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 65</value>
</metadata>
<metadata name="bsEnhanced.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>817, 17</value>
</metadata>
<metadata name="bsMiniApple.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>118, 17</value>
</metadata>
<metadata name="bsMiniApple.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>118, 17</value>
</metadata>
<metadata name="bsApples.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="bsApples.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>

View File

@ -285,22 +285,16 @@ namespace VEPROMS.CSLA.Library
#region ROTextConvertMethods
// B2023-037: Handle <=, >=, +-, -> and <- symbols. Convert to unicode for output, i.e. print and edit/view (when editing
// step, will show as 2 characters, not unicode, unless ro inserted when code replaced link text with unicode.
public static string ROConvertSymbols(string retval, bool arr1, bool arr2)
public static string ROConvertSymbols(string retval)
{
if (arr1)
{
retval = retval.Replace("\\u8209?>", @"\u8594?"); // Right Arrow
retval = retval.Replace("<\\u8209?", @"\u8592?"); // Left Arrow
retval = retval.Replace("->", @"\u8594?"); // Right Arrow
retval = retval.Replace("<-", @"\u8592?"); // Left Arrow
}
if (arr2)
{
retval = retval.Replace("<=", @"\u8804?"); // Less than or Equal
retval = retval.Replace(">=", @"\u8805?"); // Greater than or Equal
retval = retval.Replace("+\\u8209?", @"\'b1"); // plus minus
retval = retval.Replace("+-", @"\'b1"); // plus minus
}
retval = retval.Replace("\\u8209?>", @"\u8594?"); // Right Arrow
retval = retval.Replace("<\\u8209?", @"\u8592?"); // Left Arrow
retval = retval.Replace("->", @"\u8594?"); // Right Arrow
retval = retval.Replace("<-", @"\u8592?"); // Left Arrow
retval = retval.Replace("<=", @"\u8804?"); // Less than or Equal
retval = retval.Replace(">=", @"\u8805?"); // Greater than or Equal
retval = retval.Replace("+\\u8209?", @"\'b1"); // plus minus
retval = retval.Replace("+-", @"\'b1"); // plus minus
return retval;
}
#endregion
@ -490,7 +484,7 @@ namespace VEPROMS.CSLA.Library
return rc;
}
public string GetTranslatedRoValue(string roid, bool DoCaret, bool DoDOSSuperSubScript, bool convertRoSymbols, ItemInfo myiteminfo)
public string GetTranslatedRoValue(string roid, bool DoCaret, bool DoDOSSuperSubScript, bool convertRoSymbols)
{
roid = FormatRoidKey(roid, true);
@ -502,13 +496,7 @@ namespace VEPROMS.CSLA.Library
retval = ReplaceUnicode(retval, DoCaret);
// B2023-037: Handle <=, >=, +-, -> and <- symbols. Convert to unicode for output, i.e. print and edit/view (when editing
// step, will show as 2 characters, not unicode, unless ro inserted when code replaced link text with unicode.
//(_MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseDashGreaterLessThenForArrowsInROValue ||
// _MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertGTELTEPMinROValue))
bool arrows1 = myiteminfo.ActiveFormat.PlantFormat.FormatData.SectData.UseDashGreaterLessThenForArrowsInROValue;
bool arrows2 = myiteminfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertGTELTEPMinROValue;
if (convertRoSymbols) retval = ROFSTLookup.ROConvertSymbols(retval, arrows1, arrows2);
if (convertRoSymbols) retval = ROFSTLookup.ROConvertSymbols(retval);
retval = ConvertFortranFormatToScienctificNotation(retval);

View File

@ -1616,7 +1616,7 @@ namespace VEPROMS.CSLA.Library
foreach (ContentRoUsage ro in cont.ContentRoUsages)
{
RoUsageInfo rou = RoUsageInfo.Get(ro.ROUsageID);
string myvalue = mylookup.GetTranslatedRoValue(rou.ROID, tmp.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, tmp.ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues, false, tmp);
string myvalue = mylookup.GetTranslatedRoValue(rou.ROID, tmp.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, tmp.ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues, false);
ROFSTLookup.rochild rocc = mylookup.GetRoChild(rou.ROID);
@ -1844,7 +1844,7 @@ namespace VEPROMS.CSLA.Library
ROFSTLookup mylookup = myRoFst.GetROFSTLookup(tmp.ContentItems[0].MyProcedure.MyDocVersion);
foreach (RoUsageInfo rou in tmp.ContentRoUsages)
{
string myvalue = mylookup.GetTranslatedRoValue(rou.ROID, tmp.ContentItems[0].ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, tmp.ContentItems[0].ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues, false, tmp.ContentItems[0]);
string myvalue = mylookup.GetTranslatedRoValue(rou.ROID, tmp.ContentItems[0].ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, tmp.ContentItems[0].ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues, false);
ROFSTLookup.rochild rocc = mylookup.GetRoChild(rou.ROID);
int mytype = rocc.type;
ctmp.FixContentText(rou, myvalue, mytype, myRoFst);

View File

@ -694,12 +694,10 @@ namespace VEPROMS.CSLA.Library
// B2017-147: backquotes should be translated to degrees for edit/print:
newvalue = newvalue.Replace("`", @"\'b0");
// B2023-037: Handle <=, >=, +-, -> and <- symbols. If the format has flags to convert these RO symbols, it
bool arrows1 = _MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseDashGreaterLessThenForArrowsInROValue;
bool arrows2 = _MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertGTELTEPMinROValue;
// is done here so that output (print & edit/view) has symbol, not 2 characters.
if (!_MyItemInfo.IsTable && (_MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseDashGreaterLessThenForArrowsInROValue ||
_MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertGTELTEPMinROValue))
newvalue = ROFSTLookup.ROConvertSymbols(newvalue, arrows1, arrows2);
if (_MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseDashGreaterLessThenForArrowsInROValue ||
_MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertGTELTEPMinROValue)
newvalue = ROFSTLookup.ROConvertSymbols(newvalue);
if (gg != newvalue)
text = text.Substring(0, myIndex) + newvalue + text.Substring(myIndex + myLength);

View File

@ -908,7 +908,7 @@ namespace VEPROMS.CSLA.Library
{
string oldText = this.MyContent.Text;
string roval = lookup.GetTranslatedRoValue(rousage.ROID, this.ActiveSection.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, this.ActiveSection.ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues, false, this);
string roval = lookup.GetTranslatedRoValue(rousage.ROID, this.ActiveSection.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, this.ActiveSection.ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues, false);
ROFSTLookup.rochild roch = lookup.GetRoChild(rousage.ROID);
this.MyContent.FixContentText(rousage, roval, roch.type, rofstinfo, this);
@ -964,7 +964,7 @@ namespace VEPROMS.CSLA.Library
ROCheckCount++;
string oldText = itemInfo.MyContent.Text;
string roval = lookup.GetTranslatedRoValue(rousage.ROID, sectionInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, sectionInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues, false, sectionInfo);
string roval = lookup.GetTranslatedRoValue(rousage.ROID, sectionInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, sectionInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues, false);
ROFSTLookup.rochild roch = lookup.GetRoChild(rousage.ROID);
itemInfo.MyContent.FixContentText(rousage, roval, roch.type, origROFst, itemInfo);
@ -1184,10 +1184,7 @@ namespace VEPROMS.CSLA.Library
if (sectionInfo != null)
{
// B2023-037: loading print text, resolve the RO symbols
bool GTLT = !itemInfo.IsTable && sectionInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertGTELTEPMinROValue;
bool GLTArrows = !itemInfo.IsTable && sectionInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseDashGreaterLessThenForArrowsInROValue;
string roval = lookup.GetTranslatedRoValue(rousage.ROID, sectionInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, sectionInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues, GTLT || GLTArrows, itemInfo);
string roval = lookup.GetTranslatedRoValue(rousage.ROID, sectionInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, sectionInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues,sectionInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertGTELTEPMinROValue|| sectionInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseDashGreaterLessThenForArrowsInROValue);
ROFSTLookup.rochild roch = lookup.GetRoChild(rousage.ROID);
itemInfo.MyContent.FixContentText(rousage, roval, roch.type, rofstinfo, itemInfo);
}
@ -4452,10 +4449,9 @@ namespace VEPROMS.CSLA.Library
}
}
// F2024-037 reset the seq sub-step numbering if the parent is an un-numbered high level step
// F2024-049 changed to specify the level via the format file (Generic EOP and Vogtle 3&4)
else if (sd.StepSectionLayoutData.ResetSeqNumberingAfterUnnumberedHLS != null && IsSequential && MyParent != null && MyParent.IsHigh && MyParent.MyTab.Text.Length == 0)
else if (sd.StepSectionLayoutData.ResetSeqNumberingAfterUnnumberedHLS && IsSequential && MyParent != null && MyParent.IsHigh && MyParent.MyTab.Text.Length == 0)
{
localPrintLevel = (int)sd.StepSectionLayoutData.ResetSeqNumberingAfterUnnumberedHLS;
localPrintLevel--; // since parent is a high level step we only need to go back one level
itmp = (localPrintLevel + PrintBias + OffsetTab) % seqtabs.MaxIndex;
}
if (!tbformat.Contains(@"{!C"))

View File

@ -722,7 +722,7 @@ namespace VEPROMS.CSLA.Library
{
foreach (ItemInfo ii in roUsg.MyContent.ContentItems)
{
string val = newLookup.GetTranslatedRoValue(padroid, ii.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, ii.ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues, false, ii);
string val = newLookup.GetTranslatedRoValue(padroid, ii.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, ii.ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues, false);
content.FixContentText(roUsg, val, roch.type, origROFstInfo, true);
if (content.IsDirty)

View File

@ -978,8 +978,7 @@ namespace VEPROMS.CSLA.Library
retstr = unitnum.Replace("#", retstr);
}
// B2022-004: Remove Proc PC/PC token from transition text.
// F2024-030 for Vogtle Units 3 & 4, added KeepOnePCPCTag flag to keep one of the PC/PC tokens when editing
if (tb._FromItem.ActiveFormat != null && !tb._FromItem.ActiveFormat.PlantFormat.FormatData.TransData.KeepOnePCPCTag && tb._FromItem.ActiveFormat.PlantFormat.FormatData.TransData.ProcLevelPCPC && retstr.ToUpper().StartsWith("<U"))
if (tb._FromItem.ActiveFormat != null && tb._FromItem.ActiveFormat.PlantFormat.FormatData.TransData.ProcLevelPCPC && retstr.ToUpper().StartsWith("<U"))
{
int indx = retstr.IndexOf(">");
retstr = retstr.Substring(indx + 1);
@ -1227,9 +1226,7 @@ namespace VEPROMS.CSLA.Library
case 0:
break;
default:
//F2024-048 use a hard space (\\u160;) instead of a space in the page number text
// to keep that text together on the page
tb.Append(string.Format(" (Page{0}{1})", "\\u160;", tb._ToItem.PageNumber + 1));
tb.Append(string.Format(" (Page {0})", tb._ToItem.PageNumber + 1));
break;
}
}

View File

@ -58,8 +58,7 @@ namespace VEPROMS.CSLA.Library
SectMenuStep = 0x0020,
StepAllowNone = 0x0040,
StepFirst = 0x0080,
StepLast = 0x0100,
StepAllChildren = 0x0200
StepLast = 0x0100
}
public enum E_EMode : uint
{

View File

@ -4508,9 +4508,8 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _AllowNoteCautionAdd, "@AllowNoteCautionAdd");
}
}
// F2024-049 changed to specify the sub-step level via the format file (Generic EOP and Vogtle 3&4)
private LazyLoad<int?> _ResetSeqNumberingAfterUnnumberedHLS;
public int? ResetSeqNumberingAfterUnnumberedHLS
private LazyLoad<bool> _ResetSeqNumberingAfterUnnumberedHLS;
public bool ResetSeqNumberingAfterUnnumberedHLS
{
get
{
@ -7280,15 +7279,6 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _ProcLevelPCPC, "@ProcLevelPCPC");
}
}
// F2024-030 for Vogtle Units 3 & 4, added KeepOnePCPCTag flag to keep one of the PC/PC tokens when editing
private LazyLoad<bool> _KeepOnePCPCTag;
public bool KeepOnePCPCTag
{
get
{
return LazyLoad(ref _KeepOnePCPCTag, "@KeepOnePCPCTag");
}
}
}
#endregion
#region TransType

View File

@ -199,12 +199,9 @@ namespace VEPROMS.CSLA.Library
LoadChildren(true);
}
private bool _allParts = true;
private bool _excludeTablesFigsEqu = false; // used for inserting Step Text transitions (BNPP)
public virtual void LoadChildren(bool allParts, bool excldTablesFigEq = false)
public virtual void LoadChildren(bool allParts)
{
_allParts = allParts;
// B2024-019 don't show Tables, Figures, or Equations in step tree when inserting Text Transitions
_excludeTablesFigsEqu = excldTablesFigEq;
if (!_ChildrenLoaded)
{
this.Nodes.Clear();
@ -265,10 +262,6 @@ namespace VEPROMS.CSLA.Library
if (!skipIt)
{
VETreeNode tmp = new VETreeNode(o, _allParts);
// B2024-019 don't show Tables, Figures, or Equations in step tree when inserting Text Transitions
bool isTableFigEqu = tmp.Text.Equals("Table") ||
tmp.Text.Equals("Figure") ||
tmp.Text.Equals("Equation");
if (o.HasChildren)
{
if (o is PartInfo)
@ -286,8 +279,7 @@ namespace VEPROMS.CSLA.Library
tmp._ChildrenLoaded = true;// Reset the children loaded flag
if (lastWasSection)
this.Nodes.Insert(0, tmp);
// B2024-019 don't show Tables, Figures, or Equations in step tree when inserting Text Transitions
else if (!_excludeTablesFigsEqu || !isTableFigEqu)
else
this.Nodes.Add(tmp);
// if last thing was section & this is step, do insert - i.e. so that steps go before sections.
lastWasSection = (o is PartInfo && (o as PartInfo).PartType == E_FromType.Section);

View File

@ -905,7 +905,7 @@ namespace Volian.Controls.Library
string linktxt = string.Format(@"#Link:ReferencedObject:<NewID> {0} {1}", padroid, MyROFST.RODbID);
// Resolve symbols and scientific notation in the RO return value
string valtxt = MyROFSTLookup.GetTranslatedRoValue(padroid, MyRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, MyRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues, false, MyRTB.MyItemInfo);
string valtxt = MyROFSTLookup.GetTranslatedRoValue(padroid, MyRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, MyRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues, false);
MyRTB.OnRoInsert(this, new StepRTBRoEventArgs(valtxt, selectedChld.value, linktxt, padroid, MyROFST.RODbID));
}

View File

@ -898,11 +898,7 @@ namespace Volian.Controls.Library
// allow this (12/2/09). Note that this was changed to not allow transitions
// to RNOs (10/2010), this 'feature' will be added at some later date.
tn.ChildrenLoaded = false;
// F2024-047 BNPP standard Text transition - pass True to LoadChildren to load all children.
E_TransUI etm = (E_TransUI) _CurItemFrom.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[_TranFmtIndx].TransUI;
bool loadAllChildren = ((etm & E_TransUI.StepAllChildren) == E_TransUI.StepAllChildren);
bool excludeTableFigEqu = loadAllChildren; // don't show Tables, Figures, or Equations in step list
tn.LoadChildren(loadAllChildren, excludeTableFigEqu);
tn.LoadChildren(false);
}
private void cbTranSects_SelectedIndexChanged(object sender, EventArgs e)
{
@ -944,9 +940,7 @@ namespace Volian.Controls.Library
private void HideStepTreeIfNeeded()
{
string trnFmt = _CurItemFrom.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[_TranFmtIndx].TransFormat;
// F2024-047 Added check for {Step Text} so that the step tree is displayed
// Needed for BNPP transition to step text only for standard text
bool showStepList = trnFmt.Contains("{First Step}") || trnFmt.Contains("{Step Text}");
bool showStepList = trnFmt.Contains("{First Step}");
if (!showStepList)
tvTran.Nodes.Clear(); // clear the tree view of steps if not needed for selected transition
tvTran.Enabled = showStepList; // show the tree view of steps?
@ -1342,13 +1336,7 @@ namespace Volian.Controls.Library
return;
}
// B2015-170 - don't allow a transition to step that is not sequential
// B2024-019 - but allow if TranFmt only contains {Step Text}
// - Calvert uses {Step Text} but also includes step number
// - Barakah (BNPP) uses just {Step Text} to link to standard text
bool onlyStepText = false;
if (listBoxTranFmt.Text.Contains("{Step Text}") && !listBoxTranFmt.Text.Contains("{First Step}"))
onlyStepText = true;
if (!onlyStepText && (toItem != null &&!toItem.IsNumbered) || (rangeItem != null && !rangeItem.IsNumbered))
if ((toItem != null &&!toItem.IsNumbered) || (rangeItem != null && !rangeItem.IsNumbered))
{
FlexibleMessageBox.Show("For transitions containing step references, the transition must be to a numbered or lettered step.",
"Cannot add transition to a non-sequential step", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);

View File

@ -563,7 +563,7 @@ namespace Volian.Controls.Library
string linktxt = string.Format(@"#Link:ReferencedObject:<NewID> {0} {1}", padroid, MyLookup.MyDocVersionInfo.DocVersionAssociations[0].MyROFst.MyRODb.RODbID);
// Resolve symbols and scientific notation in the RO return value
string valtxt = MyLookup.GetTranslatedRoValue(padroid, MyStepRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, MyStepRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues,
false, MyStepRTB.MyItemInfo); //ConvertSymbolsAndStuff(selectedChld.value);
false); //ConvertSymbolsAndStuff(selectedChld.value);
MyStepRTB.OnRoInsert(this, new StepRTBRoEventArgs(valtxt, myvalue, linktxt, padroid, MyLookup.MyDocVersionInfo.DocVersionAssociations[0].MyROFst.MyRODb.RODbID));
}
private void SaveROWithAnnotation_Click(object sender, EventArgs e)
@ -580,7 +580,7 @@ namespace Volian.Controls.Library
string padroid = (myroid.Length <= 12) ? myroid + "0000" : myroid;
string linktxt = string.Format(@"#Link:ReferencedObject:<NewID> {0} {1}", padroid, MyLookup.MyDocVersionInfo.DocVersionAssociations[0].MyROFst.MyRODb.RODbID);
// Resolve symbols and scientific notation in the RO return value
string valtxt = MyLookup.GetTranslatedRoValue(padroid, MyStepRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, MyStepRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues, false, MyStepRTB.MyItemInfo); //ConvertSymbolsAndStuff(selectedChld.value);
string valtxt = MyLookup.GetTranslatedRoValue(padroid, MyStepRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta, MyStepRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseTildaPoundCharsForSuperSubScriptInROValues, false); //ConvertSymbolsAndStuff(selectedChld.value);
MyStepRTB.OnRoInsert(this, new StepRTBRoEventArgs(valtxt, myvalue, linktxt, padroid, MyLookup.MyDocVersionInfo.DocVersionAssociations[0].MyROFst.MyRODb.RODbID));
}
private void NoROFound_Click(object sender, EventArgs e)

View File

@ -701,24 +701,22 @@ namespace Volian.Print.Library
{
if (File.Exists(outputFileName))
{
if (!BaselineTesting)
String tmpExt = System.IO.Path.GetExtension(outputFileName);
String tmpPTH = System.IO.Path.GetDirectoryName(outputFileName);
String tmpFN = System.IO.Path.GetFileName(outputFileName);
String tmpFNNoExt = System.IO.Path.GetFileNameWithoutExtension(outputFileName);
var files = new HashSet<string>(Directory.GetFiles(tmpPTH, "*.pdf"));
//string baseName = Path.Combine(scpath, "Screenshot_");
string filename;
int i = 0;
do
{
String tmpExt = System.IO.Path.GetExtension(outputFileName);
String tmpPTH = System.IO.Path.GetDirectoryName(outputFileName);
String tmpFN = System.IO.Path.GetFileName(outputFileName);
String tmpFNNoExt = System.IO.Path.GetFileNameWithoutExtension(outputFileName);
filename = tmpPTH + @"\" + tmpFNNoExt + "_" + ++i + ".pdf";
} while (files.Contains(filename));
var files = new HashSet<string>(Directory.GetFiles(tmpPTH, "*.pdf"));
//string baseName = Path.Combine(scpath, "Screenshot_");
string filename;
int i = 0;
do
{
filename = tmpPTH + @"\" + tmpFNNoExt + "_" + ++i + ".pdf";
} while (files.Contains(filename));
outputFileName = filename;
outputFileName = filename;
}
}
writer = PdfWriter.GetInstance(document, new FileStream(outputFileName, FileMode.Create));