PoDoFo 1.0.0-dev
|
A list box. More...
#include <PdfListBox.h>
Public Member Functions | |
PdfListBox * | GetParent () |
const PdfListBox * | GetParent () const |
![]() | |
void | InsertItem (const PdfString &value, nullable< const PdfString & > displayName={ }) |
Inserts a new item into the list. | |
void | RemoveItem (unsigned index) |
Removes an item for the list. | |
PdfString | GetItem (unsigned index) const |
nullable< const PdfString & > | GetItemDisplayText (int index) const |
unsigned | GetItemCount () const |
void | SetSelectedIndex (int index) |
Sets the currently selected item. | |
int | GetSelectedIndex () const |
Sets the currently selected item. | |
bool | IsComboBox () const |
void | SetSpellCheckingEnabled (bool spellCheck) |
Enable/disable spellchecking for this combobox. | |
bool | IsSpellCheckingEnabled () const |
void | SetSorted (bool sorted) |
Enable or disable sorting of items. | |
bool | IsSorted () const |
void | SetMultiSelect (bool multi) |
Sets whether multiple items can be selected by the user in the list. | |
bool | IsMultiSelect () const |
void | SetCommitOnSelectionChange (bool commit) |
bool | IsCommitOnSelectionChange () const |
Friends | |
class | PdfField |
A list box.