The most frightening aspect (which Microsoft does not state very clearly) is
this:

If you use server side Automation to manipulate office documents with Excel,
Word, etc., and if your application allows users to upload office documents,
your server will be vulnerable to whatever macros any user should upload.
Even if you get it working, make it scale - no small task, and solve the
other problems, you still have a major security vulnerability that can be
exploited unintentionally by your application's users.

Second, it *is* possible to put images into Excel spreadsheets, but not yet
modify images on a spreadsheet that contains any Escher objects. You have to
use 2.5, there is no support for images in 2.0. If you download the source,
look in the examples directory for OfficeDrawing.java and
OfficeDrawingWithGraphics.java. (These are all drawings on Excel
spreadsheets).

Somewhere there is a short tutorial on drawings, but I can't find it at the
moment.

-----Original Message-----
From: Veit, Michael [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 10, 2004 8:37 AM
To: 'POI Users List'
Subject: RE: Adding images to Excel spreadsheet using POI

Derek,

   Just some advice about .NET and Excel (this is only if you are doing
server-side ASP.NET). Check out article 257757 on the MS knowledge base.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 9:11 PM
To: [EMAIL PROTECTED]
Subject: Adding images to Excel spreadsheet using POI


I have a need to generate an Excel spreadsheet, with images in Java (images
are derived from complex data built on the fly).

It looks like POI doesn't support images (it's on the to-do list).

Q1. Can someone confirm images can or can't be added?
Q2. Assuming it isn't possible yet, does anyone have an idea for a work
around?  I really don't want to have to resort to Visual Studio.

Thanks, Derek

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to