Hi All,
I am new to FOP, so please forgive me if my question is too naive.
I am trying to add special foot on the last page. Following the example on
the web, I did:
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference page-position="last"
master-reference="MyMasterForLastPage"/>
<fo:conditional-page-master-reference page-position="first"
master-reference="MyMaster"/>
<fo:conditional-page-master-reference page-position="rest"
master-reference="MyMaster"/>
</fo:repeatable-page-master-alternatives>
This works well when there are multiple pages. But if there is only one
page, then the "first" seems to always override "last", despite the order of
conditional-page-master-reference
How can I convince FOP to use "last" in this case?
Thank you
unary