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