increase pagelen of the Procedure step section & set footerlength = 12 if docstyle has bottom messages
set footerlength = 12 for Purpose sections Allow a single line HLS that is last in section to print into footer
This commit is contained in:
parent
d398387142
commit
30059881f0
Binary file not shown.
Binary file not shown.
@ -324,6 +324,10 @@ namespace Volian.Print.Library
|
||||
if (MyItemInfo.IsStep && MyItemInfo.MyHLS.FormatStepData.StepLayoutData.STBoxindex != null && MyItemInfo.MyHLS.FormatStepData.StepLayoutData.STBoxindex >= 0 &&
|
||||
(MyItemInfo.RNOs==null ||MyItemInfo.RNOs.Count==0))
|
||||
mySize += (2*SixLinesPerInch);
|
||||
// mySize is the size of this step and includes an extra blank line. For HLS, if this is the last step in section & there is room in footer to keep
|
||||
// step on the page, do so by eliminating the blank line before doing the test to see if it fits.
|
||||
if (MyItemInfo.IsHigh && mySize >= (2 * SixLinesPerInch) && MyItemInfo.MyDocStyle.Layout.FooterLength > 0 && (MyItemInfo.MyDocStyle.End.Message == null || MyItemInfo.MyDocStyle.End.Message == "") && MyItemInfo.NextItemCount == 0 && (MyItemInfo.Steps == null || MyItemInfo.Steps.Count == 0) && (MyItemInfo.RNOs == null || MyItemInfo.RNOs.Count == 0))
|
||||
mySize -= SixLinesPerInch;
|
||||
//// Account for extra lines in the end message (flag < 0)
|
||||
float adjMsgY = 0;
|
||||
if (MyItemInfo.IsHigh && MyItemInfo.NextItem == null && MyItemInfo.MyDocStyle.End.Flag < 0) // Adjust this many lines down the page.
|
||||
|
Loading…
x
Reference in New Issue
Block a user