On Friday 06 October 2006 17:13, Henry Lu wrote: > 1. how do i print a table with no border? Bruno answered this one.
> 2. how do I print a table with first column lef-alignment and second
> column right-alignment?
Construct each Cell with a Paragraph and set the alignment on the Paragraph
Paragraph par = new Paragraph(...)
par.setAlignment(...)
Cell cell = new Cell(par);
> >>How do I print table-of-contents like format?
> >>
> >>Introduction Page 1
> >>Chapter 1 Page 2
> >>Chapter 2 Page 15
You can also use the RtfTableOfContents and the RtfTOCEntry classes. Check the
tutorial for an example.
Greetings,
Mark
--
Kiss me, Kate, we will be married o' Sunday.
-- William Shakespeare, "The Taming of the Shrew"
My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc
pgpd055XvLdEC.pgp
Description: PGP signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
