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");
|
return LazyLoad(ref _PagelistChangeIDsWithCommas, "@PagelistChangeIDsWithCommas");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
private LazyLoad<bool> _SpecialCaseWestinghouse;
|
||||||
|
public bool SpecialCaseWestinghouse
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return LazyLoad(ref _SpecialCaseWestinghouse, "@SpecialCaseWestinghouse");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region VersionIdText
|
#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
|
// 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.
|
// 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.MySection = MyItemInfo as SectionInfo;
|
||||||
MyPageHelper.ResetSvg();
|
MyPageHelper.ResetSvg();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user