From f3a7fb527e2ebccd8c7af81e1da8496ab039114a Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 18 Mar 2015 15:28:43 +0000 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20print=20bottom=20continue=20mes?= =?UTF-8?q?sage=20over=20bottom=20box=20line=20&=20added=20yoffset=20to=20?= =?UTF-8?q?debug=20printout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/Volian.Print.Library/vlnParagraph.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index a7e1fa9f..3983bd79 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -1064,8 +1064,8 @@ namespace Volian.Print.Library { if (!Rtf2Pdf.PdfDebug) return "No Path"; int profileDepth = ProfileTimer.Push(">>>> vlnParagraph.DebugInfo"); - string retval = string.Format("DebugID = {0}, ID={1} Type={2} TypeName='{3}' StepLevel={4} ShortPath={5} Width={6} Left={7}", - DebugId, MyItemInfo.ItemID, MyItemInfo.FormatStepType, MyItemInfo.FormatStepData == null ? "NoStepData" : MyItemInfo.FormatStepData.Type, MyItemInfo.StepLevel, MyItemInfo.ShortPath, Width, XOffset); + string retval = string.Format("DebugID = {0}, ID={1} Type={2} TypeName='{3}' StepLevel={4} ShortPath={5} Width={6} Left={7} YOffset={8}", + DebugId, MyItemInfo.ItemID, MyItemInfo.FormatStepType, MyItemInfo.FormatStepData == null ? "NoStepData" : MyItemInfo.FormatStepData.Type, MyItemInfo.StepLevel, MyItemInfo.ShortPath, Width, XOffset, YOffset); ProfileTimer.Pop(profileDepth); return retval; } @@ -2024,7 +2024,7 @@ namespace Volian.Print.Library break; case E_ContBottomLoc.BtwnTextAndBottom: // place continue string between end of text & bottom of page msg_yLocation = msg_yLocation + yLocation - ((yLocation - yBottomMargin) / 2); // +SixLinesPerInch; // (need this for IP3) - if (msg_yLocation < yBottomMargin) msg_yLocation = yBottomMargin; + msg_yLocation = Math.Max(msg_yLocation, yBottomMargin+SixLinesPerInch); break; case E_ContBottomLoc.BottomOfPage: // place continue message at bottom of page //msg_yLocation = yBottomMargin + 2 * SixLinesPerInch + (float)docstyle.Layout.FooterLength; // 2 lines above bottom margin