W3C home > Mailing lists > Public > www-xsl-fo@w3.org > January 2010

Re: static content on last page

From: Ari Army <armyofda12mnkeys@gmail.com>
Date: Fri, 8 Jan 2010 10:29:02 -0500
Message-ID: <797650581001080729p47d6755bra62f4e0a73ebb25d@mail.gmail.com>
To: www-xsl-fo@w3.org, Tony Graham <Tony.Graham@menteithconsulting.com>
darn, that page-position="last" just doesn't evaluate to true.
Tried a bunch of combos of trying to catch correct rules with "rest",
"any", "first", dont think its possible.


hmmmm, looks like it was a bug reported and "fixed":
https://issues.apache.org/bugzilla/show_bug.cgi?id=40798
Seems like "only" should work if placed as the first, like so:

<fo:repeatable-page-master-alternatives>
  <fo:conditional-page-master-reference
master-reference="patient_pages_master_lastPageIfMultiplePagesOrIfOnePage"
page-position="only" />
  <fo:conditional-page-master-reference
master-reference="patient_pages_master_lastPageIfMultiplePagesOrIfOnePage"
page-position="last" />
  <fo:conditional-page-master-reference
master-reference="patient_pages_master_firstIfMultiplePages"
page-position="any" />
</fo:repeatable-page-master-alternatives>


but the "only" rule catches both pages in my multipage test for some reason?
Received on Friday, 8 January 2010 15:29:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 8 January 2010 15:29:36 GMT