Eivind Andreassen wrote:
I want to wrtite the letter x on the last page of a pdf document. I want to put it in a static content, so the x appear on the same place everytime.

<fo:static-content flow-name="last-after" text-align="right" font-size="11px">
    <fo:block>x</fo:block>
</fo:static-content>

The region-after is defined in a simple-page-mastes with page position = "last" using <fo:conditional-page-master-reference master-reference="last" page-position="last"/>.

But the letter x will only appear on documents with several pages, and not on the documnts with only one page. Can anyone help me?

I have difficulties understanding your problem. Conditional page master
references are matched in the order they appear in the page sequence
master. If a reference for page-position="first" is the first, it takes
precedence over any other reference in the page sequence master for
documents with only one page. If you want to take the reference to
the page master for the last page to take precedence, move it to the
top.

In any case, the page-position="last" is only supported in the latest
development code in SVN. Released code up to 0.92beta doesn't implement
this.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to