Poppler::FormFieldChoice Class Reference

A form field that represents a choice field. More...

#include <poppler-form.h>

Inheritance diagram for Poppler::FormFieldChoice:
Inheritance graph
[legend]
Collaboration diagram for Poppler::FormFieldChoice:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

A form field that represents a choice field.

Since:
0.6

Member Enumeration Documentation

The particular type of this choice field.

Enumerator:
ComboBox 

A simple singleline text field.

ListBox 

A multiline text field.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on Sun Oct 18 01:52:18 2009 for Poppler Qt4 by  doxygen 1.6.1