| Poppler Reference Manual |
|---|
poppler-actionpoppler-action — |
enum PopplerActionType; enum PopplerDestType; PopplerActionAny; PopplerActionGotoDest; PopplerActionGotoRemote; PopplerActionLaunch; PopplerActionUri; PopplerActionNamed; PopplerActionMovie; PopplerDest; union PopplerAction; #define POPPLER_TYPE_ACTION #define POPPLER_ACTION (obj) GType poppler_action_get_type (void); void poppler_action_free (PopplerAction *action); PopplerAction* poppler_action_copy (PopplerAction *action);
typedef enum
{
POPPLER_ACTION_UNKNOWN, /* unknown action */
POPPLER_ACTION_GOTO_DEST, /* go to destination */
POPPLER_ACTION_GOTO_REMOTE, /* go to destination in new file */
POPPLER_ACTION_LAUNCH, /* launch app (or open document) */
POPPLER_ACTION_URI, /* URI */
POPPLER_ACTION_NAMED, /* named action*/
POPPLER_ACTION_MOVIE, /* movie action */
} PopplerActionType;
typedef enum
{
POPPLER_DEST_UNKNOWN,
POPPLER_DEST_XYZ,
POPPLER_DEST_FIT,
POPPLER_DEST_FITH,
POPPLER_DEST_FITV,
POPPLER_DEST_FITR,
POPPLER_DEST_FITB,
POPPLER_DEST_FITBH,
POPPLER_DEST_FITBV,
} PopplerDestType;
typedef struct {
PopplerActionType type;
gchar *title;
PopplerDest *dest;
} PopplerActionGotoDest;
typedef struct {
PopplerActionType type;
gchar *title;
gchar *file_name;
PopplerDest *dest;
} PopplerActionGotoRemote;
typedef struct {
PopplerActionType type;
gchar *title;
gchar *file_name;
gchar *params;
} PopplerActionLaunch;
typedef struct {
PopplerActionType type;
gchar *title;
char *uri;
} PopplerActionUri;
typedef struct {
PopplerActionType type;
gchar *title;
gchar *named_dest;
} PopplerActionNamed;
typedef struct {
PopplerDestType type;
int page_num;
double left;
double bottom;
double right;
double top;
double zoom;
guint change_left : 1;
guint change_top : 1;
guint change_zoom : 1;
} PopplerDest;
union PopplerAction
{
PopplerActionType type;
PopplerActionAny any;
PopplerActionGotoDest goto_dest;
PopplerActionGotoRemote goto_remote;
PopplerActionLaunch launch;
PopplerActionUri uri;
PopplerActionNamed named;
PopplerActionMovie movie;
};
#define POPPLER_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POPPLER_TYPE_ACTION, PopplerAction))
obj : |
PopplerAction* poppler_action_copy (PopplerAction *action);
action : |
|
| Returns : |
| << PopplerPage | poppler-enums >> |