|
-
May 4th, 2006, 03:44 AM
#1
Thread Starter
Addicted Member
Read/Write MS Word using Java
How can I read/write Microsoft Word document from Java?
-
May 4th, 2006, 07:39 AM
#2
-
Jan 22nd, 2009, 10:17 AM
#3
New Member
Re: Read/Write MS Word using Java
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
from dancrintea.ro/html-to-pdf/
-
Jan 22nd, 2009, 10:18 AM
#4
Re: Read/Write MS Word using Java
And from where exactly do you import the class officetools.OfficeFile?
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jan 27th, 2009, 11:23 AM
#5
New Member
Re: Read/Write MS Word using Java
My company has bought it and it has integrated it into a project.
This guy is providing it: http://dancrintea.ro/html-to-pdf/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|