The PD Level representation of a PDF Document. PD Level objects provide the
PDF semantics on top of the COS objects.
A PDDocument object should not be shared between threads without thought.
Some clients may store information along with the PDDocument extensions in a
non thread safe manner.
Add a page object to this document after the designated page.
Parameters: newNode - the page to be added Parameters: destination - The page after the new one is inserted
create a pd document based on a cos level object
Parameters: doc - COSDocument to base this PDDocument on A new PDDocument object. throws: COSLoadException -
Shortcut to a signature dictionary in the document permissions
dictionary. Valid keys are "DocMDP" and "UR". If the permissions
dictionary doesn't exist, then null is returned. If no signature
dictionary under the specified key exists, null is returned.
Parameters: key - key which should be ether "DocMDP" or "UR" returns a signature dictionary referenced by the specified key ornull if ether no permissions dictionary exists or no signaturedictionary to the key exists.
The write mode to be used when the document is written the next time. If
defined this overrides any hint that is used when saving the document.
The write mode is reset after each "save".
The write mode to be used when the document is written.
true if the document should be saved in an incremental way
only. This is for example the case when the document contains digital
signatures.
true if the document should be saved in anincremental way only.
true if the document contains digital signatures. This
should be reflected in the SigFlags entry of the form - but who knows...
true if the document contains digital signatures.
The write mode to be used when the document is written the next time. If
defined this overrides any hint that is used when saving the document.
The write mode is reset after each "save".
Parameters: writeMode - The write mode to be used when the document is written.