PoDoFo 0.9.6
|
#include <PdfField.h>
Inherits PoDoFo::PdfButton.
Public Member Functions | |
PdfPushButton (PdfAnnotation *pWidget, PdfAcroForm *pParent) | |
PdfPushButton (PdfPage *pPage, const PdfRect &rRect, PdfAcroForm *pParent) | |
PdfPushButton (PdfPage *pPage, const PdfRect &rRect, PdfDocument *pDoc) | |
PdfPushButton (PdfPage *pPage, const PdfRect &rRect, PdfStreamedDocument *pDoc) | |
PdfPushButton (const PdfField &rhs) | |
void | SetRolloverCaption (const PdfString &rsText) |
const PdfString | GetRolloverCaption () const |
void | SetAlternateCaption (const PdfString &rsText) |
const PdfString | GetAlternateCaption () const |
A push button is a button which has no state and value but can toggle actions.
PoDoFo::PdfPushButton::PdfPushButton | ( | PdfAnnotation * | pWidget, |
PdfAcroForm * | pParent | ||
) |
Create a new PdfPushButton
PoDoFo::PdfPushButton::PdfPushButton | ( | PdfPage * | pPage, |
const PdfRect & | rRect, | ||
PdfAcroForm * | pParent | ||
) |
Create a new PdfPushButton
PoDoFo::PdfPushButton::PdfPushButton | ( | PdfPage * | pPage, |
const PdfRect & | rRect, | ||
PdfDocument * | pDoc | ||
) |
Create a new PdfPushButton
PoDoFo::PdfPushButton::PdfPushButton | ( | PdfPage * | pPage, |
const PdfRect & | rRect, | ||
PdfStreamedDocument * | pDoc | ||
) |
Create a new PdfPushButton
PoDoFo::PdfPushButton::PdfPushButton | ( | const PdfField & | rhs | ) |
Create a PdfPushButton from a PdfField
rhs | a PdfField that is a push button button |
Raises an error if PdfField::GetType() != ePdfField_PushButton
const PdfString PoDoFo::PdfPushButton::GetAlternateCaption | ( | ) | const |
const PdfString PoDoFo::PdfPushButton::GetRolloverCaption | ( | ) | const |
void PoDoFo::PdfPushButton::SetAlternateCaption | ( | const PdfString & | rsText | ) |
Set the alternate caption of this button which is displayed when the button is pressed.
rsText | the caption |
void PoDoFo::PdfPushButton::SetRolloverCaption | ( | const PdfString & | rsText | ) |
Set the rollover caption of this button which is displayed when the cursor enters the field without the mouse button being pressed
rsText | the caption |