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 Niklas Backlund <nb...@yahoo.com> on 2002/04/23 18:22:53 UTC

Workaround to preserve whitespace?

Hello there,

I'm sure this question must have been brought up
before, but I couldn't find any information in the FAQ
or the archives from this mailing list (maybe I just
didn't look hard enough?), so I'll just fire away:

I noticed that the "white-space-treatment" property is
yet to be implemented in FOP, and most of my documents
relies heavily on preformatted content (mostly code
examples).

Is there any known workaround for this problem?

If not, is there any estimate of when this will be
implemented?

If not, would it be really hard for me to implement it
myself, i e are there any technical reasons that it
hasn't been implemented yet?

Please send a copy of your replies directly to me, as
I'm not subscribing to this list (yet).

Best regards,

Niklas



__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Workaround to preserve whitespace?

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Niklas Backlund wrote:
> I noticed that the "white-space-treatment" property is
> yet to be implemented in FOP, and most of my documents
> relies heavily on preformatted content (mostly code
> examples).

You can use white-space-collapse="false" which has the
somewhat unconforming side effect of preserving line
feeds too.

Yes, this has been mentioned before:
  http://marc.theaimsgroup.com/?l=fop-dev&m=101914568126394&w=2
:P

J.Pietschmann


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org