Thx for your answer Lou.
I'm sorry to answer so late but I was away for few weeks.
I tried to put a table into the cells but the cell of the inner table still
take the full width of the outer cell.
Here a snippet of my code:
fo:table
fo:table-column column-width=2.5cm/
fo:table-column column-width=5.5cm/
fo:table-column column-width=5cm/
fo:table-column column-width=4.6cm/
fo:table-body
fo:table-row background-color=red
fo:table-cell number-columns-spanned=4
background-color=pink display-align=center
fo:table
fo:table-column /
fo:table-body
fo:table-row background-color=green
fo:table-cell background-color=blue
fo:block
xsl:value-of
select=concat('TEST: ', ../@number)/
/fo:block
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table
Jack
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 24 juin 2005 17:15
À : fop-users@xmlgraphics.apache.org
Objet : Re: dynamic surrounding box
How about putting text1 and test 2 into blind tables within the cells? Put a
border around the inner table and that should do the trick.
-Lou
|-+---
| | Rymasz Jacky |
| | [EMAIL PROTECTED]|
| | decaux.fr |
| | |
| | 06/24/2005 10:13|
| | Please respond |
| | to fop-users|
| | |
|-+---
---|
|
|
|To: fop-users@xmlgraphics.apache.org
|
|cc:
|
|Subject: dynamic surrounding box
|
---|
Hello.
I would like to have a box around a dynamic text.
How can I obtain this effect?
I tried with blocks and tables but either I have to put a static width, either
the block fill totally the table-cell is is into.
What I want is:
_ table cells
||
|___|
|| Text 1 ||
|[__||
||
||
| |
|| biger Text 2 | |
|[___| |
||
Where Text1 and biger Text 2 are of unknown length and are into table-cells.
Thx alot
Jack
-
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]