Maestro
You mentioned that the use of <fo:block white-space-collapse="false" >
preserves the line breaks in the text. This is presicely the behavior I
actually want in my PDF processing. If this is non-conformant as you
mentioned what should I do to maintain the linebreaks / newline feed
present in the database ?
Thanks
Manoj
The Web Maestro
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
mail.com> cc:
Subject: Re: Is it posible to
insert a new line in a xml tag to change the view of a
02/11/2005 12:24 PDF file
PM
Please respond to
fop-user
I think what Juan wants to use is white-space-collapse="false":
====
http://xml.apache.org/fop/fo.html#fo-preformat
Preformatting Content
Sometimes it is desirable to retain linebreaks and hard spaces, and to
get preformatted text to pass through without being changed. The XSL-FO
specification provides some properties for this: white-space-collapse
and linefeed-treatment. In FOP, use white-space-collapse="false" on an
enclosing block.
Warning
Due to a bug in current versions of FOP, setting
white-space-collapse="false" will also preserve line breaks in the
text. Do not rely on this behavior, as it is non-conformant and will be
changed.
====
Cheers!
Web Maestro Clay
On Feb 11, 2005, at 10:52 AM, Yakov Shafranovich wrote:
> Use <fo:block/>
>
> Juan Manuel Bellina wrote:
>> For example if I have the following xml tag:
>> <rtcontacto>Proveedor:0000063310
>> O. ARIAS Y CIA S.A.
>> Contacto:
>> PILCOMAYO 848
>> (1824) -LANUS OESTE
>> BUENOS AIRES - ARGENTINA
>> Fax: 4209-2556</rtcontacto>
>> I want to show in my PDF file with a new line between
>> "O. ARIAS Y CIA S.A." and "Contacto:" but when I see
>> the pdf file I see:
>> "Proveedor:0000063310 O. ARIAS Y CIA S.A. Contacto:
>> PILCOMAYO 848 1824) -LANUS OESTE BUENOS AIRES -
>> ARGENTINA Fax: 4209-2556"
>> How can I insert a new line to make the view diferent
>> as in the xml tag.
>> Thank you,
>> Juan M.
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam? Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.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]
>
>
Web Maestro Clay
--
<[EMAIL PROTECTED]> - <http://homepage.mac.com/webmaestro/>
My religion is simple. My religion is kindness.
- HH The 14th Dalai Lama of Tibet
---------------------------------------------------------------------
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]