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"


Hi Chris,
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?

Oops I made a typo in my original e-mail! The correct property name is just "border.conditionality" on the table element, e.g.

<fo:table border-color="black" border-width="1pt" border-style="solid" border.conditionality="retain">

<snip/>

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.


I don't follow this bit. What do you mean by a table-row being shared between 2 pages. Do you mean you have some cells spanning 2 rows, whilst other cells are not?


I mean that a cell can contain more than one line. As I don't use the 'keep-together' attribute some lines are put on a page and the others on the other page.

and you are saying that you can't use keep-together on the table-row because it messes up display-align? Well that sounds like a bug...

<snip/>

Chris




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

Reply via email to