Have you tried putting number-rows-spanned="2" on the table-cell as well? That should avoid the need for the keep altogether, I think.
Eric Amick Legislative Computer Systems Office of the Clerk -----Original Message----- From: Artur Zinatullin [mailto:[email protected]] Sent: Friday, April 17, 2009 8:42 To: [email protected] Subject: fo:table, keep-with-*, placing of page breaks Hello! I have a problem with fo:table. FOP version 0.95 I am presenting certain objects in line rows, so there is two lines per object. First line has some data on it, the other one is blank space for uset to write the nothes regarding given object like <fo:table-cell number-columns-spanned="12" ...> <fo:block>Notes</fo:block> </fo:table-cell> My intention is to keep the two rows always together on one page. So, I put, naturally, keep-with-next="always" on first fo:table-row or keep-with-previous="always"on the second. That does the trick, but the pagination starts acting wierd. It breaks page_before_the_last after just a fiew rows so, the last page is always filled top to bottom. That doesn't look good at all. I'd apreciate some workaround. I've done some googling and some research on fop bugzilla. https://issues.apache.org/bugzilla/show_bug.cgi?id=44920 and http://xmlgraphics.apache.org/fop/compliance.html#fo-property-section made me no happy. Surrounding my pairs into blind table cells made no good either. Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
