You have to fill the row. 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Leandro de Oliveira
> Sent: Tuesday, April 19, 2005 9:54 PM
> To: [email protected]
> Subject: [iText-questions] Adding elements does not work
> 
> The following code does not work:
> 
>         PdfPTable table = new PdfPTable(8);
>         table.setWidthPercentage(100.0f);
>         PdfPCell aux = null;
>         String name = affiliate.getName(); 
> 
>         if (name != null) {
>             aux = new PdfPCell(new Paragraph((name),
> font));
>             aux.setColspan(5);
>             aux.setNoWrap(true);
>             table.addCell(aux);
>         }
>         document.add(table);
> 
> Could you help me?
> Thanks
> 
> 
>       
>       
>               
> Yahoo! Acesso Grátis - Internet rápida e grátis. 
> Instale o discador agora! http://br.acesso.yahoo.com/
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: New Crystal Reports XI.
> Version 11 adds new functionality designed to reduce time involved in
> creating, integrating, and deploying reporting solutions. 
> Free runtime info,
> new features, or free trial, at: 
> http://www.businessobjects.com/devxi/728
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to