Jay Chiu wrote:
Hi,
I need to generate a report with subtitles and details as table rows. Each subtitle row may be followed by many detail rows, which may span multiple pages. But we want to add the same subtitle on the beginning of the following pages with some additional text as "Continue..." or even relative page number.
This type of document can be very tricky to achieve in XSL-FO. We have been trying to do sub-totals in statements, a very similar issue.
Forget quoting the number of pages for a subtitle, you wont be able to do that!
One approach that will allow the header to repeat across pages is to start a new table for each subtitle. You can play around with the space-before on the table elements to get them close enough together so that they appear to be the same table. For each table define a fo:table-header, with the subtitle in that row. The subtitle will then repeat across pages but no Continued word.
To get the continued word to work you will either need to resort to using a region-before and use markers (youll need some trickery to get table in flow to appear to be joined with subtitle row in region-before) or you will need to wait for XSL-FO 1.1, which provides for markers in table header/footers.
Chris
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
