On 09.05.2007 22:10, Iris Soto wrote:

I want to insert the image in transformxls.xls , I think that the tag defined for this is: Objects. In a file created
with Gnumeric, the output is:

<gnm:Objects>
<gnm:SheetObjectImage ObjectBound="A1:D5" ObjectOffset="0.938 0.588 0.359 0.588" ObjectAnchorType="16 16 16 16" Direction="17" crop-top="0" crop-bottom="0" crop-left="0" crop-right="0"> <Content image-type="png" size-bytes="9130">iVBORw..................
..............................
.......... Here go the content of the image in bytes ....................
..............................
      </Content>
   </gnm:SheetObjectImage>
</gnm:Objects>

Now, I don't see the tag SheetObjectImage in http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/poi/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/.
In transformxsl.xsl file I have:

<gmr:Objects>
<gmr:SheetObjectImage ObjectBound="A1:D5" ObjectOffset="0.938 0.588 0.359 0.588" ObjectAnchorType="16 16 16 16" Direction="17" crop-top="0" crop-bottom="0" crop-left="0" crop-right="0"> <Content image-type="png" size-bytes="9130">iVBORw..................
         </Content>
</gmr:SheetObjectImage>
</gmr:Objects>

I want to insert a image in the transformxsl.xsl stylesheet, to be serialized by POI.

Unfortunately, this feature is not supported yet. Somebody familiar with POI might provide a patch for it.

Joerg

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

Reply via email to