Hi,
I am trying to parse docx. But i am always getting the getContent() of MainDocumentPart as empty list. Following is my code.
final LoadFromZipNG loader = new LoadFromZipNG();
WordprocessingMLPackage wordMLPackage = (WordprocessingMLPackage)loader.get(new FileInputStream("/mnt/sdcard/LC1.docx"));
MainDocumentPart documentPart = wordMLPackage.getMainDocumentPart();
List<Object> contents = documentPart.getContent();
I have tried to check my doc structure using webapp http://webapp.docx4java.org/
I could see the structure properly.
But in the program i am getting the content as ...