Re: [iText-questions] alignment-problem with PdfPCell & Paragraph

2008-11-24 Thread eli mishalov
eli mishalov wrote: > > I need to set RUN_DIRECTION = RTL and ALINGMENT = RIGHT. > I did so in the attaced Peace example from chapter 6 but with no sucsess. > what am I missing? > Tank's > Eli > I got the answer from 'yahelili'. if any one needs it simply use RUN_DIRECTION_RTL and ALIGN_LEFT

Re: [iText-questions] alignment-problem with PdfPCell & Paragraph

2008-11-23 Thread eli mishalov
Bruno Lowagie (iText) wrote: > > The first thing you need to know that a PdfPCell is treated as a > ColumnText object. > There are two ways to add content to a ColumnText object: > - in text mode > - in composite mode > When you add objects in text mode, the alignment of the object is ignored.

Re: [iText-questions] alignment-problem with PdfPCell & Paragraph

2006-04-29 Thread Bruno Lowagie
Tim Dylla wrote: A little question in the end: I remember reading in the iText-Tutorial, that the class 'Phrase' is a bit 'quirky', I think I solved the quirky-ness a while ago, but the tutorial was never changed. In your example you use the Phrase rather than the Paragraph - is there a spe

Re: [iText-questions] alignment-problem with PdfPCell & Paragraph

2006-04-28 Thread Tim Dylla
bruno schrieb: > > The first thing you need to know that a PdfPCell is treated as a > ColumnText object. > There are two ways to add content to a ColumnText object: > - in text mode > - in composite mode > When you add objects in text mode, the alignment of the object is ignored. > You have to set

Re: [iText-questions] alignment-problem with PdfPCell & Paragraph

2006-04-28 Thread bruno
Tim Dylla wrote: Call me stubborn, I'd like to have proper padding AND desired alignment. How can I achieve this, without changing too much of my approach? It is odd, I agree, but there's some logic behind it. The first thing you need to know that a PdfPCell is treated as a ColumnText object

RE: [iText-questions] Alignment problem

2004-12-17 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of uma.k > Sent: Friday, December 17, 2004 11:09 AM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Alignment problem > > Hi, > I would like to add some text right aligned in the paragraph. >

RE: [iText-questions] Alignment Problem

2003-01-23 Thread Paulo Soares
Of course it doesn't work! ColumnText only defines left and right bounds and writes until it runs out of space. If you need vertical alignment use a PdfPTable with a single column. Best Regards, Paulo Soares > -Original Message- > From: Deepak Chandrasheker [SMTP:[EMAIL PROTECTED]] > Sent