PoDoFo::PdfComboBox Class Reference

#include <PdfField.h>

Inheritance diagram for PoDoFo::PdfComboBox:
PoDoFo::PdfListField

List of all members.

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

Detailed Description

A combo box with a drop down list of items.


Constructor & Destructor Documentation

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

Create a new PdfTextField

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

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

Parameters:
rhs a PdfField that is a PdfComboBox

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


Member Function Documentation

bool PoDoFo::PdfComboBox::IsEditable (  )  const [inline]
Returns:
true if this is an editable combobox
void PoDoFo::PdfComboBox::SetEditable ( bool  bEdit  )  [inline]

Sets the combobox to be editable

Parameters:
bEdit if true the combobox can be edited by the user

By default a combobox is not editable


Generated on 16 Feb 2010 for PoDoFo by  doxygen 1.6.1