You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Jim Urban <ji...@netsteps.net> on 2001/11/30 14:55:16 UTC
Pre Formatted Text
I am using FOP to generate PDFs on the fly from XML. One of my XML elements
contains a large (1K - 1M) preformatted (contains LFs) block of text. When
I display this field in HTML I use a <PRE> tag. Is there a FO tag that FOP
supports that functions similarly?
Thanks,
Jim Urban
Product Manager
Netsteps Inc.
Suite 505E
1 Pierce Pl.
Itasca, IL 60143
Voice: (630) 250-3045 x2164
Fax: (630) 250-3046
Re: Pre Formatted Text
Posted by Enrico Schnepel <en...@gmx.de>.
Hello Jim,
try:
>>>>>
<fo:block white-space-collapse="false">
YOUR
TEXT
INCLUDING
LF's
AND
SPACES
</fo:block>
<<<<<
Regards
Enrico
Am Freitag, 30. November 2001 14:55 schrieben Sie:
> I am using FOP to generate PDFs on the fly from XML. One of my XML
> elements contains a large (1K - 1M) preformatted (contains LFs) block of
> text. When I display this field in HTML I use a <PRE> tag. Is there a FO
> tag that FOP supports that functions similarly?
>
> Thanks,
>
> Jim Urban
> Product Manager
> Netsteps Inc.
> Suite 505E
> 1 Pierce Pl.
> Itasca, IL 60143
> Voice: (630) 250-3045 x2164
> Fax: (630) 250-3046
----------------------------------------
Content-Type: application/ms-tnef; charset="iso-8859-1"; name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Description:
----------------------------------------
----------------------------------------
Content-Type: text/plain; charset="us-ascii"; name="Anhang: 2"
Content-Transfer-Encoding: 7bit
Content-Description:
----------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org