PoDoFo
0.9.6
|
#include <PdfAction.h>
Public Member Functions | |
PdfAction (EPdfAction eAction, PdfVecObjects *pParent) | |
PdfAction (EPdfAction eAction, PdfDocument *pParent) | |
PdfAction (PdfObject *pObject) | |
void | SetURI (const PdfString &sUri) |
PdfString | GetURI () const |
bool | HasURI () const |
EPdfAction | GetType () const |
void | AddToDictionary (PdfDictionary &dictionary) const |
![]() | |
PdfObject * | GetObject () |
const PdfObject * | GetObject () const |
Additional Inherited Members | |
![]() | |
PdfElement (const char *pszType, PdfVecObjects *pParent) | |
PdfElement (const char *pszType, PdfDocument *pParent) | |
PdfElement (const char *pszType, PdfObject *pObject) | |
PdfElement (EPdfDataType eExpectedDataType, PdfObject *pObject) | |
const char * | TypeNameForIndex (int i, const char **ppTypes, long lLen) const |
int | TypeNameToIndex (const char *pszType, const char **ppTypes, long lLen, int nUnknownValue) const |
PdfObject * | CreateObject (const char *pszType=NULL) |
PdfObject * | GetNonConstObject () const |
An action that can be performed in a PDF document
PoDoFo::PdfAction::PdfAction | ( | EPdfAction | eAction, |
PdfVecObjects * | pParent | ||
) |
Create a new PdfAction object
eAction | type of this action |
pParent | parent of this action |
PoDoFo::PdfAction::PdfAction | ( | EPdfAction | eAction, |
PdfDocument * | pParent | ||
) |
Create a new PdfAction object
eAction | type of this action |
pParent | parent of this action |
PoDoFo::PdfAction::PdfAction | ( | PdfObject * | pObject | ) |
void PoDoFo::PdfAction::AddToDictionary | ( | PdfDictionary & | dictionary | ) | const |
Adds this action to an dictionary. This method handles the all the complexities of making sure it's added correctly
If this action is empty. Nothing will be added.
dictionary | the action will be added to this dictionary |
|
inline |
Get the type of this action
PdfString PoDoFo::PdfAction::GetURI | ( | ) | const |
Get the URI of an ePdfAction_URI
bool PoDoFo::PdfAction::HasURI | ( | ) | const |