• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Writing a Microsoft Word Doc using java

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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???
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 808
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the great link, Ashish! I had no idea such APIs were available.
 
Nomita Gairola
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ashish Vegaraju
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 [email protected]


thanks.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ashish,
Can you send me the jar too? My address is [email protected]
Thanks in advance
Usha
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Alan,
Could you please send me some code as to how you used MS word with Jacob at [email protected]
Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic