Hello all,

The big test did not work!

For those who are interested in this topic, I used the following
page-sequence-master:

<fo:page-sequence-master master-name="releve_quit">

  <fo:repeatable-page-master-alternatives>
    <fo:conditional-page-master-reference
      master-reference="releve_quit_verso"
      page-position="first"
      odd-or-even="even"/>
    <fo:conditional-page-master-reference
      master-reference="releve_quit_verso"
      page-position="rest"
      odd-or-even="even" />
    <fo:conditional-page-master-reference
      master-reference="releve_quit_recto"
      page-position="rest"
      odd-or-even="odd" />
  </fo:repeatable-page-master-alternatives>

  <fo:repeatable-page-master-alternatives>
    <fo:conditional-page-master-reference
      master-reference="releve_quit_verso"
      page-position="first"
      odd-or-even="odd" />
    <fo:conditional-page-master-reference
      master-reference="releve_quit_verso"
      page-position="rest"
      odd-or-even="odd" />
    <fo:conditional-page-master-reference
      master-reference="releve_quit_recto"
      page-position="any"
      odd-or-even="even" />
  </fo:repeatable-page-master-alternatives>

</fo:page-sequence-master master-name="releve_quit">

My goal is to use the master-reference="releve_quit_verso" always on the
first page (in both cases : even or odd), and then to alternate
master-reference="releve_quit_recto" followed by
master-reference="releve_quit_verso" consecutively (independently on the
page number even or odd).

Why? Because the fo:page-sequence-master "releve_quit" will be printed on
a recto-verso preprinted formular.

I have a case where the master-reference="releve_quit_verso" is used three
times consecutively (On the first page (which has odd page-number), then
in he second page (even) and then in the third page (odd)).

Normally, the method choosing the right master-reference
(getNextPageMasterName() in RepeatablePageMasterAlternatives.java) does
examine four criteria: (boolean isOddPage, boolean isFirstPage, boolean
isLastPage, boolean isBlankPage)... So it should never use the same
master-reference three times consecutively? No?

Please, I need some help.
May be I am not using the right repeat-alternative sequence?
May be this can not be done in XSL-FO?
May be it is a FOP bug? (In this last case, I can send you examples.)

Thanks in advance.

A+. Ahmed HADDAD.






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

Reply via email to