PoDoFo
1.0.0-dev
|
A list box. More...
#include <PdfListBox.h>
Public Member Functions | |
PdfListBox * | GetParent () |
const PdfListBox * | 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 list box.