Hi Sylvie

It is not possible to change format during one single page sequence.
So you need to define TWO simple-page-masters with different name and
the switched values (as it was written by Alexander Koppelhuber).
Then define a new page sequences where you want to change the format:

<fo:page-sequence master-name="A4normal">
  <fo:flow flow-name="xsl-region-body">
    <!-- your content on the normal page -->
  </fo:flow>
</fo:page-sequence>
<!-- NEW PAGE -->
<fo:page-sequence master-name="A4landscape">
  <fo:flow flow-name="xsl-region-body">
    <!-- your content on the landscape page
  </fo:flow>
</fo:page-sequence>
<!-- NEW PAGE -->
<fo:page-sequence master-name="A4normal">
  <fo:flow flow-name="xsl-region-body">
    <!-- your content on the normal page -->
  </fo:flow>
</fo:page-sequence>

and so on...

Regards, Chris Wysseier

---- Original Message ----
Von: [EMAIL PROTECTED]
An: [EMAIL PROTECTED], 
Betreff: RE: Landscape format
Datum: Fri, 29 Nov 2002 18:54:18 +0100

>Yes, but I don't see how to switch from one format to the other.
>Do I need to stop the sequence and start another one ?
>I can't manage to do that.
>
>Sylvie.
>
>-----Message d'origine-----
>De:    Alexander Koppelhuber [SMTP:[EMAIL PROTECTED]
>Date:  vendredi 29 novembre 2002 18:32
>A:     [EMAIL PROTECTED]; Sylvie PICOUET
>Objet: AW: Landscape format
>
>Simply set page-height and page-width to the right values.
>(or just switch the values)
>
>The following part gives you a DIN A4 page in landscape.
>
>    <fo:layout-master-set>
>        <fo:simple-page-master master-name="basic page"
>                               page-height="210mm"
>                               page-width="297mm"
>                               margin-top="0cm"
>                               margin-bottom="0cm"
>                               margin-left="0mm"
>                               margin-right="0mm">
>        <fo:region-body margin-top="0cm"
>                        margin-right="5mm"/>
>        <!--<fo:region-after extent="2cm"/> -->
>        </fo:simple-page-master>
>    </fo:layout-master-set>
>
>-----Ursprungliche Nachricht-----
>Von: Sylvie Picouet [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 29. November 2002 18:18
>An: '[EMAIL PROTECTED]'
>Betreff: Landscape format
>
>
>How is it possible to get some pages of a pdf document in the 
>landscape
>format ?
>Thanks for your help.
>
>Sylvie.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to