Hi Pascal Thanks! Now the only question I have is: How do I do it? ;-) I mean, how can decide beforehand when I need to change the 'orphans' and 'keep-together'? If there was some way that FOP would tell me "Watch out, you're going to have an overflow", then I could switch to the table rows without 'keep-together', but how can that happen? Or perhaps I'm just thinking in a non-FOP way?
Best regards, Eric -----Ursprüngliche Nachricht----- Von: Pascal Sancho [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 6. Juni 2007 15:08 An: [email protected] Betreff: RE: Overflow works in a strange way > -----Message d'origine----- > De : Lewis, Eric [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 6 juin 2007 14:57 > > Hi Pascal > > Sorry if I'm not clear enough, I'll try to explain using an example: OK, this list is made for that ;) > Let's say that I have four events that I want to show. Every > event represents one table row and must normally (!) be atomic. > > Thus, from this situation > > +---------+---------------------+ <-- Page start > | | | > +---------+---------------------+ > +---------+---------------------+ > | | | > | | | > +---------+---------------------+ > +---------+---------------------+ > | | | > | | | > | | | > | | | > | | | > | | | > +---------+---------------------+ > +---------+---------------------+ > | | | > | | | > | | | <-- Normal page end > | | | > | | | > | | | > +---------+---------------------+ > > > I want this result: > +---------+---------------------+ <-- Page start > | | | > +---------+---------------------+ > +---------+---------------------+ > | | | > | | | > +---------+---------------------+ > +---------+---------------------+ > | | | > | | | > | | | > | | | > | | | > | | | > +---------+---------------------+ <-- Page end > +---------+---------------------+ <-- Page start > | | | > | | | > | | | > | | | > | | | > | | | > +---------+---------------------+ > > > > > > > > <-- Page end Well, here, you just need to tweek the orphans property, that defines the minimum size of a row at bottom of page > As required, the table row containing one event is not split. > > However, if one table row is bigger than the page > +---------+---------------------+ <-- Page start > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | <-- Normal page end > | | | > | | | > | | | > +---------+---------------------+ > > then FOP should split it, only because it can't possibly fit > it on one page. But this should be the exception. > +---------+---------------------+ <-- Page start > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | > | | | <-- Page end > | | | <-- Page start > | | | > | | | > +---------+---------------------+ > > > > > > > > <-- Page end And here, you have to remove the keep-together property (if not, the row is not cutted at the bottom of page) > Is this clearer? Yes > > Best regards, > Eric Hope you will get what you want Pascal --------------------------------------------------------------------- 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]
