Added a text box to enter a grouping title for use on the auto table of contents

Added TOC_Grouping_Title
Added TofCProcedureStepsTitle to rename the section title “Procedure Steps” to “OPERATOR ACTIONS” on the auto table of contents (used by V.C Summer -  SUMall.xml)
This commit is contained in:
2016-03-08 21:01:13 +00:00
parent 062a5be314
commit 0b3e70fd6d
4 changed files with 321 additions and 213 deletions

View File

@@ -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)