Editor for manipulating PDF documents.
GUI version + commandline interface.
Scripting is used to a great extent in editor and almost anything can be scripted, it is possible to create own scripts or plugins.
These details are provided for information only. No information here is legal advice and should not be used as such.