|
PoDoFo 0.9.20
|
#include <PdfAction.h>
Public Member Functions | |
| PdfAction (PdfDocument &doc, PdfActionType action) | |
| PdfAction (PdfObject &obj) | |
| void | SetURI (const PdfString &uri) |
| PdfString | GetURI () const |
| bool | HasURI () const |
| PdfActionType | GetType () const |
| void | AddToDictionary (PdfDictionary &dictionary) const |
An action that can be performed in a PDF document
| PdfAction::PdfAction | ( | PdfDocument & | doc, |
| PdfActionType | action ) |
Create a new PdfAction object
| eAction | type of this action |
| parent | parent of this action |
| void 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 PdfAction::GetURI | ( | ) | const |
Get the URI of an PdfActionType::URI
| bool PdfAction::HasURI | ( | ) | const |