Victor, thanks for your reply.
I agree with your opinion  about tabs modernity, but it sound strange that a modern tool like FOP  isn't backward compatible with a so simple features, consider that most editors support tabs in the rigth way and people still use them
my aim is to have the most simple editor to create a PDF file based on an HTML textarea, obviuosly users should be free to use the poor ways provided by textareas to format a text which I think are only tabs (if the user use copy and paste), white spaces and line breaks
Now I think I will try with different solutions

Regards,
Claudio

Victor Mote wrote:
Claudio De Bernardi

  
does anybody know how FOP works with tab characters?
I'm trying to generate a PDF file starting from a simple text which
contains tab characters, and I want to keep them in the resulting PDF. I
put the text into a block  tag with the attribute
white-space-collapse="false" ( the text to be printed hasn't a standard
format, so I can't use tables )
It seems that FOP recognize tabs but it simply replaces them with a
fixed number of "white spaces"  without any kind of consideration about
horizontal alignment
    

I do not know the answer to your direct question. However, AFAIK, the
spirit, and probably the letter, of the XSL-FO standard is that tabular data
should be put into tables. The tab was invented for typewriters & similar
devices, and is inferior to real tables.

I may be wrong, but it seems that if you have tabs separating tabular data,
that you do indeed have a standard format that could use tables. Consider
digging a little deeper along that axis. HTH.

Victor Mote


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

  

Reply via email to