Saturday, February 13, 2010

I Used Expired Vigamox

checkboxes in XSL-FO

checkboxes in an XSL-FO document can fairly easily with the Unicode symbols ☐ BALLOT BOX (U +2610), BALLOT BOX CHECKED ☑ (U +2611) and ☒ BALLOT BOX MARKED X (U +2612) be generated. The following code results in the results below.

 \u0026lt;fo:block height="9pt"> 
\u0026lt;fo:inline margin-right="5pt">
\u0026lt;fo:inline font-size="11pt"> & # x2612; \u0026lt;/ for: inline> Male \u0026lt;/ for: inline>
\u0026lt;fo:inline>
\u0026lt;for: inline font-size = "11pt"> & # x2610; \u0026lt;/ for: inline> Female \u0026lt;/ for: inline>
\u0026lt;/ for: block>

a result, it should in a browser that supports Unicode look like this:

☒ Male ☐ female

If your browser does not support Unicode (eg IE5) they will have on the line before seen any checkboxes. Actually it should look like this: