From: Kuba Królikowski <[EMAIL PROTECTED]>
Hello!
I'm new Fop user. Now I'm recognizing this utility and analyzing if it is suitable for my needs. I'm afraid about page break controling in Fop. I need such functionality as:
1. I want to print tables. Content in some cells has a lof of rows (more than one) - I don't know how many before printout generating because it depends on text length and font size. One table row should be on one side (it can't be breaking).
The XSL-FO mechanism for this is keep-* properties, e.g. keep-together. In general, FOP doesnt implement these properties. However, you're in luck, they are implemented on fo:table-row.
At the end of site I
want to put summary - for example the sum of values in one column. To count this summary I have to know where will be page break. This summary should be printed on the start of next page too.
This is possible using a combination of xsl transform and fo:marker. But it is not straight forward and there are limitations. You can ask on this list for help with the specifics.
2. Otherwise there shouldn't be summary when on first page, for example, there is only header of the table (first row is on the next page) - I have to know how many rows of table is printed on page and then put summary or not.
You dont need to worry about where a page breaks, fo:marker and fo:retrieve-marker take care of this for you.
3. Otherwise I want to send some special steering codes at end of the page to the printer like 'print diacritic code' or 'change paper feeder' e.t.c.
You're out of luck, there is no way to achieve this using FOP out of the box. XSL-FO does provide an extensions mechanism, but you will have to write code yourself to implement insertion of the codes into Postscript, etc.
<snip/>
Chris
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]