Error saving DOCX as PDF1.5 if password was specified in constructor

Hi

It seams I found bug in Aspose.Words 14.5.0.

Aspose.Words.FileCorruptedException exception is thrown while saving DOCX as PDF1.5 if password was specified. File is not encrypted. I did not tested on other new formats, but it works OK with DOC file.

var name = "docx.docx";
var doc = new Document(d.FileName, new Aspose.Words.LoadOptions("1111111111"));
PdfSaveOptions docPdfOptions = new PdfSaveOptions();
docPdfOptions.Compliance = PdfCompliance.Pdf15;
doc.Save(name + ".pdf");

Thanks,

Alex Shloma

Hi Alex,

Thanks for your inquiry. Could you please attach your input Word document here for testing? I will investigate the issue on my side and provide you more information.

Issue appears on any docx document.

It seams you can close this ticket.


Here is another one dedicated to the same issue <a href=". And it was logged to your issue tracking system WORDSNET-10923


Hi Alex,

Thanks for your inquiry. We will update you via same forum thread once WORDSNET-10923 issue is resolved.

Please let us know if you have any more queries.