diff --git a/PROMS/Volian.Print.Library/Pagination.cs b/PROMS/Volian.Print.Library/Pagination.cs index da63fe3c..5517e578 100644 --- a/PROMS/Volian.Print.Library/Pagination.cs +++ b/PROMS/Volian.Print.Library/Pagination.cs @@ -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)