A single change made to a PDF document after a signature. More...
#include <SignDocSDK-cpp.h>
Public Types | |
enum | Type { t_other, t_field_added, t_field_removed, t_field_modified, t_field_filled_in, t_annotation_added, t_annotation_removed, t_annotation_modified, t_attachment_added, t_attachment_removed, t_attachment_modified, t_page_added, t_page_removed, t_page_modified } |
Type of change. More... | |
Public Member Functions | |
~SignDocChange () | |
Destructor. | |
Type | getType () const |
Get the type of the change. | |
std::string | getName (Encoding aEncoding) const |
Get the name of the changed field, annotation, or attachment. | |
const char * | getNameUTF8 () const |
Get the name of the changed field, annotation, or attachment as UTF-8-encoded C string. | |
int | getPage () const |
Get the page number of the change. | |
SignDocField::Type | getFieldType () const |
Get the type of the changed field. | |
const char * | getAnnotationType () const |
Get the type of the changed annotation. | |
SignDocChange (SIGNDOC_Change *aP) | |
Internal function. | |
SIGNDOC_Change * | getImpl () |
Internal function. | |
const SIGNDOC_Change * | getImpl () const |
Internal function. | |
void | setImpl (SIGNDOC_Change *aP) |
Internal function. | |
Protected Member Functions | |
SignDocChange () | |
Constructor (unavailable). |
A single change made to a PDF document after a signature.
Type of change.
t_other |
Other change. There will be one change of this type if there are any changes to the document which do not fit into the other categories described by enum Type. |
t_field_added |
A field has been added. getName() and getNameUTF8() return the name of the field, getPage() returns the first page having a widget of the field, getFieldType() returns the type of the field. |
t_field_removed |
A field has been removed. getName() and getNameUTF8() return the name of the field, getPage() returns the first page which had a widget of the field, getFieldType() returns the type of the field. |
t_field_modified |
Properties of a field have been modified. getName() and getNameUTF8() return the name of the field, getPage() returns the first page having a widget of the field, getFieldType() returns the type of the field. |
t_field_filled_in |
The value of a field has been changed. getName() and getNameUTF8() return the name of the field, getPage() returns the first page having a widget of the field, getFieldType() returns the type of the field. |
t_annotation_added |
An annotation has been added. This does not include widget annotations. getName() and getNameUTF8() return the name of the annotation. getPage() returns the page having the annotation, getAnnotationType() returns the type of the annotation. |
t_annotation_removed |
An annotation has been removed. This does not include widget annotations. getName() and getNameUTF8() return the name of the annotation. getPage() returns the page which had the annotation, getAnnotationType() returns the type of the annotation. |
t_annotation_modified |
An annotation has been modified. This does not include widget annotations. getName() and getNameUTF8() return the name of the annotation. getPage() returns the page having the annotation, getAnnotationType() returns the type of the annotation. |
t_attachment_added |
An annotation has been added. getName() and getNameUTF8() return the name of the attachment. |
t_attachment_removed |
An annotation has been removed. getName() and getNameUTF8() return the name of the attachment. |
t_attachment_modified |
An annotation has been modified. getName() and getNameUTF8() return the name of the attachment. |
t_page_added |
A page has been added. getPage() returns the number of the page in the newer version of the document. |
t_page_removed |
A page has been removed. getPage() returns the number of the page in the older version of the document. |
t_page_modified |
A page has been modified. getPage() returns the number of the page. |
de::softpro::doc::SignDocChange::~SignDocChange | ( | ) | [inline] |
Destructor.
de::softpro::doc::SignDocChange::SignDocChange | ( | ) | [inline, protected] |
Constructor (unavailable).
de::softpro::doc::SignDocChange::SignDocChange | ( | SIGNDOC_Change * | aP ) | [inline] |
Internal function.
const char* de::softpro::doc::SignDocChange::getAnnotationType | ( | ) | const [inline] |
Get the type of the changed annotation.
SignDocField::Type de::softpro::doc::SignDocChange::getFieldType | ( | ) | const [inline] |
Get the type of the changed field.
const SIGNDOC_Change* de::softpro::doc::SignDocChange::getImpl | ( | ) | const [inline] |
Internal function.
SIGNDOC_Change* de::softpro::doc::SignDocChange::getImpl | ( | ) | [inline] |
Internal function.
std::string de::softpro::doc::SignDocChange::getName | ( | Encoding | aEncoding ) | const [inline] |
Get the name of the changed field, annotation, or attachment.
For change types ct_field_added, ct_field_removed, ct_field_modified, ct_annotation_added, ct_annotation_removed, ct_annotation_modified, ct_attachment_added, ct_attachment_removed, and ct_attachment_modified, the name of the changed field, annotation, or attachment can be retrieved by calling this function.
[in] | aEncoding | The encoding to be used for the return value. |
const char* de::softpro::doc::SignDocChange::getNameUTF8 | ( | ) | const [inline] |
Get the name of the changed field, annotation, or attachment as UTF-8-encoded C string.
For change types ct_field_added, ct_field_removed, ct_field_modified, ct_annotation_added, ct_annotation_removed, ct_annotation_modified, ct_attachment_added, ct_attachment_removed, and ct_attachment_modified, the name of the changed field, annotation, or attachment can be retrieved by calling this function.
int de::softpro::doc::SignDocChange::getPage | ( | ) | const [inline] |
Get the page number of the change.
Type de::softpro::doc::SignDocChange::getType | ( | ) | const [inline] |
Get the type of the change.
void de::softpro::doc::SignDocChange::setImpl | ( | SIGNDOC_Change * | aP ) | [inline] |
Internal function.