• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading a Word document

 
Geeta Ramasami
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would be opening a word document from my java application and want to edit that document thru my java application.And when i save the file it should be stored as a word doc.Bcos i save the file simply with .doc extn the format won't be proper.So is there any component available for the same..
Cheers
Geeta
 
Greg Charles
Sheriff
Posts: 2985
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not that I've heard of. I saw a Java component set that would do most of what Excel could, and presumably save spreadsheets in an Excel compatible form. I've never seen the same for Word though. The problem is that Microsoft changes the "doc" format fairly frequently. The cynical among us might claim they do this in order to protect their monopoly on Word. Other companies make word processors that understand the doc format, only to have it changed on them a few months later. A Java component would face the same problem. The annoying thing is, people send me Word docs all the time, and unless my version of Word is as up-to-date as theirs, I can't read it.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to check out Jakarta's POI project. I don't know if it has enough functionality for you (I've never used it), but the HDF format is intended to read/write .doc files.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic