Process pagenum transitions for BGE, improve automatic ToC pagination, Level0Big support

UNITALPHA, REVUNIT pagelist items
This commit is contained in:
2014-04-04 13:16:13 +00:00
parent 0ef5a19cd5
commit 3be5841027
3 changed files with 92 additions and 47 deletions

View File

@@ -118,6 +118,9 @@ namespace Volian.Print.Library
YOffset = yoffset;
Text = cleanTab;
MyFont = vFont;
// BGE has a format flag to increase size of font, if top level:
if (doSectTab && myparent.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.SectionNumber.Level0Big && myparent.MyItemInfo.MyParent.IsProcedure)
vFont = new VE_Font(vFont.Family, 14, (E_Style)vFont.Style | E_Style.Bold, 8);
float CCCs = GetTextWidth(MyFont, "CCCCCCCCCC", symblFontName);
float IIIs = GetTextWidth(MyFont, "iiiiiiiiii", symblFontName);
string origTab1 = origTab;