The iText API is extremely painful. This is an effort to make it less so by wrapping the Java bindings in more friendly interfaces.
- Simplified PdfReader instance generation
- ...more coming soon...
PdfReader instance with the following metadata:
Using metadata removes the need to write extra code in your application to get this information. It can be accessed via
(meta (pdf<- "/path/to/sample.pdf")).
Also included is the
(burst (pdf<- "/path/to/sample.pdf"))
This fn takes a PDF with n pages and explodes it into n PDF files, one for each page. Its return value is a list of the new filenames. (By default, for a file named
sample.pdf, the new filenames will be
n representing the index of that page in the master document.)
- Smooth out
PdfWriterinstantiation & interaction (this is the hairiest wart on the iText API, IMO)
- Other human-friendly improvements to the API as they come up.
Copyright © 2012 Matt DeBoard
Distributed under the Eclipse Public License, the same as Clojure.