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.

This commit is contained in:
John Jenko 2020-01-08 15:25:59 +00:00
parent b5fb3dbfdd
commit 3f695a95a4

View File

@ -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);