General and off topic threads containing intellectual discussion
Wed Oct 22, 2008 12:55 am
I want to know how to convert a word or an excel document into PDF, but
not having any idea how to achieve this.
Kindly give some suggestions. ?
Wed Oct 22, 2008 12:57 am
If you need a programmatic way of doing this, use Jacob to read Excel and
Word documents using OLE and use iText to generate the pdf documents. Both
are open source Java libraries.
Otherwise use any pdf printer driver on the market, just select the "Print
to pdf" driver once installed and print your document into a pdf file
Sat Nov 29, 2008 7:41 am
ok,
Fri Jan 02, 2009 11:48 pm
if u r using Microsoft office their is plug-in doing this you can found it on the website of microsoft
Thu Jan 22, 2009 3:44 pm
Another solution:
import officetools.OfficeFile;
...
FileInputStream fis = new FileInputStream(new File("test.doc")); // works with xls also
FileOutputStream fos = new FileOutputStream(new File("test.pdf"));
OfficeFile f = new OfficeFile(fis,"localhost","8100", true);
f.convert(fos,"pdf");
All possible convertions:
html --> pdf
doc --> pdf, html, txt, rtf
xls --> pdf, html, csv
ppt --> pdf, swf
Thu Jan 22, 2009 7:38 pm
thank you for this addition
Thu Aug 06, 2009 7:17 am
Where can i get this OfficeTool NameSpace.Can u give me the code?
Thanks
Fri Oct 23, 2009 4:27 am
Well,another method is borrow a software that is easy to use.Such as Nemo PDF.Nemo PDF Converter 4.0 converts PDF to Word/RTF and Word/Excel to PDF for uses of different situations with speed and 100 accuracy. It keeps intact of the original files and supports batch conversion. You can either batch convert files from the converter or from the button integrated in your documents with ease. Moreover, its user-friendly interfaces will make you a veteran from a new user in minutes.Hope this helps.
Sun Oct 25, 2009 5:23 pm
I also want some of my files to be converted.
Hoping for the miracle.
Mon Feb 22, 2010 8:35 pm
There is a website called freepdfconvert.com..converts word and excel both to pdf but online...they mail you the converted file.
If you need a software on your machine then there is free download available at, hellopdf.com/download.php
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.