Poppler Qt5 24.12.0
|
#include <poppler-form.h>
Public Types | |
enum | TextType { Normal , Multiline , FileSelect } |
Public Types inherited from Poppler::FormField | |
enum | AdditionalActionType { FieldModified , FormatField , ValidateField , CalculateField } |
enum | FormType { FormButton , FormText , FormChoice , FormSignature } |
Public Member Functions | |
bool | canBeSpellChecked () const |
double | getFontSize () const |
bool | isPassword () const |
bool | isRichText () const |
int | maximumLength () const |
void | setAppearanceText (const QString &text) |
void | setFontSize (int fontSize) |
void | setText (const QString &text) |
QString | text () const |
Qt::Alignment | textAlignment () const |
TextType | textType () const |
FormType | type () const override |
Public Member Functions inherited from Poppler::FormField | |
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) |
QString | uiName () const |
A form field that represents a text input.
bool Poppler::FormFieldText::isPassword | ( | ) | const |
Whether this text field is a password input, eg its text must be replaced with asterisks.
Always false for FileSelect text fields.
void Poppler::FormFieldText::setAppearanceText | ( | const QString & | text | ) |
Sets the text inside the Appearance Stream to the specified text
.
|
overridevirtual |
The type of the field.
Implements Poppler::FormField.