poppler 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +7 -0
  2. data/README +1 -1
  3. data/Rakefile +69 -9
  4. data/ext/poppler/extconf.rb +5 -2
  5. data/ext/poppler/rbpoppler-action.c +242 -86
  6. data/ext/poppler/{rbpoppler-annotationcalloutline.c → rbpoppler-annotation-callout-line.c} +2 -3
  7. data/ext/poppler/{rbpoppler-annotationfreetext.c → rbpoppler-annotation-free-text.c} +2 -3
  8. data/ext/poppler/{rbpoppler-annotationmapping.c → rbpoppler-annotation-mapping.c} +2 -3
  9. data/ext/poppler/{rbpoppler-annotationmarkup.c → rbpoppler-annotation-markup.c} +5 -4
  10. data/ext/poppler/{rbpoppler-annotationtext.c → rbpoppler-annotation-text.c} +2 -7
  11. data/ext/poppler/{rbpoppler-buttonfield.c → rbpoppler-button-field.c} +0 -0
  12. data/ext/poppler/{rbpoppler-choicefield.c → rbpoppler-choice-field.c} +0 -0
  13. data/ext/poppler/{rbpoppler-fontinfo.c → rbpoppler-font-info.c} +2 -8
  14. data/ext/poppler/{rbpoppler-fontsiter.c → rbpoppler-fonts-iter.c} +5 -6
  15. data/ext/poppler/{rbpoppler-formfieldmapping.c → rbpoppler-form-field-mapping.c} +2 -3
  16. data/ext/poppler/{rbpoppler-imagemapping.c → rbpoppler-image-mapping.c} +2 -7
  17. data/ext/poppler/{rbpoppler-indexiter.c → rbpoppler-index-iter.c} +2 -3
  18. data/ext/poppler/{rbpoppler-linkmapping.c → rbpoppler-link-mapping.c} +2 -3
  19. data/ext/poppler/{rbpoppler-pagetransition.c → rbpoppler-page-transition.c} +2 -3
  20. data/ext/poppler/rbpoppler-page.c +0 -29
  21. data/ext/poppler/rbpoppler-private.h +13 -13
  22. data/ext/poppler/{rbpoppler-psfile.c → rbpoppler-ps-file.c} +2 -3
  23. data/ext/poppler/{rbpoppler-textfield.c → rbpoppler-text-field.c} +0 -0
  24. data/ext/poppler/rbpoppler.c +14 -22
  25. data/ext/poppler/rbpoppler.h +3 -6
  26. data/ext/poppler/rbpopplerconversions.h +1 -1
  27. data/lib/1.9/poppler.so +0 -0
  28. data/lib/2.0/poppler.so +0 -0
  29. data/sample/pdf2.rb +46 -10
  30. data/test/fixtures/image.png +0 -0
  31. data/test/run-test.rb +7 -4
  32. data/test/test_page.rb +1 -0
  33. data/vendor/local/bin/cjpeg.exe +0 -0
  34. data/vendor/local/bin/djpeg.exe +0 -0
  35. data/vendor/local/bin/jpegtran.exe +0 -0
  36. data/vendor/local/bin/libjpeg-9.dll +0 -0
  37. data/vendor/local/bin/libpoppler-44.dll +0 -0
  38. data/vendor/local/bin/libpoppler-glib-8.dll +0 -0
  39. data/vendor/local/bin/libsqlite3-0.dll +0 -0
  40. data/vendor/local/bin/pdfdetach.exe +0 -0
  41. data/vendor/local/bin/pdffonts.exe +0 -0
  42. data/vendor/local/bin/pdfimages.exe +0 -0
  43. data/vendor/local/bin/pdfinfo.exe +0 -0
  44. data/vendor/local/bin/pdfseparate.exe +0 -0
  45. data/vendor/local/bin/pdftocairo.exe +0 -0
  46. data/vendor/local/bin/pdftohtml.exe +0 -0
  47. data/vendor/local/bin/pdftoppm.exe +0 -0
  48. data/vendor/local/bin/pdftops.exe +0 -0
  49. data/vendor/local/bin/pdftotext.exe +0 -0
  50. data/vendor/local/bin/pdfunite.exe +0 -0
  51. data/vendor/local/bin/rdjpgcom.exe +0 -0
  52. data/vendor/local/bin/sqlite3.exe +0 -0
  53. data/vendor/local/bin/wrjpgcom.exe +0 -0
  54. data/vendor/local/include/jconfig.h +8 -0
  55. data/vendor/local/include/jerror.h +2 -2
  56. data/vendor/local/include/jmorecfg.h +28 -7
  57. data/vendor/local/include/jpeglib.h +46 -8
  58. data/vendor/local/include/poppler/glib/poppler-action.h +156 -2
  59. data/vendor/local/include/poppler/glib/poppler-annot.h +57 -1
  60. data/vendor/local/include/poppler/glib/poppler-attachment.h +17 -0
  61. data/vendor/local/include/poppler/glib/poppler-document.h +133 -26
  62. data/vendor/local/include/poppler/glib/poppler-enums.h +8 -0
  63. data/vendor/local/include/poppler/glib/poppler-features.h +58 -4
  64. data/vendor/local/include/poppler/glib/poppler-form-field.h +4 -0
  65. data/vendor/local/include/poppler/glib/poppler-media.h +73 -0
  66. data/vendor/local/include/poppler/glib/poppler-movie.h +42 -0
  67. data/vendor/local/include/poppler/glib/poppler-page.h +133 -44
  68. data/vendor/local/include/poppler/glib/poppler.h +125 -24
  69. data/vendor/local/include/sqlite3.h +7338 -0
  70. data/vendor/local/include/sqlite3ext.h +487 -0
  71. data/vendor/local/lib/girepository-1.0/Poppler-0.18.typelib +0 -0
  72. data/vendor/local/lib/libjpeg.a +0 -0
  73. data/vendor/local/lib/libjpeg.dll.a +0 -0
  74. data/vendor/local/lib/libjpeg.la +41 -0
  75. data/vendor/local/lib/libpoppler-glib.a +0 -0
  76. data/vendor/local/lib/libpoppler-glib.dll.a +0 -0
  77. data/vendor/local/lib/libpoppler-glib.la +41 -0
  78. data/vendor/local/lib/libpoppler.a +0 -0
  79. data/vendor/local/lib/libpoppler.dll.a +0 -0
  80. data/vendor/local/lib/libpoppler.la +41 -0
  81. data/vendor/local/lib/libsqlite3.a +0 -0
  82. data/vendor/local/lib/libsqlite3.dll.a +0 -0
  83. data/vendor/local/lib/libsqlite3.la +41 -0
  84. data/vendor/local/lib/pkgconfig/poppler-cairo.pc +9 -0
  85. data/vendor/local/lib/pkgconfig/poppler-glib.pc +3 -3
  86. data/vendor/local/lib/pkgconfig/poppler-splash.pc +2 -2
  87. data/vendor/local/lib/pkgconfig/poppler.pc +1 -1
  88. data/vendor/local/lib/pkgconfig/sqlite3.pc +13 -0
  89. data/vendor/local/share/gir-1.0/Poppler-0.18.gir +5452 -0
  90. data/vendor/local/share/gtk-doc/html/poppler/PopplerAnnot.html +1671 -0
  91. data/vendor/local/share/gtk-doc/html/poppler/PopplerAttachment.html +214 -0
  92. data/vendor/local/share/gtk-doc/html/poppler/PopplerDocument.html +2587 -0
  93. data/vendor/local/share/gtk-doc/html/poppler/PopplerFormField.html +1070 -0
  94. data/vendor/local/share/gtk-doc/html/poppler/PopplerLayer.html +228 -0
  95. data/vendor/local/share/gtk-doc/html/poppler/PopplerMedia.html +306 -0
  96. data/vendor/local/share/gtk-doc/html/poppler/PopplerMovie.html +156 -0
  97. data/vendor/local/share/gtk-doc/html/poppler/PopplerPage.html +2132 -0
  98. data/vendor/local/share/gtk-doc/html/poppler/annotation-glossary.html +71 -0
  99. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-12.html +128 -0
  100. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-14.html +107 -0
  101. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-16.html +185 -0
  102. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-18.html +77 -0
  103. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-20.html +42 -0
  104. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-22.html +62 -0
  105. data/vendor/local/share/gtk-doc/html/poppler/api-index-deprecated.html +42 -0
  106. data/vendor/local/share/gtk-doc/html/poppler/api-index-full.html +1352 -0
  107. data/vendor/local/share/gtk-doc/html/poppler/ch01.html +21 -19
  108. data/vendor/local/share/gtk-doc/html/poppler/home.png +0 -0
  109. data/vendor/local/share/gtk-doc/html/poppler/index.html +35 -18
  110. data/vendor/local/share/gtk-doc/html/poppler/index.sgml +548 -300
  111. data/vendor/local/share/gtk-doc/html/poppler/left.png +0 -0
  112. data/vendor/local/share/gtk-doc/html/poppler/poppler-PopplerAction.html +662 -0
  113. data/vendor/local/share/gtk-doc/html/poppler/poppler-Version-and-Features-Information.html +145 -0
  114. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler.html +319 -364
  115. data/vendor/local/share/gtk-doc/html/poppler/poppler.devhelp2 +506 -265
  116. data/vendor/local/share/gtk-doc/html/poppler/right.png +0 -0
  117. data/vendor/local/share/gtk-doc/html/poppler/style.css +153 -54
  118. data/vendor/local/share/gtk-doc/html/poppler/up.png +0 -0
  119. data/vendor/local/share/license/poppler/AUTHORS +5 -0
  120. data/vendor/local/share/license/poppler/COPYING +339 -0
  121. data/vendor/local/share/man/man1/cjpeg.1 +51 -10
  122. data/vendor/local/share/man/man1/djpeg.1 +5 -4
  123. data/vendor/local/share/man/man1/jpegtran.1 +15 -2
  124. data/vendor/local/share/man/man1/pdfdetach.1 +86 -0
  125. data/vendor/local/share/man/man1/pdffonts.1 +16 -7
  126. data/vendor/local/share/man/man1/pdfimages.1 +114 -7
  127. data/vendor/local/share/man/man1/pdfinfo.1 +16 -7
  128. data/vendor/local/share/man/man1/pdfseparate.1 +49 -0
  129. data/vendor/local/share/man/man1/pdftocairo.1 +266 -0
  130. data/vendor/local/share/man/man1/pdftohtml.1 +30 -8
  131. data/vendor/local/share/man/man1/pdftoppm.1 +42 -12
  132. data/vendor/local/share/man/man1/pdftops.1 +26 -10
  133. data/vendor/local/share/man/man1/pdftotext.1 +18 -7
  134. data/vendor/local/share/man/man1/pdfunite.1 +33 -0
  135. data/vendor/local/share/man/man1/sqlite3.1 +229 -0
  136. metadata +107 -64
  137. data/vendor/local/bin/libgcc_s_dw2-1.dll +0 -0
  138. data/vendor/local/bin/libjpeg-7.dll +0 -0
  139. data/vendor/local/bin/libpng12-0.dll +0 -0
  140. data/vendor/local/bin/libpoppler-5.dll +0 -0
  141. data/vendor/local/bin/libpoppler-glib-4.dll +0 -0
  142. data/vendor/local/include/libpng12/png.h +0 -3726
  143. data/vendor/local/include/libpng12/pngconf.h +0 -1508
  144. data/vendor/local/include/png.h +0 -3726
  145. data/vendor/local/include/pngconf.h +0 -1508
  146. data/vendor/local/lib/libpng.def +0 -366
  147. data/vendor/local/lib/libpng.lib +0 -0
  148. data/vendor/local/lib/libpng12.dll.a +0 -0
  149. data/vendor/local/lib/pkgconfig/libpng.pc +0 -11
  150. data/vendor/local/lib/pkgconfig/libpng12.pc +0 -11
  151. data/vendor/local/manifest/jpeg-dev_7-1_win32.mft +0 -18
  152. data/vendor/local/manifest/jpeg_7-1_win32.mft +0 -2
  153. data/vendor/local/manifest/libpng-dev_1.2.40-1_win32.mft +0 -15
  154. data/vendor/local/manifest/libpng_1.2.40-1_win32.mft +0 -2
  155. data/vendor/local/manifest/poppler-dev_0.12.0-1_win32.mft +0 -49
  156. data/vendor/local/manifest/poppler_0.12.0-1_win32.mft +0 -4
  157. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-action.html +0 -386
  158. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-annot.html +0 -854
  159. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-attachment.html +0 -205
  160. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-document.html +0 -1122
  161. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-enums.html +0 -412
  162. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-features.html +0 -143
  163. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-form-field.html +0 -871
  164. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-layer.html +0 -214
  165. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-page.html +0 -1258
  166. data/vendor/local/share/gtk-doc/html/poppler/poppler.devhelp +0 -281
  167. data/vendor/local/share/man/man3/libpng.3 +0 -4349
  168. data/vendor/local/share/man/man3/libpngpf.3 +0 -790
  169. data/vendor/local/share/man/man5/png.5 +0 -74
  170. data/vendor/local/src/tml/packaging/jpeg_7-1_win32.log +0 -249
  171. data/vendor/local/src/tml/packaging/jpeg_7-1_win32.sh +0 -44
  172. data/vendor/local/src/tml/packaging/libpng_1.2.40-1_win32.log +0 -269
  173. data/vendor/local/src/tml/packaging/libpng_1.2.40-1_win32.sh +0 -63
@@ -0,0 +1,145 @@
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>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="PopplerMovie.html" title="PopplerMovie">
10
+ <link rel="next" href="api-index-full.html" title="Index of all symbols">
11
+ <meta name="generator" content="GTK-Doc V1.19 (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="2">
16
+ <tr valign="middle">
17
+ <td><a accesskey="p" href="PopplerMovie.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
+ <th width="100%" align="center">Poppler Reference Manual</th>
21
+ <td><a accesskey="n" href="api-index-full.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
+ </tr>
23
+ <tr><td colspan="5" class="shortcuts">
24
+ <a href="#poppler-Version-and-Features-Information.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#poppler-Version-and-Features-Information.description" class="shortcut">Description</a>
27
+ </td></tr>
28
+ </table>
29
+ <div class="refentry">
30
+ <a name="poppler-Version-and-Features-Information"></a><div class="titlepage"></div>
31
+ <div class="refnamediv"><table width="100%"><tr>
32
+ <td valign="top">
33
+ <h2><span class="refentrytitle"><a name="poppler-Version-and-Features-Information.top_of_page"></a>Version and Features Information</span></h2>
34
+ <p>Version and Features Information — Variables and functions to check the poppler version and features</p>
35
+ </td>
36
+ <td valign="top" align="right"></td>
37
+ </tr></table></div>
38
+ <div class="refsynopsisdiv">
39
+ <a name="poppler-Version-and-Features-Information.synopsis"></a><h2>Synopsis</h2>
40
+ <pre class="synopsis">
41
+ #include &lt;poppler.h&gt;
42
+
43
+ #define <a class="link" href="poppler-Version-and-Features-Information.html#POPPLER-HAS-CAIRO:CAPS" title="POPPLER_HAS_CAIRO">POPPLER_HAS_CAIRO</a>
44
+ #define <a class="link" href="poppler-Version-and-Features-Information.html#POPPLER-MAJOR-VERSION:CAPS" title="POPPLER_MAJOR_VERSION">POPPLER_MAJOR_VERSION</a>
45
+ #define <a class="link" href="poppler-Version-and-Features-Information.html#POPPLER-MINOR-VERSION:CAPS" title="POPPLER_MINOR_VERSION">POPPLER_MINOR_VERSION</a>
46
+ #define <a class="link" href="poppler-Version-and-Features-Information.html#POPPLER-MICRO-VERSION:CAPS" title="POPPLER_MICRO_VERSION">POPPLER_MICRO_VERSION</a>
47
+ #define <a class="link" href="poppler-Version-and-Features-Information.html#POPPLER-CHECK-VERSION:CAPS" title="POPPLER_CHECK_VERSION()">POPPLER_CHECK_VERSION</a> (major,
48
+ minor,
49
+ micro)
50
+ </pre>
51
+ </div>
52
+ <div class="refsect1">
53
+ <a name="poppler-Version-and-Features-Information.description"></a><h2>Description</h2>
54
+ <p>
55
+ Poppler provides version information, and information about features
56
+ enabled at compile time. This is primarily useful in configure checks
57
+ for builds that have a configure script, or for allowing code to optionally
58
+ depend but not require a specific poppler version.
59
+ </p>
60
+ </div>
61
+ <div class="refsect1">
62
+ <a name="poppler-Version-and-Features-Information.details"></a><h2>Details</h2>
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>
72
+ <div class="refsect2">
73
+ <a name="POPPLER-MAJOR-VERSION:CAPS"></a><h3>POPPLER_MAJOR_VERSION</h3>
74
+ <pre class="programlisting">#define POPPLER_MAJOR_VERSION (0)
75
+ </pre>
76
+ <p>
77
+ The major version number of the poppler header files (e.g. in poppler version
78
+ 0.1.2 this is 0.)
79
+ </p>
80
+ <p class="since">Since 0.12</p>
81
+ </div>
82
+ <hr>
83
+ <div class="refsect2">
84
+ <a name="POPPLER-MINOR-VERSION:CAPS"></a><h3>POPPLER_MINOR_VERSION</h3>
85
+ <pre class="programlisting">#define POPPLER_MINOR_VERSION (24)
86
+ </pre>
87
+ <p>
88
+ The major version number of the poppler header files (e.g. in poppler version
89
+ 0.1.2 this is 1.)
90
+ </p>
91
+ <p class="since">Since 0.12</p>
92
+ </div>
93
+ <hr>
94
+ <div class="refsect2">
95
+ <a name="POPPLER-MICRO-VERSION:CAPS"></a><h3>POPPLER_MICRO_VERSION</h3>
96
+ <pre class="programlisting">#define POPPLER_MICRO_VERSION (4)
97
+ </pre>
98
+ <p>
99
+ The micro version number of the poppler header files (e.g. in poppler version
100
+ 0.1.2 this is 2.)
101
+ </p>
102
+ <p class="since">Since 0.12</p>
103
+ </div>
104
+ <hr>
105
+ <div class="refsect2">
106
+ <a name="POPPLER-CHECK-VERSION:CAPS"></a><h3>POPPLER_CHECK_VERSION()</h3>
107
+ <pre class="programlisting">#define POPPLER_CHECK_VERSION(major,minor,micro)</pre>
108
+ <p>
109
+ Checks the version fo the poppler library
110
+ </p>
111
+ <div class="variablelist"><table border="0" class="variablelist">
112
+ <colgroup>
113
+ <col align="left" valign="top">
114
+ <col>
115
+ </colgroup>
116
+ <tbody>
117
+ <tr>
118
+ <td><p><span class="term"><em class="parameter"><code>major</code></em> :</span></p></td>
119
+ <td>major version (e.g. 0 for version 0.1.2)</td>
120
+ </tr>
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>
124
+ </tr>
125
+ <tr>
126
+ <td><p><span class="term"><em class="parameter"><code>micro</code></em> :</span></p></td>
127
+ <td>micro version (e.g. 2 for version 0.1.2)</td>
128
+ </tr>
129
+ <tr>
130
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
131
+ <td>
132
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/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
133
+ as or newer than the passed-in version</td>
134
+ </tr>
135
+ </tbody>
136
+ </table></div>
137
+ <p class="since">Since 0.12</p>
138
+ </div>
139
+ </div>
140
+ </div>
141
+ <div class="footer">
142
+ <hr>
143
+ Generated by GTK-Doc V1.19</div>
144
+ </body>
145
+ </html>
@@ -3,14 +3,13 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <title>poppler</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
- <link rel="start" href="index.html" title="Poppler Reference Manual">
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
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
- <link rel="next" href="poppler-poppler-document.html" title="PopplerDocument">
11
- <meta name="generator" content="GTK-Doc V1.11 (XML mode)">
10
+ <link rel="next" href="PopplerDocument.html" title="PopplerDocument">
11
+ <meta name="generator" content="GTK-Doc V1.19 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
- <link rel="chapter" href="ch01.html" title="Poppler">
14
13
  </head>
15
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
16
15
  <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
@@ -19,19 +18,15 @@
19
18
  <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
20
19
  <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
21
20
  <th width="100%" align="center">Poppler Reference Manual</th>
22
- <td><a accesskey="n" href="poppler-poppler-document.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
21
+ <td><a accesskey="n" href="PopplerDocument.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
22
  </tr>
24
23
  <tr><td colspan="5" class="shortcuts">
25
24
  <a href="#poppler-poppler.synopsis" class="shortcut">Top</a>
26
-  
27
- <a href="#poppler-poppler.description" class="shortcut">Description</a>
28
-  | 
29
- <a href="#poppler-poppler.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
-  | 
31
- <a href="#poppler-poppler.properties" class="shortcut">Properties</a>
25
+  
26
+ <a href="#poppler-poppler.description" class="shortcut">Description</a>
32
27
  </td></tr>
33
28
  </table>
34
- <div class="refentry" lang="en">
29
+ <div class="refentry">
35
30
  <a name="poppler-poppler"></a><div class="titlepage"></div>
36
31
  <div class="refnamediv"><table width="100%"><tr>
37
32
  <td valign="top">
@@ -42,96 +37,39 @@
42
37
  </tr></table></div>
43
38
  <div class="refsynopsisdiv">
44
39
  <a name="poppler-poppler.synopsis"></a><h2>Synopsis</h2>
45
- <a name="PopplerDocument"></a><a name="PopplerPage"></a><pre class="synopsis">
46
- GQuark <a class="link" href="poppler-poppler.html#poppler-error-quark" title="poppler_error_quark ()">poppler_error_quark</a> (void);
47
- #define <a class="link" href="poppler-poppler.html#POPPLER-ERROR--CAPS" title="POPPLER_ERROR">POPPLER_ERROR</a>
40
+ <pre class="synopsis">
41
+ #include &lt;poppler.h&gt;
42
+
43
+ #define <a class="link" href="poppler-poppler.html#POPPLER-ERROR:CAPS" title="POPPLER_ERROR">POPPLER_ERROR</a>
48
44
  enum <a class="link" href="poppler-poppler.html#PopplerError" title="enum PopplerError">PopplerError</a>;
49
45
  enum <a class="link" href="poppler-poppler.html#PopplerOrientation" title="enum PopplerOrientation">PopplerOrientation</a>;
50
- <a class="link" href="poppler-poppler.html#PopplerDocument-struct" title="PopplerDocument">PopplerDocument</a>;
51
- <a class="link" href="poppler-poppler.html#PopplerIndexIter" title="PopplerIndexIter">PopplerIndexIter</a>;
52
- <a class="link" href="poppler-poppler.html#PopplerFontsIter" title="PopplerFontsIter">PopplerFontsIter</a>;
53
- <a class="link" href="poppler-poppler.html#PopplerRectangle" title="PopplerRectangle">PopplerRectangle</a>;
54
- enum <a class="link" href="poppler-poppler.html#PopplerSelectionStyle" title="enum PopplerSelectionStyle">PopplerSelectionStyle</a>;
55
- enum <a class="link" href="poppler-poppler.html#PopplerPageTransitionType" title="enum PopplerPageTransitionType">PopplerPageTransitionType</a>;
56
- enum <a class="link" href="poppler-poppler.html#PopplerPageTransitionAlignment" title="enum PopplerPageTransitionAlignment">PopplerPageTransitionAlignment</a>;
57
- enum <a class="link" href="poppler-poppler.html#PopplerPageTransitionDirection" title="enum PopplerPageTransitionDirection">PopplerPageTransitionDirection</a>;
58
- <a class="link" href="poppler-poppler.html#PopplerLinkMapping" title="PopplerLinkMapping">PopplerLinkMapping</a>;
59
- <a class="link" href="poppler-poppler.html#PopplerPage-struct" title="PopplerPage">PopplerPage</a>;
60
- <a class="link" href="poppler-poppler.html#PopplerFontInfo" title="PopplerFontInfo">PopplerFontInfo</a>;
61
- <a class="link" href="poppler-poppler.html#PopplerPSFile" title="PopplerPSFile">PopplerPSFile</a>;
62
46
  enum <a class="link" href="poppler-poppler.html#PopplerBackend" title="enum PopplerBackend">PopplerBackend</a>;
63
- <a class="link" href="poppler-poppler.html#PopplerBackend" title="enum PopplerBackend">PopplerBackend</a> <a class="link" href="poppler-poppler.html#poppler-get-backend" title="poppler_get_backend ()">poppler_get_backend</a> (void);
64
- const char * <a class="link" href="poppler-poppler.html#poppler-get-version" title="poppler_get_version ()">poppler_get_version</a> (void);
65
- </pre>
66
- </div>
67
- <div class="refsect1" lang="en">
68
- <a name="poppler-poppler.object-hierarchy"></a><h2>Object Hierarchy</h2>
69
- <pre class="synopsis">
70
- GObject
71
- +----PopplerDocument
72
- </pre>
73
- <pre class="synopsis">
74
- GObject
75
- +----PopplerPage
76
- </pre>
77
- </div>
78
- <div class="refsect1" lang="en">
79
- <a name="poppler-poppler.properties"></a><h2>Properties</h2>
80
- <pre class="synopsis">
81
- "<a class="link" href="poppler-poppler.html#PopplerDocument--author" title='The "author" property'>author</a>" gchar* : Read
82
- "<a class="link" href="poppler-poppler.html#PopplerDocument--creation-date" title='The "creation-date" property'>creation-date</a>" gint : Read
83
- "<a class="link" href="poppler-poppler.html#PopplerDocument--creator" title='The "creator" property'>creator</a>" gchar* : Read
84
- "<a class="link" href="poppler-poppler.html#PopplerDocument--format" title='The "format" property'>format</a>" gchar* : Read
85
- "<a class="link" href="poppler-poppler.html#PopplerDocument--format-major" title='The "format-major" property'>format-major</a>" guint : Read
86
- "<a class="link" href="poppler-poppler.html#PopplerDocument--format-minor" title='The "format-minor" property'>format-minor</a>" guint : Read
87
- "<a class="link" href="poppler-poppler.html#PopplerDocument--keywords" title='The "keywords" property'>keywords</a>" gchar* : Read
88
- "<a class="link" href="poppler-poppler.html#PopplerDocument--linearized" title='The "linearized" property'>linearized</a>" gchar* : Read
89
- "<a class="link" href="poppler-poppler.html#PopplerDocument--metadata" title='The "metadata" property'>metadata</a>" gchar* : Read
90
- "<a class="link" href="poppler-poppler.html#PopplerDocument--mod-date" title='The "mod-date" property'>mod-date</a>" gint : Read
91
- "<a class="link" href="poppler-poppler.html#PopplerDocument--page-layout" title='The "page-layout" property'>page-layout</a>" <a class="link" href="poppler-poppler-document.html#PopplerPageLayout" title="enum PopplerPageLayout">PopplerPageLayout</a> : Read
92
- "<a class="link" href="poppler-poppler.html#PopplerDocument--page-mode" title='The "page-mode" property'>page-mode</a>" <a class="link" href="poppler-poppler-document.html#PopplerPageMode" title="enum PopplerPageMode">PopplerPageMode</a> : Read
93
- "<a class="link" href="poppler-poppler.html#PopplerDocument--permissions" title='The "permissions" property'>permissions</a>" <a class="link" href="poppler-poppler-document.html#PopplerPermissions" title="enum PopplerPermissions">PopplerPermissions</a> : Read
94
- "<a class="link" href="poppler-poppler.html#PopplerDocument--producer" title='The "producer" property'>producer</a>" gchar* : Read
95
- "<a class="link" href="poppler-poppler.html#PopplerDocument--subject" title='The "subject" property'>subject</a>" gchar* : Read
96
- "<a class="link" href="poppler-poppler.html#PopplerDocument--title" title='The "title" property'>title</a>" gchar* : Read
97
- "<a class="link" href="poppler-poppler.html#PopplerDocument--viewer-preferences" title='The "viewer-preferences" property'>viewer-preferences</a>" <a class="link" href="poppler-poppler-document.html#PopplerViewerPreferences" title="enum PopplerViewerPreferences">PopplerViewerPreferences</a> : Read
98
- "<a class="link" href="poppler-poppler.html#PopplerPage--label" title='The "label" property'>label</a>" gchar* : Read
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>);
99
57
  </pre>
100
58
  </div>
101
- <div class="refsect1" lang="en">
59
+ <div class="refsect1">
102
60
  <a name="poppler-poppler.description"></a><h2>Description</h2>
103
- <p>
104
- </p>
105
61
  </div>
106
- <div class="refsect1" lang="en">
62
+ <div class="refsect1">
107
63
  <a name="poppler-poppler.details"></a><h2>Details</h2>
108
- <div class="refsect2" lang="en">
109
- <a name="poppler-error-quark"></a><h3>poppler_error_quark ()</h3>
110
- <pre class="programlisting">GQuark poppler_error_quark (void);</pre>
111
- <p>
112
- </p>
113
- <div class="variablelist"><table border="0">
114
- <col align="left" valign="top">
115
- <tbody><tr>
116
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
117
- <td>
118
- </td>
119
- </tr></tbody>
120
- </table></div>
121
- </div>
122
- <hr>
123
- <div class="refsect2" lang="en">
124
- <a name="POPPLER-ERROR--CAPS"></a><h3>POPPLER_ERROR</h3>
64
+ <div class="refsect2">
65
+ <a name="POPPLER-ERROR:CAPS"></a><h3>POPPLER_ERROR</h3>
125
66
  <pre class="programlisting">#define POPPLER_ERROR poppler_error_quark ()
126
67
  </pre>
127
- <p>
128
- </p>
129
68
  </div>
130
69
  <hr>
131
- <div class="refsect2" lang="en">
70
+ <div class="refsect2">
132
71
  <a name="PopplerError"></a><h3>enum PopplerError</h3>
133
- <pre class="programlisting">typedef enum
134
- {
72
+ <pre class="programlisting">typedef enum {
135
73
  POPPLER_ERROR_INVALID,
136
74
  POPPLER_ERROR_ENCRYPTED,
137
75
  POPPLER_ERROR_OPEN_FILE,
@@ -140,344 +78,361 @@ const char * <a class="link" href="poppler-poppler.html#poppler-get-versi
140
78
  } PopplerError;
141
79
  </pre>
142
80
  <p>
81
+ Error codes returned by <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
143
82
  </p>
83
+ <div class="variablelist"><table border="0" class="variablelist">
84
+ <colgroup>
85
+ <col align="left" valign="top">
86
+ <col>
87
+ </colgroup>
88
+ <tbody>
89
+ <tr>
90
+ <td><p><a name="POPPLER-ERROR-INVALID:CAPS"></a><span class="term"><code class="literal">POPPLER_ERROR_INVALID</code></span></p></td>
91
+ <td>Generic error when a document opration fails
92
+ </td>
93
+ </tr>
94
+ <tr>
95
+ <td><p><a name="POPPLER-ERROR-ENCRYPTED:CAPS"></a><span class="term"><code class="literal">POPPLER_ERROR_ENCRYPTED</code></span></p></td>
96
+ <td>Document is encrypted
97
+ </td>
98
+ </tr>
99
+ <tr>
100
+ <td><p><a name="POPPLER-ERROR-OPEN-FILE:CAPS"></a><span class="term"><code class="literal">POPPLER_ERROR_OPEN_FILE</code></span></p></td>
101
+ <td>File could not be opened for writing when saving document
102
+ </td>
103
+ </tr>
104
+ <tr>
105
+ <td><p><a name="POPPLER-ERROR-BAD-CATALOG:CAPS"></a><span class="term"><code class="literal">POPPLER_ERROR_BAD_CATALOG</code></span></p></td>
106
+ <td>Failed to read the document catalog
107
+ </td>
108
+ </tr>
109
+ <tr>
110
+ <td><p><a name="POPPLER-ERROR-DAMAGED:CAPS"></a><span class="term"><code class="literal">POPPLER_ERROR_DAMAGED</code></span></p></td>
111
+ <td>Document is damaged
112
+ </td>
113
+ </tr>
114
+ </tbody>
115
+ </table></div>
144
116
  </div>
145
117
  <hr>
146
- <div class="refsect2" lang="en">
118
+ <div class="refsect2">
147
119
  <a name="PopplerOrientation"></a><h3>enum PopplerOrientation</h3>
148
- <pre class="programlisting">typedef enum
149
- {
120
+ <pre class="programlisting">typedef enum {
150
121
  POPPLER_ORIENTATION_PORTRAIT,
151
122
  POPPLER_ORIENTATION_LANDSCAPE,
152
123
  POPPLER_ORIENTATION_UPSIDEDOWN,
153
124
  POPPLER_ORIENTATION_SEASCAPE
154
125
  } PopplerOrientation;
155
126
  </pre>
156
- <p>
157
- </p>
158
- </div>
159
- <hr>
160
- <div class="refsect2" lang="en">
161
- <a name="PopplerDocument-struct"></a><h3>PopplerDocument</h3>
162
- <pre class="programlisting">typedef struct _PopplerDocument PopplerDocument;</pre>
163
- <p>
164
- </p>
165
- </div>
166
- <hr>
167
- <div class="refsect2" lang="en">
168
- <a name="PopplerIndexIter"></a><h3>PopplerIndexIter</h3>
169
- <pre class="programlisting">typedef struct _PopplerIndexIter PopplerIndexIter;</pre>
170
- <p>
171
- </p>
172
- </div>
173
- <hr>
174
- <div class="refsect2" lang="en">
175
- <a name="PopplerFontsIter"></a><h3>PopplerFontsIter</h3>
176
- <pre class="programlisting">typedef struct _PopplerFontsIter PopplerFontsIter;</pre>
177
- <p>
178
- </p>
179
- </div>
180
- <hr>
181
- <div class="refsect2" lang="en">
182
- <a name="PopplerRectangle"></a><h3>PopplerRectangle</h3>
183
- <pre class="programlisting">typedef struct {
184
- gdouble x1;
185
- gdouble y1;
186
- gdouble x2;
187
- gdouble y2;
188
- } PopplerRectangle;
189
- </pre>
190
- <p>
191
- </p>
192
- </div>
193
- <hr>
194
- <div class="refsect2" lang="en">
195
- <a name="PopplerSelectionStyle"></a><h3>enum PopplerSelectionStyle</h3>
196
- <pre class="programlisting">typedef enum
197
- {
198
- POPPLER_SELECTION_GLYPH,
199
- POPPLER_SELECTION_WORD,
200
- POPPLER_SELECTION_LINE
201
- } PopplerSelectionStyle;
202
- </pre>
203
- <p>
204
- </p>
127
+ <div class="variablelist"><table border="0" class="variablelist">
128
+ <colgroup>
129
+ <col align="left" valign="top">
130
+ <col>
131
+ </colgroup>
132
+ <tbody>
133
+ <tr>
134
+ <td><p><a name="POPPLER-ORIENTATION-PORTRAIT:CAPS"></a><span class="term"><code class="literal">POPPLER_ORIENTATION_PORTRAIT</code></span></p></td>
135
+ <td></td>
136
+ </tr>
137
+ <tr>
138
+ <td><p><a name="POPPLER-ORIENTATION-LANDSCAPE:CAPS"></a><span class="term"><code class="literal">POPPLER_ORIENTATION_LANDSCAPE</code></span></p></td>
139
+ <td></td>
140
+ </tr>
141
+ <tr>
142
+ <td><p><a name="POPPLER-ORIENTATION-UPSIDEDOWN:CAPS"></a><span class="term"><code class="literal">POPPLER_ORIENTATION_UPSIDEDOWN</code></span></p></td>
143
+ <td></td>
144
+ </tr>
145
+ <tr>
146
+ <td><p><a name="POPPLER-ORIENTATION-SEASCAPE:CAPS"></a><span class="term"><code class="literal">POPPLER_ORIENTATION_SEASCAPE</code></span></p></td>
147
+ <td></td>
148
+ </tr>
149
+ </tbody>
150
+ </table></div>
205
151
  </div>
206
152
  <hr>
207
- <div class="refsect2" lang="en">
208
- <a name="PopplerPageTransitionType"></a><h3>enum PopplerPageTransitionType</h3>
209
- <pre class="programlisting">typedef enum
210
- {
211
- POPPLER_PAGE_TRANSITION_REPLACE,
212
- POPPLER_PAGE_TRANSITION_SPLIT,
213
- POPPLER_PAGE_TRANSITION_BLINDS,
214
- POPPLER_PAGE_TRANSITION_BOX,
215
- POPPLER_PAGE_TRANSITION_WIPE,
216
- POPPLER_PAGE_TRANSITION_DISSOLVE,
217
- POPPLER_PAGE_TRANSITION_GLITTER,
218
- POPPLER_PAGE_TRANSITION_FLY,
219
- POPPLER_PAGE_TRANSITION_PUSH,
220
- POPPLER_PAGE_TRANSITION_COVER,
221
- POPPLER_PAGE_TRANSITION_UNCOVER,
222
- POPPLER_PAGE_TRANSITION_FADE
223
- } PopplerPageTransitionType;
153
+ <div class="refsect2">
154
+ <a name="PopplerBackend"></a><h3>enum PopplerBackend</h3>
155
+ <pre class="programlisting">typedef enum {
156
+ POPPLER_BACKEND_UNKNOWN,
157
+ POPPLER_BACKEND_SPLASH,
158
+ POPPLER_BACKEND_CAIRO
159
+ } PopplerBackend;
224
160
  </pre>
225
- <p>
226
- </p>
161
+ <div class="variablelist"><table border="0" class="variablelist">
162
+ <colgroup>
163
+ <col align="left" valign="top">
164
+ <col>
165
+ </colgroup>
166
+ <tbody>
167
+ <tr>
168
+ <td><p><a name="POPPLER-BACKEND-UNKNOWN:CAPS"></a><span class="term"><code class="literal">POPPLER_BACKEND_UNKNOWN</code></span></p></td>
169
+ <td></td>
170
+ </tr>
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>
174
+ </tr>
175
+ <tr>
176
+ <td><p><a name="POPPLER-BACKEND-CAIRO:CAPS"></a><span class="term"><code class="literal">POPPLER_BACKEND_CAIRO</code></span></p></td>
177
+ <td></td>
178
+ </tr>
179
+ </tbody>
180
+ </table></div>
227
181
  </div>
228
182
  <hr>
229
- <div class="refsect2" lang="en">
230
- <a name="PopplerPageTransitionAlignment"></a><h3>enum PopplerPageTransitionAlignment</h3>
231
- <pre class="programlisting">typedef enum
232
- {
233
- POPPLER_PAGE_TRANSITION_HORIZONTAL,
234
- POPPLER_PAGE_TRANSITION_VERTICAL
235
- } PopplerPageTransitionAlignment;
183
+ <div class="refsect2">
184
+ <a name="PopplerColor"></a><h3>PopplerColor</h3>
185
+ <pre class="programlisting">typedef struct {
186
+ guint16 red;
187
+ guint16 green;
188
+ guint16 blue;
189
+ } PopplerColor;
236
190
  </pre>
237
191
  <p>
192
+ A <a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a> describes a RGB color. Color components
193
+ are values between 0 and 65535
238
194
  </p>
195
+ <div class="variablelist"><table border="0" class="variablelist">
196
+ <colgroup>
197
+ <col align="left" valign="top">
198
+ <col>
199
+ </colgroup>
200
+ <tbody>
201
+ <tr>
202
+ <td><p><span class="term"><span class="type">guint16</span> <em class="structfield"><code><a name="PopplerColor.red"></a>red</code></em>;</span></p></td>
203
+ <td>the red componment of color</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>
214
+ </table></div>
239
215
  </div>
240
216
  <hr>
241
- <div class="refsect2" lang="en">
242
- <a name="PopplerPageTransitionDirection"></a><h3>enum PopplerPageTransitionDirection</h3>
243
- <pre class="programlisting">typedef enum
244
- {
245
- POPPLER_PAGE_TRANSITION_INWARD,
246
- POPPLER_PAGE_TRANSITION_OUTWARD
247
- } PopplerPageTransitionDirection;
217
+ <div class="refsect2">
218
+ <a name="PopplerPrintFlags"></a><h3>enum PopplerPrintFlags</h3>
219
+ <pre class="programlisting">typedef enum {
220
+ POPPLER_PRINT_DOCUMENT = 0,
221
+ POPPLER_PRINT_MARKUP_ANNOTS = 1 &lt;&lt; 0,
222
+ POPPLER_PRINT_STAMP_ANNOTS_ONLY = 1 &lt;&lt; 1,
223
+ POPPLER_PRINT_ALL = POPPLER_PRINT_MARKUP_ANNOTS
224
+ } PopplerPrintFlags;
248
225
  </pre>
249
226
  <p>
227
+ Printing flags
250
228
  </p>
229
+ <div class="variablelist"><table border="0" class="variablelist">
230
+ <colgroup>
231
+ <col align="left" valign="top">
232
+ <col>
233
+ </colgroup>
234
+ <tbody>
235
+ <tr>
236
+ <td><p><a name="POPPLER-PRINT-DOCUMENT:CAPS"></a><span class="term"><code class="literal">POPPLER_PRINT_DOCUMENT</code></span></p></td>
237
+ <td>print main document contents
238
+ </td>
239
+ </tr>
240
+ <tr>
241
+ <td><p><a name="POPPLER-PRINT-MARKUP-ANNOTS:CAPS"></a><span class="term"><code class="literal">POPPLER_PRINT_MARKUP_ANNOTS</code></span></p></td>
242
+ <td>print document and markup annotations
243
+ </td>
244
+ </tr>
245
+ <tr>
246
+ <td><p><a name="POPPLER-PRINT-STAMP-ANNOTS-ONLY:CAPS"></a><span class="term"><code class="literal">POPPLER_PRINT_STAMP_ANNOTS_ONLY</code></span></p></td>
247
+ <td>print document and only stamp annotations
248
+ </td>
249
+ </tr>
250
+ <tr>
251
+ <td><p><a name="POPPLER-PRINT-ALL:CAPS"></a><span class="term"><code class="literal">POPPLER_PRINT_ALL</code></span></p></td>
252
+ <td>print main document contents and all markup annotations
253
+ </td>
254
+ </tr>
255
+ </tbody>
256
+ </table></div>
257
+ <p class="since">Since 0.16</p>
251
258
  </div>
252
259
  <hr>
253
- <div class="refsect2" lang="en">
254
- <a name="PopplerLinkMapping"></a><h3>PopplerLinkMapping</h3>
255
- <pre class="programlisting">typedef struct {
256
- PopplerRectangle area;
257
- PopplerAction *action;
258
- } PopplerLinkMapping;
260
+ <div class="refsect2">
261
+ <a name="PopplerFindFlags"></a><h3>enum PopplerFindFlags</h3>
262
+ <pre class="programlisting">typedef enum {
263
+ POPPLER_FIND_DEFAULT = 0,
264
+ POPPLER_FIND_CASE_SENSITIVE = 1 &lt;&lt; 0,
265
+ POPPLER_FIND_BACKWARDS = 1 &lt;&lt; 1,
266
+ POPPLER_FIND_WHOLE_WORDS_ONLY = 1 &lt;&lt; 2
267
+ } PopplerFindFlags;
259
268
  </pre>
260
269
  <p>
270
+ Flags using while searching text in a page
261
271
  </p>
272
+ <div class="variablelist"><table border="0" class="variablelist">
273
+ <colgroup>
274
+ <col align="left" valign="top">
275
+ <col>
276
+ </colgroup>
277
+ <tbody>
278
+ <tr>
279
+ <td><p><a name="POPPLER-FIND-DEFAULT:CAPS"></a><span class="term"><code class="literal">POPPLER_FIND_DEFAULT</code></span></p></td>
280
+ <td></td>
281
+ </tr>
282
+ <tr>
283
+ <td><p><a name="POPPLER-FIND-CASE-SENSITIVE:CAPS"></a><span class="term"><code class="literal">POPPLER_FIND_CASE_SENSITIVE</code></span></p></td>
284
+ <td>do case sensitive search
285
+ </td>
286
+ </tr>
287
+ <tr>
288
+ <td><p><a name="POPPLER-FIND-BACKWARDS:CAPS"></a><span class="term"><code class="literal">POPPLER_FIND_BACKWARDS</code></span></p></td>
289
+ <td>search backwards
290
+ </td>
291
+ </tr>
292
+ <tr>
293
+ <td><p><a name="POPPLER-FIND-WHOLE-WORDS-ONLY:CAPS"></a><span class="term"><code class="literal">POPPLER_FIND_WHOLE_WORDS_ONLY</code></span></p></td>
294
+ <td>search only whole words
295
+ </td>
296
+ </tr>
297
+ </tbody>
298
+ </table></div>
299
+ <p class="since">Since 0.22</p>
262
300
  </div>
263
301
  <hr>
264
- <div class="refsect2" lang="en">
265
- <a name="PopplerPage-struct"></a><h3>PopplerPage</h3>
266
- <pre class="programlisting">typedef struct _PopplerPage PopplerPage;</pre>
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>
267
305
  <p>
306
+ Returns the backend compiled into the poppler library.
268
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>
269
318
  </div>
270
319
  <hr>
271
- <div class="refsect2" lang="en">
272
- <a name="PopplerFontInfo"></a><h3>PopplerFontInfo</h3>
273
- <pre class="programlisting">typedef struct {
274
- GObject parent_instance;
275
- PopplerDocument *document;
276
- FontInfoScanner *scanner;
277
- } PopplerFontInfo;
278
- </pre>
320
+ <div class="refsect2">
321
+ <a name="poppler-get-version"></a><h3>poppler_get_version ()</h3>
322
+ <pre class="programlisting">const <span class="returnvalue">char</span> * poppler_get_version (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
279
323
  <p>
324
+ Returns the version of poppler in use. This result is not to be freed.
280
325
  </p>
326
+ <div class="variablelist"><table border="0" class="variablelist">
327
+ <colgroup>
328
+ <col align="left" valign="top">
329
+ <col>
330
+ </colgroup>
331
+ <tbody><tr>
332
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
333
+ <td>the version of poppler.</td>
334
+ </tr></tbody>
335
+ </table></div>
281
336
  </div>
282
337
  <hr>
283
- <div class="refsect2" lang="en">
284
- <a name="PopplerPSFile"></a><h3>PopplerPSFile</h3>
285
- <pre class="programlisting">typedef struct {
286
- GObject parent_instance;
287
-
288
- PopplerDocument *document;
289
- PSOutputDev *out;
290
- char *filename;
291
- int first_page;
292
- int last_page;
293
- double paper_width;
294
- double paper_height;
295
- gboolean duplex;
296
- } PopplerPSFile;
297
- </pre>
338
+ <div class="refsect2">
339
+ <a name="poppler-date-parse"></a><h3>poppler_date_parse ()</h3>
340
+ <pre class="programlisting"><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> poppler_date_parse (<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>,
341
+ <em class="parameter"><code><span class="type">time_t</span> *timet</code></em>);</pre>
298
342
  <p>
343
+ Parses a PDF format date string and converts it to a <span class="type">time_t</span>. Returns <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a>
344
+ if the parsing fails or the input string is not a valid PDF format date string
299
345
  </p>
346
+ <div class="variablelist"><table border="0" class="variablelist">
347
+ <colgroup>
348
+ <col align="left" valign="top">
349
+ <col>
350
+ </colgroup>
351
+ <tbody>
352
+ <tr>
353
+ <td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
354
+ <td>string to parse</td>
355
+ </tr>
356
+ <tr>
357
+ <td><p><span class="term"><em class="parameter"><code>timet</code></em> :</span></p></td>
358
+ <td>an uninitialized <span class="type">time_t</span>
359
+ </td>
360
+ </tr>
361
+ <tr>
362
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
363
+ <td>
364
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a>, if <em class="parameter"><code>timet</code></em> was set</td>
365
+ </tr>
366
+ </tbody>
367
+ </table></div>
368
+ <p class="since">Since 0.12</p>
300
369
  </div>
301
370
  <hr>
302
- <div class="refsect2" lang="en">
303
- <a name="PopplerBackend"></a><h3>enum PopplerBackend</h3>
304
- <pre class="programlisting">typedef enum
305
- {
306
- POPPLER_BACKEND_UNKNOWN,
307
- POPPLER_BACKEND_SPLASH,
308
- POPPLER_BACKEND_CAIRO
309
- } PopplerBackend;
310
- </pre>
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>
311
374
  <p>
375
+ Creates a new <a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a>
312
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>
313
387
  </div>
314
388
  <hr>
315
- <div class="refsect2" lang="en">
316
- <a name="poppler-get-backend"></a><h3>poppler_get_backend ()</h3>
317
- <pre class="programlisting"><a class="link" href="poppler-poppler.html#PopplerBackend" title="enum PopplerBackend">PopplerBackend</a> poppler_get_backend (void);</pre>
318
- <p>
319
- Returns the backend compiled into the poppler library.</p>
389
+ <div class="refsect2">
390
+ <a name="poppler-color-copy"></a><h3>poppler_color_copy ()</h3>
391
+ <pre class="programlisting"><a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="returnvalue">PopplerColor</span></a> * 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>
320
392
  <p>
393
+ Creates a copy of <em class="parameter"><code>color</code></em>
321
394
  </p>
322
- <div class="variablelist"><table border="0">
395
+ <div class="variablelist"><table border="0" class="variablelist">
396
+ <colgroup>
323
397
  <col align="left" valign="top">
324
- <tbody><tr>
398
+ <col>
399
+ </colgroup>
400
+ <tbody>
401
+ <tr>
402
+ <td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
403
+ <td>a <a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a> to copy</td>
404
+ </tr>
405
+ <tr>
325
406
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
326
- <td> The backend used by poppler
407
+ <td>a new allocated copy of <em class="parameter"><code>color</code></em>
327
408
  </td>
328
- </tr></tbody>
409
+ </tr>
410
+ </tbody>
329
411
  </table></div>
330
412
  </div>
331
413
  <hr>
332
- <div class="refsect2" lang="en">
333
- <a name="poppler-get-version"></a><h3>poppler_get_version ()</h3>
334
- <pre class="programlisting">const char * poppler_get_version (void);</pre>
335
- <p>
336
- Returns the version of poppler in use. This result is not to be freed.</p>
414
+ <div class="refsect2">
415
+ <a name="poppler-color-free"></a><h3>poppler_color_free ()</h3>
416
+ <pre class="programlisting"><span class="returnvalue">void</span> 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>
337
417
  <p>
418
+ Frees the given <a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a>
338
419
  </p>
339
- <div class="variablelist"><table border="0">
420
+ <div class="variablelist"><table border="0" class="variablelist">
421
+ <colgroup>
340
422
  <col align="left" valign="top">
423
+ <col>
424
+ </colgroup>
341
425
  <tbody><tr>
342
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
343
- <td> the version of poppler.
426
+ <td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
427
+ <td>a <a class="link" href="poppler-poppler.html#PopplerColor" title="PopplerColor"><span class="type">PopplerColor</span></a>
344
428
  </td>
345
429
  </tr></tbody>
346
430
  </table></div>
347
431
  </div>
348
432
  </div>
349
- <div class="refsect1" lang="en">
350
- <a name="poppler-poppler.property-details"></a><h2>Property Details</h2>
351
- <div class="refsect2" lang="en">
352
- <a name="PopplerDocument--author"></a><h3>The <code class="literal">"author"</code> property</h3>
353
- <pre class="programlisting"> "author" gchar* : Read</pre>
354
- <p>The author of the document.</p>
355
- <p>Default value: NULL</p>
356
- </div>
357
- <hr>
358
- <div class="refsect2" lang="en">
359
- <a name="PopplerDocument--creation-date"></a><h3>The <code class="literal">"creation-date"</code> property</h3>
360
- <pre class="programlisting"> "creation-date" gint : Read</pre>
361
- <p>The date and time the document was created.</p>
362
- <p>Allowed values: &gt;= 0</p>
363
- <p>Default value: 0</p>
364
- </div>
365
- <hr>
366
- <div class="refsect2" lang="en">
367
- <a name="PopplerDocument--creator"></a><h3>The <code class="literal">"creator"</code> property</h3>
368
- <pre class="programlisting"> "creator" gchar* : Read</pre>
369
- <p>The software that created the document.</p>
370
- <p>Default value: NULL</p>
371
- </div>
372
- <hr>
373
- <div class="refsect2" lang="en">
374
- <a name="PopplerDocument--format"></a><h3>The <code class="literal">"format"</code> property</h3>
375
- <pre class="programlisting"> "format" gchar* : Read</pre>
376
- <p>The PDF version of the document.</p>
377
- <p>Default value: NULL</p>
378
- </div>
379
- <hr>
380
- <div class="refsect2" lang="en">
381
- <a name="PopplerDocument--format-major"></a><h3>The <code class="literal">"format-major"</code> property</h3>
382
- <pre class="programlisting"> "format-major" guint : Read</pre>
383
- <p>The PDF major version number of the document.</p>
384
- <p>Default value: 1</p>
385
- </div>
386
- <hr>
387
- <div class="refsect2" lang="en">
388
- <a name="PopplerDocument--format-minor"></a><h3>The <code class="literal">"format-minor"</code> property</h3>
389
- <pre class="programlisting"> "format-minor" guint : Read</pre>
390
- <p>The PDF minor version number of the document.</p>
391
- <p>Default value: 0</p>
392
- </div>
393
- <hr>
394
- <div class="refsect2" lang="en">
395
- <a name="PopplerDocument--keywords"></a><h3>The <code class="literal">"keywords"</code> property</h3>
396
- <pre class="programlisting"> "keywords" gchar* : Read</pre>
397
- <p>Keywords.</p>
398
- <p>Default value: NULL</p>
399
- </div>
400
- <hr>
401
- <div class="refsect2" lang="en">
402
- <a name="PopplerDocument--linearized"></a><h3>The <code class="literal">"linearized"</code> property</h3>
403
- <pre class="programlisting"> "linearized" gchar* : Read</pre>
404
- <p>Is the document optimized for web viewing?.</p>
405
- <p>Default value: NULL</p>
406
- </div>
407
- <hr>
408
- <div class="refsect2" lang="en">
409
- <a name="PopplerDocument--metadata"></a><h3>The <code class="literal">"metadata"</code> property</h3>
410
- <pre class="programlisting"> "metadata" gchar* : Read</pre>
411
- <p>Embedded XML metadata.</p>
412
- <p>Default value: NULL</p>
413
- </div>
414
- <hr>
415
- <div class="refsect2" lang="en">
416
- <a name="PopplerDocument--mod-date"></a><h3>The <code class="literal">"mod-date"</code> property</h3>
417
- <pre class="programlisting"> "mod-date" gint : Read</pre>
418
- <p>The date and time the document was modified.</p>
419
- <p>Allowed values: &gt;= 0</p>
420
- <p>Default value: 0</p>
421
- </div>
422
- <hr>
423
- <div class="refsect2" lang="en">
424
- <a name="PopplerDocument--page-layout"></a><h3>The <code class="literal">"page-layout"</code> property</h3>
425
- <pre class="programlisting"> "page-layout" <a class="link" href="poppler-poppler-document.html#PopplerPageLayout" title="enum PopplerPageLayout">PopplerPageLayout</a> : Read</pre>
426
- <p>Initial Page Layout.</p>
427
- <p>Default value: POPPLER_PAGE_LAYOUT_UNSET</p>
428
- </div>
429
- <hr>
430
- <div class="refsect2" lang="en">
431
- <a name="PopplerDocument--page-mode"></a><h3>The <code class="literal">"page-mode"</code> property</h3>
432
- <pre class="programlisting"> "page-mode" <a class="link" href="poppler-poppler-document.html#PopplerPageMode" title="enum PopplerPageMode">PopplerPageMode</a> : Read</pre>
433
- <p>Page Mode.</p>
434
- <p>Default value: POPPLER_PAGE_MODE_UNSET</p>
435
- </div>
436
- <hr>
437
- <div class="refsect2" lang="en">
438
- <a name="PopplerDocument--permissions"></a><h3>The <code class="literal">"permissions"</code> property</h3>
439
- <pre class="programlisting"> "permissions" <a class="link" href="poppler-poppler-document.html#PopplerPermissions" title="enum PopplerPermissions">PopplerPermissions</a> : Read</pre>
440
- <p>Permissions.</p>
441
- <p>Default value: POPPLER_PERMISSIONS_OK_TO_PRINT|POPPLER_PERMISSIONS_OK_TO_MODIFY|POPPLER_PERMISSIONS_OK_TO_COPY|POPPLER_PERMISSIONS_OK_TO_ADD_NOTES|POPPLER_PERMISSIONS_OK_TO_FILL_FORM</p>
442
- </div>
443
- <hr>
444
- <div class="refsect2" lang="en">
445
- <a name="PopplerDocument--producer"></a><h3>The <code class="literal">"producer"</code> property</h3>
446
- <pre class="programlisting"> "producer" gchar* : Read</pre>
447
- <p>The software that converted the document.</p>
448
- <p>Default value: NULL</p>
449
- </div>
450
- <hr>
451
- <div class="refsect2" lang="en">
452
- <a name="PopplerDocument--subject"></a><h3>The <code class="literal">"subject"</code> property</h3>
453
- <pre class="programlisting"> "subject" gchar* : Read</pre>
454
- <p>Subjects the document touches.</p>
455
- <p>Default value: NULL</p>
456
- </div>
457
- <hr>
458
- <div class="refsect2" lang="en">
459
- <a name="PopplerDocument--title"></a><h3>The <code class="literal">"title"</code> property</h3>
460
- <pre class="programlisting"> "title" gchar* : Read</pre>
461
- <p>The title of the document.</p>
462
- <p>Default value: NULL</p>
463
- </div>
464
- <hr>
465
- <div class="refsect2" lang="en">
466
- <a name="PopplerDocument--viewer-preferences"></a><h3>The <code class="literal">"viewer-preferences"</code> property</h3>
467
- <pre class="programlisting"> "viewer-preferences" <a class="link" href="poppler-poppler-document.html#PopplerViewerPreferences" title="enum PopplerViewerPreferences">PopplerViewerPreferences</a> : Read</pre>
468
- <p>Viewer Preferences.</p>
469
- </div>
470
- <hr>
471
- <div class="refsect2" lang="en">
472
- <a name="PopplerPage--label"></a><h3>The <code class="literal">"label"</code> property</h3>
473
- <pre class="programlisting"> "label" gchar* : Read</pre>
474
- <p>The label of the page.</p>
475
- <p>Default value: NULL</p>
476
- </div>
477
- </div>
478
433
  </div>
479
434
  <div class="footer">
480
435
  <hr>
481
- Generated by GTK-Doc V1.11</div>
436
+ Generated by GTK-Doc V1.19</div>
482
437
  </body>
483
- </html>
438
+ </html>