Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] more questions on XML -> PDF

Eryan Yu

2005-09-27

Replies:

Hi all,

in the old tutorial (http://www.lowagie.com/iText/tutorial/ch07.html),
it doesn't mention how to specify the paper size of the document, page
header/footer and page numbers from the xml file.

they are quite important features of a document. any one knows how to
set them in the xml file?

or i have to do it in the program using:
to change the page size: document.setPageSize(PageSize.A3);

to add header/footer/page number: add page event

Please give me some hints.

Thank you.
Yu.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.