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 mitroiasi <mi...@yahoo.com> on 2008/12/19 13:17:26 UTC
fo:block in fo:table-cell
Hi,
I am totally new to xsl:fo and FOP, and right now I have a problem. Maybe
the answer is simple, but I cannot find it.
I have a fo:block in a fo:table-cell which doesn't flow inside the cell, but
it is displayed in a straight line.
<fo:table-row keep-together="always">
<fo:table-cell border-width="0.5pt" border-left-style="solid"
border-bottom-style="solid" border-top-style="solid" padding="2pt">
<fo:block text-align="right">5</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.5pt" border-left-style="solid"
border-bottom-style="solid" border-top-style="solid" padding="2pt">
<fo:block>XA 78</fo:block>
<fo:block>La li lu lu li la La li lu lu li la La li lu lu li la La li
lu lu li la La li lu lu li la La li lu lu li la La li lu lu li la La li lu
lu li la La li lu lu li la
La li lu lu li la La li lu lu li la La li lu lu li la La li lu lu li
la La li lu lu li la La li lu lu li la La li lu lu li la La li lu lu li la
La li lu lu li la La li lu lu li la
La li lu lu li la La li lu lu li la La li lu lu li la La li lu lu li
la La li lu lu li la La li lu lu li la
</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.5pt" border-bottom-style="solid"
border-top-style="solid" padding="2pt">
<fo:block text-align="right">20</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.5pt" border-bottom-style="solid"
border-top-style="solid" padding="2pt">
<fo:block>Pieces</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.5pt" border-bottom-style="solid"
border-top-style="solid" padding="2pt">
<fo:block>19.09.2008</fo:block>
</fo:table-cell>
<fo:table-cell border-width="0.5pt" border-right-style="solid"
border-bottom-style="solid" border-top-style="solid" padding="2pt">
<fo:block text-align="right">10,12 EUR</fo:block>
</fo:table-cell>
</fo:table-row>
Can someone tell me where is the problem?
--
View this message in context: http://www.nabble.com/fo%3Ablock-in-fo%3Atable-cell-tp21090351p21090351.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: fo:block in fo:table-cell
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Right, instead of keep-together="always". See also
http://xmlgraphics.apache.org/fop/faq.html#cells-overflow
On 19.12.2008 18:12:44 Philip V wrote:
>
> Hi,
>
> I think you need to set
>
> keep-together.within-column="always"
>
> on your fo:table-cell
>
> Regards,
>
> Phil
>
> --
> View this message in context: http://www.nabble.com/fo%3Ablock-in-fo%3Atable-cell-tp21090351p21094825.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
>
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: fo:block in fo:table-cell
Posted by Philip V <ph...@verizon.net>.
Hi,
I think you need to set
keep-together.within-column="always"
on your fo:table-cell
Regards,
Phil
--
View this message in context: http://www.nabble.com/fo%3Ablock-in-fo%3Atable-cell-tp21090351p21094825.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org