B2017-036 - Fixed logic to account for Section Continue Message. Found in Automated Testing
This commit is contained in:
parent
67df417088
commit
a958f403d8
@ -265,7 +265,7 @@ namespace Volian.Print.Library
|
||||
return 0; // Don't Paginate (page break) on a Step Section if it's first thing on page
|
||||
}
|
||||
if (!MyItemInfo.IsHigh) return 0; // Don't Paginate on a Substep level
|
||||
bool doSectionTitleContinued = false;
|
||||
bool doSectionTitleContinued = false;
|
||||
if (MyPageHelper.NotesToFootNotes != null && MyPageHelper.NotesToFootNotes.Count > 0)
|
||||
{
|
||||
float vpHeight = SixLinesPerInch;
|
||||
@ -1109,6 +1109,12 @@ namespace Volian.Print.Library
|
||||
SectionConfig sch = MyItemInfo.ActiveSection.MyConfig as SectionConfig;
|
||||
// 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 && MyItemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvert)
|
||||
{
|
||||
string myMsg = MyItemInfo.MyDocStyle.Continue.Top.Message;
|
||||
if (myMsg != null && myMsg != "")
|
||||
doSectionTitleContinued1 = false;
|
||||
}
|
||||
if (doSectionTitleContinued1) ySpaceOnNextPage1 -= 2 * SixLinesPerInch; // B2016-195: Account for Section Continue Message
|
||||
ySpaceOnCurPage = ySpaceOnNextPage1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user