On Feb 9, 2007, at 17:24, Vincenzo Mazzeo wrote:

Chris Bowditch ha scritto:
Vincenzo Mazzeo wrote:
Hi all,
I have upgraded fop from 0.25 to 0.93 and I have some troubles with tables.

1. On page break table doesn't have the bottom border even if I set it.
This is because of border conditionality. Table borders are not painted at the start/end of a reference area by default. You have to add property table-border.conditionality="retain"

I added the table-border.conditionality="retain" property to the <fo:table> but it says "Error(4/2343): fo:table, Invalid property name 'table-border.conditionality". How can I use this property?

Chris was being a bit too fast, I guess... should be:

border-after-width.conditionality="retain"

Mind that you cannot use the border or border-width shorthands.
Because the shorthands don't have a .conditionality component, they will set it to its initial value of "discard", and this can not be overridden by specifying it explicitly.

So, you'll need to specify border-[side]-width.length and border- [side]-width.conditionality for each side separately.


2. On the last page, if there isn't enough data, table doesn't fill all
available space even if I set the 'height' attribute to 100%.
height attribute has no affect on a table. IIUC, then there is no way to stretch a table so that it fills an entire page using XSL- FO 1.1.

I think Chris is right here... maybe an idea for an extension element of some sort? fox:table-page-filler, which, if present would always appear after the last row of a table, and triggers the creation of a row during layout, with one cell(box) of height equal to the remaining BPD on the last page/column spanned by the table...

Moreover I have some cells with the 'display-align' attribute set to
'after'. Because of I can't use the 'keep-together' attribute on rows,
it happens that if a row is shared on two pages the 'display-align'
doesn't work and the value appears on the former page instead of the latter.

This seems like a bug. Can you please post the FO, or even better, open an entry in Bugzilla and store the FO as an attachment there?


HTH!

Cheers,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to