Made Status Change available to other print objects

Update status when moving through a section with subsections
Update status when moving through a section with subsections
GetSectionInfo use local value rather than using the cache
Used SectionInfo property HasStepCheckOffs to turn-on CheckOff header and narrow text width.
This commit is contained in:
Rich
2014-11-05 14:36:17 +00:00
parent 2d7c25d2d2
commit b89af73735
3 changed files with 48 additions and 36 deletions

View File

@@ -1692,10 +1692,11 @@ namespace Volian.Print.Library
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);
//SectionInfo si = SectionInfo.Get(MySection.ItemID);
SectionInfo si = MySection.GetSectionInfo();
SectionConfig sectCfg = si.MyConfig as SectionConfig;
int sc = sectCfg.Section_CheckoffListSelection;
if (sc < 2) plstr = plstr.Replace(token, "");
if (sc < 2 && !si.HasStepCheckOffs) plstr = plstr.Replace(token, "");
else plstr = plstr.Replace(token, "INITIALS");
break;
case "{REVUNIT}":