Hi Bruno, I've had a good look at the functionality provided by the HeaderFooter class and here are my thoughts:
1.) It really only provides helper methods for creating "Phrase - PageNumber - Phrase" and "Phrase" headers/footers. 2.) The necessary methods for adding headers/footers only to the RtfWriter2 already exist. 3.) Adding the HeaderFooter constructors to the RtfHeaderFooter only adds cruft without providing any real functionality. I would suggest the following course of action: 1.) Deprecate HeaderFooter and the setHeader/setFooter methods in Document now, with end of 2007 as the targeted removal date. 2.) I update the RTF tutorial to describe how to add headers / footers to the RTF now. 3.) Remove all deprecated stuff at the end of the year. What do you, and all users of course, say to this course of action. Greetings, Mark On Wednesday 31 January 2007 12:32, Bruno Lowagie wrote: > Mark Hall wrote: > > Perhaps we should really talk about removing the HeaderFooter class. The > > RTF package already provides extended headers/footers. These could be > > extended with the functionality currently provided by the HeaderFooter > > class. > > I was also thinking along those lines, > but I wasn't sure if I had the time to > dig into the RTF package and find out > how to do it. > > > I could look into what needs to be added in the RTF headers/footers when > > I get my development environment back at the end of Feb and then we could > > finalise a transition plan. > > That would be great. > > > Personally I think that sometimes it is a really good idea to not be > > backward compatible, if it means that the software becomes cleaner and > > easier to use. > > Yes, I am currently refactoring PdfWriter, not to improve > the performance of the code, but just to make it easier to > understand; I am constantly moving around classes for the > moment. Paulo, I hope this doesn't make you crazy (as you > have to port all my changes to .NET.) > > Maybe we should decide on a date for a temporary release. > A release for those who really need the new fixes, but > also a release that comes with a warning: "this is only > a release candidate, this is still a work in progress." > > br, > Bruno > > ------------------------------------------------------------------------- > 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 > Buy the iText book: http://itext.ugent.be/itext-in-action/ -- The Priest's grey nimbus in a niche where he dressed discreetly. I will not sleep here tonight. Home also I cannot go. A voice, sweetened and sustained, called to him from the sea. Turning the curve he waved his hand. A sleek brown head, a seal's, far out on the water, round. Usurper. -- James Joyce, "Ulysses" My GPG public key is available at: http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc
pgphDVxLM68yT.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 Buy the iText book: http://itext.ugent.be/itext-in-action/
