robert_hitchins(_at_)cargill(_dot_)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