F2021-075 Added logic to remove the dash character that is between the section number and section title if there isn’t a section number.
This commit is contained in:
parent
12816e1d75
commit
a14dae6f91
@ -1903,8 +1903,12 @@ i = 0;
|
||||
// text starts with a ', ' - remove it.
|
||||
if (plstr.StartsWith(", ") && plstr.IndexOf("{SECTIONLEVELTITLE}") == 2)
|
||||
plstr = plstr.Substring(2);
|
||||
//svgGroup.Add(PageItemToSvgText(pageItem, pageItem.Token.Replace(token, section.DisplayNumber)));
|
||||
break;
|
||||
// F2021-075 pagelist was {SECTIONLEVELNUMBER} - {SECTIONLEVELTITLE} and if no SECTIONLEVELNUMBER exists, printed
|
||||
// text starts with a ' - ' - remove it.
|
||||
else if (plstr.StartsWith(" - ") && plstr.IndexOf("{SECTIONLEVELTITLE}") == 3)
|
||||
plstr = plstr.Substring(3);
|
||||
//svgGroup.Add(PageItemToSvgText(pageItem, pageItem.Token.Replace(token, section.DisplayNumber)));
|
||||
break;
|
||||
case "{METASECTIONNUMBER}": // This will print the top level section number
|
||||
case "[METASECTIONNUMBER]":
|
||||
if (section.MyParent.IsSection)
|
||||
|
Loading…
x
Reference in New Issue
Block a user