| b.add(gbe4);
data.put("list1", a);
data.put("list2", b);
String p = "resources/";
WaterMark wm = new WaterMark(p+"sample-watermark.png");
pdf = new PdfProcessor("sample-output.pdf", "sample-template", p, p+"sample-tagmap.xml", data, wm);
pdf.generatePdf();
|