[xep-support] Absolute positioned block

Gustaf Liljegren gustaf.liljegren at xml.se
Fri Jan 25 07:29:04 PST 2002


From: "andre" <Andre.Czaker at t-systems.com>:

> is it possible to render a block to a absolute position
> in a pdf with renderX.

Yes, this is possible, but only for <fo:block-containter> I think. I've used
this in a stylesheet for diplomas, where the tutor's signature should appear
at the same place in the flow, regardless of the number of matters (listed
vertically) where discussed in the course...

<fo:block-container absolute-position="fixed" top="220mm" bottom="0mm"
left="110mm" font-size="9pt">
  <fo:block margin-bottom="1.8em">
    <xsl:value-of select="$title"/>
  </fo:block>
  <fo:block>
    <fo:leader leader-pattern="dots" leader-length="55mm" />
  </fo:block>
  <fo:block>
    <xsl:value-of select="//management/name" />
    <xsl:value-of select="//management/organization" />
  </fo:block>
</fo:block-container>

I don't remember why this "bottom" attribute is there. Maybe it can be
removed.

Gustaf


-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list