C2021-015: High Level Steps in Table of Contents

C2021-015: Barakah High Level Steps in Table of Contents
This commit is contained in:
2022-02-23 14:46:04 +00:00
parent 9fa8bd5245
commit 1b7bb16e6d
8 changed files with 353 additions and 90 deletions

View File

@@ -57,6 +57,7 @@ namespace Volian.Controls.Library
this.tbFSWd = new System.Windows.Forms.TextBox();
this.lblFSHt = new System.Windows.Forms.Label();
this.lblFSWidth = new System.Windows.Forms.Label();
this.cbIncludeInTOC = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.groupPanelPaginate.SuspendLayout();
this.groupPanelCheckoff.SuspendLayout();
this.groupPanelChgBar.SuspendLayout();
@@ -76,10 +77,10 @@ namespace Volian.Controls.Library
this.groupPanelPaginate.Controls.Add(this.cbPageBreak);
this.groupPanelPaginate.DisabledBackColor = System.Drawing.Color.Empty;
this.groupPanelPaginate.Dock = System.Windows.Forms.DockStyle.Top;
this.groupPanelPaginate.Location = new System.Drawing.Point(0, 406);
this.groupPanelPaginate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.groupPanelPaginate.Location = new System.Drawing.Point(0, 330);
this.groupPanelPaginate.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.groupPanelPaginate.Name = "groupPanelPaginate";
this.groupPanelPaginate.Size = new System.Drawing.Size(269, 71);
this.groupPanelPaginate.Size = new System.Drawing.Size(202, 58);
//
//
//
@@ -118,10 +119,10 @@ namespace Volian.Controls.Library
//
//
this.cbPrefPageBreak.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbPrefPageBreak.Location = new System.Drawing.Point(4, 23);
this.cbPrefPageBreak.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbPrefPageBreak.Location = new System.Drawing.Point(3, 19);
this.cbPrefPageBreak.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.cbPrefPageBreak.Name = "cbPrefPageBreak";
this.cbPrefPageBreak.Size = new System.Drawing.Size(238, 17);
this.cbPrefPageBreak.Size = new System.Drawing.Size(195, 15);
this.superTooltipTags.SetSuperTooltip(this.cbPrefPageBreak, new DevComponents.DotNetBar.SuperTooltipInfo("Preferred Page Break for Supplemental Info", "", "When set, starts this step at the top of a page.\r\n\r\nkeyboard command: <Ctrl><Ente" +
"r>", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbPrefPageBreak.TabIndex = 1;
@@ -135,10 +136,10 @@ namespace Volian.Controls.Library
//
//
this.cbPageBreak.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbPageBreak.Location = new System.Drawing.Point(4, 2);
this.cbPageBreak.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbPageBreak.Location = new System.Drawing.Point(3, 2);
this.cbPageBreak.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.cbPageBreak.Name = "cbPageBreak";
this.cbPageBreak.Size = new System.Drawing.Size(140, 17);
this.cbPageBreak.Size = new System.Drawing.Size(122, 15);
this.superTooltipTags.SetSuperTooltip(this.cbPageBreak, new DevComponents.DotNetBar.SuperTooltipInfo("Manual Page Break", "", "When set, starts this step at the top of a page.\r\n\r\nkeyboard command: <Ctrl><Ente" +
"r>", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbPageBreak.TabIndex = 0;
@@ -153,10 +154,10 @@ namespace Volian.Controls.Library
//
//
this.cbCAS.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbCAS.Location = new System.Drawing.Point(4, 11);
this.cbCAS.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbCAS.Location = new System.Drawing.Point(3, 1);
this.cbCAS.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.cbCAS.Name = "cbCAS";
this.cbCAS.Size = new System.Drawing.Size(187, 17);
this.cbCAS.Size = new System.Drawing.Size(162, 15);
this.superTooltipTags.SetSuperTooltip(this.cbCAS, new DevComponents.DotNetBar.SuperTooltipInfo("Continuous Action Summary", "", "Include this in the Continuous Action Summary section\r\n\r\nkeyboard command: <Shift" +
"><F7>", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbCAS.TabIndex = 1;
@@ -172,10 +173,10 @@ namespace Volian.Controls.Library
this.cmbCheckoff.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbCheckoff.FormattingEnabled = true;
this.cmbCheckoff.ItemHeight = 17;
this.cmbCheckoff.Location = new System.Drawing.Point(4, 21);
this.cmbCheckoff.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cmbCheckoff.Location = new System.Drawing.Point(3, 17);
this.cmbCheckoff.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.cmbCheckoff.Name = "cmbCheckoff";
this.cmbCheckoff.Size = new System.Drawing.Size(257, 23);
this.cmbCheckoff.Size = new System.Drawing.Size(194, 23);
this.cmbCheckoff.TabIndex = 0;
this.cmbCheckoff.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cmbCheckoff.WatermarkText = "select signoff / checkoff";
@@ -188,10 +189,10 @@ namespace Volian.Controls.Library
this.groupPanelCheckoff.Controls.Add(this.cmbCheckoff);
this.groupPanelCheckoff.DisabledBackColor = System.Drawing.Color.Empty;
this.groupPanelCheckoff.Dock = System.Windows.Forms.DockStyle.Top;
this.groupPanelCheckoff.Location = new System.Drawing.Point(0, 178);
this.groupPanelCheckoff.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.groupPanelCheckoff.Location = new System.Drawing.Point(0, 145);
this.groupPanelCheckoff.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.groupPanelCheckoff.Name = "groupPanelCheckoff";
this.groupPanelCheckoff.Size = new System.Drawing.Size(269, 95);
this.groupPanelCheckoff.Size = new System.Drawing.Size(202, 77);
//
//
//
@@ -235,10 +236,10 @@ namespace Volian.Controls.Library
this.groupPanelChgBar.Controls.Add(this.rbChgBarOn);
this.groupPanelChgBar.DisabledBackColor = System.Drawing.Color.Empty;
this.groupPanelChgBar.Dock = System.Windows.Forms.DockStyle.Top;
this.groupPanelChgBar.Location = new System.Drawing.Point(0, 273);
this.groupPanelChgBar.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.groupPanelChgBar.Location = new System.Drawing.Point(0, 222);
this.groupPanelChgBar.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.groupPanelChgBar.Name = "groupPanelChgBar";
this.groupPanelChgBar.Size = new System.Drawing.Size(269, 133);
this.groupPanelChgBar.Size = new System.Drawing.Size(202, 108);
//
//
//
@@ -273,29 +274,30 @@ namespace Volian.Controls.Library
//
// tbChgID
//
this.tbChgID.Location = new System.Drawing.Point(0, 82);
this.tbChgID.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tbChgID.Location = new System.Drawing.Point(0, 67);
this.tbChgID.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.tbChgID.Name = "tbChgID";
this.tbChgID.Size = new System.Drawing.Size(107, 22);
this.tbChgID.Size = new System.Drawing.Size(81, 20);
this.tbChgID.TabIndex = 4;
this.tbChgID.TextChanged += new System.EventHandler(this.tbChgID_TextChanged);
//
// lblChgId
//
this.lblChgId.AutoSize = true;
this.lblChgId.Location = new System.Drawing.Point(0, 64);
this.lblChgId.Location = new System.Drawing.Point(0, 52);
this.lblChgId.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblChgId.Name = "lblChgId";
this.lblChgId.Size = new System.Drawing.Size(74, 17);
this.lblChgId.Size = new System.Drawing.Size(58, 13);
this.lblChgId.TabIndex = 3;
this.lblChgId.Text = "Change ID";
//
// rbChgBarOff
//
this.rbChgBarOff.AutoSize = true;
this.rbChgBarOff.Location = new System.Drawing.Point(0, 32);
this.rbChgBarOff.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.rbChgBarOff.Location = new System.Drawing.Point(0, 26);
this.rbChgBarOff.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.rbChgBarOff.Name = "rbChgBarOff";
this.rbChgBarOff.Size = new System.Drawing.Size(56, 21);
this.rbChgBarOff.Size = new System.Drawing.Size(45, 17);
this.superTooltipTags.SetSuperTooltip(this.rbChgBarOff, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bar OFF", "", "Turn change bar off. Note that \'OVERRIDE\' will turn off a change bar even though" +
" text is changed.\r\n\r\nkeyboard command: <Alt><F2>", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.rbChgBarOff.TabIndex = 2;
@@ -307,10 +309,10 @@ namespace Volian.Controls.Library
// rbChgBarOn
//
this.rbChgBarOn.AutoSize = true;
this.rbChgBarOn.Location = new System.Drawing.Point(0, 5);
this.rbChgBarOn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.rbChgBarOn.Location = new System.Drawing.Point(0, 4);
this.rbChgBarOn.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.rbChgBarOn.Name = "rbChgBarOn";
this.rbChgBarOn.Size = new System.Drawing.Size(50, 21);
this.rbChgBarOn.Size = new System.Drawing.Size(41, 17);
this.superTooltipTags.SetSuperTooltip(this.rbChgBarOn, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bar ON", "", "Add a change bar on this step\r\n\r\nkeyboard command: <Alt><F2>", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.rbChgBarOn.TabIndex = 1;
this.rbChgBarOn.TabStop = true;
@@ -329,9 +331,9 @@ namespace Volian.Controls.Library
this.groupPanelChgStepType.DisabledBackColor = System.Drawing.Color.Empty;
this.groupPanelChgStepType.Dock = System.Windows.Forms.DockStyle.Top;
this.groupPanelChgStepType.Location = new System.Drawing.Point(0, 0);
this.groupPanelChgStepType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.groupPanelChgStepType.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.groupPanelChgStepType.Name = "groupPanelChgStepType";
this.groupPanelChgStepType.Size = new System.Drawing.Size(269, 178);
this.groupPanelChgStepType.Size = new System.Drawing.Size(202, 145);
//
//
//
@@ -373,20 +375,20 @@ namespace Volian.Controls.Library
//
this.lblNoTypeChgReason.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.lblNoTypeChgReason.ForeColor = System.Drawing.Color.Red;
this.lblNoTypeChgReason.Location = new System.Drawing.Point(3, 34);
this.lblNoTypeChgReason.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.lblNoTypeChgReason.Location = new System.Drawing.Point(2, 28);
this.lblNoTypeChgReason.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.lblNoTypeChgReason.Name = "lblNoTypeChgReason";
this.lblNoTypeChgReason.Size = new System.Drawing.Size(259, 118);
this.lblNoTypeChgReason.Size = new System.Drawing.Size(194, 96);
this.lblNoTypeChgReason.TabIndex = 5;
//
// cbChgAll
//
this.cbChgAll.AutoSize = true;
this.cbChgAll.BackColor = System.Drawing.Color.Transparent;
this.cbChgAll.Location = new System.Drawing.Point(3, 7);
this.cbChgAll.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbChgAll.Location = new System.Drawing.Point(2, 6);
this.cbChgAll.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.cbChgAll.Name = "cbChgAll";
this.cbChgAll.Size = new System.Drawing.Size(153, 21);
this.cbChgAll.Size = new System.Drawing.Size(119, 17);
this.superTooltipTags.SetSuperTooltip(this.cbChgAll, new DevComponents.DotNetBar.SuperTooltipInfo("Change Step Type - All At Level", "", "When checked, all steps at the level of current step will have their step type ch" +
"anged to the selected type in list below...", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbChgAll.TabIndex = 4;
@@ -398,11 +400,10 @@ namespace Volian.Controls.Library
this.listBoxStepTypes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.listBoxStepTypes.FormattingEnabled = true;
this.listBoxStepTypes.ItemHeight = 16;
this.listBoxStepTypes.Location = new System.Drawing.Point(3, 34);
this.listBoxStepTypes.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.listBoxStepTypes.Location = new System.Drawing.Point(2, 28);
this.listBoxStepTypes.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.listBoxStepTypes.Name = "listBoxStepTypes";
this.listBoxStepTypes.Size = new System.Drawing.Size(257, 116);
this.listBoxStepTypes.Size = new System.Drawing.Size(194, 95);
this.superTooltipTags.SetSuperTooltip(this.listBoxStepTypes, new DevComponents.DotNetBar.SuperTooltipInfo("Possible Step Types", "", "This list allows change of type showing all selections of any possible step type " +
"for the current step.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.listBoxStepTypes.TabIndex = 3;
@@ -421,10 +422,10 @@ namespace Volian.Controls.Library
//
//
this.cbPlaceKeeperCont.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbPlaceKeeperCont.Location = new System.Drawing.Point(4, 58);
this.cbPlaceKeeperCont.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbPlaceKeeperCont.Location = new System.Drawing.Point(3, 39);
this.cbPlaceKeeperCont.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.cbPlaceKeeperCont.Name = "cbPlaceKeeperCont";
this.cbPlaceKeeperCont.Size = new System.Drawing.Size(183, 17);
this.cbPlaceKeeperCont.Size = new System.Drawing.Size(158, 15);
this.superTooltipTags.SetSuperTooltip(this.cbPlaceKeeperCont, new DevComponents.DotNetBar.SuperTooltipInfo("Placekeeper Continuous Action", "", "Include this on the Placekeeper marked as a Continuous Action\r\n\r\nkeyboard command" +
": <Shift><Ctrl><F7>", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbPlaceKeeperCont.TabIndex = 1;
@@ -439,10 +440,10 @@ namespace Volian.Controls.Library
//
//
this.cbPlaceKeeper.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbPlaceKeeper.Location = new System.Drawing.Point(4, 34);
this.cbPlaceKeeper.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbPlaceKeeper.Location = new System.Drawing.Point(3, 20);
this.cbPlaceKeeper.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.cbPlaceKeeper.Name = "cbPlaceKeeper";
this.cbPlaceKeeper.Size = new System.Drawing.Size(95, 17);
this.cbPlaceKeeper.Size = new System.Drawing.Size(84, 15);
this.superTooltipTags.SetSuperTooltip(this.cbPlaceKeeper, new DevComponents.DotNetBar.SuperTooltipInfo("Placekeeper", "", "Include this on the Placekeeper\r\n\r\nkeyboard command: <Ctrl><F7>", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbPlaceKeeper.TabIndex = 1;
this.cbPlaceKeeper.Text = "Placekeeper";
@@ -453,15 +454,16 @@ namespace Volian.Controls.Library
this.groupPanelIncludeOn.BackColor = System.Drawing.Color.Transparent;
this.groupPanelIncludeOn.CanvasColor = System.Drawing.SystemColors.Control;
this.groupPanelIncludeOn.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.groupPanelIncludeOn.Controls.Add(this.cbIncludeInTOC);
this.groupPanelIncludeOn.Controls.Add(this.cbPlaceKeeperCont);
this.groupPanelIncludeOn.Controls.Add(this.cbPlaceKeeper);
this.groupPanelIncludeOn.Controls.Add(this.cbCAS);
this.groupPanelIncludeOn.DisabledBackColor = System.Drawing.Color.Empty;
this.groupPanelIncludeOn.Dock = System.Windows.Forms.DockStyle.Top;
this.groupPanelIncludeOn.Location = new System.Drawing.Point(0, 477);
this.groupPanelIncludeOn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.groupPanelIncludeOn.Location = new System.Drawing.Point(0, 388);
this.groupPanelIncludeOn.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.groupPanelIncludeOn.Name = "groupPanelIncludeOn";
this.groupPanelIncludeOn.Size = new System.Drawing.Size(269, 116);
this.groupPanelIncludeOn.Size = new System.Drawing.Size(202, 94);
//
//
//
@@ -501,10 +503,10 @@ namespace Volian.Controls.Library
this.groupPanelWcnTrnResp.Controls.Add(this.tbRespons);
this.groupPanelWcnTrnResp.DisabledBackColor = System.Drawing.Color.Empty;
this.groupPanelWcnTrnResp.Dock = System.Windows.Forms.DockStyle.Top;
this.groupPanelWcnTrnResp.Location = new System.Drawing.Point(0, 593);
this.groupPanelWcnTrnResp.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
this.groupPanelWcnTrnResp.Location = new System.Drawing.Point(0, 482);
this.groupPanelWcnTrnResp.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.groupPanelWcnTrnResp.Name = "groupPanelWcnTrnResp";
this.groupPanelWcnTrnResp.Size = new System.Drawing.Size(269, 170);
this.groupPanelWcnTrnResp.Size = new System.Drawing.Size(202, 138);
//
//
//
@@ -538,12 +540,11 @@ namespace Volian.Controls.Library
//
// tbRespons
//
this.tbRespons.Location = new System.Drawing.Point(36, 20);
this.tbRespons.Margin = new System.Windows.Forms.Padding(4);
this.tbRespons.Location = new System.Drawing.Point(27, 16);
this.tbRespons.Multiline = true;
this.tbRespons.Name = "tbRespons";
this.tbRespons.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.tbRespons.Size = new System.Drawing.Size(217, 99);
this.tbRespons.Size = new System.Drawing.Size(164, 81);
this.tbRespons.TabIndex = 0;
this.tbRespons.Leave += new System.EventHandler(this.tbRespons_Leave);
//
@@ -561,9 +562,10 @@ namespace Volian.Controls.Library
this.groupPanelFigSize.Controls.Add(this.lblFSWidth);
this.groupPanelFigSize.DisabledBackColor = System.Drawing.Color.Empty;
this.groupPanelFigSize.Dock = System.Windows.Forms.DockStyle.Top;
this.groupPanelFigSize.Location = new System.Drawing.Point(0, 763);
this.groupPanelFigSize.Location = new System.Drawing.Point(0, 620);
this.groupPanelFigSize.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.groupPanelFigSize.Name = "groupPanelFigSize";
this.groupPanelFigSize.Size = new System.Drawing.Size(269, 166);
this.groupPanelFigSize.Size = new System.Drawing.Size(202, 135);
//
//
//
@@ -597,9 +599,10 @@ namespace Volian.Controls.Library
//
// btnFSrestore
//
this.btnFSrestore.Location = new System.Drawing.Point(150, 33);
this.btnFSrestore.Location = new System.Drawing.Point(112, 27);
this.btnFSrestore.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnFSrestore.Name = "btnFSrestore";
this.btnFSrestore.Size = new System.Drawing.Size(72, 32);
this.btnFSrestore.Size = new System.Drawing.Size(54, 26);
this.btnFSrestore.TabIndex = 6;
this.btnFSrestore.Text = "Restore";
this.btnFSrestore.UseVisualStyleBackColor = true;
@@ -607,20 +610,22 @@ namespace Volian.Controls.Library
//
// trBarFS
//
this.trBarFS.Location = new System.Drawing.Point(15, 71);
this.trBarFS.Location = new System.Drawing.Point(11, 58);
this.trBarFS.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.trBarFS.Maximum = 700;
this.trBarFS.Minimum = 50;
this.trBarFS.Name = "trBarFS";
this.trBarFS.Size = new System.Drawing.Size(172, 56);
this.trBarFS.Size = new System.Drawing.Size(129, 45);
this.trBarFS.TabIndex = 5;
this.trBarFS.Value = 50;
this.trBarFS.Scroll += new System.EventHandler(this.trBarFS_Scroll);
//
// btnFsSav
//
this.btnFsSav.Location = new System.Drawing.Point(150, 3);
this.btnFsSav.Location = new System.Drawing.Point(112, 2);
this.btnFsSav.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnFsSav.Name = "btnFsSav";
this.btnFsSav.Size = new System.Drawing.Size(62, 24);
this.btnFsSav.Size = new System.Drawing.Size(46, 20);
this.btnFsSav.TabIndex = 4;
this.btnFsSav.Text = "Set";
this.btnFsSav.UseVisualStyleBackColor = true;
@@ -629,40 +634,60 @@ namespace Volian.Controls.Library
// tbFSHt
//
this.tbFSHt.Enabled = false;
this.tbFSHt.Location = new System.Drawing.Point(56, 33);
this.tbFSHt.Location = new System.Drawing.Point(42, 27);
this.tbFSHt.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.tbFSHt.Name = "tbFSHt";
this.tbFSHt.Size = new System.Drawing.Size(78, 22);
this.tbFSHt.Size = new System.Drawing.Size(60, 20);
this.tbFSHt.TabIndex = 3;
//
// tbFSWd
//
this.tbFSWd.Location = new System.Drawing.Point(56, 5);
this.tbFSWd.Location = new System.Drawing.Point(42, 4);
this.tbFSWd.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.tbFSWd.Name = "tbFSWd";
this.tbFSWd.Size = new System.Drawing.Size(78, 22);
this.tbFSWd.Size = new System.Drawing.Size(60, 20);
this.tbFSWd.TabIndex = 2;
this.tbFSWd.Leave += new System.EventHandler(this.tbFSWd_Leave);
//
// lblFSHt
//
this.lblFSHt.AutoSize = true;
this.lblFSHt.Location = new System.Drawing.Point(5, 34);
this.lblFSHt.Location = new System.Drawing.Point(4, 28);
this.lblFSHt.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblFSHt.Name = "lblFSHt";
this.lblFSHt.Size = new System.Drawing.Size(49, 17);
this.lblFSHt.Size = new System.Drawing.Size(38, 13);
this.lblFSHt.TabIndex = 1;
this.lblFSHt.Text = "Height";
//
// lblFSWidth
//
this.lblFSWidth.AutoSize = true;
this.lblFSWidth.Location = new System.Drawing.Point(6, 7);
this.lblFSWidth.Location = new System.Drawing.Point(4, 6);
this.lblFSWidth.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblFSWidth.Name = "lblFSWidth";
this.lblFSWidth.Size = new System.Drawing.Size(44, 17);
this.lblFSWidth.Size = new System.Drawing.Size(35, 13);
this.lblFSWidth.TabIndex = 0;
this.lblFSWidth.Text = "Width";
//
// cbIncludeTOC
//
this.cbIncludeInTOC.AutoSize = true;
this.cbIncludeInTOC.BackColor = System.Drawing.Color.Transparent;
this.cbIncludeInTOC.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.cbIncludeInTOC.Location = new System.Drawing.Point(2, 59);
this.cbIncludeInTOC.Margin = new System.Windows.Forms.Padding(2);
this.cbIncludeInTOC.Name = "cbIncludeTOC";
this.cbIncludeInTOC.Size = new System.Drawing.Size(166, 15);
this.cbIncludeInTOC.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.superTooltipTags.SetSuperTooltip(this.cbIncludeInTOC, new DevComponents.DotNetBar.SuperTooltipInfo("High Level Step in TOC", "", "Include this in the auto generated Table of Contents.",
null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
this.cbIncludeInTOC.TabIndex = 2;
this.cbIncludeInTOC.Text = "Table of Contents";
this.cbIncludeInTOC.CheckedChanged += new System.EventHandler(this.cbIncludeInTOC_CheckedChanged);
//
// DisplayTags
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.groupPanelFigSize);
this.Controls.Add(this.groupPanelWcnTrnResp);
@@ -671,9 +696,9 @@ namespace Volian.Controls.Library
this.Controls.Add(this.groupPanelChgBar);
this.Controls.Add(this.groupPanelCheckoff);
this.Controls.Add(this.groupPanelChgStepType);
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "DisplayTags";
this.Size = new System.Drawing.Size(269, 987);
this.Size = new System.Drawing.Size(202, 802);
this.groupPanelPaginate.ResumeLayout(false);
this.groupPanelPaginate.PerformLayout();
this.groupPanelCheckoff.ResumeLayout(false);
@@ -723,5 +748,6 @@ namespace Volian.Controls.Library
private System.Windows.Forms.TrackBar trBarFS;
private System.Windows.Forms.Button btnFSrestore;
private DevComponents.DotNetBar.Controls.CheckBoxX cbPrefPageBreak;
private DevComponents.DotNetBar.Controls.CheckBoxX cbIncludeInTOC;
}
}

View File

@@ -112,6 +112,7 @@ namespace Volian.Controls.Library
cbPrefPageBreak.Enabled = false;
cbPlaceKeeper.Enabled = false;
cbPlaceKeeperCont.Enabled = false;
cbIncludeInTOC.Enabled = false;
cbCAS.Enabled = false;
//txbxAltConActSumText.Enabled = false;
rbChgBarOff.Enabled = false;
@@ -464,6 +465,28 @@ namespace Volian.Controls.Library
}
// diable fields if user is only a reviewer
groupPanelCheckoff.Enabled = groupPanelChgBar.Enabled = groupPanelChgStepType.Enabled = groupPanelIncludeOn.Enabled = groupPanelPaginate.Enabled = groupPanelWcnTrnResp.Enabled = UserInfo.CanEdit(MyUserInfo, Mydvi); // Can Change Tag Info
// C2021-015: Barakah - High Level Steps in Table of Contents. Make the check box visible if format has TofCAllowHLS and
// if format allow this and on a HLS, get the database from step's config to see if included and set checkbox accordingly.
// Note that the section that the HLS is on must also be included in the TofC
cbIncludeInTOC.Visible = fmtdata.SectData.AccSectionData.TableOfContentsData.TofCAllowHLS;
if (cbIncludeInTOC.Visible)
{
cbIncludeInTOC.Checked = false;
cbIncludeInTOC.Enabled = false;
cbIncludeInTOC.Checked = false;
if (CurItemInfo.IsHigh)
{
SectionConfig stc = CurItemInfo.MyConfig as SectionConfig;
if ((CurItemInfo.MyDocStyle != null && CurItemInfo.MyDocStyle.IncludeInTOC && (stc == null || stc.Section_TOC != "Y"))
|| ((CurItemInfo.MyDocStyle == null || !CurItemInfo.MyDocStyle.IncludeInTOC) && (stc != null && stc.Section_TOC == "Y")))
{
cbIncludeInTOC.Enabled = true;
cbIncludeInTOC.Checked = sc.Step_IncludeInTOC;
}
}
}
_Initalizing = false;
}
private int DoListStepTypes(FormatData fmtdata, StepData topType, string curType)
@@ -553,6 +576,17 @@ namespace Volian.Controls.Library
cbPlaceKeeper.Checked = false;
}
}
// C2021-015: Barakah - High Level Steps in Table of Contents. Set step config when checked is changed. Save occurs on move off of step.
private void cbIncludeInTOC_CheckedChanged(object sender, EventArgs e)
{
if (_Initalizing) return;
MyEditItem.SaveContents();
StepConfig sc = CurItemInfo.MyConfig as StepConfig;
if (sc == null) return;
MyEditItem.ChangeBarForConfigItemChange = false;
sc.Step_IncludeInTOC = cbIncludeInTOC.Checked;
MyEditItem.ChangeBarForConfigItemChange = true;
}
private void listBoxStepTypes_SelectedIndexChanged(object sender, EventArgs e)
{
if (_Initalizing) return;

View File

@@ -112,15 +112,15 @@
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="superTooltipTags.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="superTooltipTags.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>36</value>
</metadata>
</root>