diff --git a/PROMS/Volian.Print.Library/Pagination.cs b/PROMS/Volian.Print.Library/Pagination.cs index acc6ecb0..aa3d1d18 100644 --- a/PROMS/Volian.Print.Library/Pagination.cs +++ b/PROMS/Volian.Print.Library/Pagination.cs @@ -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;