[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Page breaks in a table...
> -----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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|