diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index 6cd2bdb4..923de767 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -2961,13 +2961,15 @@ namespace Volian.Print.Library if (!vPara.Processed && ((vPara.YOffset + vPara.Height) < YTopMost)) // B2019-028: Added check for active section in next line so that following section text doesn't overlap or start too far down on page for case where there is a subsection // with subsections of type Step/Word/Step - if (vPara.MyItemInfo.ActiveSection.ItemID == this.MyItemInfo.ActiveSection.ItemID && (this.MyItemInfo.ItemID != vPara.MyItemInfo.ItemID)) // 20150701 Complicated RNO change + //if (vPara.MyItemInfo.ActiveSection.ItemID == this.MyItemInfo.ActiveSection.ItemID && (this.MyItemInfo.ItemID != vPara.MyItemInfo.ItemID)) // 20150701 Complicated RNO change + if (this.MyItemInfo.ItemID != vPara.MyItemInfo.ItemID) // B2019-077: 2.0 SCOPE empty section not printing for WES (revert to previous code line versus above) process.Add(vPara); else // 20150701 Complicated RNO change _MyLog.WarnFormat("Less Than: Step Could Have Fit {0}, {1}", MyItemInfo.ItemID, MyItemInfo.ShortPath); else if (!vPara.Processed && ((vPara.YOffset + vPara.Height) == YTopMost)) // B2019-028: see above comment (same check was added) - if (vPara.MyItemInfo.ActiveSection.ItemID == this.MyItemInfo.ActiveSection.ItemID && (this.MyItemInfo.ItemID != vPara.MyItemInfo.ItemID)) // RHM20150507 Table Scrunch + //if (vPara.MyItemInfo.ActiveSection.ItemID == this.MyItemInfo.ActiveSection.ItemID && (this.MyItemInfo.ItemID != vPara.MyItemInfo.ItemID)) // RHM20150507 Table Scrunch + if (this.MyItemInfo.ItemID != vPara.MyItemInfo.ItemID) // B2019-077: see above { process.Add(vPara); _MyLog.WarnFormat("New AerRno PageBreak Logic: Step Could Have Fit {0}, {1}", MyItemInfo.ItemID, MyItemInfo.ShortPath);