File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Read DOCX file from java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Read DOCX file from java" Watch "Read DOCX file from java" New topic

Read DOCX file from java

karmegam shiva

Joined: Feb 18, 2013
Posts: 7
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

Joined: Mar 22, 2005
Posts: 39578
Any recent POI version (3.5 and up) can read DOCX as well as DOC files. You need to use the* classes instead of the ...hssf... and ...xssf... classes.

Ping & DNS - updated with new look and Ping home screen widget
Sadell Dell

Joined: Mar 14, 2013
Posts: 1
JWord is library that can help you out. Pure Java API to read and create Word documents.

I agree. Here's the link:
subject: Read DOCX file from java
Similar Threads
Store word documents as blobs using base 64 encoding
org.apache.poi.poifs.filesystem.OfficeXmlFileException while reading .docx file
Java API for RTF to DOCX Conversion
Read 2 Word documents and generate 1 word document.