5#ifndef PDFTRON_H_CPPPDFAction
6#define PDFTRON_H_CPPPDFAction
10#include <C/PDF/TRN_Action.h>
353 TRN_Action mp_action;
362#include <Impl/Page.inl>
class Destination GetDest()
bool operator==(const Action &in_action)
bool GetFormActionFlag(FormActionFlag flag) const
static Action CreateGoto(class Destination dest)
static Action CreateHideField(SDF::SDFDoc &sdfdoc, const std::vector< std::string > &field)
SDF::Obj GetSDFObj() const
static Action CreateImportData(SDF::SDFDoc &doc, const char *path)
@ e_include_no_value_fields
static Action CreateResetForm(SDF::SDFDoc &doc)
void SetFormActionFlag(FormActionFlag flag, bool value)
static Action CreateHideField(SDF::SDFDoc &sdfdoc, int list_length, const char **field)
ptrdiff_t GetHandleInternal()
Action & operator=(const Action &in_action)
static Action CreateGotoRemote(const FileSpec &file, int page_num)
Action(SDF::Obj in_obj=0)
static Action CreateGotoRemote(const FileSpec &file, int page_num, bool new_window)
static Action CreateLaunch(SDF::SDFDoc &doc, const char *path)
static Action CreateSubmitForm(const FileSpec &url)
static Action CreateURI(SDF::SDFDoc &doc, const char *uri)
@ e_SubmitForm
Send data to a uniform resource locator.
@ e_GoToE
('Go-to embedded'; PDF 1.6) Go to a destination in an embedded file.
@ e_Named
Execute an action predefined by the viewer application.
@ e_Rendition
(PDF 1.5) Controls the playing of multimedia content.
@ e_ImportData
Import field values from a file.
@ e_Trans
Updates the display of a document, using a transition dictionary.
@ e_ResetForm
Set fields to their default values.
@ e_URI
Resolve a uniform resource identifier.
@ e_GoTo
Go to a destination in the current document.
@ e_Unknown
Unknown Action type.
@ e_Launch
Launch an application, usually to open a file.
@ e_Thread
Begin reading an article thread.
@ e_RichMediaExecute
Adobe supplement to ISO 32000; specifies a command to be sent to rich media annotation's handler.
@ e_GoToR
('Go-to remote') Go to a destination in another document.
@ e_SetOCGState
(PDF 1.5) Set the states of optional content groups.
@ e_GoTo3DView
(PDF 1.6) Set the current view of a 3D annotation
@ e_JavaScript
Execute a JavaScript script.
@ e_Hide
Set an annotation's Hidden flag.
static Action CreateGoto(const UChar *key, int key_sz, class Destination dest)
KeyStrokeActionResult ExecuteKeyStrokeAction(const KeyStrokeEventData &data)
static Action CreateJavaScript(SDF::SDFDoc &doc, const char *script)
static Action CreateURI(SDF::SDFDoc &doc, UString &uri)
Action(const Action &in_action)
static Action * CreateInternal(ptrdiff_t impl)