Fixed a Westinghouse print issue with procedure HSD-101 when the sub section numbers and titles were printing in the page header

This commit is contained in:
2014-03-21 19:48:41 +00:00
parent 9a0ffef782
commit 664d41fdb4
2 changed files with 6 additions and 4 deletions

View File

@@ -34,8 +34,9 @@ namespace Volian.Print.Library
float yWithinMargins = CalculateYLocation(yLocation, yTopMargin) - yBottomMargin; // -SixLinesPerInch;
if (MyItemInfo.IsSection && MyParent != null && MyParent.MyItemInfo.IsSection && (MyItemInfo as SectionInfo).IsSeparatePagination())
{
ShowPageBreak(1, "Page Break between separate sections", "Yes", YSize, yPageSize, yWithinMargins, ManualPageBreak);
return 1;
ShowPageBreak(1, "Page Break between separate sections", "Yes", YSize, yPageSize, yWithinMargins, ManualPageBreak);
if (MyItemInfo.MyPrevious != null) // add if statement to fix Westinghouse print issue 3-21-2014
return 1;
}
// if the EndForSingle format flag is set to false, then we do not print an End message if the section
// is a single column section.