You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Cyril Vidal <cy...@planetexml.com> on 2002/07/22 22:22:04 UTC
2 questions from a beginner
Hy,
I'm new to FOP and I encounter two difficulties that I can't fix.
1°) In a table, more precisely in a cell, I've got a box whose content is longer than the width of this cell.
By default, the content also stands in the near cells, and I don't want that to produce. So I've read the recommandation and I've found the property wrap-option="wrap".
But it doesn't run, at least with FOP 0.20.
here's a piece of my code:
<fo:table-cell padding="0.3cm" width="1.5cm">
<fo:block text-align="center" wrap-option="wrap"><xsl:apply-templates select="EXT"/></fo:block>
</fo:table-cell>
2°) I don't understand very well how runs the element <fo:block-contaiiner>.
When I write this:
<fo:block-container width="10pt" background-color="blue">
<fo:block space-after="4cm"/></fo:block-container>
I see well the block-container.
But now, when I want to write something in this block-container in some boxes, this ones becomes a line..?!!!
<fo:block-container width="10pt" background-color="blue">
<fo:block space-after="4cm">Hello</fo:block>
</fo:block-container>
Can someone help me please?
Thanks a lot for your responses,
Best,
Cyril.
Email: cyril@planetexml.com
Web: http://www.planetexml.com