## poppler-action poppler-action |

## Synopsis

    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);
    PopplerAction*      poppler_action_copy                 (PopplerAction *action);
    void                poppler_action_free                 (PopplerAction *action);
    #define             POPPLER_TYPE_DEST
    GType               poppler_dest_get_type               (void);
    PopplerDest*        poppler_dest_copy                   (PopplerDest *dest);
    void                poppler_dest_free                   (PopplerDest *dest);

## Description

## Details

### enum PopplerActionType

    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;

### enum PopplerDestType

    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,
    	POPPLER_DEST_NAMED
    } PopplerDestType;

### PopplerActionAny

    typedef struct {
    	PopplerActionType type;
    	gchar *title;
    } PopplerActionAny;

### PopplerActionGotoDest

    typedef struct {
    	PopplerActionType type;
    	gchar *title;

    	PopplerDest *dest;
    } PopplerActionGotoDest;

### PopplerActionGotoRemote

    typedef struct {
    	PopplerActionType type;
    	gchar *title;

    	gchar *file_name;
    	PopplerDest *dest;
    } PopplerActionGotoRemote;

### PopplerActionLaunch

    typedef struct {
    	PopplerActionType type;
    	gchar *title;

    	gchar *file_name;
    	gchar *params;
    } PopplerActionLaunch;

### PopplerActionUri

    typedef struct {
    	PopplerActionType type;
    	gchar *title;

    	char *uri;
    } PopplerActionUri;

### PopplerActionNamed

    typedef struct {
    	PopplerActionType type;
    	gchar *title;

    	gchar *named_dest;
    } PopplerActionNamed;

### PopplerActionMovie

    typedef struct {
    	PopplerActionType type;
    	gchar *title;
    } PopplerActionMovie;

### PopplerDest

    typedef struct {
    	PopplerDestType type;

    	int page_num;
    	double left;
    	double bottom;
    	double right;
    	double top;
    	double zoom;
    	gchar *named_dest;
    	guint change_left : 1;
    	guint change_top : 1;
    	guint change_zoom : 1;
    } PopplerDest;

### union PopplerAction

    union PopplerAction
    {
    	PopplerActionType type;
    	PopplerActionAny any;
    	PopplerActionGotoDest goto_dest;
    	PopplerActionGotoRemote goto_remote;
    	PopplerActionLaunch launch;
    	PopplerActionUri uri;
    	PopplerActionNamed named;
    	PopplerActionMovie movie;
    };

### POPPLER_TYPE_ACTION

    #define POPPLER_TYPE_ACTION             (poppler_action_get_type ())

### POPPLER_ACTION()

    #define POPPLER_ACTION(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), POPPLER_TYPE_ACTION, PopplerAction))

`obj` : |

### poppler_action_get_type ()

    GType               poppler_action_get_type             (void);

Returns : |

### poppler_action_copy ()

    PopplerAction*      poppler_action_copy                 (PopplerAction *action);

Copies `action`, creating an identical PopplerAction.

`action` : | a PopplerAction
Returns : | a new action identical to `action`

### poppler_action_free ()

    void                poppler_action_free                 (PopplerAction *action);

Frees `action`

`action` : | a PopplerAction

### POPPLER_TYPE_DEST

    #define POPPLER_TYPE_DEST              (poppler_dest_get_type ())

### poppler_dest_get_type ()

    GType               poppler_dest_get_type               (void);

Returns : |

### poppler_dest_copy ()

    PopplerDest*        poppler_dest_copy                   (PopplerDest *dest);

Copies `dest`, creating an identical PopplerDest.

`dest` : | a PopplerDest
Returns : | a new destination identical to `dest`

### poppler_dest_free ()

    void                poppler_dest_free                   (PopplerDest *dest);

Frees `dest`

`dest` : | a PopplerDest