- From: jaideep telang <jaideeptelang@rediffmail.com>
- Date: 12 Oct 2004 09:43:40 -0000
- To: www-xsl-fo@w3.org
- Message-ID: <20041012094340.25690.qmail@webmail8.rediffmail.com>
Hi,
In template for checkbox just use <fo:inline font-family="ZapfDingbats">✔</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">✔</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