#include <PdfField.h>
Public Member Functions | |
PdfCheckBox (PdfAnnotation *pWidget, PdfAcroForm *pParent) | |
PdfCheckBox (PdfPage *pPage, const PdfRect &rRect, PdfAcroForm *pParent) | |
PdfCheckBox (PdfPage *pPage, const PdfRect &rRect, PdfDocument *pDoc) | |
PdfCheckBox (PdfPage *pPage, const PdfRect &rRect, PdfStreamedDocument *pDoc) | |
PdfCheckBox (const PdfField &rhs) | |
void | SetAppearanceChecked (const PdfXObject &rXObject) |
void | SetAppearanceUnchecked (const PdfXObject &rXObject) |
void | SetChecked (bool bChecked) |
bool | IsChecked () const |
PoDoFo::PdfCheckBox::PdfCheckBox | ( | PdfAnnotation * | pWidget, | |
PdfAcroForm * | pParent | |||
) |
Create a new PdfCheckBox
Create a new PdfCheckBox
PoDoFo::PdfCheckBox::PdfCheckBox | ( | PdfPage * | pPage, | |
const PdfRect & | rRect, | |||
PdfDocument * | pDoc | |||
) |
Create a new PdfCheckBox
PoDoFo::PdfCheckBox::PdfCheckBox | ( | PdfPage * | pPage, | |
const PdfRect & | rRect, | |||
PdfStreamedDocument * | pDoc | |||
) |
Create a new PdfCheckBox
PoDoFo::PdfCheckBox::PdfCheckBox | ( | const PdfField & | rhs | ) |
Create a PdfCheckBox from a PdfField
rhs | a PdfField that is a check box |
bool PoDoFo::PdfCheckBox::IsChecked | ( | ) | const |
void PoDoFo::PdfCheckBox::SetAppearanceChecked | ( | const PdfXObject & | rXObject | ) |
Set the appearance stream which is displayed when the checkbox is checked.
rXObject | an xobject which contains the drawing commands for a checked checkbox |
void PoDoFo::PdfCheckBox::SetAppearanceUnchecked | ( | const PdfXObject & | rXObject | ) |
Set the appearance stream which is displayed when the checkbox is unchecked.
rXObject | an xobject which contains the drawing commands for an unchecked checkbox |
void PoDoFo::PdfCheckBox::SetChecked | ( | bool | bChecked | ) |
Sets the state of this checkbox
bChecked | if true the checkbox will be checked |