This commit is contained in:
parent
7f4896e4c1
commit
d1ff0188a7
@ -264,6 +264,8 @@ namespace Volian.Print.Library
|
|||||||
private string Print(ProcedureInfo myProcedure, string pdfFolder)
|
private string Print(ProcedureInfo myProcedure, string pdfFolder)
|
||||||
{
|
{
|
||||||
_MyFoldoutReader = null;
|
_MyFoldoutReader = null;
|
||||||
|
if (myProcedure.Sections != null)
|
||||||
|
{
|
||||||
foreach (SectionInfo mySection in myProcedure.Sections)
|
foreach (SectionInfo mySection in myProcedure.Sections)
|
||||||
{
|
{
|
||||||
if (mySection.MyContent.Number.ToUpper() == "FOLDOUT")
|
if (mySection.MyContent.Number.ToUpper() == "FOLDOUT")
|
||||||
@ -273,6 +275,7 @@ namespace Volian.Print.Library
|
|||||||
_MyFoldoutReader = foldoutPdf != null ? new PdfReader(foldoutPdf) : null;
|
_MyFoldoutReader = foldoutPdf != null ? new PdfReader(foldoutPdf) : null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
OnStatusChanged("Print " + myProcedure.DisplayNumber, PromsPrinterStatusType.Start);
|
OnStatusChanged("Print " + myProcedure.DisplayNumber, PromsPrinterStatusType.Start);
|
||||||
string outputFileName = pdfFolder + "\\" + PDFFile;
|
string outputFileName = pdfFolder + "\\" + PDFFile;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user