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 gennady <ge...@yahoo.com> on 2008/08/30 15:07:47 UTC

How to make table cell wrap or to prevent it from overflowing/spanning out of page?

Again, converting from FOP-0.20 to FOP-0.95 I ran into problem that long
table cell data overflow into other columns and even out of page? How to
make them stay in the same column even if the row becomes wider which was
working automatically in FOP-0.20?
Send an example, if you have one. Thanks a lot for help.

-Gennady 
-- 
View this message in context: http://www.nabble.com/How-to-make-table-cell-wrap-or-to-prevent-it-from-overflowing-spanning-out-of-page--tp19233216p19233216.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: How to make table cell wrap or to prevent it from overflowing/spanning out of page?

Posted by gennady <ge...@yahoo.com>.
Danke, Andreas! 
It works well when I put it in every single <fo:block>...

-Gennady


Andreas Delmelle-2 wrote:
> 
> On Aug 30, 2008, at 15:07, gennady wrote:
> 
> Hi
> 
>> Again, converting from FOP-0.20 to FOP-0.95 I ran into problem that  
>> long
>> table cell data overflow into other columns and even out of page?  
>> How to
>> make them stay in the same column even if the row becomes wider  
>> which was
>> working automatically in FOP-0.20?
>> Send an example, if you have one. Thanks a lot for help.
> 
> Most likely, this issue is related to a keep-together that is  
> specified on the table-cell, table-row or table.
> 
> The explanation is:
> - keep-together="always" also sets keep-together.within-line="always"
> - this is an inherited property, so this applies to all descendants  
> of the table-cell as well
> 
> Solution: specify keep-together.within-column="always" if you want to  
> avoid also setting .within-line.
> 
> 
> HTH!
> 
> Cheers
> 
> Andreas
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-make-table-cell-wrap-or-to-prevent-it-from-overflowing-spanning-out-of-page--tp19233216p19239065.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: How to make table cell wrap or to prevent it from overflowing/spanning out of page?

Posted by Andreas Delmelle <an...@telenet.be>.
On Aug 30, 2008, at 15:07, gennady wrote:

Hi

> Again, converting from FOP-0.20 to FOP-0.95 I ran into problem that  
> long
> table cell data overflow into other columns and even out of page?  
> How to
> make them stay in the same column even if the row becomes wider  
> which was
> working automatically in FOP-0.20?
> Send an example, if you have one. Thanks a lot for help.

Most likely, this issue is related to a keep-together that is  
specified on the table-cell, table-row or table.

The explanation is:
- keep-together="always" also sets keep-together.within-line="always"
- this is an inherited property, so this applies to all descendants  
of the table-cell as well

Solution: specify keep-together.within-column="always" if you want to  
avoid also setting .within-line.


HTH!

Cheers

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org