Hi,

i've a problem with an image into a table.

Here is my fo sample. And a screenshot form the pdf.
I want the image in the "xsl-region-before" to scale the full height of the cell (table) but there is 1mm border above and 2 mm border below the image remaining. Are there default marigns paddings or borders at cells block or tables?

Please tell me how to make the "logo" fits image to the full table height.

I tryed with fop 20.5 / 0.90 a1 and renderx.... alle the same result...


Thanks

Dirk


<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
 <fo:layout-master-set>
   <fo:simple-page-master master-name="only" page-height="29.7cm"
   page-width="21cm" margin-top="0cm" margin-bottom="0cm"
   margin-left="0cm" margin-right="0cm">
     <fo:region-body margin-top="3cm" margin-bottom="2.9cm"
     margin-left="2cm" margin-right="2cm" />
     <fo:region-before precedence="true" extent="2.9cm" />
     <fo:region-after precedence="true" extent="1.5cm" />
   </fo:simple-page-master>
 </fo:layout-master-set>
 <fo:page-sequence master-reference="only">
   <fo:static-content flow-name="xsl-region-before">
     <fo:table background-color="#38528D" table-layout="fixed"
     height="24mm">
       <fo:table-column column-width="145mm" />
       <fo:table-column column-width="45mm" />
       <fo:table-column column-width="20mm" />
       <fo:table-body>
         <fo:table-row>
           <fo:table-cell padding-right="5mm" text-align="left">
             <fo:block color="white" text-align="right"
             font-weight="bold"
             font-size="14pt" padding-top="9.0mm">Header
             1</fo:block>
             <fo:block color="white" text-align="right"
             font-weight="normal"
             font-size="11pt" padding-top="0mm">Header
             2</fo:block>
           </fo:table-cell>
           <fo:table-cell>
             <fo:block>
               <fo:external-graphic src="url(images/logo.jpg)"
               scaling="non-uniform" content-width="45mm"
               content-height="scale-to-fit" />
             </fo:block>
           </fo:table-cell>
           <fo:table-cell>
             <fo:block />
           </fo:table-cell>
         </fo:table-row>
       </fo:table-body>
     </fo:table>
   </fo:static-content>
   <fo:static-content flow-name="xsl-region-after">
     <fo:block>Footer Content</fo:block>
   </fo:static-content>
   <fo:flow flow-name="xsl-region-body">
     <fo:block>Page Content</fo:block>
   </fo:flow>
 </fo:page-sequence>
</fo:root>

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

Reply via email to