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 empty list.
Could you please help me in knowing the exact problem and how to resolve it.
I am uploading the document i am using for parsing.