PoDoFo
1.0.0-dev
|
A combo box with a drop down list of items. More...
#include <PdfComboBox.h>
Public Member Functions | |
void | SetEditable (bool edit) |
Sets the combobox to be editable. More... | |
bool | IsEditable () const |
PdfComboBox * | GetParent () |
const PdfComboBox * | GetParent () const |
Public Member Functions inherited from PoDoFo::PdChoiceField | |
void | InsertItem (const PdfString &value, nullable< const PdfString & > displayName={ }) |
Inserts a new item into the list. More... | |
void | RemoveItem (unsigned index) |
Removes an item for the list. More... | |
PdfString | GetItem (unsigned index) const |
nullable< const PdfString & > | GetItemDisplayText (int index) const |
unsigned | GetItemCount () const |
void | SetSelectedIndex (int index) |
Sets the currently selected item. More... | |
int | GetSelectedIndex () const |
Sets the currently selected item. More... | |
bool | IsComboBox () const |
void | SetSpellCheckingEnabled (bool spellCheck) |
Enable/disable spellchecking for this combobox. More... | |
bool | IsSpellCheckingEnabled () const |
void | SetSorted (bool sorted) |
Enable or disable sorting of items. More... | |
bool | IsSorted () const |
void | SetMultiSelect (bool multi) |
Sets whether multiple items can be selected by the user in the list. More... | |
bool | IsMultiSelect () const |
void | SetCommitOnSelectionChange (bool commit) |
bool | IsCommitOnSelectionChange () const |
Friends | |
class | PdfField |
A combo box with a drop down list of items.
bool PdfComboBox::IsEditable | ( | ) | const |
void PdfComboBox::SetEditable | ( | bool | edit | ) |
Sets the combobox to be editable.
edit | if true the combobox can be edited by the user |
By default a combobox is not editable