From 6c2d8eec2600675e53d4e6dd36502e48fb75ecf5 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 5 Dec 2014 20:23:09 +0000 Subject: [PATCH] Fixed a forced pagination issue --- PROMS/Volian.Print.Library/Pagination.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PROMS/Volian.Print.Library/Pagination.cs b/PROMS/Volian.Print.Library/Pagination.cs index 2f51a2d1..ede17255 100644 --- a/PROMS/Volian.Print.Library/Pagination.cs +++ b/PROMS/Volian.Print.Library/Pagination.cs @@ -291,6 +291,8 @@ namespace Volian.Print.Library yExtra -= sectionSpace; yExtra2 -= sectionSpace; } + if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvert && yPageSizeNextPage < yWithinMargins + 108 && MyItemInfo.MyPrevious == null) + KeepStepsOnPage = true; if (!KeepWithHeader && !KeepStepsOnPage && YSize - SixLinesPerInch + yEndMsg <= yPageSizeNextPage) // if the entire step can fit on one page, do a page break { // Don't want extra line before step