David - I've just finished a simple pdf form using checkboxes and here's
what I've used:
<xsl:template name="unCheckedBox">
<fo:table inline-progression-dimension="8pt" table-layout="fixed">
<fo:table-column column-width="8pt"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell display-align="center" padding="0pt">
<fo:block font-family="serif" font-size="8pt"
font-weight="normal" text-align="center" border="0.5pt solid black">
 
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</xsl:template>
<!-- example code using unCheckedBox
<fo:table inline-progression-dimension="7.5in"
table-layout="fixed">
<fo:table-column column-width=".2in"/>
<fo:table-column column-width="7.3in"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>
<xsl:call-template name="unCheckedBox"/>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>
Text to go to the right of checkbox
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
-->
I found unCheckedBox here:
http://lists.w3.org/Archives/Public/www-xsl-fo/2003Feb/0014.html which
also includes a checkedBox template.
Mike
-----Original Message-----
From: David Weber [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 12:24 PM
To: [EMAIL PROTECTED]
Subject: pdf-forms
Hi,
I want to create pdf-forms from xml-files with xml:fo. Is it possible to
create such form-elements with fop (e.g. text-box, check-box...)?
I assume that form-elements are not part of the xsl:fo recommendation
from
w3c and so FOP won't do this!? But perhaps someone can give me a hint,
how
I can solve this problem?
thanks in advance,
david.
---------------------------------------------------------------------
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]