B2023-005: Beaver Valley CAS page, second page print of watermark is out of place

This commit is contained in:
2023-02-08 12:06:01 +00:00
parent ae831eac62
commit 7cf1d0e072
2 changed files with 18 additions and 1 deletions

View File

@@ -1397,9 +1397,11 @@ namespace Volian.Print.Library
// next page - this fixes an issue where the page we inserted for the backside of the previous section was the larger page
// size (11x17 vs 8x11)
bool pageForNextSection = (ii == sectPageCount - 1 && !InsertBlankPages);
_MyHelper.SpecialCAS = false;
if (mySection.MyDocStyle.DontInsertBlankPages && ii == sectPageCount - 1) // C2023-001 beaver valley CAS section type (has hard page break for back of page)
{
pageForNextSection = true;
_MyHelper.SpecialCAS = true; // B2023-005: Beaver Valley - flag to rotate watermark on 2nd CAS page
}
NewPage(pageForNextSection); // Word Document
//_MyLog.InfoFormat("NewPage 3 {0}", cb.PdfWriter.CurrentPageNumber);