The answer of my question is : Create the svg file of a GUI Component with the same dimension that it should have in the pdf page file.
Bye Stefano Barella -----Original Message----- From: Stefano Barella [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 26, 2002 9:30 AM To: [EMAIL PROTECTED] Subject: Fill a block container area with an SVG 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