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