You could insert a Unicode Zero Width Space (​) after each
character within your table-cell. That should enable the word to break
properly without overflowing into the next cell.

However, if the same logic is applied to some standard text (which can
hyphenate) it will no longer hyphenate. 

Thanks,
Kumar

-----Original Message-----
From: fma-001 [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 14, 2007 11:46 AM
To: [email protected]
Subject: BreakingAlgorithm Problem


Hi!

I use FOP 0.93 and write some data in a table with several columns. In
one
column data can be broader than the column-width without any chance to
hyphenate.

FOP then logs message: "WARN  [BreakingAlgorithm] Line 1 of a paragraph
overflows the available area."

I tried to get rid of it with overflow- and wrap-option-attributes, but
it
doesn'nt work:
<fo:table-cell>
        <fo:block-container overflow="scroll" wrap-option="wrap">
                <fo:block language="de" hyphenate="true()">
                        <xsl:value-of select="."/>
                </fo:block>
        </fo:block-container>
</fo:table-cell>

Say, I have a string "www.verylonguri.com", FOP can't hyphenate it and
does
write it into the next column. I would like to break it hard, like this:
www.verlon
guri.com

Is there any way to archive this?

Thank you in advance!
Franz
-- 
View this message in context:
http://www.nabble.com/BreakingAlgorithm-Problem-tf4806438.html#a13751025
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]

Reply via email to