The Artima Developer Community
Sponsored Link

Java Answers Forum
reading MS WORD document through java

6 replies on 1 page. Most recent reply: Jun 16, 2002 9:57 PM by Charles Bell

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 6 replies on 1 page
sonata

Posts: 3
Nickname: s20
Registered: Mar, 2002

reading MS WORD document through java Posted: Mar 11, 2002 3:46 AM
Reply to this message Reply
Advertisement
Could somebody tell me how can I search for a particular keyword in MS WORD documents using java


Chin Loong

Posts: 1
Nickname: chinloong
Registered: Apr, 2002

Re: reading MS WORD document through java Posted: Apr 2, 2002 2:25 AM
Reply to this message Reply
hi there, u found the solution yet?

Singh M.

Posts: 154
Nickname: ms
Registered: Mar, 2002

Re: reading MS WORD document through java Posted: Apr 2, 2002 4:17 AM
Reply to this message Reply
there is an application by the name of catdoc, which extracts text from MS Word file. Just grab the text and search for any thing you want.

Singh M.

Posts: 154
Nickname: ms
Registered: Mar, 2002

Re: reading MS WORD document through java Posted: Apr 2, 2002 5:04 AM
Reply to this message Reply
Where have you been Chin? Long time no see...

Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: reading MS WORD document through java Posted: Apr 5, 2002 4:08 AM
Reply to this message Reply
IBM has developped a special package for that ...
See the alphaworks web site.
The classes are not free but you should be able to get a DEMO version with smthg limited in it

Thomas,

vinodh

Posts: 2
Nickname: vinodh
Registered: Jun, 2002

Re: reading MS WORD document through java Posted: Jun 11, 2002 5:42 AM
Reply to this message Reply
> Could somebody tell me how can I search for a
> particular keyword in MS WORD documents using java

Some time back , i faced the same problem.Atlast i found an workaround for this. It goes like this....
read ur word document as an character array and convert buffer into hexa string and also the string u want to search ... then do an index of two strings ..now u got the starting pos of the word u want to find .....
revert back for any clarifications

Charles Bell

Posts: 519
Nickname: charles
Registered: Feb, 2002

Re: reading MS WORD document through java Posted: Jun 16, 2002 9:57 PM
Reply to this message Reply
There is an open source project called Jacob

at:
http://users.rcn.com/danadler/jacob/

Flat View: This topic has 6 replies on 1 page
Topic: java to lotus notes Previous Topic   Next Topic Topic: Executing Servlet on J2EE Server

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use