Fixed a forced pagination issue

This commit is contained in:
John Jenko 2014-12-05 20:23:09 +00:00
parent 298354f4fd
commit 6c2d8eec26

View File

@ -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