Object embedding with Word Document 2007
I am trying to insert an object ( text, word file,jpeg .. etc) into a word document using java. I am searched into the google but not get related information. If anybody knows to embed object with word document please share with us.
Thanks in advance.
Re: Object embedding with Word Document 2007
You could look at Apache POI which provides an interface to Word (as well as other Office products), allowing Java to manipulate Word docs.
Re: Object embedding with Word Document 2007
Thanks for your quick reply Tolls.. I have been searched over there but not get the completed POI. Many of the classes were missing. Can you suggest any other methods get the solutions..?
Re: Object embedding with Word Document 2007
I very much doubt classes were missing.
I've downloaded POI from Apache several times over the past couple of years and never had a problem.
What link did you use?
Re: Object embedding with Word Document 2007
This is the link i had used to download the POI
Apache POI - Download Release Artifacts
"http://poi.apache.org/download.html"
Re: Object embedding with Word Document 2007
And presumably you downloaded 3.7?
And the problem was?
Re: Object embedding with Word Document 2007
No, We downloaded the following content from that site poi-src-3.8-beta5-20111217.tar.gz . But none of the classes are there related to Object embedding for word document.
Re: Object embedding with Word Document 2007
Well, I wouldn't have recommended either the Beta or the source code.
It is possible (I've not gone through the Word section) that it is an incomplete project, or simply not polished.
You'd probably have to read the release notes on it.
Re: Object embedding with Word Document 2007
docx4j is another possibility, since you say it's for 2007.