Well I'm not yet sure how it will be implemented there are two possibilities. It may be easy, or it may be hard (provided the image isn't gigantic):

1. Easy - You just write the anchors of the graphic and embed it in the file (I think just under the anchor record thingy .. I think tis called DSO)
2. Hard - You have to implemnet Office GRaphcis format first.

I don't plan on working on this until after 2.0 is released. So if you want me to do it, help with formulas and graphs ;-) (they are much easier)

This is really a better conv for poi-dev btw.

If you want to help grab a copy of the Excel Developer's Kit from www.amazon.com (out of print but available used for cheap!) and check out chicago.sourceforge.net where the office graphics format is documneted (I htink its called escher)

-Andy

Christian Del Mar Zarate wrote:

Hi, I'm a newbei using POI. I need to write an Excel file and insert on it
some images. Is it possible to do this using POI? I have tested triying to
read an Excel document that contains images using HSSF 1.8 and it worked!
The file was read, i modified some stuff and wrote the file again, and the
image prevealed. But i think it is not possible to write a Excel document
with an image from scratch. If not, what possibilities do i have to
implement it?

Thanks for your answers,

Christian



-----------------------------------------------------------------------
Este mensaje y los documentos, que en su caso, lleve anexos, pueden
contener informacion confidencial y ata�e exclusivamente a las personas
a las que va dirigido. Cualquier opinion en el contenida, es exclusiva de
su autor y no representa necesariamente la opinion de AZERTIA.
Si usted no es el destinatario de este mensaje, considerese advertido de
que lo ha recibido por error y que cualquier uso, difusion o copia estan
prohibidos legalmente. Si ha recibido este mensaje por error, le rogamos
que nos lo comunique por la misma via o al telefono 93 207 55 11 y proceda
a destruirlo inmediatamente.
This email is confidential and intended solely for the use of the individual
to whom it is addressed. Any views or opinions presented are solely those
of the author and do not necessarily represent those of AZERTIA.
If you are not the intended recipient, be advised that you have received
this email in error and that any use, dissemination, forwarding, printing,
or copying of this email is strictly prohibited.
If you have received this email in error please notify it to AZERTIA
by telephone on number +34 93 207 55 11.
-----------------------------------------------------------------------

--
To unsubscribe, e-mail: <mailto:poi-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:poi-user-help@;jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:poi-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:poi-user-help@;jakarta.apache.org>

Reply via email to