How I can read property->details->(title | subject | comments) from *.docx document.
Asked
Active
Viewed 1,452 times
2
-
With help of Apache POI. Read this: http://stackoverflow.com/questions/7102511/how-read-doc-or-docx-file-in-java – Archer Jan 14 '13 at 14:26
-
it can not help me because it for docx only – Hlib Jan 14 '13 at 15:25
1 Answers
3
The document metadata is common across .docx, .pptx and .xlsx formats, so any tutorial or example for reading metadata from any of those formats will do you just fine. Apache POI has everything in it you need.
One great example of reading OOXML metadata is POIXMLPropertiesTextExtractor in Apache POI, I'd suggest you read through that code to see how it works.

Gagravarr
- 47,320
- 10
- 111
- 156