Hi,
Thanks a lot for helping. What you have mentioned below worked fine.

I am having issues, with aligning text and garphics in a cell.

PdfPCell securedByCell=new PdfPCell();
securedByCell.setRunDirection(PdfWriter.RUN_DIRECTION_RTL);
securedByCell.setHorizontalAlignment(PdfPCell.ALIGN_RIGHT);
securedByCell.addElement(securedByPhrase);

securedByPhrase is a phrase with Chunks and Images.

I am aware of composite mode and text mode. I think what I am doing above is
composite mode! right?

I always see the phrase aligned to Left no matter what values i pass in the
setHorizontalAlignment and setRunDirection
This cell in turn is added to a table.
Please help.

Thanks,
Subhro.

On Thu, Mar 12, 2009 at 12:23 PM, 1T3XT info <[email protected]> wrote:

> Subhrajyoti Moitra wrote:
> > Hi Folks,
> >
> > Suppose if I have a PdfPTable(4).
> > And I only add 3 PdfPCell(), each with custom cell event, then
> > cellLayout() method in the cell events, are not called.
> > However, if i add, lets say 5 cells, then for the first 4 cells, the
> > cell events are called, but not for the one remaining cell.
> >
> > I know, I am doing something insanely, wrong. Please be kind!! Please
> help!!
>
> Either you have to complete the table (make sure you add a multiple of 4
> of cells; for instance 4, 8, 12,... cells). Or tell the table it should
> complete its rows. The default is that incomplete rows are ignored.
> --
> This answer is provided by 1T3XT BVBA
> http://www.1t3xt.com/ - http://www.1t3xt.info
>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
>
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to