Any open source api to covert to pdf file in JAVA [closed]











up vote
-1
down vote

favorite












I Need to convert below file format to pdf format.
TIF,TIFF,TXT,JPG,JPEG,BMP,DOC,DOCX,XLS,XLSX,PPT,PPTX,GIF,PDF



Do we have any open source API to convert into PDF. I tried APACHE POI. but its not look sufficient. Let me know any open source api is available.










share|improve this question













closed as off-topic by JB Nizet, Carlos Heuberger, talex, jonrsharpe, yole Nov 21 at 7:31


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – JB Nizet, Carlos Heuberger, talex, jonrsharpe, yole

If this question can be reworded to fit the rules in the help center, please edit the question.













  • Possible duplicate of convert any file type to pdf using Java API
    – Bishal Gautam
    Nov 21 at 7:31















up vote
-1
down vote

favorite












I Need to convert below file format to pdf format.
TIF,TIFF,TXT,JPG,JPEG,BMP,DOC,DOCX,XLS,XLSX,PPT,PPTX,GIF,PDF



Do we have any open source API to convert into PDF. I tried APACHE POI. but its not look sufficient. Let me know any open source api is available.










share|improve this question













closed as off-topic by JB Nizet, Carlos Heuberger, talex, jonrsharpe, yole Nov 21 at 7:31


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – JB Nizet, Carlos Heuberger, talex, jonrsharpe, yole

If this question can be reworded to fit the rules in the help center, please edit the question.













  • Possible duplicate of convert any file type to pdf using Java API
    – Bishal Gautam
    Nov 21 at 7:31













up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I Need to convert below file format to pdf format.
TIF,TIFF,TXT,JPG,JPEG,BMP,DOC,DOCX,XLS,XLSX,PPT,PPTX,GIF,PDF



Do we have any open source API to convert into PDF. I tried APACHE POI. but its not look sufficient. Let me know any open source api is available.










share|improve this question













I Need to convert below file format to pdf format.
TIF,TIFF,TXT,JPG,JPEG,BMP,DOC,DOCX,XLS,XLSX,PPT,PPTX,GIF,PDF



Do we have any open source API to convert into PDF. I tried APACHE POI. but its not look sufficient. Let me know any open source api is available.







java






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 21 at 7:26









RJK

32




32




closed as off-topic by JB Nizet, Carlos Heuberger, talex, jonrsharpe, yole Nov 21 at 7:31


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – JB Nizet, Carlos Heuberger, talex, jonrsharpe, yole

If this question can be reworded to fit the rules in the help center, please edit the question.




closed as off-topic by JB Nizet, Carlos Heuberger, talex, jonrsharpe, yole Nov 21 at 7:31


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – JB Nizet, Carlos Heuberger, talex, jonrsharpe, yole

If this question can be reworded to fit the rules in the help center, please edit the question.












  • Possible duplicate of convert any file type to pdf using Java API
    – Bishal Gautam
    Nov 21 at 7:31


















  • Possible duplicate of convert any file type to pdf using Java API
    – Bishal Gautam
    Nov 21 at 7:31
















Possible duplicate of convert any file type to pdf using Java API
– Bishal Gautam
Nov 21 at 7:31




Possible duplicate of convert any file type to pdf using Java API
– Bishal Gautam
Nov 21 at 7:31












1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










Creating a PDF that contains nothing but an image is quite easy using the iText library; its web site has an example that shows how to do that.



Converting Excel files is not hard; the Apache POI library can be used for reading the Excel file, and then again the iText library can be used for creating PDFs that contain tables.



Word can be dealt with in a similar manner (POI also supports it), but it'll be quite a bit tricker, especially if the file contains tables and images, since the POI API for handling DOC/DOCX isn't as advanced as the one handling XLS/XLSX, and of course Word files have a less regular structure than Excel files.



JAI won't be of any help with this.



There are commercial packages available that can be used from Java applications; you may want to investigate those before embarking on writing your own, especially if you need to deal with complex documents - writing your own converter that handles those and generates good quality output could easily take a couple of weeks (or a month) of your time.






share|improve this answer





















  • iText is not open source. when we want to sell a software product that includes iText or use iText in any commercial webservice, than we need to buy a license.
    – RJK
    Nov 21 at 7:37


















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










Creating a PDF that contains nothing but an image is quite easy using the iText library; its web site has an example that shows how to do that.



Converting Excel files is not hard; the Apache POI library can be used for reading the Excel file, and then again the iText library can be used for creating PDFs that contain tables.



Word can be dealt with in a similar manner (POI also supports it), but it'll be quite a bit tricker, especially if the file contains tables and images, since the POI API for handling DOC/DOCX isn't as advanced as the one handling XLS/XLSX, and of course Word files have a less regular structure than Excel files.



JAI won't be of any help with this.



There are commercial packages available that can be used from Java applications; you may want to investigate those before embarking on writing your own, especially if you need to deal with complex documents - writing your own converter that handles those and generates good quality output could easily take a couple of weeks (or a month) of your time.






share|improve this answer





















  • iText is not open source. when we want to sell a software product that includes iText or use iText in any commercial webservice, than we need to buy a license.
    – RJK
    Nov 21 at 7:37















up vote
0
down vote



accepted










Creating a PDF that contains nothing but an image is quite easy using the iText library; its web site has an example that shows how to do that.



Converting Excel files is not hard; the Apache POI library can be used for reading the Excel file, and then again the iText library can be used for creating PDFs that contain tables.



Word can be dealt with in a similar manner (POI also supports it), but it'll be quite a bit tricker, especially if the file contains tables and images, since the POI API for handling DOC/DOCX isn't as advanced as the one handling XLS/XLSX, and of course Word files have a less regular structure than Excel files.



JAI won't be of any help with this.



There are commercial packages available that can be used from Java applications; you may want to investigate those before embarking on writing your own, especially if you need to deal with complex documents - writing your own converter that handles those and generates good quality output could easily take a couple of weeks (or a month) of your time.






share|improve this answer





















  • iText is not open source. when we want to sell a software product that includes iText or use iText in any commercial webservice, than we need to buy a license.
    – RJK
    Nov 21 at 7:37













up vote
0
down vote



accepted







up vote
0
down vote



accepted






Creating a PDF that contains nothing but an image is quite easy using the iText library; its web site has an example that shows how to do that.



Converting Excel files is not hard; the Apache POI library can be used for reading the Excel file, and then again the iText library can be used for creating PDFs that contain tables.



Word can be dealt with in a similar manner (POI also supports it), but it'll be quite a bit tricker, especially if the file contains tables and images, since the POI API for handling DOC/DOCX isn't as advanced as the one handling XLS/XLSX, and of course Word files have a less regular structure than Excel files.



JAI won't be of any help with this.



There are commercial packages available that can be used from Java applications; you may want to investigate those before embarking on writing your own, especially if you need to deal with complex documents - writing your own converter that handles those and generates good quality output could easily take a couple of weeks (or a month) of your time.






share|improve this answer












Creating a PDF that contains nothing but an image is quite easy using the iText library; its web site has an example that shows how to do that.



Converting Excel files is not hard; the Apache POI library can be used for reading the Excel file, and then again the iText library can be used for creating PDFs that contain tables.



Word can be dealt with in a similar manner (POI also supports it), but it'll be quite a bit tricker, especially if the file contains tables and images, since the POI API for handling DOC/DOCX isn't as advanced as the one handling XLS/XLSX, and of course Word files have a less regular structure than Excel files.



JAI won't be of any help with this.



There are commercial packages available that can be used from Java applications; you may want to investigate those before embarking on writing your own, especially if you need to deal with complex documents - writing your own converter that handles those and generates good quality output could easily take a couple of weeks (or a month) of your time.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 21 at 7:30









Sai prateek

4,13462851




4,13462851












  • iText is not open source. when we want to sell a software product that includes iText or use iText in any commercial webservice, than we need to buy a license.
    – RJK
    Nov 21 at 7:37


















  • iText is not open source. when we want to sell a software product that includes iText or use iText in any commercial webservice, than we need to buy a license.
    – RJK
    Nov 21 at 7:37
















iText is not open source. when we want to sell a software product that includes iText or use iText in any commercial webservice, than we need to buy a license.
– RJK
Nov 21 at 7:37




iText is not open source. when we want to sell a software product that includes iText or use iText in any commercial webservice, than we need to buy a license.
– RJK
Nov 21 at 7:37



Popular posts from this blog

Berounka

Sphinx de Gizeh

Different font size/position of beamer's navigation symbols template's content depending on regular/plain...