Re: long words in table cells and hyphenate

2002-04-03 Thread Mathy V Arumugam



Bertrand,
I had the same problem as you do and the text_wrapper function fixed
it.
Mathy
Bertrand Badot wrote:

I
have got the same problem than Mathy with the overflow of the column and
long word.As I do not want
to truncate the data, I try the hyphenate solution but it did not change
anything... I write:Incredibelylongtext(tobecutbyhyphenation)

But
it does not seem to cut anything (no error message during FOP execution)...Here
attached the XSL-FO sheet and the corresponding PDF.You
can see a lot of overflow despite the hyphenate attribute in column "Arrivée"
et "Commentaires"... Does
anybody know what I am doing wrong or what I should do? RegardsBertrand.





Re: long words in table cells and hyphenate

2002-04-03 Thread J.Pietschmann
Bertrand Badot wrote:
I have got the same problem than Mathy with the overflow of the column 
and long word.
As I do not want to truncate the data, I try the hyphenate solution but 
it did not change anything...
Hyphenation only works reliably if the text constitutes
words in the specified language. It wont work properly on
odd product numbers, nor does it make much sense to think
it should.
hyphenate="true">Incredibelylongtext(tobecutbyhyphenation) 
The text is hyphenated and wrapped properly on my
machine, using FOP 0.20.3. Perhaps it's time to upgrade.
For stuff like "DJ-TFA-CVS" or "EK>EI>BX>BV", it would be
better to insert zero width spaces at appropriate places,
for some definition of "appropriate". The zero width spaces
will give FOP opportunities to insert line breaks while
not showing up if there is no break necessary.
You can use an XSLT template for achieving this. The XSL
list archive as well as the XSL FAQ has examples. Sorry,
i'm not going to dig them out right now.
J.Pietschmann


long words in table cells and hyphenate

2002-04-03 Thread Bertrand Badot



I have got the same problem than Mathy with the 
overflow of the column and long word.
As I do not want to truncate the data, I try the 
hyphenate solution but it did not change anything...
 
I write:


Incredibelylongtext(tobecutbyhyphenation) 


But it does not seem to cut anything (no error 
message during FOP execution)...
Here attached the XSL-FO sheet and the 
corresponding PDF.
You can see a lot of overflow despite the hyphenate 
attribute in column "Arrivée" et "Commentaires"...
 

Does anybody know what I am doing wrong or what I 
should do?
 
Regards
Bertrand.
 
 
 
 


RESPP.PDF
Description: Adobe PDF document


Output.fo
Description: Binary data