Re: [iText-questions] line distance in rtf document

2008-06-26 Thread Mark Hall
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]

[iText-questions] line distance in rtf document

2008-06-26 Thread dirty-mg
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

Re: [iText-questions] line distance in RTF document

2008-06-24 Thread dirty-mg
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]> >

Re: [iText-questions] line distance in RTF document

2008-06-24 Thread Howard Shank
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

Re: [iText-questions] line distance in RTF document

2008-06-24 Thread dirty-mg
: "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 >

[iText-questions] line distance in RTF document

2008-06-23 Thread dirty-mg
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

Re: [iText-questions] line distance in RTF document

2008-06-23 Thread Howard Shank
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

[iText-questions] line distance in RTF document

2008-06-23 Thread dirty-mg
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 ---