diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index d1552585..ce01f699 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -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)) {