10.07.2015 Views

Download - Multivac!

Download - Multivac!

Download - Multivac!

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8.5 Pseudo ObjectsPseudo objects extend the set of pCOS paths by introducing some useful elementswhich can be used as an abbreviation for information which is present in the PDF, butcannot easily be accessed by reading a single value. The following sections list all supportedpseudo objects. Pseudo objects of type dict can not be enumerated.Universal pseudo objects. Universal pseudo objects are always available, regardless ofencryption and passwords. This assumes that a valid document handle is available,which may require setting the option requiredmode suitably when opening the document.Table 8.3 lists all universal pseudo objects.Table 8.3 Universal pseudo objectsobject nameencryptfilenamefilesizelinearizedmajorminorrevisionpcosinterfaceexplanation(Dict) Dictionary with keys describing the encryption status of the document:length (Number) Length of the encryption key in bitsalgorithm (Number)description(String) Encryption algorithm number or description:-1 Unknown encryption0 No encryption1 40-bit RC4 (Acrobat 2-4)2 128-bit RC4 (Acrobat 5)3 128-bit RC4 (Acrobat 6)4 128-bit AES (Acrobat 7)5 Public key on top of 128-bit RC4 (Acrobat 5) (unsupported)6 Public key on top of 128-bit AES (Acrobat 7) (unsupported)7 Adobe Policy Server (Acrobat 7) (unsupported)master (Boolean) True if the PDF requires a master password to change security settings(permissions, user or master password),false otherwiseuser (Boolean) True if the PDF requires a user password for opening, false otherwisenoaccessible, noannots, noassemble, nocopy, noforms, nohiresprint, nomodify, noprint(Boolean) True if the respective access protection is set, false otherwiseplainmetadata(Boolean) True if the PDF contains unencrypted meta data, false otherwise(String) Name of the PDF file.(Number) Size of the PDF file in bytes(Boolean) True if the PDF document is linearized, false otherwise(Number) Major, minor, or revision number of the library, respectively.(Number) Interface number of the underlying pCOS implementation. This specification describes interfacenumber 3. The following table details which product versions implement various pCOS interfacenumbers:1 TET 2.0, 2.12 pCOS 1.03 PDFlib+PDI 7, PPS 7, TET 2.2, TET 2.3, pCOS 2.0, PLOP 3.08.5 Pseudo Objects 187

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!