node-poppler 5.1.4 → 5.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/package.json +10 -10
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Annot.h +0 -1783
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/AnnotStampImageHelper.h +0 -68
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Array.h +0 -92
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/BBoxOutputDev.h +0 -54
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CMap.h +0 -128
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CachedFile.h +0 -149
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CairoFontEngine.h +0 -122
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CairoOutputDev.h +0 -468
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CairoRescaleBox.h +0 -60
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Catalog.h +0 -318
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CertificateInfo.h +0 -129
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CharCodeToUnicode.h +0 -143
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CharTypes.h +0 -24
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CurlCachedFile.h +0 -37
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CurlPDFDocBuilder.h +0 -32
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/DateInfo.h +0 -44
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Decrypt.h +0 -147
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Dict.h +0 -126
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Error.h +0 -59
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/ErrorCodes.h +0 -54
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/FDPDFDocBuilder.h +0 -36
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/FILECacheLoader.h +0 -34
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/FileSpec.h +0 -85
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/FontEncodingTables.h +0 -20
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/FontInfo.h +0 -109
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Form.h +0 -734
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Function.h +0 -251
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Gfx.h +0 -373
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/GfxFont.h +0 -466
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/GfxState.h +0 -1759
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/GfxState_helpers.h +0 -90
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/GlobalParams.h +0 -221
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Hints.h +0 -91
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/JArithmeticDecoder.h +0 -131
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/JBIG2Stream.h +0 -130
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/JPEG2000Stream.h +0 -54
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/JSInfo.h +0 -65
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Lexer.h +0 -113
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Linearization.h +0 -43
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Link.h +0 -566
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/LocalPDFDocBuilder.h +0 -32
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/MarkedContentOutputDev.h +0 -132
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Movie.h +0 -123
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/NameToCharCode.h +0 -52
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/NameToUnicodeTable.h +0 -4300
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Object.h +0 -678
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/OptionalContent.h +0 -117
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Outline.h +0 -122
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/OutputDev.h +0 -379
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PDFDoc.h +0 -419
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PDFDocBuilder.h +0 -47
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PDFDocEncoding.h +0 -43
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PDFDocFactory.h +0 -58
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PSOutputDev.h +0 -549
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PSTokenizer.h +0 -47
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Page.h +0 -273
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PageTransition.h +0 -105
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Parser.h +0 -76
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PopplerCache.h +0 -65
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PreScanOutputDev.h +0 -148
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/ProfileData.h +0 -35
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Rendition.h +0 -164
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/SecurityHandler.h +0 -131
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Sound.h +0 -82
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/SplashOutputDev.h +0 -413
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Stream-CCITT.h +0 -334
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Stream.h +0 -1504
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/StructElement.h +0 -406
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/StructTreeRoot.h +0 -89
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/TextOutputDev.h +0 -918
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UTF.h +0 -112
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UnicodeCClassTables.h +0 -983
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UnicodeCompTables.h +0 -328
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UnicodeDecompTables.h +0 -7181
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UnicodeMap.h +0 -128
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UnicodeMapFuncs.h +0 -35
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UnicodeMapTables.h +0 -84
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UnicodeTypeTable.h +0 -49
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/ViewerPreferences.h +0 -87
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/XRef.h +0 -325
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-destination.h +0 -69
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-document.h +0 -135
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-embedded-file.h +0 -55
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-font-private.h +0 -68
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-font.h +0 -95
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-global.h +0 -132
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-image.h +0 -74
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-page-renderer.h +0 -77
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-page-transition.h +0 -85
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-page.h +0 -225
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-rectangle.h +0 -66
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-toc.h +0 -72
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-version.h +0 -39
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler_cpp_export.h +0 -42
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/fofi/FoFiBase.h +0 -66
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/fofi/FoFiEncodings.h +0 -43
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/fofi/FoFiIdentifier.h +0 -52
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/fofi/FoFiTrueType.h +0 -190
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/fofi/FoFiType1.h +0 -70
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/fofi/FoFiType1C.h +0 -263
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-action.h +0 -454
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-annot.h +0 -333
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-attachment.h +0 -123
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-date.h +0 -32
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-document.h +0 -541
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-enums.h +0 -191
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-features.h +0 -88
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-form-field.h +0 -254
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-layer.h +0 -50
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-macros.h +0 -42
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-media.h +0 -80
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-movie.h +0 -81
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-page.h +0 -424
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-structure-element.h +0 -425
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler.h +0 -259
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/GooCheckedOps.h +0 -116
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/GooLikely.h +0 -22
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/GooString.h +0 -262
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/GooTimer.h +0 -59
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/ImgWriter.h +0 -39
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/JpegWriter.h +0 -69
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/PNGWriter.h +0 -68
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/TiffWriter.h +0 -70
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/gdir.h +0 -96
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/gfile.h +0 -156
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/gmem.h +0 -201
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/grandom.h +0 -21
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/gstrtod.h +0 -45
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/poppler-config.h +0 -155
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/poppler_private_export.h +0 -42
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/Splash.h +0 -336
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashBitmap.h +0 -127
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashClip.h +0 -131
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashErrorCodes.h +0 -50
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashFTFont.h +0 -71
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashFTFontEngine.h +0 -72
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashFTFontFile.h +0 -64
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashFont.h +0 -116
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashFontEngine.h +0 -89
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashFontFile.h +0 -98
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashFontFileID.h +0 -40
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashGlyphBitmap.h +0 -23
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashMath.h +0 -215
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashPath.h +0 -138
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashPattern.h +0 -107
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashScreen.h +0 -87
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashState.h +0 -132
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashTypes.h +0 -248
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashXPath.h +0 -95
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashXPathScanner.h +0 -136
- package/src/lib/win32/poppler-22.04.0/Library/lib/pkgconfig/poppler-cpp.pc +0 -12
- package/src/lib/win32/poppler-22.04.0/Library/lib/pkgconfig/poppler-glib.pc +0 -12
- package/src/lib/win32/poppler-22.04.0/Library/lib/pkgconfig/poppler.pc +0 -10
- package/src/lib/win32/poppler-22.04.0/Library/lib/poppler-cpp.lib +0 -0
- package/src/lib/win32/poppler-22.04.0/Library/lib/poppler-glib.lib +0 -0
- package/src/lib/win32/poppler-22.04.0/Library/lib/poppler.lib +0 -0
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdfattach.1 +0 -60
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdfdetach.1 +0 -94
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdffonts.1 +0 -128
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdfimages.1 +0 -265
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdfinfo.1 +0 -198
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdfseparate.1 +0 -60
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdftocairo.1 +0 -346
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdftohtml.1 +0 -118
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdftoppm.1 +0 -230
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdftops.1 +0 -267
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdftotext.1 +0 -157
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdfunite.1 +0 -43
- package/src/lib/win32/poppler-22.04.0/share/poppler/CMakeLists.txt +0 -309
- package/src/lib/win32/poppler-22.04.0/share/poppler/Makefile +0 -333
|
@@ -1,333 +0,0 @@
|
|
|
1
|
-
/* poppler-annot.h: glib interface to poppler
|
|
2
|
-
*
|
|
3
|
-
* Copyright (C) 2007 Inigo Martinez <inigomartinez@gmail.com>
|
|
4
|
-
* Copyright (C) 2009 Carlos Garcia Campos <carlosgc@gnome.org>
|
|
5
|
-
*
|
|
6
|
-
* This program is free software; you can redistribute it and/or modify
|
|
7
|
-
* it under the terms of the GNU General Public License as published by
|
|
8
|
-
* the Free Software Foundation; either version 2, or (at your option)
|
|
9
|
-
* any later version.
|
|
10
|
-
*
|
|
11
|
-
* This program is distributed in the hope that it will be useful,
|
|
12
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
-
* GNU General Public License for more details.
|
|
15
|
-
*
|
|
16
|
-
* You should have received a copy of the GNU General Public License
|
|
17
|
-
* along with this program; if not, write to the Free Software
|
|
18
|
-
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
#ifndef __POPPLER_ANNOT_H__
|
|
22
|
-
#define __POPPLER_ANNOT_H__
|
|
23
|
-
|
|
24
|
-
#include <glib-object.h>
|
|
25
|
-
#include "poppler.h"
|
|
26
|
-
|
|
27
|
-
G_BEGIN_DECLS
|
|
28
|
-
|
|
29
|
-
#define POPPLER_TYPE_ANNOT (poppler_annot_get_type())
|
|
30
|
-
#define POPPLER_ANNOT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), POPPLER_TYPE_ANNOT, PopplerAnnot))
|
|
31
|
-
#define POPPLER_IS_ANNOT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), POPPLER_TYPE_ANNOT))
|
|
32
|
-
|
|
33
|
-
#define POPPLER_TYPE_ANNOT_MARKUP (poppler_annot_markup_get_type())
|
|
34
|
-
#define POPPLER_ANNOT_MARKUP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), POPPLER_TYPE_ANNOT_MARKUP, PopplerAnnotMarkup))
|
|
35
|
-
#define POPPLER_IS_ANNOT_MARKUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), POPPLER_TYPE_ANNOT_MARKUP))
|
|
36
|
-
|
|
37
|
-
#define POPPLER_TYPE_ANNOT_TEXT (poppler_annot_text_get_type())
|
|
38
|
-
#define POPPLER_ANNOT_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), POPPLER_TYPE_ANNOT_TEXT, PopplerAnnotText))
|
|
39
|
-
#define POPPLER_IS_ANNOT_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), POPPLER_TYPE_ANNOT_TEXT))
|
|
40
|
-
|
|
41
|
-
#define POPPLER_TYPE_ANNOT_TEXT_MARKUP (poppler_annot_text_markup_get_type())
|
|
42
|
-
#define POPPLER_ANNOT_TEXT_MARKUP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), POPPLER_TYPE_ANNOT_TEXT_MARKUP, PopplerAnnotTextMarkup))
|
|
43
|
-
#define POPPLER_IS_ANNOT_TEXT_MARKUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), POPPLER_TYPE_ANNOT_TEXT_MARKUP))
|
|
44
|
-
|
|
45
|
-
#define POPPLER_TYPE_ANNOT_FREE_TEXT (poppler_annot_free_text_get_type())
|
|
46
|
-
#define POPPLER_ANNOT_FREE_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), POPPLER_TYPE_ANNOT_FREE_TEXT, PopplerAnnotFreeText))
|
|
47
|
-
#define POPPLER_IS_ANNOT_FREE_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), POPPLER_TYPE_ANNOT_FREE_TEXT))
|
|
48
|
-
|
|
49
|
-
#define POPPLER_TYPE_ANNOT_FILE_ATTACHMENT (poppler_annot_file_attachment_get_type())
|
|
50
|
-
#define POPPLER_ANNOT_FILE_ATTACHMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), POPPLER_TYPE_ANNOT_MARKUP, PopplerAnnotFileAttachment))
|
|
51
|
-
#define POPPLER_IS_ANNOT_FILE_ATTACHMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), POPPLER_TYPE_ANNOT_FILE_ATTACHMENT))
|
|
52
|
-
|
|
53
|
-
#define POPPLER_TYPE_ANNOT_MOVIE (poppler_annot_movie_get_type())
|
|
54
|
-
#define POPPLER_ANNOT_MOVIE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), POPPLER_TYPE_ANNOT_MOVIE, PopplerAnnotMovie))
|
|
55
|
-
#define POPPLER_IS_ANNOT_MOVIE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), POPPLER_TYPE_ANNOT_MOVIE))
|
|
56
|
-
|
|
57
|
-
#define POPPLER_TYPE_ANNOT_SCREEN (poppler_annot_screen_get_type())
|
|
58
|
-
#define POPPLER_ANNOT_SCREEN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), POPPLER_TYPE_ANNOT_SCREEN, PopplerAnnotScreen))
|
|
59
|
-
#define POPPLER_IS_ANNOT_SCREEN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), POPPLER_TYPE_ANNOT_SCREEN))
|
|
60
|
-
|
|
61
|
-
#define POPPLER_TYPE_ANNOT_LINE (poppler_annot_line_get_type())
|
|
62
|
-
#define POPPLER_ANNOT_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), POPPLER_TYPE_ANNOT_LINE, PopplerAnnotLine))
|
|
63
|
-
#define POPPLER_IS_ANNOT_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), POPPLER_TYPE_ANNOT_LINE))
|
|
64
|
-
|
|
65
|
-
#define POPPLER_TYPE_ANNOT_CALLOUT_LINE (poppler_annot_callout_line_get_type())
|
|
66
|
-
|
|
67
|
-
#define POPPLER_TYPE_ANNOT_CIRCLE (poppler_annot_circle_get_type())
|
|
68
|
-
#define POPPLER_ANNOT_CIRCLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), POPPLER_TYPE_ANNOT_CIRCLE, PopplerAnnotCircle))
|
|
69
|
-
#define POPPLER_IS_ANNOT_CIRCLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), POPPLER_TYPE_ANNOT_CIRCLE))
|
|
70
|
-
|
|
71
|
-
#define POPPLER_TYPE_ANNOT_SQUARE (poppler_annot_square_get_type())
|
|
72
|
-
#define POPPLER_ANNOT_SQUARE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), POPPLER_TYPE_ANNOT_SQUARE, PopplerAnnotSquare))
|
|
73
|
-
#define POPPLER_IS_ANNOT_SQUARE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), POPPLER_TYPE_ANNOT_SQUARE))
|
|
74
|
-
|
|
75
|
-
typedef enum
|
|
76
|
-
{
|
|
77
|
-
POPPLER_ANNOT_UNKNOWN,
|
|
78
|
-
POPPLER_ANNOT_TEXT,
|
|
79
|
-
POPPLER_ANNOT_LINK,
|
|
80
|
-
POPPLER_ANNOT_FREE_TEXT,
|
|
81
|
-
POPPLER_ANNOT_LINE,
|
|
82
|
-
POPPLER_ANNOT_SQUARE,
|
|
83
|
-
POPPLER_ANNOT_CIRCLE,
|
|
84
|
-
POPPLER_ANNOT_POLYGON,
|
|
85
|
-
POPPLER_ANNOT_POLY_LINE,
|
|
86
|
-
POPPLER_ANNOT_HIGHLIGHT,
|
|
87
|
-
POPPLER_ANNOT_UNDERLINE,
|
|
88
|
-
POPPLER_ANNOT_SQUIGGLY,
|
|
89
|
-
POPPLER_ANNOT_STRIKE_OUT,
|
|
90
|
-
POPPLER_ANNOT_STAMP,
|
|
91
|
-
POPPLER_ANNOT_CARET,
|
|
92
|
-
POPPLER_ANNOT_INK,
|
|
93
|
-
POPPLER_ANNOT_POPUP,
|
|
94
|
-
POPPLER_ANNOT_FILE_ATTACHMENT,
|
|
95
|
-
POPPLER_ANNOT_SOUND,
|
|
96
|
-
POPPLER_ANNOT_MOVIE,
|
|
97
|
-
POPPLER_ANNOT_WIDGET,
|
|
98
|
-
POPPLER_ANNOT_SCREEN,
|
|
99
|
-
POPPLER_ANNOT_PRINTER_MARK,
|
|
100
|
-
POPPLER_ANNOT_TRAP_NET,
|
|
101
|
-
POPPLER_ANNOT_WATERMARK,
|
|
102
|
-
POPPLER_ANNOT_3D
|
|
103
|
-
} PopplerAnnotType;
|
|
104
|
-
|
|
105
|
-
typedef enum /*< flags >*/
|
|
106
|
-
{
|
|
107
|
-
POPPLER_ANNOT_FLAG_UNKNOWN = 0,
|
|
108
|
-
POPPLER_ANNOT_FLAG_INVISIBLE = 1 << 0,
|
|
109
|
-
POPPLER_ANNOT_FLAG_HIDDEN = 1 << 1,
|
|
110
|
-
POPPLER_ANNOT_FLAG_PRINT = 1 << 2,
|
|
111
|
-
POPPLER_ANNOT_FLAG_NO_ZOOM = 1 << 3,
|
|
112
|
-
POPPLER_ANNOT_FLAG_NO_ROTATE = 1 << 4,
|
|
113
|
-
POPPLER_ANNOT_FLAG_NO_VIEW = 1 << 5,
|
|
114
|
-
POPPLER_ANNOT_FLAG_READ_ONLY = 1 << 6,
|
|
115
|
-
POPPLER_ANNOT_FLAG_LOCKED = 1 << 7,
|
|
116
|
-
POPPLER_ANNOT_FLAG_TOGGLE_NO_VIEW = 1 << 8,
|
|
117
|
-
POPPLER_ANNOT_FLAG_LOCKED_CONTENTS = 1 << 9
|
|
118
|
-
} PopplerAnnotFlag;
|
|
119
|
-
|
|
120
|
-
typedef enum
|
|
121
|
-
{
|
|
122
|
-
POPPLER_ANNOT_MARKUP_REPLY_TYPE_R,
|
|
123
|
-
POPPLER_ANNOT_MARKUP_REPLY_TYPE_GROUP
|
|
124
|
-
} PopplerAnnotMarkupReplyType;
|
|
125
|
-
|
|
126
|
-
typedef enum
|
|
127
|
-
{
|
|
128
|
-
POPPLER_ANNOT_EXTERNAL_DATA_MARKUP_3D,
|
|
129
|
-
POPPLER_ANNOT_EXTERNAL_DATA_MARKUP_UNKNOWN
|
|
130
|
-
} PopplerAnnotExternalDataType;
|
|
131
|
-
|
|
132
|
-
#define POPPLER_ANNOT_TEXT_ICON_NOTE "Note"
|
|
133
|
-
#define POPPLER_ANNOT_TEXT_ICON_COMMENT "Comment"
|
|
134
|
-
#define POPPLER_ANNOT_TEXT_ICON_KEY "Key"
|
|
135
|
-
#define POPPLER_ANNOT_TEXT_ICON_HELP "Help"
|
|
136
|
-
#define POPPLER_ANNOT_TEXT_ICON_NEW_PARAGRAPH "NewParagraph"
|
|
137
|
-
#define POPPLER_ANNOT_TEXT_ICON_PARAGRAPH "Paragraph"
|
|
138
|
-
#define POPPLER_ANNOT_TEXT_ICON_INSERT "Insert"
|
|
139
|
-
#define POPPLER_ANNOT_TEXT_ICON_CROSS "Cross"
|
|
140
|
-
#define POPPLER_ANNOT_TEXT_ICON_CIRCLE "Circle"
|
|
141
|
-
|
|
142
|
-
typedef enum
|
|
143
|
-
{
|
|
144
|
-
POPPLER_ANNOT_TEXT_STATE_MARKED,
|
|
145
|
-
POPPLER_ANNOT_TEXT_STATE_UNMARKED,
|
|
146
|
-
POPPLER_ANNOT_TEXT_STATE_ACCEPTED,
|
|
147
|
-
POPPLER_ANNOT_TEXT_STATE_REJECTED,
|
|
148
|
-
POPPLER_ANNOT_TEXT_STATE_CANCELLED,
|
|
149
|
-
POPPLER_ANNOT_TEXT_STATE_COMPLETED,
|
|
150
|
-
POPPLER_ANNOT_TEXT_STATE_NONE,
|
|
151
|
-
POPPLER_ANNOT_TEXT_STATE_UNKNOWN
|
|
152
|
-
} PopplerAnnotTextState;
|
|
153
|
-
|
|
154
|
-
typedef enum
|
|
155
|
-
{
|
|
156
|
-
POPPLER_ANNOT_FREE_TEXT_QUADDING_LEFT_JUSTIFIED,
|
|
157
|
-
POPPLER_ANNOT_FREE_TEXT_QUADDING_CENTERED,
|
|
158
|
-
POPPLER_ANNOT_FREE_TEXT_QUADDING_RIGHT_JUSTIFIED
|
|
159
|
-
} PopplerAnnotFreeTextQuadding;
|
|
160
|
-
|
|
161
|
-
struct _PopplerAnnotCalloutLine
|
|
162
|
-
{
|
|
163
|
-
gboolean multiline;
|
|
164
|
-
gdouble x1;
|
|
165
|
-
gdouble y1;
|
|
166
|
-
gdouble x2;
|
|
167
|
-
gdouble y2;
|
|
168
|
-
gdouble x3;
|
|
169
|
-
gdouble y3;
|
|
170
|
-
};
|
|
171
|
-
|
|
172
|
-
POPPLER_PUBLIC
|
|
173
|
-
GType poppler_annot_get_type(void) G_GNUC_CONST;
|
|
174
|
-
POPPLER_PUBLIC
|
|
175
|
-
PopplerAnnotType poppler_annot_get_annot_type(PopplerAnnot *poppler_annot);
|
|
176
|
-
POPPLER_PUBLIC
|
|
177
|
-
gchar *poppler_annot_get_contents(PopplerAnnot *poppler_annot);
|
|
178
|
-
POPPLER_PUBLIC
|
|
179
|
-
void poppler_annot_set_contents(PopplerAnnot *poppler_annot, const gchar *contents);
|
|
180
|
-
POPPLER_PUBLIC
|
|
181
|
-
gchar *poppler_annot_get_name(PopplerAnnot *poppler_annot);
|
|
182
|
-
POPPLER_PUBLIC
|
|
183
|
-
gchar *poppler_annot_get_modified(PopplerAnnot *poppler_annot);
|
|
184
|
-
POPPLER_PUBLIC
|
|
185
|
-
PopplerAnnotFlag poppler_annot_get_flags(PopplerAnnot *poppler_annot);
|
|
186
|
-
POPPLER_PUBLIC
|
|
187
|
-
void poppler_annot_set_flags(PopplerAnnot *poppler_annot, PopplerAnnotFlag flags);
|
|
188
|
-
POPPLER_PUBLIC
|
|
189
|
-
PopplerColor *poppler_annot_get_color(PopplerAnnot *poppler_annot);
|
|
190
|
-
POPPLER_PUBLIC
|
|
191
|
-
void poppler_annot_set_color(PopplerAnnot *poppler_annot, PopplerColor *poppler_color);
|
|
192
|
-
POPPLER_PUBLIC
|
|
193
|
-
gint poppler_annot_get_page_index(PopplerAnnot *poppler_annot);
|
|
194
|
-
POPPLER_PUBLIC
|
|
195
|
-
void poppler_annot_get_rectangle(PopplerAnnot *poppler_annot, PopplerRectangle *poppler_rect);
|
|
196
|
-
POPPLER_PUBLIC
|
|
197
|
-
void poppler_annot_set_rectangle(PopplerAnnot *poppler_annot, PopplerRectangle *poppler_rect);
|
|
198
|
-
|
|
199
|
-
/* PopplerAnnotMarkup */
|
|
200
|
-
POPPLER_PUBLIC
|
|
201
|
-
GType poppler_annot_markup_get_type(void) G_GNUC_CONST;
|
|
202
|
-
POPPLER_PUBLIC
|
|
203
|
-
gchar *poppler_annot_markup_get_label(PopplerAnnotMarkup *poppler_annot);
|
|
204
|
-
POPPLER_PUBLIC
|
|
205
|
-
void poppler_annot_markup_set_label(PopplerAnnotMarkup *poppler_annot, const gchar *label);
|
|
206
|
-
POPPLER_PUBLIC
|
|
207
|
-
gboolean poppler_annot_markup_has_popup(PopplerAnnotMarkup *poppler_annot);
|
|
208
|
-
POPPLER_PUBLIC
|
|
209
|
-
void poppler_annot_markup_set_popup(PopplerAnnotMarkup *poppler_annot, PopplerRectangle *popup_rect);
|
|
210
|
-
POPPLER_PUBLIC
|
|
211
|
-
gboolean poppler_annot_markup_get_popup_is_open(PopplerAnnotMarkup *poppler_annot);
|
|
212
|
-
POPPLER_PUBLIC
|
|
213
|
-
void poppler_annot_markup_set_popup_is_open(PopplerAnnotMarkup *poppler_annot, gboolean is_open);
|
|
214
|
-
POPPLER_PUBLIC
|
|
215
|
-
gboolean poppler_annot_markup_get_popup_rectangle(PopplerAnnotMarkup *poppler_annot, PopplerRectangle *poppler_rect);
|
|
216
|
-
POPPLER_PUBLIC
|
|
217
|
-
void poppler_annot_markup_set_popup_rectangle(PopplerAnnotMarkup *poppler_annot, PopplerRectangle *poppler_rect);
|
|
218
|
-
POPPLER_PUBLIC
|
|
219
|
-
gdouble poppler_annot_markup_get_opacity(PopplerAnnotMarkup *poppler_annot);
|
|
220
|
-
POPPLER_PUBLIC
|
|
221
|
-
void poppler_annot_markup_set_opacity(PopplerAnnotMarkup *poppler_annot, gdouble opacity);
|
|
222
|
-
POPPLER_PUBLIC
|
|
223
|
-
GDate *poppler_annot_markup_get_date(PopplerAnnotMarkup *poppler_annot);
|
|
224
|
-
POPPLER_PUBLIC
|
|
225
|
-
gchar *poppler_annot_markup_get_subject(PopplerAnnotMarkup *poppler_annot);
|
|
226
|
-
POPPLER_PUBLIC
|
|
227
|
-
PopplerAnnotMarkupReplyType poppler_annot_markup_get_reply_to(PopplerAnnotMarkup *poppler_annot);
|
|
228
|
-
POPPLER_PUBLIC
|
|
229
|
-
PopplerAnnotExternalDataType poppler_annot_markup_get_external_data(PopplerAnnotMarkup *poppler_annot);
|
|
230
|
-
|
|
231
|
-
/* PopplerAnnotText */
|
|
232
|
-
POPPLER_PUBLIC
|
|
233
|
-
GType poppler_annot_text_get_type(void) G_GNUC_CONST;
|
|
234
|
-
POPPLER_PUBLIC
|
|
235
|
-
PopplerAnnot *poppler_annot_text_new(PopplerDocument *doc, PopplerRectangle *rect);
|
|
236
|
-
POPPLER_PUBLIC
|
|
237
|
-
gboolean poppler_annot_text_get_is_open(PopplerAnnotText *poppler_annot);
|
|
238
|
-
POPPLER_PUBLIC
|
|
239
|
-
void poppler_annot_text_set_is_open(PopplerAnnotText *poppler_annot, gboolean is_open);
|
|
240
|
-
POPPLER_PUBLIC
|
|
241
|
-
gchar *poppler_annot_text_get_icon(PopplerAnnotText *poppler_annot);
|
|
242
|
-
POPPLER_PUBLIC
|
|
243
|
-
void poppler_annot_text_set_icon(PopplerAnnotText *poppler_annot, const gchar *icon);
|
|
244
|
-
POPPLER_PUBLIC
|
|
245
|
-
PopplerAnnotTextState poppler_annot_text_get_state(PopplerAnnotText *poppler_annot);
|
|
246
|
-
|
|
247
|
-
/* PopplerAnnotTextMarkup */
|
|
248
|
-
POPPLER_PUBLIC
|
|
249
|
-
GType poppler_annot_text_markup_get_type(void) G_GNUC_CONST;
|
|
250
|
-
POPPLER_PUBLIC
|
|
251
|
-
PopplerAnnot *poppler_annot_text_markup_new_highlight(PopplerDocument *doc, PopplerRectangle *rect, GArray *quadrilaterals);
|
|
252
|
-
POPPLER_PUBLIC
|
|
253
|
-
PopplerAnnot *poppler_annot_text_markup_new_squiggly(PopplerDocument *doc, PopplerRectangle *rect, GArray *quadrilaterals);
|
|
254
|
-
POPPLER_PUBLIC
|
|
255
|
-
PopplerAnnot *poppler_annot_text_markup_new_strikeout(PopplerDocument *doc, PopplerRectangle *rect, GArray *quadrilaterals);
|
|
256
|
-
POPPLER_PUBLIC
|
|
257
|
-
PopplerAnnot *poppler_annot_text_markup_new_underline(PopplerDocument *doc, PopplerRectangle *rect, GArray *quadrilaterals);
|
|
258
|
-
POPPLER_PUBLIC
|
|
259
|
-
void poppler_annot_text_markup_set_quadrilaterals(PopplerAnnotTextMarkup *poppler_annot, GArray *quadrilaterals);
|
|
260
|
-
POPPLER_PUBLIC
|
|
261
|
-
GArray *poppler_annot_text_markup_get_quadrilaterals(PopplerAnnotTextMarkup *poppler_annot);
|
|
262
|
-
|
|
263
|
-
/* PopplerAnnotFreeText */
|
|
264
|
-
POPPLER_PUBLIC
|
|
265
|
-
GType poppler_annot_free_text_get_type(void) G_GNUC_CONST;
|
|
266
|
-
POPPLER_PUBLIC
|
|
267
|
-
PopplerAnnotFreeTextQuadding poppler_annot_free_text_get_quadding(PopplerAnnotFreeText *poppler_annot);
|
|
268
|
-
POPPLER_PUBLIC
|
|
269
|
-
PopplerAnnotCalloutLine *poppler_annot_free_text_get_callout_line(PopplerAnnotFreeText *poppler_annot);
|
|
270
|
-
|
|
271
|
-
/* PopplerAnnotFileAttachment */
|
|
272
|
-
POPPLER_PUBLIC
|
|
273
|
-
GType poppler_annot_file_attachment_get_type(void) G_GNUC_CONST;
|
|
274
|
-
POPPLER_PUBLIC
|
|
275
|
-
PopplerAttachment *poppler_annot_file_attachment_get_attachment(PopplerAnnotFileAttachment *poppler_annot);
|
|
276
|
-
POPPLER_PUBLIC
|
|
277
|
-
gchar *poppler_annot_file_attachment_get_name(PopplerAnnotFileAttachment *poppler_annot);
|
|
278
|
-
|
|
279
|
-
/* PopplerAnnotMovie */
|
|
280
|
-
POPPLER_PUBLIC
|
|
281
|
-
GType poppler_annot_movie_get_type(void) G_GNUC_CONST;
|
|
282
|
-
POPPLER_PUBLIC
|
|
283
|
-
gchar *poppler_annot_movie_get_title(PopplerAnnotMovie *poppler_annot);
|
|
284
|
-
POPPLER_PUBLIC
|
|
285
|
-
PopplerMovie *poppler_annot_movie_get_movie(PopplerAnnotMovie *poppler_annot);
|
|
286
|
-
|
|
287
|
-
/* PopplerAnnotScreen */
|
|
288
|
-
POPPLER_PUBLIC
|
|
289
|
-
GType poppler_annot_screen_get_type(void) G_GNUC_CONST;
|
|
290
|
-
POPPLER_PUBLIC
|
|
291
|
-
PopplerAction *poppler_annot_screen_get_action(PopplerAnnotScreen *poppler_annot);
|
|
292
|
-
|
|
293
|
-
/* PopplerAnnotLine */
|
|
294
|
-
POPPLER_PUBLIC
|
|
295
|
-
GType poppler_annot_line_get_type(void) G_GNUC_CONST;
|
|
296
|
-
POPPLER_PUBLIC
|
|
297
|
-
PopplerAnnot *poppler_annot_line_new(PopplerDocument *doc, PopplerRectangle *rect, PopplerPoint *start, PopplerPoint *end);
|
|
298
|
-
POPPLER_PUBLIC
|
|
299
|
-
void poppler_annot_line_set_vertices(PopplerAnnotLine *poppler_annot, PopplerPoint *start, PopplerPoint *end);
|
|
300
|
-
|
|
301
|
-
/* PopplerAnnotCalloutLine */
|
|
302
|
-
POPPLER_PUBLIC
|
|
303
|
-
GType poppler_annot_callout_line_get_type(void) G_GNUC_CONST;
|
|
304
|
-
POPPLER_PUBLIC
|
|
305
|
-
PopplerAnnotCalloutLine *poppler_annot_callout_line_new(void);
|
|
306
|
-
POPPLER_PUBLIC
|
|
307
|
-
PopplerAnnotCalloutLine *poppler_annot_callout_line_copy(PopplerAnnotCalloutLine *callout);
|
|
308
|
-
POPPLER_PUBLIC
|
|
309
|
-
void poppler_annot_callout_line_free(PopplerAnnotCalloutLine *callout);
|
|
310
|
-
|
|
311
|
-
/* PopplerAnnotCircle */
|
|
312
|
-
POPPLER_PUBLIC
|
|
313
|
-
GType poppler_annot_circle_get_type(void) G_GNUC_CONST;
|
|
314
|
-
POPPLER_PUBLIC
|
|
315
|
-
PopplerAnnot *poppler_annot_circle_new(PopplerDocument *doc, PopplerRectangle *rect);
|
|
316
|
-
POPPLER_PUBLIC
|
|
317
|
-
void poppler_annot_circle_set_interior_color(PopplerAnnotCircle *poppler_annot, PopplerColor *poppler_color);
|
|
318
|
-
POPPLER_PUBLIC
|
|
319
|
-
PopplerColor *poppler_annot_circle_get_interior_color(PopplerAnnotCircle *poppler_annot);
|
|
320
|
-
|
|
321
|
-
/* PopplerAnnotGeometry */
|
|
322
|
-
POPPLER_PUBLIC
|
|
323
|
-
GType poppler_annot_square_get_type(void) G_GNUC_CONST;
|
|
324
|
-
POPPLER_PUBLIC
|
|
325
|
-
PopplerAnnot *poppler_annot_square_new(PopplerDocument *doc, PopplerRectangle *rect);
|
|
326
|
-
POPPLER_PUBLIC
|
|
327
|
-
void poppler_annot_square_set_interior_color(PopplerAnnotSquare *poppler_annot, PopplerColor *poppler_color);
|
|
328
|
-
POPPLER_PUBLIC
|
|
329
|
-
PopplerColor *poppler_annot_square_get_interior_color(PopplerAnnotSquare *poppler_annot);
|
|
330
|
-
|
|
331
|
-
G_END_DECLS
|
|
332
|
-
|
|
333
|
-
#endif /* __POPPLER_ANNOT_H__ */
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
/* poppler-attachment.h: glib interface to poppler
|
|
2
|
-
* Copyright (C) 2004, Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This program is free software; you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation; either version 2, or (at your option)
|
|
7
|
-
* any later version.
|
|
8
|
-
*
|
|
9
|
-
* This program is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with this program; if not, write to the Free Software
|
|
16
|
-
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
#ifndef __POPPLER_ATTACHMENT_H__
|
|
20
|
-
#define __POPPLER_ATTACHMENT_H__
|
|
21
|
-
|
|
22
|
-
#include <glib.h>
|
|
23
|
-
#include <glib-object.h>
|
|
24
|
-
|
|
25
|
-
#include "poppler.h"
|
|
26
|
-
|
|
27
|
-
G_BEGIN_DECLS
|
|
28
|
-
|
|
29
|
-
#define POPPLER_TYPE_ATTACHMENT (poppler_attachment_get_type())
|
|
30
|
-
#define POPPLER_ATTACHMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), POPPLER_TYPE_ATTACHMENT, PopplerAttachment))
|
|
31
|
-
#define POPPLER_IS_ATTACHMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), POPPLER_TYPE_ATTACHMENT))
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* PopplerAttachmentSaveFunc:
|
|
35
|
-
* @buf: (array length=count) (element-type guint8): buffer containing
|
|
36
|
-
* bytes to be written.
|
|
37
|
-
* @count: number of bytes in @buf.
|
|
38
|
-
* @data: (closure): user data passed to poppler_attachment_save_to_callback()
|
|
39
|
-
* @error: GError to set on error, or %NULL
|
|
40
|
-
*
|
|
41
|
-
* Specifies the type of the function passed to
|
|
42
|
-
* poppler_attachment_save_to_callback(). It is called once for each block of
|
|
43
|
-
* bytes that is "written" by poppler_attachment_save_to_callback(). If
|
|
44
|
-
* successful it should return %TRUE. If an error occurs it should set
|
|
45
|
-
* @error and return %FALSE, in which case poppler_attachment_save_to_callback()
|
|
46
|
-
* will fail with the same error.
|
|
47
|
-
*
|
|
48
|
-
* Returns: %TRUE if successful, %FALSE (with @error set) if failed.
|
|
49
|
-
*/
|
|
50
|
-
typedef gboolean (*PopplerAttachmentSaveFunc)(const gchar *buf, gsize count, gpointer data, GError **error);
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* PopplerAttachment:
|
|
54
|
-
* @name: The filename. Deprecated in poppler 20.09.0. Use
|
|
55
|
-
* poppler_attachment_get_name() instead.
|
|
56
|
-
* @description: Descriptive text. Deprecated in poppler 20.09.0. Use
|
|
57
|
-
* poppler_attachment_get_description() instead.
|
|
58
|
-
* @size: The size of the file. Deprecated in poppler 20.09.0. Use
|
|
59
|
-
* poppler_attachment_get_size() instead.
|
|
60
|
-
* @mtime: The date and time when the file was last modified. Deprecated in
|
|
61
|
-
* poppler 20.09.0. Use poppler_attachment_get_mtime() instead.
|
|
62
|
-
* @ctime: The date and time when the file was created. Deprecated in poppler
|
|
63
|
-
* 20.09.0. Use poppler_attachment_get_ctime() instead.
|
|
64
|
-
* @checksum: A 16-byte checksum of the file. Deprecated in poppler 20.09.0. Use
|
|
65
|
-
* poppler_attachment_get_checksum() instead.
|
|
66
|
-
*/
|
|
67
|
-
struct _PopplerAttachment
|
|
68
|
-
{
|
|
69
|
-
GObject parent;
|
|
70
|
-
|
|
71
|
-
/*< public >*/
|
|
72
|
-
gchar *name;
|
|
73
|
-
gchar *description;
|
|
74
|
-
gsize size;
|
|
75
|
-
|
|
76
|
-
/* GTime is deprecated, but is part of our ABI here (see #715, #765). */
|
|
77
|
-
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
|
78
|
-
GTime mtime;
|
|
79
|
-
GTime ctime;
|
|
80
|
-
G_GNUC_END_IGNORE_DEPRECATIONS
|
|
81
|
-
|
|
82
|
-
GString *checksum;
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
/* This struct was not intended to be public, but can't be moved to
|
|
86
|
-
* poppler-attachment.cc without breaking the API stability.
|
|
87
|
-
*/
|
|
88
|
-
/**
|
|
89
|
-
* PopplerAttachmentClass:
|
|
90
|
-
*
|
|
91
|
-
* The GObject class structure of #PopplerAttachment.
|
|
92
|
-
*/
|
|
93
|
-
typedef struct _PopplerAttachmentClass
|
|
94
|
-
{
|
|
95
|
-
GObjectClass parent_class;
|
|
96
|
-
} PopplerAttachmentClass;
|
|
97
|
-
|
|
98
|
-
POPPLER_PUBLIC
|
|
99
|
-
GType poppler_attachment_get_type(void) G_GNUC_CONST;
|
|
100
|
-
POPPLER_PUBLIC
|
|
101
|
-
const GString *poppler_attachment_get_checksum(PopplerAttachment *attachment);
|
|
102
|
-
POPPLER_PUBLIC
|
|
103
|
-
GDateTime *poppler_attachment_get_ctime(PopplerAttachment *attachment);
|
|
104
|
-
POPPLER_PUBLIC
|
|
105
|
-
const gchar *poppler_attachment_get_description(PopplerAttachment *attachment);
|
|
106
|
-
POPPLER_PUBLIC
|
|
107
|
-
GDateTime *poppler_attachment_get_mtime(PopplerAttachment *attachment);
|
|
108
|
-
POPPLER_PUBLIC
|
|
109
|
-
const gchar *poppler_attachment_get_name(PopplerAttachment *attachment);
|
|
110
|
-
POPPLER_PUBLIC
|
|
111
|
-
gsize poppler_attachment_get_size(PopplerAttachment *attachment);
|
|
112
|
-
POPPLER_PUBLIC
|
|
113
|
-
gboolean poppler_attachment_save(PopplerAttachment *attachment, const char *filename, GError **error);
|
|
114
|
-
#ifndef G_OS_WIN32
|
|
115
|
-
POPPLER_PUBLIC
|
|
116
|
-
gboolean poppler_attachment_save_to_fd(PopplerAttachment *attachment, int fd, GError **error);
|
|
117
|
-
#endif
|
|
118
|
-
POPPLER_PUBLIC
|
|
119
|
-
gboolean poppler_attachment_save_to_callback(PopplerAttachment *attachment, PopplerAttachmentSaveFunc save_func, gpointer user_data, GError **error);
|
|
120
|
-
|
|
121
|
-
G_END_DECLS
|
|
122
|
-
|
|
123
|
-
#endif /* __POPPLER_ATTACHMENT_H__ */
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* poppler-date.h: glib interface to poppler
|
|
2
|
-
*
|
|
3
|
-
* Copyright (C) 2009 Carlos Garcia Campos <carlosgc@gnome.org>
|
|
4
|
-
*
|
|
5
|
-
* This program is free software; you can redistribute it and/or modify
|
|
6
|
-
* it under the terms of the GNU General Public License as published by
|
|
7
|
-
* the Free Software Foundation; either version 2, or (at your option)
|
|
8
|
-
* any later version.
|
|
9
|
-
*
|
|
10
|
-
* This program is distributed in the hope that it will be useful,
|
|
11
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
-
* GNU General Public License for more details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU General Public License
|
|
16
|
-
* along with this program; if not, write to the Free Software
|
|
17
|
-
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
#ifndef __POPPLER_DATE_H__
|
|
21
|
-
#define __POPPLER_DATE_H__
|
|
22
|
-
|
|
23
|
-
#include "poppler.h"
|
|
24
|
-
|
|
25
|
-
G_BEGIN_DECLS
|
|
26
|
-
|
|
27
|
-
POPPLER_PUBLIC
|
|
28
|
-
gboolean poppler_date_parse(const gchar *date, time_t *timet);
|
|
29
|
-
|
|
30
|
-
G_END_DECLS
|
|
31
|
-
|
|
32
|
-
#endif /* __POPPLER_DATE_H__ */
|