B2016-266 Fixed pagination logic for Section Continue Message
This commit is contained in:
parent
e27bbff7d8
commit
10508fef5f
@ -1107,7 +1107,8 @@ namespace Volian.Print.Library
|
||||
MyPageHelper.ParaBreaks.Add(paraBreak);
|
||||
ySpaceOnNextPage1 -= paraBreak.GetSectionTopMessageSize(); // B2016-134: Account for wcntraining section top continue on substep containers (notes/cautions)
|
||||
SectionConfig sch = MyItemInfo.ActiveSection.MyConfig as SectionConfig;
|
||||
bool doSectionTitleContinued1 = (sch == null || sch.Section_PrintHdr == "Y") && !MyItemInfo.MyDocStyle.CancelSectTitle;
|
||||
// B2016-266 Only set SectionTitleContinued1 if the format supports section continue messages
|
||||
bool doSectionTitleContinued1 = (sch == null || sch.Section_PrintHdr == "Y") && !MyItemInfo.MyDocStyle.CancelSectTitle && MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.ContinueSectionHeader;
|
||||
if (doSectionTitleContinued1) ySpaceOnNextPage1 -= 2 * SixLinesPerInch; // B2016-195: Account for Section Continue Message
|
||||
ySpaceOnCurPage = ySpaceOnNextPage1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user