B2017-036 - Fixed logic to account for Section Continue Message. Found in Automated Testing
This commit is contained in:
parent
67df417088
commit
a958f403d8
@ -1109,6 +1109,12 @@ namespace Volian.Print.Library
|
|||||||
SectionConfig sch = MyItemInfo.ActiveSection.MyConfig as SectionConfig;
|
SectionConfig sch = MyItemInfo.ActiveSection.MyConfig as SectionConfig;
|
||||||
// B2016-266 Only set SectionTitleContinued1 if the format supports section continue messages
|
// 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;
|
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
|
if (doSectionTitleContinued1) ySpaceOnNextPage1 -= 2 * SixLinesPerInch; // B2016-195: Account for Section Continue Message
|
||||||
ySpaceOnCurPage = ySpaceOnNextPage1;
|
ySpaceOnCurPage = ySpaceOnNextPage1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user