Hi,

I want to vertical center an external graphics in an fo:block and i have
no idea how i can do this.

My code:

<fo:flow flow-name="xsl-region-body">  
     
<fo:block> 
     <fo:external-graphic src="C:\Documents and
Settings\holle\Desktop\debug.fo\checkbox.svg"/>  
     <fo:inline font-family="Helvetica" font-size="7pt">TEST</fo:inline>
     </fo:block>


   
    </fo:flow> <!-- closes the flow element-->
  </fo:page-sequence> 
</fo:root>


Using this xsl:fo document, my external-graphics is always some pts
above the text.



The image:



<?xml version="1.0" standalone="no"?>

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"

        "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>

<svg width="7" height="7">
        <rect x="0" y="0" width="7" height="7"
        
style="fill:rgb(255,255,255);stroke:rgb(0,0,0);stroke-width:0.7"/>
</svg>



Thanks!



Best regards


Henrik holle


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

Reply via email to