MHonArc v2.5.0b2 -->
office message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [office] Proposal: Page Sequences
Hi all,
Michael alerted me that my example was a bit garbled. It doesn't declare
master-pages anywhere, and also doesn't use the new element name,
page-layout. Here's a corrected example, also with updated attribute names:
<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>
[... text boxes as before ...]
An additional item came up, too: In the proposal I specified that, if a
main text flow is present and thus conflicting master page infos are
present, the page sequence should take precedence. It might make more
sense to specify the page sequence as an alternative to a main text
flow, so that a document would contain either a text flow or a page
sequence. This way, no conflicting information would be in the file, and
therefore no precedence is needed.
Sincerely,
Daniel
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]