B2020-121: pagination/location of BGE Alarms, Condition Response Caution/Notes
This commit is contained in:
@@ -874,11 +874,14 @@ namespace Volian.Print.Library
|
||||
private vlnParagraph FirstCRParagraph(vlnParagraph pg)
|
||||
{
|
||||
if (pg.HasCalvertMacro) return null;
|
||||
while ( !pg.MyParent.HasCalvertMacro)
|
||||
while (!pg.MyParent.HasCalvertMacro)
|
||||
pg = pg.MyParent;
|
||||
if(pg.MyItemInfo.MyPrevious == null)
|
||||
if (pg.MyItemInfo.MyPrevious == null)
|
||||
return pg;
|
||||
return pg.MyParent.ChildrenBelow[0];
|
||||
// B2020-121: Account for Header on Caution or Note
|
||||
pg = pg.MyParent.ChildrenBelow[0];
|
||||
pg = pg.TopMostChild;
|
||||
return pg;
|
||||
}
|
||||
private void BuildPageBreakList(float ySpaceOnCurPage, float yPageSize, bool KeepStepsOnPage, float yEndMsg, bool doSectionTitleContinued, bool onNewPage)
|
||||
{
|
||||
|
Reference in New Issue
Block a user