From f3b79032927f3c3b9ab10826e9bcd965447455f9 Mon Sep 17 00:00:00 2001 From: Kathy Date: Tue, 3 Mar 2020 15:43:30 +0000 Subject: [PATCH] B2020-026: FNP - overlap of caution/note box --- PROMS/Volian.Print.Library/vlnParagraph.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index e2c6739c..7c1fff39 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -243,6 +243,10 @@ namespace Volian.Print.Library && ((childItemInfo.MyPrevious.IsCaution && childItemInfo.IsCaution) || (childItemInfo.MyPrevious.IsNote && childItemInfo.IsNote) || childItemInfo.FormatStepData.SeparateBox)) yoff += vlnPrintObject.SixLinesPerInch * 2; + // B2020-026: Farley - Notes before Cautions/cautions and notes in same 'parts' list, so bxIndex what not null, need + // to add an extra line after note box. + else if (formatInfo.Name.ToUpper().StartsWith("FNP") && childItemInfo.MyPrevious != null && childItemInfo.MyPrevious.IsNote && childItemInfo.IsCaution) + yoff += vlnPrintObject.SixLinesPerInch * 2; else if (doSeparateBoxHdrChg) yoff += vlnPrintObject.SixLinesPerInch * 2; }