B2020-026: FNP - overlap of caution/note box

This commit is contained in:
Kathy Ruffing 2020-03-03 15:43:30 +00:00
parent 5de657556f
commit f3b7903292

View File

@ -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;
}