play framework 1.2.4 multiple footer in mutiple PDF page -
i need render multiple types of footer , header in different pdf pages. how can that? single kind of footer in pdf pages.
multipdfdocuments documents = new multipdfdocuments(); pdfdocument document = new pdfdocument(); document.template = "@template1"; options options = new options(); options.pagesize = ihtmltopdftransformer.a4l; document.options = options; documents.add(document); document = new pdfdocument(); document.template = "@template2"; options = new options(); options.pagesize = ihtmltopdftransformer.a4l; document.options = options; documents.add(document); file file = new file("c:/users/pdf.pdf"); pdf.writepdf(file,documents);
Comments
Post a Comment