Specifications

Sets the user-supplied comment that describes the
changes to the PDF file during this session (CP2:comment).
setComment( value : String )
This function sets the English language alternate and
erases all other alternates.
To set other language alternates, use appropriate setters
on an AltText object obtained with getCommentLocalized().
Appends the specified string to the list of descriptions of
the changes to the PDF file during this session
addChangeDescription( value :
String )
(CP2:change_desc). This function sets the English language
alternate for the new item, omitting any other
alternatives.
Appends a newly created item to the list of descriptions
of the changes to the PDF file during this session
addNewChangeDescriptionLocalized(
) : AltText
(CP2:change_desc), and returns a reference to the new
item. The returned AltText object is empty, and it is
writable. Use appropriate setters on the returned AltText
object to set any language alternates.
Certificate class
A Certificate object represents a certificate stored in a CP2 dataset.
Getters [R]
Returns the vendor-neutral class identifier of this
certificate (CP2:class_id). This may be one of the
getClassID( ) : String
“built-in” identifiers described in the Certified PDF 2
specification (the empty string for generic certificates,
or “Preflight” for preflight certificates) or another
value agreed between third-party vendors. It is
recommended to register such other values with
Enfocus.
Returns the version string for the data type of this
certificate’s class properties (CP2:class_version), or the
getClassVersion( ) : String
empty string if the property is absent. The scripting
API doesn’t support access to class properties.
Returns the unique identifier for the type of this
certificate (CP2:type_id), or the empty string if the
getTypeID( ) : String
property is absent. This identifier indirectly specifies
the data type of the certificate’s private properties,
and is used by a conforming application to select a
certificate handler implementation that can interpret
the contents of these properties.
Returns the version string for the type of this
certificate (CP2:type_version), or the empty string if
getTypeVersion( ) : String
the property is absent. This version string indirectly
specifies the version of the certificate’s private
properties, and can be used by a certificate handler
implementation while interpreting these private
properties.
504
Enfocus Switch 10