Andreas L. Delmelle <andreas.delmelle <at> telenet.be> writes:

> 
> On 13 Jun 2011, at 22:53, Chetan Shirol wrote:
> 
> Hi Chetan
> 
> > I am upgrading fop from .25 to .95 and facing the below issue. Please help.
> > 
> > <snip />
> > Case 2:
> > Long text with No white space like
> > eg: ReallyReallyLongTextNoWhiteSpace
> > 
> > then the text flows- overlaps the next column.
> 
> FOP implements Unicode line-breaking rules, and those do not allow to break
the sample text fragment anywhere.
> The usually suggested workaround is to alter the stylesheet, so that ZWSPs
(U+200B) are inserted that give
> FOP a chance to break.
> 
> So, you should get the equivalent of:
> R&#x200B;e&#x200B;a&#x200B;l&#x200B;l&#x200B;y...
> 
> That will effectively lead to a 'wrapping' effect, i.e. FOP will place as many
characters as possible in a
> line, and break at the next ZWSP.
> 
> This is currently the only around this, AFAIK.
> 
> Hope this helps!
> 
> Regards
> 
> Andreas
> ---
> 


Hi Andreas,

Thanks for your mail. But in our case the text I that I will be using is
dynamically generated. 
Please let me know if there is any other way/option to fix this.
With earlier .25 fop jar it worked well to keep the text inside the cell.

Regards
Chetan V S


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to