B2023-033: Calvert Pagination Issues
This commit is contained in:
parent
74542224ef
commit
0e3dd86eba
@ -447,10 +447,14 @@ namespace Volian.Print.Library
|
||||
// Beaver Valley as two sub-sections that are printed continuously followed by a third sub-section printed separate.
|
||||
// without this logic, the first step is printed at the same y-location as if it was on the previous page
|
||||
bool sepPaginationForSubSection = false;
|
||||
if (MyItemInfo.IsHigh && MyItemInfo.MyPrevious== null && MyItemInfo.MyActiveSection.IsSubsection)
|
||||
// B2023-033: don't do the sub-section check that was done for Beaver Valley (F2023-015) for Calvert
|
||||
if (!MyItemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvert)
|
||||
{
|
||||
if ((MyItemInfo.MyActiveSection.MyConfig as SectionConfig).Section_Pagination == SectionConfig.SectionPagination.Separate)
|
||||
sepPaginationForSubSection = true;
|
||||
if (MyItemInfo.IsHigh && MyItemInfo.MyPrevious == null && MyItemInfo.MyActiveSection.IsSubsection)
|
||||
{
|
||||
if ((MyItemInfo.MyActiveSection.MyConfig as SectionConfig).Section_Pagination == SectionConfig.SectionPagination.Separate)
|
||||
sepPaginationForSubSection = true;
|
||||
}
|
||||
}
|
||||
if (!ManualPageBreak && ((mySize + yEndMsg <= yWithinMargins + yExtra) || // Don't Paginate if there is enough room, will fit on page
|
||||
(mySize <= yWithinMargins + yExtra && SpecialCaseForRobinson())) && !sepPaginationForSubSection)
|
||||
|
Loading…
x
Reference in New Issue
Block a user