summaryrefslogtreecommitdiff
path: root/Build/source/libs/poppler/poppler-0.12.4/glib/poppler.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/poppler/poppler-0.12.4/glib/poppler.h')
-rw-r--r--Build/source/libs/poppler/poppler-0.12.4/glib/poppler.h130
1 files changed, 130 insertions, 0 deletions
diff --git a/Build/source/libs/poppler/poppler-0.12.4/glib/poppler.h b/Build/source/libs/poppler/poppler-0.12.4/glib/poppler.h
new file mode 100644
index 00000000000..b1a77307d9f
--- /dev/null
+++ b/Build/source/libs/poppler/poppler-0.12.4/glib/poppler.h
@@ -0,0 +1,130 @@
+/* poppler.h: glib interface to poppler
+ * Copyright (C) 2004, Red Hat, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#ifndef __POPPLER_GLIB_H__
+#define __POPPLER_GLIB_H__
+
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+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
+} PopplerError;
+
+typedef enum
+{
+ POPPLER_ORIENTATION_PORTRAIT,
+ POPPLER_ORIENTATION_LANDSCAPE,
+ POPPLER_ORIENTATION_UPSIDEDOWN,
+ POPPLER_ORIENTATION_SEASCAPE
+} PopplerOrientation;
+
+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 struct _PopplerDocument PopplerDocument;
+typedef struct _PopplerIndexIter PopplerIndexIter;
+typedef struct _PopplerFontsIter PopplerFontsIter;
+typedef struct _PopplerLayersIter PopplerLayersIter;
+typedef struct _PopplerRectangle PopplerRectangle;
+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 _PopplerFormField PopplerFormField;
+typedef struct _PopplerAttachment PopplerAttachment;
+typedef struct _PopplerAnnot PopplerAnnot;
+typedef struct _PopplerAnnotMarkup PopplerAnnotMarkup;
+typedef struct _PopplerAnnotText PopplerAnnotText;
+typedef struct _PopplerAnnotFreeText PopplerAnnotFreeText;
+typedef struct _PopplerAnnotCalloutLine PopplerAnnotCalloutLine;
+
+typedef enum
+{
+ POPPLER_BACKEND_UNKNOWN,
+ POPPLER_BACKEND_SPLASH,
+ POPPLER_BACKEND_CAIRO
+} PopplerBackend;
+
+PopplerBackend poppler_get_backend (void);
+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"
+
+#endif /* __POPPLER_GLIB_H__ */