B2020-102: extra blank page after Auto TOC when foldout pages were also printed

This commit is contained in:
Kathy Ruffing 2020-07-31 12:43:18 +00:00
parent 780e8d1503
commit 251f32815b

View File

@ -947,11 +947,12 @@ namespace Volian.Print.Library
InsertBlankPage(cb);
}
GenerateTOC(mySection, myProcedure, cb, _TextLayer);
// B2020-102: extra page printing after auto TOC for summer. Retested for Farley and was successful also
// F2018-033: Farley Auto TOC. If doing foldouts or supinfo facing pages, add a blank page after also:
if (((cb.PdfWriter.CurrentPageNumber % 2 == 0 && !_MyHelper.CreatingFoldoutPage) || myProcedure.ProcHasSupInfoData) && InsertBlankPages) // Bug Fix: B2016-181 - add blank page if page count is even
{
InsertBlankPage(cb);
}
//if (myProcedure.ProcHasSupInfoData && InsertBlankPages) // Bug Fix: B2016-181 - add blank page if page count is even
//{
// InsertBlankPage(cb);
//}
}
else
{