Unable to read all content in order of a word document (docx) in Apache POI
问题 I've been trying to read all content (including tables, pictures, paragraphs) from a word document. I'm able to read tables and paragraphs using getBodyElementsIterator() but it doesn't read pictures present inside the document. Although I'm able to read pictures seperately using getAllPictures() but I need to read everything in order. I've tried looking for XWPFPicture instance while looping inside getBodyElementsIterator() but I'm not able to find any image instance. Iterator<IBodyElement>