Suppose that we have the following text file: jekyll_hyde.txt
How do we convert it to a PDF that looks like this:
When using iText 5, we'd use the following code:
public void createPdf(String dest)
throws DocumentException, IOException {
Document document = new Document();
PdfWriter....