From 3f695a95a4b62586c7ef81b02e03a1f865ad6f0c Mon Sep 17 00:00:00 2001 From: John Date: Wed, 8 Jan 2020 15:25:59 +0000 Subject: [PATCH] B2020-0001 Catawba/McGuire when paginated on a section (set to continuous) the extra line before the section title was printed at the top of page. We now remove that extra line for this pagination case. --- PROMS/Volian.Print.Library/vlnParagraph.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index e00b1095..aeb292c9 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -1756,6 +1756,10 @@ namespace Volian.Print.Library cb.Transform(myMatrix); } yPageStart = yTopMargin + YTopMost; + // B2020-001 Catawba had an extra line at the top of a page that paginated on a section (EP/1/A/5000/E0 section B) + // Needed to remove the extra line spacing that is before the start of section B - (section is set for continuous pagination) + if (MyItemInfo.IsSection && MyItemInfo.ActiveFormat.MyStepSectionLayoutData.CustomSpacing) + yPageStart += (float)MyItemInfo.ActiveFormat.PlantFormat.FormatData.StepDataList[25].StepLayoutData.STExtraSpace; DoCheckOffHeader(cb, MyItemInfo, yLocation, yTopMargin, yPageStart); SectionTopMessage(cb, yTopMargin, yLocation); // does wcntraining & suppinfo section title if (MyPageHelper.CreatingSupInfoPage) yPageStart -= (2 * SixLinesPerInch);