Compare commits
No commits in common. "b085a727f089df16d710306f6cfeaf8599df75d5" and "c320634d3db39ee6641fa525aa45b0c3b5be5c79" have entirely different histories.
b085a727f0
...
c320634d3d
@ -701,7 +701,7 @@ namespace Volian.Print.Library
|
||||
{
|
||||
if (File.Exists(outputFileName))
|
||||
{
|
||||
if (!BaselineTesting && !SaveLinks) // B2024-031 don't do if creating PDF hyperlinks
|
||||
if (!BaselineTesting)
|
||||
{
|
||||
String tmpExt = System.IO.Path.GetExtension(outputFileName);
|
||||
String tmpPTH = System.IO.Path.GetDirectoryName(outputFileName);
|
||||
@ -719,10 +719,6 @@ namespace Volian.Print.Library
|
||||
|
||||
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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user