Continuous Sequence

Top Previous Topic Next Topic  Print this topic

The xf:continuous-sequence element specifies if the new page sequence should start on the previous page sequence's last page.

 

- type: Boolean

- default value: false

 

Example of usage:

 

 

<?xml version="1.0" encoding="utf-8" ?>

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xf="http://www.ecrion.com/xf/1.0" xmlns:xc="http://www.ecrion.com/2008/xc" xmlns:svg="http://www.w3.org/2000/svg" font-family="Times" font-size="12pt">

       <fo:layout-master-set>

               <fo:simple-page-master master-name="Letter Page" page-width="8.500in" page-height="4.000in">

                       <fo:region-body region-name="xsl-region-body" margin="0.700in" />

               </fo:simple-page-master>

       </fo:layout-master-set>

       <fo:page-sequence master-reference="Letter Page">

               <fo:flow flow-name="xsl-region-body">

                       <fo:block>First page sequence</fo:block>

               </fo:flow>

       </fo:page-sequence>

       <fo:page-sequence master-reference="Letter Page" xf:continuous-sequence="true">

               <fo:flow flow-name="xsl-region-body">

                       <fo:block background="red">Second page sequence</fo:block>

               </fo:flow>

       </fo:page-sequence>

</fo:root>

 

 

 

Output:

 

- with xf:continuous-sequence set to "false"

 

continuous-sequence1

 

 

- with xf:continuous-sequence set to "true"

 

continuous-sequence2