use iText.jar to generate a pdf file.