Look up how to add page numbering. You should be able to add section numbers in a similar way.
Use onEndPage and add the section number at an absolute position as is done in the examples: http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/index.html#examples /Klas EXI-D'Souza, Amanda N skrev 20:59: > I need to have different footer elements for different sections in RTF i.e. > Add the section number in the footer. Is there some way to do this? > > Or is there a way to add a section break, and "unlink from previous" document > functionality through code? > > Thanks, > Amanda D'Souza > Infosys Technologies > Phone: 425-717-0446 > ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
