A form field that represents a choice field. More...
#include <poppler-form.h>


Public Types | |
| enum | ChoiceType { ComboBox, ListBox } |
Public Member Functions | |
| bool | canBeSpellChecked () const |
| QStringList | choices () const |
| ChoiceType | choiceType () const |
| QList< int > | currentChoices () const |
| bool | isEditable () const |
| bool | multiSelect () const |
| void | setCurrentChoices (const QList< int > &choice) |
| Qt::Alignment | textAlignment () const |
| virtual FormType | type () const |
A form field that represents a choice field.
| bool Poppler::FormFieldChoice::canBeSpellChecked | ( | ) | const |
Whether the text inserted manually in the field (where possible) can be spell-checked.
Returns false if the field is not an editable text field.
| bool Poppler::FormFieldChoice::isEditable | ( | ) | const |
Whether this FormFieldChoice::ComboBox is editable, i.e.
the user can type in a custom value.
Always false for the other types of choices.
| bool Poppler::FormFieldChoice::multiSelect | ( | ) | const |
Whether more than one choice of this FormFieldChoice::ListBox can be selected at the same time.
Always false for the other types of choices.
1.6.1