Re: Symbols

Hi,

         In template for checkbox just use <fo:inline font-family="ZapfDingbats">&#x2714;</fo:inline> in place of “x”.

 Example:
--------------------------------------

<xsl:template name="checkedBox">

     <fo:table table-layout="fixed">

       <fo:table-column column-width="8pt"/>

       <fo:table-column column-width="8pt"/>

       <fo:table-column column-width="8pt"/>

       <fo:table-body>

         <fo:table-row>

           <fo:table-cell/>

           <fo:table-cell display-align="center" 

             padding="0pt">

             <fo:block font-family="sans-serif" 

               font-size="8pt" 

               font-weight="normal" 

               text-align="center"

               border="0.5pt solid black"><fo:inline font-family="ZapfDingbats">&#x2714;</fo:inline></fo:block>

           </fo:table-cell>

         </fo:table-row>

       </fo:table-body>

     </fo:table>

   </xsl:template>

 

This will print check mark inside checkbox.

 

 
thanks

jaideep telang



Received on Tuesday, 12 October 2004 10:09:08 UTC