https://issues.apache.org/bugzilla/show_bug.cgi?id=49446

           Summary: [patch] please don't insert field codes in the
                    XWPFWordExtractor output
           Product: POI
           Version: 3.6-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XWPF
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=25597)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25597)
a patch

The OpenXML specification defines in sec. 17.16.23 a w:instrText tag. It
contains field codes which are usually uninteresting for consumers of the
fulltext. In the XMLBeans model they show up as instances of CText.

I suggest that the XWPFParagraph.readNewText method should take this into
account.

A patch is attached.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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]

Reply via email to