if the boxes surrounding different notes cautions AND HEADERS are different, add a line between boxes
This commit is contained in:
parent
7348a5f119
commit
ce776ace0e
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user