Fixed logic to correctly determine page break location at the end of a Condition/Response substep.
This commit is contained in:
parent
77e02fd438
commit
7c26029b92
@ -469,7 +469,7 @@ namespace Volian.Print.Library
|
|||||||
paraBreak = paraBreak.MyParent.ChildrenAbove[0];
|
paraBreak = paraBreak.MyParent.ChildrenAbove[0];
|
||||||
}
|
}
|
||||||
// If the lastbreak was part of a condition response and the location is part of a condition response account for the size of the footer.
|
// If the lastbreak was part of a condition response and the location is part of a condition response account for the size of the footer.
|
||||||
if (lastBreak != null && lastBreak.ParentHasCalvertMacro && paraBreak.ParentHasCalvertMacro)
|
if (lastBreak != null && lastBreak.ParentHasCalvertMacro)
|
||||||
{
|
{
|
||||||
paraBreak = FindPageBreak(yStart, ySpaceOnCurPage - 12 * 4, yLowerLimit, myList, paraBreak, yPageSize - (myTopMsgSpace + SixLinesPerInch) - myBottomMsgSpace,
|
paraBreak = FindPageBreak(yStart, ySpaceOnCurPage - 12 * 4, yLowerLimit, myList, paraBreak, yPageSize - (myTopMsgSpace + SixLinesPerInch) - myBottomMsgSpace,
|
||||||
myBottomMsgSpace, MyItemInfo.ActiveFormat.PlantFormat.FormatData.StepDataList[40].ContinueOnly);
|
myBottomMsgSpace, MyItemInfo.ActiveFormat.PlantFormat.FormatData.StepDataList[40].ContinueOnly);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user