You can use Cloudmersive native Java library. I always believe the shortest code is the best code (of course it should be understandable), that's it. Using Java to call OpenOffice API seems good, but too complicated for such a simple requirement.įinally I found the best solution: use OpenOffice command line to finish the job: Runtime.getRuntime().exec("soffice -convert-to pdf -outdir. Xdocreport seems a promising choice, but it can only convert docx, but not doc binary file which is mandatory for me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |