poppler 2.2.4-x64-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.
Files changed (185) hide show
  1. checksums.yaml +7 -0
  2. data/README +35 -0
  3. data/Rakefile +75 -0
  4. data/ext/poppler/depend +6 -0
  5. data/ext/poppler/extconf.rb +70 -0
  6. data/ext/poppler/poppler.def +2 -0
  7. data/ext/poppler/rbpoppler-action.c +372 -0
  8. data/ext/poppler/rbpoppler-annotation-callout-line.c +127 -0
  9. data/ext/poppler/rbpoppler-annotation-free-text.c +46 -0
  10. data/ext/poppler/rbpoppler-annotation-mapping.c +72 -0
  11. data/ext/poppler/rbpoppler-annotation-markup.c +98 -0
  12. data/ext/poppler/rbpoppler-annotation-text.c +53 -0
  13. data/ext/poppler/rbpoppler-annotation.c +74 -0
  14. data/ext/poppler/rbpoppler-attachment.c +124 -0
  15. data/ext/poppler/rbpoppler-button-field.c +56 -0
  16. data/ext/poppler/rbpoppler-choice-field.c +131 -0
  17. data/ext/poppler/rbpoppler-color.c +107 -0
  18. data/ext/poppler/rbpoppler-document.c +224 -0
  19. data/ext/poppler/rbpoppler-font-info.c +59 -0
  20. data/ext/poppler/rbpoppler-fonts-iter.c +127 -0
  21. data/ext/poppler/rbpoppler-form-field-mapping.c +44 -0
  22. data/ext/poppler/rbpoppler-form-field.c +98 -0
  23. data/ext/poppler/rbpoppler-image-mapping.c +48 -0
  24. data/ext/poppler/rbpoppler-index-iter.c +128 -0
  25. data/ext/poppler/rbpoppler-link-mapping.c +47 -0
  26. data/ext/poppler/rbpoppler-page-transition.c +59 -0
  27. data/ext/poppler/rbpoppler-page.c +322 -0
  28. data/ext/poppler/rbpoppler-private.h +77 -0
  29. data/ext/poppler/rbpoppler-ps-file.c +66 -0
  30. data/ext/poppler/rbpoppler-rectangle.c +92 -0
  31. data/ext/poppler/rbpoppler-text-field.c +91 -0
  32. data/ext/poppler/rbpoppler.c +111 -0
  33. data/ext/poppler/rbpoppler.h +61 -0
  34. data/ext/poppler/rbpopplerconversions.h +105 -0
  35. data/extconf.rb +49 -0
  36. data/lib/2.0/poppler.so +0 -0
  37. data/lib/2.1/poppler.so +0 -0
  38. data/lib/2.2/poppler.so +0 -0
  39. data/lib/poppler.rb +105 -0
  40. data/sample/number-pdf.rb +32 -0
  41. data/sample/pdf2.rb +132 -0
  42. data/sample/pdf2svg.rb +26 -0
  43. data/sample/pdf2text.rb +16 -0
  44. data/sample/pdfcrop.rb +32 -0
  45. data/sample/pdfdiv.rb +36 -0
  46. data/test/fixtures/image.pdf +0 -0
  47. data/test/fixtures/image.png +0 -0
  48. data/test/poppler-test-utils.rb +58 -0
  49. data/test/run-test.rb +32 -0
  50. data/test/test_annotation.rb +86 -0
  51. data/test/test_color.rb +26 -0
  52. data/test/test_constants.rb +30 -0
  53. data/test/test_document.rb +41 -0
  54. data/test/test_page.rb +42 -0
  55. data/vendor/local/bin/cjpeg.exe +0 -0
  56. data/vendor/local/bin/djpeg.exe +0 -0
  57. data/vendor/local/bin/jpegtran.exe +0 -0
  58. data/vendor/local/bin/libjpeg-9.dll +0 -0
  59. data/vendor/local/bin/libpoppler-48.dll +0 -0
  60. data/vendor/local/bin/libpoppler-cpp-0.dll +0 -0
  61. data/vendor/local/bin/libpoppler-glib-8.dll +0 -0
  62. data/vendor/local/bin/libsqlite3-0.dll +0 -0
  63. data/vendor/local/bin/pdfdetach.exe +0 -0
  64. data/vendor/local/bin/pdffonts.exe +0 -0
  65. data/vendor/local/bin/pdfimages.exe +0 -0
  66. data/vendor/local/bin/pdfinfo.exe +0 -0
  67. data/vendor/local/bin/pdfseparate.exe +0 -0
  68. data/vendor/local/bin/pdftocairo.exe +0 -0
  69. data/vendor/local/bin/pdftohtml.exe +0 -0
  70. data/vendor/local/bin/pdftoppm.exe +0 -0
  71. data/vendor/local/bin/pdftops.exe +0 -0
  72. data/vendor/local/bin/pdftotext.exe +0 -0
  73. data/vendor/local/bin/pdfunite.exe +0 -0
  74. data/vendor/local/bin/rdjpgcom.exe +0 -0
  75. data/vendor/local/bin/sqlite3.exe +0 -0
  76. data/vendor/local/bin/wrjpgcom.exe +0 -0
  77. data/vendor/local/include/jconfig.h +60 -0
  78. data/vendor/local/include/jerror.h +304 -0
  79. data/vendor/local/include/jmorecfg.h +446 -0
  80. data/vendor/local/include/jpeglib.h +1180 -0
  81. data/vendor/local/include/poppler/cpp/poppler-document.h +104 -0
  82. data/vendor/local/include/poppler/cpp/poppler-embedded-file.h +55 -0
  83. data/vendor/local/include/poppler/cpp/poppler-font.h +91 -0
  84. data/vendor/local/include/poppler/cpp/poppler-global.h +111 -0
  85. data/vendor/local/include/poppler/cpp/poppler-image.h +71 -0
  86. data/vendor/local/include/poppler/cpp/poppler-page-renderer.h +66 -0
  87. data/vendor/local/include/poppler/cpp/poppler-page-transition.h +82 -0
  88. data/vendor/local/include/poppler/cpp/poppler-page.h +76 -0
  89. data/vendor/local/include/poppler/cpp/poppler-rectangle.h +84 -0
  90. data/vendor/local/include/poppler/cpp/poppler-toc.h +74 -0
  91. data/vendor/local/include/poppler/cpp/poppler-version.h +39 -0
  92. data/vendor/local/include/poppler/glib/poppler-action.h +316 -0
  93. data/vendor/local/include/poppler/glib/poppler-annot.h +296 -0
  94. data/vendor/local/include/poppler/glib/poppler-attachment.h +87 -0
  95. data/vendor/local/include/poppler/glib/poppler-date.h +30 -0
  96. data/vendor/local/include/poppler/glib/poppler-document.h +299 -0
  97. data/vendor/local/include/poppler/glib/poppler-enums.h +116 -0
  98. data/vendor/local/include/poppler/glib/poppler-features.h +88 -0
  99. data/vendor/local/include/poppler/glib/poppler-form-field.h +111 -0
  100. data/vendor/local/include/poppler/glib/poppler-layer.h +43 -0
  101. data/vendor/local/include/poppler/glib/poppler-media.h +73 -0
  102. data/vendor/local/include/poppler/glib/poppler-movie.h +42 -0
  103. data/vendor/local/include/poppler/glib/poppler-page.h +377 -0
  104. data/vendor/local/include/poppler/glib/poppler-structure-element.h +357 -0
  105. data/vendor/local/include/poppler/glib/poppler.h +250 -0
  106. data/vendor/local/include/sqlite3.h +7494 -0
  107. data/vendor/local/include/sqlite3ext.h +487 -0
  108. data/vendor/local/lib/girepository-1.0/Poppler-0.18.typelib +0 -0
  109. data/vendor/local/lib/libjpeg.a +0 -0
  110. data/vendor/local/lib/libjpeg.dll.a +0 -0
  111. data/vendor/local/lib/libjpeg.la +41 -0
  112. data/vendor/local/lib/libpoppler-cpp.a +0 -0
  113. data/vendor/local/lib/libpoppler-cpp.dll.a +0 -0
  114. data/vendor/local/lib/libpoppler-cpp.la +41 -0
  115. data/vendor/local/lib/libpoppler-glib.a +0 -0
  116. data/vendor/local/lib/libpoppler-glib.dll.a +0 -0
  117. data/vendor/local/lib/libpoppler-glib.la +41 -0
  118. data/vendor/local/lib/libpoppler.a +0 -0
  119. data/vendor/local/lib/libpoppler.dll.a +0 -0
  120. data/vendor/local/lib/libpoppler.la +41 -0
  121. data/vendor/local/lib/libsqlite3.a +0 -0
  122. data/vendor/local/lib/libsqlite3.dll.a +0 -0
  123. data/vendor/local/lib/libsqlite3.la +41 -0
  124. data/vendor/local/lib/pkgconfig/poppler-cairo.pc +9 -0
  125. data/vendor/local/lib/pkgconfig/poppler-cpp.pc +13 -0
  126. data/vendor/local/lib/pkgconfig/poppler-glib.pc +13 -0
  127. data/vendor/local/lib/pkgconfig/poppler-splash.pc +9 -0
  128. data/vendor/local/lib/pkgconfig/poppler.pc +11 -0
  129. data/vendor/local/lib/pkgconfig/sqlite3.pc +13 -0
  130. data/vendor/local/share/gir-1.0/Poppler-0.18.gir +8281 -0
  131. data/vendor/local/share/gtk-doc/html/poppler/PopplerAnnot.html +3221 -0
  132. data/vendor/local/share/gtk-doc/html/poppler/PopplerAttachment.html +267 -0
  133. data/vendor/local/share/gtk-doc/html/poppler/PopplerDocument.html +3328 -0
  134. data/vendor/local/share/gtk-doc/html/poppler/PopplerFormField.html +1403 -0
  135. data/vendor/local/share/gtk-doc/html/poppler/PopplerLayer.html +307 -0
  136. data/vendor/local/share/gtk-doc/html/poppler/PopplerMedia.html +381 -0
  137. data/vendor/local/share/gtk-doc/html/poppler/PopplerMovie.html +197 -0
  138. data/vendor/local/share/gtk-doc/html/poppler/PopplerPage.html +3002 -0
  139. data/vendor/local/share/gtk-doc/html/poppler/PopplerStructureElement.html +3781 -0
  140. data/vendor/local/share/gtk-doc/html/poppler/annotation-glossary.html +63 -0
  141. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-12.html +123 -0
  142. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-14.html +102 -0
  143. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-16.html +180 -0
  144. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-18.html +72 -0
  145. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-20.html +39 -0
  146. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-22.html +64 -0
  147. data/vendor/local/share/gtk-doc/html/poppler/api-index-deprecated.html +39 -0
  148. data/vendor/local/share/gtk-doc/html/poppler/api-index-full.html +1830 -0
  149. data/vendor/local/share/gtk-doc/html/poppler/ch01.html +74 -0
  150. data/vendor/local/share/gtk-doc/html/poppler/home.png +0 -0
  151. data/vendor/local/share/gtk-doc/html/poppler/index.html +85 -0
  152. data/vendor/local/share/gtk-doc/html/poppler/index.sgml +557 -0
  153. data/vendor/local/share/gtk-doc/html/poppler/left-insensitive.png +0 -0
  154. data/vendor/local/share/gtk-doc/html/poppler/left.png +0 -0
  155. data/vendor/local/share/gtk-doc/html/poppler/poppler-PDF-Utility-functions.html +107 -0
  156. data/vendor/local/share/gtk-doc/html/poppler/poppler-PopplerAction.html +796 -0
  157. data/vendor/local/share/gtk-doc/html/poppler/poppler-PopplerColor.html +201 -0
  158. data/vendor/local/share/gtk-doc/html/poppler/poppler-Version-and-Features-Information.html +254 -0
  159. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler.html +169 -0
  160. data/vendor/local/share/gtk-doc/html/poppler/poppler.devhelp2 +470 -0
  161. data/vendor/local/share/gtk-doc/html/poppler/right-insensitive.png +0 -0
  162. data/vendor/local/share/gtk-doc/html/poppler/right.png +0 -0
  163. data/vendor/local/share/gtk-doc/html/poppler/style.css +476 -0
  164. data/vendor/local/share/gtk-doc/html/poppler/up-insensitive.png +0 -0
  165. data/vendor/local/share/gtk-doc/html/poppler/up.png +0 -0
  166. data/vendor/local/share/license/poppler/AUTHORS +5 -0
  167. data/vendor/local/share/license/poppler/COPYING +339 -0
  168. data/vendor/local/share/man/man1/cjpeg.1 +387 -0
  169. data/vendor/local/share/man/man1/djpeg.1 +252 -0
  170. data/vendor/local/share/man/man1/jpegtran.1 +293 -0
  171. data/vendor/local/share/man/man1/pdfdetach.1 +86 -0
  172. data/vendor/local/share/man/man1/pdffonts.1 +119 -0
  173. data/vendor/local/share/man/man1/pdfimages.1 +260 -0
  174. data/vendor/local/share/man/man1/pdfinfo.1 +152 -0
  175. data/vendor/local/share/man/man1/pdfseparate.1 +49 -0
  176. data/vendor/local/share/man/man1/pdftocairo.1 +295 -0
  177. data/vendor/local/share/man/man1/pdftohtml.1 +107 -0
  178. data/vendor/local/share/man/man1/pdftoppm.1 +170 -0
  179. data/vendor/local/share/man/man1/pdftops.1 +217 -0
  180. data/vendor/local/share/man/man1/pdftotext.1 +137 -0
  181. data/vendor/local/share/man/man1/pdfunite.1 +33 -0
  182. data/vendor/local/share/man/man1/rdjpgcom.1 +63 -0
  183. data/vendor/local/share/man/man1/sqlite3.1 +279 -0
  184. data/vendor/local/share/man/man1/wrjpgcom.1 +103 -0
  185. metadata +254 -0
@@ -0,0 +1,201 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>Poppler Reference Manual: PopplerColor</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
+ <link rel="home" href="index.html" title="Poppler Reference Manual">
8
+ <link rel="up" href="ch01.html" title="Poppler">
9
+ <link rel="prev" href="PopplerStructureElement.html" title="PopplerStructureElement">
10
+ <link rel="next" href="poppler-PDF-Utility-functions.html" title="PDF Utility functions">
11
+ <meta name="generator" content="GTK-Doc V1.21 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
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="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-PopplerColor.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="poppler-PDF-Utility-functions.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24
+ </tr></table>
25
+ <div class="refentry">
26
+ <a name="poppler-PopplerColor"></a><div class="titlepage"></div>
27
+ <div class="refnamediv"><table width="100%"><tr>
28
+ <td valign="top">
29
+ <h2><span class="refentrytitle"><a name="poppler-PopplerColor.top_of_page"></a>PopplerColor</span></h2>
30
+ <p>PopplerColor — Colors</p>
31
+ </td>
32
+ <td class="gallery_image" valign="top" align="right"></td>
33
+ </tr></table></div>
34
+ <div class="refsect1">
35
+ <a name="poppler-PopplerColor.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="function_type">
44
+ <a class="link" href="poppler-PopplerColor.html#PopplerColor" title="PopplerColor"><span class="returnvalue">PopplerColor</span></a> *
45
+ </td>
46
+ <td class="function_name">
47
+ <a class="link" href="poppler-PopplerColor.html#poppler-color-new" title="poppler_color_new ()">poppler_color_new</a> <span class="c_punctuation">()</span>
48
+ </td>
49
+ </tr>
50
+ <tr>
51
+ <td class="function_type">
52
+ <a class="link" href="poppler-PopplerColor.html#PopplerColor" title="PopplerColor"><span class="returnvalue">PopplerColor</span></a> *
53
+ </td>
54
+ <td class="function_name">
55
+ <a class="link" href="poppler-PopplerColor.html#poppler-color-copy" title="poppler_color_copy ()">poppler_color_copy</a> <span class="c_punctuation">()</span>
56
+ </td>
57
+ </tr>
58
+ <tr>
59
+ <td class="function_type">
60
+ <span class="returnvalue">void</span>
61
+ </td>
62
+ <td class="function_name">
63
+ <a class="link" href="poppler-PopplerColor.html#poppler-color-free" title="poppler_color_free ()">poppler_color_free</a> <span class="c_punctuation">()</span>
64
+ </td>
65
+ </tr>
66
+ </tbody>
67
+ </table></div>
68
+ </div>
69
+ <div class="refsect1">
70
+ <a name="poppler-PopplerColor.other"></a><h2>Types and Values</h2>
71
+ <div class="informaltable"><table width="100%" border="0">
72
+ <colgroup>
73
+ <col width="150px" class="name">
74
+ <col class="description">
75
+ </colgroup>
76
+ <tbody><tr>
77
+ <td class="datatype_keyword"> </td>
78
+ <td class="function_name"><a class="link" href="poppler-PopplerColor.html#PopplerColor" title="PopplerColor">PopplerColor</a></td>
79
+ </tr></tbody>
80
+ </table></div>
81
+ </div>
82
+ <div class="refsect1">
83
+ <a name="poppler-PopplerColor.includes"></a><h2>Includes</h2>
84
+ <pre class="synopsis">#include &lt;poppler.h&gt;
85
+ </pre>
86
+ </div>
87
+ <div class="refsect1">
88
+ <a name="poppler-PopplerColor.description"></a><h2>Description</h2>
89
+ </div>
90
+ <div class="refsect1">
91
+ <a name="poppler-PopplerColor.functions_details"></a><h2>Functions</h2>
92
+ <div class="refsect2">
93
+ <a name="poppler-color-new"></a><h3>poppler_color_new ()</h3>
94
+ <pre class="programlisting"><a class="link" href="poppler-PopplerColor.html#PopplerColor" title="PopplerColor"><span class="returnvalue">PopplerColor</span></a> *
95
+ poppler_color_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
96
+ <p>Creates a new <a class="link" href="poppler-PopplerColor.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a></p>
97
+ <div class="refsect3">
98
+ <a name="id-1.2.13.7.2.5"></a><h4>Returns</h4>
99
+ <p> a new <a class="link" href="poppler-PopplerColor.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a>, use <a class="link" href="poppler-PopplerColor.html#poppler-color-free" title="poppler_color_free ()"><code class="function">poppler_color_free()</code></a> to free it</p>
100
+ <p></p>
101
+ </div>
102
+ </div>
103
+ <hr>
104
+ <div class="refsect2">
105
+ <a name="poppler-color-copy"></a><h3>poppler_color_copy ()</h3>
106
+ <pre class="programlisting"><a class="link" href="poppler-PopplerColor.html#PopplerColor" title="PopplerColor"><span class="returnvalue">PopplerColor</span></a> *
107
+ poppler_color_copy (<em class="parameter"><code><a class="link" href="poppler-PopplerColor.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a> *color</code></em>);</pre>
108
+ <p>Creates a copy of <em class="parameter"><code>color</code></em>
109
+ </p>
110
+ <div class="refsect3">
111
+ <a name="id-1.2.13.7.3.5"></a><h4>Parameters</h4>
112
+ <div class="informaltable"><table width="100%" border="0">
113
+ <colgroup>
114
+ <col width="150px" class="parameters_name">
115
+ <col class="parameters_description">
116
+ <col width="200px" class="parameters_annotations">
117
+ </colgroup>
118
+ <tbody><tr>
119
+ <td class="parameter_name"><p>color</p></td>
120
+ <td class="parameter_description"><p>a <a class="link" href="poppler-PopplerColor.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a> to copy</p></td>
121
+ <td class="parameter_annotations"> </td>
122
+ </tr></tbody>
123
+ </table></div>
124
+ </div>
125
+ <div class="refsect3">
126
+ <a name="id-1.2.13.7.3.6"></a><h4>Returns</h4>
127
+ <p> a new allocated copy of <em class="parameter"><code>color</code></em>
128
+ </p>
129
+ <p></p>
130
+ </div>
131
+ </div>
132
+ <hr>
133
+ <div class="refsect2">
134
+ <a name="poppler-color-free"></a><h3>poppler_color_free ()</h3>
135
+ <pre class="programlisting"><span class="returnvalue">void</span>
136
+ poppler_color_free (<em class="parameter"><code><a class="link" href="poppler-PopplerColor.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a> *color</code></em>);</pre>
137
+ <p>Frees the given <a class="link" href="poppler-PopplerColor.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a></p>
138
+ <div class="refsect3">
139
+ <a name="id-1.2.13.7.4.5"></a><h4>Parameters</h4>
140
+ <div class="informaltable"><table width="100%" border="0">
141
+ <colgroup>
142
+ <col width="150px" class="parameters_name">
143
+ <col class="parameters_description">
144
+ <col width="200px" class="parameters_annotations">
145
+ </colgroup>
146
+ <tbody><tr>
147
+ <td class="parameter_name"><p>color</p></td>
148
+ <td class="parameter_description"><p>a <a class="link" href="poppler-PopplerColor.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a></p></td>
149
+ <td class="parameter_annotations"> </td>
150
+ </tr></tbody>
151
+ </table></div>
152
+ </div>
153
+ </div>
154
+ </div>
155
+ <div class="refsect1">
156
+ <a name="poppler-PopplerColor.other_details"></a><h2>Types and Values</h2>
157
+ <div class="refsect2">
158
+ <a name="PopplerColor"></a><h3>PopplerColor</h3>
159
+ <pre class="programlisting">typedef struct {
160
+ guint16 red;
161
+ guint16 green;
162
+ guint16 blue;
163
+ } PopplerColor;
164
+ </pre>
165
+ <p>A <a class="link" href="poppler-PopplerColor.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a> describes a RGB color. Color components
166
+ are values between 0 and 65535</p>
167
+ <div class="refsect3">
168
+ <a name="id-1.2.13.8.2.5"></a><h4>Members</h4>
169
+ <div class="informaltable"><table width="100%" border="0">
170
+ <colgroup>
171
+ <col width="300px" class="struct_members_name">
172
+ <col class="struct_members_description">
173
+ <col width="200px" class="struct_members_annotations">
174
+ </colgroup>
175
+ <tbody>
176
+ <tr>
177
+ <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>
178
+ <td class="struct_member_description"><p>the red componment of color</p></td>
179
+ <td class="struct_member_annotations"> </td>
180
+ </tr>
181
+ <tr>
182
+ <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>
183
+ <td class="struct_member_description"><p>the green component of color</p></td>
184
+ <td class="struct_member_annotations"> </td>
185
+ </tr>
186
+ <tr>
187
+ <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>
188
+ <td class="struct_member_description"><p>the blue component of color</p></td>
189
+ <td class="struct_member_annotations"> </td>
190
+ </tr>
191
+ </tbody>
192
+ </table></div>
193
+ </div>
194
+ </div>
195
+ </div>
196
+ </div>
197
+ <div class="footer">
198
+ <hr>
199
+ Generated by GTK-Doc V1.21</div>
200
+ </body>
201
+ </html>
@@ -0,0 +1,254 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>Poppler Reference Manual: Version and Features Information</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
+ <link rel="home" href="index.html" title="Poppler Reference Manual">
8
+ <link rel="up" href="ch01.html" title="Poppler">
9
+ <link rel="prev" href="poppler-PDF-Utility-functions.html" title="PDF Utility functions">
10
+ <link rel="next" href="api-index-full.html" title="Index of all symbols">
11
+ <meta name="generator" content="GTK-Doc V1.21 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
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="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="poppler-PDF-Utility-functions.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>
25
+ <div class="refentry">
26
+ <a name="poppler-Version-and-Features-Information"></a><div class="titlepage"></div>
27
+ <div class="refnamediv"><table width="100%"><tr>
28
+ <td valign="top">
29
+ <h2><span class="refentrytitle"><a name="poppler-Version-and-Features-Information.top_of_page"></a>Version and Features Information</span></h2>
30
+ <p>Version and Features Information — Variables and functions to check the poppler version and features</p>
31
+ </td>
32
+ <td class="gallery_image" valign="top" align="right"></td>
33
+ </tr></table></div>
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
+ <tr>
61
+ <td class="function_type">const <span class="returnvalue">char</span> *
62
+ </td>
63
+ <td class="function_name">
64
+ <a class="link" href="poppler-Version-and-Features-Information.html#poppler-get-version" title="poppler_get_version ()">poppler_get_version</a> <span class="c_punctuation">()</span>
65
+ </td>
66
+ </tr>
67
+ <tr>
68
+ <td class="function_type">
69
+ <a class="link" href="poppler-Version-and-Features-Information.html#PopplerBackend" title="enum PopplerBackend"><span class="returnvalue">PopplerBackend</span></a>
70
+ </td>
71
+ <td class="function_name">
72
+ <a class="link" href="poppler-Version-and-Features-Information.html#poppler-get-backend" title="poppler_get_backend ()">poppler_get_backend</a> <span class="c_punctuation">()</span>
73
+ </td>
74
+ </tr>
75
+ </tbody>
76
+ </table></div>
77
+ </div>
78
+ <div class="refsect1">
79
+ <a name="poppler-Version-and-Features-Information.other"></a><h2>Types and Values</h2>
80
+ <div class="informaltable"><table width="100%" border="0">
81
+ <colgroup>
82
+ <col width="150px" class="name">
83
+ <col class="description">
84
+ </colgroup>
85
+ <tbody>
86
+ <tr>
87
+ <td class="define_keyword">#define</td>
88
+ <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>
89
+ </tr>
90
+ <tr>
91
+ <td class="datatype_keyword">enum</td>
92
+ <td class="function_name"><a class="link" href="poppler-Version-and-Features-Information.html#PopplerBackend" title="enum PopplerBackend">PopplerBackend</a></td>
93
+ </tr>
94
+ </tbody>
95
+ </table></div>
96
+ </div>
97
+ <div class="refsect1">
98
+ <a name="poppler-Version-and-Features-Information.includes"></a><h2>Includes</h2>
99
+ <pre class="synopsis">#include &lt;poppler.h&gt;
100
+ </pre>
101
+ </div>
102
+ <div class="refsect1">
103
+ <a name="poppler-Version-and-Features-Information.description"></a><h2>Description</h2>
104
+ <p>Poppler provides version information, and information about features
105
+ enabled at compile time. This is primarily useful in configure checks
106
+ for builds that have a configure script, or for allowing code to optionally
107
+ depend but not require a specific poppler version.</p>
108
+ </div>
109
+ <div class="refsect1">
110
+ <a name="poppler-Version-and-Features-Information.functions_details"></a><h2>Functions</h2>
111
+ <div class="refsect2">
112
+ <a name="POPPLER-MAJOR-VERSION:CAPS"></a><h3>POPPLER_MAJOR_VERSION</h3>
113
+ <pre class="programlisting">#define POPPLER_MAJOR_VERSION (0)
114
+ </pre>
115
+ <p>The major version number of the poppler header files (e.g. in poppler version
116
+ 0.1.2 this is 0.)</p>
117
+ <p class="since">Since 0.12</p>
118
+ </div>
119
+ <hr>
120
+ <div class="refsect2">
121
+ <a name="POPPLER-MINOR-VERSION:CAPS"></a><h3>POPPLER_MINOR_VERSION</h3>
122
+ <pre class="programlisting">#define POPPLER_MINOR_VERSION (29)
123
+ </pre>
124
+ <p>The major version number of the poppler header files (e.g. in poppler version
125
+ 0.1.2 this is 1.)</p>
126
+ <p class="since">Since 0.12</p>
127
+ </div>
128
+ <hr>
129
+ <div class="refsect2">
130
+ <a name="POPPLER-MICRO-VERSION:CAPS"></a><h3>POPPLER_MICRO_VERSION</h3>
131
+ <pre class="programlisting">#define POPPLER_MICRO_VERSION (0)
132
+ </pre>
133
+ <p>The micro version number of the poppler header files (e.g. in poppler version
134
+ 0.1.2 this is 2.)</p>
135
+ <p class="since">Since 0.12</p>
136
+ </div>
137
+ <hr>
138
+ <div class="refsect2">
139
+ <a name="POPPLER-CHECK-VERSION:CAPS"></a><h3>POPPLER_CHECK_VERSION()</h3>
140
+ <pre class="programlisting">#define POPPLER_CHECK_VERSION(major,minor,micro)</pre>
141
+ <p>Checks the version fo the poppler library</p>
142
+ <div class="refsect3">
143
+ <a name="id-1.2.15.7.5.5"></a><h4>Parameters</h4>
144
+ <div class="informaltable"><table width="100%" border="0">
145
+ <colgroup>
146
+ <col width="150px" class="parameters_name">
147
+ <col class="parameters_description">
148
+ <col width="200px" class="parameters_annotations">
149
+ </colgroup>
150
+ <tbody>
151
+ <tr>
152
+ <td class="parameter_name"><p>major</p></td>
153
+ <td class="parameter_description"><p>major version (e.g. 0 for version 0.1.2)</p></td>
154
+ <td class="parameter_annotations"> </td>
155
+ </tr>
156
+ <tr>
157
+ <td class="parameter_name"><p>minor</p></td>
158
+ <td class="parameter_description"><p>minor version (e.g. 1 for version 0.1.2)</p></td>
159
+ <td class="parameter_annotations"> </td>
160
+ </tr>
161
+ <tr>
162
+ <td class="parameter_name"><p>micro</p></td>
163
+ <td class="parameter_description"><p>micro version (e.g. 2 for version 0.1.2)</p></td>
164
+ <td class="parameter_annotations"> </td>
165
+ </tr>
166
+ </tbody>
167
+ </table></div>
168
+ </div>
169
+ <div class="refsect3">
170
+ <a name="id-1.2.15.7.5.6"></a><h4>Returns</h4>
171
+ <p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the version of the poppler header files is the same
172
+ as or newer than the passed-in version</p>
173
+ <p></p>
174
+ </div>
175
+ <p class="since">Since 0.12</p>
176
+ </div>
177
+ <hr>
178
+ <div class="refsect2">
179
+ <a name="poppler-get-version"></a><h3>poppler_get_version ()</h3>
180
+ <pre class="programlisting">const <span class="returnvalue">char</span> *
181
+ poppler_get_version (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
182
+ <p>Returns the version of poppler in use. This result is not to be freed.</p>
183
+ <div class="refsect3">
184
+ <a name="id-1.2.15.7.6.5"></a><h4>Returns</h4>
185
+ <p> the version of poppler.</p>
186
+ <p></p>
187
+ </div>
188
+ </div>
189
+ <hr>
190
+ <div class="refsect2">
191
+ <a name="poppler-get-backend"></a><h3>poppler_get_backend ()</h3>
192
+ <pre class="programlisting"><a class="link" href="poppler-Version-and-Features-Information.html#PopplerBackend" title="enum PopplerBackend"><span class="returnvalue">PopplerBackend</span></a>
193
+ poppler_get_backend (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
194
+ <p>Returns the backend compiled into the poppler library.</p>
195
+ <div class="refsect3">
196
+ <a name="id-1.2.15.7.7.5"></a><h4>Returns</h4>
197
+ <p> The backend used by poppler</p>
198
+ <p></p>
199
+ </div>
200
+ </div>
201
+ </div>
202
+ <div class="refsect1">
203
+ <a name="poppler-Version-and-Features-Information.other_details"></a><h2>Types and Values</h2>
204
+ <div class="refsect2">
205
+ <a name="POPPLER-HAS-CAIRO:CAPS"></a><h3>POPPLER_HAS_CAIRO</h3>
206
+ <pre class="programlisting">#define POPPLER_HAS_CAIRO 1
207
+ </pre>
208
+ <p>Defined if poppler was compiled with cairo support.</p>
209
+ </div>
210
+ <hr>
211
+ <div class="refsect2">
212
+ <a name="PopplerBackend"></a><h3>enum PopplerBackend</h3>
213
+ <p>Backend codes returned by <a class="link" href="poppler-Version-and-Features-Information.html#poppler-get-backend" title="poppler_get_backend ()"><code class="function">poppler_get_backend()</code></a>.</p>
214
+ <div class="refsect3">
215
+ <a name="id-1.2.15.8.3.4"></a><h4>Members</h4>
216
+ <div class="informaltable"><table width="100%" border="0">
217
+ <colgroup>
218
+ <col width="300px" class="enum_members_name">
219
+ <col class="enum_members_description">
220
+ <col width="200px" class="enum_members_annotations">
221
+ </colgroup>
222
+ <tbody>
223
+ <tr>
224
+ <td class="enum_member_name"><p><a name="POPPLER-BACKEND-UNKNOWN:CAPS"></a>POPPLER_BACKEND_UNKNOWN</p></td>
225
+ <td class="enum_member_description">
226
+ <p>Unknown backend</p>
227
+ </td>
228
+ <td class="enum_member_annotations"> </td>
229
+ </tr>
230
+ <tr>
231
+ <td class="enum_member_name"><p><a name="POPPLER-BACKEND-SPLASH:CAPS"></a>POPPLER_BACKEND_SPLASH</p></td>
232
+ <td class="enum_member_description">
233
+ <p>Splash backend</p>
234
+ </td>
235
+ <td class="enum_member_annotations"> </td>
236
+ </tr>
237
+ <tr>
238
+ <td class="enum_member_name"><p><a name="POPPLER-BACKEND-CAIRO:CAPS"></a>POPPLER_BACKEND_CAIRO</p></td>
239
+ <td class="enum_member_description">
240
+ <p>Cairo backend</p>
241
+ </td>
242
+ <td class="enum_member_annotations"> </td>
243
+ </tr>
244
+ </tbody>
245
+ </table></div>
246
+ </div>
247
+ </div>
248
+ </div>
249
+ </div>
250
+ <div class="footer">
251
+ <hr>
252
+ Generated by GTK-Doc V1.21</div>
253
+ </body>
254
+ </html>