• Post Reply Bookmark Topic Watch Topic
  • New Topic

Object embedding with Word Document 2007  RSS feed

 
Sasikumar Seenu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sasikumar Seenu wrote: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.

What tool are you using? Java can't deal with Word files natively. And some tools may have limitations on advanced things like embedding objects, so I suspect you have quite a bit of reading ahead of you.

Winston
 
Sasikumar Seenu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Winston Gutkowski wrote:
Sasikumar Seenu wrote: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.

What tool are you using? Java can't deal with Word files natively. And some tools may have limitations on advanced things like embedding objects, so I suspect you have quite a bit of reading ahead of you.

Winston



I am using Netbeans to develop the word document.. If I meant anything wrong please give me some clear information.
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sasikumar Seenu wrote:I am using Netbeans to develop the word document.. If I meant anything wrong please give me some clear information.

Sorry, is this a Word (ie, Microsoft Word) document, or just a text document?

As far as I know, Netbeans doesn't include any stuff to deal with MS Word, but it's been a while since I used it.

Winston
 
Tim Moores
Saloon Keeper
Posts: 4035
94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Apache POI library has some limited functionality of altering Word documents. Inserting text or images should work, but I'm fairly certain that embedding objects in general (via OLE) won't work. Here's an example of what lies ahead of you: http://www.coderanch.com/how-to/java/CreateWordDocument
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!