Calvert: fixed printing of 'Date Time Note' in previous siblings box - now prints it separately without box.

This commit is contained in:
Kathy Ruffing 2014-11-14 15:04:07 +00:00
parent d06c896795
commit f68a68c63a

View File

@ -253,6 +253,17 @@ namespace Volian.Print.Library
}
bxIndex = bxIndx;
}
else if (((bxIndx ?? -1) == -1) && box != null)
{
// BGE STP has a null box for its 'Date Time Stamp', i.e. Note4,
// without this code if there is a previous sibling the 'Date Time Note' was
// included in its previous sibling's box:
// (STBoxindex="" is how Note4's box in BGE STP is defined - it is the only place
// in the format files that this is done)
box.Height = yoff - box.YOffset; // new height, with children
yoff += 2 * vlnPrintObject.SixLinesPerInch;
box = null;
}
// DoubleBoxHls is a format flag used by BGE to draw double lined boxes around their HLS
if (childItemInfo.IsHigh && ((childItemInfo.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DoubleBoxHLS) == E_DocStructStyle.DoubleBoxHLS))
{