B2018-108 Getting two blank pages between some attachment sections (step editor) in procedures using duplex foldouts (floating foldouts)

This commit is contained in:
John Jenko 2018-07-25 14:47:20 +00:00
parent e14f037e8d
commit 5bf50a92df

View File

@ -1771,7 +1771,7 @@ namespace Volian.Print.Library
// Only do foldout page if not done for section break, i.e. check the there's a previous step. // 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) if (MyItemInfo.MyPrevious != null && MyItemInfo.FoldoutIndex() > -1)
MyPromsPrinter.DoFoldoutPage(cb, "HLS", MyPageHelper.TextLayer, MyPageHelper, MyItemInfo.FoldoutIndex(), false); MyPromsPrinter.DoFoldoutPage(cb, "HLS", MyPageHelper.TextLayer, MyPageHelper, MyItemInfo.FoldoutIndex(), false);
else if (PromsPrinter.MyFoldoutReader.Count > 0 && MyPageHelper.MyPromsPrinter.InsertBlankPages) 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)
{ {
// insert a blank page if this step section had a foldout associated and the checkbox // 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 // on the print dialog, to add blank pages, is checked AND the page did NOT have a