|
Poppler Qt5 25.10.90
|
#include <poppler-form.h>

Public Types | |
| enum | AdditionalActionType { FieldModified , FormatField , ValidateField , CalculateField } |
| enum | FormType { FormButton , FormText , FormChoice , FormSignature } |
Public Member Functions | |
| Link * | activationAction () const |
| Link * | additionalAction (AdditionalActionType type) const |
| Link * | additionalAction (Annotation::AdditionalActionType type) const |
| QString | fullyQualifiedName () const |
| int | id () const |
| bool | isPrintable () const |
| bool | isReadOnly () const |
| bool | isVisible () const |
| QString | name () const |
| QRectF | rect () const |
| void | setName (const QString &name) const |
| void | setPrintable (bool value) |
| void | setReadOnly (bool value) |
| void | setVisible (bool value) |
| virtual FormType | type () const =0 |
| QString | uiName () const |
The base class representing a form field.
Describes the flags from the form 'AA' dictionary.
The different types of form field.
| Enumerator | |
|---|---|
| FormButton | A button field. See ButtonType. |
| FormText | A text field. See TextType. |
| FormChoice | A single choice field. See ChoiceType. |
| FormSignature | A signature field. |
| Link * Poppler::FormField::activationAction | ( | ) | const |
The activation action of this form field.
| Link * Poppler::FormField::additionalAction | ( | AdditionalActionType | type | ) | const |
Returns a given form additional action.
| Link * Poppler::FormField::additionalAction | ( | Annotation::AdditionalActionType | type | ) | const |
Returns a given widget annotation additional action.
| QString Poppler::FormField::fullyQualifiedName | ( | ) | const |
The internal fully qualified name of the field.
| bool Poppler::FormField::isPrintable | ( | ) | const |
Whether this field is printable.
| QRectF Poppler::FormField::rect | ( | ) | const |
| void Poppler::FormField::setName | ( | const QString & | name | ) | const |
Sets the internal name (T) of the field.
| void Poppler::FormField::setPrintable | ( | bool | value | ) |
Set whether this field is printable.
| void Poppler::FormField::setReadOnly | ( | bool | value | ) |
Set whether this form field is read-only.
| void Poppler::FormField::setVisible | ( | bool | value | ) |
Set whether this form field is visible.
|
pure virtual |
The type of the field.
Implemented in Poppler::FormFieldButton, Poppler::FormFieldText, Poppler::FormFieldChoice, and Poppler::FormFieldSignature.