B2023-043: BVPS – subscript/superscript in Section Titles
This commit is contained in:
@@ -1966,6 +1966,9 @@ i = 0;
|
||||
string myMsg = section.MyDocStyle.Continue.Top.Message;
|
||||
if (myMsg != null && myMsg != string.Empty)stitle = stitle + myMsg;
|
||||
}
|
||||
// B2023-043: Beaver Valley AOP - allow attributes, such as superscript on section titles when printing
|
||||
if (section.ActiveFormat.PlantFormat.FormatData.PrintData.SectionTitleWithAttributes)
|
||||
stitle = section.FormattedDisplayText;
|
||||
// B2021-119: large titles on Landscape Word Attachments are printing on 2 lines.
|
||||
// B2022-149: crash on cast if null
|
||||
int? stl = (int?)section.ActiveFormat.PlantFormat.FormatData.SectData.SectionNumberAndTitleLength;
|
||||
@@ -1990,7 +1993,9 @@ i = 0;
|
||||
{
|
||||
top = top.MyParent;
|
||||
}
|
||||
plstr = SplitTitle(svgGroup, pageItem, top.DisplayText, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionTitleLength, token, plstr, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionNumberAndTitleLength);
|
||||
// B2023-043: Beaver Valley AOP - allow attributes, such as superscript on section titles when printing
|
||||
string tmptitle = (section.ActiveFormat.PlantFormat.FormatData.PrintData.SectionTitleWithAttributes) ? top.FormattedDisplayText : top.DisplayText;
|
||||
plstr = SplitTitle(svgGroup, pageItem, tmptitle, 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