Loading ...
Sorry, an error occurred while loading the content.

1528RE: [XSL-FO] Last page rendering

Expand Messages
  • Wessels, Erwin (ELS)
    Feb 18, 2002
      Hi Ciprian,
      I'm not completely sure (haven't tested it), but appears, reading the spec, that the order in which you place the conditional-page-master-reference s is significant:
      "The sub-sequence of pages mapped to this sub-sequence-specifier satisfies the constraints of this sub-sequence-specifier if (a) the sub-sequence of pages consists of zero or more pages, (b) each page is generated using the fo:simple-page-master referenced by the one of the alternatives that are the children of the fo:repeatable-page-master-alternatives, (c) the conditions on that alternative are true, (d) that alternative is the first alternative in the sequence of children for which all the conditions are true, and (e) the length of the sub-sequence is less than or equal to the value of maximum-repeats. "
      Point d summarizes this. This would mean that if you move your "last" line up before the "rest" line, it would work. But then again, I just did a quick scan of the specs and are not completely sure.
      -----Original Message-----
      From: Ciprian Stoica [mailto:ciprian.stoica@...]
      Sent: Monday, February 18, 2002 1:30 PM
      To: XSL-FO@yahoogroups.com
      Subject: [XSL-FO] Last page rendering

      Hello all
      This site is really great http://www.dpawson.co.uk/xsl/sect3/index.html Thanks Willem. It solved me a lot of problems.
      But I still have a problem. I use the following page sequence:
      <fo:page-sequence-master master-name="sequence">
        <fo:conditional-page-master-reference master-name="first" page-position="first"/>
        <fo:conditional-page-master-reference master-name="rest" page-position="rest"/>
        <fo:conditional-page-master-reference master-name="last" page-position="last"/>
      First page is rendered properly but last page is rendered as a "rest" page not as "last" page.
      What's wrong? How can I make the last page to be rendered properly?
      Thanks in advance

      To unsubscribe from this group, send an email to:

      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
    • Show all 7 messages in this topic