From fbe233dd121bdbb5390fc2eb0fac062d1961e24b Mon Sep 17 00:00:00 2001 From: John Date: Tue, 1 Dec 2020 14:19:43 +0000 Subject: [PATCH] B2020-158 pagination fix for Calvert EOPs/AOPs. --- PROMS/Volian.Print.Library/Pagination.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/Pagination.cs b/PROMS/Volian.Print.Library/Pagination.cs index 24b3dbcb..d510efbc 100644 --- a/PROMS/Volian.Print.Library/Pagination.cs +++ b/PROMS/Volian.Print.Library/Pagination.cs @@ -417,7 +417,8 @@ namespace Volian.Print.Library if (KeepStepsOnPage && !MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.PaginateOnLowerStepLevel && ySizeIncludingFirst > yWithinMargins) KeepStepsOnPage = false; // B2020-123: Missing section continue message - if (MyParent.CalvertPrintedSubSectTitle) nearTheTop = true; + // B2020-158 Calvert Approved Unit1 EOP-8/Appendix(1)/subsection RIC-2/Step A was printing by itself on bottom of page + if (MyParent.CalvertPrintedSubSectTitle && !MyItemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvertPagination) nearTheTop = true; bool KeepWithHeader = isFirstChild && nearTheTop; if (BreakHighLevelStepWithSection) KeepWithHeader = true; // for a HLS that has an asterisk box with the rno separator IN the box, adjust the size by 2 lines to account for box.