Note box printing (separate versus same box).
Support for Metasectionnumber & title page list items
This commit is contained in:
@@ -1142,12 +1142,26 @@ namespace Volian.Print.Library
|
||||
plstr = plstr.Replace(token, "");
|
||||
//svgGroup.Add(PageItemToSvgText(pageItem, section.DisplayText));
|
||||
break;
|
||||
case "{METASECTIONTITLE}":
|
||||
case "[METASECTIONTITLE]":
|
||||
if (section.MyParent.IsSection)
|
||||
plstr = SplitTitle(svgGroup, pageItem, section.MyParent.DisplayText, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionTitleLength, token, plstr);
|
||||
else
|
||||
plstr = plstr.Replace(token, "");
|
||||
break;
|
||||
case "{SECTIONLEVELNUMBER}":
|
||||
case "[SECTIONLEVELNUMBER]":
|
||||
plstr = plstr.Replace(token, section.DisplayNumber);
|
||||
_sectLevelNumTtlDiff = (int)pageItem.Row;
|
||||
//svgGroup.Add(PageItemToSvgText(pageItem, pageItem.Token.Replace(token, section.DisplayNumber)));
|
||||
break;
|
||||
case "{METASECTIONNUMBER}":
|
||||
case "[METASECTIONNUMBER]":
|
||||
if (section.MyParent.IsSection)
|
||||
plstr = plstr.Replace(token, section.MyParent.DisplayNumber);
|
||||
else
|
||||
plstr = plstr.Replace(token, "");
|
||||
break;
|
||||
case "{UNITTEXT}":
|
||||
case "[UNITTEXT]":
|
||||
plstr = plstr.Replace(token, MySection.MyDocVersion.DocVersionConfig.Unit_Text);
|
||||
|
Reference in New Issue
Block a user