This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Request assistance creating business form with XSL:FO
- From: "J.Pietschmann" <j3322ptm at yahoo dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 17 Sep 2002 21:27:24 +0200
- Subject: Re: [xsl] Request assistance creating business form with XSL:FO
- References: <H000053901bb4495.1032289473.rvew.cgo.cargill.com@MHS>
- Reply-to: xsl-list at lists dot mulberrytech dot com
robert_hitchins@cargill.com wrote:
Hi! I need to create a PDF version of a business form on the fly using
XSL:FO. The form has several boxed-in areas that are fixed in both
size and location. I have tried to use the absolute-position="fixed"
attribute of the block-container but have not had any success because
the boxes always seem to get squeezed together and I can't get them
positioned properly on the page.
Is there a way to define fixed size and position for bordered blocks?
If so, any code snippets or tutorials you could point me to would be
very much appreciated!
Try
<fo:block-container position="absolute"
top="0cm" left="0cm" height="4cm" width="12cm">
You can also use "bottom" and "right" to define the position of the
lower right vertex. Check the spec for details:
http://www.w3.org/TR/xsl/slice6.html#fo_block-container
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list