Problem converting PDF to PDF/A because of license


#1

We have a time limited license for Aspose.total.java valid until 2019-07-03.
If I try to convert a PDF file to PDFA, the resulting PDF file is in evaluation mode.
Is there something wrong with the way we initialize the license in our Code?
If I try the same with Word files everything is fine.

Code used for PDF to PDF/A is in RenderPDF.java, Code used for Word to PDF/A is in RenderWord.java
Attached here as sources.zip
I can’t see the difference.

Word source and resulting PDF/A in wordtest.zip
PDF source and resulting PDF/A in pdftest.zip

Edited:
If I try to validate the license in RenderPDF.licenseOk() with
licenseValid = com.aspose.pdf.Document.isLicensed();
licenseValid is false.

Second edit: If I read the license from a file licenseValid stays false.

pdftest.zip (88.9 KB)
WordTest.zip (30.0 KB)
sources.zip (1.4 KB)


#2

@BOO_Technologies

Thank you for contacting support.

Would you please also share your license as a ZIP file by clicking on my username and then message icon so that we may investigate further to help you out. Before sharing it, please also ensure using Aspose.PDF for Java 19.5.


#3

Thanks for the help. With the new version of Aspose.PDF the license is ok.
Perhaps you should create a new version of Aspose.Total for downloading.
Because there I got the old Aspose.PDF a few days ago.


#4

@BOO_Technologies

Thank you for your kind feedback.

We are glad to know that your problem has been resolved. We we will be updating the total package with latest available versions.