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

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

2006-04-28 Thread Tim Dylla
Hi List, first: I really appreciate the work of Paulo and Bruno, and all the other active people on this list. Thanx a lot! But now to the Prob: I have to do some formatting on a PdfPTable. I want to align some Text to the right of its Cell. Therefore I'd like to do something similar to this: