Hi Georg, Thanks for the response.
In this case, the data will be dynamic and it is obtained from the variable So inserting zero width spaces will not help here. Do you have any suggestions for dynamically changing data? Thanks again ! Regards, Skhay Georg Datterl wrote: > > Hi Shkay, > > Yes, that's a default that changed between this two versions. This default > can't be changed. But you can fool it: Insert zero-width-spaces in your > strings. They are invisible, but fop can break the line there. > > Regards, > > Georg Datterl > > ------ Kontakt ------ > > Georg Datterl > > Geneon media solutions gmbh > Gutenstetter Straße 8a > 90449 Nürnberg > > HRB Nürnberg: 17193 > Geschäftsführer: Yong-Harry Steiert > > Tel.: 0911/36 78 88 - 26 > Fax: 0911/36 78 88 - 20 > > www.geneon.de > > Weitere Mitglieder der Willmy MediaGroup: > > IRS Integrated Realization Services GmbH: www.irs-nbg.de > Willmy PrintMedia GmbH: www.willmy.de > Willmy Consult & Content GmbH: www.willmycc.de > > -----Ursprüngliche Nachricht----- > Von: Skhay [mailto:[email protected]] > Gesendet: Freitag, 23. Juli 2010 20:50 > An: [email protected] > Betreff: Re: 0.95 Table-cell not wrapping. > > > > Hi, > > Even iam facing a similar issue as discussed here, but still haven't got > any > solution. > So please let me know if i am missing anything here. > > I have a long data where it contains numbers and alphabets and so it > overflows the cell width without wrapping, so even providing language="en" > did not help; but for another data where it contains a proper english > word, > the hypenation works correctly. > > this is how my code looks: > > <fo:block hyphenate="true" language="en" > > wrap-option="wrap" > > > hyphenation-character="-" > > > hyphenation-keep="column" > > > hyphenation-push-character-count="4" > > > hyphenation-remain-character-count="4" > > > font-family="Courier, monospace" font-size="11pt"> > > xxxxxxxxxxx012rrrrrr > > </fo:block> > > All i wanted is to wrap this data when it is longer than the cell width > which was happening in FOP 0.20.5. > > > Thanks, > Skhay > > > > > > > Bones wrote: >> >> Hi Jeremias, >> >> As always thank you. That did the trick. >> >> Best Regards, >> >> >> >> Jeremias Maerki-2 wrote: >>> >>> I can't reproduce that with only your FO snippet. Have you got a >>> keep-together="always" somewhere in your document? If yes, switch that >>> to keep-together.within-column="always". >>> >>> On 21.08.2008 13:56:31 Bones wrote: >>>> >>>> Ok, I think I might have found the issue. Not sure if this is a bug. If >>>> my >>>> text has a hyphen in it, the text will not wrap. When I take it out, it >>>> wraps. >>>> >>>> example >>>> >>>> "This is some really long text that runs into the next cell - try >>>> another >>>> phrase." >>>> >>>> will not wrap. >>>> >>>> >>>> >>>> Bones wrote: >>>> > >>>> > Hi, >>>> > >>>> > I am upgrading a stylesheet from 0.20.5 to .95 and having some >>>> trouble >>>> > with a cell not wrapping text. Here is my fo: >>>> > >>>> > <fo:table-cell wrap-option="wrap" padding-left="5px" >>>> padding-top="5px" >>>> > padding-right="5px" border-top-style="solid" border-top-width="1pt" >>>> > border-bottom-style="solid" border-bottom-width="1pt" >>>> > border-start-style="solid" border-start-width="1pt" >>>> > border-end-style="solid" border-end-width="1pt"> >>>> > <fo:block space-after.optimum="8pt" font-size="10pt" >>>> hyphenate="true" >>>> > wrap-option="wrap" language="en" overflow="hidden">This is some >>>> really >>>> > long text that runs into the next cell.</fo:block> >>>> > </fo:table-cell> >>>> > >>>> > I also tried hyphenation. I downloaded the fop-hyph.jar and placed in >>>> my >>>> > /lib folder. I set my block attributes to hyphenate="true" >>>> > wrap-option="wrap" language="en" - but no luck. >>>> > >>>> > What am I missing? >>>> > >>>> > Thanks, >>>> > >>>> > >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/0.95-Table-cell-not-wrapping.-tp19087050p19087218.html >>>> Sent from the FOP - Users mailing list archive at Nabble.com. >>> >>> >>> >>> Jeremias Maerki >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >>> >> >> > > -- > View this message in context: > http://old.nabble.com/0.95-Table-cell-not-wrapping.-tp19087050p29249680.html > Sent from the FOP - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/0.95-Table-cell-not-wrapping.-tp19087050p29269878.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
