B2022-130: Barakah – Printing of Warning box line into above text line

This commit is contained in:
Kathy Ruffing 2022-10-24 13:27:08 +00:00
parent 07a17498b6
commit c9204fc578

View File

@ -208,6 +208,12 @@ namespace Volian.Print.Library
box.MyBox = formatInfo.PlantFormat.FormatData.BoxList[(int)bxIndx];
if (box.MyBox != null)
{
// B2022-130: Barakah warning box prints on bottom of section title if warning is on first HLS
if (box.MyBox.ThickDouble && childItemInfo.MyParent != null && childItemInfo.MyParent.IsHigh && childItemInfo.MyParent.ItemID == childItemInfo.MyParent.FirstSibling.ItemID)
{
if (!childItemInfo.MyParent.MyParent.MyDocStyle.CancelSectTitle)
yoff += vlnPrintObject.SixLinesPerInch;
}
box.YOffset = yoff;
int ln = 1; // a format flag determines whether there is a space before the note/caution.
if (childItemInfo.FormatStepData.OneLineBeforeTab) ln++;