Bug 45535

Summary: poi-3.5-beta1-20080718.jar - content from an embedded document of an Office 2003 doc document is not extracted.
Product: POI Reporter: xtrim <grizolle_benedicte>
Component: POI OverallAssignee: POI Developers List <dev>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Server 2003   
Attachments: Contains JUnit test class and documents used for testing.
The attachments contains new examples of documents used for testing.

Description xtrim 2008-08-04 07:26:25 UTC
Created attachment 22358 [details]
Contains JUnit test class and documents used for testing.

When an office 2003 word document contains an embedded document, the content of this embedded document is not extracted.
Find in attachments the JUnit test class and the documents used for testing.

We expected to extract the words "testdoc" and "test phrase".


notes on the attached document:

- the document "classic_EmbeddedObject_excel.doc" contains an xls embedded document that contains the words "testdoc" and "test phrase"

- the document "classic_EmbeddedObject_ppt.doc" contains a ppt embedded document that contains the words "testdoc" and "test phrase"

- the document "classic_EmbeddedObject_word.doc" contains a doc embedded document that contains the words "testdoc" and "test phrase"

"TestUnitPoi35Filter.java" is the JUnit class.
Comment 1 Nick Burch 2008-08-04 07:33:07 UTC
You'll need to pass the embeded OLE2 documents off to the appropriate h##f code to process them.

POI doesn't automatically re-curse into embeded documents.
Comment 2 xtrim 2008-08-04 07:43:21 UTC
Created attachment 22359 [details]
The attachments contains new examples of documents used for testing.