I don't know if it makes sense to do it. It's only used with HtmlWriter for setting the background color. All the page sizing is done in Document. I suppose that it's in DocWriter as a side effect of DocListener.
I am using it with the PdfWriter as part of some XML->PDF tools. I extended the <newpage> command to take "height" and "width" attributes so that you can have different page sizes in your output document. In order to do that, I need to both get & set the page size.
LDR -- --------------------------------------------------------------------------- Leonard Rosenthol <mailto:[EMAIL PROTECTED]> Chief Technical Officer <http://www.pdfsages.com> PDF Sages, Inc. 215-629-3700 (voice) 215-629-0789 (fax)
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions