B2020-116: Pagination of WCN single column
This commit is contained in:
@@ -1254,8 +1254,10 @@ namespace Volian.Print.Library
|
||||
//float yTopNew = paraBreak.YTopMost - YTopMost;
|
||||
if (JustATableThatWillFit(paraBreak, yPageSize - (myTopMsgSpace + yEndMsg)))
|
||||
paraBreak = paraBreak.ChildrenBelow[0];
|
||||
// B2020-112: complicated AER/RNO. yEndMsg was accounted for twice
|
||||
float ySpaceOnNextPage1 = yPageSize - (myTopMsgSpace); // + (yEndMsg == 0 ? SixLinesPerInch : 0)); // Allow for continue message and blank line.
|
||||
// B2020-112: complicated AER/RNO. yEndMsg was accounted for twice -> put endmsg part back in, it broke wcn and didn't affect bge
|
||||
// B2020-116: the 112 change broke a WCN print of single column. The end message adjustment was added back in and retested for 112 also
|
||||
// and had no negative impact.
|
||||
float ySpaceOnNextPage1 = yPageSize - (myTopMsgSpace + (yEndMsg == 0 ? SixLinesPerInch : 0)); // Allow for continue message and blank line.
|
||||
ySpaceOnNextPage1 -= accountForSmartTemplateHeader;
|
||||
// This fixes B2016-174:
|
||||
// Added the check to not go into this code if on a step that needs to break. If the conditions were met, this
|
||||
|
Reference in New Issue
Block a user