I don't know if you've noticed but setting the page size in PdfWriter does nothing. You can use it just as a place holder, of course.
Best Regards, Paulo Soares ----- Original Message ----- From: "Leonard Rosenthol" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 22, 2003 13:03 Subject: Re: [iText-questions] Minor change for text.DocWriter > At 11:58 AM +0100 7/22/03, Paulo Soares wrote: > >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