B2019-170: Fixed VCS pagination problem
This commit is contained in:
parent
72fda5e4ae
commit
ead7a40048
@ -1454,8 +1454,10 @@ namespace Volian.Print.Library
|
||||
{
|
||||
// The following lines were added for Comanche Peak ECA-TP-11-001A.SProcedure Steps.S17 (Printed as Step 12)
|
||||
if (spaceOnPage > 0 && myPara.YSize > fullPage && myPara.ChildrenRight != null && myPara.ChildrenRight.Count > 0
|
||||
&& myPara.ChildrenRight[0].YSize <= fullPage && myPara.ChildrenRight[0].YSize > spaceOnPage
|
||||
&& !myPara.MyItemInfo.IsHigh) // B2018-104: don't return if my parent is a high level - a top continue message was printing
|
||||
&& myPara.ChildrenRight[0].YSize <= fullPage && myPara.ChildrenRight[0].YSize > spaceOnPage)
|
||||
// B2019-170: VCS page break causes printing of step on top of next page. Note that this bug fix for WCN
|
||||
// was commented out. Harry Julian wanted this on 11/15/19. A new bug will be written for the WCN error.
|
||||
//&& !myPara.MyItemInfo.IsHigh) // B2018-104: don't return if my parent is a high level - a top continue message was printing
|
||||
{
|
||||
//_MyLog.WarnFormat("\r\nMyParaBreak {0},{1},{2},{3},{4}", myPara, myPara.YSize, yUpperLimit, myPara.ChildrenRight[0].YSize, spaceOnPage);
|
||||
if (myPara != lastBreak)
|
||||
@ -1465,8 +1467,10 @@ namespace Volian.Print.Library
|
||||
vlnParagraph myParent = myPara.MyParent;
|
||||
spaceOnPage = yAddForBtmMsg + yUpperLimit + myPara.YTop + yLocation - myParent.YTop;
|
||||
if (spaceOnPage > 0 && myParent != lastBreak && myParent.YSize > fullPage && myParent.ChildrenRight != null && myParent.ChildrenRight.Count > 0
|
||||
&& myParent.ChildrenRight[0].YSize <= fullPage && myParent.ChildrenRight[0].YSize > spaceOnPage
|
||||
&& !myParent.MyItemInfo.IsHigh) // B2018-104: don't return if my parent is a high level - a top continue message was printing
|
||||
&& myParent.ChildrenRight[0].YSize <= fullPage && myParent.ChildrenRight[0].YSize > spaceOnPage)
|
||||
// B2019-170: VCS page break causes printing of step on top of next page. Note that this bug fix for WCN
|
||||
// was commented out. Harry Julian wanted this on 11/15/19. A new bug will be written for the WCN error.
|
||||
//&& !myParent.MyItemInfo.IsHigh) // B2018-104: don't return if my parent is a high level - a top continue message was printing
|
||||
{
|
||||
//_MyLog.WarnFormat("\r\nMyParentBreak {0},{1},{2},{3},{4}", myParent, myParent.YSize, yUpperLimit, myParent.ChildrenRight[0].YSize, spaceOnPage);
|
||||
if (myParent != lastBreak)
|
||||
|
Loading…
x
Reference in New Issue
Block a user