PoDoFo 0.9.20
|
#include <PdfComboBox.h>
Public Member Functions | |
void | SetEditable (bool edit) |
bool | IsEditable () const |
![]() | |
void | InsertItem (const PdfString &value, nullable< const PdfString & > displayName={ }) |
void | RemoveItem (unsigned index) |
PdfString | GetItem (unsigned index) const |
nullable< const PdfString & > | GetItemDisplayText (int index) const |
unsigned | GetItemCount () const |
void | SetSelectedIndex (int index) |
int | GetSelectedIndex () const |
bool | IsComboBox () const |
void | SetSpellcheckingEnabled (bool spellCheck) |
bool | IsSpellcheckingEnabled () const |
void | SetSorted (bool sorted) |
bool | IsSorted () const |
void | SetMultiSelect (bool multi) |
bool | IsMultiSelect () const |
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