Mansour schrieb:
I am trying to add an icon before the <tip> or <warning>. I need this
icon to the left of the block. I have added the icon I need using <fo:instream-foreign-object> but no luck with positioning it before the <tip>. Any ideas ?


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



Hi,

I use a table to put a icon on a left side of a warning. Therefore I overwrite the caution template in my customizations layer like this:

   <xsl:template match="caution">
       <fo:table table-layout="fixed" width="14cm">
           <fo:table-column column-width="proportional-column-width(10)"/>
           <fo:table-column column-width="proportional-column-width(90)"/>
           <fo:table-body>
               <fo:table-row keep-together.within-column="always">
                   <fo:table-cell text-align="center">
                       <fo:block space-before="3mm">
<fo:external-graphic src="url(icons/attention_red_50x50mm.png)" width="10mm" height="10mm" content-width="scale-to-fit" content-height="scale-to-fit" />
                       </fo:block>
                   </fo:table-cell>
                   <fo:table-cell>
                       <fo:block>
                           <xsl:apply-imports />
                       </fo:block>
                   </fo:table-cell>
               </fo:table-row>
</fo:table-body> </fo:table>
   </xsl:template>

Regards

Stefan


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

Reply via email to