Added PDF SaveLink parameter to methods

Added PDF SaveLink Logic
This commit is contained in:
Rich
2015-06-17 11:32:13 +00:00
parent ee198b5275
commit 8546a09674
2 changed files with 73 additions and 21 deletions

View File

@@ -86,6 +86,12 @@ namespace Volian.Print.Library
}
public class PromsPrinter
{
private bool _SaveLinks = false;
public bool SaveLinks
{
get { return _SaveLinks; }
set { _SaveLinks = value; }
}
private string _Prefix = ""; // RHM20150506 Multiline ItemID TextBox
public string Prefix
{
@@ -207,7 +213,8 @@ namespace Volian.Print.Library
get { return _MyReaderHelper; }
set { _MyReaderHelper = value; }
}
public PromsPrinter(ItemInfo myItem, string rev, string watermark, bool debugOutput, bool origPgBrk, string backgroundFolder, bool openPDF, bool overWrite, ChangeBarDefinition cbd, String pdfFile, bool insertBlankPages, bool batchPrint, string prefix)
public PromsPrinter(ItemInfo myItem, string rev, string watermark, bool debugOutput, bool origPgBrk, string backgroundFolder, bool openPDF, bool overWrite,
ChangeBarDefinition cbd, String pdfFile, bool insertBlankPages, bool batchPrint, string prefix, bool saveLinks)
{
Prefix = prefix; // RHM20150506 Multiline ItemID TextBox
_MyItem = myItem;
@@ -223,6 +230,7 @@ namespace Volian.Print.Library
_InsertBlankPages = insertBlankPages;
_BatchPrint = batchPrint;
_MyReaderHelper = new ReaderHelper(this);
_SaveLinks = saveLinks;
//_MyReaderHelper.LoadTree(myItem);
}
private string _BeforePageNumberPdf = null;