Code samples of PDF generation using iText API