Use ct.addElement(). Paulo
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Abhishek Srivastava > Sent: Friday, May 26, 2006 10:30 AM > To: itext-questions@lists.sourceforge.net > Subject: RE: [iText-questions] AcroForms Question > > Bruno, > > I added the list to the columntext, but now I loose the > justification of > text (which appears in the listitem). > > The text is justified if I do a ct.AddText, but if I put the > text in a > listitem and then add the list to the ct, then the text is > not justified. > > How to have bullet points and justified text? > > Regards, > Abhishek. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bruno > Lowagie > Sent: Friday, May 26, 2006 1:50 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] AcroForms Question > > Abhishek Srivastava wrote: > > >Great. I was able to use Column Text and was able to get the > justification. > > > >The text which I am trying to render looks like attached > image. It's a > >bulleted list and the text of the bulleted listitem is > align_justified. > > > >How can I put these ColumnText objects into a list so that I get the > >bulleting effect? > > > > > Add a com.lowagie.text.List object to your ColumnText. > > >Also, I have sent that if the text is large the ColumnText > cuts the text. > Is > >it possible for me to calculate whether the text would fit in the > ColumnText > >site and re-size the ColumnText if necessary? > > > Use the go() method in simulation mode. > See the tutorial for an example. > br, > Bruno > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost > and Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729& > dat=121642 > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost > and Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729& > dat=121642 > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions