Forums Register Login

Writing a Microsoft Word Doc using java

+Pie Number of slices to send: Send
Hi
I want to create a Microsoft word document using java. and want to use the feature of the word doc like page break alignmant etc.Can this be done???
+Pie Number of slices to send: Send
hi,

yes u can definately do it...

log on to
http://jakarta.apache.org/poi/

HWPF is the name of the project which u can use to read/write word, Excel, PowerPoint files. and yes the APIs r available for free!
Ashish.
[ October 20, 2004: Message edited by: Ashish Vegaraju ]
+Pie Number of slices to send: Send
Thanks for the great link, Ashish! I had no idea such APIs were available.
+Pie Number of slices to send: Send
thanks ashish....
are there some jars etc which can be downloaded .the site u have mentioned has some struutured directories.... how do i use them
+Pie Number of slices to send: Send
hi,

if u want to read or write Excel or PowerPoint files log on to.

http://jakarta.apache.org/site/binindex.cgi

just select the mirror and start downloading.

and as far as M$ Word is concerned its in an early development stage..no jars r available right now...u have to download each and every file manually..

cheers
Ashish.

[ October 24, 2004: Message edited by: Ashish Vegaraju ]

[ October 25, 2004: Message edited by: Ashish Vegaraju ]
[ November 05, 2004: Message edited by: Ashish Vegaraju ]
+Pie Number of slices to send: Send
Hi,

I am also facing the same problem.If any one of you can send me the jar files it will be of great help.

my mail id is sudhishbabu@rediffmail.com


thanks.
+Pie Number of slices to send: Send
Ashish,
Can you send me the jar too? My address is u_iengar@yahoo.com
Thanks in advance
Usha
+Pie Number of slices to send: Send
You might also want to look at the Jacob Project for automating Microsoft Word from Java.


I have used the bridge to successfully access Word documents from Java in a commercial project.
+Pie Number of slices to send: Send
Alan,
Could you please send me some code as to how you used MS word with Jacob at rahul.rana@gmail.com
Thanks
I want my playground back. Here, I'll give you this tiny ad for it:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 12340 times.
Similar Threads
How to print different type of document types in java ?
Java Html parser
upload in jsp
Document Conversion
Development of a tool
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 07:10:25.