## poppler

poppler —

## Synopsis

    GQuark      poppler_error_quark             (void);
    #define     POPPLER_ERROR
    enum        PopplerError;
    enum        PopplerOrientation;
                PopplerDocument;
                PopplerIndexIter;
                PopplerFontsIter;
                PopplerRectangle;
                PopplerLinkMapping;
                PopplerPage;
                PopplerFontInfo;
                PopplerPSFile;
    enum        PopplerBackend;
    PopplerBackend poppler_get_backend          (void);
    const char* poppler_get_version             (void);

## Object Hierarchy

      GObject
       +----PopplerDocument

      GObject
       +----PopplerPage

## Properties

      "author"               gchararray            : Read
      "creation-date"        gint                  : Read
      "creator"              gchararray            : Read
      "format"               gchararray            : Read
      "keywords"             gchararray            : Read
      "linearized"           gchararray            : Read
      "mod-date"             gint                  : Read
      "page-layout"          PopplerPageLayout     : Read
      "page-mode"            PopplerPageMode       : Read
      "permissions"          PopplerPermissions    : Read
      "producer"             gchararray            : Read
      "subject"              gchararray            : Read
      "title"                gchararray            : Read
      "viewer-preferences"   PopplerViewerPreferences  : Read
      "label"                gchararray            : Read

## Description

## Details

### poppler_error_quark ()

    GQuark      poppler_error_quark             (void);

Returns : |

### POPPLER_ERROR

    #define POPPLER_ERROR poppler_error_quark ()

### enum PopplerError

    typedef enum
    {
      POPPLER_ERROR_INVALID,
      POPPLER_ERROR_ENCRYPTED
    } PopplerError;

### enum PopplerOrientation

    typedef enum
    {
    	POPPLER_ORIENTATION_PORTRAIT,
    	POPPLER_ORIENTATION_LANDSCAPE,
    	POPPLER_ORIENTATION_UPSIDEDOWN,
    	POPPLER_ORIENTATION_SEASCAPE
    } PopplerOrientation;

### PopplerDocument

    typedef struct _PopplerDocument PopplerDocument;

### PopplerIndexIter

    typedef struct _PopplerIndexIter PopplerIndexIter;

### PopplerFontsIter

    typedef struct _PopplerFontsIter PopplerFontsIter;

### PopplerRectangle

    typedef struct {
      gdouble x1;
      gdouble y1;
      gdouble x2;
      gdouble y2;
    } PopplerRectangle;

### PopplerLinkMapping

    typedef struct {
      PopplerRectangle area;
      PopplerAction *action;
    } PopplerLinkMapping;

### PopplerPage

    typedef struct _PopplerPage PopplerPage;

### PopplerFontInfo

    typedef struct {
      PopplerDocument *document;
      FontInfoScanner *scanner;
    } PopplerFontInfo;

### PopplerPSFile

    typedef struct {
      GObject parent_instance;

      PopplerDocument *document;
      PSOutputDev *out;
      char *filename;
      int first_page;
      int last_page;
      double paper_width;
      double paper_height;
      gboolean duplex;
    } PopplerPSFile;

### enum PopplerBackend

    typedef enum
    {
      POPPLER_BACKEND_UNKNOWN,
      POPPLER_BACKEND_SPLASH,
      POPPLER_BACKEND_CAIRO
    } PopplerBackend;

### poppler_get_backend ()

    PopplerBackend poppler_get_backend          (void);

Returns the backend compiled into the poppler library.

Returns : | The backend used by poppler

### poppler_get_version ()

    const char* poppler_get_version             (void);

Returns the version of poppler in use. This result is not to be freed.

Returns : | the version of poppler.

## Property Details

### The "`author`" property

      "author"               gchararray            : Read

The author of the document.

Default value: NULL

### The "`creation-date`" property

      "creation-date"        gint                  : Read

The date and time the document was created.

Allowed values: >= 0

Default value: 0

### The "`creator`" property

      "creator"              gchararray            : Read

The software that created the document.

Default value: NULL

### The "`format`" property

      "format"               gchararray            : Read

The PDF version of the document.

Default value: NULL

### The "`keywords`" property

      "keywords"             gchararray            : Read

Keywords.

Default value: NULL

### The "`linearized`" property

      "linearized"           gchararray            : Read

Is the document optimized for web viewing?.

Default value: NULL

### The "`mod-date`" property

      "mod-date"             gint                  : Read

The date and time the document was modified.

Allowed values: >= 0

Default value: 0

### The "`page-layout`" property

      "page-layout"          PopplerPageLayout     : Read

Initial Page Layout.

Default value: POPPLER_PAGE_LAYOUT_UNSET

### The "`page-mode`" property

      "page-mode"            PopplerPageMode       : Read

Page Mode.

Default value: POPPLER_PAGE_MODE_UNSET

### The "`permissions`" property

      "permissions"          PopplerPermissions    : Read

Permissions.

Default value: POPPLER_PERMISSIONS_OK_TO_PRINT|POPPLER_PERMISSIONS_OK_TO_MODIFY|POPPLER_PERMISSIONS_OK_TO_COPY|POPPLER_PERMISSIONS_OK_TO_ADD_NOTES

### The "`producer`" property

      "producer"             gchararray            : Read

The software that converted the document.

Default value: NULL

### The "`subject`" property

      "subject"              gchararray            : Read

Subjects the document touches.

Default value: NULL

### The "`title`" property

      "title"                gchararray            : Read

The title of the document.

Default value: NULL

### The "`viewer-preferences`" property

      "viewer-preferences"   PopplerViewerPreferences  : Read

Viewer Preferences.

### The "`label`" property

      "label"                gchararray            : Read

The label of the page.

Default value: NULL