diff --git a/PROMS/Volian.Print.Library/Pagination.cs b/PROMS/Volian.Print.Library/Pagination.cs index 1b80db15..2633b070 100644 --- a/PROMS/Volian.Print.Library/Pagination.cs +++ b/PROMS/Volian.Print.Library/Pagination.cs @@ -687,6 +687,15 @@ namespace Volian.Print.Library ShowPageBreak(6, CheckForFirstCompression("HLS with RNO will have to split on next page"), "Special", YSize, yPageSizeNextPage, yWithinMargins, ManualPageBreak); return 1; } + // B2023-047: Beaver Valley - pagination of subsection set as separate pagination. Need to reset page break + // list because & return 1 to start on new page. + else if (MyPageHelper.ParaBreaks.Count > 0 && this.MyItemInfo.IsHigh && sepPaginationForSubSection) + { + MyPageHelper.ParaBreaks.Clear(); + BuildPageBreakList(yPageSize + yExtra, yPageSizeNextPage + yExtra2, KeepStepsOnPage, yEndMsg, doSectionTitleContinued & SectionShowTitles, true); + ShowPageBreak(6, CheckForFirstCompression("HLS with Separate Pagination for SubSection"), "Special", YSize, yPageSizeNextPage, yWithinMargins, ManualPageBreak); + return 1; + } return 0; // Stay on this page }