B2022-130: Barakah – Printing of Warning box line into above text line
This commit is contained in:
parent
07a17498b6
commit
c9204fc578
@ -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++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user