B2023-043: BVPS – subscript/superscript in Section Titles
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1317,6 +1317,15 @@ namespace VEPROMS.CSLA.Library
|
|||||||
return LazyLoad(ref _UseOnFirstForSeparatePaginationOnSubSect, "@UseOnFirstForSeparatePaginationOnSubSect");
|
return LazyLoad(ref _UseOnFirstForSeparatePaginationOnSubSect, "@UseOnFirstForSeparatePaginationOnSubSect");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// B2023-043 for use with Beaver Valley AOP format - allow attributes, such as superscript on section titles when printing
|
||||||
|
private LazyLoad<bool> _SectionTitleWithAttributes;
|
||||||
|
public bool SectionTitleWithAttributes
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return LazyLoad(ref _SectionTitleWithAttributes, "@SectionTitleWithAttributes");
|
||||||
|
}
|
||||||
|
}
|
||||||
private LazyLoad<bool> _WCNTraining;
|
private LazyLoad<bool> _WCNTraining;
|
||||||
public bool WCNTraining
|
public bool WCNTraining
|
||||||
{
|
{
|
||||||
|
@@ -1966,6 +1966,9 @@ i = 0;
|
|||||||
string myMsg = section.MyDocStyle.Continue.Top.Message;
|
string myMsg = section.MyDocStyle.Continue.Top.Message;
|
||||||
if (myMsg != null && myMsg != string.Empty)stitle = stitle + myMsg;
|
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.
|
// B2021-119: large titles on Landscape Word Attachments are printing on 2 lines.
|
||||||
// B2022-149: crash on cast if null
|
// B2022-149: crash on cast if null
|
||||||
int? stl = (int?)section.ActiveFormat.PlantFormat.FormatData.SectData.SectionNumberAndTitleLength;
|
int? stl = (int?)section.ActiveFormat.PlantFormat.FormatData.SectData.SectionNumberAndTitleLength;
|
||||||
@@ -1990,7 +1993,9 @@ i = 0;
|
|||||||
{
|
{
|
||||||
top = top.MyParent;
|
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
|
else
|
||||||
plstr = plstr.Replace(token, string.Empty);
|
plstr = plstr.Replace(token, string.Empty);
|
||||||
|
Reference in New Issue
Block a user