diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index 81ec256e..86722adc 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -229,7 +229,7 @@ namespace Volian.Print.Library if (box != null) { box.Height = yoff - box.YOffset; // new height, with children - if (formatInfo.PlantFormat.FormatData.PrintData.SpecialCaseCalvertAlarm || + if (formatInfo.PlantFormat.FormatData.PrintData.SpecialCaseCalvertAlarm || formatInfo.PlantFormat.FormatData.PrintData.SpecialCaseCalvert) { if (childItemInfo.MyHeader != null && childItemInfo.MyPrevious != null @@ -241,6 +241,8 @@ namespace Volian.Print.Library && ((childItemInfo.MyPrevious.IsCaution && childItemInfo.IsCaution) || (childItemInfo.MyPrevious.IsNote && childItemInfo.IsNote) || childItemInfo.FormatStepData.SeparateBox)) yoff += vlnPrintObject.SixLinesPerInch * 2; + else if (doSeparateBoxHdrChg) + yoff += vlnPrintObject.SixLinesPerInch * 2; } box = new vlnBox(); box.MyBox = formatInfo.PlantFormat.FormatData.BoxList[(int)bxIndx];