On Mon, 2002-08-19 at 23:13, J.Pietschmann wrote: > Keiron Liddle wrote: > > - Implement table layout > > The table layout will use the same technique as the block layout. It > > will locate suitable breaks between rows or inside rows until table > > finished or end of bpd reached. > > Actually, what *are* valid breaks within a table apart from breaks > between two rows with no cell spanning both? > > Some interesting situations: > > +-----------------+--------------------+ > |block |block 1 | > | |block 2 | > +-----------------+--------------------+ > Break possibility after block 1 if > BPD(block)<BPD(block 1), i.e. > +-----------------+--------------------+ > |block |block 1 | > +-----------------+--------------------+ > ------------------------------------------- > +-----------------+--------------------+ > | |block 2 | > +-----------------+--------------------+
For this case I would say it is a valid break. Because table row can have keep together which only makes sense if the row can be split when there is no keep. > +-----------------+--------------------+ > |block block block|block 1 | > |block block block+--------------------+ > |block block |block 2 | > +-----------------+--------------------+ > Break possibility after row one, despite that > the cell with block 1 would have to get some > space after the block, i.e. > +-----------------+--------------------+ > |block block block|block 1 | > |block block block| | > |block block +--------------------+ > ------------------------------------------- > | +--------------------+ > | |block 2 | > +-----------------+--------------------+ It should be possible to get a break inside a cell but I don't know how the break should be found across the row. What happens if there is a page-break inside a cell. Do other cells go to the end of the page or to their limit? or should the break be at the same position across the row. Keiron. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]