Subject: RE: [xsl] Page breaks in a table... From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx> Date: Mon, 10 May 2004 23:04:24 +0200 |
> -----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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Page breaks in a table..., Julian L. Hunter | Thread | Re: [xsl] problem: recursive templa, poppe chris |
RE: [xsl] evaluate() error variable, Michael Kay | Date | Re: [xsl] Closest matching value, Jeni Tennison |
Month |