https://issues.apache.org/bugzilla/show_bug.cgi?id=56127
Bug ID: 56127
Summary: if text have table and we fatch the text thru getText
method in XWPFWordExtractor class than table content
is coming in last
Product: POI
Version: 3.9
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: XWPF
Assignee: [email protected]
Reporter: [email protected]
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
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]