From 30059881f040e5c1724ab19de6218173273736ca Mon Sep 17 00:00:00 2001 From: Kathy Date: Fri, 10 Jul 2015 15:36:32 +0000 Subject: [PATCH] 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 --- PROMS/Formats/fmtall/TUECall.xml | Bin 58726 -> 58728 bytes PROMS/Formats/fmtall/hlpfsgall.xml | Bin 103680 -> 103686 bytes PROMS/Volian.Print.Library/Pagination.cs | 4 ++++ 3 files changed, 4 insertions(+) diff --git a/PROMS/Formats/fmtall/TUECall.xml b/PROMS/Formats/fmtall/TUECall.xml index d8f454d3e3d7e6dd44d6d6974ea2debb8ced4520..908a311cc04cca1205b869e662345c12e0cd75b9 100644 GIT binary patch delta 22 ecmaEMiuuJU<_+)eFdH%$P2TuOb~Df2C=LLIISPsZ delta 23 fcmaEHiuu_o<_+)eOzyi= 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.