From c8ee2ce6a6d084a8fca21dfc3f6018eb2fe423e6 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 25 Jan 2014 00:36:04 +0000 Subject: [PATCH] Logic to support new bottom continue message location type --- PROMS/Volian.Print.Library/vlnParagraph.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index f1a6dc2c..be347035 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -898,6 +898,9 @@ namespace Volian.Print.Library //msg_yLocation = yBottomMargin + 2 * SixLinesPerInch + (float)docstyle.Layout.FooterLength; // 2 lines above bottom margin msg_yLocation = msg_yLocation + yBtmMarginForMsg + (float)docstyle.Layout.FooterLength; break; + case E_ContBottomLoc.BelowBottom1: + msg_yLocation = msg_yLocation + yBtmMarginForMsg; + break; default: Console.WriteLine("**** BOTTOM CONTINUE MESSAGE NOT CODED*****"); break; @@ -908,7 +911,7 @@ namespace Volian.Print.Library if (RNOContinueOnly) { // The following line was added for McGuire APs/AP/1/5500/12, Step 13 - if (msg_yLocation < yBottomMargin + SixLinesPerInch) msg_yLocation = yBottomMargin + SixLinesPerInch; + //if (msg_yLocation < yBottomMargin + SixLinesPerInch) msg_yLocation = yBottomMargin + SixLinesPerInch; int colR = int.Parse(MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.ColRTable.Split(",".ToCharArray())[MyItemInfo.ColumnMode]); xoffB = colR + docstyle.Layout.LeftMargin + docstyle.Continue.Bottom.Margin ?? 0; }