From ba6eff87f4590ce2e6e56257cc9e121b2422b024 Mon Sep 17 00:00:00 2001 From: Kathy Date: Thu, 16 Oct 2014 12:51:07 +0000 Subject: [PATCH] =?UTF-8?q?BGE=5FSTP:=20Implement=20=E2=80=98CheckOffHeade?= =?UTF-8?q?rInPagelist=E2=80=99=20and=20=E2=80=98CheckOffXtraLines?= =?UTF-8?q?=E2=80=99=20format=20flags?= 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, 5 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index b08d2709..eee16249 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -2597,7 +2597,10 @@ namespace Volian.Print.Library xloc_co = XOffset + (relX > 0 ? Width : 0) + relX; } } - PartsRight.Add(new vlnMacro(xloc_co, yForCheckoff, co.Macro)); + float xtraCheckOffLines = (co.CheckOffXtraLines ?? 0) * SixLinesPerInch; + xtraCheckOffLines -= ((xtraCheckOffLines>0)? SixLinesPerInch:0); + PartsRight.Add(new vlnMacro(xloc_co, yForCheckoff + xtraCheckOffLines, co.Macro)); + yoff += (xtraCheckOffLines > 0) ? xtraCheckOffLines + SixLinesPerInch : 0; } } float yOffRight = yoff; @@ -4245,6 +4248,7 @@ namespace Volian.Print.Library SectionConfig sc = itemInfo.MyActiveSection.MyConfig as SectionConfig; if (sc != null && sc.Section_CheckoffHeaderSelection > 0) return true; } + if (formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffHeaderInPagelist) return true; return false; } // Currently not used.