Compare commits
4 Commits
af889a8818
...
B2024-032-
| Author | SHA1 | Date | |
|---|---|---|---|
| df9736f0fd | |||
| b085a727f0 | |||
| e548e1da63 | |||
| c320634d3d |
@@ -2001,7 +2001,7 @@ namespace Volian.Controls.Library
|
|||||||
btnReviewCreatePDF.Click -= new System.EventHandler(btnPdfCreate_Click);
|
btnReviewCreatePDF.Click -= new System.EventHandler(btnPdfCreate_Click);
|
||||||
btnReviewPdfQuickCreate.SubItems.Clear();
|
btnReviewPdfQuickCreate.SubItems.Clear();
|
||||||
btnReviewPdfQuickCreate.Tag = null;
|
btnReviewPdfQuickCreate.Tag = null;
|
||||||
btnReviewPdfQuickCreate.Click -= new System.EventHandler(btnPdfCreate_Click);
|
btnReviewPdfQuickCreate.Click -= new System.EventHandler(btnPdfQuickCreate_Click);
|
||||||
int k = 0;
|
int k = 0;
|
||||||
foreach (string s in unitNames)
|
foreach (string s in unitNames)
|
||||||
{
|
{
|
||||||
|
|||||||
BIN
PROMS/Volian.Controls.Library/StepTabRibbon.designer.cs
generated
BIN
PROMS/Volian.Controls.Library/StepTabRibbon.designer.cs
generated
Binary file not shown.
@@ -701,7 +701,7 @@ namespace Volian.Print.Library
|
|||||||
{
|
{
|
||||||
if (File.Exists(outputFileName))
|
if (File.Exists(outputFileName))
|
||||||
{
|
{
|
||||||
if (!BaselineTesting)
|
if (!BaselineTesting && !SaveLinks) // B2024-031 don't do if creating PDF hyperlinks
|
||||||
{
|
{
|
||||||
String tmpExt = System.IO.Path.GetExtension(outputFileName);
|
String tmpExt = System.IO.Path.GetExtension(outputFileName);
|
||||||
String tmpPTH = System.IO.Path.GetDirectoryName(outputFileName);
|
String tmpPTH = System.IO.Path.GetDirectoryName(outputFileName);
|
||||||
@@ -719,6 +719,10 @@ namespace Volian.Print.Library
|
|||||||
|
|
||||||
outputFileName = filename;
|
outputFileName = filename;
|
||||||
}
|
}
|
||||||
|
// B2024-031 if doing PDF hyperlinks (Create RO and Transition Hyperlinks) then try to
|
||||||
|
// delete the old PDF file before creating the new one
|
||||||
|
if (SaveLinks)
|
||||||
|
File.Delete(outputFileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
writer = PdfWriter.GetInstance(document, new FileStream(outputFileName, FileMode.Create));
|
writer = PdfWriter.GetInstance(document, new FileStream(outputFileName, FileMode.Create));
|
||||||
|
|||||||
Reference in New Issue
Block a user