|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __POPPLER_GLIB_H__ |
|
#define __POPPLER_GLIB_H__ |
|
|
|
#include <glib-object.h> |
|
|
|
#include "poppler-macros.h" |
|
|
|
G_BEGIN_DECLS |
|
|
|
POPPLER_PUBLIC |
|
GQuark poppler_error_quark(void); |
|
|
|
#define POPPLER_ERROR poppler_error_quark() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef enum |
|
{ |
|
POPPLER_ERROR_INVALID, |
|
POPPLER_ERROR_ENCRYPTED, |
|
POPPLER_ERROR_OPEN_FILE, |
|
POPPLER_ERROR_BAD_CATALOG, |
|
POPPLER_ERROR_DAMAGED, |
|
POPPLER_ERROR_SIGNING |
|
} PopplerError; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 enum |
|
{ |
|
POPPLER_SELECTION_GLYPH, |
|
POPPLER_SELECTION_WORD, |
|
POPPLER_SELECTION_LINE |
|
} PopplerSelectionStyle; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef enum /*< flags >*/ |
|
{ |
|
POPPLER_PRINT_DOCUMENT = 0, |
|
POPPLER_PRINT_MARKUP_ANNOTS = 1 << 0, |
|
POPPLER_PRINT_STAMP_ANNOTS_ONLY = 1 << 1, |
|
POPPLER_PRINT_ALL = POPPLER_PRINT_MARKUP_ANNOTS |
|
} PopplerPrintFlags; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef enum /*< flags >*/ |
|
{ |
|
POPPLER_FIND_DEFAULT = 0, |
|
POPPLER_FIND_CASE_SENSITIVE = 1 << 0, |
|
POPPLER_FIND_BACKWARDS = 1 << 1, |
|
POPPLER_FIND_WHOLE_WORDS_ONLY = 1 << 2, |
|
POPPLER_FIND_IGNORE_DIACRITICS = 1 << 3, |
|
POPPLER_FIND_MULTILINE = 1 << 4 |
|
} PopplerFindFlags; |
|
|
|
typedef struct _PopplerDocument PopplerDocument; |
|
typedef struct _PopplerIndexIter PopplerIndexIter; |
|
typedef struct _PopplerFontsIter PopplerFontsIter; |
|
typedef struct _PopplerLayersIter PopplerLayersIter; |
|
typedef struct _PopplerPoint PopplerPoint; |
|
typedef struct _PopplerRectangle PopplerRectangle; |
|
typedef struct _PopplerTextAttributes PopplerTextAttributes; |
|
typedef struct _PopplerColor PopplerColor; |
|
typedef struct _PopplerLinkMapping PopplerLinkMapping; |
|
typedef struct _PopplerPageTransition PopplerPageTransition; |
|
typedef struct _PopplerImageMapping PopplerImageMapping; |
|
typedef struct _PopplerFormFieldMapping PopplerFormFieldMapping; |
|
typedef struct _PopplerAnnotMapping PopplerAnnotMapping; |
|
typedef struct _PopplerPage PopplerPage; |
|
typedef struct _PopplerFontInfo PopplerFontInfo; |
|
typedef struct _PopplerLayer PopplerLayer; |
|
typedef struct _PopplerPSFile PopplerPSFile; |
|
typedef union _PopplerAction PopplerAction; |
|
typedef struct _PopplerDest PopplerDest; |
|
typedef struct _PopplerActionLayer PopplerActionLayer; |
|
typedef struct _PopplerFormField PopplerFormField; |
|
typedef struct _PopplerAttachment PopplerAttachment; |
|
typedef struct _PopplerMovie PopplerMovie; |
|
typedef struct _PopplerMedia PopplerMedia; |
|
typedef struct _PopplerAnnot PopplerAnnot; |
|
typedef struct _PopplerAnnotMarkup PopplerAnnotMarkup; |
|
typedef struct _PopplerAnnotText PopplerAnnotText; |
|
typedef struct _PopplerAnnotTextMarkup PopplerAnnotTextMarkup; |
|
typedef struct _PopplerAnnotFreeText PopplerAnnotFreeText; |
|
typedef struct _PopplerAnnotFileAttachment PopplerAnnotFileAttachment; |
|
typedef struct _PopplerAnnotMovie PopplerAnnotMovie; |
|
typedef struct _PopplerAnnotScreen PopplerAnnotScreen; |
|
typedef struct _PopplerAnnotCalloutLine PopplerAnnotCalloutLine; |
|
typedef struct _PopplerAnnotLine PopplerAnnotLine; |
|
typedef struct _PopplerAnnotCircle PopplerAnnotCircle; |
|
typedef struct _PopplerAnnotSquare PopplerAnnotSquare; |
|
typedef struct _PopplerQuadrilateral PopplerQuadrilateral; |
|
typedef struct _PopplerStructureElement PopplerStructureElement; |
|
typedef struct _PopplerStructureElementIter PopplerStructureElementIter; |
|
typedef struct _PopplerTextSpan PopplerTextSpan; |
|
typedef struct _PopplerPageRange PopplerPageRange; |
|
typedef struct _PopplerSignatureInfo PopplerSignatureInfo; |
|
typedef struct _PopplerAnnotStamp PopplerAnnotStamp; |
|
typedef struct _PopplerCertificateInfo PopplerCertificateInfo; |
|
typedef struct _PopplerSigningData PopplerSigningData; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef enum |
|
{ |
|
POPPLER_BACKEND_UNKNOWN, |
|
POPPLER_BACKEND_SPLASH, |
|
POPPLER_BACKEND_CAIRO |
|
} PopplerBackend; |
|
|
|
POPPLER_PUBLIC |
|
PopplerBackend poppler_get_backend(void); |
|
POPPLER_PUBLIC |
|
const char *poppler_get_version(void); |
|
|
|
G_END_DECLS |
|
|
|
#include "poppler-features.h" |
|
#include "poppler-document.h" |
|
#include "poppler-page.h" |
|
#include "poppler-layer.h" |
|
#include "poppler-action.h" |
|
#include "poppler-form-field.h" |
|
#include "poppler-enums.h" |
|
#include "poppler-attachment.h" |
|
#include "poppler-annot.h" |
|
#include "poppler-date.h" |
|
#include "poppler-movie.h" |
|
#include "poppler-media.h" |
|
#include "poppler-structure-element.h" |
|
|
|
#endif |
|
|