Hi,

either you use the (unchecked) checkbox from ZapfDingbats Font

<fo:inline font-family="ZapfDingbats" font-size="10pt">&#x274F;</fo:inline>

or draw it by yourself (svg requires batik.jar) like that:

<!-- checked checkbox (50% scaled down) -->
<fo:instream-foreign-object width="11pt" height="11pt">
  <svg:svg width="22" height="22" xml:space="preserve">
    <svg:g transform="scale(.5)" style="fill:none; stroke:black;
stroke-width:2">
      <svg:rect x="0" y="2" fill="black" width="20" height="20"
stroke-width="1"/>
      <svg:rect x="2" y="0" fill="white" width="20" height="20"
stroke-width="1"/>
      <svg:line x1="6" y1="10" x2="12" y2="17"/>
      <svg:line x1="12" y1="17" x2="20" y2="3"/>
    </svg:g>
  </svg:svg>
</fo:instream-foreign-object>

cu Torsten

> -----Original Message-----
> From: Todtenhaupt, Susann
> [mailto:[EMAIL PROTECTED]
> Sent: Dienstag, 8. Juli 2003 08:39
> To: '[EMAIL PROTECTED]'
> Subject: checkbox
>
>
> Hi @ all!
>
> How is it possible to create with xsl:fo checkboxes in a pdf-file?
>
> Thanx in advance!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

  • checkbox Todtenhaupt, Susann
    • Torsten Erler

Reply via email to