B2017-252 - Corrected pagination logic when the calculated paragraph break excedes the location of the next HLS, Caution or Note.
This commit is contained in:
parent
29b09fe6ce
commit
960debcd69
@ -1173,10 +1173,15 @@ namespace Volian.Print.Library
|
||||
if (PageBreakOnStepList[0].YTop <= paraBreak.YTop)
|
||||
{
|
||||
PageBreakOnStepList[0].CompressFirstPartOfStep = paraBreak.CompressFirstPartOfStep;
|
||||
// B2017-252 Robinson EOP Upgrade Basis Phase 1 Procedure set located in the Pre-Upgrade (Legacy) folder,
|
||||
// EOP-FR-S.1-BD, WOG Step 13 no longer fits Deviations and References on the same page.
|
||||
// Added the IF condition to fix the problem
|
||||
// B2017-161: unnecessary PageBreak for background documents: use the 'usedPageBreakOnStepList' flag when using the PageBreakOnStepList, don't adjust space on page to account
|
||||
// for continue message, if there is not one.
|
||||
if (paraBreak != PageBreakOnStepList[0]) usedPageBreakOnStepList = true;
|
||||
paraBreak = PageBreakOnStepList[0];
|
||||
PageBreakOnStepList.RemoveAt(0);
|
||||
yTopNew = paraBreak.YTop - YTopMost;
|
||||
usedPageBreakOnStepList = true;
|
||||
}
|
||||
// The following code caused forced pagination for Catawba EOP BG - EP/1/A/5000/FR-C.1.SC..S16..N2..S4..S1.
|
||||
//else if(PageBreakOnStepList[0].YSize - yTop <= ySpaceOnCurPage)
|
||||
@ -1201,6 +1206,8 @@ namespace Volian.Print.Library
|
||||
doSectionTitleContinued1 = false;
|
||||
}
|
||||
if (doSectionTitleContinued1) ySpaceOnNextPage1 -= 2 * SixLinesPerInch; // B2016-195: Account for Section Continue Message
|
||||
// B2017-161: unnecessary PageBreak for background documents: use the 'usedPageBreakOnStepList' flag when using the PageBreakOnStepList, don't adjust space on page to account
|
||||
// for continue message, if there is not one.
|
||||
if (!usedPageBreakOnStepList) ySpaceOnCurPage = ySpaceOnNextPage1;
|
||||
|
||||
//ySpaceOnCurPage = yPageSize - (myTopMsgSpace + SixLinesPerInch); // Allow for continue message and blank line.
|
||||
|
Loading…
x
Reference in New Issue
Block a user