Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

DOC to PDF Conversion

This is a discussion on DOC to PDF Conversion within the Java forums, part of the Software Development category; How to Convert the generated Document(.DOC) format file to Pdf file format through Java code Thanks in Advance....

Go Back   Geeks Talk > Software Development > Java
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Java Java related Issues and Problems

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-23-2009
Contributing Member
 
Join Date: Jun 2007
Location: Chennai
Posts: 31
Thanks: 11
Thanked 1 Time in 1 Post
Sampath_Java is on a distinguished road
DOC to PDF Conversion

How to Convert the generated Document(.DOC) format file to Pdf file format through Java code

Thanks in Advance.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-24-2009
Expert Member
 
Join Date: May 2009
Location: Bangalore
Posts: 1,195
Thanks: 155
Thanked 469 Times in 228 Posts
rijus is a glorious beacon of lightrijus is a glorious beacon of lightrijus is a glorious beacon of lightrijus is a glorious beacon of lightrijus is a glorious beacon of light
Re: DOC to PDF Conversion

Quote:
Originally Posted by Sampath_Java View Post
How to Convert the generated Document(.DOC) format file to Pdf file format through Java code

Thanks in Advance.
Hi Sampath,

Make use of openoffice conversion engine & follow these code.

File inputFile = new File("test1.doc");
File outputFile = new File("test1..pdf");

DocumentConverter converter=newOpenOfficeDocumentConverter(connection);

converter.convert(inputFile, outputFile);

The output ll be in pdf.

Thanks,
Rijus.
__________________
Real Inspirational Journey............Unanimously & Sincerely.
Reply With Quote
The Following User Says Thank You to rijus For This Useful Post:
  #3 (permalink)  
Old 12-16-2009
Contributing Member
 
Join Date: Jun 2007
Location: Chennai
Posts: 31
Thanks: 11
Thanked 1 Time in 1 Post
Sampath_Java is on a distinguished road
Re: DOC to PDF Conversion

Hi Rijus

Thanks for your Reply.

It is working fine.
Is it possible without using openoffice conversion engine.

Thanks
Sampath
Reply With Quote
  #4 (permalink)  
Old 12-17-2009
Expert Member
 
Join Date: May 2009
Location: Bangalore
Posts: 1,195
Thanks: 155
Thanked 469 Times in 228 Posts
rijus is a glorious beacon of lightrijus is a glorious beacon of lightrijus is a glorious beacon of lightrijus is a glorious beacon of lightrijus is a glorious beacon of light
Re: DOC to PDF Conversion

Quote:
Originally Posted by Sampath_Java View Post
Hi Rijus

Thanks for your Reply.

It is working fine.
Is it possible without using openoffice conversion engine.

Thanks
Sampath
Hi Sampath,

Nice.
Other than openoffice conversion engine, Pdfcreator also provides the output in pdf format.

Regards,
Rijus.
__________________
Real Inspirational Journey............Unanimously & Sincerely.
Reply With Quote
  #5 (permalink)  
Old 01-01-2010
Junior Member
 
Join Date: Jan 2010
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
pranay2404 is on a distinguished road
Re: DOC to PDF Conversion

wow!!!!!!!! really nice..........
Reply With Quote
  #6 (permalink)  
Old 01-01-2010
Junior Member
 
Join Date: Aug 2009
Location: Ahmedabad
Posts: 27
Thanks: 19
Thanked 1 Time in 1 Post
shiva4 is on a distinguished road
Re: DOC to PDF Conversion

Thanks, It's really nice
Reply With Quote
Reply

  Geeks Talk > Software Development > Java

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
txt/csv to dbf conversion yathishn Java 1 11-18-2009 09:50 AM
Date Conversion ... susarlasireesha Oracle 5 06-26-2009 01:27 AM
URL Conversion Mihai QTP 2 02-22-2008 04:58 AM
String to int conversion... kavi12_nc C and C++ 3 01-24-2008 01:11 AM
Conversion Tool Bessie Windows 1 09-24-2006 04:07 AM


All times are GMT -4. The time now is 10:10 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved