You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2014/02/10 14:47:06 UTC

[Bug 56127] New: if text have table and we fatch the text thru getText method in XWPFWordExtractor class than table content is coming in last

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: dev@poi.apache.org
          Reporter: hiravi_2410@yahoo.co.in

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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 56127] if text have table and we fatch the text thru getText method in XWPFWordExtractor class than table content is coming in last

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56127

Ravindra <hi...@yahoo.co.in> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 56127] if text have table and we fatch the text thru getText method in XWPFWordExtractor class than table content is coming in last

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56127

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dominik Stadler <do...@gmx.at> ---
Resolving this issue based on previous comment.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 56127] if text have table and we fatch the text thru getText method in XWPFWordExtractor class than table content is coming in last

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56127

--- Comment #1 from Tim Allison <ta...@mitre.org> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 56127] if text have table and we fatch the text thru getText method in XWPFWordExtractor class than table content is coming in last

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56127

--- Comment #2 from Ravindra <hi...@yahoo.co.in> ---
Hi,

I checked, it is working fine with 3.10-beta2 version.
Thanks for your response.

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org