Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Read DOCX file from java

 
karmegam shiva
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying read DOCX (Word 2007) format file , i don't have any idea to read and all, To read DOC format file i used poi-3.0-alpha3.jar it's working fine,
Any idea to read DOCX file
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any recent POI version (3.5 and up) can read DOCX as well as doc files. You need to use the org.apache.poi.ss.* classes instead of the ...hssf... and ...xssf... classes.
 
Sadell Dell
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JWord is library that can help you out. Pure Java API to read and create Word documents.

/Simon
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic