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:
parent
10476988e0
commit
37afbace90
@ -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
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user