B2019-165 Added a check box on the automation tab to allow user to turn off the printing of a foldout page on the last page of a Word document that does not include foldouts (Byron/Braidwood)

Code cleanup, found a missed instance of a check for “FOLDOUT” as section number – corrected so that it using the Section_IsFoldout method instead
This commit is contained in:
John Jenko 2019-11-13 17:11:51 +00:00
parent 0e036366e4
commit 22978ffff5
5 changed files with 263 additions and 220 deletions

View File

@ -80,19 +80,14 @@ namespace VEPROMS
this.txbxTOC_Group_Title = new DevComponents.DotNetBar.Controls.TextBoxX(); this.txbxTOC_Group_Title = new DevComponents.DotNetBar.Controls.TextBoxX();
this.ppBtnConvertToDocX = new DevComponents.DotNetBar.ButtonX(); this.ppBtnConvertToDocX = new DevComponents.DotNetBar.ButtonX();
this.ppCbShwDefSettings = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.ppCbShwDefSettings = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.cbIsFoldoutSection = new System.Windows.Forms.CheckBox();
this.cbKeepWordDocMargins = new System.Windows.Forms.CheckBox();
this.panSectBtns = new System.Windows.Forms.Panel(); this.panSectBtns = new System.Windows.Forms.Panel();
this.btnAutomation = new DevComponents.DotNetBar.ButtonX(); this.btnAutomation = new DevComponents.DotNetBar.ButtonX();
this.btnLibDocs = new DevComponents.DotNetBar.ButtonX(); this.btnLibDocs = new DevComponents.DotNetBar.ButtonX();
this.btnFormat = new DevComponents.DotNetBar.ButtonX(); this.btnFormat = new DevComponents.DotNetBar.ButtonX();
this.btnGeneral = new DevComponents.DotNetBar.ButtonX(); this.btnGeneral = new DevComponents.DotNetBar.ButtonX();
this.tcSectionProp = new DevComponents.DotNetBar.TabControl(); this.tcSectionProp = new DevComponents.DotNetBar.TabControl();
this.tcpFormat = new DevComponents.DotNetBar.TabControlPanel();
this.cbIsFoldoutSection = new System.Windows.Forms.CheckBox();
this.cbKeepWordDocMargins = new System.Windows.Forms.CheckBox();
this.rbWordSect = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.rbStepSect = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.ppGpbxSignoffCheckoff = new DevComponents.DotNetBar.Controls.GroupPanel();
this.tiFormat = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel(); this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
this.ppCbAutoIndent = new System.Windows.Forms.CheckBox(); this.ppCbAutoIndent = new System.Windows.Forms.CheckBox();
this.ppCbEditableData = new System.Windows.Forms.CheckBox(); this.ppCbEditableData = new System.Windows.Forms.CheckBox();
@ -100,9 +95,13 @@ namespace VEPROMS
this.ppSectNumberStpRTB = new Volian.Controls.Library.StepRTB(this.components); this.ppSectNumberStpRTB = new Volian.Controls.Library.StepRTB(this.components);
this.ppSectTitleStpRTB = new Volian.Controls.Library.StepRTB(this.components); this.ppSectTitleStpRTB = new Volian.Controls.Library.StepRTB(this.components);
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components); this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpLibDoc = new DevComponents.DotNetBar.TabControlPanel(); this.tcpFormat = new DevComponents.DotNetBar.TabControlPanel();
this.tiLibDoc = new DevComponents.DotNetBar.TabItem(this.components); this.rbWordSect = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.rbStepSect = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.ppGpbxSignoffCheckoff = new DevComponents.DotNetBar.Controls.GroupPanel();
this.tiFormat = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpAutomation = new DevComponents.DotNetBar.TabControlPanel(); this.tcpAutomation = new DevComponents.DotNetBar.TabControlPanel();
this.ppCbNoDuplexFoldout = new System.Windows.Forms.CheckBox();
this.gpTOC = new DevComponents.DotNetBar.Controls.GroupPanel(); this.gpTOC = new DevComponents.DotNetBar.Controls.GroupPanel();
this.labelX1 = new DevComponents.DotNetBar.LabelX(); this.labelX1 = new DevComponents.DotNetBar.LabelX();
this.grpLnkEnh = new DevComponents.DotNetBar.Controls.GroupPanel(); this.grpLnkEnh = new DevComponents.DotNetBar.Controls.GroupPanel();
@ -113,19 +112,21 @@ namespace VEPROMS
this.ppCbPlaceKeeper = new System.Windows.Forms.CheckBox(); this.ppCbPlaceKeeper = new System.Windows.Forms.CheckBox();
this.ppCbIncTOC = new System.Windows.Forms.CheckBox(); this.ppCbIncTOC = new System.Windows.Forms.CheckBox();
this.tiAutomation = new DevComponents.DotNetBar.TabItem(this.components); this.tiAutomation = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpLibDoc = new DevComponents.DotNetBar.TabControlPanel();
this.tiLibDoc = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel(); this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel();
this.tiViewStnns = new DevComponents.DotNetBar.TabItem(this.components); this.tiViewStnns = new DevComponents.DotNetBar.TabItem(this.components);
((System.ComponentModel.ISupportInitialize)(this.sectionConfigBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sectionConfigBindingSource)).BeginInit();
this.panSectBtns.SuspendLayout(); this.panSectBtns.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).BeginInit();
this.tcSectionProp.SuspendLayout(); this.tcSectionProp.SuspendLayout();
this.tcpGeneral.SuspendLayout();
this.tcpFormat.SuspendLayout(); this.tcpFormat.SuspendLayout();
this.ppGpbxSignoffCheckoff.SuspendLayout(); this.ppGpbxSignoffCheckoff.SuspendLayout();
this.tcpGeneral.SuspendLayout();
this.tcpLibDoc.SuspendLayout();
this.tcpAutomation.SuspendLayout(); this.tcpAutomation.SuspendLayout();
this.gpTOC.SuspendLayout(); this.gpTOC.SuspendLayout();
this.grpLnkEnh.SuspendLayout(); this.grpLnkEnh.SuspendLayout();
this.tcpLibDoc.SuspendLayout();
this.tabControlPanel4.SuspendLayout(); this.tabControlPanel4.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
@ -229,7 +230,7 @@ namespace VEPROMS
this.ppCmbxStyleSectionType.Location = new System.Drawing.Point(84, 89); this.ppCmbxStyleSectionType.Location = new System.Drawing.Point(84, 89);
this.ppCmbxStyleSectionType.Margin = new System.Windows.Forms.Padding(2); this.ppCmbxStyleSectionType.Margin = new System.Windows.Forms.Padding(2);
this.ppCmbxStyleSectionType.Name = "ppCmbxStyleSectionType"; this.ppCmbxStyleSectionType.Name = "ppCmbxStyleSectionType";
this.ppCmbxStyleSectionType.Size = new System.Drawing.Size(427, 22); this.ppCmbxStyleSectionType.Size = new System.Drawing.Size(419, 22);
this.superTooltip1.SetSuperTooltip(this.ppCmbxStyleSectionType, new DevComponents.DotNetBar.SuperTooltipInfo("Section Type", "", "This is a list of the possible section types as they are defined in the selected " + this.superTooltip1.SetSuperTooltip(this.ppCmbxStyleSectionType, new DevComponents.DotNetBar.SuperTooltipInfo("Section Type", "", "This is a list of the possible section types as they are defined in the selected " +
"format.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); "format.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.ppCmbxStyleSectionType.TabIndex = 24; this.ppCmbxStyleSectionType.TabIndex = 24;
@ -241,7 +242,7 @@ namespace VEPROMS
// //
this.ppBtnDefaultFmt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.ppBtnDefaultFmt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.ppBtnDefaultFmt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.ppBtnDefaultFmt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ppBtnDefaultFmt.Location = new System.Drawing.Point(515, 18); this.ppBtnDefaultFmt.Location = new System.Drawing.Point(501, 18);
this.ppBtnDefaultFmt.Margin = new System.Windows.Forms.Padding(2); this.ppBtnDefaultFmt.Margin = new System.Windows.Forms.Padding(2);
this.ppBtnDefaultFmt.Name = "ppBtnDefaultFmt"; this.ppBtnDefaultFmt.Name = "ppBtnDefaultFmt";
this.ppBtnDefaultFmt.Size = new System.Drawing.Size(48, 21); this.ppBtnDefaultFmt.Size = new System.Drawing.Size(48, 21);
@ -265,7 +266,7 @@ namespace VEPROMS
this.ppCmbxFormat.Location = new System.Drawing.Point(10, 18); this.ppCmbxFormat.Location = new System.Drawing.Point(10, 18);
this.ppCmbxFormat.Margin = new System.Windows.Forms.Padding(2); this.ppCmbxFormat.Margin = new System.Windows.Forms.Padding(2);
this.ppCmbxFormat.Name = "ppCmbxFormat"; this.ppCmbxFormat.Name = "ppCmbxFormat";
this.ppCmbxFormat.Size = new System.Drawing.Size(501, 22); this.ppCmbxFormat.Size = new System.Drawing.Size(487, 22);
this.superTooltip1.SetSuperTooltip(this.ppCmbxFormat, new DevComponents.DotNetBar.SuperTooltipInfo("Format Selection", "", resources.GetString("ppCmbxFormat.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.superTooltip1.SetSuperTooltip(this.ppCmbxFormat, new DevComponents.DotNetBar.SuperTooltipInfo("Format Selection", "", resources.GetString("ppCmbxFormat.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.ppCmbxFormat.TabIndex = 20; this.ppCmbxFormat.TabIndex = 20;
this.ppCmbxFormat.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppCmbxFormat.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@ -504,7 +505,7 @@ namespace VEPROMS
// //
this.ppBtnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 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.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.ppBtnCancel.Location = new System.Drawing.Point(674, 369); this.ppBtnCancel.Location = new System.Drawing.Point(667, 365);
this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(2); this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(2);
this.ppBtnCancel.Name = "ppBtnCancel"; this.ppBtnCancel.Name = "ppBtnCancel";
this.ppBtnCancel.Size = new System.Drawing.Size(56, 21); this.ppBtnCancel.Size = new System.Drawing.Size(56, 21);
@ -516,7 +517,7 @@ namespace VEPROMS
// ppBtnOK // ppBtnOK
// //
this.ppBtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ppBtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.ppBtnOK.Location = new System.Drawing.Point(613, 369); this.ppBtnOK.Location = new System.Drawing.Point(606, 365);
this.ppBtnOK.Margin = new System.Windows.Forms.Padding(2); this.ppBtnOK.Margin = new System.Windows.Forms.Padding(2);
this.ppBtnOK.Name = "ppBtnOK"; this.ppBtnOK.Name = "ppBtnOK";
this.ppBtnOK.Size = new System.Drawing.Size(56, 21); this.ppBtnOK.Size = new System.Drawing.Size(56, 21);
@ -757,7 +758,7 @@ namespace VEPROMS
// //
// //
this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppCbShwDefSettings.Location = new System.Drawing.Point(10, 370); this.ppCbShwDefSettings.Location = new System.Drawing.Point(3, 364);
this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(2); this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(2);
this.ppCbShwDefSettings.Name = "ppCbShwDefSettings"; this.ppCbShwDefSettings.Name = "ppCbShwDefSettings";
this.ppCbShwDefSettings.Size = new System.Drawing.Size(145, 22); this.ppCbShwDefSettings.Size = new System.Drawing.Size(145, 22);
@ -767,6 +768,39 @@ namespace VEPROMS
this.ppCbShwDefSettings.Text = "Show Default Settings"; this.ppCbShwDefSettings.Text = "Show Default Settings";
this.ppCbShwDefSettings.CheckedChanged += new System.EventHandler(this.tabpage_Enter); this.ppCbShwDefSettings.CheckedChanged += new System.EventHandler(this.tabpage_Enter);
// //
// cbIsFoldoutSection
//
this.cbIsFoldoutSection.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.cbIsFoldoutSection.AutoSize = true;
this.cbIsFoldoutSection.BackColor = System.Drawing.Color.Transparent;
this.cbIsFoldoutSection.Location = new System.Drawing.Point(10, 294);
this.cbIsFoldoutSection.Margin = new System.Windows.Forms.Padding(2);
this.cbIsFoldoutSection.Name = "cbIsFoldoutSection";
this.cbIsFoldoutSection.Size = new System.Drawing.Size(140, 17);
this.superTooltip1.SetSuperTooltip(this.cbIsFoldoutSection, new DevComponents.DotNetBar.SuperTooltipInfo("This is a Foldout Section", "", resources.GetString("cbIsFoldoutSection.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(350, 166)));
this.cbIsFoldoutSection.TabIndex = 61;
this.cbIsFoldoutSection.Text = "This is a Foldout section";
this.cbIsFoldoutSection.UseVisualStyleBackColor = false;
this.cbIsFoldoutSection.CheckedChanged += new System.EventHandler(this.cbIsFoldoutSection_CheckedChanged);
//
// cbKeepWordDocMargins
//
this.cbKeepWordDocMargins.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.cbKeepWordDocMargins.AutoSize = true;
this.cbKeepWordDocMargins.BackColor = System.Drawing.Color.Transparent;
this.cbKeepWordDocMargins.Location = new System.Drawing.Point(10, 273);
this.cbKeepWordDocMargins.Margin = new System.Windows.Forms.Padding(2);
this.cbKeepWordDocMargins.Name = "cbKeepWordDocMargins";
this.cbKeepWordDocMargins.Size = new System.Drawing.Size(250, 17);
this.superTooltip1.SetSuperTooltip(this.cbKeepWordDocMargins, new DevComponents.DotNetBar.SuperTooltipInfo("Keep Word Document Margins", "", "When checked, the page margins and page size (paper size) set in this Word sectio" +
"n will override the default page margins and paper size set in the PROMS format." +
"", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(303, 70)));
this.cbKeepWordDocMargins.TabIndex = 59;
this.cbKeepWordDocMargins.Text = "Keep Word Document Margins (and Page Size)";
this.cbKeepWordDocMargins.UseVisualStyleBackColor = false;
this.cbKeepWordDocMargins.Visible = false;
this.cbKeepWordDocMargins.CheckedChanged += new System.EventHandler(this.cbKeepWordDocMargins_CheckedChanged);
//
// panSectBtns // panSectBtns
// //
this.panSectBtns.BackColor = System.Drawing.Color.Transparent; this.panSectBtns.BackColor = System.Drawing.Color.Transparent;
@ -842,12 +876,12 @@ namespace VEPROMS
this.tcSectionProp.Controls.Add(this.tcpAutomation); this.tcSectionProp.Controls.Add(this.tcpAutomation);
this.tcSectionProp.Controls.Add(this.tcpLibDoc); this.tcSectionProp.Controls.Add(this.tcpLibDoc);
this.tcSectionProp.Controls.Add(this.tabControlPanel4); this.tcSectionProp.Controls.Add(this.tabControlPanel4);
this.tcSectionProp.Location = new System.Drawing.Point(165, 8); this.tcSectionProp.Location = new System.Drawing.Point(166, 8);
this.tcSectionProp.Margin = new System.Windows.Forms.Padding(2); this.tcSectionProp.Margin = new System.Windows.Forms.Padding(2);
this.tcSectionProp.Name = "tcSectionProp"; this.tcSectionProp.Name = "tcSectionProp";
this.tcSectionProp.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold); this.tcSectionProp.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold);
this.tcSectionProp.SelectedTabIndex = 0; this.tcSectionProp.SelectedTabIndex = 0;
this.tcSectionProp.Size = new System.Drawing.Size(565, 340); this.tcSectionProp.Size = new System.Drawing.Size(557, 340);
this.tcSectionProp.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Dock; this.tcSectionProp.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Dock;
this.tcSectionProp.TabIndex = 29; this.tcSectionProp.TabIndex = 29;
this.tcSectionProp.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; this.tcSectionProp.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
@ -858,171 +892,6 @@ namespace VEPROMS
this.tcSectionProp.TabsVisible = false; this.tcSectionProp.TabsVisible = false;
this.tcSectionProp.Text = "tabControl2"; this.tcSectionProp.Text = "tabControl2";
// //
// tcpFormat
//
this.tcpFormat.Controls.Add(this.cbIsFoldoutSection);
this.tcpFormat.Controls.Add(this.ppCbDefaultStepSection);
this.tcpFormat.Controls.Add(this.cbKeepWordDocMargins);
this.tcpFormat.Controls.Add(this.ppLblDefaultNumColumns);
this.tcpFormat.Controls.Add(this.ppLblDefPaginationStyle);
this.tcpFormat.Controls.Add(this.ppBtnDefaultNumColumns);
this.tcpFormat.Controls.Add(this.ppBtnDefaultPaginationStyle);
this.tcpFormat.Controls.Add(this.rbWordSect);
this.tcpFormat.Controls.Add(this.rbStepSect);
this.tcpFormat.Controls.Add(this.ppGpbxSignoffCheckoff);
this.tcpFormat.Controls.Add(this.lblFormat);
this.tcpFormat.Controls.Add(this.ppCmbxNumColumns);
this.tcpFormat.Controls.Add(this.lblColumns);
this.tcpFormat.Controls.Add(this.ppCmbxSectPagination);
this.tcpFormat.Controls.Add(this.lblSectType);
this.tcpFormat.Controls.Add(this.ppCmbxStyleSectionType);
this.tcpFormat.Controls.Add(this.lblPagination);
this.tcpFormat.Controls.Add(this.ppBtnDefaultFmt);
this.tcpFormat.Controls.Add(this.ppCmbxFormat);
this.tcpFormat.Controls.Add(this.ppLblFormatDefault);
this.tcpFormat.DisabledBackColor = System.Drawing.Color.Empty;
this.tcpFormat.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpFormat.Location = new System.Drawing.Point(0, 22);
this.tcpFormat.Margin = new System.Windows.Forms.Padding(2);
this.tcpFormat.Name = "tcpFormat";
this.tcpFormat.Padding = new System.Windows.Forms.Padding(1);
this.tcpFormat.Size = new System.Drawing.Size(565, 318);
this.tcpFormat.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpFormat.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpFormat.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpFormat.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpFormat.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpFormat.Style.GradientAngle = 90;
this.tcpFormat.TabIndex = 2;
this.tcpFormat.TabItem = this.tiFormat;
this.tcpFormat.Enter += new System.EventHandler(this.tabpage_Enter);
//
// cbIsFoldoutSection
//
this.cbIsFoldoutSection.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.cbIsFoldoutSection.AutoSize = true;
this.cbIsFoldoutSection.BackColor = System.Drawing.Color.Transparent;
this.cbIsFoldoutSection.Location = new System.Drawing.Point(10, 294);
this.cbIsFoldoutSection.Margin = new System.Windows.Forms.Padding(2);
this.cbIsFoldoutSection.Name = "cbIsFoldoutSection";
this.cbIsFoldoutSection.Size = new System.Drawing.Size(140, 17);
this.superTooltip1.SetSuperTooltip(this.cbIsFoldoutSection, new DevComponents.DotNetBar.SuperTooltipInfo("This is a Foldout Section", "", resources.GetString("cbIsFoldoutSection.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(350, 166)));
this.cbIsFoldoutSection.TabIndex = 61;
this.cbIsFoldoutSection.Text = "This is a Foldout section";
this.cbIsFoldoutSection.UseVisualStyleBackColor = false;
this.cbIsFoldoutSection.CheckedChanged += new System.EventHandler(this.cbIsFoldoutSection_CheckedChanged);
//
// cbKeepWordDocMargins
//
this.cbKeepWordDocMargins.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.cbKeepWordDocMargins.AutoSize = true;
this.cbKeepWordDocMargins.BackColor = System.Drawing.Color.Transparent;
this.cbKeepWordDocMargins.Location = new System.Drawing.Point(10, 273);
this.cbKeepWordDocMargins.Margin = new System.Windows.Forms.Padding(2);
this.cbKeepWordDocMargins.Name = "cbKeepWordDocMargins";
this.cbKeepWordDocMargins.Size = new System.Drawing.Size(250, 17);
this.superTooltip1.SetSuperTooltip(this.cbKeepWordDocMargins, new DevComponents.DotNetBar.SuperTooltipInfo("Keep Word Document Margins", "", "When checked, the page margins and page size (paper size) set in this Word sectio" +
"n will override the default page margins and paper size set in the PROMS format." +
"", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(303, 70)));
this.cbKeepWordDocMargins.TabIndex = 59;
this.cbKeepWordDocMargins.Text = "Keep Word Document Margins (and Page Size)";
this.cbKeepWordDocMargins.UseVisualStyleBackColor = false;
this.cbKeepWordDocMargins.Visible = false;
this.cbKeepWordDocMargins.CheckedChanged += new System.EventHandler(this.cbKeepWordDocMargins_CheckedChanged);
//
// rbWordSect
//
this.rbWordSect.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.rbWordSect.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.rbWordSect.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
this.rbWordSect.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rbWordSect.Location = new System.Drawing.Point(247, 60);
this.rbWordSect.Margin = new System.Windows.Forms.Padding(2);
this.rbWordSect.Name = "rbWordSect";
this.rbWordSect.Size = new System.Drawing.Size(88, 19);
this.rbWordSect.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.rbWordSect.TabIndex = 23;
this.rbWordSect.TabStop = false;
this.rbWordSect.Text = "Word Section";
//
// rbStepSect
//
this.rbStepSect.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.rbStepSect.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.rbStepSect.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
this.rbStepSect.Checked = true;
this.rbStepSect.CheckState = System.Windows.Forms.CheckState.Checked;
this.rbStepSect.CheckValue = "Y";
this.rbStepSect.FocusCuesEnabled = false;
this.rbStepSect.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rbStepSect.Location = new System.Drawing.Point(138, 60);
this.rbStepSect.Margin = new System.Windows.Forms.Padding(2);
this.rbStepSect.Name = "rbStepSect";
this.rbStepSect.Size = new System.Drawing.Size(86, 19);
this.rbStepSect.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.rbStepSect.TabIndex = 22;
this.rbStepSect.TabStop = false;
this.rbStepSect.Text = "Step Section";
this.rbStepSect.CheckedChanged += new System.EventHandler(this.rbStepSect_CheckedChanged);
//
// ppGpbxSignoffCheckoff
//
this.ppGpbxSignoffCheckoff.BackColor = System.Drawing.Color.Transparent;
this.ppGpbxSignoffCheckoff.CanvasColor = System.Drawing.SystemColors.Control;
this.ppGpbxSignoffCheckoff.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffHeading);
this.ppGpbxSignoffCheckoff.Controls.Add(this.lblCheckoffType);
this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffType);
this.ppGpbxSignoffCheckoff.Controls.Add(this.lblCheckoffHeading);
this.ppGpbxSignoffCheckoff.DisabledBackColor = System.Drawing.Color.Empty;
this.ppGpbxSignoffCheckoff.Location = new System.Drawing.Point(272, 123);
this.ppGpbxSignoffCheckoff.Margin = new System.Windows.Forms.Padding(2);
this.ppGpbxSignoffCheckoff.Name = "ppGpbxSignoffCheckoff";
this.ppGpbxSignoffCheckoff.Size = new System.Drawing.Size(206, 117);
//
//
//
this.ppGpbxSignoffCheckoff.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.ppGpbxSignoffCheckoff.Style.BackColorGradientAngle = 90;
this.ppGpbxSignoffCheckoff.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.ppGpbxSignoffCheckoff.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxSignoffCheckoff.Style.BorderBottomWidth = 1;
this.ppGpbxSignoffCheckoff.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.ppGpbxSignoffCheckoff.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxSignoffCheckoff.Style.BorderLeftWidth = 1;
this.ppGpbxSignoffCheckoff.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxSignoffCheckoff.Style.BorderRightWidth = 1;
this.ppGpbxSignoffCheckoff.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxSignoffCheckoff.Style.BorderTopWidth = 1;
this.ppGpbxSignoffCheckoff.Style.CornerDiameter = 4;
this.ppGpbxSignoffCheckoff.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGpbxSignoffCheckoff.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.ppGpbxSignoffCheckoff.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.ppGpbxSignoffCheckoff.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.ppGpbxSignoffCheckoff.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGpbxSignoffCheckoff.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppGpbxSignoffCheckoff.TabIndex = 51;
this.ppGpbxSignoffCheckoff.Text = "Signoffs / Checkoffs";
//
// tiFormat
//
this.tiFormat.AttachedControl = this.tcpFormat;
this.tiFormat.Name = "tiFormat";
this.tiFormat.Text = "Format";
//
// tcpGeneral // tcpGeneral
// //
this.tcpGeneral.Controls.Add(this.ppCbAutoIndent); this.tcpGeneral.Controls.Add(this.ppCbAutoIndent);
@ -1043,7 +912,7 @@ namespace VEPROMS
this.tcpGeneral.Margin = new System.Windows.Forms.Padding(2); this.tcpGeneral.Margin = new System.Windows.Forms.Padding(2);
this.tcpGeneral.Name = "tcpGeneral"; this.tcpGeneral.Name = "tcpGeneral";
this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1); this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1);
this.tcpGeneral.Size = new System.Drawing.Size(565, 318); this.tcpGeneral.Size = new System.Drawing.Size(557, 318);
this.tcpGeneral.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); 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.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.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
@ -1177,36 +1046,141 @@ namespace VEPROMS
this.tiGeneral.Name = "tiGeneral"; this.tiGeneral.Name = "tiGeneral";
this.tiGeneral.Text = "General"; this.tiGeneral.Text = "General";
// //
// tcpLibDoc // tcpFormat
// //
this.tcpLibDoc.Controls.Add(this.ppBtnCvrtToLibDoc); this.tcpFormat.Controls.Add(this.cbIsFoldoutSection);
this.tcpLibDoc.Controls.Add(this.lblLibraryDocument); this.tcpFormat.Controls.Add(this.ppCbDefaultStepSection);
this.tcpLibDoc.Controls.Add(this.ppCmbxLibDoc); this.tcpFormat.Controls.Add(this.cbKeepWordDocMargins);
this.tcpLibDoc.DisabledBackColor = System.Drawing.Color.Empty; this.tcpFormat.Controls.Add(this.ppLblDefaultNumColumns);
this.tcpLibDoc.Dock = System.Windows.Forms.DockStyle.Fill; this.tcpFormat.Controls.Add(this.ppLblDefPaginationStyle);
this.tcpLibDoc.Location = new System.Drawing.Point(0, 22); this.tcpFormat.Controls.Add(this.ppBtnDefaultNumColumns);
this.tcpLibDoc.Margin = new System.Windows.Forms.Padding(2); this.tcpFormat.Controls.Add(this.ppBtnDefaultPaginationStyle);
this.tcpLibDoc.Name = "tcpLibDoc"; this.tcpFormat.Controls.Add(this.rbWordSect);
this.tcpLibDoc.Padding = new System.Windows.Forms.Padding(1); this.tcpFormat.Controls.Add(this.rbStepSect);
this.tcpLibDoc.Size = new System.Drawing.Size(565, 318); this.tcpFormat.Controls.Add(this.ppGpbxSignoffCheckoff);
this.tcpLibDoc.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); this.tcpFormat.Controls.Add(this.lblFormat);
this.tcpLibDoc.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tcpFormat.Controls.Add(this.ppCmbxNumColumns);
this.tcpLibDoc.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tcpFormat.Controls.Add(this.lblColumns);
this.tcpLibDoc.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); this.tcpFormat.Controls.Add(this.ppCmbxSectPagination);
this.tcpLibDoc.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) this.tcpFormat.Controls.Add(this.lblSectType);
this.tcpFormat.Controls.Add(this.ppCmbxStyleSectionType);
this.tcpFormat.Controls.Add(this.lblPagination);
this.tcpFormat.Controls.Add(this.ppBtnDefaultFmt);
this.tcpFormat.Controls.Add(this.ppCmbxFormat);
this.tcpFormat.Controls.Add(this.ppLblFormatDefault);
this.tcpFormat.DisabledBackColor = System.Drawing.Color.Empty;
this.tcpFormat.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpFormat.Location = new System.Drawing.Point(0, 22);
this.tcpFormat.Margin = new System.Windows.Forms.Padding(2);
this.tcpFormat.Name = "tcpFormat";
this.tcpFormat.Padding = new System.Windows.Forms.Padding(1);
this.tcpFormat.Size = new System.Drawing.Size(557, 318);
this.tcpFormat.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpFormat.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpFormat.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpFormat.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpFormat.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom))); | DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpLibDoc.Style.GradientAngle = 90; this.tcpFormat.Style.GradientAngle = 90;
this.tcpLibDoc.TabIndex = 3; this.tcpFormat.TabIndex = 2;
this.tcpLibDoc.TabItem = this.tiLibDoc; this.tcpFormat.TabItem = this.tiFormat;
this.tcpFormat.Enter += new System.EventHandler(this.tabpage_Enter);
// //
// tiLibDoc // rbWordSect
// //
this.tiLibDoc.AttachedControl = this.tcpLibDoc; this.rbWordSect.BackColor = System.Drawing.Color.Transparent;
this.tiLibDoc.Name = "tiLibDoc"; //
this.tiLibDoc.Text = "Library Document"; //
//
this.rbWordSect.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.rbWordSect.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
this.rbWordSect.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rbWordSect.Location = new System.Drawing.Point(247, 60);
this.rbWordSect.Margin = new System.Windows.Forms.Padding(2);
this.rbWordSect.Name = "rbWordSect";
this.rbWordSect.Size = new System.Drawing.Size(88, 19);
this.rbWordSect.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.rbWordSect.TabIndex = 23;
this.rbWordSect.TabStop = false;
this.rbWordSect.Text = "Word Section";
//
// rbStepSect
//
this.rbStepSect.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.rbStepSect.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.rbStepSect.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
this.rbStepSect.Checked = true;
this.rbStepSect.CheckState = System.Windows.Forms.CheckState.Checked;
this.rbStepSect.CheckValue = "Y";
this.rbStepSect.FocusCuesEnabled = false;
this.rbStepSect.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.rbStepSect.Location = new System.Drawing.Point(138, 60);
this.rbStepSect.Margin = new System.Windows.Forms.Padding(2);
this.rbStepSect.Name = "rbStepSect";
this.rbStepSect.Size = new System.Drawing.Size(86, 19);
this.rbStepSect.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.rbStepSect.TabIndex = 22;
this.rbStepSect.TabStop = false;
this.rbStepSect.Text = "Step Section";
this.rbStepSect.CheckedChanged += new System.EventHandler(this.rbStepSect_CheckedChanged);
//
// ppGpbxSignoffCheckoff
//
this.ppGpbxSignoffCheckoff.BackColor = System.Drawing.Color.Transparent;
this.ppGpbxSignoffCheckoff.CanvasColor = System.Drawing.SystemColors.Control;
this.ppGpbxSignoffCheckoff.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffHeading);
this.ppGpbxSignoffCheckoff.Controls.Add(this.lblCheckoffType);
this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffType);
this.ppGpbxSignoffCheckoff.Controls.Add(this.lblCheckoffHeading);
this.ppGpbxSignoffCheckoff.DisabledBackColor = System.Drawing.Color.Empty;
this.ppGpbxSignoffCheckoff.Location = new System.Drawing.Point(272, 123);
this.ppGpbxSignoffCheckoff.Margin = new System.Windows.Forms.Padding(2);
this.ppGpbxSignoffCheckoff.Name = "ppGpbxSignoffCheckoff";
this.ppGpbxSignoffCheckoff.Size = new System.Drawing.Size(206, 117);
//
//
//
this.ppGpbxSignoffCheckoff.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.ppGpbxSignoffCheckoff.Style.BackColorGradientAngle = 90;
this.ppGpbxSignoffCheckoff.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.ppGpbxSignoffCheckoff.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxSignoffCheckoff.Style.BorderBottomWidth = 1;
this.ppGpbxSignoffCheckoff.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.ppGpbxSignoffCheckoff.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxSignoffCheckoff.Style.BorderLeftWidth = 1;
this.ppGpbxSignoffCheckoff.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxSignoffCheckoff.Style.BorderRightWidth = 1;
this.ppGpbxSignoffCheckoff.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxSignoffCheckoff.Style.BorderTopWidth = 1;
this.ppGpbxSignoffCheckoff.Style.CornerDiameter = 4;
this.ppGpbxSignoffCheckoff.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGpbxSignoffCheckoff.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.ppGpbxSignoffCheckoff.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.ppGpbxSignoffCheckoff.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.ppGpbxSignoffCheckoff.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGpbxSignoffCheckoff.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppGpbxSignoffCheckoff.TabIndex = 51;
this.ppGpbxSignoffCheckoff.Text = "Signoffs / Checkoffs";
//
// tiFormat
//
this.tiFormat.AttachedControl = this.tcpFormat;
this.tiFormat.Name = "tiFormat";
this.tiFormat.Text = "Format";
// //
// tcpAutomation // tcpAutomation
// //
this.tcpAutomation.Controls.Add(this.ppCbNoDuplexFoldout);
this.tcpAutomation.Controls.Add(this.gpTOC); this.tcpAutomation.Controls.Add(this.gpTOC);
this.tcpAutomation.Controls.Add(this.grpLnkEnh); this.tcpAutomation.Controls.Add(this.grpLnkEnh);
this.tcpAutomation.Controls.Add(this.ppCbPhoneList); this.tcpAutomation.Controls.Add(this.ppCbPhoneList);
@ -1218,7 +1192,7 @@ namespace VEPROMS
this.tcpAutomation.Margin = new System.Windows.Forms.Padding(2); this.tcpAutomation.Margin = new System.Windows.Forms.Padding(2);
this.tcpAutomation.Name = "tcpAutomation"; this.tcpAutomation.Name = "tcpAutomation";
this.tcpAutomation.Padding = new System.Windows.Forms.Padding(1); this.tcpAutomation.Padding = new System.Windows.Forms.Padding(1);
this.tcpAutomation.Size = new System.Drawing.Size(565, 318); this.tcpAutomation.Size = new System.Drawing.Size(557, 318);
this.tcpAutomation.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); this.tcpAutomation.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpAutomation.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tcpAutomation.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpAutomation.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tcpAutomation.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
@ -1229,6 +1203,20 @@ namespace VEPROMS
this.tcpAutomation.TabIndex = 5; this.tcpAutomation.TabIndex = 5;
this.tcpAutomation.TabItem = this.tiAutomation; this.tcpAutomation.TabItem = this.tiAutomation;
// //
// ppCbNoDuplexFoldout
//
this.ppCbNoDuplexFoldout.AutoSize = true;
this.ppCbNoDuplexFoldout.BackColor = System.Drawing.Color.Transparent;
this.ppCbNoDuplexFoldout.Location = new System.Drawing.Point(18, 83);
this.ppCbNoDuplexFoldout.Margin = new System.Windows.Forms.Padding(2);
this.ppCbNoDuplexFoldout.Name = "ppCbNoDuplexFoldout";
this.ppCbNoDuplexFoldout.Size = new System.Drawing.Size(163, 17);
this.ppCbNoDuplexFoldout.TabIndex = 57;
this.ppCbNoDuplexFoldout.Text = "Don\'t Include Duplex Foldout";
this.ppCbNoDuplexFoldout.UseVisualStyleBackColor = false;
this.ppCbNoDuplexFoldout.Visible = false;
this.ppCbNoDuplexFoldout.CheckedChanged += new System.EventHandler(this.ppCbNoDuplexFoldout_CheckedChanged);
//
// gpTOC // gpTOC
// //
this.gpTOC.CanvasColor = System.Drawing.SystemColors.Control; this.gpTOC.CanvasColor = System.Drawing.SystemColors.Control;
@ -1292,7 +1280,7 @@ namespace VEPROMS
this.grpLnkEnh.Controls.Add(this.rbEnhLnkTitle); this.grpLnkEnh.Controls.Add(this.rbEnhLnkTitle);
this.grpLnkEnh.Controls.Add(this.rbEnhLnkNo); this.grpLnkEnh.Controls.Add(this.rbEnhLnkNo);
this.grpLnkEnh.DisabledBackColor = System.Drawing.Color.Empty; this.grpLnkEnh.DisabledBackColor = System.Drawing.Color.Empty;
this.grpLnkEnh.Location = new System.Drawing.Point(18, 106); this.grpLnkEnh.Location = new System.Drawing.Point(18, 123);
this.grpLnkEnh.Margin = new System.Windows.Forms.Padding(2); this.grpLnkEnh.Margin = new System.Windows.Forms.Padding(2);
this.grpLnkEnh.Name = "grpLnkEnh"; this.grpLnkEnh.Name = "grpLnkEnh";
this.grpLnkEnh.Size = new System.Drawing.Size(150, 100); this.grpLnkEnh.Size = new System.Drawing.Size(150, 100);
@ -1414,6 +1402,34 @@ namespace VEPROMS
this.tiAutomation.Name = "tiAutomation"; this.tiAutomation.Name = "tiAutomation";
this.tiAutomation.Text = "Automation"; this.tiAutomation.Text = "Automation";
// //
// tcpLibDoc
//
this.tcpLibDoc.Controls.Add(this.ppBtnCvrtToLibDoc);
this.tcpLibDoc.Controls.Add(this.lblLibraryDocument);
this.tcpLibDoc.Controls.Add(this.ppCmbxLibDoc);
this.tcpLibDoc.DisabledBackColor = System.Drawing.Color.Empty;
this.tcpLibDoc.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpLibDoc.Location = new System.Drawing.Point(0, 22);
this.tcpLibDoc.Margin = new System.Windows.Forms.Padding(2);
this.tcpLibDoc.Name = "tcpLibDoc";
this.tcpLibDoc.Padding = new System.Windows.Forms.Padding(1);
this.tcpLibDoc.Size = new System.Drawing.Size(557, 318);
this.tcpLibDoc.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpLibDoc.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpLibDoc.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpLibDoc.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpLibDoc.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpLibDoc.Style.GradientAngle = 90;
this.tcpLibDoc.TabIndex = 3;
this.tcpLibDoc.TabItem = this.tiLibDoc;
//
// tiLibDoc
//
this.tiLibDoc.AttachedControl = this.tcpLibDoc;
this.tiLibDoc.Name = "tiLibDoc";
this.tiLibDoc.Text = "Library Document";
//
// tabControlPanel4 // tabControlPanel4
// //
this.tabControlPanel4.Controls.Add(this.ppCkLstApplicabilityDesinations); this.tabControlPanel4.Controls.Add(this.ppCkLstApplicabilityDesinations);
@ -1427,7 +1443,7 @@ namespace VEPROMS
this.tabControlPanel4.Margin = new System.Windows.Forms.Padding(2); this.tabControlPanel4.Margin = new System.Windows.Forms.Padding(2);
this.tabControlPanel4.Name = "tabControlPanel4"; this.tabControlPanel4.Name = "tabControlPanel4";
this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel4.Size = new System.Drawing.Size(565, 318); this.tabControlPanel4.Size = new System.Drawing.Size(557, 318);
this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
@ -1449,7 +1465,7 @@ namespace VEPROMS
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 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(741, 401); this.ClientSize = new System.Drawing.Size(730, 398);
this.ControlBox = false; this.ControlBox = false;
this.Controls.Add(this.tcSectionProp); this.Controls.Add(this.tcSectionProp);
this.Controls.Add(this.panSectBtns); this.Controls.Add(this.panSectBtns);
@ -1473,19 +1489,19 @@ namespace VEPROMS
this.panSectBtns.ResumeLayout(false); this.panSectBtns.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).EndInit();
this.tcSectionProp.ResumeLayout(false); this.tcSectionProp.ResumeLayout(false);
this.tcpGeneral.ResumeLayout(false);
this.tcpGeneral.PerformLayout();
this.tcpFormat.ResumeLayout(false); this.tcpFormat.ResumeLayout(false);
this.tcpFormat.PerformLayout(); this.tcpFormat.PerformLayout();
this.ppGpbxSignoffCheckoff.ResumeLayout(false); this.ppGpbxSignoffCheckoff.ResumeLayout(false);
this.ppGpbxSignoffCheckoff.PerformLayout(); this.ppGpbxSignoffCheckoff.PerformLayout();
this.tcpGeneral.ResumeLayout(false);
this.tcpGeneral.PerformLayout();
this.tcpLibDoc.ResumeLayout(false);
this.tcpLibDoc.PerformLayout();
this.tcpAutomation.ResumeLayout(false); this.tcpAutomation.ResumeLayout(false);
this.tcpAutomation.PerformLayout(); this.tcpAutomation.PerformLayout();
this.gpTOC.ResumeLayout(false); this.gpTOC.ResumeLayout(false);
this.grpLnkEnh.ResumeLayout(false); this.grpLnkEnh.ResumeLayout(false);
this.grpLnkEnh.PerformLayout(); this.grpLnkEnh.PerformLayout();
this.tcpLibDoc.ResumeLayout(false);
this.tcpLibDoc.PerformLayout();
this.tabControlPanel4.ResumeLayout(false); this.tabControlPanel4.ResumeLayout(false);
this.tabControlPanel4.PerformLayout(); this.tabControlPanel4.PerformLayout();
this.ResumeLayout(false); this.ResumeLayout(false);
@ -1581,5 +1597,6 @@ namespace VEPROMS
private DevComponents.DotNetBar.Controls.TextBoxX txbxTOC_Group_Title; private DevComponents.DotNetBar.Controls.TextBoxX txbxTOC_Group_Title;
private DevComponents.DotNetBar.ButtonX ppBtnConvertToDocX; private DevComponents.DotNetBar.ButtonX ppBtnConvertToDocX;
private System.Windows.Forms.CheckBox cbIsFoldoutSection; private System.Windows.Forms.CheckBox cbIsFoldoutSection;
private System.Windows.Forms.CheckBox ppCbNoDuplexFoldout;
} }
} }

View File

@ -563,10 +563,13 @@ namespace VEPROMS
{ {
// for word docs, no enhanced controls should be visible: // for word docs, no enhanced controls should be visible:
grpLnkEnh.Visible = false; grpLnkEnh.Visible = false;
ppCbNoDuplexFoldout.Visible = true; // B2019-165 make visible the checkbox to turn off duplex foldout for Word sections
} }
//C2019-042 a section cannot be a foldout section and the default step section //C2019-042 a section cannot be a foldout section and the default step section
cbIsFoldoutSection.Checked = _SectionConfig.Section_IsFoldout == "Y"; cbIsFoldoutSection.Checked = _SectionConfig.Section_IsFoldout == "Y";
cbIsFoldoutSection.Enabled = !_isDefaultStepSection; cbIsFoldoutSection.Enabled = !_isDefaultStepSection;
// B2019-165 check box to turn off adding duplex foldout on back of last Word doc page that does not include foldouts (Byron/Braidwood 11x14 cover/continuous action page
ppCbNoDuplexFoldout.Checked = _SectionConfig.Section_DontIncludeDuplexFoldout;
_Initializing = false; _Initializing = false;
//_InitialIndex = ppCmbxFormat.SelectedIndex; //_InitialIndex = ppCmbxFormat.SelectedIndex;
} }
@ -1383,6 +1386,13 @@ namespace VEPROMS
_SectionConfig.Section_IsFoldout = (cbIsFoldoutSection.Checked) ? "Y" : "N"; _SectionConfig.Section_IsFoldout = (cbIsFoldoutSection.Checked) ? "Y" : "N";
} }
// B2019-165 check box added to Automation tab to prevent a duplex foldout from
// being printed on the back of the last page of the Word document that does not include duplex foldouts
private void ppCbNoDuplexFoldout_CheckedChanged(object sender, EventArgs e)
{
_SectionConfig.Section_DontIncludeDuplexFoldout = ppCbNoDuplexFoldout.Checked;
}
//private void ppBtnDefaultPrintSize_Click(object sender, EventArgs e) //private void ppBtnDefaultPrintSize_Click(object sender, EventArgs e)
//{ //{
// // Get the parent setting // // Get the parent setting

View File

@ -142,9 +142,6 @@ When a format other than the inherited one is selected, a button labeled "Defaul
Pressing the "Default" button will revert back to using the inherited format for this section. Pressing the "Default" button will revert back to using the inherited format for this section.
</value> </value>
</data> </data>
<metadata name="sectionConfigBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>128, 18</value>
</metadata>
<data name="cbIsFoldoutSection.SuperTooltip" xml:space="preserve"> <data name="cbIsFoldoutSection.SuperTooltip" xml:space="preserve">
<value>If the PROMS format allows one or more of the following apply: <value>If the PROMS format allows one or more of the following apply:

View File

@ -455,6 +455,24 @@ namespace VEPROMS.CSLA.Library
OnPropertyChanged("Section_PhoneList"); OnPropertyChanged("Section_PhoneList");
} }
} }
// B2019-165 Don't include duplexed foldout (For Word sections - don't print the foldout on the back of the last page of the Word section
[DisplayName("Don't Include Duplex Foldout")]
[RefreshProperties(RefreshProperties.All)]
[Description("Don't Include Duplex Foldout")]
public bool Section_DontIncludeDuplexFoldout
{
get
{
string tmp = _Xp["Section", "DontIncludeDuplexFoldout"];
return (tmp == "Y"); // if not set or "N" we include duplex foldout, if "Y" we DO NOT include duplex foldout of back of last word section page
}
set
{
string tmp = value ? "Y" : "N";
_Xp["Section", "DontIncludeDuplexFoldout"] = tmp;
OnPropertyChanged("Section_DontIncludeDuplexFoldout");
}
}
//[Category("Section")] //[Category("Section")]
////PROPGRID: Hide AutoGen ////PROPGRID: Hide AutoGen
//[DisplayName("Section AutoGen")] //[DisplayName("Section AutoGen")]

View File

@ -2215,8 +2215,9 @@ namespace VEPROMS.CSLA.Library
int indxOfFoldout = 0; int indxOfFoldout = 0;
foreach (ItemInfo sect in MyProcedure.Sections) foreach (ItemInfo sect in MyProcedure.Sections)
{ {
SectionConfig scfe = sect.MyConfig as SectionConfig;
if (sect.ItemID == fldid) return indxOfFoldout; if (sect.ItemID == fldid) return indxOfFoldout;
if (sect.DisplayText.ToUpper().StartsWith("FOLDOUT")) indxOfFoldout++; if (scfe.Section_IsFoldout == "Y") indxOfFoldout++; // C2019-042 Section_ISFoldout will check for section number "FOLDOUT" or if check box is checked
} }
return 0; return 0;
} }