Looking for API (java) to convert .doc into .pdf

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jul 2007
Posts: 1,175
Reputation: stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light 
Solved Threads: 125
Featured Poster
stephen84s's Avatar
stephen84s stephen84s is offline Offline
Veteran Poster

Re: Looking for API (java) to convert .doc into .pdf

 
0
  #11
Feb 13th, 2009
Originally Posted by salinidinesh View Post
I tried the convertion method that bertt's described . bt I can't get the jar that contain the ' import officetools.OfficeFile' can any one please suggest a method to convert HTML to PDF

Thats the reason why his post has received a Bad Rep (RED Mark) and my post which was the actual answer received a Good Rep (Green Mark) if you had cared to observe.
Last edited by stephen84s; Feb 13th, 2009 at 2:36 am.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."

"How to ask questions the smart way ?"
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3
Reputation: salinidinesh is an unknown quantity at this point 
Solved Threads: 0
salinidinesh salinidinesh is offline Offline
Newbie Poster

Re: Looking for API (java) to convert .doc into .pdf

 
0
  #12
Feb 13th, 2009
Can anyone please help me ?????

I want to convert HTML to PDF using java code.... please give me a solution.......
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 823
Reputation: verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough 
Solved Threads: 73
verruckt24's Avatar
verruckt24 verruckt24 is offline Offline
Practically a Posting Shark

Re: Looking for API (java) to convert .doc into .pdf

 
0
  #13
Feb 13th, 2009
Whats wrong with you the answer has already been given here
Get up every morning and take a look at the Forbes' list of richest people. If your name doesn't appear.... GET TO WORK !!!
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3
Reputation: salinidinesh is an unknown quantity at this point 
Solved Threads: 0
salinidinesh salinidinesh is offline Offline
Newbie Poster

Re: Looking for API (java) to convert .doc into .pdf

 
0
  #14
Feb 13th, 2009
i don't want to use iTex ... most of the methods described above are not working
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 823
Reputation: verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough 
Solved Threads: 73
verruckt24's Avatar
verruckt24 verruckt24 is offline Offline
Practically a Posting Shark

Re: Looking for API (java) to convert .doc into .pdf

 
1
  #15
Feb 13th, 2009
Which methods ? Have you even cared to go through the iText library and the Apache POI ? They both are stable production quality libraries.
Do your homework before posting blindly.
Get up every morning and take a look at the Forbes' list of richest people. If your name doesn't appear.... GET TO WORK !!!
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,221
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 489
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Looking for API (java) to convert .doc into .pdf

 
0
  #16
Feb 13th, 2009
Originally Posted by salinidinesh View Post
i don't want to use iTex ... most of the methods described above are not working
iText is working fine as long you know how to use it not like brett.
iText tutorials, don't forget to download the library file and store it in your project folder
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 16
Reputation: danielernesto is an unknown quantity at this point 
Solved Threads: 1
danielernesto danielernesto is offline Offline
Newbie Poster

Re: Looking for API (java) to convert .doc into .pdf

 
0
  #17
Feb 13th, 2009
You can try JasperReports, but i think that´s for web develop only, anyway you can find something.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 6
Reputation: Rajni05 is an unknown quantity at this point 
Solved Threads: 0
Rajni05 Rajni05 is offline Offline
Newbie Poster

Re: Looking for API (java) to convert .doc into .pdf

 
0
  #18
Mar 3rd, 2009
Hi,

Iam facing the same issue, have to convert any file come (e.g xls/doc/text...) into pdf for an urgent requrement. i have started with apache poi and itext but succeed. can you please help me with sample code that have both apache POI and itext used say for eample reading an excel and converting it into pdf. please hurry ....


Thanks,
Rajni
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 6
Reputation: Rajni05 is an unknown quantity at this point 
Solved Threads: 0
Rajni05 Rajni05 is offline Offline
Newbie Poster

Re: Looking for API (java) to convert .doc into .pdf

 
0
  #19
Mar 3rd, 2009
Originally Posted by stephen84s View Post
Actually to convert from .doc to .pdf via Java I could not find a direct method, But I found a two step process,
  1. Access your Microsoft Format files using Apache POI, You can read more about it here.
  2. Next use iText to convert the data you have into a PDF.

Hi,

Iam facing the same issue, have to convert any file come (e.g xls/doc/text...) into pdf for an urgent requrement. i have started with apache poi and itext but didnt succeed. can you please help me with sample code that have both apache POI and itext used say for eample reading an excel and converting it into pdf. please hurry ....


Thanks,
Rajni
Last edited by Rajni05; Mar 3rd, 2009 at 1:52 am.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 1,175
Reputation: stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light 
Solved Threads: 125
Featured Poster
stephen84s's Avatar
stephen84s stephen84s is offline Offline
Veteran Poster

Re: Looking for API (java) to convert .doc into .pdf

 
0
  #20
Mar 3rd, 2009
Originally Posted by Rajni05 View Post
can you please help me with sample code that have both apache POI and itext used say for eample reading an excel and converting it into pdf. please hurry ....
Yeah before that transfer a million dollars to my account !!!
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."

"How to ask questions the smart way ?"
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC