pdf header footer append
I want to change pdf files. I will erase header and footer from pdf, but more important than that I want to write pane number, etc. to the pages.
I sa开发者_JAVA百科w a pdf tool, that just renders page as jpg and you manuplate pdf in that way. But I want users to select text from pdf. I dont want to disturb internals of orginal pdf much.
You'd need to get something like PDFlib. It can load up pre-generated PDFs and add arbitrary content (new pages, new content on existing pages, etc...). However, the licensing for it is fairly steep.
However, since a PDF is just a Postscript file, you CAN go inside it and manipulate the postscript code to make some of the changes you want, as long as the PDF isn't secured with a password (which means it'd be encrypted).
精彩评论