Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to embed file objects injava using POI

 
Anju Kul
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me with code snippet for

How to embed file objects like .doc,.xls,.ppt and others into excel file using Apache POI.

The file objects are stored in database in BLOB and then to be retrived and embed as file objects in excel.

The functionality should be same like as we have in excel
insert-> object-> select a type
Please help its urgent
 
Anju Kul
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please reply its urgent
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think POI can do that. I believe there's some rudimentary support for working with objects that are embedded already, but not for adding embedded objects.
 
Anju Kul
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply

Canyou suggest any other way to embed objects in excel using java

May be some code snippet or some useful link I can refer to....
 
Anju Kul
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any idea on same... its urgent guys
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OpenOffice has a Java API, and can be run in server mode without showing a GUI; maybe that's powerful enough.

If it's "urgent" I advise to assume that it can't be done. If there is a solution, you won't get to it quickly.
 
Anju Kul
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey thanks a lot
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic