https://bz.apache.org/bugzilla/show_bug.cgi?id=60470
Bug ID: 60470
Summary: Not extracting comments anchored in runs in XWPF
Product: POI
Version: 3.16-dev
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: XWPF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 34521
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34521&action=edit
triggering file, based on Tika's testWORD_numbered_list.docx
While working on SAX parser for XWPF on Tika, I found that we're not extracting
comments anchored in runs in Tika or POI with our DOM parser.
unit test:
public void testCommentsAnchoredInRuns() throws IOException {
XWPFDocument doc =
XWPFTestDataSamples.openSampleDocument("testCommentAnchoredInRun.docx");
XWPFWordExtractor extractor = new XWPFWordExtractor(doc);
assertTrue(extractor.getText().contains("add a list"));
}
--
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]