PoDoFo 0.9.6
PoDoFo::PdfListBox Class Reference

#include <PdfField.h>

Inheritance diagram for PoDoFo::PdfListBox:
PoDoFo::PdfListField

Public Member Functions

 PdfListBox (PdfAnnotation *pWidget, PdfAcroForm *pParent)
 PdfListBox (PdfPage *pPage, const PdfRect &rRect, PdfAcroForm *pParent)
 PdfListBox (PdfPage *pPage, const PdfRect &rRect, PdfDocument *pDoc)
 PdfListBox (PdfPage *pPage, const PdfRect &rRect, PdfStreamedDocument *pDoc)
 PdfListBox (const PdfField &rhs)
Public Member Functions inherited from PoDoFo::PdfListField
 PdfListField (const PdfField &rhs)
void InsertItem (const PdfString &rsValue, const PdfString &rsDisplayName=PdfString::StringNull)
void RemoveItem (int nIndex)
const PdfString GetItem (int nIndex) const
const PdfString GetItemDisplayText (int nIndex) const
size_t GetItemCount () const
void SetSelectedItem (int nIndex)
int GetSelectedItem () const
bool IsComboBox () const
void SetSpellcheckingEnabled (bool bSpellcheck)
bool IsSpellcheckingEnabled () const
void SetSorted (bool bSorted)
bool IsSorted () const
void SetMultiSelect (bool bMulti)
bool IsMultiSelect () const

Additional Inherited Members

Protected Member Functions inherited from PoDoFo::PdfListField
 PdfListField (EPdfField eField, PdfAnnotation *pWidget, PdfAcroForm *pParent)
 PdfListField (EPdfField eField, PdfPage *pPage, const PdfRect &rRect, PdfAcroForm *pParent)
 PdfListField (EPdfField eField, PdfPage *pPage, const PdfRect &rRect, PdfDocument *pDoc)
 PdfListField (EPdfField eField, PdfPage *pPage, const PdfRect &rRect, PdfStreamedDocument *pDoc)

Detailed Description

A list box

Constructor & Destructor Documentation

◆ PdfListBox() [1/5]

PoDoFo::PdfListBox::PdfListBox ( PdfAnnotation * pWidget,
PdfAcroForm * pParent )

Create a new PdfTextField

◆ PdfListBox() [2/5]

PoDoFo::PdfListBox::PdfListBox ( PdfPage * pPage,
const PdfRect & rRect,
PdfAcroForm * pParent )

Create a new PdfTextField

◆ PdfListBox() [3/5]

PoDoFo::PdfListBox::PdfListBox ( PdfPage * pPage,
const PdfRect & rRect,
PdfDocument * pDoc )

Create a new PdfTextField

◆ PdfListBox() [4/5]

PoDoFo::PdfListBox::PdfListBox ( PdfPage * pPage,
const PdfRect & rRect,
PdfStreamedDocument * pDoc )

Create a new PdfTextField

◆ PdfListBox() [5/5]

PoDoFo::PdfListBox::PdfListBox ( const PdfField & rhs)

Create a PdfListBox from a PdfField

Parameters
rhsa PdfField that is a PdfComboBox

Raises an error if PdfField::GetType() != ePdfField_ListBox