Hi,
I am a user of Apache POI API. I would like to extract metadata from
microsoft word 2007 docx file. I couldn't find how to extract metadata from
docx file. I would like to extract metadata such as "author" from docx file.
How API shoud i use to extract? The following is my code to extract text
from ms 2007 docx file.
InputStream is = new FileInputStream (filePath);
XWPFDocument docxToRead = new XWPFDocument(is);
XWPFWordExtractor xwe = new XWPFWordExtractor (docxToRead);
String fullText = xwe.getText();
Thanks in advance.
Regards,
Thet Naing Soe