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

RE: Page breaks in a table...

Subject: RE: Page breaks in a table...
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Mon, 10 May 2004 23:04:24 +0200
xsl page break
> -----Original Message-----
> From: Julian L. Hunter [mailto:hunterj@xxxxxxxxxxxxxxxxxxx]
>
> Is there a way to tell when the page breaks while creating a table?

Hi,

Not exactly in XSL-FO. The possibilities are:
1. somehow keep track of the number of rows as they are created, combined
with the row-height. This would let you know at XSLT stage 'when' a
page-break occurs.
2. (if possible) use the region-before of the page to hold the
table-header(-table), insert an fo:retrieve-marker in there, and use
strategically placed fo:markers inside the table on the region-body. This
approach would do away with the need to know when the page-break occurs, but
is useful only if you don't need to modify the 'necessary data' (i.e. just
use it in it the output, no further arithmetic)

> the nested table idea is fine with one exception, you can
> end up with the header information as the last item on
> a page, since you can no longer use keep-together
> tags. :<
>

Hmm.. Maybe a combination of using the region-before, and adding separate
tables with the 'sub-headers' as headers (?)


HTH!

Greetz,

Andreas

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.