Use property to initialize (prevent null reference)

Added sup info pdf print to supinfo print enum
Use sup info pdf print from enum
fixed typo and use sup info pdf print from enum
B2017-136: Support section titles in proc step sections that have SAMG facing page supplemental info
This commit is contained in:
2017-07-10 12:10:58 +00:00
parent f204e513de
commit 92dfcf47ed
5 changed files with 49 additions and 35 deletions

View File

@@ -80,7 +80,7 @@ namespace Volian.Print.Library
}
// If printing a supinfo pdf, see if there is a page break at this supinfo paragraph, i.e. an entry will
// exist in the list that contains the supinfo paragraph pagebreaks that was generated in the first pagebreak pass
if (MyPromsPrinter.SupInfoPrintType == E_SupInfoPrintType.Merge && MyPageHelper.CreatingSupInfoPage)
if (MyPromsPrinter.SupInfoPrintType == E_SupInfoPrintType.SupInfoPdfPrint)
{
int retval = 0;
SectionInfo supInfoSect = MyItemInfo.MyActiveSection as SectionInfo;