It's a joke, isn't it? 

Cell c = new Cell(new Chunk(customer.getName()));
c.setHorizontalAlignment(Element.ALIGN_RIGHT);
aTable.addCell(c, i, j);

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Vincent Cormier
> Sent: Tuesday, May 03, 2005 2:13 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Alignment in a dynamic table
> 
> aTable.addCell(new Cell(new Chunk(customer.getName())), i, j);
> 
> The method setHorizontalAlignment has a void type, how to set 
> alignment 
> without creating distinct cells?
> 
> I mean,
> 
> do{
> ...
> aTable.addCell(new Cell(new 
> Chunk(customer.getName())).setHorizontalAlignment(Element.ALIG
> N_RIGHT), i, 
> j);
> ...
> }while(...);
> 
> gives me an error because the setHozirontalAlignment doesn't return a 
> value...
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4 
> great events, 4
> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to