pdfmm 0.9.20
Public Member Functions | List of all members
mm::PdfComboBox Class Reference

#include <PdfComboBox.h>

Inheritance diagram for mm::PdfComboBox:
mm::PdChoiceField

Public Member Functions

void SetEditable (bool edit)
 
bool IsEditable () const
 
- Public Member Functions inherited from mm::PdChoiceField
void InsertItem (const PdfString &value, nullable< const PdfString & > displayName={ })
 
void RemoveItem (unsigned index)
 
PdfString GetItem (unsigned index) const
 
nullable< PdfStringGetItemDisplayText (int index) const
 
size_t 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
 

Detailed Description

A combo box with a drop down list of items.

Member Function Documentation

◆ IsEditable()

bool PdfComboBox::IsEditable ( ) const
Returns
true if this is an editable combobox

◆ SetEditable()

void PdfComboBox::SetEditable ( bool  edit)

Sets the combobox to be editable

Parameters
editif true the combobox can be edited by the user

By default a combobox is not editable