I need to convert my doc file into pdf using Java based desktop application. I am not able to use any kind of server or open office.
Can you please give a piece of code to do so. or suggest me any java open source API.
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are multiple API (several of which are open sourced) available to help you with this. Some suggestions would be as follows:
Apache PDFBox library is an open source Java tool for working with PDF documents. You might consider using this.
Another option would be to use Apache™ FOP (Formatting Objects Processor)
iText