you can also add hyphenate attribute to your block like this :
 
  <fo:block wrap-option="no-wrap" overflow="auto" hyphenate="true" language="en">
ppcadid|ppcsitetoken|advertisementkey|ppckeywords|ppckeywordstat|ppcnegkeywords|ppcmaxcpc|ppcmaxtaxonomynode|ppccurrency|ppctype|rank|ppcadid|ppckeywordsbase|title|titlebase|body|bodybase|url|processingtime|size
  </fo:block>

 
2006/9/29, Jeremias Maerki <[EMAIL PROTECTED]>:

On 29.09.2006 15:10:04 Pål Werdenhoff wrote:
> Hi,
>
> This question has probably come up before, but I haven't been able to find an answer to it.
>
> I want to display code within a list-item-body element. The line of code overflows the page, and FOP does not create the expected linebreak. How can I solve this using FOP Beta92, if I don't want to manually force some breaks?
>
> FO:
<snip/>
> <!-- THIS IS THE PROBLEM TEXT -->
>
>    <fo:block wrap-option="no-wrap" overflow="auto">
> ppcadid|ppcsitetoken|advertisementkey|ppckeywords|ppckeywordstat|ppcnegkeywords|ppcmaxcpc|ppcmaxtaxonomynode|ppccurrency|ppctype|rank|ppcadid|ppckeywordsbase|title|titlebase|body|bodybase|url|processingtime|size
>    </fo:block>
<snip/>

In addition to what Chris suggested, remove wrap-option="no-wrap"
because that forbids line-breaking in the first place.


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to