poppler 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
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.
- checksums.yaml +4 -4
- data/Rakefile +5 -5
- data/ext/poppler/extconf.rb +1 -1
- data/lib/2.0/poppler.so +0 -0
- data/test/test_annotation.rb +3 -1
- data/test/test_page.rb +0 -18
- data/vendor/local/bin/cjpeg.exe +0 -0
- data/vendor/local/bin/djpeg.exe +0 -0
- data/vendor/local/bin/jpegtran.exe +0 -0
- data/vendor/local/bin/libjpeg-9.dll +0 -0
- data/vendor/local/bin/{libpoppler-44.dll → libpoppler-46.dll} +0 -0
- data/vendor/local/bin/libpoppler-cpp-0.dll +0 -0
- data/vendor/local/bin/libpoppler-glib-8.dll +0 -0
- data/vendor/local/bin/libsqlite3-0.dll +0 -0
- data/vendor/local/bin/pdfdetach.exe +0 -0
- data/vendor/local/bin/pdffonts.exe +0 -0
- data/vendor/local/bin/pdfimages.exe +0 -0
- data/vendor/local/bin/pdfinfo.exe +0 -0
- data/vendor/local/bin/pdfseparate.exe +0 -0
- data/vendor/local/bin/pdftocairo.exe +0 -0
- data/vendor/local/bin/pdftohtml.exe +0 -0
- data/vendor/local/bin/pdftoppm.exe +0 -0
- data/vendor/local/bin/pdftops.exe +0 -0
- data/vendor/local/bin/pdftotext.exe +0 -0
- data/vendor/local/bin/pdfunite.exe +0 -0
- data/vendor/local/bin/rdjpgcom.exe +0 -0
- data/vendor/local/bin/sqlite3.exe +0 -0
- data/vendor/local/bin/wrjpgcom.exe +0 -0
- data/vendor/local/include/jconfig.h +7 -1
- data/vendor/local/include/jmorecfg.h +68 -12
- data/vendor/local/include/jpeglib.h +19 -12
- data/vendor/local/include/poppler/cpp/poppler-document.h +104 -0
- data/vendor/local/include/poppler/cpp/poppler-embedded-file.h +55 -0
- data/vendor/local/include/poppler/cpp/poppler-font.h +91 -0
- data/vendor/local/include/poppler/cpp/poppler-global.h +111 -0
- data/vendor/local/include/poppler/cpp/poppler-image.h +71 -0
- data/vendor/local/include/poppler/cpp/poppler-page-renderer.h +66 -0
- data/vendor/local/include/poppler/cpp/poppler-page-transition.h +82 -0
- data/vendor/local/include/poppler/cpp/poppler-page.h +76 -0
- data/vendor/local/include/poppler/cpp/poppler-rectangle.h +84 -0
- data/vendor/local/include/poppler/cpp/poppler-toc.h +74 -0
- data/vendor/local/include/poppler/cpp/poppler-version.h +39 -0
- data/vendor/local/include/poppler/glib/poppler-annot.h +64 -0
- data/vendor/local/include/poppler/glib/poppler-enums.h +34 -0
- data/vendor/local/include/poppler/glib/poppler-features.h +1 -1
- data/vendor/local/include/poppler/glib/poppler-media.h +1 -1
- data/vendor/local/include/poppler/glib/poppler-page.h +61 -0
- data/vendor/local/include/poppler/glib/poppler-structure-element.h +357 -0
- data/vendor/local/include/poppler/glib/poppler.h +11 -1
- data/vendor/local/include/sqlite3.h +245 -89
- data/vendor/local/lib/girepository-1.0/Poppler-0.18.typelib +0 -0
- data/vendor/local/lib/libjpeg.a +0 -0
- data/vendor/local/lib/libjpeg.dll.a +0 -0
- data/vendor/local/lib/libjpeg.la +2 -2
- data/vendor/local/lib/libpoppler-cpp.a +0 -0
- data/vendor/local/lib/libpoppler-cpp.dll.a +0 -0
- data/vendor/local/lib/libpoppler-cpp.la +41 -0
- data/vendor/local/lib/libpoppler-glib.a +0 -0
- data/vendor/local/lib/libpoppler-glib.dll.a +0 -0
- data/vendor/local/lib/libpoppler-glib.la +2 -2
- data/vendor/local/lib/libpoppler.a +0 -0
- data/vendor/local/lib/libpoppler.dll.a +0 -0
- data/vendor/local/lib/libpoppler.la +4 -4
- data/vendor/local/lib/libsqlite3.a +0 -0
- data/vendor/local/lib/libsqlite3.dll.a +0 -0
- data/vendor/local/lib/libsqlite3.la +1 -1
- data/vendor/local/lib/pkgconfig/poppler-cairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/poppler-cpp.pc +13 -0
- data/vendor/local/lib/pkgconfig/poppler-glib.pc +2 -2
- data/vendor/local/lib/pkgconfig/poppler-splash.pc +2 -2
- data/vendor/local/lib/pkgconfig/poppler.pc +1 -1
- data/vendor/local/lib/pkgconfig/sqlite3.pc +2 -2
- data/vendor/local/share/gir-1.0/Poppler-0.18.gir +2993 -169
- data/vendor/local/share/gtk-doc/html/poppler/PopplerAnnot.html +2674 -1137
- data/vendor/local/share/gtk-doc/html/poppler/PopplerAttachment.html +186 -133
- data/vendor/local/share/gtk-doc/html/poppler/PopplerDocument.html +2523 -1782
- data/vendor/local/share/gtk-doc/html/poppler/PopplerFormField.html +1071 -738
- data/vendor/local/share/gtk-doc/html/poppler/PopplerLayer.html +225 -146
- data/vendor/local/share/gtk-doc/html/poppler/PopplerMedia.html +276 -201
- data/vendor/local/share/gtk-doc/html/poppler/PopplerMovie.html +142 -101
- data/vendor/local/share/gtk-doc/html/poppler/PopplerPage.html +2191 -1421
- data/vendor/local/share/gtk-doc/html/poppler/PopplerStructureElement.html +3781 -0
- data/vendor/local/share/gtk-doc/html/poppler/annotation-glossary.html +30 -44
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-12.html +34 -39
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-14.html +27 -32
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-16.html +50 -55
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-18.html +23 -28
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-20.html +12 -15
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-22.html +18 -23
- data/vendor/local/share/gtk-doc/html/poppler/api-index-deprecated.html +12 -15
- data/vendor/local/share/gtk-doc/html/poppler/api-index-full.html +762 -280
- data/vendor/local/share/gtk-doc/html/poppler/ch01.html +12 -9
- data/vendor/local/share/gtk-doc/html/poppler/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/index.html +7 -4
- data/vendor/local/share/gtk-doc/html/poppler/index.sgml +258 -269
- data/vendor/local/share/gtk-doc/html/poppler/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/poppler-PopplerAction.html +454 -320
- data/vendor/local/share/gtk-doc/html/poppler/poppler-Version-and-Features-Information.html +102 -76
- data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler.html +367 -278
- data/vendor/local/share/gtk-doc/html/poppler/poppler.devhelp2 +356 -409
- data/vendor/local/share/gtk-doc/html/poppler/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/style.css +314 -104
- data/vendor/local/share/gtk-doc/html/poppler/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/up.png +0 -0
- data/vendor/local/share/man/man1/cjpeg.1 +23 -2
- data/vendor/local/share/man/man1/djpeg.1 +2 -2
- data/vendor/local/share/man/man1/jpegtran.1 +12 -4
- data/vendor/local/share/man/man1/pdfimages.1 +78 -7
- data/vendor/local/share/man/man1/pdfinfo.1 +6 -0
- data/vendor/local/share/man/man1/pdftocairo.1 +9 -17
- data/vendor/local/share/man/man1/pdftohtml.1 +1 -1
- data/vendor/local/share/man/man1/pdftoppm.1 +12 -0
- data/vendor/local/share/man/man1/pdftops.1 +10 -20
- data/vendor/local/share/man/man1/rdjpgcom.1 +1 -1
- data/vendor/local/share/man/man1/sqlite3.1 +72 -22
- metadata +34 -15
- data/lib/1.9/poppler.so +0 -0
- data/lib/2.1/poppler.so +0 -0
@@ -2,30 +2,26 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Version and Features Information</title>
|
5
|
+
<title>Poppler Reference Manual: Version and Features Information</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Poppler Reference Manual">
|
8
8
|
<link rel="up" href="ch01.html" title="Poppler">
|
9
|
-
<link rel="prev" href="
|
9
|
+
<link rel="prev" href="PopplerStructureElement.html" title="PopplerStructureElement">
|
10
10
|
<link rel="next" href="api-index-full.html" title="Index of all symbols">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<
|
19
|
-
|
20
|
-
<
|
21
|
-
<td><a accesskey="
|
22
|
-
|
23
|
-
<
|
24
|
-
|
25
|
-
|
|
26
|
-
<a href="#poppler-Version-and-Features-Information.description" class="shortcut">Description</a>
|
27
|
-
</td></tr>
|
28
|
-
</table>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#poppler-Version-and-Features-Information.description" class="shortcut">Description</a></span>
|
19
|
+
</td>
|
20
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
22
|
+
<td><a accesskey="p" href="PopplerStructureElement.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="api-index-full.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
24
|
+
</tr></table>
|
29
25
|
<div class="refentry">
|
30
26
|
<a name="poppler-Version-and-Features-Information"></a><div class="titlepage"></div>
|
31
27
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -33,61 +29,79 @@
|
|
33
29
|
<h2><span class="refentrytitle"><a name="poppler-Version-and-Features-Information.top_of_page"></a>Version and Features Information</span></h2>
|
34
30
|
<p>Version and Features Information — Variables and functions to check the poppler version and features</p>
|
35
31
|
</td>
|
36
|
-
<td valign="top" align="right"></td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
37
33
|
</tr></table></div>
|
38
|
-
<div class="
|
39
|
-
<a name="poppler-Version-and-Features-Information.
|
40
|
-
<
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
34
|
+
<div class="refsect1">
|
35
|
+
<a name="poppler-Version-and-Features-Information.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<colgroup>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
40
|
+
</colgroup>
|
41
|
+
<tbody>
|
42
|
+
<tr>
|
43
|
+
<td class="define_keyword">#define</td>
|
44
|
+
<td class="function_name"><a class="link" href="poppler-Version-and-Features-Information.html#POPPLER-MAJOR-VERSION:CAPS" title="POPPLER_MAJOR_VERSION">POPPLER_MAJOR_VERSION</a></td>
|
45
|
+
</tr>
|
46
|
+
<tr>
|
47
|
+
<td class="define_keyword">#define</td>
|
48
|
+
<td class="function_name"><a class="link" href="poppler-Version-and-Features-Information.html#POPPLER-MINOR-VERSION:CAPS" title="POPPLER_MINOR_VERSION">POPPLER_MINOR_VERSION</a></td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td class="define_keyword">#define</td>
|
52
|
+
<td class="function_name"><a class="link" href="poppler-Version-and-Features-Information.html#POPPLER-MICRO-VERSION:CAPS" title="POPPLER_MICRO_VERSION">POPPLER_MICRO_VERSION</a></td>
|
53
|
+
</tr>
|
54
|
+
<tr>
|
55
|
+
<td class="define_keyword">#define</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="poppler-Version-and-Features-Information.html#POPPLER-CHECK-VERSION:CAPS" title="POPPLER_CHECK_VERSION()">POPPLER_CHECK_VERSION</a><span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
</tbody>
|
61
|
+
</table></div>
|
62
|
+
</div>
|
63
|
+
<div class="refsect1">
|
64
|
+
<a name="poppler-Version-and-Features-Information.other"></a><h2>Types and Values</h2>
|
65
|
+
<div class="informaltable"><table width="100%" border="0">
|
66
|
+
<colgroup>
|
67
|
+
<col width="150px" class="name">
|
68
|
+
<col class="description">
|
69
|
+
</colgroup>
|
70
|
+
<tbody><tr>
|
71
|
+
<td class="define_keyword">#define</td>
|
72
|
+
<td class="function_name"><a class="link" href="poppler-Version-and-Features-Information.html#POPPLER-HAS-CAIRO:CAPS" title="POPPLER_HAS_CAIRO">POPPLER_HAS_CAIRO</a></td>
|
73
|
+
</tr></tbody>
|
74
|
+
</table></div>
|
75
|
+
</div>
|
76
|
+
<div class="refsect1">
|
77
|
+
<a name="poppler-Version-and-Features-Information.includes"></a><h2>Includes</h2>
|
78
|
+
<pre class="synopsis">#include <poppler.h>
|
50
79
|
</pre>
|
51
80
|
</div>
|
52
81
|
<div class="refsect1">
|
53
82
|
<a name="poppler-Version-and-Features-Information.description"></a><h2>Description</h2>
|
54
|
-
<p>
|
55
|
-
Poppler provides version information, and information about features
|
83
|
+
<p>Poppler provides version information, and information about features
|
56
84
|
enabled at compile time. This is primarily useful in configure checks
|
57
85
|
for builds that have a configure script, or for allowing code to optionally
|
58
|
-
depend but not require a specific poppler version
|
59
|
-
</p>
|
86
|
+
depend but not require a specific poppler version.</p>
|
60
87
|
</div>
|
61
88
|
<div class="refsect1">
|
62
|
-
<a name="poppler-Version-and-Features-Information.
|
63
|
-
<div class="refsect2">
|
64
|
-
<a name="POPPLER-HAS-CAIRO:CAPS"></a><h3>POPPLER_HAS_CAIRO</h3>
|
65
|
-
<pre class="programlisting">#define POPPLER_HAS_CAIRO 1
|
66
|
-
</pre>
|
67
|
-
<p>
|
68
|
-
Defined if poppler was compiled with cairo support.
|
69
|
-
</p>
|
70
|
-
</div>
|
71
|
-
<hr>
|
89
|
+
<a name="poppler-Version-and-Features-Information.functions_details"></a><h2>Functions</h2>
|
72
90
|
<div class="refsect2">
|
73
91
|
<a name="POPPLER-MAJOR-VERSION:CAPS"></a><h3>POPPLER_MAJOR_VERSION</h3>
|
74
92
|
<pre class="programlisting">#define POPPLER_MAJOR_VERSION (0)
|
75
93
|
</pre>
|
76
|
-
<p>
|
77
|
-
|
78
|
-
0.1.2 this is 0.)
|
79
|
-
</p>
|
94
|
+
<p>The major version number of the poppler header files (e.g. in poppler version
|
95
|
+
0.1.2 this is 0.)</p>
|
80
96
|
<p class="since">Since 0.12</p>
|
81
97
|
</div>
|
82
98
|
<hr>
|
83
99
|
<div class="refsect2">
|
84
100
|
<a name="POPPLER-MINOR-VERSION:CAPS"></a><h3>POPPLER_MINOR_VERSION</h3>
|
85
|
-
<pre class="programlisting">#define POPPLER_MINOR_VERSION (
|
101
|
+
<pre class="programlisting">#define POPPLER_MINOR_VERSION (26)
|
86
102
|
</pre>
|
87
|
-
<p>
|
88
|
-
|
89
|
-
0.1.2 this is 1.)
|
90
|
-
</p>
|
103
|
+
<p>The major version number of the poppler header files (e.g. in poppler version
|
104
|
+
0.1.2 this is 1.)</p>
|
91
105
|
<p class="since">Since 0.12</p>
|
92
106
|
</div>
|
93
107
|
<hr>
|
@@ -95,51 +109,63 @@ The major version number of the poppler header files (e.g. in poppler version
|
|
95
109
|
<a name="POPPLER-MICRO-VERSION:CAPS"></a><h3>POPPLER_MICRO_VERSION</h3>
|
96
110
|
<pre class="programlisting">#define POPPLER_MICRO_VERSION (5)
|
97
111
|
</pre>
|
98
|
-
<p>
|
99
|
-
|
100
|
-
0.1.2 this is 2.)
|
101
|
-
</p>
|
112
|
+
<p>The micro version number of the poppler header files (e.g. in poppler version
|
113
|
+
0.1.2 this is 2.)</p>
|
102
114
|
<p class="since">Since 0.12</p>
|
103
115
|
</div>
|
104
116
|
<hr>
|
105
117
|
<div class="refsect2">
|
106
118
|
<a name="POPPLER-CHECK-VERSION:CAPS"></a><h3>POPPLER_CHECK_VERSION()</h3>
|
107
119
|
<pre class="programlisting">#define POPPLER_CHECK_VERSION(major,minor,micro)</pre>
|
108
|
-
<p>
|
109
|
-
|
110
|
-
</
|
111
|
-
<div class="
|
120
|
+
<p>Checks the version fo the poppler library</p>
|
121
|
+
<div class="refsect3">
|
122
|
+
<a name="id-1.2.13.7.5.5"></a><h4>Parameters</h4>
|
123
|
+
<div class="informaltable"><table width="100%" border="0">
|
112
124
|
<colgroup>
|
113
|
-
<col
|
114
|
-
<col>
|
125
|
+
<col width="150px" class="parameters_name">
|
126
|
+
<col class="parameters_description">
|
127
|
+
<col width="200px" class="parameters_annotations">
|
115
128
|
</colgroup>
|
116
129
|
<tbody>
|
117
130
|
<tr>
|
118
|
-
<td
|
119
|
-
<td>major version (e.g. 0 for version 0.1.2)</td>
|
120
|
-
</
|
121
|
-
<tr>
|
122
|
-
<td><p><span class="term"><em class="parameter"><code>minor</code></em> :</span></p></td>
|
123
|
-
<td>minor version (e.g. 1 for version 0.1.2)</td>
|
131
|
+
<td class="parameter_name"><p>major</p></td>
|
132
|
+
<td class="parameter_description"><p>major version (e.g. 0 for version 0.1.2)</p></td>
|
133
|
+
<td class="parameter_annotations"> </td>
|
124
134
|
</tr>
|
125
135
|
<tr>
|
126
|
-
<td
|
127
|
-
<td>
|
136
|
+
<td class="parameter_name"><p>minor</p></td>
|
137
|
+
<td class="parameter_description"><p>minor version (e.g. 1 for version 0.1.2)</p></td>
|
138
|
+
<td class="parameter_annotations"> </td>
|
128
139
|
</tr>
|
129
140
|
<tr>
|
130
|
-
<td
|
131
|
-
<td>
|
132
|
-
<
|
133
|
-
as or newer than the passed-in version</td>
|
141
|
+
<td class="parameter_name"><p>micro</p></td>
|
142
|
+
<td class="parameter_description"><p>micro version (e.g. 2 for version 0.1.2)</p></td>
|
143
|
+
<td class="parameter_annotations"> </td>
|
134
144
|
</tr>
|
135
145
|
</tbody>
|
136
146
|
</table></div>
|
147
|
+
</div>
|
148
|
+
<div class="refsect3">
|
149
|
+
<a name="id-1.2.13.7.5.6"></a><h4>Returns</h4>
|
150
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the version of the poppler header files is the same
|
151
|
+
as or newer than the passed-in version</p>
|
152
|
+
<p></p>
|
153
|
+
</div>
|
137
154
|
<p class="since">Since 0.12</p>
|
138
155
|
</div>
|
139
156
|
</div>
|
157
|
+
<div class="refsect1">
|
158
|
+
<a name="poppler-Version-and-Features-Information.other_details"></a><h2>Types and Values</h2>
|
159
|
+
<div class="refsect2">
|
160
|
+
<a name="POPPLER-HAS-CAIRO:CAPS"></a><h3>POPPLER_HAS_CAIRO</h3>
|
161
|
+
<pre class="programlisting">#define POPPLER_HAS_CAIRO 1
|
162
|
+
</pre>
|
163
|
+
<p>Defined if poppler was compiled with cairo support.</p>
|
164
|
+
</div>
|
165
|
+
</div>
|
140
166
|
</div>
|
141
167
|
<div class="footer">
|
142
168
|
<hr>
|
143
|
-
Generated by GTK-Doc V1.
|
169
|
+
Generated by GTK-Doc V1.21</div>
|
144
170
|
</body>
|
145
171
|
</html>
|
@@ -2,30 +2,26 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>poppler</title>
|
5
|
+
<title>Poppler Reference Manual: poppler</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Poppler Reference Manual">
|
8
8
|
<link rel="up" href="ch01.html" title="Poppler">
|
9
9
|
<link rel="prev" href="ch01.html" title="Poppler">
|
10
10
|
<link rel="next" href="PopplerDocument.html" title="PopplerDocument">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<
|
19
|
-
|
20
|
-
<
|
21
|
-
<td><a accesskey="
|
22
|
-
|
23
|
-
<
|
24
|
-
|
25
|
-
|
|
26
|
-
<a href="#poppler-poppler.description" class="shortcut">Description</a>
|
27
|
-
</td></tr>
|
28
|
-
</table>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#poppler-poppler.description" class="shortcut">Description</a></span>
|
19
|
+
</td>
|
20
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
22
|
+
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="PopplerDocument.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
24
|
+
</tr></table>
|
29
25
|
<div class="refentry">
|
30
26
|
<a name="poppler-poppler"></a><div class="titlepage"></div>
|
31
27
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -33,406 +29,499 @@
|
|
33
29
|
<h2><span class="refentrytitle"><a name="poppler-poppler.top_of_page"></a>poppler</span></h2>
|
34
30
|
<p>poppler</p>
|
35
31
|
</td>
|
36
|
-
<td valign="top" align="right"></td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
37
33
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
39
|
-
<a name="poppler-poppler.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">
|
41
|
-
#include <poppler.h>
|
42
|
-
|
43
|
-
#define <a class="link" href="poppler-poppler.html#POPPLER-ERROR:CAPS" title="POPPLER_ERROR">POPPLER_ERROR</a>
|
44
|
-
enum <a class="link" href="poppler-poppler.html#PopplerError" title="enum PopplerError">PopplerError</a>;
|
45
|
-
enum <a class="link" href="poppler-poppler.html#PopplerOrientation" title="enum PopplerOrientation">PopplerOrientation</a>;
|
46
|
-
enum <a class="link" href="poppler-poppler.html#PopplerBackend" title="enum PopplerBackend">PopplerBackend</a>;
|
47
|
-
<a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor">PopplerColor</a>;
|
48
|
-
enum <a class="link" href="poppler-poppler.html#PopplerPrintFlags" title="enum PopplerPrintFlags">PopplerPrintFlags</a>;
|
49
|
-
enum <a class="link" href="poppler-poppler.html#PopplerFindFlags" title="enum PopplerFindFlags">PopplerFindFlags</a>;
|
50
|
-
<a class="link" href="poppler-poppler.html#PopplerBackend" title="enum PopplerBackend"><span class="returnvalue">PopplerBackend</span></a> <a class="link" href="poppler-poppler.html#poppler-get-backend" title="poppler_get_backend ()">poppler_get_backend</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
51
|
-
const <span class="returnvalue">char</span> * <a class="link" href="poppler-poppler.html#poppler-get-version" title="poppler_get_version ()">poppler_get_version</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
52
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="poppler-poppler.html#poppler-date-parse" title="poppler_date_parse ()">poppler_date_parse</a> (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *date</code></em>,
|
53
|
-
<em class="parameter"><code><span class="type">time_t</span> *timet</code></em>);
|
54
|
-
<a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="returnvalue">PopplerColor</span></a> * <a class="link" href="poppler-poppler.html#poppler-color-new" title="poppler_color_new ()">poppler_color_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
55
|
-
<a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="returnvalue">PopplerColor</span></a> * <a class="link" href="poppler-poppler.html#poppler-color-copy" title="poppler_color_copy ()">poppler_color_copy</a> (<em class="parameter"><code><a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a> *color</code></em>);
|
56
|
-
<span class="returnvalue">void</span> <a class="link" href="poppler-poppler.html#poppler-color-free" title="poppler_color_free ()">poppler_color_free</a> (<em class="parameter"><code><a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a> *color</code></em>);
|
57
|
-
</pre>
|
58
|
-
</div>
|
59
|
-
<div class="refsect1">
|
60
|
-
<a name="poppler-poppler.description"></a><h2>Description</h2>
|
61
|
-
</div>
|
62
34
|
<div class="refsect1">
|
63
|
-
<a name="poppler-poppler.
|
64
|
-
<div class="
|
65
|
-
<a name="POPPLER-ERROR:CAPS"></a><h3>POPPLER_ERROR</h3>
|
66
|
-
<pre class="programlisting">#define POPPLER_ERROR poppler_error_quark ()
|
67
|
-
</pre>
|
68
|
-
</div>
|
69
|
-
<hr>
|
70
|
-
<div class="refsect2">
|
71
|
-
<a name="PopplerError"></a><h3>enum PopplerError</h3>
|
72
|
-
<pre class="programlisting">typedef enum {
|
73
|
-
POPPLER_ERROR_INVALID,
|
74
|
-
POPPLER_ERROR_ENCRYPTED,
|
75
|
-
POPPLER_ERROR_OPEN_FILE,
|
76
|
-
POPPLER_ERROR_BAD_CATALOG,
|
77
|
-
POPPLER_ERROR_DAMAGED
|
78
|
-
} PopplerError;
|
79
|
-
</pre>
|
80
|
-
<p>
|
81
|
-
Error codes returned by <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
|
82
|
-
</p>
|
83
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
35
|
+
<a name="poppler-poppler.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
84
37
|
<colgroup>
|
85
|
-
<col
|
86
|
-
<col>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
87
40
|
</colgroup>
|
88
41
|
<tbody>
|
89
42
|
<tr>
|
90
|
-
<td
|
91
|
-
<
|
43
|
+
<td class="function_type">
|
44
|
+
<a class="link" href="poppler-poppler.html#PopplerBackend" title="enum PopplerBackend"><span class="returnvalue">PopplerBackend</span></a>
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
47
|
+
<a class="link" href="poppler-poppler.html#poppler-get-backend" title="poppler_get_backend ()">poppler_get_backend</a> <span class="c_punctuation">()</span>
|
92
48
|
</td>
|
93
49
|
</tr>
|
94
50
|
<tr>
|
95
|
-
<td
|
96
|
-
|
51
|
+
<td class="function_type">const <span class="returnvalue">char</span> *
|
52
|
+
</td>
|
53
|
+
<td class="function_name">
|
54
|
+
<a class="link" href="poppler-poppler.html#poppler-get-version" title="poppler_get_version ()">poppler_get_version</a> <span class="c_punctuation">()</span>
|
97
55
|
</td>
|
98
56
|
</tr>
|
99
57
|
<tr>
|
100
|
-
<td
|
101
|
-
<
|
58
|
+
<td class="function_type">
|
59
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
60
|
+
</td>
|
61
|
+
<td class="function_name">
|
62
|
+
<a class="link" href="poppler-poppler.html#poppler-date-parse" title="poppler_date_parse ()">poppler_date_parse</a> <span class="c_punctuation">()</span>
|
102
63
|
</td>
|
103
64
|
</tr>
|
104
65
|
<tr>
|
105
|
-
<td
|
106
|
-
<
|
66
|
+
<td class="function_type">
|
67
|
+
<a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="returnvalue">PopplerColor</span></a> *
|
68
|
+
</td>
|
69
|
+
<td class="function_name">
|
70
|
+
<a class="link" href="poppler-poppler.html#poppler-color-new" title="poppler_color_new ()">poppler_color_new</a> <span class="c_punctuation">()</span>
|
107
71
|
</td>
|
108
72
|
</tr>
|
109
73
|
<tr>
|
110
|
-
<td
|
111
|
-
<
|
74
|
+
<td class="function_type">
|
75
|
+
<a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="returnvalue">PopplerColor</span></a> *
|
76
|
+
</td>
|
77
|
+
<td class="function_name">
|
78
|
+
<a class="link" href="poppler-poppler.html#poppler-color-copy" title="poppler_color_copy ()">poppler_color_copy</a> <span class="c_punctuation">()</span>
|
79
|
+
</td>
|
80
|
+
</tr>
|
81
|
+
<tr>
|
82
|
+
<td class="function_type">
|
83
|
+
<span class="returnvalue">void</span>
|
84
|
+
</td>
|
85
|
+
<td class="function_name">
|
86
|
+
<a class="link" href="poppler-poppler.html#poppler-color-free" title="poppler_color_free ()">poppler_color_free</a> <span class="c_punctuation">()</span>
|
112
87
|
</td>
|
113
88
|
</tr>
|
114
89
|
</tbody>
|
115
90
|
</table></div>
|
116
91
|
</div>
|
117
|
-
<
|
118
|
-
<
|
119
|
-
<
|
120
|
-
<pre class="programlisting">typedef enum {
|
121
|
-
POPPLER_ORIENTATION_PORTRAIT,
|
122
|
-
POPPLER_ORIENTATION_LANDSCAPE,
|
123
|
-
POPPLER_ORIENTATION_UPSIDEDOWN,
|
124
|
-
POPPLER_ORIENTATION_SEASCAPE
|
125
|
-
} PopplerOrientation;
|
126
|
-
</pre>
|
127
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
92
|
+
<div class="refsect1">
|
93
|
+
<a name="poppler-poppler.other"></a><h2>Types and Values</h2>
|
94
|
+
<div class="informaltable"><table width="100%" border="0">
|
128
95
|
<colgroup>
|
129
|
-
<col
|
130
|
-
<col>
|
96
|
+
<col width="150px" class="name">
|
97
|
+
<col class="description">
|
131
98
|
</colgroup>
|
132
99
|
<tbody>
|
133
100
|
<tr>
|
134
|
-
<td
|
135
|
-
<td></td>
|
101
|
+
<td class="define_keyword">#define</td>
|
102
|
+
<td class="function_name"><a class="link" href="poppler-poppler.html#POPPLER-ERROR:CAPS" title="POPPLER_ERROR">POPPLER_ERROR</a></td>
|
103
|
+
</tr>
|
104
|
+
<tr>
|
105
|
+
<td class="datatype_keyword">enum</td>
|
106
|
+
<td class="function_name"><a class="link" href="poppler-poppler.html#PopplerError" title="enum PopplerError">PopplerError</a></td>
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
<td class="datatype_keyword">enum</td>
|
110
|
+
<td class="function_name"><a class="link" href="poppler-poppler.html#PopplerOrientation" title="enum PopplerOrientation">PopplerOrientation</a></td>
|
136
111
|
</tr>
|
137
112
|
<tr>
|
138
|
-
<td
|
139
|
-
<td></td>
|
113
|
+
<td class="datatype_keyword">enum</td>
|
114
|
+
<td class="function_name"><a class="link" href="poppler-poppler.html#PopplerBackend" title="enum PopplerBackend">PopplerBackend</a></td>
|
140
115
|
</tr>
|
141
116
|
<tr>
|
142
|
-
<td
|
143
|
-
<td></td>
|
117
|
+
<td class="datatype_keyword"> </td>
|
118
|
+
<td class="function_name"><a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor">PopplerColor</a></td>
|
144
119
|
</tr>
|
145
120
|
<tr>
|
146
|
-
<td
|
147
|
-
<td></td>
|
121
|
+
<td class="datatype_keyword">enum</td>
|
122
|
+
<td class="function_name"><a class="link" href="poppler-poppler.html#PopplerPrintFlags" title="enum PopplerPrintFlags">PopplerPrintFlags</a></td>
|
123
|
+
</tr>
|
124
|
+
<tr>
|
125
|
+
<td class="datatype_keyword">enum</td>
|
126
|
+
<td class="function_name"><a class="link" href="poppler-poppler.html#PopplerFindFlags" title="enum PopplerFindFlags">PopplerFindFlags</a></td>
|
148
127
|
</tr>
|
149
128
|
</tbody>
|
150
129
|
</table></div>
|
151
130
|
</div>
|
131
|
+
<div class="refsect1">
|
132
|
+
<a name="poppler-poppler.includes"></a><h2>Includes</h2>
|
133
|
+
<pre class="synopsis">#include <poppler.h>
|
134
|
+
</pre>
|
135
|
+
</div>
|
136
|
+
<div class="refsect1">
|
137
|
+
<a name="poppler-poppler.description"></a><h2>Description</h2>
|
138
|
+
</div>
|
139
|
+
<div class="refsect1">
|
140
|
+
<a name="poppler-poppler.functions_details"></a><h2>Functions</h2>
|
141
|
+
<div class="refsect2">
|
142
|
+
<a name="poppler-get-backend"></a><h3>poppler_get_backend ()</h3>
|
143
|
+
<pre class="programlisting"><a class="link" href="poppler-poppler.html#PopplerBackend" title="enum PopplerBackend"><span class="returnvalue">PopplerBackend</span></a>
|
144
|
+
poppler_get_backend (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
145
|
+
<p>Returns the backend compiled into the poppler library.</p>
|
146
|
+
<div class="refsect3">
|
147
|
+
<a name="id-1.2.2.7.2.5"></a><h4>Returns</h4>
|
148
|
+
<p> The backend used by poppler</p>
|
149
|
+
<p></p>
|
150
|
+
</div>
|
151
|
+
</div>
|
152
152
|
<hr>
|
153
153
|
<div class="refsect2">
|
154
|
-
<a name="
|
155
|
-
<pre class="programlisting">
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
<
|
154
|
+
<a name="poppler-get-version"></a><h3>poppler_get_version ()</h3>
|
155
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> *
|
156
|
+
poppler_get_version (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
157
|
+
<p>Returns the version of poppler in use. This result is not to be freed.</p>
|
158
|
+
<div class="refsect3">
|
159
|
+
<a name="id-1.2.2.7.3.5"></a><h4>Returns</h4>
|
160
|
+
<p> the version of poppler.</p>
|
161
|
+
<p></p>
|
162
|
+
</div>
|
163
|
+
</div>
|
164
|
+
<hr>
|
165
|
+
<div class="refsect2">
|
166
|
+
<a name="poppler-date-parse"></a><h3>poppler_date_parse ()</h3>
|
167
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
168
|
+
poppler_date_parse (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *date</code></em>,
|
169
|
+
<em class="parameter"><code><span class="type">time_t</span> *timet</code></em>);</pre>
|
170
|
+
<p>Parses a PDF format date string and converts it to a <span class="type">time_t</span>. Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a>
|
171
|
+
if the parsing fails or the input string is not a valid PDF format date string</p>
|
172
|
+
<div class="refsect3">
|
173
|
+
<a name="id-1.2.2.7.4.5"></a><h4>Parameters</h4>
|
174
|
+
<div class="informaltable"><table width="100%" border="0">
|
162
175
|
<colgroup>
|
163
|
-
<col
|
164
|
-
<col>
|
176
|
+
<col width="150px" class="parameters_name">
|
177
|
+
<col class="parameters_description">
|
178
|
+
<col width="200px" class="parameters_annotations">
|
165
179
|
</colgroup>
|
166
180
|
<tbody>
|
167
181
|
<tr>
|
168
|
-
<td
|
169
|
-
<td></td>
|
170
|
-
</
|
171
|
-
<tr>
|
172
|
-
<td><p><a name="POPPLER-BACKEND-SPLASH:CAPS"></a><span class="term"><code class="literal">POPPLER_BACKEND_SPLASH</code></span></p></td>
|
173
|
-
<td></td>
|
182
|
+
<td class="parameter_name"><p>date</p></td>
|
183
|
+
<td class="parameter_description"><p>string to parse</p></td>
|
184
|
+
<td class="parameter_annotations"> </td>
|
174
185
|
</tr>
|
175
186
|
<tr>
|
176
|
-
<td
|
177
|
-
<td></td>
|
187
|
+
<td class="parameter_name"><p>timet</p></td>
|
188
|
+
<td class="parameter_description"><p>an uninitialized <span class="type">time_t</span></p></td>
|
189
|
+
<td class="parameter_annotations"> </td>
|
178
190
|
</tr>
|
179
191
|
</tbody>
|
180
192
|
</table></div>
|
181
193
|
</div>
|
194
|
+
<div class="refsect3">
|
195
|
+
<a name="id-1.2.2.7.4.6"></a><h4>Returns</h4>
|
196
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a>, if <em class="parameter"><code>timet</code></em>
|
197
|
+
was set</p>
|
198
|
+
<p></p>
|
199
|
+
</div>
|
200
|
+
<p class="since">Since 0.12</p>
|
201
|
+
</div>
|
182
202
|
<hr>
|
183
203
|
<div class="refsect2">
|
184
|
-
<a name="
|
185
|
-
<pre class="programlisting"
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
</
|
191
|
-
<p>
|
192
|
-
|
193
|
-
|
204
|
+
<a name="poppler-color-new"></a><h3>poppler_color_new ()</h3>
|
205
|
+
<pre class="programlisting"><a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="returnvalue">PopplerColor</span></a> *
|
206
|
+
poppler_color_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
207
|
+
<p>Creates a new <a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a></p>
|
208
|
+
<div class="refsect3">
|
209
|
+
<a name="id-1.2.2.7.5.5"></a><h4>Returns</h4>
|
210
|
+
<p> a new <a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a>, use <a class="link" href="poppler-poppler.html#poppler-color-free" title="poppler_color_free ()"><code class="function">poppler_color_free()</code></a> to free it</p>
|
211
|
+
<p></p>
|
212
|
+
</div>
|
213
|
+
</div>
|
214
|
+
<hr>
|
215
|
+
<div class="refsect2">
|
216
|
+
<a name="poppler-color-copy"></a><h3>poppler_color_copy ()</h3>
|
217
|
+
<pre class="programlisting"><a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="returnvalue">PopplerColor</span></a> *
|
218
|
+
poppler_color_copy (<em class="parameter"><code><a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a> *color</code></em>);</pre>
|
219
|
+
<p>Creates a copy of <em class="parameter"><code>color</code></em>
|
194
220
|
</p>
|
195
|
-
<div class="
|
221
|
+
<div class="refsect3">
|
222
|
+
<a name="id-1.2.2.7.6.5"></a><h4>Parameters</h4>
|
223
|
+
<div class="informaltable"><table width="100%" border="0">
|
196
224
|
<colgroup>
|
197
|
-
<col
|
198
|
-
<col>
|
225
|
+
<col width="150px" class="parameters_name">
|
226
|
+
<col class="parameters_description">
|
227
|
+
<col width="200px" class="parameters_annotations">
|
199
228
|
</colgroup>
|
200
|
-
<tbody>
|
201
|
-
<
|
202
|
-
<td
|
203
|
-
<td>
|
204
|
-
</tr>
|
205
|
-
<tr>
|
206
|
-
<td><p><span class="term"><span class="type">guint16</span> <em class="structfield"><code><a name="PopplerColor.green"></a>green</code></em>;</span></p></td>
|
207
|
-
<td>the green component of color</td>
|
208
|
-
</tr>
|
209
|
-
<tr>
|
210
|
-
<td><p><span class="term"><span class="type">guint16</span> <em class="structfield"><code><a name="PopplerColor.blue"></a>blue</code></em>;</span></p></td>
|
211
|
-
<td>the blue component of color</td>
|
212
|
-
</tr>
|
213
|
-
</tbody>
|
229
|
+
<tbody><tr>
|
230
|
+
<td class="parameter_name"><p>color</p></td>
|
231
|
+
<td class="parameter_description"><p>a <a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a> to copy</p></td>
|
232
|
+
<td class="parameter_annotations"> </td>
|
233
|
+
</tr></tbody>
|
214
234
|
</table></div>
|
215
235
|
</div>
|
236
|
+
<div class="refsect3">
|
237
|
+
<a name="id-1.2.2.7.6.6"></a><h4>Returns</h4>
|
238
|
+
<p> a new allocated copy of <em class="parameter"><code>color</code></em>
|
239
|
+
</p>
|
240
|
+
<p></p>
|
241
|
+
</div>
|
242
|
+
</div>
|
216
243
|
<hr>
|
217
244
|
<div class="refsect2">
|
218
|
-
<a name="
|
219
|
-
<pre class="programlisting">
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
245
|
+
<a name="poppler-color-free"></a><h3>poppler_color_free ()</h3>
|
246
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
247
|
+
poppler_color_free (<em class="parameter"><code><a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a> *color</code></em>);</pre>
|
248
|
+
<p>Frees the given <a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a></p>
|
249
|
+
<div class="refsect3">
|
250
|
+
<a name="id-1.2.2.7.7.5"></a><h4>Parameters</h4>
|
251
|
+
<div class="informaltable"><table width="100%" border="0">
|
252
|
+
<colgroup>
|
253
|
+
<col width="150px" class="parameters_name">
|
254
|
+
<col class="parameters_description">
|
255
|
+
<col width="200px" class="parameters_annotations">
|
256
|
+
</colgroup>
|
257
|
+
<tbody><tr>
|
258
|
+
<td class="parameter_name"><p>color</p></td>
|
259
|
+
<td class="parameter_description"><p>a <a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a></p></td>
|
260
|
+
<td class="parameter_annotations"> </td>
|
261
|
+
</tr></tbody>
|
262
|
+
</table></div>
|
263
|
+
</div>
|
264
|
+
</div>
|
265
|
+
</div>
|
266
|
+
<div class="refsect1">
|
267
|
+
<a name="poppler-poppler.other_details"></a><h2>Types and Values</h2>
|
268
|
+
<div class="refsect2">
|
269
|
+
<a name="POPPLER-ERROR:CAPS"></a><h3>POPPLER_ERROR</h3>
|
270
|
+
<pre class="programlisting">#define POPPLER_ERROR poppler_error_quark ()
|
225
271
|
</pre>
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
<
|
272
|
+
</div>
|
273
|
+
<hr>
|
274
|
+
<div class="refsect2">
|
275
|
+
<a name="PopplerError"></a><h3>enum PopplerError</h3>
|
276
|
+
<p>Error codes returned by <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a></p>
|
277
|
+
<div class="refsect3">
|
278
|
+
<a name="id-1.2.2.8.3.4"></a><h4>Members</h4>
|
279
|
+
<div class="informaltable"><table width="100%" border="0">
|
230
280
|
<colgroup>
|
231
|
-
<col
|
232
|
-
<col>
|
281
|
+
<col width="300px" class="enum_members_name">
|
282
|
+
<col class="enum_members_description">
|
283
|
+
<col width="200px" class="enum_members_annotations">
|
233
284
|
</colgroup>
|
234
285
|
<tbody>
|
235
286
|
<tr>
|
236
|
-
<td><p><a name="POPPLER-
|
237
|
-
<td>
|
287
|
+
<td class="enum_member_name"><p><a name="POPPLER-ERROR-INVALID:CAPS"></a>POPPLER_ERROR_INVALID</p></td>
|
288
|
+
<td class="enum_member_description">
|
289
|
+
<p>Generic error when a document operation fails</p>
|
290
|
+
</td>
|
291
|
+
<td class="enum_member_annotations"> </td>
|
292
|
+
</tr>
|
293
|
+
<tr>
|
294
|
+
<td class="enum_member_name"><p><a name="POPPLER-ERROR-ENCRYPTED:CAPS"></a>POPPLER_ERROR_ENCRYPTED</p></td>
|
295
|
+
<td class="enum_member_description">
|
296
|
+
<p>Document is encrypted</p>
|
238
297
|
</td>
|
298
|
+
<td class="enum_member_annotations"> </td>
|
239
299
|
</tr>
|
240
300
|
<tr>
|
241
|
-
<td><p><a name="POPPLER-
|
242
|
-
<td>
|
301
|
+
<td class="enum_member_name"><p><a name="POPPLER-ERROR-OPEN-FILE:CAPS"></a>POPPLER_ERROR_OPEN_FILE</p></td>
|
302
|
+
<td class="enum_member_description">
|
303
|
+
<p>File could not be opened for writing when saving document</p>
|
243
304
|
</td>
|
305
|
+
<td class="enum_member_annotations"> </td>
|
244
306
|
</tr>
|
245
307
|
<tr>
|
246
|
-
<td><p><a name="POPPLER-
|
247
|
-
<td>
|
308
|
+
<td class="enum_member_name"><p><a name="POPPLER-ERROR-BAD-CATALOG:CAPS"></a>POPPLER_ERROR_BAD_CATALOG</p></td>
|
309
|
+
<td class="enum_member_description">
|
310
|
+
<p>Failed to read the document catalog</p>
|
248
311
|
</td>
|
312
|
+
<td class="enum_member_annotations"> </td>
|
249
313
|
</tr>
|
250
314
|
<tr>
|
251
|
-
<td><p><a name="POPPLER-
|
252
|
-
<td>
|
315
|
+
<td class="enum_member_name"><p><a name="POPPLER-ERROR-DAMAGED:CAPS"></a>POPPLER_ERROR_DAMAGED</p></td>
|
316
|
+
<td class="enum_member_description">
|
317
|
+
<p>Document is damaged</p>
|
253
318
|
</td>
|
319
|
+
<td class="enum_member_annotations"> </td>
|
254
320
|
</tr>
|
255
321
|
</tbody>
|
256
322
|
</table></div>
|
257
|
-
|
323
|
+
</div>
|
258
324
|
</div>
|
259
325
|
<hr>
|
260
326
|
<div class="refsect2">
|
261
|
-
<a name="
|
262
|
-
<
|
263
|
-
|
264
|
-
|
265
|
-
POPPLER_FIND_BACKWARDS = 1 << 1,
|
266
|
-
POPPLER_FIND_WHOLE_WORDS_ONLY = 1 << 2
|
267
|
-
} PopplerFindFlags;
|
268
|
-
</pre>
|
269
|
-
<p>
|
270
|
-
Flags using while searching text in a page
|
271
|
-
</p>
|
272
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
327
|
+
<a name="PopplerOrientation"></a><h3>enum PopplerOrientation</h3>
|
328
|
+
<div class="refsect3">
|
329
|
+
<a name="id-1.2.2.8.4.3"></a><h4>Members</h4>
|
330
|
+
<div class="informaltable"><table width="100%" border="0">
|
273
331
|
<colgroup>
|
274
|
-
<col
|
275
|
-
<col>
|
332
|
+
<col width="300px" class="enum_members_name">
|
333
|
+
<col class="enum_members_description">
|
334
|
+
<col width="200px" class="enum_members_annotations">
|
276
335
|
</colgroup>
|
277
336
|
<tbody>
|
278
337
|
<tr>
|
279
|
-
<td><p><a name="POPPLER-
|
280
|
-
<td
|
338
|
+
<td class="enum_member_name"><p><a name="POPPLER-ORIENTATION-PORTRAIT:CAPS"></a>POPPLER_ORIENTATION_PORTRAIT</p></td>
|
339
|
+
<td> </td>
|
340
|
+
<td> </td>
|
281
341
|
</tr>
|
282
342
|
<tr>
|
283
|
-
<td><p><a name="POPPLER-
|
284
|
-
<td>
|
285
|
-
</td>
|
343
|
+
<td class="enum_member_name"><p><a name="POPPLER-ORIENTATION-LANDSCAPE:CAPS"></a>POPPLER_ORIENTATION_LANDSCAPE</p></td>
|
344
|
+
<td> </td>
|
345
|
+
<td> </td>
|
286
346
|
</tr>
|
287
347
|
<tr>
|
288
|
-
<td><p><a name="POPPLER-
|
289
|
-
<td>
|
290
|
-
</td>
|
348
|
+
<td class="enum_member_name"><p><a name="POPPLER-ORIENTATION-UPSIDEDOWN:CAPS"></a>POPPLER_ORIENTATION_UPSIDEDOWN</p></td>
|
349
|
+
<td> </td>
|
350
|
+
<td> </td>
|
291
351
|
</tr>
|
292
352
|
<tr>
|
293
|
-
<td><p><a name="POPPLER-
|
294
|
-
<td>
|
295
|
-
</td>
|
353
|
+
<td class="enum_member_name"><p><a name="POPPLER-ORIENTATION-SEASCAPE:CAPS"></a>POPPLER_ORIENTATION_SEASCAPE</p></td>
|
354
|
+
<td> </td>
|
355
|
+
<td> </td>
|
296
356
|
</tr>
|
297
357
|
</tbody>
|
298
358
|
</table></div>
|
299
|
-
<p class="since">Since 0.22</p>
|
300
359
|
</div>
|
301
|
-
<hr>
|
302
|
-
<div class="refsect2">
|
303
|
-
<a name="poppler-get-backend"></a><h3>poppler_get_backend ()</h3>
|
304
|
-
<pre class="programlisting"><a class="link" href="poppler-poppler.html#PopplerBackend" title="enum PopplerBackend"><span class="returnvalue">PopplerBackend</span></a> poppler_get_backend (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
305
|
-
<p>
|
306
|
-
Returns the backend compiled into the poppler library.
|
307
|
-
</p>
|
308
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
309
|
-
<colgroup>
|
310
|
-
<col align="left" valign="top">
|
311
|
-
<col>
|
312
|
-
</colgroup>
|
313
|
-
<tbody><tr>
|
314
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
315
|
-
<td>The backend used by poppler</td>
|
316
|
-
</tr></tbody>
|
317
|
-
</table></div>
|
318
360
|
</div>
|
319
361
|
<hr>
|
320
362
|
<div class="refsect2">
|
321
|
-
<a name="
|
322
|
-
<
|
323
|
-
<
|
324
|
-
|
325
|
-
</p>
|
326
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
363
|
+
<a name="PopplerBackend"></a><h3>enum PopplerBackend</h3>
|
364
|
+
<div class="refsect3">
|
365
|
+
<a name="id-1.2.2.8.5.3"></a><h4>Members</h4>
|
366
|
+
<div class="informaltable"><table width="100%" border="0">
|
327
367
|
<colgroup>
|
328
|
-
<col
|
329
|
-
<col>
|
368
|
+
<col width="300px" class="enum_members_name">
|
369
|
+
<col class="enum_members_description">
|
370
|
+
<col width="200px" class="enum_members_annotations">
|
330
371
|
</colgroup>
|
331
|
-
<tbody
|
332
|
-
<
|
333
|
-
<td
|
334
|
-
</
|
372
|
+
<tbody>
|
373
|
+
<tr>
|
374
|
+
<td class="enum_member_name"><p><a name="POPPLER-BACKEND-UNKNOWN:CAPS"></a>POPPLER_BACKEND_UNKNOWN</p></td>
|
375
|
+
<td> </td>
|
376
|
+
<td> </td>
|
377
|
+
</tr>
|
378
|
+
<tr>
|
379
|
+
<td class="enum_member_name"><p><a name="POPPLER-BACKEND-SPLASH:CAPS"></a>POPPLER_BACKEND_SPLASH</p></td>
|
380
|
+
<td> </td>
|
381
|
+
<td> </td>
|
382
|
+
</tr>
|
383
|
+
<tr>
|
384
|
+
<td class="enum_member_name"><p><a name="POPPLER-BACKEND-CAIRO:CAPS"></a>POPPLER_BACKEND_CAIRO</p></td>
|
385
|
+
<td> </td>
|
386
|
+
<td> </td>
|
387
|
+
</tr>
|
388
|
+
</tbody>
|
335
389
|
</table></div>
|
336
390
|
</div>
|
391
|
+
</div>
|
337
392
|
<hr>
|
338
393
|
<div class="refsect2">
|
339
|
-
<a name="
|
340
|
-
<pre class="programlisting"
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
</
|
346
|
-
<
|
394
|
+
<a name="PopplerColor"></a><h3>PopplerColor</h3>
|
395
|
+
<pre class="programlisting">typedef struct {
|
396
|
+
guint16 red;
|
397
|
+
guint16 green;
|
398
|
+
guint16 blue;
|
399
|
+
} PopplerColor;
|
400
|
+
</pre>
|
401
|
+
<p>A <a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a> describes a RGB color. Color components
|
402
|
+
are values between 0 and 65535</p>
|
403
|
+
<div class="refsect3">
|
404
|
+
<a name="id-1.2.2.8.6.5"></a><h4>Members</h4>
|
405
|
+
<div class="informaltable"><table width="100%" border="0">
|
347
406
|
<colgroup>
|
348
|
-
<col
|
349
|
-
<col>
|
407
|
+
<col width="300px" class="struct_members_name">
|
408
|
+
<col class="struct_members_description">
|
409
|
+
<col width="200px" class="struct_members_annotations">
|
350
410
|
</colgroup>
|
351
411
|
<tbody>
|
352
412
|
<tr>
|
353
|
-
<td><p><span class="
|
354
|
-
<td>
|
413
|
+
<td class="struct_member_name"><p><span class="type">guint16</span> <em class="structfield"><code><a name="PopplerColor.red"></a>red</code></em>;</p></td>
|
414
|
+
<td class="struct_member_description"><p>the red componment of color</p></td>
|
415
|
+
<td class="struct_member_annotations"> </td>
|
355
416
|
</tr>
|
356
417
|
<tr>
|
357
|
-
<td><p><span class="
|
358
|
-
<td
|
359
|
-
</td>
|
418
|
+
<td class="struct_member_name"><p><span class="type">guint16</span> <em class="structfield"><code><a name="PopplerColor.green"></a>green</code></em>;</p></td>
|
419
|
+
<td class="struct_member_description"><p>the green component of color</p></td>
|
420
|
+
<td class="struct_member_annotations"> </td>
|
360
421
|
</tr>
|
361
422
|
<tr>
|
362
|
-
<td><p><span class="
|
363
|
-
<td>
|
364
|
-
<
|
423
|
+
<td class="struct_member_name"><p><span class="type">guint16</span> <em class="structfield"><code><a name="PopplerColor.blue"></a>blue</code></em>;</p></td>
|
424
|
+
<td class="struct_member_description"><p>the blue component of color</p></td>
|
425
|
+
<td class="struct_member_annotations"> </td>
|
365
426
|
</tr>
|
366
427
|
</tbody>
|
367
428
|
</table></div>
|
368
|
-
<p class="since">Since 0.12</p>
|
369
429
|
</div>
|
370
|
-
<hr>
|
371
|
-
<div class="refsect2">
|
372
|
-
<a name="poppler-color-new"></a><h3>poppler_color_new ()</h3>
|
373
|
-
<pre class="programlisting"><a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="returnvalue">PopplerColor</span></a> * poppler_color_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
374
|
-
<p>
|
375
|
-
Creates a new <a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a>
|
376
|
-
</p>
|
377
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
378
|
-
<colgroup>
|
379
|
-
<col align="left" valign="top">
|
380
|
-
<col>
|
381
|
-
</colgroup>
|
382
|
-
<tbody><tr>
|
383
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
384
|
-
<td>a new <a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a>, use <a class="link" href="poppler-poppler.html#poppler-color-free" title="poppler_color_free ()"><code class="function">poppler_color_free()</code></a> to free it</td>
|
385
|
-
</tr></tbody>
|
386
|
-
</table></div>
|
387
430
|
</div>
|
388
431
|
<hr>
|
389
432
|
<div class="refsect2">
|
390
|
-
<a name="
|
391
|
-
<
|
392
|
-
<
|
393
|
-
|
394
|
-
|
395
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
433
|
+
<a name="PopplerPrintFlags"></a><h3>enum PopplerPrintFlags</h3>
|
434
|
+
<p>Printing flags</p>
|
435
|
+
<div class="refsect3">
|
436
|
+
<a name="id-1.2.2.8.7.4"></a><h4>Members</h4>
|
437
|
+
<div class="informaltable"><table width="100%" border="0">
|
396
438
|
<colgroup>
|
397
|
-
<col
|
398
|
-
<col>
|
439
|
+
<col width="300px" class="enum_members_name">
|
440
|
+
<col class="enum_members_description">
|
441
|
+
<col width="200px" class="enum_members_annotations">
|
399
442
|
</colgroup>
|
400
443
|
<tbody>
|
401
444
|
<tr>
|
402
|
-
<td
|
403
|
-
<td
|
445
|
+
<td class="enum_member_name"><p><a name="POPPLER-PRINT-DOCUMENT:CAPS"></a>POPPLER_PRINT_DOCUMENT</p></td>
|
446
|
+
<td class="enum_member_description">
|
447
|
+
<p>print main document contents</p>
|
448
|
+
</td>
|
449
|
+
<td class="enum_member_annotations"> </td>
|
404
450
|
</tr>
|
405
451
|
<tr>
|
406
|
-
<td
|
407
|
-
<td
|
452
|
+
<td class="enum_member_name"><p><a name="POPPLER-PRINT-MARKUP-ANNOTS:CAPS"></a>POPPLER_PRINT_MARKUP_ANNOTS</p></td>
|
453
|
+
<td class="enum_member_description">
|
454
|
+
<p>print document and markup annotations</p>
|
408
455
|
</td>
|
456
|
+
<td class="enum_member_annotations"> </td>
|
457
|
+
</tr>
|
458
|
+
<tr>
|
459
|
+
<td class="enum_member_name"><p><a name="POPPLER-PRINT-STAMP-ANNOTS-ONLY:CAPS"></a>POPPLER_PRINT_STAMP_ANNOTS_ONLY</p></td>
|
460
|
+
<td class="enum_member_description">
|
461
|
+
<p>print document and only stamp annotations</p>
|
462
|
+
</td>
|
463
|
+
<td class="enum_member_annotations"> </td>
|
464
|
+
</tr>
|
465
|
+
<tr>
|
466
|
+
<td class="enum_member_name"><p><a name="POPPLER-PRINT-ALL:CAPS"></a>POPPLER_PRINT_ALL</p></td>
|
467
|
+
<td class="enum_member_description">
|
468
|
+
<p>print main document contents and all markup annotations</p>
|
469
|
+
</td>
|
470
|
+
<td class="enum_member_annotations"> </td>
|
409
471
|
</tr>
|
410
472
|
</tbody>
|
411
473
|
</table></div>
|
412
474
|
</div>
|
475
|
+
<p class="since">Since 0.16</p>
|
476
|
+
</div>
|
413
477
|
<hr>
|
414
478
|
<div class="refsect2">
|
415
|
-
<a name="
|
416
|
-
<
|
417
|
-
<
|
418
|
-
|
419
|
-
|
420
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
479
|
+
<a name="PopplerFindFlags"></a><h3>enum PopplerFindFlags</h3>
|
480
|
+
<p>Flags using while searching text in a page</p>
|
481
|
+
<div class="refsect3">
|
482
|
+
<a name="id-1.2.2.8.8.4"></a><h4>Members</h4>
|
483
|
+
<div class="informaltable"><table width="100%" border="0">
|
421
484
|
<colgroup>
|
422
|
-
<col
|
423
|
-
<col>
|
485
|
+
<col width="300px" class="enum_members_name">
|
486
|
+
<col class="enum_members_description">
|
487
|
+
<col width="200px" class="enum_members_annotations">
|
424
488
|
</colgroup>
|
425
|
-
<tbody
|
426
|
-
<
|
427
|
-
<td
|
489
|
+
<tbody>
|
490
|
+
<tr>
|
491
|
+
<td class="enum_member_name"><p><a name="POPPLER-FIND-DEFAULT:CAPS"></a>POPPLER_FIND_DEFAULT</p></td>
|
492
|
+
<td> </td>
|
493
|
+
<td> </td>
|
494
|
+
</tr>
|
495
|
+
<tr>
|
496
|
+
<td class="enum_member_name"><p><a name="POPPLER-FIND-CASE-SENSITIVE:CAPS"></a>POPPLER_FIND_CASE_SENSITIVE</p></td>
|
497
|
+
<td class="enum_member_description">
|
498
|
+
<p>do case sensitive search</p>
|
428
499
|
</td>
|
429
|
-
</
|
500
|
+
<td class="enum_member_annotations"> </td>
|
501
|
+
</tr>
|
502
|
+
<tr>
|
503
|
+
<td class="enum_member_name"><p><a name="POPPLER-FIND-BACKWARDS:CAPS"></a>POPPLER_FIND_BACKWARDS</p></td>
|
504
|
+
<td class="enum_member_description">
|
505
|
+
<p>search backwards</p>
|
506
|
+
</td>
|
507
|
+
<td class="enum_member_annotations"> </td>
|
508
|
+
</tr>
|
509
|
+
<tr>
|
510
|
+
<td class="enum_member_name"><p><a name="POPPLER-FIND-WHOLE-WORDS-ONLY:CAPS"></a>POPPLER_FIND_WHOLE_WORDS_ONLY</p></td>
|
511
|
+
<td class="enum_member_description">
|
512
|
+
<p>search only whole words</p>
|
513
|
+
</td>
|
514
|
+
<td class="enum_member_annotations"> </td>
|
515
|
+
</tr>
|
516
|
+
</tbody>
|
430
517
|
</table></div>
|
431
518
|
</div>
|
519
|
+
<p class="since">Since 0.22</p>
|
520
|
+
</div>
|
432
521
|
</div>
|
433
522
|
</div>
|
434
523
|
<div class="footer">
|
435
524
|
<hr>
|
436
|
-
Generated by GTK-Doc V1.
|
525
|
+
Generated by GTK-Doc V1.21</div>
|
437
526
|
</body>
|
438
527
|
</html>
|