Pagination Logic associated with steps that are too large to fit on a page but the first substep will fit on a page corrected.

Logic added to align the AER step with an RNO step that has a caution or note.
This commit is contained in:
Rich
2014-02-07 15:44:20 +00:00
parent 0f59d980b1
commit 2369fe62dc
2 changed files with 13 additions and 4 deletions

View File

@@ -1909,8 +1909,14 @@ namespace Volian.Print.Library
float yOffRight = yoff;
float RnoOffset = ToInt(formatInfo.MyStepSectionLayoutData.ColRTable, maxRNO);
if (rnoLevel < maxRNO && itemInfo.RNOs != null)
{
yOffRight = ChildrenRight.Add(cb, itemInfo.RNOs, XOffset + RnoOffset, YTop, YTop, rnoLevel + 1, maxRNO, formatInfo);
if (ChildrenRight[0].ChildrenAbove.Count > 0)
{
YOffset = ChildrenRight[0].YOffset;
if (MyTab != null) MyTab.YOffset = ChildrenRight[0].YOffset;
}
}
// Need code to determine if the table will overlap the Right Column if it does then
// use YOffRight rather than yoff
if (itemInfo.Tables != null)