diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs index 1d55bc10..6dc1a19e 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs @@ -78,26 +78,16 @@ namespace VEPROMS this.ppLblDefPaginationStyle = new System.Windows.Forms.Label(); this.ppLblDefaultNumColumns = new System.Windows.Forms.Label(); this.ppCbDefaultStepSection = new System.Windows.Forms.CheckBox(); + this.txbxTOC_Group_Title = new DevComponents.DotNetBar.Controls.TextBoxX(); this.panSectBtns = new System.Windows.Forms.Panel(); this.btnAutomation = new DevComponents.DotNetBar.ButtonX(); this.btnLibDocs = new DevComponents.DotNetBar.ButtonX(); this.btnFormat = new DevComponents.DotNetBar.ButtonX(); 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.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.tcpAutomation = new DevComponents.DotNetBar.TabControlPanel(); + this.gpTOC = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.labelX1 = new DevComponents.DotNetBar.LabelX(); this.grpLnkEnh = new DevComponents.DotNetBar.Controls.GroupPanel(); this.rbEnhLnkContents = new System.Windows.Forms.RadioButton(); this.rbEnhLnkTitle = new System.Windows.Forms.RadioButton(); @@ -106,8 +96,21 @@ namespace VEPROMS this.ppCbPlaceKeeper = new System.Windows.Forms.CheckBox(); this.ppCbIncTOC = new System.Windows.Forms.CheckBox(); this.tiAutomation = new DevComponents.DotNetBar.TabItem(this.components); + 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.tcpLibDoc = new DevComponents.DotNetBar.TabControlPanel(); this.tiLibDoc = new DevComponents.DotNetBar.TabItem(this.components); + this.tcpFormat = new DevComponents.DotNetBar.TabControlPanel(); + 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.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel(); this.tiViewStnns = new DevComponents.DotNetBar.TabItem(this.components); this.checkBoxX1 = new DevComponents.DotNetBar.Controls.CheckBoxX(); @@ -115,12 +118,13 @@ namespace VEPROMS this.panSectBtns.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).BeginInit(); this.tcSectionProp.SuspendLayout(); + this.tcpAutomation.SuspendLayout(); + this.gpTOC.SuspendLayout(); + this.grpLnkEnh.SuspendLayout(); this.tcpGeneral.SuspendLayout(); + this.tcpLibDoc.SuspendLayout(); this.tcpFormat.SuspendLayout(); this.ppGpbxSignoffCheckoff.SuspendLayout(); - this.tcpAutomation.SuspendLayout(); - this.grpLnkEnh.SuspendLayout(); - this.tcpLibDoc.SuspendLayout(); this.tabControlPanel4.SuspendLayout(); this.SuspendLayout(); // @@ -497,7 +501,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(632, 370); + this.ppBtnCancel.Location = new System.Drawing.Point(617, 379); this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(2); this.ppBtnCancel.Name = "ppBtnCancel"; this.ppBtnCancel.Size = new System.Drawing.Size(56, 21); @@ -509,7 +513,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(571, 370); + this.ppBtnOK.Location = new System.Drawing.Point(556, 379); this.ppBtnOK.Margin = new System.Windows.Forms.Padding(2); this.ppBtnOK.Name = "ppBtnOK"; this.ppBtnOK.Size = new System.Drawing.Size(56, 21); @@ -523,7 +527,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(8, 354); + this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(7, 362); 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); @@ -537,7 +541,7 @@ namespace VEPROMS // // this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.ppCbShwDefSettings.Location = new System.Drawing.Point(11, 410); + this.ppCbShwDefSettings.Location = new System.Drawing.Point(11, 437); this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(2); this.ppCbShwDefSettings.Name = "ppCbShwDefSettings"; this.ppCbShwDefSettings.Size = new System.Drawing.Size(145, 22); @@ -730,6 +734,23 @@ namespace VEPROMS this.ppCbDefaultStepSection.Visible = false; this.ppCbDefaultStepSection.CheckedChanged += new System.EventHandler(this.ppCbDefaultStepSection_CheckedChanged); // + // txbxTOC_Group_Title + // + // + // + // + this.txbxTOC_Group_Title.Border.Class = "TextBoxBorder"; + this.txbxTOC_Group_Title.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.txbxTOC_Group_Title.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.sectionConfigBindingSource, "Section_TOC_Group_Title", true)); + this.txbxTOC_Group_Title.Location = new System.Drawing.Point(3, 34); + this.txbxTOC_Group_Title.Name = "txbxTOC_Group_Title"; + this.txbxTOC_Group_Title.PreventEnterBeep = true; + this.txbxTOC_Group_Title.Size = new System.Drawing.Size(214, 20); + this.superTooltip1.SetSuperTooltip(this.txbxTOC_Group_Title, new DevComponents.DotNetBar.SuperTooltipInfo("Grouping Title", "", "If a title is entered here, this section will appear under it on the Table Of Con" + + "tents. If more than one consecutive sections use the same Grouping Title, then " + + "all will be grouped under this title.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.txbxTOC_Group_Title.TabIndex = 54; + // // panSectBtns // this.panSectBtns.BackColor = System.Drawing.Color.Transparent; @@ -800,12 +821,12 @@ namespace VEPROMS this.tcSectionProp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.tcSectionProp.BackColor = System.Drawing.Color.Transparent; this.tcSectionProp.CanReorderTabs = true; - this.tcSectionProp.Controls.Add(this.tcpFormat); - this.tcSectionProp.Controls.Add(this.tcpGeneral); this.tcSectionProp.Controls.Add(this.tcpAutomation); + this.tcSectionProp.Controls.Add(this.tcpGeneral); 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(167, 8); + this.tcSectionProp.Location = new System.Drawing.Point(158, 8); this.tcSectionProp.Margin = new System.Windows.Forms.Padding(2); this.tcSectionProp.Name = "tcSectionProp"; this.tcSectionProp.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold); @@ -821,6 +842,215 @@ namespace VEPROMS this.tcSectionProp.TabsVisible = false; this.tcSectionProp.Text = "tabControl2"; // + // tcpAutomation + // + this.tcpAutomation.Controls.Add(this.gpTOC); + this.tcpAutomation.Controls.Add(this.grpLnkEnh); + this.tcpAutomation.Controls.Add(this.ppCbPhoneList); + this.tcpAutomation.Controls.Add(this.ppCbPlaceKeeper); + this.tcpAutomation.Controls.Add(this.ppCbIncTOC); + this.tcpAutomation.DisabledBackColor = System.Drawing.Color.Empty; + this.tcpAutomation.Dock = System.Windows.Forms.DockStyle.Fill; + this.tcpAutomation.Location = new System.Drawing.Point(0, 22); + this.tcpAutomation.Margin = new System.Windows.Forms.Padding(2); + this.tcpAutomation.Name = "tcpAutomation"; + this.tcpAutomation.Padding = new System.Windows.Forms.Padding(1); + this.tcpAutomation.Size = new System.Drawing.Size(521, 318); + 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; + // + // gpTOC + // + this.gpTOC.CanvasColor = System.Drawing.SystemColors.Control; + this.gpTOC.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.gpTOC.Controls.Add(this.labelX1); + this.gpTOC.Controls.Add(this.txbxTOC_Group_Title); + this.gpTOC.DisabledBackColor = System.Drawing.Color.Empty; + this.gpTOC.Location = new System.Drawing.Point(243, 20); + this.gpTOC.Name = "gpTOC"; + this.gpTOC.Size = new System.Drawing.Size(226, 83); + // + // + // + this.gpTOC.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.gpTOC.Style.BackColorGradientAngle = 90; + this.gpTOC.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.gpTOC.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpTOC.Style.BorderBottomWidth = 1; + this.gpTOC.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.gpTOC.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpTOC.Style.BorderLeftWidth = 1; + this.gpTOC.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpTOC.Style.BorderRightWidth = 1; + this.gpTOC.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.gpTOC.Style.BorderTopWidth = 1; + this.gpTOC.Style.CornerDiameter = 4; + this.gpTOC.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.gpTOC.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.gpTOC.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.gpTOC.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.gpTOC.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.gpTOC.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.gpTOC.TabIndex = 56; + this.gpTOC.Text = "Table Of Contents"; + // + // labelX1 + // + this.labelX1.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.labelX1.Location = new System.Drawing.Point(3, 6); + this.labelX1.Name = "labelX1"; + this.labelX1.Size = new System.Drawing.Size(75, 23); + this.labelX1.TabIndex = 55; + this.labelX1.Text = "Grouping Title:"; + // + // grpLnkEnh + // + this.grpLnkEnh.BackColor = System.Drawing.Color.Transparent; + this.grpLnkEnh.CanvasColor = System.Drawing.SystemColors.Control; + this.grpLnkEnh.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.grpLnkEnh.Controls.Add(this.rbEnhLnkContents); + this.grpLnkEnh.Controls.Add(this.rbEnhLnkTitle); + this.grpLnkEnh.Controls.Add(this.rbEnhLnkNo); + this.grpLnkEnh.DisabledBackColor = System.Drawing.Color.Empty; + this.grpLnkEnh.Location = new System.Drawing.Point(18, 106); + this.grpLnkEnh.Margin = new System.Windows.Forms.Padding(2); + this.grpLnkEnh.Name = "grpLnkEnh"; + this.grpLnkEnh.Size = new System.Drawing.Size(150, 100); + // + // + // + this.grpLnkEnh.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.grpLnkEnh.Style.BackColorGradientAngle = 90; + this.grpLnkEnh.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.grpLnkEnh.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.grpLnkEnh.Style.BorderBottomWidth = 1; + this.grpLnkEnh.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.grpLnkEnh.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.grpLnkEnh.Style.BorderLeftWidth = 1; + this.grpLnkEnh.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.grpLnkEnh.Style.BorderRightWidth = 1; + this.grpLnkEnh.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.grpLnkEnh.Style.BorderTopWidth = 1; + this.grpLnkEnh.Style.CornerDiameter = 4; + this.grpLnkEnh.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.grpLnkEnh.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.grpLnkEnh.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.grpLnkEnh.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.grpLnkEnh.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.grpLnkEnh.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.grpLnkEnh.TabIndex = 53; + this.grpLnkEnh.Text = "Link Enhanced:"; + // + // rbEnhLnkContents + // + this.rbEnhLnkContents.AutoSize = true; + this.rbEnhLnkContents.BackColor = System.Drawing.Color.Transparent; + this.rbEnhLnkContents.Location = new System.Drawing.Point(10, 51); + this.rbEnhLnkContents.Margin = new System.Windows.Forms.Padding(2); + this.rbEnhLnkContents.Name = "rbEnhLnkContents"; + this.rbEnhLnkContents.Size = new System.Drawing.Size(67, 17); + this.rbEnhLnkContents.TabIndex = 2; + this.rbEnhLnkContents.TabStop = true; + this.rbEnhLnkContents.Text = "Contents"; + this.rbEnhLnkContents.UseVisualStyleBackColor = false; + // + // rbEnhLnkTitle + // + this.rbEnhLnkTitle.AutoSize = true; + this.rbEnhLnkTitle.BackColor = System.Drawing.Color.Transparent; + this.rbEnhLnkTitle.Location = new System.Drawing.Point(11, 29); + this.rbEnhLnkTitle.Margin = new System.Windows.Forms.Padding(2); + this.rbEnhLnkTitle.Name = "rbEnhLnkTitle"; + this.rbEnhLnkTitle.Size = new System.Drawing.Size(45, 17); + this.rbEnhLnkTitle.TabIndex = 1; + this.rbEnhLnkTitle.TabStop = true; + this.rbEnhLnkTitle.Text = "Title"; + this.rbEnhLnkTitle.UseVisualStyleBackColor = false; + // + // rbEnhLnkNo + // + this.rbEnhLnkNo.AutoSize = true; + this.rbEnhLnkNo.BackColor = System.Drawing.Color.Transparent; + this.rbEnhLnkNo.Location = new System.Drawing.Point(11, 8); + this.rbEnhLnkNo.Margin = new System.Windows.Forms.Padding(2); + this.rbEnhLnkNo.Name = "rbEnhLnkNo"; + this.rbEnhLnkNo.Size = new System.Drawing.Size(39, 17); + this.rbEnhLnkNo.TabIndex = 0; + this.rbEnhLnkNo.TabStop = true; + this.rbEnhLnkNo.Text = "No"; + this.rbEnhLnkNo.UseVisualStyleBackColor = false; + // + // ppCbPhoneList + // + this.ppCbPhoneList.AutoSize = true; + this.ppCbPhoneList.BackColor = System.Drawing.Color.Transparent; + this.ppCbPhoneList.Enabled = false; + this.ppCbPhoneList.Location = new System.Drawing.Point(18, 62); + this.ppCbPhoneList.Margin = new System.Windows.Forms.Padding(2); + this.ppCbPhoneList.Name = "ppCbPhoneList"; + this.ppCbPhoneList.Size = new System.Drawing.Size(140, 17); + this.ppCbPhoneList.TabIndex = 52; + this.ppCbPhoneList.Text = "Print Phone Number List"; + this.ppCbPhoneList.UseVisualStyleBackColor = false; + this.ppCbPhoneList.CheckedChanged += new System.EventHandler(this.ppCbPhoneList_CheckedChanged); + // + // ppCbPlaceKeeper + // + this.ppCbPlaceKeeper.AutoSize = true; + this.ppCbPlaceKeeper.BackColor = System.Drawing.Color.Transparent; + this.ppCbPlaceKeeper.Enabled = false; + this.ppCbPlaceKeeper.Location = new System.Drawing.Point(18, 41); + this.ppCbPlaceKeeper.Margin = new System.Windows.Forms.Padding(2); + this.ppCbPlaceKeeper.Name = "ppCbPlaceKeeper"; + this.ppCbPlaceKeeper.Size = new System.Drawing.Size(135, 17); + this.ppCbPlaceKeeper.TabIndex = 52; + this.ppCbPlaceKeeper.Text = "Include in Placekeeper"; + this.ppCbPlaceKeeper.UseVisualStyleBackColor = false; + this.ppCbPlaceKeeper.CheckedChanged += new System.EventHandler(this.ppCbPlaceKeeper_CheckedChanged); + // + // ppCbIncTOC + // + this.ppCbIncTOC.AutoSize = true; + this.ppCbIncTOC.BackColor = System.Drawing.Color.Transparent; + this.ppCbIncTOC.Enabled = false; + this.ppCbIncTOC.Location = new System.Drawing.Point(18, 20); + this.ppCbIncTOC.Margin = new System.Windows.Forms.Padding(2); + this.ppCbIncTOC.Name = "ppCbIncTOC"; + this.ppCbIncTOC.Size = new System.Drawing.Size(165, 17); + 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"; + // // tcpGeneral // this.tcpGeneral.Controls.Add(this.ppCbAutoIndent); @@ -972,6 +1202,34 @@ namespace VEPROMS this.tiGeneral.Name = "tiGeneral"; this.tiGeneral.Text = "General"; // + // 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(521, 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"; + // // tcpFormat // this.tcpFormat.Controls.Add(this.ppCbDefaultStepSection); @@ -1118,188 +1376,6 @@ namespace VEPROMS this.tiFormat.Name = "tiFormat"; this.tiFormat.Text = "Format"; // - // tcpAutomation - // - this.tcpAutomation.Controls.Add(this.grpLnkEnh); - this.tcpAutomation.Controls.Add(this.ppCbPhoneList); - this.tcpAutomation.Controls.Add(this.ppCbPlaceKeeper); - this.tcpAutomation.Controls.Add(this.ppCbIncTOC); - this.tcpAutomation.DisabledBackColor = System.Drawing.Color.Empty; - this.tcpAutomation.Dock = System.Windows.Forms.DockStyle.Fill; - this.tcpAutomation.Location = new System.Drawing.Point(0, 22); - this.tcpAutomation.Margin = new System.Windows.Forms.Padding(2); - this.tcpAutomation.Name = "tcpAutomation"; - this.tcpAutomation.Padding = new System.Windows.Forms.Padding(1); - this.tcpAutomation.Size = new System.Drawing.Size(521, 318); - 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; - // - // grpLnkEnh - // - this.grpLnkEnh.BackColor = System.Drawing.Color.Transparent; - this.grpLnkEnh.CanvasColor = System.Drawing.SystemColors.Control; - this.grpLnkEnh.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.grpLnkEnh.Controls.Add(this.rbEnhLnkContents); - this.grpLnkEnh.Controls.Add(this.rbEnhLnkTitle); - this.grpLnkEnh.Controls.Add(this.rbEnhLnkNo); - this.grpLnkEnh.DisabledBackColor = System.Drawing.Color.Empty; - this.grpLnkEnh.Location = new System.Drawing.Point(18, 106); - this.grpLnkEnh.Margin = new System.Windows.Forms.Padding(2); - this.grpLnkEnh.Name = "grpLnkEnh"; - this.grpLnkEnh.Size = new System.Drawing.Size(150, 100); - // - // - // - this.grpLnkEnh.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.grpLnkEnh.Style.BackColorGradientAngle = 90; - this.grpLnkEnh.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.grpLnkEnh.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.grpLnkEnh.Style.BorderBottomWidth = 1; - this.grpLnkEnh.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.grpLnkEnh.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.grpLnkEnh.Style.BorderLeftWidth = 1; - this.grpLnkEnh.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.grpLnkEnh.Style.BorderRightWidth = 1; - this.grpLnkEnh.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.grpLnkEnh.Style.BorderTopWidth = 1; - this.grpLnkEnh.Style.CornerDiameter = 4; - this.grpLnkEnh.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.grpLnkEnh.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.grpLnkEnh.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.grpLnkEnh.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.grpLnkEnh.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.grpLnkEnh.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.grpLnkEnh.TabIndex = 53; - this.grpLnkEnh.Text = "Link Enhanced:"; - // - // rbEnhLnkContents - // - this.rbEnhLnkContents.AutoSize = true; - this.rbEnhLnkContents.BackColor = System.Drawing.Color.Transparent; - this.rbEnhLnkContents.Location = new System.Drawing.Point(10, 51); - this.rbEnhLnkContents.Margin = new System.Windows.Forms.Padding(2); - this.rbEnhLnkContents.Name = "rbEnhLnkContents"; - this.rbEnhLnkContents.Size = new System.Drawing.Size(67, 17); - this.rbEnhLnkContents.TabIndex = 2; - this.rbEnhLnkContents.TabStop = true; - this.rbEnhLnkContents.Text = "Contents"; - this.rbEnhLnkContents.UseVisualStyleBackColor = false; - // - // rbEnhLnkTitle - // - this.rbEnhLnkTitle.AutoSize = true; - this.rbEnhLnkTitle.BackColor = System.Drawing.Color.Transparent; - this.rbEnhLnkTitle.Location = new System.Drawing.Point(11, 29); - this.rbEnhLnkTitle.Margin = new System.Windows.Forms.Padding(2); - this.rbEnhLnkTitle.Name = "rbEnhLnkTitle"; - this.rbEnhLnkTitle.Size = new System.Drawing.Size(45, 17); - this.rbEnhLnkTitle.TabIndex = 1; - this.rbEnhLnkTitle.TabStop = true; - this.rbEnhLnkTitle.Text = "Title"; - this.rbEnhLnkTitle.UseVisualStyleBackColor = false; - // - // rbEnhLnkNo - // - this.rbEnhLnkNo.AutoSize = true; - this.rbEnhLnkNo.BackColor = System.Drawing.Color.Transparent; - this.rbEnhLnkNo.Location = new System.Drawing.Point(11, 8); - this.rbEnhLnkNo.Margin = new System.Windows.Forms.Padding(2); - this.rbEnhLnkNo.Name = "rbEnhLnkNo"; - this.rbEnhLnkNo.Size = new System.Drawing.Size(39, 17); - this.rbEnhLnkNo.TabIndex = 0; - this.rbEnhLnkNo.TabStop = true; - this.rbEnhLnkNo.Text = "No"; - this.rbEnhLnkNo.UseVisualStyleBackColor = false; - // - // ppCbPhoneList - // - this.ppCbPhoneList.AutoSize = true; - this.ppCbPhoneList.BackColor = System.Drawing.Color.Transparent; - this.ppCbPhoneList.Enabled = false; - this.ppCbPhoneList.Location = new System.Drawing.Point(18, 62); - this.ppCbPhoneList.Margin = new System.Windows.Forms.Padding(2); - this.ppCbPhoneList.Name = "ppCbPhoneList"; - this.ppCbPhoneList.Size = new System.Drawing.Size(140, 17); - this.ppCbPhoneList.TabIndex = 52; - this.ppCbPhoneList.Text = "Print Phone Number List"; - this.ppCbPhoneList.UseVisualStyleBackColor = false; - this.ppCbPhoneList.CheckedChanged += new System.EventHandler(this.ppCbPhoneList_CheckedChanged); - // - // ppCbPlaceKeeper - // - this.ppCbPlaceKeeper.AutoSize = true; - this.ppCbPlaceKeeper.BackColor = System.Drawing.Color.Transparent; - this.ppCbPlaceKeeper.Enabled = false; - this.ppCbPlaceKeeper.Location = new System.Drawing.Point(18, 41); - this.ppCbPlaceKeeper.Margin = new System.Windows.Forms.Padding(2); - this.ppCbPlaceKeeper.Name = "ppCbPlaceKeeper"; - this.ppCbPlaceKeeper.Size = new System.Drawing.Size(135, 17); - this.ppCbPlaceKeeper.TabIndex = 52; - this.ppCbPlaceKeeper.Text = "Include in Placekeeper"; - this.ppCbPlaceKeeper.UseVisualStyleBackColor = false; - this.ppCbPlaceKeeper.CheckedChanged += new System.EventHandler(this.ppCbPlaceKeeper_CheckedChanged); - // - // ppCbIncTOC - // - this.ppCbIncTOC.AutoSize = true; - this.ppCbIncTOC.BackColor = System.Drawing.Color.Transparent; - this.ppCbIncTOC.Enabled = false; - this.ppCbIncTOC.Location = new System.Drawing.Point(18, 20); - this.ppCbIncTOC.Margin = new System.Windows.Forms.Padding(2); - this.ppCbIncTOC.Name = "ppCbIncTOC"; - this.ppCbIncTOC.Size = new System.Drawing.Size(165, 17); - 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.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(521, 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 // this.tabControlPanel4.Controls.Add(this.ppCkLstApplicabilityDesinations); @@ -1337,7 +1413,7 @@ namespace VEPROMS // // this.checkBoxX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.checkBoxX1.Location = new System.Drawing.Point(10, 370); + this.checkBoxX1.Location = new System.Drawing.Point(9, 378); this.checkBoxX1.Margin = new System.Windows.Forms.Padding(2); this.checkBoxX1.Name = "checkBoxX1"; this.checkBoxX1.Size = new System.Drawing.Size(145, 22); @@ -1350,7 +1426,7 @@ namespace VEPROMS this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 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.ClientSize = new System.Drawing.Size(687, 390); + this.ClientSize = new System.Drawing.Size(681, 405); this.ControlBox = false; this.Controls.Add(this.tcSectionProp); this.Controls.Add(this.panSectBtns); @@ -1375,18 +1451,19 @@ namespace VEPROMS this.panSectBtns.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).EndInit(); this.tcSectionProp.ResumeLayout(false); + this.tcpAutomation.ResumeLayout(false); + this.tcpAutomation.PerformLayout(); + this.gpTOC.ResumeLayout(false); + this.grpLnkEnh.ResumeLayout(false); + this.grpLnkEnh.PerformLayout(); this.tcpGeneral.ResumeLayout(false); this.tcpGeneral.PerformLayout(); + this.tcpLibDoc.ResumeLayout(false); + this.tcpLibDoc.PerformLayout(); this.tcpFormat.ResumeLayout(false); this.tcpFormat.PerformLayout(); this.ppGpbxSignoffCheckoff.ResumeLayout(false); this.ppGpbxSignoffCheckoff.PerformLayout(); - this.tcpAutomation.ResumeLayout(false); - this.tcpAutomation.PerformLayout(); - this.grpLnkEnh.ResumeLayout(false); - this.grpLnkEnh.PerformLayout(); - this.tcpLibDoc.ResumeLayout(false); - this.tcpLibDoc.PerformLayout(); this.tabControlPanel4.ResumeLayout(false); this.tabControlPanel4.PerformLayout(); this.ResumeLayout(false); @@ -1477,5 +1554,8 @@ namespace VEPROMS private System.Windows.Forms.RadioButton rbEnhLnkContents; private System.Windows.Forms.RadioButton rbEnhLnkTitle; private System.Windows.Forms.RadioButton rbEnhLnkNo; + private DevComponents.DotNetBar.Controls.GroupPanel gpTOC; + private DevComponents.DotNetBar.LabelX labelX1; + private DevComponents.DotNetBar.Controls.TextBoxX txbxTOC_Group_Title; } } \ No newline at end of file diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.cs index 410a62ed..9e0eb497 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.cs @@ -380,6 +380,7 @@ namespace VEPROMS // check if format has automated table of contents, if so, check if config flag is set that this // section should be included. ppCbIncTOC.Enabled = false; + gpTOC.Visible = false; if ((pf.FormatData.PurchaseOptions & E_PurchaseOptions.AutoTableOfContents) == E_PurchaseOptions.AutoTableOfContents && _SectionConfig.MySection.MyContent.Text.ToUpper() != "TABLE OF CONTENTS") { ppCbIncTOC.Enabled = true; @@ -1106,6 +1107,7 @@ namespace VEPROMS bool isInToc = ppCbIncTOC.Checked; if (!_Initializing) _SectionConfig.Section_TOC = isInToc ? "Y" : "N"; + gpTOC.Visible = isInToc; } private void ppCmbxCheckoffHeading_SelectedIndexChanged(object sender, EventArgs e) diff --git a/PROMS/VEPROMS.CSLA.Library/Config/SectionConfig.cs b/PROMS/VEPROMS.CSLA.Library/Config/SectionConfig.cs index ef74d0f6..715590fb 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/SectionConfig.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/SectionConfig.cs @@ -377,6 +377,23 @@ namespace VEPROMS.CSLA.Library } } [Category("General")] + [DisplayName("Table of Contents Grouping Title")] + [RefreshProperties(RefreshProperties.All)] + [Description("Section TOC Grouping Title")] + public string Section_TOC_Group_Title + { + get + { + string tmp = _Xp["Section", "TOC_Group_Title"]; + return (tmp == null)? "" : tmp; + } + set + { + _Xp["Section", "TOC_Group_Title"] = value; + OnPropertyChanged("Section_TOC_Group_Title"); + } + } + [Category("General")] // Placekeeper [DisplayName("Placekeeper")] [RefreshProperties(RefreshProperties.All)] diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs index 614ae29c..8eb86f8b 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs @@ -3895,6 +3895,15 @@ namespace VEPROMS.CSLA.Library return (tocPgNumAlgn == null || tocPgNumAlgn == "") ? "Left" : tocPgNumAlgn; } } + private LazyLoad _TofCProcedureStepsTitle; + public string TofCProcedureStepsTitle + { + get + { + string tocProcStepsTitle = LazyLoad(ref _TofCProcedureStepsTitle, "@TofCProcedureStepsTitle"); + return (tocProcStepsTitle == null || tocProcStepsTitle == "") ? "" : tocProcStepsTitle; + } + } private VE_Font _Font; public VE_Font Font {