[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Double side document with legal information on the

Subject: Re: Double side document with legal information on the back
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Tue, 11 Mar 2003 15:41:37 +0200
steve cornet
steve_cornet@xxxxxxxxxxxx wrote:
I would like to create a double side document where the "even" page will
always contain some legal information (E.g.: to print an invoice). On my
odd page, I have a header, a footer and a body which contains a table with
several rows. When the number of rows is too high, FOP decide to generate a
break and continue on the next page. My problem is that I would like to
insert my legal information after this break (every "even" page must
contain legal information)
So define region-after on the page-master for even pages and put some static content there.

<fo:simple-page-master margin-right="0.7cm" margin-left="0.7cm"
margin-bottom="0.5cm"
          margin-top="0.75cm" page-width="21cm" page-height="29.7cm"
master-name="verso">
         <fo:region-body margin-top="20mm"/>
	<fo:region-after extent="20mm" region-name="even-after"/>
      </fo:simple-page-master>

...

<fo:page-sequence master-reference="all-pages">

      <fo:static-content flow-name="even-after">
      legal stuff
      </fo:static-content>
...

--
Oleg Tkachenko
Multiconn Technologies, Israel


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.