I would like to show a tickbox on the pdf and tried to do it as:
<fo:table-row height="10pt">
<fo:table-cell>
<fo:block line-height="10pt" text-align="center" border-style="solid" border="1pt" white-space-collapse="false">
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block/>
</fo:table-cell>
</fo:table-row>
but instead of getting a box, I get a line ie a box width 1pt height. How can I force FOP, not to collapse the block? I'm using Apache-Fop 1.0
Update1:
This works:
<fo:block text-align="left">
<fo:table text-align="left" table-layout="fixed">
<fo:table-column column-width="10pt"/>
<fo:table-column column-width="10pt"/>
<fo:table-body>
<fo:table-row height="10pt">
<fo:table-cell height="10pt">
<fo:block line-height="10pt" font-family="$_Fontfamily"
font-size="8pt">$row.getValue().get(0)
</fo:block>
</fo:table-cell>
<fo:table-cell height="10pt" width="10pt">
<fo:block text-align="center" border-style="solid" border="1pt"/>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
I want border on the second cell. If I put a table into the second block, then it works ok.