Added SpecialCaseWestinghouse flag

Added SpecialCaseWestinghouse flag to prevent using logic that cause the sub-section to print in the page header
This commit is contained in:
John Jenko 2014-05-13 21:13:37 +00:00
parent 10476988e0
commit 37afbace90
2 changed files with 9 additions and 1 deletions

View File

@ -745,6 +745,14 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _PagelistChangeIDsWithCommas, "@PagelistChangeIDsWithCommas");
}
}
private LazyLoad<bool> _SpecialCaseWestinghouse;
public bool SpecialCaseWestinghouse
{
get
{
return LazyLoad(ref _SpecialCaseWestinghouse, "@SpecialCaseWestinghouse");
}
}
}
#endregion
#region VersionIdText

View File

@ -833,7 +833,7 @@ namespace Volian.Print.Library
{
// For BGE, the very first subsection's pagelist items were not correct - the section/meta section titles were
// at the wrong level. Reset the page helper's section.
if (MyItemInfo.IsSection && MyItemInfo.MyPrevious == null && MyItemInfo.MyParent.IsSection)
if (MyItemInfo.IsSection && MyItemInfo.MyPrevious == null && MyItemInfo.MyParent.IsSection && !MyItemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseWestinghouse)
{
MyPageHelper.MySection = MyItemInfo as SectionInfo;
MyPageHelper.ResetSvg();