aspose file tools*
The moose likes Java in General and the fly likes Read MS word document through Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Read MS word document through Java" Watch "Read MS word document through Java" New topic
Author

Read MS word document through Java

gautham kasinath
Ranch Hand

Joined: Dec 01, 2000
Posts: 583
Hi! All!
I need to open and read ( to convert later ) an MS word document through Java.
Is there a way to do the same?? Are there libraries ( in Java ) available to do the same??
Please help me on the same.
Regds
Gautham Kasinath


"In the country of the blind, the one eyed man is the King"
Gautham Kasinath CV at : http://www.geocities.com/gkasinath
gautham kasinath
Ranch Hand

Joined: Dec 01, 2000
Posts: 583
Hi!
Well dont anyone know about any libs?? I searched the web to no avail. Please some body help me..
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
I would guess that you need to use a Microsoft dll and some JNI - but I have never tried this.


"JavaRanch, where the deer and the Certified play" - David O'Meara
David Weitzman
Ranch Hand

Joined: Jul 27, 2001
Posts: 1365
It would probably be easiest to use an external program to convert the document. There are plenty available.
gautham kasinath
Ranch Hand

Joined: Dec 01, 2000
Posts: 583
Hi! Cindy and David!
Thanks a lot for replying..
Anyway I m sure there must be some external programs to do the same.. I also looked up catdoc which is a dos/linux based executable.
Now although the source for linux is given it uses some gnu library calls which I am unfortunately unable to compile under my trusted TC compiler. I need something that converts the $ documents to pure gool old ascii files.
If you chance upon any please let me know by posting the same here and / or mailing me gkasinath@hotmail.com
Thanks a lot!!
Regds
Gautham Kasinath
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Read MS word document through Java