B2023-047: Beaver Valley – pagination of subsection set as separate pagination

This commit is contained in:
Kathy Ruffing 2023-05-05 14:28:52 +00:00
parent 4ba2391031
commit 580e69cd5a

View File

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