Fixed a null reference issue when a procedure set does not have an RO path set.

Fixed a printing issue with Catawba AP data where Notes and Cautions on high level RNOs started printing too high
This commit is contained in:
2014-02-11 22:08:10 +00:00
parent 53b4189c9d
commit 9b5bf56aca
2 changed files with 8 additions and 3 deletions

View File

@@ -1913,9 +1913,12 @@ namespace Volian.Print.Library
yOffRight = ChildrenRight.Add(cb, itemInfo.RNOs, XOffset + RnoOffset, YTop, YTop, rnoLevel + 1, maxRNO, formatInfo);
if (ChildrenRight[0].ChildrenAbove.Count > 0)
{
float adj = ChildrenRight[0].YOffset - YOffset;
YOffset = ChildrenRight[0].YOffset;
yoff += adj;
if (MyTab != null) MyTab.YOffset = ChildrenRight[0].YOffset;
if (PartsRight.Count > 0) PartsRight[0].YOffset = ChildrenRight[0].YOffset;
YTopMost = ChildrenRight[0].ChildrenAbove[0].YOffset;
}
}
// Need code to determine if the table will overlap the Right Column if it does then