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

dynamic header height in region-before

Subject: dynamic header height in region-before
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Thu, 03 Apr 2003 18:51:40 +0200
dynamic header
Hello,

I'm back again with a question regarding XSL FO. I create the FO dynamically via XSLT and it has following document structure:

<fo:root>
<fo:layout-master-set>
<fo:simple-page-master master-name="simple1" page-height="210mm" page-width="297mm" margin-right="20mm" margin-left="20mm" margin-bottom="15mm" margin-top="15mm">
<fo:region-before display-align="before" extent="10mm"/>
<fo:region-body margin-top="10mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="simple1">
... some content ...
</fo:page-sequence>
</fo:root>


In the region-before I have a <fo:block/>, which is filled with some dynamically created text. In some cases the text is longer than the one line and it must be wrapped - but this hidden because of the little extension of region-before (10mm). If I set it to 20 mm the text wraps correctly, but it goes into the region-body, what I don't want to have. Of course I can set margin-top for region-body to 20mm too, but than I have in most cases to much space between the text in the header and region-body.

So it would be nice to have a dynamic region-before height (@extent). Or region-body simply starts there where region-before ends. I used region-before, because this header should be printed out on every page.

Is there any solution or workaround? For example having the text in region-body, but printing it also on every page?

Regards,

Joerg

--

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke@xxxxxxxxx
www.virbus.de


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.