Fixed ToPdf so that the RNO doesn't adjust the YPageStart in the middle of printing the AER.
This commit is contained in:
parent
08b0b27c64
commit
587e614eae
@ -1050,7 +1050,11 @@ namespace Volian.Print.Library
|
||||
yPageStart = yTopMargin + YTop;
|
||||
}
|
||||
yPageStart = ParagraphToPdf(cb, yPageStart, yTopMargin, yBottomMargin);
|
||||
yPageStart = ChildrenRight.ToPdf(cb, yPageStart, ref yTopMargin, ref yBottomMargin);
|
||||
// If the yPageStart changes by more than a small amount (pagination) in the RNO (right column), then update
|
||||
// yPageStart for the AER (left column).
|
||||
float yPageStartRNO = ChildrenRight.ToPdf(cb, yPageStart, ref yTopMargin, ref yBottomMargin);
|
||||
if (yPageStartRNO - yPageStart > 24) // 24 is two lines
|
||||
yPageStart = yPageStartRNO;
|
||||
yPageStart = ChildrenBelow.ToPdf(cb, yPageStart, ref yTopMargin, ref yBottomMargin);
|
||||
|
||||
if (MyItemInfo.IsHigh && MyItemInfo.NextItem == null) // last hls, add the 'end' message, if there is one
|
||||
|
Loading…
x
Reference in New Issue
Block a user