Results 1 to 18 of 18
Thread: XLS to PDF conversion
- 12-26-2008, 10:39 PM #1
Member
- Join Date
- Dec 2008
- Posts
- 1
- Rep Power
- 0
- 12-27-2008, 01:52 AM #2
Your friend Google
Just Google "excel to pdf" ... plenty of options. As for a Java API that does this directly, I don't know of any (I'm sure there isn't anything). What you can do is execute the application that does the convertion from a Java program.
Luck,
CJSLChris S.
Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.
- 12-27-2008, 03:43 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Nitin, please don't post the same question multiple times in the forum. That's not good. Please read our FAQ page before posting again. Select the correct sub-forum next time before posting your question.
- 01-27-2009, 05:07 PM #4
Member
- Join Date
- Jan 2009
- Posts
- 5
- Rep Power
- 0
import officetools.OfficeFile;
...
FileInputStream fis = new FileInputStream(new File("test.xls"));
FileOutputStream fos = new FileOutputStream(new File("test.pdf"));
OfficeFile f = new OfficeFile(fis,"localhost","8100", true);
f.convert(fos,"pdf");
- 01-28-2009, 04:58 AM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
This is not a standard API in JDK. So better to send any download link or something here, it can be really helpful to all members who are looking at your replay zett.
- 01-28-2009, 05:24 AM #6
From where can i download officetools.jar?
One Life!!! Y Serious??? :)
- 01-28-2009, 05:27 AM #7
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Search on the Google. Or else you have to wait until zett commenting on my previous post.
- 01-28-2009, 05:36 AM #8
okay thanks
One Life!!! Y Serious??? :)
- 01-28-2009, 08:34 AM #9
Member
- Join Date
- Jan 2009
- Posts
- 5
- Rep Power
- 0
url
This guy is providing it on its page: dancrintea.ro/html-to-pdf/
check middle page at the section "HTML to PDF with Java".
A team in my company has used it for a project.
- 01-28-2009, 09:57 AM #10
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 07-02-2009, 03:30 PM #11
Member
- Join Date
- Jan 2009
- Posts
- 5
- Rep Power
- 0
In fact the real url is this one: dancrintea.ro/xls-to-pdf/
Besides converting XLS to PDF it is also possible to:
- convert DOC+PPT to PDF
- replace strings in DOC files
- read/write Excel files using simplified aAPI like getCell and setCell
- hide sheets in Excel files(hide secondary calculations for example)
The only downside is that it needs OpenOffice,
but hey..... a lot of nice things things are possible this way, so...
- 02-18-2011, 09:07 PM #12
Member
- Join Date
- Feb 2011
- Posts
- 3
- Rep Power
- 0
Nice, exactly what I was looking for.
- 02-22-2011, 09:50 AM #13
Member
- Join Date
- Feb 2011
- Posts
- 2
- Rep Power
- 0
open office has an option to save any file as pdf.We can use it for writing bulk operation code but for single file i don't think its worth writing.
- 03-01-2011, 04:03 PM #14
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 09-08-2011, 12:39 PM #15
Member
- Join Date
- Sep 2011
- Posts
- 3
- Rep Power
- 0
Re: XLS to PDF conversion
Is there any free site to get Officetools.jar........
I went to suggested site i.e. 4shared.com, but it has Office Tools which is something else...
Please help........
- 09-08-2011, 01:02 PM #16
Member
- Join Date
- Sep 2011
- Posts
- 3
- Rep Power
- 0
Re: url
But in this site they charge for it.
Is there any free site.........
- 09-13-2011, 07:26 AM #17
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Re: XLS to PDF conversion
Did you search on Google?
- 09-20-2011, 08:41 AM #18
Member
- Join Date
- Sep 2011
- Posts
- 3
- Rep Power
- 0
Re: XLS to PDF conversion
Yes.......I did searching everywhere............
Now I am trying it manually..........
I am using apache POI API to read excel file and iText API to write contents to pdf file......
But problem here is that the exact formatting of excel file is not coming in pdf file.........
Please suggest if you have any better ideas............
Similar Threads
-
Doc to Pdf conversion
By praveen.kb in forum Advanced JavaReplies: 2Last Post: 01-16-2009, 12:27 PM -
String Conversion....
By hotice1027 in forum New To JavaReplies: 8Last Post: 11-28-2008, 10:52 PM -
Word to xml Conversion
By kushagra in forum Advanced JavaReplies: 3Last Post: 10-16-2008, 08:23 AM -
string conversion??
By j2vdk in forum New To JavaReplies: 13Last Post: 09-19-2008, 03:35 PM -
Conversion from wav to vox
By bozovilla in forum Advanced JavaReplies: 1Last Post: 07-31-2008, 05:54 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks