Hi, I have a problem, 
I'm using fop to genere a pdf file and I want to fill 
a block container with an svg picture.
My problem is that I give to the block a precise dimension 
an position ( ABSOLUTE ) and I'll give to the svg image the same 
dimensions
but it is ignored all directive that I have gaved. The image doen't 
fill all the rectangle of the block container but it seems to have 
always a precise dimension, may be a FIXED dimension.

My code:

<fo:block-container height="11cm" width="9cm" top="0.0cm" left="0.0cm" 
            position="absolute"
            border-width="0.01mm" border-style="solid">
    <fo:instream-foreign-object>
        <svg xmlns="http://www.w3.org/2000/svg"; width="9cm"
                                                height="11cm">
            <g>
                <image xlink:href="file:pie.svg" x="0" y="0" 
                                           width="9cm" height="11cm"/>
            </g>
        </svg>
    </fo:instream-foreign-object>
</fo:block-container>

Can anybody help me ?

Bye 
Stefano Barella




Reply via email to