Hi, if text have table in the contnet and we fatch the text thru getText method in XWPFWordExtractor class than table content is coming in last. I was trying to convert Docx file to .txt file, i Have some tables in .docx files in middle of content. when i trying to fecth Text thru getText method in XWPFWordExtractor class than in output table content was on last(if soppose to middle). as i saw in code here table contnet is adding after all the content. Iterator<XWPFTable> j = document.getTablesIterator(); while(j.hasNext()) { text.append(j.next().getText()).append('\n'); } Please let me know if we have any alternate to getText data as present in .docx file means table content will come at own position not at last. Thanks, Ravindra
Ravindra, Thank you for reporting this. That issue was fixed by at least 3.10-beta2 (http://poi.apache.org/download.html#POI-3.10-beta2). Give that a try and let us know if that doesn't meet your needs.
Hi, I checked, it is working fine with 3.10-beta2 version. Thanks for your response. Thanks
Resolving this issue based on previous comment.