B2020-158 pagination fix for Calvert EOPs/AOPs.

This commit is contained in:
John Jenko 2020-12-01 14:19:43 +00:00
parent 867281200d
commit fbe233dd12

View File

@ -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.