aspose file tools*
The moose likes General Computing and the fly likes How to read a Word document embedded in another Word document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "How to read a Word document embedded in another Word document" Watch "How to read a Word document embedded in another Word document" New topic
Author

How to read a Word document embedded in another Word document

osmany machado
Greenhorn

Joined: Dec 01, 2012
Posts: 4
Hi, it is possible to read a word document embed inside other word. How I can open it?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Yes, it is possible. I used to know how to do this ages ago (like in the 90's) using OLE (Object-Linking and Embedding). What API are you using to access the Word document?


JBoss In Action
osmany machado
Greenhorn

Joined: Dec 01, 2012
Posts: 4
I use netbeans 6.1, is this it.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42910
    
  68
NetBeans is an IDE; it has no facilities to do anything with a Word document. What you need is a library that knows about the file format; the best-known open source Java library for handling MS Office formats is Apache POI, but I'm not sure if it can handle embedded documents. Its web site or the associated mailing lists may help you find that put. I think there are also commercial libraries for handling those file formats.
osmany machado
Greenhorn

Joined: Dec 01, 2012
Posts: 4
Thank you, I've found somEthing in google like that "POI, OLE, ASPOSE" but I need uncode it, it's a little dificult, mmm. Do you have some example?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42910
    
  68
What exactly did you find? POI and Aspose are two different libraries. For the former, the Apache POI site has examples and information. The latter is commercial, and therefore it should have documentation and examples available from its authors.
osmany machado
Greenhorn

Joined: Dec 01, 2012
Posts: 4
I'try to read slow. See you on tuesday, my job just finish, I work 24 hrs.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to read a Word document embedded in another Word document