On Wednesday 15 June 2005 13:49, [EMAIL PROTECTED] wrote:
> Let's make this a little clearer: I have a Chunk with a newline in the
> middle of it (the second line could fit entirely to the side of the
> first line). You're saying that if I put this Chunk inside of a Phrase,
> it will be layed out as a single line instead of as two separate lines
> when I put it in a Paragraph? (And that if the second source line would
> be a little longer, the split point would be calculated by iText,
> instead of using the provided newline?)
In PDF you describe the page as you want it and then it is rendered by iText 
to the final pdf.
When generating RTF in contrast iText only adds markup to the text (font, 
colour, indentation, margin, tables,...). The actual work of rendering the 
text is left to the viewer application (in most cases MS Word, but of course 
also OpenOffice.org).

Certain special characters ("\n" - newline, "\t" - tab,...) are converted by 
iText into their RTF representations, but that is all that iText does. No 
rendering es ever performed.

In answer to the second question about horizontal rules. No. There is no 
support for any drawing lines or other figures. The only supported graphical 
items are images.

Greetings,
Mark
-- 
The mark of your ignorance is the depth of your belief in injustice
and tragedy.  What the caterpillar calls the end of the world, the
master calls a butterfly.
                -- Messiah's Handbook : Reminders for the Advanced Soul

My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc

Attachment: pgpnsdt9gTBkp.pgp
Description: PGP signature

Reply via email to