Hi,
sorry it takes me some time to respond to questions here.
Instead of using a Phrase, use a Paragraph to construct the text in the cell
and then set the leading of the Paragraph to the desired amount. That should
fix the problem.
Greetings,
Mark
On Thursday 26 June 2008, [EMAIL PROTECTED]
Hello,
here is some example code for my problem:
com.lowagie.text.Document document = new
com.lowagie.text.Document();
String doc1 = "RtfWriter.rtf";
String doc2 = "RtfWriter2.rtf";
com.lowagie.text.r
uot;
Sent: Tuesday, June 24, 2008 4:04 PM
Subject: Re: [iText-questions] line distance in RTF document
>I have not had time to look at this yet.
>
> Sorry,
> Howard
>
>
>
> - Original Message
> From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>
I have not had time to look at this yet.
Sorry,
Howard
- Original Message
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: Post all your questions about iText here
Sent: Tuesday, June 24, 2008 4:14:38 AM
Subject: Re: [iText-questions] line distance in RTF docum
: "Post all your questions about iText here"
Sent: Monday, June 23, 2008 2:39 PM
Subject: [iText-questions] line distance in RTF document
> Hello,
>
> here an example:
>
>
> Table table = new Table(1);
> Cell cell = new Cell(new
>
Hello,
here an example:
Table table = new Table(1);
Cell cell = new Cell(new Phrase("texttexttext\ntexttexttext\ntexttexttext",
FontFactory.getFont("Arial",
10,
com.lowagie.text.Font.NORMAL)));
cell.setHor
t;[EMAIL PROTECTED]>
To: Post all your questions about iText here
Sent: Monday, June 23, 2008 7:42:11 AM
Subject: [iText-questions] line distance in RTF document
Hello,
I generate a RTF document with iText 2.1.2u.
I create a table and add many cells to it. When a cell contains a "\n&q
Hello,
I generate a RTF document with iText 2.1.2u.
I create a table and add many cells to it. When a cell contains a "\n" iText
does not generate a normal line distance but a distince liek this: at least
16pt.
What can I do to get a normal line distance?
best regards
Marcus
Germany
---