Logic for Comanche Peak’s Step Designator and boxed Cautions and Notes

Supporting logic for used by the redefined “WidthOverride”
Added support the “{UNITNUMBER}” pagelist token
This commit is contained in:
2013-10-02 22:15:04 +00:00
parent 512db4b89e
commit e0b20d8ab1
3 changed files with 82 additions and 28 deletions

View File

@@ -1084,6 +1084,10 @@ namespace Volian.Print.Library
plstr = plstr.Replace(token, MySection.MyDocVersion.DocVersionConfig.Unit_Text);
//svgGroup.Add(PageItemToSvgText(pageItem, pageItem.Token.Replace(token, MySection.MyDocVersion.DocVersionConfig.Unit_Text)));
break;
case "{UNITNUMBER}":
case "[UNITNUMBER]":
plstr = plstr.Replace(token, MySection.MyDocVersion.DocVersionConfig.Unit_Number);
break;
case "{ATTACHNUM}":
case "[ATTACHNUM]":
plstr = plstr.Replace(token, "1"); // used by SHESDD - but 16bit returns '1' unless has format flag 'MoveParensToToken' that was only in SCE (San Onofre)