For a curernt application, we have the requirement to convert .docx and .doc files to a *.pdf file and append a page. Can this be done with the DocumentFactory or do we have to implement this by utilizing other tools? The Aspose API should be able to do that, but I couldn't find an example on the Jira page for the DocumentFactory. Edit - due to a related question, I could answer it myself. Both scenarios are possible by utilizing Aspose directly.
This question is marked "community wiki".
|
Hi, This is pretty simple to convert doc/docx to pdf with the DocFactory, even if it is not its "first" purpose. Just consider the following unit test:
Here we use the ch.ivyteam.ivy.addons.docfactory.DocumentTemplate Object which gets a template for doing the mail merge. As we only give a plain doc or docx without any mergefields and data to fill, the doc or docx remains untouched during the mail merge operation and the result is only saved as PDF. |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 14.08.2019 at 06:13
Seen: 1,268 times
Last updated: 14.08.2019 at 08:41