xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: How to wrap text in fo:table-cell
Date Thu, 10 Jul 2008 10:07:58 GMT
This is an FAQ. Please see:
http://xmlgraphics.apache.org/fop/faq.html#cells-overflow

There are a number of posts about this on the mailing list archives, too.
Good luck!

BTW, overflow="scroll" doesn't have an effect in FOP!

On 10.07.2008 08:29:15 SanjeevGour wrote:
> 
> Hello, 
> I am generating a PDF using FOP. I have table which contains large text in
> cells. This text goes into the next column messing up the data. Following is
> my xsl - 
> 	<fo:table-cell padding="2pt" border="0.2pt solid black"	width="auto">
>             <fo:block-container width="60px" height="10px"
> overflow="scroll">
> 		 <fo:block>
> 			tttttttttttttttttttttttttttttttttnnntttnttttttttttttttttt
> 		</fo:block>
> 	    </fo:block-container>
>         </fo:table-cell>
> 
> This text wrap correctly when it has spaces in between. That to happens
> without using fo:block-container. I want when the text is large, it should
> continue with the next line. I don't know what value to specify and which
> attributes need to be set for fo:block-container in order to do this.
> 
> Any guidelines would be highly appreciated.
> 
> Thank you,
> Sanjeev.
> -- 
> View this message in context: http://www.nabble.com/How-to-wrap-text-in-fo%3Atable-cell-tp18376733p18376733.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


Mime
View raw message