This commit is contained in:
parent
85971ff103
commit
b4d21fb709
@ -100,7 +100,6 @@ namespace Volian.Print.Library
|
||||
OnStatusChanged(this, new PromsPrintStatusArgs(myStatus, type, progress));
|
||||
}
|
||||
private string _Rev;
|
||||
private string _RevDate;
|
||||
private ItemInfo _MyItem;
|
||||
private string _Watermark;
|
||||
private string _PDFFile;
|
||||
@ -149,11 +148,10 @@ namespace Volian.Print.Library
|
||||
get { return _OriginalPageBreak; }
|
||||
set { _OriginalPageBreak = value; }
|
||||
}
|
||||
public PromsPrinter(ItemInfo myItem, string rev, string revDate, string watermark, bool debugOutput, bool origPgBrk, string backgroundFolder, bool openPDF, bool overWrite, ChangeBarDefinition cbd, String pdfFile)
|
||||
public PromsPrinter(ItemInfo myItem, string rev, string watermark, bool debugOutput, bool origPgBrk, string backgroundFolder, bool openPDF, bool overWrite, ChangeBarDefinition cbd, String pdfFile)
|
||||
{
|
||||
_MyItem = myItem;
|
||||
_Rev = rev;
|
||||
_RevDate = revDate;
|
||||
_Watermark = watermark;
|
||||
_DebugOutput = debugOutput;
|
||||
_BackgroundFolder = backgroundFolder;
|
||||
@ -340,7 +338,7 @@ namespace Volian.Print.Library
|
||||
{
|
||||
|
||||
if ((mySection.MyContent.Number.ToUpper() == "FOLDOUT") != doingFoldout) continue;
|
||||
//if ((mySection.MyContent.Number.ToUpper() == "FOLDOUT") || mySection.MyContent.Text.ToUpper() == "FOLDOUT" ) != doingFoldout) continue;
|
||||
//if ((mySection.MyContent.Number.ToUpper() == "FOLDOUT" || mySection.MyContent.Text.ToUpper() == "FOLDOUT" ) != doingFoldout) continue;
|
||||
SectionConfig sc = mySection.MyConfig as SectionConfig;
|
||||
#if AllButFirstPage
|
||||
if (_MyHelper != null && mySection.IsStepSection && mySection.MyPrevious != null && mySection.MyPrevious.IsStepSection)
|
||||
@ -391,7 +389,6 @@ namespace Volian.Print.Library
|
||||
_MyHelper.DebugLayer = _DebugLayer;
|
||||
}
|
||||
_MyHelper.Rev = _Rev;
|
||||
_MyHelper.RevDate = _RevDate;
|
||||
_MyHelper.Watermark = _Watermark;
|
||||
_MyHelper.DoZoomOMatic = DebugOutput;
|
||||
_MyHelper.OriginalPageBreak = OriginalPageBreak;
|
||||
@ -413,7 +410,7 @@ namespace Volian.Print.Library
|
||||
{
|
||||
if (mySection.IsStepSection)
|
||||
{
|
||||
if ((mySection.MyDocStyle.StructureStyle.Style ?? 0 & E_DocStructStyle.UseSectionFoldout) != 0)
|
||||
if ((mySection.MyDocStyle.StructureStyle.Style ?? 0 & E_DocStructStyle.UseSectionFoldout) != 0) // || _MyHelper.DoFloatingFoldout)
|
||||
DoFoldoutPage(cb, "Beginning of Step Section", _TextLayer, _MyHelper);
|
||||
CreateStepPdf(mySection, cb);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user