Results 1 to 9 of 9
  1. #1
    ramuksasi is offline Member
    Join Date
    Mar 2012
    Posts
    4
    Rep Power
    0

    Default 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.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,755
    Rep Power
    19

    Default 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.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    ramuksasi is offline Member
    Join Date
    Mar 2012
    Posts
    4
    Rep Power
    0

    Default 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..?

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,755
    Rep Power
    19

    Default 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?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  5. #5
    ramuksasi is offline Member
    Join Date
    Mar 2012
    Posts
    4
    Rep Power
    0

    Default 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"

  6. #6
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,755
    Rep Power
    19

    Default Re: Object embedding with Word Document 2007

    And presumably you downloaded 3.7?
    And the problem was?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  7. #7
    ramuksasi is offline Member
    Join Date
    Mar 2012
    Posts
    4
    Rep Power
    0

    Default 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.

  8. #8
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,755
    Rep Power
    19

    Default 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.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  9. #9
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,755
    Rep Power
    19

    Default Re: Object embedding with Word Document 2007

    docx4j is another possibility, since you say it's for 2007.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. How to Convert Excel document to word document?
    By sudheer.v47 in forum Advanced Java
    Replies: 3
    Last Post: 05-09-2014, 09:26 AM
  2. APACHE POI 2007 word documents
    By wildheart25c in forum Advanced Java
    Replies: 0
    Last Post: 06-20-2011, 05:49 AM
  3. Access a styles in a word document
    By bhuvanakarthikk in forum New To Java
    Replies: 1
    Last Post: 03-12-2011, 09:11 AM
  4. Embedding Word in an applet
    By Java Tip in forum SWT
    Replies: 0
    Last Post: 07-25-2008, 02:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •