From a61dabd52e6257594c4bcc89ce4802e43a4bcb00 Mon Sep 17 00:00:00 2001 From: Kathy Date: Fri, 4 Apr 2014 13:13:31 +0000 Subject: [PATCH] =?UTF-8?q?Process=20pagenum=20transitions=20for=20BGE=20A?= =?UTF-8?q?dded=20unit=20number=20config=20item=20to=20user=20interface=20?= =?UTF-8?q?for=20printing=20pagelist=20items=20for=20BGE=20Added=20Print?= =?UTF-8?q?=5FUnitNumberForPageList=20config=20item=20BGE:=20don=E2=80=99t?= =?UTF-8?q?=20remove=20=E2=80=98.=E2=80=99=20At=20end=20of=20tab=20when=20?= =?UTF-8?q?making=20a=20section/step=20tab=20Check=20for=20pagenum=20trans?= =?UTF-8?q?itions=20for=20resolving=20transition=20text=20(the=20type=20BG?= =?UTF-8?q?E=20has)=20Added=20UnitNumber,=20Level0Big=20and=20UseSpecificT?= =?UTF-8?q?ransitionModifier=20flags?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DlgPrintProcedure.cs | 4 +- .../frmVersionsProperties.Designer.cs | 865 +++++++++--------- .../frmVersionsProperties.cs | 15 + .../frmVersionsProperties.resx | 30 +- .../Config/DocVersionConfig.cs | 26 + .../VEPROMS.CSLA.Library/Extension/ItemExt.cs | 5 + .../Extension/TransitionExt.cs | 3 +- .../Format/PlantFormat.cs | 40 + 8 files changed, 546 insertions(+), 442 deletions(-) diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs index 8cc2cc4a..a3919dca 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs @@ -586,7 +586,7 @@ namespace VEPROMS pbPDFsStatus.Value = i; // this.Text = string.Format("Create PDF for {0} ({1} of {2})", myProc.DisplayNumber, ++i, n); // RHM 20120925 Overlay the bottom of the dialog so that cancel button is covered. - if (MyProcedure.ActiveFormat.PlantFormat.FormatData.TransData.UseTransitionModifier) + if (MyProcedure.ActiveFormat.PlantFormat.FormatData.TransData.UseTransitionModifier || MyProcedure.ActiveFormat.PlantFormat.FormatData.TransData.UseSpecificTransitionModifier) MyProcedure = ProcedureInfo.GetItemAndChildrenByUnit(MyProcedure.ItemID, 0, MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave); else MyProcedure = ProcedureInfo.GetItemAndChildren(MyProcedure.ItemID); @@ -652,7 +652,7 @@ namespace VEPROMS // Determine change bar settings. First get from config & then see if override from dialog. // Also check that format allows override. ChangeBarDefinition cbd = DetermineChangeBarSettings(); - if (MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave > 0 || MyProcedure.ActiveFormat.PlantFormat.FormatData.TransData.UseTransitionModifier) + if (MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave > 0 || MyProcedure.ActiveFormat.PlantFormat.FormatData.TransData.UseTransitionModifier || MyProcedure.ActiveFormat.PlantFormat.FormatData.TransData.UseSpecificTransitionModifier) MyProcedure = ProcedureInfo.GetItemAndChildrenByUnit(MyProcedure.ItemID, 0, MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave); else MyProcedure = ProcedureInfo.GetItemAndChildren(MyProcedure.ItemID); diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs b/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs index 3bf15b7b..d6d8105e 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs @@ -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 dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = 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(); @@ -97,24 +97,23 @@ namespace VEPROMS this.ppCbShwDefSettings = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.ppGpbxUserSpecCB = new DevComponents.DotNetBar.Controls.GroupPanel(); this.ppGpbxUserSpecTxt = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.ppTxtBxPdfPre = new System.Windows.Forms.TextBox(); + this.ppTxtBxPDFSuf = new System.Windows.Forms.TextBox(); + this.ppTxbxUnitNum = new System.Windows.Forms.RichTextBox(); this.ppLblDefSettingsInfo = new System.Windows.Forms.Label(); this.dlgROFolder = new System.Windows.Forms.FolderBrowserDialog(); this.tcVersions = new DevComponents.DotNetBar.TabControl(); - this.tcpOutputSettings = new DevComponents.DotNetBar.TabControlPanel(); - this.ppChbxAddBlankPgs = new System.Windows.Forms.CheckBox(); - this.ppChbxAlwaysViewPDF = new System.Windows.Forms.CheckBox(); - this.ppChbxAlwaysOvrWrtPDF = new System.Windows.Forms.CheckBox(); - this.ppGrpbxPrnAdj = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.tiOutputSettings = 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.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.tcpFormatSettings = new DevComponents.DotNetBar.TabControlPanel(); + this.ppLblUnitNum = new System.Windows.Forms.Label(); + this.tiFmtSettings = new DevComponents.DotNetBar.TabItem(this.components); + this.tabControlPanel5 = new DevComponents.DotNetBar.TabControlPanel(); + this.ppGrdLibDocList = new DevComponents.DotNetBar.Controls.DataGridViewX(); + this.documentEntryCountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.libTitleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.documentInfoListBindingSource = new System.Windows.Forms.BindingSource(this.components); + this.tiLibDocs = new DevComponents.DotNetBar.TabItem(this.components); this.tcpApplicability = new DevComponents.DotNetBar.TabControlPanel(); this.label28 = new System.Windows.Forms.Label(); this.label27 = new System.Windows.Forms.Label(); @@ -145,14 +144,21 @@ namespace VEPROMS this.bsApples = new System.Windows.Forms.BindingSource(this.components); this.label5 = new System.Windows.Forms.Label(); this.tiApplicability = new DevComponents.DotNetBar.TabItem(this.components); - this.tabControlPanel5 = new DevComponents.DotNetBar.TabControlPanel(); - this.ppGrdLibDocList = new DevComponents.DotNetBar.Controls.DataGridViewX(); - this.documentEntryCountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.libTitleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.documentInfoListBindingSource = new System.Windows.Forms.BindingSource(this.components); - this.tiLibDocs = new DevComponents.DotNetBar.TabItem(this.components); - this.tcpFormatSettings = new DevComponents.DotNetBar.TabControlPanel(); - this.tiFmtSettings = new DevComponents.DotNetBar.TabItem(this.components); + this.tcpOutputSettings = new DevComponents.DotNetBar.TabControlPanel(); + this.label30 = new System.Windows.Forms.Label(); + this.label29 = new System.Windows.Forms.Label(); + this.ppChbxAddBlankPgs = new System.Windows.Forms.CheckBox(); + this.ppChbxAlwaysViewPDF = new System.Windows.Forms.CheckBox(); + this.ppChbxAlwaysOvrWrtPDF = new System.Windows.Forms.CheckBox(); + this.ppGrpbxPrnAdj = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.tiOutputSettings = new DevComponents.DotNetBar.TabItem(this.components); + this.tcpRefereceObjects = new DevComponents.DotNetBar.TabControlPanel(); + 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.panVerBtns = new System.Windows.Forms.Panel(); this.btnApplicability = new DevComponents.DotNetBar.ButtonX(); this.btnLibDocs = new DevComponents.DotNetBar.ButtonX(); @@ -163,10 +169,6 @@ 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.label29 = new System.Windows.Forms.Label(); - this.ppTxtBxPdfPre = new System.Windows.Forms.TextBox(); - this.label30 = new System.Windows.Forms.Label(); - this.ppTxtBxPDFSuf = new System.Windows.Forms.TextBox(); ((System.ComponentModel.ISupportInitialize)(this.docVersionConfigBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imageCodecInfoBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ppNumUpDwnOvrdPrnPenWidth)).BeginInit(); @@ -177,20 +179,20 @@ namespace VEPROMS this.ppGpbxUserSpecTxt.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tcVersions)).BeginInit(); this.tcVersions.SuspendLayout(); - this.tcpOutputSettings.SuspendLayout(); - this.ppGrpbxPrnAdj.SuspendLayout(); this.tcpGeneral.SuspendLayout(); - this.tcpRefereceObjects.SuspendLayout(); - this.ppGpbxUpROvals.SuspendLayout(); + this.tcpFormatSettings.SuspendLayout(); + this.tabControlPanel5.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.ppGrdLibDocList)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).BeginInit(); this.tcpApplicability.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bsMiniApple)).BeginInit(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bsApples)).BeginInit(); - this.tabControlPanel5.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ppGrdLibDocList)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).BeginInit(); - this.tcpFormatSettings.SuspendLayout(); + this.tcpOutputSettings.SuspendLayout(); + this.ppGrpbxPrnAdj.SuspendLayout(); + this.tcpRefereceObjects.SuspendLayout(); + this.ppGpbxUpROvals.SuspendLayout(); this.panVerBtns.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ROPrefixBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).BeginInit(); @@ -200,7 +202,7 @@ namespace VEPROMS // this.ppBtnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ppBtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.ppBtnCancel.Location = new System.Drawing.Point(591, 370); + this.ppBtnCancel.Location = new System.Drawing.Point(594, 352); this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(2); this.ppBtnCancel.Name = "ppBtnCancel"; this.ppBtnCancel.Size = new System.Drawing.Size(56, 21); @@ -212,7 +214,7 @@ namespace VEPROMS // ppBtnOK // this.ppBtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.ppBtnOK.Location = new System.Drawing.Point(517, 370); + this.ppBtnOK.Location = new System.Drawing.Point(522, 352); this.ppBtnOK.Margin = new System.Windows.Forms.Padding(2); this.ppBtnOK.Name = "ppBtnOK"; this.ppBtnOK.Size = new System.Drawing.Size(56, 21); @@ -964,7 +966,7 @@ namespace VEPROMS // // this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.ppCbShwDefSettings.Location = new System.Drawing.Point(17, 371); + this.ppCbShwDefSettings.Location = new System.Drawing.Point(17, 389); this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(2); this.ppCbShwDefSettings.Name = "ppCbShwDefSettings"; this.ppCbShwDefSettings.Size = new System.Drawing.Size(154, 20); @@ -1071,12 +1073,44 @@ namespace VEPROMS this.ppGpbxUserSpecTxt.TabIndex = 51; this.ppGpbxUserSpecTxt.Text = "Change Bar Text"; // + // ppTxtBxPdfPre + // + this.ppTxtBxPdfPre.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "Print_PDFFilePrefix", true)); + this.ppTxtBxPdfPre.Location = new System.Drawing.Point(90, 105); + this.ppTxtBxPdfPre.Name = "ppTxtBxPdfPre"; + this.ppTxtBxPdfPre.Size = new System.Drawing.Size(100, 20); + this.superTooltip1.SetSuperTooltip(this.ppTxtBxPdfPre, new DevComponents.DotNetBar.SuperTooltipInfo("PDF File Prefix", "", "The text entered here will be appended to the beginning of PDF file name when a p" + + "rocedure is printed.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.ppTxtBxPdfPre.TabIndex = 68; + // + // ppTxtBxPDFSuf + // + this.ppTxtBxPDFSuf.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "Print_PDFFileSuffix", true)); + this.ppTxtBxPDFSuf.Location = new System.Drawing.Point(301, 105); + this.ppTxtBxPDFSuf.Name = "ppTxtBxPDFSuf"; + this.ppTxtBxPDFSuf.Size = new System.Drawing.Size(100, 20); + this.superTooltip1.SetSuperTooltip(this.ppTxtBxPDFSuf, new DevComponents.DotNetBar.SuperTooltipInfo("PDF File Suffix", "", "The text entered here will be appended to the end of PDF file name when a procedu" + + "re is printed.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.ppTxtBxPDFSuf.TabIndex = 68; + // + // ppTxbxUnitNum + // + this.ppTxbxUnitNum.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "Print_UserCBMess1", true)); + this.ppTxbxUnitNum.Location = new System.Drawing.Point(256, 275); + this.ppTxbxUnitNum.Margin = new System.Windows.Forms.Padding(2); + this.ppTxbxUnitNum.Multiline = false; + this.ppTxbxUnitNum.Name = "ppTxbxUnitNum"; + this.ppTxbxUnitNum.Size = new System.Drawing.Size(44, 20); + this.superTooltip1.SetSuperTooltip(this.ppTxbxUnitNum, new DevComponents.DotNetBar.SuperTooltipInfo("User Defined Message", "", "This message will appear on all change bars", null, null, DevComponents.DotNetBar.eTooltipColor.System)); + this.ppTxbxUnitNum.TabIndex = 51; + this.ppTxbxUnitNum.Text = ""; + // // ppLblDefSettingsInfo // this.ppLblDefSettingsInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ppLblDefSettingsInfo.AutoSize = true; this.ppLblDefSettingsInfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(11, 352); + this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(11, 370); this.ppLblDefSettingsInfo.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.ppLblDefSettingsInfo.Name = "ppLblDefSettingsInfo"; this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(156, 13); @@ -1092,13 +1126,13 @@ namespace VEPROMS this.tcVersions.Anchor = System.Windows.Forms.AnchorStyles.Right; this.tcVersions.BackColor = System.Drawing.Color.Transparent; this.tcVersions.CanReorderTabs = true; - this.tcVersions.Controls.Add(this.tcpOutputSettings); this.tcVersions.Controls.Add(this.tcpGeneral); - this.tcVersions.Controls.Add(this.tcpRefereceObjects); this.tcVersions.Controls.Add(this.tcpApplicability); this.tcVersions.Controls.Add(this.tabControlPanel5); this.tcVersions.Controls.Add(this.tcpFormatSettings); - this.tcVersions.Location = new System.Drawing.Point(160, 3); + this.tcVersions.Controls.Add(this.tcpOutputSettings); + this.tcVersions.Controls.Add(this.tcpRefereceObjects); + this.tcVersions.Location = new System.Drawing.Point(162, 2); this.tcVersions.Margin = new System.Windows.Forms.Padding(2); this.tcVersions.Name = "tcVersions"; this.tcVersions.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold); @@ -1116,137 +1150,6 @@ namespace VEPROMS this.tcVersions.TabsVisible = false; this.tcVersions.Text = "tabControl1"; // - // tcpOutputSettings - // - this.tcpOutputSettings.Controls.Add(this.ppTxtBxPDFSuf); - this.tcpOutputSettings.Controls.Add(this.ppTxtBxPdfPre); - this.tcpOutputSettings.Controls.Add(this.label30); - this.tcpOutputSettings.Controls.Add(this.label29); - this.tcpOutputSettings.Controls.Add(this.ppChbxAddBlankPgs); - this.tcpOutputSettings.Controls.Add(this.ppTxtBxPDFLoc); - this.tcpOutputSettings.Controls.Add(this.label18); - this.tcpOutputSettings.Controls.Add(this.ppChbxAlwaysViewPDF); - this.tcpOutputSettings.Controls.Add(this.ppBtnPDFLoc); - this.tcpOutputSettings.Controls.Add(this.ppChbxAlwaysOvrWrtPDF); - this.tcpOutputSettings.Controls.Add(this.ppGrpbxPrnAdj); - this.tcpOutputSettings.Controls.Add(this.label17); - this.tcpOutputSettings.Controls.Add(this.ppBtnDeftDisAutoDuplx); - this.tcpOutputSettings.Controls.Add(this.ppBtnDefWatermark); - this.tcpOutputSettings.Controls.Add(this.ppChbxDisAutoDuplex); - this.tcpOutputSettings.Controls.Add(this.ppLblAutoDuplexDefault); - this.tcpOutputSettings.Controls.Add(this.ppCmbxWatermark); - this.tcpOutputSettings.Controls.Add(this.ppLblWatermarkDefault); - this.tcpOutputSettings.Dock = System.Windows.Forms.DockStyle.Fill; - this.tcpOutputSettings.Location = new System.Drawing.Point(0, 22); - this.tcpOutputSettings.Margin = new System.Windows.Forms.Padding(2); - this.tcpOutputSettings.Name = "tcpOutputSettings"; - this.tcpOutputSettings.Padding = new System.Windows.Forms.Padding(1); - this.tcpOutputSettings.Size = new System.Drawing.Size(488, 315); - this.tcpOutputSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tcpOutputSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); - this.tcpOutputSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tcpOutputSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); - this.tcpOutputSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) - | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.tcpOutputSettings.Style.GradientAngle = 90; - this.tcpOutputSettings.TabIndex = 3; - this.tcpOutputSettings.TabItem = this.tiOutputSettings; - this.tcpOutputSettings.Enter += new System.EventHandler(this.tabpage_Enter); - // - // ppChbxAddBlankPgs - // - this.ppChbxAddBlankPgs.AutoSize = true; - this.ppChbxAddBlankPgs.BackColor = System.Drawing.Color.Transparent; - this.ppChbxAddBlankPgs.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AddBlankPagesWhenUsingDuplexFoldouts", true)); - this.ppChbxAddBlankPgs.Location = new System.Drawing.Point(9, 285); - this.ppChbxAddBlankPgs.Margin = new System.Windows.Forms.Padding(2); - this.ppChbxAddBlankPgs.Name = "ppChbxAddBlankPgs"; - this.ppChbxAddBlankPgs.Size = new System.Drawing.Size(249, 17); - this.ppChbxAddBlankPgs.TabIndex = 66; - this.ppChbxAddBlankPgs.Text = "Add Blank Pages When Using Duplex Foldouts"; - this.ppChbxAddBlankPgs.UseVisualStyleBackColor = false; - // - // ppChbxAlwaysViewPDF - // - this.ppChbxAlwaysViewPDF.AutoSize = true; - this.ppChbxAlwaysViewPDF.BackColor = System.Drawing.Color.Transparent; - this.ppChbxAlwaysViewPDF.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysViewPDFAfterCreate", true)); - this.ppChbxAlwaysViewPDF.Location = new System.Drawing.Point(9, 263); - this.ppChbxAlwaysViewPDF.Margin = new System.Windows.Forms.Padding(2); - this.ppChbxAlwaysViewPDF.Name = "ppChbxAlwaysViewPDF"; - this.ppChbxAlwaysViewPDF.Size = new System.Drawing.Size(175, 17); - this.ppChbxAlwaysViewPDF.TabIndex = 37; - this.ppChbxAlwaysViewPDF.Text = "Always View PDF after Creation"; - this.ppChbxAlwaysViewPDF.UseVisualStyleBackColor = false; - // - // ppChbxAlwaysOvrWrtPDF - // - this.ppChbxAlwaysOvrWrtPDF.AutoSize = true; - this.ppChbxAlwaysOvrWrtPDF.BackColor = System.Drawing.Color.Transparent; - this.ppChbxAlwaysOvrWrtPDF.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysOverwritePDF", true)); - this.ppChbxAlwaysOvrWrtPDF.Location = new System.Drawing.Point(9, 241); - this.ppChbxAlwaysOvrWrtPDF.Margin = new System.Windows.Forms.Padding(2); - this.ppChbxAlwaysOvrWrtPDF.Name = "ppChbxAlwaysOvrWrtPDF"; - this.ppChbxAlwaysOvrWrtPDF.Size = new System.Drawing.Size(131, 17); - this.ppChbxAlwaysOvrWrtPDF.TabIndex = 36; - this.ppChbxAlwaysOvrWrtPDF.Text = "Always Overwrite PDF"; - this.ppChbxAlwaysOvrWrtPDF.UseVisualStyleBackColor = false; - // - // ppGrpbxPrnAdj - // - this.ppGrpbxPrnAdj.BackColor = System.Drawing.Color.Transparent; - this.ppGrpbxPrnAdj.CanvasColor = System.Drawing.SystemColors.Control; - this.ppGrpbxPrnAdj.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.ppGrpbxPrnAdj.Controls.Add(this.ppNumUpDwnOvrdPrnPenWidth); - this.ppGrpbxPrnAdj.Controls.Add(this.label19); - this.ppGrpbxPrnAdj.Controls.Add(this.label22); - this.ppGrpbxPrnAdj.Controls.Add(this.label20); - this.ppGrpbxPrnAdj.Controls.Add(this.ppNumUpDwnAdjPrnStartPos); - this.ppGrpbxPrnAdj.Controls.Add(this.ppNumUpDwnOverdPrnPenBoldWidth); - this.ppGrpbxPrnAdj.Controls.Add(this.label21); - this.ppGrpbxPrnAdj.Controls.Add(this.ppNumUpDwnOvrdPrnPenULineWidth); - this.ppGrpbxPrnAdj.Location = new System.Drawing.Point(8, 141); - this.ppGrpbxPrnAdj.Margin = new System.Windows.Forms.Padding(2); - this.ppGrpbxPrnAdj.Name = "ppGrpbxPrnAdj"; - this.ppGrpbxPrnAdj.Size = new System.Drawing.Size(467, 97); - // - // - // - this.ppGrpbxPrnAdj.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.ppGrpbxPrnAdj.Style.BackColorGradientAngle = 90; - this.ppGrpbxPrnAdj.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.ppGrpbxPrnAdj.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGrpbxPrnAdj.Style.BorderBottomWidth = 1; - this.ppGrpbxPrnAdj.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.ppGrpbxPrnAdj.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGrpbxPrnAdj.Style.BorderLeftWidth = 1; - this.ppGrpbxPrnAdj.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGrpbxPrnAdj.Style.BorderRightWidth = 1; - this.ppGrpbxPrnAdj.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGrpbxPrnAdj.Style.BorderTopWidth = 1; - this.ppGrpbxPrnAdj.Style.CornerDiameter = 4; - this.ppGrpbxPrnAdj.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.ppGrpbxPrnAdj.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.ppGrpbxPrnAdj.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.ppGrpbxPrnAdj.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.ppGrpbxPrnAdj.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.ppGrpbxPrnAdj.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.ppGrpbxPrnAdj.TabIndex = 65; - this.ppGrpbxPrnAdj.Text = "Output Adjustments"; - this.ppGrpbxPrnAdj.Visible = false; - // - // tiOutputSettings - // - this.tiOutputSettings.AttachedControl = this.tcpOutputSettings; - this.tiOutputSettings.Name = "tiOutputSettings"; - this.tiOutputSettings.Text = "Output Settings"; - // // tcpGeneral // this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; @@ -1262,7 +1165,6 @@ namespace VEPROMS this.tcpGeneral.Controls.Add(this.ppDTPicker); this.tcpGeneral.Controls.Add(this.label2); this.tcpGeneral.Controls.Add(this.label1); - 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"; @@ -1284,120 +1186,131 @@ namespace VEPROMS this.tiGeneral.Name = "tiGeneral"; this.tiGeneral.Text = "General"; // - // tcpRefereceObjects + // tcpFormatSettings // - 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.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(1); - this.tcpRefereceObjects.Size = new System.Drawing.Size(488, 315); - 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) + this.tcpFormatSettings.Controls.Add(this.ppTxbxUnitNum); + this.tcpFormatSettings.Controls.Add(this.ppLblUnitNum); + this.tcpFormatSettings.Controls.Add(this.ppGpbxUserSpecCB); + this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultChgBar); + this.tcpFormatSettings.Controls.Add(this.ppCmbxFormat); + this.tcpFormatSettings.Controls.Add(this.ppCmbxChangeBarType); + this.tcpFormatSettings.Controls.Add(this.label11); + this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultFmt); + this.tcpFormatSettings.Controls.Add(this.label10); + this.tcpFormatSettings.Controls.Add(this.ppLblChangeBarTypeDefault); + this.tcpFormatSettings.Controls.Add(this.ppLblFormatDefault); + this.tcpFormatSettings.Dock = System.Windows.Forms.DockStyle.Fill; + this.tcpFormatSettings.Location = new System.Drawing.Point(0, 22); + this.tcpFormatSettings.Margin = new System.Windows.Forms.Padding(2); + this.tcpFormatSettings.Name = "tcpFormatSettings"; + this.tcpFormatSettings.Padding = new System.Windows.Forms.Padding(1); + this.tcpFormatSettings.Size = new System.Drawing.Size(488, 315); + this.tcpFormatSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); + this.tcpFormatSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); + this.tcpFormatSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tcpFormatSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); + this.tcpFormatSettings.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); + this.tcpFormatSettings.Style.GradientAngle = 90; + this.tcpFormatSettings.TabIndex = 4; + this.tcpFormatSettings.TabItem = this.tiFmtSettings; + this.tcpFormatSettings.Enter += new System.EventHandler(this.tabpage_Enter); // - // tbRoDb + // ppLblUnitNum // - 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.ppLblUnitNum.AutoSize = true; + this.ppLblUnitNum.BackColor = System.Drawing.Color.Transparent; + this.ppLblUnitNum.Location = new System.Drawing.Point(12, 281); + this.ppLblUnitNum.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.ppLblUnitNum.Name = "ppLblUnitNum"; + this.ppLblUnitNum.Size = new System.Drawing.Size(235, 13); + this.ppLblUnitNum.TabIndex = 50; + this.ppLblUnitNum.Text = "Unit Number for Cover and Header page printing"; // - // ppBtnRoDbBrowse + // tiFmtSettings // - 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); + this.tiFmtSettings.AttachedControl = this.tcpFormatSettings; + this.tiFmtSettings.Name = "tiFmtSettings"; + this.tiFmtSettings.Text = "Format Settings"; // - // btnRoDbProperties + // tabControlPanel5 // - 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); + this.tabControlPanel5.AutoScroll = true; + this.tabControlPanel5.Controls.Add(this.ppGrdLibDocList); + this.tabControlPanel5.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControlPanel5.Location = new System.Drawing.Point(0, 22); + this.tabControlPanel5.Margin = new System.Windows.Forms.Padding(2); + this.tabControlPanel5.Name = "tabControlPanel5"; + this.tabControlPanel5.Padding = new System.Windows.Forms.Padding(1); + this.tabControlPanel5.Size = new System.Drawing.Size(488, 315); + this.tabControlPanel5.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); + this.tabControlPanel5.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); + this.tabControlPanel5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tabControlPanel5.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); + this.tabControlPanel5.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tabControlPanel5.Style.GradientAngle = 90; + this.tabControlPanel5.TabIndex = 5; + this.tabControlPanel5.TabItem = this.tiLibDocs; + this.tabControlPanel5.Enter += new System.EventHandler(this.tabpage_Enter); // - // cmbRoDb + // ppGrdLibDocList // - 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); + this.ppGrdLibDocList.AllowUserToAddRows = false; + this.ppGrdLibDocList.AutoGenerateColumns = false; + this.ppGrdLibDocList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.ppGrdLibDocList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.documentEntryCountDataGridViewTextBoxColumn, + this.libTitleDataGridViewTextBoxColumn}); + this.ppGrdLibDocList.DataSource = this.documentInfoListBindingSource; + 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; + this.ppGrdLibDocList.Location = new System.Drawing.Point(1, 1); + this.ppGrdLibDocList.Margin = new System.Windows.Forms.Padding(2); + this.ppGrdLibDocList.Name = "ppGrdLibDocList"; + this.ppGrdLibDocList.RowHeadersVisible = false; + this.ppGrdLibDocList.RowTemplate.Height = 24; + this.ppGrdLibDocList.SelectAllSignVisible = false; + this.ppGrdLibDocList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.ppGrdLibDocList.Size = new System.Drawing.Size(486, 313); + this.ppGrdLibDocList.TabIndex = 1; // - // ppGpbxUpROvals + // documentEntryCountDataGridViewTextBoxColumn // - 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.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.documentEntryCountDataGridViewTextBoxColumn.DataPropertyName = "DocumentEntryCount"; + 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; + this.documentEntryCountDataGridViewTextBoxColumn.Width = 95; // + // libTitleDataGridViewTextBoxColumn // + this.libTitleDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.libTitleDataGridViewTextBoxColumn.DataPropertyName = "LibTitle"; + this.libTitleDataGridViewTextBoxColumn.HeaderText = "Library Document Title"; + this.libTitleDataGridViewTextBoxColumn.Name = "libTitleDataGridViewTextBoxColumn"; + this.libTitleDataGridViewTextBoxColumn.ReadOnly = true; // - 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; + // documentInfoListBindingSource // + this.documentInfoListBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.DocumentInfo); // + // tiLibDocs // - 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"; + this.tiLibDocs.AttachedControl = this.tabControlPanel5; + this.tiLibDocs.Name = "tiLibDocs"; + this.tiLibDocs.Text = "Library Documents"; // // tcpApplicability // @@ -1722,118 +1635,271 @@ namespace VEPROMS this.tiApplicability.Name = "tiApplicability"; this.tiApplicability.Text = "Applicability"; // - // tabControlPanel5 + // tcpOutputSettings // - this.tabControlPanel5.AutoScroll = true; - this.tabControlPanel5.Controls.Add(this.ppGrdLibDocList); - this.tabControlPanel5.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel5.Location = new System.Drawing.Point(0, 22); - this.tabControlPanel5.Margin = new System.Windows.Forms.Padding(2); - this.tabControlPanel5.Name = "tabControlPanel5"; - this.tabControlPanel5.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel5.Size = new System.Drawing.Size(488, 315); - this.tabControlPanel5.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tabControlPanel5.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); - this.tabControlPanel5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel5.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); - this.tabControlPanel5.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + this.tcpOutputSettings.Controls.Add(this.ppTxtBxPDFSuf); + this.tcpOutputSettings.Controls.Add(this.ppTxtBxPdfPre); + this.tcpOutputSettings.Controls.Add(this.label30); + this.tcpOutputSettings.Controls.Add(this.label29); + this.tcpOutputSettings.Controls.Add(this.ppChbxAddBlankPgs); + this.tcpOutputSettings.Controls.Add(this.ppTxtBxPDFLoc); + this.tcpOutputSettings.Controls.Add(this.label18); + this.tcpOutputSettings.Controls.Add(this.ppChbxAlwaysViewPDF); + this.tcpOutputSettings.Controls.Add(this.ppBtnPDFLoc); + this.tcpOutputSettings.Controls.Add(this.ppChbxAlwaysOvrWrtPDF); + this.tcpOutputSettings.Controls.Add(this.ppGrpbxPrnAdj); + this.tcpOutputSettings.Controls.Add(this.label17); + this.tcpOutputSettings.Controls.Add(this.ppBtnDeftDisAutoDuplx); + this.tcpOutputSettings.Controls.Add(this.ppBtnDefWatermark); + this.tcpOutputSettings.Controls.Add(this.ppChbxDisAutoDuplex); + this.tcpOutputSettings.Controls.Add(this.ppLblAutoDuplexDefault); + this.tcpOutputSettings.Controls.Add(this.ppCmbxWatermark); + this.tcpOutputSettings.Controls.Add(this.ppLblWatermarkDefault); + this.tcpOutputSettings.Dock = System.Windows.Forms.DockStyle.Fill; + this.tcpOutputSettings.Location = new System.Drawing.Point(0, 22); + this.tcpOutputSettings.Margin = new System.Windows.Forms.Padding(2); + this.tcpOutputSettings.Name = "tcpOutputSettings"; + this.tcpOutputSettings.Padding = new System.Windows.Forms.Padding(1); + this.tcpOutputSettings.Size = new System.Drawing.Size(488, 315); + this.tcpOutputSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); + this.tcpOutputSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); + this.tcpOutputSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tcpOutputSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); + this.tcpOutputSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.tabControlPanel5.Style.GradientAngle = 90; - this.tabControlPanel5.TabIndex = 5; - this.tabControlPanel5.TabItem = this.tiLibDocs; - this.tabControlPanel5.Enter += new System.EventHandler(this.tabpage_Enter); + this.tcpOutputSettings.Style.GradientAngle = 90; + this.tcpOutputSettings.TabIndex = 3; + this.tcpOutputSettings.TabItem = this.tiOutputSettings; + this.tcpOutputSettings.Enter += new System.EventHandler(this.tabpage_Enter); // - // ppGrdLibDocList + // label30 // - this.ppGrdLibDocList.AllowUserToAddRows = false; - this.ppGrdLibDocList.AutoGenerateColumns = false; - this.ppGrdLibDocList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.ppGrdLibDocList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.documentEntryCountDataGridViewTextBoxColumn, - this.libTitleDataGridViewTextBoxColumn}); - this.ppGrdLibDocList.DataSource = this.documentInfoListBindingSource; - dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.ppGrdLibDocList.DefaultCellStyle = dataGridViewCellStyle6; - 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; - this.ppGrdLibDocList.Location = new System.Drawing.Point(1, 1); - this.ppGrdLibDocList.Margin = new System.Windows.Forms.Padding(2); - this.ppGrdLibDocList.Name = "ppGrdLibDocList"; - this.ppGrdLibDocList.RowHeadersVisible = false; - this.ppGrdLibDocList.RowTemplate.Height = 24; - this.ppGrdLibDocList.SelectAllSignVisible = false; - this.ppGrdLibDocList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.ppGrdLibDocList.Size = new System.Drawing.Size(486, 313); - this.ppGrdLibDocList.TabIndex = 1; + this.label30.AutoSize = true; + this.label30.BackColor = System.Drawing.Color.Transparent; + this.label30.Location = new System.Drawing.Point(219, 108); + this.label30.Name = "label30"; + this.label30.Size = new System.Drawing.Size(76, 13); + this.label30.TabIndex = 67; + this.label30.Text = "PDF File Suffix"; // - // documentEntryCountDataGridViewTextBoxColumn + // label29 // - this.documentEntryCountDataGridViewTextBoxColumn.DataPropertyName = "DocumentEntryCount"; - dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.documentEntryCountDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle5; - this.documentEntryCountDataGridViewTextBoxColumn.HeaderText = "Number of Usages"; - this.documentEntryCountDataGridViewTextBoxColumn.Name = "documentEntryCountDataGridViewTextBoxColumn"; - this.documentEntryCountDataGridViewTextBoxColumn.ReadOnly = true; - this.documentEntryCountDataGridViewTextBoxColumn.Width = 95; + this.label29.AutoSize = true; + this.label29.BackColor = System.Drawing.Color.Transparent; + this.label29.Location = new System.Drawing.Point(8, 108); + this.label29.Name = "label29"; + this.label29.Size = new System.Drawing.Size(76, 13); + this.label29.TabIndex = 67; + this.label29.Text = "PDF File Prefix"; // - // libTitleDataGridViewTextBoxColumn + // ppChbxAddBlankPgs // - this.libTitleDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - this.libTitleDataGridViewTextBoxColumn.DataPropertyName = "LibTitle"; - this.libTitleDataGridViewTextBoxColumn.HeaderText = "Library Document Title"; - this.libTitleDataGridViewTextBoxColumn.Name = "libTitleDataGridViewTextBoxColumn"; - this.libTitleDataGridViewTextBoxColumn.ReadOnly = true; + this.ppChbxAddBlankPgs.AutoSize = true; + this.ppChbxAddBlankPgs.BackColor = System.Drawing.Color.Transparent; + this.ppChbxAddBlankPgs.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AddBlankPagesWhenUsingDuplexFoldouts", true)); + this.ppChbxAddBlankPgs.Location = new System.Drawing.Point(9, 285); + this.ppChbxAddBlankPgs.Margin = new System.Windows.Forms.Padding(2); + this.ppChbxAddBlankPgs.Name = "ppChbxAddBlankPgs"; + this.ppChbxAddBlankPgs.Size = new System.Drawing.Size(249, 17); + this.ppChbxAddBlankPgs.TabIndex = 66; + this.ppChbxAddBlankPgs.Text = "Add Blank Pages When Using Duplex Foldouts"; + this.ppChbxAddBlankPgs.UseVisualStyleBackColor = false; // - // documentInfoListBindingSource + // ppChbxAlwaysViewPDF // - this.documentInfoListBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.DocumentInfo); + this.ppChbxAlwaysViewPDF.AutoSize = true; + this.ppChbxAlwaysViewPDF.BackColor = System.Drawing.Color.Transparent; + this.ppChbxAlwaysViewPDF.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysViewPDFAfterCreate", true)); + this.ppChbxAlwaysViewPDF.Location = new System.Drawing.Point(9, 263); + this.ppChbxAlwaysViewPDF.Margin = new System.Windows.Forms.Padding(2); + this.ppChbxAlwaysViewPDF.Name = "ppChbxAlwaysViewPDF"; + this.ppChbxAlwaysViewPDF.Size = new System.Drawing.Size(175, 17); + this.ppChbxAlwaysViewPDF.TabIndex = 37; + this.ppChbxAlwaysViewPDF.Text = "Always View PDF after Creation"; + this.ppChbxAlwaysViewPDF.UseVisualStyleBackColor = false; // - // tiLibDocs + // ppChbxAlwaysOvrWrtPDF // - this.tiLibDocs.AttachedControl = this.tabControlPanel5; - this.tiLibDocs.Name = "tiLibDocs"; - this.tiLibDocs.Text = "Library Documents"; + this.ppChbxAlwaysOvrWrtPDF.AutoSize = true; + this.ppChbxAlwaysOvrWrtPDF.BackColor = System.Drawing.Color.Transparent; + this.ppChbxAlwaysOvrWrtPDF.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysOverwritePDF", true)); + this.ppChbxAlwaysOvrWrtPDF.Location = new System.Drawing.Point(9, 241); + this.ppChbxAlwaysOvrWrtPDF.Margin = new System.Windows.Forms.Padding(2); + this.ppChbxAlwaysOvrWrtPDF.Name = "ppChbxAlwaysOvrWrtPDF"; + this.ppChbxAlwaysOvrWrtPDF.Size = new System.Drawing.Size(131, 17); + this.ppChbxAlwaysOvrWrtPDF.TabIndex = 36; + this.ppChbxAlwaysOvrWrtPDF.Text = "Always Overwrite PDF"; + this.ppChbxAlwaysOvrWrtPDF.UseVisualStyleBackColor = false; // - // tcpFormatSettings + // ppGrpbxPrnAdj // - this.tcpFormatSettings.Controls.Add(this.ppGpbxUserSpecCB); - this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultChgBar); - this.tcpFormatSettings.Controls.Add(this.ppCmbxFormat); - this.tcpFormatSettings.Controls.Add(this.ppCmbxChangeBarType); - this.tcpFormatSettings.Controls.Add(this.label11); - this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultFmt); - this.tcpFormatSettings.Controls.Add(this.label10); - this.tcpFormatSettings.Controls.Add(this.ppLblChangeBarTypeDefault); - this.tcpFormatSettings.Controls.Add(this.ppLblFormatDefault); - this.tcpFormatSettings.Dock = System.Windows.Forms.DockStyle.Fill; - this.tcpFormatSettings.Location = new System.Drawing.Point(0, 22); - this.tcpFormatSettings.Margin = new System.Windows.Forms.Padding(2); - this.tcpFormatSettings.Name = "tcpFormatSettings"; - this.tcpFormatSettings.Padding = new System.Windows.Forms.Padding(1); - this.tcpFormatSettings.Size = new System.Drawing.Size(488, 315); - this.tcpFormatSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tcpFormatSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); - this.tcpFormatSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tcpFormatSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); - this.tcpFormatSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + this.ppGrpbxPrnAdj.BackColor = System.Drawing.Color.Transparent; + this.ppGrpbxPrnAdj.CanvasColor = System.Drawing.SystemColors.Control; + this.ppGrpbxPrnAdj.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.ppGrpbxPrnAdj.Controls.Add(this.ppNumUpDwnOvrdPrnPenWidth); + this.ppGrpbxPrnAdj.Controls.Add(this.label19); + this.ppGrpbxPrnAdj.Controls.Add(this.label22); + this.ppGrpbxPrnAdj.Controls.Add(this.label20); + this.ppGrpbxPrnAdj.Controls.Add(this.ppNumUpDwnAdjPrnStartPos); + this.ppGrpbxPrnAdj.Controls.Add(this.ppNumUpDwnOverdPrnPenBoldWidth); + this.ppGrpbxPrnAdj.Controls.Add(this.label21); + this.ppGrpbxPrnAdj.Controls.Add(this.ppNumUpDwnOvrdPrnPenULineWidth); + this.ppGrpbxPrnAdj.Location = new System.Drawing.Point(8, 141); + this.ppGrpbxPrnAdj.Margin = new System.Windows.Forms.Padding(2); + this.ppGrpbxPrnAdj.Name = "ppGrpbxPrnAdj"; + this.ppGrpbxPrnAdj.Size = new System.Drawing.Size(467, 97); + // + // + // + this.ppGrpbxPrnAdj.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.ppGrpbxPrnAdj.Style.BackColorGradientAngle = 90; + this.ppGrpbxPrnAdj.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.ppGrpbxPrnAdj.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGrpbxPrnAdj.Style.BorderBottomWidth = 1; + this.ppGrpbxPrnAdj.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.ppGrpbxPrnAdj.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGrpbxPrnAdj.Style.BorderLeftWidth = 1; + this.ppGrpbxPrnAdj.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGrpbxPrnAdj.Style.BorderRightWidth = 1; + this.ppGrpbxPrnAdj.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGrpbxPrnAdj.Style.BorderTopWidth = 1; + this.ppGrpbxPrnAdj.Style.CornerDiameter = 4; + this.ppGrpbxPrnAdj.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.ppGrpbxPrnAdj.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.ppGrpbxPrnAdj.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.ppGrpbxPrnAdj.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.ppGrpbxPrnAdj.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.ppGrpbxPrnAdj.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.ppGrpbxPrnAdj.TabIndex = 65; + this.ppGrpbxPrnAdj.Text = "Output Adjustments"; + this.ppGrpbxPrnAdj.Visible = false; + // + // tiOutputSettings + // + this.tiOutputSettings.AttachedControl = this.tcpOutputSettings; + this.tiOutputSettings.Name = "tiOutputSettings"; + this.tiOutputSettings.Text = "Output Settings"; + // + // tcpRefereceObjects + // + 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.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(1); + this.tcpRefereceObjects.Size = new System.Drawing.Size(488, 315); + 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.tcpFormatSettings.Style.GradientAngle = 90; - this.tcpFormatSettings.TabIndex = 4; - this.tcpFormatSettings.TabItem = this.tiFmtSettings; - this.tcpFormatSettings.Enter += new System.EventHandler(this.tabpage_Enter); + this.tcpRefereceObjects.Style.GradientAngle = 90; + this.tcpRefereceObjects.TabIndex = 2; + this.tcpRefereceObjects.TabItem = this.tiRefObjs; + this.tcpRefereceObjects.Enter += new System.EventHandler(this.tabpage_Enter); // - // tiFmtSettings + // tbRoDb // - this.tiFmtSettings.AttachedControl = this.tcpFormatSettings; - this.tiFmtSettings.Name = "tiFmtSettings"; - this.tiFmtSettings.Text = "Format Settings"; + 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.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"; // // panVerBtns // @@ -1932,46 +1998,6 @@ namespace VEPROMS // this.formatInfoListBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.FormatInfo); // - // label29 - // - this.label29.AutoSize = true; - this.label29.BackColor = System.Drawing.Color.Transparent; - this.label29.Location = new System.Drawing.Point(8, 108); - this.label29.Name = "label29"; - this.label29.Size = new System.Drawing.Size(76, 13); - this.label29.TabIndex = 67; - this.label29.Text = "PDF File Prefix"; - // - // ppTxtBxPdfPre - // - this.ppTxtBxPdfPre.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "Print_PDFFilePrefix", true)); - this.ppTxtBxPdfPre.Location = new System.Drawing.Point(90, 105); - this.ppTxtBxPdfPre.Name = "ppTxtBxPdfPre"; - this.ppTxtBxPdfPre.Size = new System.Drawing.Size(100, 20); - this.superTooltip1.SetSuperTooltip(this.ppTxtBxPdfPre, new DevComponents.DotNetBar.SuperTooltipInfo("PDF File Prefix", "", "The text entered here will be appended to the beginning of PDF file name when a p" + - "rocedure is printed.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.ppTxtBxPdfPre.TabIndex = 68; - // - // label30 - // - this.label30.AutoSize = true; - this.label30.BackColor = System.Drawing.Color.Transparent; - this.label30.Location = new System.Drawing.Point(219, 108); - this.label30.Name = "label30"; - this.label30.Size = new System.Drawing.Size(76, 13); - this.label30.TabIndex = 67; - this.label30.Text = "PDF File Suffix"; - // - // ppTxtBxPDFSuf - // - this.ppTxtBxPDFSuf.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "Print_PDFFileSuffix", true)); - this.ppTxtBxPDFSuf.Location = new System.Drawing.Point(301, 105); - this.ppTxtBxPDFSuf.Name = "ppTxtBxPDFSuf"; - this.ppTxtBxPDFSuf.Size = new System.Drawing.Size(100, 20); - this.superTooltip1.SetSuperTooltip(this.ppTxtBxPDFSuf, new DevComponents.DotNetBar.SuperTooltipInfo("PDF File Suffix", "", "The text entered here will be appended to the end of PDF file name when a procedu" + - "re is printed.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.ppTxtBxPDFSuf.TabIndex = 68; - // // frmVersionsProperties // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -1979,7 +2005,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(650, 391); + this.ClientSize = new System.Drawing.Size(694, 384); this.ControlBox = false; this.Controls.Add(this.panVerBtns); this.Controls.Add(this.tcVersions); @@ -1987,6 +2013,7 @@ namespace VEPROMS this.Controls.Add(this.ppLblDefSettingsInfo); this.Controls.Add(this.ppBtnCancel); this.Controls.Add(this.ppBtnOK); + this.DoubleBuffered = true; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Margin = new System.Windows.Forms.Padding(2); this.MaximizeBox = false; @@ -2009,26 +2036,26 @@ namespace VEPROMS this.ppGpbxUserSpecTxt.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tcVersions)).EndInit(); this.tcVersions.ResumeLayout(false); - this.tcpOutputSettings.ResumeLayout(false); - this.tcpOutputSettings.PerformLayout(); - this.ppGrpbxPrnAdj.ResumeLayout(false); - this.ppGrpbxPrnAdj.PerformLayout(); this.tcpGeneral.ResumeLayout(false); this.tcpGeneral.PerformLayout(); - this.tcpRefereceObjects.ResumeLayout(false); - this.tcpRefereceObjects.PerformLayout(); - this.ppGpbxUpROvals.ResumeLayout(false); + this.tcpFormatSettings.ResumeLayout(false); + this.tcpFormatSettings.PerformLayout(); + this.tabControlPanel5.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.ppGrdLibDocList)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).EndInit(); this.tcpApplicability.ResumeLayout(false); this.tcpApplicability.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.bsMiniApple)).EndInit(); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.bsApples)).EndInit(); - this.tabControlPanel5.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.ppGrdLibDocList)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).EndInit(); - this.tcpFormatSettings.ResumeLayout(false); - this.tcpFormatSettings.PerformLayout(); + this.tcpOutputSettings.ResumeLayout(false); + this.tcpOutputSettings.PerformLayout(); + this.ppGrpbxPrnAdj.ResumeLayout(false); + this.ppGrpbxPrnAdj.PerformLayout(); + this.tcpRefereceObjects.ResumeLayout(false); + this.tcpRefereceObjects.PerformLayout(); + this.ppGpbxUpROvals.ResumeLayout(false); this.panVerBtns.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.ROPrefixBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).EndInit(); @@ -2177,5 +2204,7 @@ namespace VEPROMS private System.Windows.Forms.TextBox ppTxtBxPdfPre; private System.Windows.Forms.Label label30; private System.Windows.Forms.Label label29; + private System.Windows.Forms.RichTextBox ppTxbxUnitNum; + private System.Windows.Forms.Label ppLblUnitNum; } } \ No newline at end of file diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.cs b/PROMS/VEPROMS User Interface/frmVersionsProperties.cs index a1207c18..22e395ac 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.cs +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.cs @@ -138,6 +138,8 @@ namespace VEPROMS } } } + _DocVersionConfig.Print_UnitNumberForPageList = ppTxbxUnitNum.Text; + docVersionConfigBindingSource.EndEdit(); // Save Default settings for User // @@ -292,6 +294,19 @@ namespace VEPROMS ppCmbxProcSetType.DisplayMember = "Description"; ppCmbxProcSetType.ValueMember = "EValue"; ppCmbxProcSetType.Enabled = false; // maybe enable this if used for version creation + + // check active format to see if the unit number text box on the format tab is visible. + if (_DocVersionConfig.MyDocVersion.MyDocVersionInfo.ActiveFormat.PlantFormat.FormatData.PrintData.UnitNumber) + { + ppLblUnitNum.Visible = true; + ppTxbxUnitNum.Visible = true; + ppTxbxUnitNum.Text = _DocVersionConfig.Print_UnitNumberForPageList; + } + else + { + ppLblUnitNum.Visible = false; + ppTxbxUnitNum.Visible = false; + } documentInfoListBindingSource.DataSource = DocumentInfoList.GetLibraries(false); diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.resx b/PROMS/VEPROMS User Interface/frmVersionsProperties.resx index 8c7a1d31..a83006de 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.resx +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.resx @@ -123,12 +123,6 @@ 415, 17 - - 415, 17 - - - 643, 17 - Allows you to specify the default format to use for all procedures in this set. @@ -196,6 +190,15 @@ Check "Show Default Settings" to display the "default" duplexing setting (below 237, 56 + + 118, 17 + + + 17, 17 + + + 357, 56 + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 @@ -212,21 +215,6 @@ Check "Show Default Settings" to display the "default" duplexing setting (below vkpiAWfjAAAAAElFTkSuQmCC - - 118, 17 - - - 357, 56 - - - 118, 17 - - - 17, 17 - - - 17, 17 - 238, 17 diff --git a/PROMS/VEPROMS.CSLA.Library/Config/DocVersionConfig.cs b/PROMS/VEPROMS.CSLA.Library/Config/DocVersionConfig.cs index 10130875..f3f55b43 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/DocVersionConfig.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/DocVersionConfig.cs @@ -838,6 +838,32 @@ namespace VEPROMS.CSLA.Library } } } + [Category("Print Settings")] + [DisplayName("UnitNumberForPageList")] + [RefreshProperties(RefreshProperties.All)] + [Description("For Printing of Unit 1, 2 or 1 & 2 on cover page and in header of other pages")] + public string Print_UnitNumberForPageList + { + get + { + string s = _Xp["PrintSettings", "UnitNumberForPageList"]; + + // If there is no value, then default to "1", i.e. Unit 1. + if (s == string.Empty) s = "1"; // default + return s; + } + set + { + if (_SaveChangesToDocVersionConfig) + { + string parval = _Xp.ParentValue("PrintSettings", "UnitNumberForPageList"); + + _Xp["PrintSettings", "UnitNumberForPageList"] = value; + + OnPropertyChanged("Print_UnitNumberForPageList"); + } + } + } #endregion #region Unit // From PROC.INI //MultiUnitCount diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index 38f291d4..d1a5e20a 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -5069,6 +5069,11 @@ namespace VEPROMS.CSLA.Library else return DisplayNumber; } + + // if displaynumber ends with a '.', don't worry about catching the condition that a tab can be made such as + // 'x. x', i.e. space between the . and the rest of tab. This was added for BGEEOPs. + if (DisplayNumber.LastIndexOf('.') == DisplayNumber.Length - 1) return DisplayNumber; + string retStr = null; string ch = DisplayNumber != null && DisplayNumber != "" ? DisplayNumber.Substring(0,1) : null; int Snum = GetSectionNum(); diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs index 6dfc5eae..ba7018b4 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs @@ -97,7 +97,8 @@ namespace VEPROMS.CSLA.Library ItemInfo myItemToID = MyItemToID; if (tranLookup.ContainsKey(item.ItemID)) item = tranLookup[item.ItemID]; bool hasPageNum = false; - if (item.ActiveFormat.PlantFormat.FormatData.TransData.UseTransitionModifier) + if (item.ActiveFormat.PlantFormat.FormatData.TransData.UseTransitionModifier || + item.ActiveFormat.PlantFormat.FormatData.TransData.UseSpecificTransitionModifier) { TransitionConfig tc = new TransitionConfig(Config); if (tc != null && tc.Transition_Formatted.ToUpper() == "TRUE") hasPageNum = true; diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs index 359b4296..b10d8d7e 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs @@ -689,6 +689,22 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RevDateWithForwardSlash, "@RevDateWithForwardSlash"); } } + private LazyLoad _UnitNumber; + public bool UnitNumber + { + get + { + return LazyLoad(ref _UnitNumber, "@UnitNumber"); + } + } + private LazyLoad _SpecialCaseCalvert; + public bool SpecialCaseCalvert + { + get + { + return LazyLoad(ref _SpecialCaseCalvert, "@SpecialCaseCalvert"); + } + } private LazyLoad _SpecialStepsFoldout; public bool SpecialStepsFoldout { @@ -1768,6 +1784,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Just, "@Just"); } } + private LazyLoad _Level0Big; + public bool Level0Big + { + get + { + return LazyLoad(ref _Level0Big, "@Level0Big"); + } + } private VE_Font _Font; public VE_Font Font { @@ -1800,6 +1824,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Just, "@Just"); } } + private LazyLoad _Level0Big; + public bool Level0Big + { + get + { + return LazyLoad(ref _Level0Big, "@Level0Big"); + } + } private VE_Font _Font; public VE_Font Font { @@ -5292,6 +5324,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseTransitionModifier, "@UseTransitionModifier"); } } + private LazyLoad _UseSpecificTransitionModifier; + public bool UseSpecificTransitionModifier + { + get + { + return LazyLoad(ref _UseSpecificTransitionModifier, "@UseSpecificTransitionModifier"); + } + } private LazyLoad _UseSecTitles; public bool UseSecTitles {