B2023-011: Beaver Valley – continuous section printing on its own page throws off CAS/blank pages

This commit is contained in:
Kathy Ruffing 2023-02-21 14:18:39 +00:00
parent 408e60665a
commit 6cb7a0cf5c

View File

@ -1803,7 +1803,10 @@ namespace Volian.Print.Library
// Only do foldout page if not done for section break, i.e. check the there's a previous step.
if (MyItemInfo.MyPrevious != null && MyItemInfo.FoldoutIndex() > -1)
MyPromsPrinter.DoFoldoutPage(cb, "HLS", MyPageHelper.TextLayer, MyPageHelper, MyItemInfo.FoldoutIndex(), false);
else if (PromsPrinter.MyFoldoutReader.Count > 0 && MyPageHelper.MyPromsPrinter.InsertBlankPages && (MyItemInfo.IsHigh && MyItemInfo.MyPrevious != null)) // B2018-108 if paginating on first step don't add blank page (it was already added at this point)
// B2018-108 if paginating on first step don't add blank page (it was already added at this point)
// B2023-011: Beaver Valley - continuous section printing on its own page throws off CAS/blank pages
// added the IsSection check to the else if
else if (PromsPrinter.MyFoldoutReader.Count > 0 && MyPageHelper.MyPromsPrinter.InsertBlankPages && (MyItemInfo.IsSection || (MyItemInfo.IsHigh && MyItemInfo.MyPrevious != null)))
{
// insert a blank page if this step section had a foldout associated and the checkbox
// on the print dialog, to add blank pages, is checked AND the page did NOT have a