4.2 Page Sequences
A page sequence element <text:page-sequence>
specifies a sequence of master pages that are instantiated in exactly the same
order as they are referenced in the page sequence. If a text document contains
a page sequence, it will consist of exactly as many pages as specified.
Documents with page sequences do not have a main text flow consisting of
headings and paragraphs as is the case for documents that do not contain a page
sequence. Text content is included within text boxes for documents with page
sequences. The only other content that is permitted are drawing objects.
Example: Page Sequence
<style:automatic-style>
<style:page-layout
name="pm1">
<!--
portrait page -->
</style:page-layout>
<style:page-layout
name="pm2">
<!--
landscape page -->
</style:page-layout>
</style:automatic-style>
...
<style:master-styles>
<style:master-page
name="portrait" style:page-layout-name="pm1"/>
<style:master-page
name="landscape" style:page-layout-name="pm2"/>
</style:master-styles>
...
<office:body>
<text:page-sequence>
<text:page
text:master-page-name="portrait"/>
<text:page
text:master-page-name="portrait"/>
<text:page
text:master-page-name="landscape"/>
<text:page
text:master-page-name="landscape"/>
<text:page
text:master-page-name="portrait"/>
</text:page-sequence>
<draw:frame
...>
<draw:text-box
...>
<text:p>Example
text.</text:p>
...
</draw:text-box>
</draw:frame>
</office:body>
<define name="text-page-sequence">
<element
name="text:page-sequence">
<oneOrMore>
<ref
name="text-page"/>
</oneOrMore>
</element>
</define>