diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index fc54c3db..60982a30 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -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++;