- From: Paul Tyson <phtyson@sbcglobal.net>
- Date: Fri, 14 Feb 2014 16:34:27 -0600
- To: www-xsl-fo@w3.org
Is it possible to force a page-sequence to consume all the non-repeatable page-masters listed in its reference page-sequence-master? I can have 1-n page-masters, but there might only be enough content to generate m pages. I want to use up all the page-masters (with blank flow content) for pages m+1 through n. More than n pages will use the repeatable-page-master at the end of the sequence. So I might have: <fo:page-sequence-master master-name="the-page-sequence"> <fo:single-page-master-reference master-reference="master-1"/> <fo:single-page-master-reference master-reference="master-2"/> <fo:single-page-master-reference master-reference="master-3"/> <!-- through master-n --> <fo:repeatable-page-master-reference master-name="master-0"/> </fo:page-sequence-master> And then: <fo:page-sequence master-reference="the-page-sequence"> ... <fo:flow> <!-- long or short content --> </fo:flow> </fo:page-sequence> I am almost resigned to estimating vertical space required to fill n pages and adding that to the flow content, but thought I would ask to see if I am missing something, perhaps involving fo:conditional-page-master-reference and force-page-count. (Yes, this would be better handled using independent region-bodies with separate content flows, but FOP does not support that yet.) Thanks and regards, --Paul
Received on Friday, 14 February 2014 22:34:56 UTC