‘INITIALS’ pagelist fix & extraneous end message fix

fixed various check off line lengths (underlines now are lines in macro)
Calvert: adjust paragraph widths if section has a check off
Calvert: determine whether ‘INITIALS’ pagelist item is printed based on whether section has check offs
This commit is contained in:
2014-10-22 13:15:02 +00:00
parent bf99440bde
commit 91ef383ad4
7 changed files with 19 additions and 1 deletions

View File

@@ -1601,6 +1601,15 @@ namespace Volian.Print.Library
else
plstr = plstr.Replace(token, "ONE AND TWO");
break;
case "{INITIALS}":
// For Calvert: if this section has checkoffs turned on, put out this pagelist item:
// Get SectionInfos to access specific section config items...
SectionInfo si = SectionInfo.Get(MySection.ItemID);
SectionConfig sectCfg = si.MyConfig as SectionConfig;
int sc = sectCfg.Section_CheckoffListSelection;
if (sc < 2) plstr = plstr.Replace(token, "");
else plstr = plstr.Replace(token, "INITIALS");
break;
case "{REVUNIT}":
// copied from 16bit's pagelist.cs for BGE:
string revUnit = null;