This commit is contained in:
Kathy Ruffing 2012-01-27 12:38:07 +00:00
parent 04ad026896
commit 1ef4a4ff3d
2 changed files with 139 additions and 123 deletions

View File

@ -84,16 +84,12 @@ namespace VEPROMS
this.btnGeneral = new DevComponents.DotNetBar.ButtonX();
this.tcSectionProp = new DevComponents.DotNetBar.TabControl();
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
this.ppCbAutoIndent = new System.Windows.Forms.CheckBox();
this.ppCbEditableData = new System.Windows.Forms.CheckBox();
this.ppCbPrnSecNumTitle = new System.Windows.Forms.CheckBox();
this.ppSectNumberStpRTB = 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.tcpFormat = new DevComponents.DotNetBar.TabControlPanel();
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.ppCbLinkWithEnhancedDoc = new System.Windows.Forms.CheckBox();
this.ppCbPlaceKeeper = new System.Windows.Forms.CheckBox();
@ -101,6 +97,11 @@ namespace VEPROMS
this.tiAutomation = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpLibDoc = new DevComponents.DotNetBar.TabControlPanel();
this.tiLibDoc = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpFormat = new DevComponents.DotNetBar.TabControlPanel();
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.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel();
this.tiViewStnns = new DevComponents.DotNetBar.TabItem(this.components);
((System.ComponentModel.ISupportInitialize)(this.sectionConfigBindingSource)).BeginInit();
@ -108,10 +109,10 @@ namespace VEPROMS
((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).BeginInit();
this.tcSectionProp.SuspendLayout();
this.tcpGeneral.SuspendLayout();
this.tcpFormat.SuspendLayout();
this.ppGpbxSignoffCheckoff.SuspendLayout();
this.tcpAutomation.SuspendLayout();
this.tcpLibDoc.SuspendLayout();
this.tcpFormat.SuspendLayout();
this.ppGpbxSignoffCheckoff.SuspendLayout();
this.tabControlPanel4.SuspendLayout();
this.SuspendLayout();
//
@ -464,7 +465,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(876, 433);
this.ppBtnCancel.Location = new System.Drawing.Point(861, 415);
this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnCancel.Name = "ppBtnCancel";
this.ppBtnCancel.Size = new System.Drawing.Size(75, 26);
@ -475,8 +476,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(779, 433);
this.ppBtnOK.Location = new System.Drawing.Point(780, 415);
this.ppBtnOK.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnOK.Name = "ppBtnOK";
this.ppBtnOK.Size = new System.Drawing.Size(75, 26);
@ -490,7 +490,7 @@ namespace VEPROMS
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(10, 438);
this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(10, 420);
this.ppLblDefSettingsInfo.Name = "ppLblDefSettingsInfo";
this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(205, 17);
this.ppLblDefSettingsInfo.TabIndex = 25;
@ -504,7 +504,7 @@ namespace VEPROMS
//
this.ppCbShwDefSettings.BackgroundStyle.Class = "";
this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppCbShwDefSettings.Location = new System.Drawing.Point(11, 458);
this.ppCbShwDefSettings.Location = new System.Drawing.Point(11, 453);
this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbShwDefSettings.Name = "ppCbShwDefSettings";
this.ppCbShwDefSettings.Size = new System.Drawing.Size(193, 23);
@ -745,10 +745,10 @@ namespace VEPROMS
//
this.tcSectionProp.BackColor = System.Drawing.Color.Transparent;
this.tcSectionProp.CanReorderTabs = true;
this.tcSectionProp.Controls.Add(this.tcpAutomation);
this.tcSectionProp.Controls.Add(this.tcpGeneral);
this.tcSectionProp.Controls.Add(this.tcpFormat);
this.tcSectionProp.Controls.Add(this.tcpAutomation);
this.tcSectionProp.Controls.Add(this.tcpLibDoc);
this.tcSectionProp.Controls.Add(this.tcpFormat);
this.tcSectionProp.Controls.Add(this.tabControlPanel4);
this.tcSectionProp.Location = new System.Drawing.Point(274, 10);
this.tcSectionProp.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
@ -768,6 +768,7 @@ namespace VEPROMS
//
// tcpGeneral
//
this.tcpGeneral.Controls.Add(this.ppCbAutoIndent);
this.tcpGeneral.Controls.Add(this.ppCbEditableData);
this.tcpGeneral.Controls.Add(this.ppCbPrnSecNumTitle);
this.tcpGeneral.Controls.Add(this.ppSectNumberStpRTB);
@ -794,11 +795,22 @@ namespace VEPROMS
this.tcpGeneral.TabIndex = 1;
this.tcpGeneral.TabItem = this.tiGeneral;
//
// ppCbAutoIndent
//
this.ppCbAutoIndent.AutoSize = true;
this.ppCbAutoIndent.BackColor = System.Drawing.Color.Transparent;
this.ppCbAutoIndent.Location = new System.Drawing.Point(358, 222);
this.ppCbAutoIndent.Name = "ppCbAutoIndent";
this.ppCbAutoIndent.Size = new System.Drawing.Size(135, 21);
this.ppCbAutoIndent.TabIndex = 56;
this.ppCbAutoIndent.Text = "Automatic Indent";
this.ppCbAutoIndent.UseVisualStyleBackColor = false;
//
// ppCbEditableData
//
this.ppCbEditableData.AutoSize = true;
this.ppCbEditableData.BackColor = System.Drawing.Color.Transparent;
this.ppCbEditableData.Location = new System.Drawing.Point(358, 184);
this.ppCbEditableData.Location = new System.Drawing.Point(358, 187);
this.ppCbEditableData.Name = "ppCbEditableData";
this.ppCbEditableData.Size = new System.Drawing.Size(115, 21);
this.ppCbEditableData.TabIndex = 55;
@ -891,6 +903,99 @@ namespace VEPROMS
this.tiGeneral.Name = "tiGeneral";
this.tiGeneral.Text = "General";
//
// tcpAutomation
//
this.tcpAutomation.Controls.Add(this.ppCbLinkWithEnhancedDoc);
this.tcpAutomation.Controls.Add(this.ppCbPlaceKeeper);
this.tcpAutomation.Controls.Add(this.ppCbIncTOC);
this.tcpAutomation.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpAutomation.Location = new System.Drawing.Point(0, 24);
this.tcpAutomation.Name = "tcpAutomation";
this.tcpAutomation.Padding = new System.Windows.Forms.Padding(1);
this.tcpAutomation.Size = new System.Drawing.Size(648, 361);
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.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpAutomation.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpAutomation.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpAutomation.Style.GradientAngle = 90;
this.tcpAutomation.TabIndex = 5;
this.tcpAutomation.TabItem = this.tiAutomation;
//
// ppCbLinkWithEnhancedDoc
//
this.ppCbLinkWithEnhancedDoc.AutoSize = true;
this.ppCbLinkWithEnhancedDoc.BackColor = System.Drawing.Color.Transparent;
this.ppCbLinkWithEnhancedDoc.Enabled = false;
this.ppCbLinkWithEnhancedDoc.Location = new System.Drawing.Point(20, 24);
this.ppCbLinkWithEnhancedDoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbLinkWithEnhancedDoc.Name = "ppCbLinkWithEnhancedDoc";
this.ppCbLinkWithEnhancedDoc.Size = new System.Drawing.Size(224, 21);
this.ppCbLinkWithEnhancedDoc.TabIndex = 50;
this.ppCbLinkWithEnhancedDoc.Text = "Link With Enhanced Document";
this.ppCbLinkWithEnhancedDoc.UseVisualStyleBackColor = false;
//
// ppCbPlaceKeeper
//
this.ppCbPlaceKeeper.AutoSize = true;
this.ppCbPlaceKeeper.BackColor = System.Drawing.Color.Transparent;
this.ppCbPlaceKeeper.Enabled = false;
this.ppCbPlaceKeeper.Location = new System.Drawing.Point(20, 74);
this.ppCbPlaceKeeper.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbPlaceKeeper.Name = "ppCbPlaceKeeper";
this.ppCbPlaceKeeper.Size = new System.Drawing.Size(206, 21);
this.ppCbPlaceKeeper.TabIndex = 52;
this.ppCbPlaceKeeper.Text = "Auto Generate Placekeeper";
this.ppCbPlaceKeeper.UseVisualStyleBackColor = false;
//
// ppCbIncTOC
//
this.ppCbIncTOC.AutoSize = true;
this.ppCbIncTOC.BackColor = System.Drawing.Color.Transparent;
this.ppCbIncTOC.Enabled = false;
this.ppCbIncTOC.Location = new System.Drawing.Point(20, 49);
this.ppCbIncTOC.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbIncTOC.Name = "ppCbIncTOC";
this.ppCbIncTOC.Size = new System.Drawing.Size(214, 21);
this.ppCbIncTOC.TabIndex = 51;
this.ppCbIncTOC.Text = "Include on Table Of Contents";
this.ppCbIncTOC.UseVisualStyleBackColor = false;
this.ppCbIncTOC.CheckedChanged += new System.EventHandler(this.ppCbIncTOC_CheckedChanged);
//
// tiAutomation
//
this.tiAutomation.AttachedControl = this.tcpAutomation;
this.tiAutomation.Name = "tiAutomation";
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.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpLibDoc.Location = new System.Drawing.Point(0, 24);
this.tcpLibDoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpLibDoc.Name = "tcpLibDoc";
this.tcpLibDoc.Padding = new System.Windows.Forms.Padding(1);
this.tcpLibDoc.Size = new System.Drawing.Size(648, 361);
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";
//
// tcpFormat
//
this.tcpFormat.Controls.Add(this.ppLblDefaultNumColumns);
@ -1021,99 +1126,6 @@ namespace VEPROMS
this.tiFormat.Name = "tiFormat";
this.tiFormat.Text = "Format";
//
// tcpAutomation
//
this.tcpAutomation.Controls.Add(this.ppCbLinkWithEnhancedDoc);
this.tcpAutomation.Controls.Add(this.ppCbPlaceKeeper);
this.tcpAutomation.Controls.Add(this.ppCbIncTOC);
this.tcpAutomation.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpAutomation.Location = new System.Drawing.Point(0, 24);
this.tcpAutomation.Name = "tcpAutomation";
this.tcpAutomation.Padding = new System.Windows.Forms.Padding(1);
this.tcpAutomation.Size = new System.Drawing.Size(648, 361);
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.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpAutomation.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpAutomation.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpAutomation.Style.GradientAngle = 90;
this.tcpAutomation.TabIndex = 5;
this.tcpAutomation.TabItem = this.tiAutomation;
//
// ppCbLinkWithEnhancedDoc
//
this.ppCbLinkWithEnhancedDoc.AutoSize = true;
this.ppCbLinkWithEnhancedDoc.BackColor = System.Drawing.Color.Transparent;
this.ppCbLinkWithEnhancedDoc.Enabled = false;
this.ppCbLinkWithEnhancedDoc.Location = new System.Drawing.Point(20, 24);
this.ppCbLinkWithEnhancedDoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbLinkWithEnhancedDoc.Name = "ppCbLinkWithEnhancedDoc";
this.ppCbLinkWithEnhancedDoc.Size = new System.Drawing.Size(224, 21);
this.ppCbLinkWithEnhancedDoc.TabIndex = 50;
this.ppCbLinkWithEnhancedDoc.Text = "Link With Enhanced Document";
this.ppCbLinkWithEnhancedDoc.UseVisualStyleBackColor = false;
//
// ppCbPlaceKeeper
//
this.ppCbPlaceKeeper.AutoSize = true;
this.ppCbPlaceKeeper.BackColor = System.Drawing.Color.Transparent;
this.ppCbPlaceKeeper.Enabled = false;
this.ppCbPlaceKeeper.Location = new System.Drawing.Point(20, 74);
this.ppCbPlaceKeeper.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbPlaceKeeper.Name = "ppCbPlaceKeeper";
this.ppCbPlaceKeeper.Size = new System.Drawing.Size(206, 21);
this.ppCbPlaceKeeper.TabIndex = 52;
this.ppCbPlaceKeeper.Text = "Auto Generate Placekeeper";
this.ppCbPlaceKeeper.UseVisualStyleBackColor = false;
//
// ppCbIncTOC
//
this.ppCbIncTOC.AutoSize = true;
this.ppCbIncTOC.BackColor = System.Drawing.Color.Transparent;
this.ppCbIncTOC.Enabled = false;
this.ppCbIncTOC.Location = new System.Drawing.Point(20, 49);
this.ppCbIncTOC.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbIncTOC.Name = "ppCbIncTOC";
this.ppCbIncTOC.Size = new System.Drawing.Size(214, 21);
this.ppCbIncTOC.TabIndex = 51;
this.ppCbIncTOC.Text = "Include on Table Of Contents";
this.ppCbIncTOC.UseVisualStyleBackColor = false;
this.ppCbIncTOC.CheckedChanged += new System.EventHandler(this.ppCbIncTOC_CheckedChanged);
//
// tiAutomation
//
this.tiAutomation.AttachedControl = this.tcpAutomation;
this.tiAutomation.Name = "tiAutomation";
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.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpLibDoc.Location = new System.Drawing.Point(0, 24);
this.tcpLibDoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpLibDoc.Name = "tcpLibDoc";
this.tcpLibDoc.Padding = new System.Windows.Forms.Padding(1);
this.tcpLibDoc.Size = new System.Drawing.Size(648, 361);
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
//
this.tabControlPanel4.Controls.Add(this.ppCkLstApplicabilityDesinations);
@ -1149,7 +1161,7 @@ namespace VEPROMS
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
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(946, 455);
this.ClientSize = new System.Drawing.Size(936, 442);
this.ControlBox = false;
this.Controls.Add(this.tcSectionProp);
this.Controls.Add(this.panSectBtns);
@ -1175,14 +1187,14 @@ namespace VEPROMS
this.tcSectionProp.ResumeLayout(false);
this.tcpGeneral.ResumeLayout(false);
this.tcpGeneral.PerformLayout();
this.tcpFormat.ResumeLayout(false);
this.tcpFormat.PerformLayout();
this.ppGpbxSignoffCheckoff.ResumeLayout(false);
this.ppGpbxSignoffCheckoff.PerformLayout();
this.tcpAutomation.ResumeLayout(false);
this.tcpAutomation.PerformLayout();
this.tcpLibDoc.ResumeLayout(false);
this.tcpLibDoc.PerformLayout();
this.tcpFormat.ResumeLayout(false);
this.tcpFormat.PerformLayout();
this.ppGpbxSignoffCheckoff.ResumeLayout(false);
this.ppGpbxSignoffCheckoff.PerformLayout();
this.tabControlPanel4.ResumeLayout(false);
this.tabControlPanel4.PerformLayout();
this.ResumeLayout(false);
@ -1265,5 +1277,6 @@ namespace VEPROMS
private System.Windows.Forms.Label ppLblDefPaginationStyle;
private System.Windows.Forms.CheckBox ppCbEditableData;
private System.Windows.Forms.CheckBox ppCbPrnSecNumTitle;
private System.Windows.Forms.CheckBox ppCbAutoIndent;
}
}

View File

@ -63,14 +63,17 @@ namespace VEPROMS
// word type, as long as there is no content yet.
if (ii.HasStepContent || !ii.HasWordContent) tcpLibDoc.Enabled = false;
// if this section has subsections, show the editable data check box. If showing 'editable data',
// the procedures steps are shown in editor (tree view & editor) & printed before any subsections.
// If not showing 'editable data', the steps are not shown in editor or print.
ppCbEditableData.Enabled = _SectionConfig.MySection.MySectionInfo.Sections != null && _SectionConfig.MySection.MySectionInfo.Sections.Count > 1; // subsection.hassections?
// if this section has subsections:
// show the editable data check box. If showing 'editable data', the procedures steps are
// shown in editor (tree view & editor) & printed before any subsections. If not showing
// 'editable data', the steps are not shown in editor or print.
// show the automatic indent checkbox.
ppCbEditableData.Enabled = _SectionConfig.MySection.MySectionInfo.Sections != null && _SectionConfig.MySection.MySectionInfo.Sections.Count > 0;
ppCbAutoIndent.Enabled = _SectionConfig.MySection.MySectionInfo.Sections != null && _SectionConfig.MySection.MySectionInfo.Sections.Count > 0;
// Check for the print section num/title config item to determine whether that checkbox should
// be checked.
ppCbPrnSecNumTitle.Checked = _SectionConfig.SubSection_PH != "N";
ppCbPrnSecNumTitle.Checked = _SectionConfig.Section_PrintHdr != "N";
// check if format has automated table of contents, if so, check if config flag is set that this
// section should be included.
@ -136,10 +139,9 @@ namespace VEPROMS
break;
}
}
if (isWordSect && !sectinfo.HasWordContent)
if (isWordSect && !sectinfo.HasWordContent && !sectinfo.IsAutoTOCSection)
{
Content cont = Content.Get(sectinfo.MyContent.ContentID);
Byte[] tstbyte = System.Text.Encoding.Default.GetBytes("");
Document doc = Document.MakeDocument(null, tstbyte, null, null); // tstbyte, null, null, null);
Entry entry = cont.MyEntry;
@ -262,7 +264,8 @@ namespace VEPROMS
ShowAvailableOptionsForSectionType();
// set the section level configs:
ppCbEditableData.Checked = !(_SectionConfig.SubSection_Edit == "N");
ppCbEditableData.Checked = (_SectionConfig.SubSection_Edit == "Y");
ppCbAutoIndent.Checked = (_SectionConfig.SubSection_AutoIndent == "Y");
_Initializing = false;
}
@ -809,7 +812,7 @@ namespace VEPROMS
{
bool isEditable = ppCbPrnSecNumTitle.Checked;
if (!_Initializing)
_SectionConfig.SubSection_PH = isEditable ? "Y" : "N";
_SectionConfig.Section_PrintHdr = isEditable ? "Y" : "N";
}
private void ppCbIncTOC_CheckedChanged(object sender, EventArgs e)