WCN has many sections that do not contain steps. The pagination logic has been changed to support Sections without steps.
This commit is contained in:
parent
7f38f14657
commit
e9aea4eeb5
@ -73,6 +73,11 @@ namespace Volian.Print.Library
|
||||
if (MyItemInfo.MyPrevious != null) // add if statement to fix Westinghouse print issue 3-21-2014
|
||||
return 1;
|
||||
}
|
||||
if (MyItemInfo.IsSection && _ChildrenBelow == null && YSize > (yLocation-yBottomMargin))
|
||||
{
|
||||
ShowPageBreak(1, "Page Break before empty section", "Yes", YSize, yPageSize, yWithinMargins, ManualPageBreak);
|
||||
return 1;
|
||||
}
|
||||
// if the EndForSingle format flag is set to false, then we do not print an End message if the section
|
||||
// is a single column section.
|
||||
//bool _skipEndMessage = MyPageHelper.MySection.SectionConfig.Section_ColumnMode == SectionConfig.SectionColumnMode.One && !MyItemInfo.ActiveFormat.MyStepSectionLayoutData.EndForSingle;
|
||||
|
Loading…
x
Reference in New Issue
Block a user