You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by mahmoudi ould abdel vetah <ma...@gmail.com> on 2006/10/11 11:00:52 UTC
Re: Line of code overflows list-item-body element
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 <de...@jeremias-maerki.ch>:
>
>
> 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: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>