W3C home > Mailing lists > Public > www-xsl-fo@w3.org > January 2004

Alternating region-after based on even/odd page?

From: Eugene Ciurana <ciurana@cime.net>
Date: Fri, 16 Jan 2004 09:12:20 -0800
Message-ID: <40081B74.1010700@cime.net>
To: www-xsl-fo@w3.org

Hello, Everyone,

I need to output two different types of text in the region-after 
depending on whether the current page is even or odd.  My page master shows:

Even page:
<fo:region-body margin-right='0.375in' margin-left='0.75in' 
margin='0.5625in' />
<fo:region-start extent='0.3125in' margin='0.3125in'/>
<fo:region-after extent='0.5625in' />   <!-- Same for even and odd 
pages?  -->

Odd page:
<fo:region-body margin-left='0.375in' margin-right='0.75in' 
margin='0.5625in' />
<fo:region-end extent='0.3125in' margin='0.3125in'/>
<fo:region-after extent='0.5625in' />   <!-- Same for even and odd 
pages?  -->

The region-start/region-end are alternated already by defining 
fo:static-content flow-name for each region.  For a given sequence, 
however, there can be only one 'xsl-region-after' flow-name, as far as I 
understand the spec.  How would I define alternating odd/even page 
formats for the region-after?

Thanks in advance,

Eugene Ciurana
-- 

CIME Software Labs
http://cime.net
(415) 922-6600 voice
Received on Friday, 16 January 2004 14:54:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:12 GMT