At 2002-10-30 10:46 -0500, Li, Yinchun wrote:
hi list, would anyone tell me how to display a checkbox in XSL-FO(which will
be transformed to PDF? many thanks
The following is excerpted from our evaluation sheet for our instructor-led
training course deliveries ... I draw a bordered 1em inline-container
aligned to the after edge of the line:
<inline-container width="1em" height="1em"
alignment-adjust="text-after-edge"
border-style="solid" border-width="1px"/>
Note that the default alignment sits the container on top of the text
baseline, which is usually too high.
I hope this helps.
..................... Ken
--
G. Ken Holman mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6 Definitive XSLT and XPath
ISBN 0-13-140374-5 Definitive XSL-FO
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1 Practical Formatting Using XSL-FO
Next public training: 2002-12-08,2003-02-03,06,03-03,06
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list