#include <PdfField.h>
Public Member Functions | |
PdfComboBox (PdfAnnotation *pWidget, PdfAcroForm *pParent) | |
PdfComboBox (PdfPage *pPage, const PdfRect &rRect, PdfAcroForm *pParent) | |
PdfComboBox (PdfPage *pPage, const PdfRect &rRect, PdfDocument *pDoc) | |
PdfComboBox (PdfPage *pPage, const PdfRect &rRect, PdfStreamedDocument *pDoc) | |
PdfComboBox (const PdfField &rhs) | |
void | SetEditable (bool bEdit) |
bool | IsEditable () const |
A combo box with a drop down list of items.
PoDoFo::PdfComboBox::PdfComboBox | ( | PdfAnnotation * | pWidget, | |
PdfAcroForm * | pParent | |||
) |
Create a new PdfTextField
Create a new PdfTextField
PoDoFo::PdfComboBox::PdfComboBox | ( | PdfPage * | pPage, | |
const PdfRect & | rRect, | |||
PdfDocument * | pDoc | |||
) |
Create a new PdfTextField
PoDoFo::PdfComboBox::PdfComboBox | ( | PdfPage * | pPage, | |
const PdfRect & | rRect, | |||
PdfStreamedDocument * | pDoc | |||
) |
Create a new PdfTextField
PoDoFo::PdfComboBox::PdfComboBox | ( | const PdfField & | rhs | ) |
Create a PdfComboBox from a PdfField
rhs | a PdfField that is a PdfComboBox |
Raises an error if PdfField::GetType() != ePdfField_ComboBox
bool PoDoFo::PdfComboBox::IsEditable | ( | ) | const [inline] |
void PoDoFo::PdfComboBox::SetEditable | ( | bool | bEdit | ) | [inline] |
Sets the combobox to be editable
bEdit | if true the combobox can be edited by the user |
By default a combobox is not editable