开发者

Generate PDF from other PDFs with page numbers

As part of a project I'm undertaking, I need to try and merge a number of PDFs I have and place consecutive page numbers on each (which may not start from 1). Ideally, I need to be able to call this from a Java program.

I know there are tools such as iText, PDFBox and Pdftk, but are these able to deal with the page numbers? I have looke开发者_运维技巧d into them and haven't found any ability to deal with this.

Are there any tools you know of that can achieve this?

Many thanks in advance


http://www.rgagnon.com/javadetails/java-0646.html example code. you could add additional text/images/whatever using PdfContentByte from PDFWriter getDirectContent() method.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜