This commit is contained in:
parent
b62a1ce79c
commit
6859ee7623
@ -275,7 +275,7 @@ namespace Volian.Print.Library
|
|||||||
{
|
{
|
||||||
foreach (SectionInfo mySection in myProcedure.Sections)
|
foreach (SectionInfo mySection in myProcedure.Sections)
|
||||||
{
|
{
|
||||||
if (mySection.MyContent.Number.ToUpper() == "FOLDOUT")
|
if (mySection.MyContent.Number.ToUpper() == "FOLDOUT") // || mySection.MyContent.Text.ToUpper() == "FOLDOUT")
|
||||||
{
|
{
|
||||||
_MyFoldoutSection = mySection;
|
_MyFoldoutSection = mySection;
|
||||||
string foldoutPdf = PrintProcedureOrFoldout(myProcedure, true, Volian.Base.Library.VlnSettings.TemporaryFolder + @"\Foldout.pdf");
|
string foldoutPdf = PrintProcedureOrFoldout(myProcedure, true, Volian.Base.Library.VlnSettings.TemporaryFolder + @"\Foldout.pdf");
|
||||||
@ -340,6 +340,7 @@ namespace Volian.Print.Library
|
|||||||
{
|
{
|
||||||
|
|
||||||
if ((mySection.MyContent.Number.ToUpper() == "FOLDOUT") != doingFoldout) continue;
|
if ((mySection.MyContent.Number.ToUpper() == "FOLDOUT") != doingFoldout) continue;
|
||||||
|
//if ((mySection.MyContent.Number.ToUpper() == "FOLDOUT") || mySection.MyContent.Text.ToUpper() == "FOLDOUT" ) != doingFoldout) continue;
|
||||||
SectionConfig sc = mySection.MyConfig as SectionConfig;
|
SectionConfig sc = mySection.MyConfig as SectionConfig;
|
||||||
#if AllButFirstPage
|
#if AllButFirstPage
|
||||||
if (_MyHelper != null && mySection.IsStepSection && mySection.MyPrevious != null && mySection.MyPrevious.IsStepSection)
|
if (_MyHelper != null && mySection.IsStepSection && mySection.MyPrevious != null && mySection.MyPrevious.IsStepSection)
|
||||||
@ -420,7 +421,7 @@ namespace Volian.Print.Library
|
|||||||
CreateWordDocPdf(cb, mySection, ref readerWord, ref myPdfFile);
|
CreateWordDocPdf(cb, mySection, ref readerWord, ref myPdfFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_MyHelper.BackgroundFile != null)
|
if (_MyHelper != null && _MyHelper.BackgroundFile != null)
|
||||||
{
|
{
|
||||||
_MyHelper.MySvg = null;
|
_MyHelper.MySvg = null;
|
||||||
while (cb.PdfWriter.CurrentPageNumber <= _MyHelper.BackgroundPageCount)
|
while (cb.PdfWriter.CurrentPageNumber <= _MyHelper.BackgroundPageCount)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user