| Poppler Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
GQuark poppler_error_quark (void); #define POPPLER_ERROR enum PopplerError; enum PopplerOrientation; PopplerDocument; PopplerIndexIter; PopplerFontsIter; PopplerRectangle; enum PopplerSelectionStyle; enum PopplerPageTransitionType; enum PopplerPageTransitionAlignment; enum PopplerPageTransitionDirection; PopplerLinkMapping; PopplerPage; PopplerFontInfo; PopplerPSFile; enum PopplerBackend; PopplerBackend poppler_get_backend (void); const char * poppler_get_version (void);
"author" gchar* : Read "creation-date" gint : Read "creator" gchar* : Read "format" gchar* : Read "keywords" gchar* : Read "linearized" gchar* : Read "metadata" gchar* : Read "mod-date" gint : Read "page-layout" PopplerPageLayout : Read "page-mode" PopplerPageMode : Read "permissions" PopplerPermissions : Read "producer" gchar* : Read "subject" gchar* : Read "title" gchar* : Read "viewer-preferences" PopplerViewerPreferences : Read "label" gchar* : Read
typedef enum
{
POPPLER_ERROR_INVALID,
POPPLER_ERROR_ENCRYPTED,
POPPLER_ERROR_OPEN_FILE,
POPPLER_ERROR_BAD_CATALOG,
POPPLER_ERROR_DAMAGED
} PopplerError;
typedef enum
{
POPPLER_ORIENTATION_PORTRAIT,
POPPLER_ORIENTATION_LANDSCAPE,
POPPLER_ORIENTATION_UPSIDEDOWN,
POPPLER_ORIENTATION_SEASCAPE
} PopplerOrientation;
typedef struct {
gdouble x1;
gdouble y1;
gdouble x2;
gdouble y2;
} PopplerRectangle;
typedef enum
{
POPPLER_SELECTION_GLYPH,
POPPLER_SELECTION_WORD,
POPPLER_SELECTION_LINE
} PopplerSelectionStyle;
typedef enum
{
POPPLER_PAGE_TRANSITION_REPLACE,
POPPLER_PAGE_TRANSITION_SPLIT,
POPPLER_PAGE_TRANSITION_BLINDS,
POPPLER_PAGE_TRANSITION_BOX,
POPPLER_PAGE_TRANSITION_WIPE,
POPPLER_PAGE_TRANSITION_DISSOLVE,
POPPLER_PAGE_TRANSITION_GLITTER,
POPPLER_PAGE_TRANSITION_FLY,
POPPLER_PAGE_TRANSITION_PUSH,
POPPLER_PAGE_TRANSITION_COVER,
POPPLER_PAGE_TRANSITION_UNCOVER,
POPPLER_PAGE_TRANSITION_FADE
} PopplerPageTransitionType;
typedef enum
{
POPPLER_PAGE_TRANSITION_HORIZONTAL,
POPPLER_PAGE_TRANSITION_VERTICAL
} PopplerPageTransitionAlignment;
typedef enum
{
POPPLER_PAGE_TRANSITION_INWARD,
POPPLER_PAGE_TRANSITION_OUTWARD
} PopplerPageTransitionDirection;
typedef struct {
PopplerRectangle area;
PopplerAction *action;
} PopplerLinkMapping;
typedef struct {
GObject parent_instance;
PopplerDocument *document;
FontInfoScanner *scanner;
} PopplerFontInfo;
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;
typedef enum
{
POPPLER_BACKEND_UNKNOWN,
POPPLER_BACKEND_SPLASH,
POPPLER_BACKEND_CAIRO
} PopplerBackend;
PopplerBackend poppler_get_backend (void);
Returns the backend compiled into the poppler library.
Returns : |
The backend used by poppler |
"creation-date" property"creation-date" gint : Read
The date and time the document was created.
Allowed values: >= 0
Default value: 0
"creator" property"creator" gchar* : Read
The software that created the document.
Default value: NULL
"linearized" property"linearized" gchar* : Read
Is the document optimized for web viewing?.
Default value: NULL
"mod-date" property"mod-date" gint : Read
The date and time the document was modified.
Allowed values: >= 0
Default value: 0
"page-layout" property"page-layout" PopplerPageLayout : Read
Initial Page Layout.
Default value: POPPLER_PAGE_LAYOUT_UNSET
"page-mode" property"page-mode" PopplerPageMode : Read
Page Mode.
Default value: POPPLER_PAGE_MODE_UNSET
"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|POPPLER_PERMISSIONS_OK_TO_FILL_FORM
"producer" property"producer" gchar* : Read
The software that converted the document.
Default value: NULL
"viewer-preferences" property"viewer-preferences" PopplerViewerPreferences : Read
Viewer Preferences.