B2024-013 - Fixed issue where hard returns are replaced with semi-colons in section titles in Automatic Table of Contents and will use the hard return when printing the section title for Vogtle’s Units 3 & 4 formats.
This commit is contained in:
@@ -2023,15 +2023,17 @@ i = 0;
|
||||
break;
|
||||
case "{TOPSECTIONTITLE}": // This will print the top level section title
|
||||
case "[TOPSECTIONTITLE]":
|
||||
// get top most section:
|
||||
// get top most section: put in for Vogtle Units 3 & 4 formats
|
||||
{
|
||||
ItemInfo top = section;
|
||||
while (top.MyParent != null && !top.MyParent.IsProcedure)
|
||||
{
|
||||
top = top.MyParent;
|
||||
}
|
||||
// B2024-013 changed to use the FormattedDisplayTextKeepHardReturn instead of display text for the section title
|
||||
// this gives us to use the hard return that the user placed in the section title
|
||||
if (top.IsSection)
|
||||
plstr = SplitTitle(svgGroup, pageItem, top.DisplayText, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionTitleLength, token, plstr, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionNumberAndTitleLength);
|
||||
plstr = SplitTitle(svgGroup, pageItem, top.FormattedDisplayTextKeepHardReturn, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionTitleLength, token, plstr, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionNumberAndTitleLength);
|
||||
else
|
||||
plstr = plstr.Replace(token, string.Empty);
|
||||
}
|
||||
|
Reference in New Issue
Block a user