Changed logic for ComponentList Page Breaks
If a page break in the RNO column falls within the range of an AER step, use the AER Step for the page break. Dont break at the first substep if the first substep is an OR or Explicit AND
This commit is contained in:
@@ -1331,7 +1331,12 @@ namespace Volian.Print.Library
|
||||
vlnParagraph para = this;
|
||||
if (!MyItemInfo.ActiveFormat.MyStepSectionLayoutData.PaginateOnFirstSubstep && ChildrenBelow != null && ChildrenBelow.Count > 0)
|
||||
{
|
||||
para = ChildrenBelow[0].GetFirstPieceLastPart();
|
||||
// If the substep has a separator (OR, AND) then return the last substep rather than the first.
|
||||
string mySep = ChildrenBelow[0].MyItemInfo.FormatStepData.Sep ?? "{Null}";
|
||||
if (mySep != "{Null}" && mySep != "")
|
||||
para = ChildrenBelow[ChildrenBelow.Count - 1].GetFirstPieceLastPart();
|
||||
else
|
||||
para = ChildrenBelow[0].GetFirstPieceLastPart();
|
||||
}
|
||||
if (ChildrenRight != null && ChildrenRight.Count > 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user