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,214 @@
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>PopplerAttachment</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-PopplerAction.html" title="PopplerAction">
10
+ <link rel="next" href="PopplerFormField.html" title="PoppplerFormField">
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="poppler-PopplerAction.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="PopplerFormField.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="#PopplerAttachment.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#PopplerAttachment.description" class="shortcut">Description</a>
27
+  | 
28
+ <a href="#PopplerAttachment.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
+ </td></tr>
30
+ </table>
31
+ <div class="refentry">
32
+ <a name="PopplerAttachment"></a><div class="titlepage"></div>
33
+ <div class="refnamediv"><table width="100%"><tr>
34
+ <td valign="top">
35
+ <h2><span class="refentrytitle"><a name="PopplerAttachment.top_of_page"></a>PopplerAttachment</span></h2>
36
+ <p>PopplerAttachment — Attachments</p>
37
+ </td>
38
+ <td valign="top" align="right"></td>
39
+ </tr></table></div>
40
+ <div class="refsynopsisdiv">
41
+ <a name="PopplerAttachment.synopsis"></a><h2>Synopsis</h2>
42
+ <pre class="synopsis">
43
+ #include &lt;poppler.h&gt;
44
+
45
+ <a class="link" href="PopplerAttachment.html#PopplerAttachment-struct" title="PopplerAttachment">PopplerAttachment</a>;
46
+ <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="PopplerAttachment.html#PopplerAttachmentSaveFunc" title="PopplerAttachmentSaveFunc ()">*PopplerAttachmentSaveFunc</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> *buf</code></em>,
47
+ <em class="parameter"><code><span class="type">gsize</span> count</code></em>,
48
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
49
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
50
+ <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="PopplerAttachment.html#poppler-attachment-save" title="poppler_attachment_save ()">poppler_attachment_save</a> (<em class="parameter"><code><a class="link" href="PopplerAttachment.html" title="PopplerAttachment"><span class="type">PopplerAttachment</span></a> *attachment</code></em>,
51
+ <em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
52
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
53
+ <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="PopplerAttachment.html#poppler-attachment-save-to-callback" title="poppler_attachment_save_to_callback ()">poppler_attachment_save_to_callback</a> (<em class="parameter"><code><a class="link" href="PopplerAttachment.html" title="PopplerAttachment"><span class="type">PopplerAttachment</span></a> *attachment</code></em>,
54
+ <em class="parameter"><code><a class="link" href="PopplerAttachment.html#PopplerAttachmentSaveFunc" title="PopplerAttachmentSaveFunc ()"><span class="type">PopplerAttachmentSaveFunc</span></a> save_func</code></em>,
55
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
56
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
57
+ </pre>
58
+ </div>
59
+ <div class="refsect1">
60
+ <a name="PopplerAttachment.object-hierarchy"></a><h2>Object Hierarchy</h2>
61
+ <pre class="synopsis">
62
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
63
+ +----PopplerAttachment
64
+ </pre>
65
+ </div>
66
+ <div class="refsect1">
67
+ <a name="PopplerAttachment.description"></a><h2>Description</h2>
68
+ </div>
69
+ <div class="refsect1">
70
+ <a name="PopplerAttachment.details"></a><h2>Details</h2>
71
+ <div class="refsect2">
72
+ <a name="PopplerAttachment-struct"></a><h3>PopplerAttachment</h3>
73
+ <pre class="programlisting">typedef struct _PopplerAttachment PopplerAttachment;</pre>
74
+ </div>
75
+ <hr>
76
+ <div class="refsect2">
77
+ <a name="PopplerAttachmentSaveFunc"></a><h3>PopplerAttachmentSaveFunc ()</h3>
78
+ <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> (*PopplerAttachmentSaveFunc) (<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> *buf</code></em>,
79
+ <em class="parameter"><code><span class="type">gsize</span> count</code></em>,
80
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
81
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
82
+ <p>
83
+ Specifies the type of the function passed to
84
+ <a class="link" href="PopplerAttachment.html#poppler-attachment-save-to-callback" title="poppler_attachment_save_to_callback ()"><code class="function">poppler_attachment_save_to_callback()</code></a>. It is called once for each block of
85
+ bytes that is "written" by <a class="link" href="PopplerAttachment.html#poppler-attachment-save-to-callback" title="poppler_attachment_save_to_callback ()"><code class="function">poppler_attachment_save_to_callback()</code></a>. If
86
+ successful it should return <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 an error occurs it should set
87
+ <em class="parameter"><code>error</code></em> and return <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, in which case <a class="link" href="PopplerAttachment.html#poppler-attachment-save-to-callback" title="poppler_attachment_save_to_callback ()"><code class="function">poppler_attachment_save_to_callback()</code></a>
88
+ will fail with the same error.
89
+ </p>
90
+ <div class="variablelist"><table border="0" class="variablelist">
91
+ <colgroup>
92
+ <col align="left" valign="top">
93
+ <col>
94
+ </colgroup>
95
+ <tbody>
96
+ <tr>
97
+ <td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
98
+ <td>buffer containing
99
+ bytes to be written. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span>
100
+ </td>
101
+ </tr>
102
+ <tr>
103
+ <td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td>
104
+ <td>number of bytes in <em class="parameter"><code>buf</code></em>.</td>
105
+ </tr>
106
+ <tr>
107
+ <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
108
+ <td>user data passed to <a class="link" href="PopplerAttachment.html#poppler-attachment-save-to-callback" title="poppler_attachment_save_to_callback ()"><code class="function">poppler_attachment_save_to_callback()</code></a>. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span>
109
+ </td>
110
+ </tr>
111
+ <tr>
112
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
113
+ <td>GError to set on error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
114
+ </td>
115
+ </tr>
116
+ <tr>
117
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
118
+ <td>
119
+ <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 successful, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> (with <em class="parameter"><code>error</code></em> set) if failed.</td>
120
+ </tr>
121
+ </tbody>
122
+ </table></div>
123
+ </div>
124
+ <hr>
125
+ <div class="refsect2">
126
+ <a name="poppler-attachment-save"></a><h3>poppler_attachment_save ()</h3>
127
+ <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_attachment_save (<em class="parameter"><code><a class="link" href="PopplerAttachment.html" title="PopplerAttachment"><span class="type">PopplerAttachment</span></a> *attachment</code></em>,
128
+ <em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
129
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
130
+ <p>
131
+ Saves <em class="parameter"><code>attachment</code></em> to a file indicated by <em class="parameter"><code>filename</code></em>. If <em class="parameter"><code>error</code></em> is set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
132
+ will be returned. Possible errors include those in the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domain
133
+ and whatever the save function generates.
134
+ </p>
135
+ <div class="variablelist"><table border="0" class="variablelist">
136
+ <colgroup>
137
+ <col align="left" valign="top">
138
+ <col>
139
+ </colgroup>
140
+ <tbody>
141
+ <tr>
142
+ <td><p><span class="term"><em class="parameter"><code>attachment</code></em> :</span></p></td>
143
+ <td>A <a class="link" href="PopplerAttachment.html" title="PopplerAttachment"><span class="type">PopplerAttachment</span></a>.</td>
144
+ </tr>
145
+ <tr>
146
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
147
+ <td>name of file to save</td>
148
+ </tr>
149
+ <tr>
150
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
151
+ <td>return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
152
+ </td>
153
+ </tr>
154
+ <tr>
155
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
156
+ <td>
157
+ <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 file successfully saved</td>
158
+ </tr>
159
+ </tbody>
160
+ </table></div>
161
+ </div>
162
+ <hr>
163
+ <div class="refsect2">
164
+ <a name="poppler-attachment-save-to-callback"></a><h3>poppler_attachment_save_to_callback ()</h3>
165
+ <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_attachment_save_to_callback (<em class="parameter"><code><a class="link" href="PopplerAttachment.html" title="PopplerAttachment"><span class="type">PopplerAttachment</span></a> *attachment</code></em>,
166
+ <em class="parameter"><code><a class="link" href="PopplerAttachment.html#PopplerAttachmentSaveFunc" title="PopplerAttachmentSaveFunc ()"><span class="type">PopplerAttachmentSaveFunc</span></a> save_func</code></em>,
167
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
168
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
169
+ <p>
170
+ Saves <em class="parameter"><code>attachment</code></em> by feeding the produced data to <em class="parameter"><code>save_func</code></em>. Can be used
171
+ when you want to store the attachment to something other than a file, such as
172
+ an in-memory buffer or a socket. If <em class="parameter"><code>error</code></em> is set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be
173
+ returned. Possible errors include those in the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domain and
174
+ whatever the save function generates.
175
+ </p>
176
+ <div class="variablelist"><table border="0" class="variablelist">
177
+ <colgroup>
178
+ <col align="left" valign="top">
179
+ <col>
180
+ </colgroup>
181
+ <tbody>
182
+ <tr>
183
+ <td><p><span class="term"><em class="parameter"><code>attachment</code></em> :</span></p></td>
184
+ <td>A <a class="link" href="PopplerAttachment.html" title="PopplerAttachment"><span class="type">PopplerAttachment</span></a>.</td>
185
+ </tr>
186
+ <tr>
187
+ <td><p><span class="term"><em class="parameter"><code>save_func</code></em> :</span></p></td>
188
+ <td>a function that is called to save each block of data that the save routine generates. <span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span>
189
+ </td>
190
+ </tr>
191
+ <tr>
192
+ <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
193
+ <td>user data to pass to the save function.</td>
194
+ </tr>
195
+ <tr>
196
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
197
+ <td>return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
198
+ </td>
199
+ </tr>
200
+ <tr>
201
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
202
+ <td>
203
+ <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 save successfully completed</td>
204
+ </tr>
205
+ </tbody>
206
+ </table></div>
207
+ </div>
208
+ </div>
209
+ </div>
210
+ <div class="footer">
211
+ <hr>
212
+ Generated by GTK-Doc V1.19</div>
213
+ </body>
214
+ </html>
@@ -0,0 +1,2587 @@
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>PopplerDocument</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-poppler.html" title="poppler">
10
+ <link rel="next" href="PopplerPage.html" title="PopplerPage">
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="poppler-poppler.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="PopplerPage.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="#PopplerDocument.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#PopplerDocument.description" class="shortcut">Description</a>
27
+  | 
28
+ <a href="#PopplerDocument.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
+  | 
30
+ <a href="#PopplerDocument.properties" class="shortcut">Properties</a>
31
+ </td></tr>
32
+ </table>
33
+ <div class="refentry">
34
+ <a name="PopplerDocument"></a><div class="titlepage"></div>
35
+ <div class="refnamediv"><table width="100%"><tr>
36
+ <td valign="top">
37
+ <h2><span class="refentrytitle"><a name="PopplerDocument.top_of_page"></a>PopplerDocument</span></h2>
38
+ <p>PopplerDocument — Information about a document</p>
39
+ </td>
40
+ <td valign="top" align="right"></td>
41
+ </tr></table></div>
42
+ <div class="refsynopsisdiv">
43
+ <a name="PopplerDocument.synopsis"></a><h2>Synopsis</h2>
44
+ <pre class="synopsis">
45
+ #include &lt;poppler.h&gt;
46
+
47
+ <a class="link" href="PopplerDocument.html#PopplerDocument-struct" title="PopplerDocument">PopplerDocument</a>;
48
+ <a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter">PopplerIndexIter</a>;
49
+ <a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter">PopplerFontsIter</a>;
50
+ <a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter">PopplerLayersIter</a>;
51
+ enum <a class="link" href="PopplerDocument.html#PopplerPageLayout" title="enum PopplerPageLayout">PopplerPageLayout</a>;
52
+ enum <a class="link" href="PopplerDocument.html#PopplerPageMode" title="enum PopplerPageMode">PopplerPageMode</a>;
53
+ <a class="link" href="PopplerDocument.html#PopplerFontInfo" title="PopplerFontInfo">PopplerFontInfo</a>;
54
+ enum <a class="link" href="PopplerDocument.html#PopplerFontType" title="enum PopplerFontType">PopplerFontType</a>;
55
+ <a class="link" href="PopplerDocument.html#PopplerPSFile" title="PopplerPSFile">PopplerPSFile</a>;
56
+ enum <a class="link" href="PopplerDocument.html#PopplerViewerPreferences" title="enum PopplerViewerPreferences">PopplerViewerPreferences</a>;
57
+ enum <a class="link" href="PopplerDocument.html#PopplerPermissions" title="enum PopplerPermissions">PopplerPermissions</a>;
58
+ <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-new-from-file" title="poppler_document_new_from_file ()">poppler_document_new_from_file</a> (<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
59
+ <em class="parameter"><code>const <span class="type">char</span> *password</code></em>,
60
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
61
+ <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-new-from-data" title="poppler_document_new_from_data ()">poppler_document_new_from_data</a> (<em class="parameter"><code><span class="type">char</span> *data</code></em>,
62
+ <em class="parameter"><code><span class="type">int</span> length</code></em>,
63
+ <em class="parameter"><code>const <span class="type">char</span> *password</code></em>,
64
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
65
+ <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-new-from-stream" title="poppler_document_new_from_stream ()">poppler_document_new_from_stream</a> (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="type">GInputStream</span></a> *stream</code></em>,
66
+ <em class="parameter"><code><span class="type">goffset</span> length</code></em>,
67
+ <em class="parameter"><code>const <span class="type">char</span> *password</code></em>,
68
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
69
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
70
+ <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-new-from-gfile" title="poppler_document_new_from_gfile ()">poppler_document_new_from_gfile</a> (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
71
+ <em class="parameter"><code>const <span class="type">char</span> *password</code></em>,
72
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
73
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
74
+ <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="PopplerDocument.html#poppler-document-save" title="poppler_document_save ()">poppler_document_save</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
75
+ <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
76
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
77
+ <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="PopplerDocument.html#poppler-document-save-a-copy" title="poppler_document_save_a_copy ()">poppler_document_save_a_copy</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
78
+ <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
79
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
80
+ <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="PopplerDocument.html#poppler-document-get-id" title="poppler_document_get_id ()">poppler_document_get_id</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
81
+ <em class="parameter"><code><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> **permanent_id</code></em>,
82
+ <em class="parameter"><code><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> **update_id</code></em>);
83
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-get-pdf-version-string" title="poppler_document_get_pdf_version_string ()">poppler_document_get_pdf_version_string</a>
84
+ (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
85
+ <span class="returnvalue">void</span> <a class="link" href="PopplerDocument.html#poppler-document-get-pdf-version" title="poppler_document_get_pdf_version ()">poppler_document_get_pdf_version</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
86
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *major_version</code></em>,
87
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *minor_version</code></em>);
88
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-get-title" title="poppler_document_get_title ()">poppler_document_get_title</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
89
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-get-author" title="poppler_document_get_author ()">poppler_document_get_author</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
90
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-get-subject" title="poppler_document_get_subject ()">poppler_document_get_subject</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
91
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-get-keywords" title="poppler_document_get_keywords ()">poppler_document_get_keywords</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
92
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-get-creator" title="poppler_document_get_creator ()">poppler_document_get_creator</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
93
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-get-producer" title="poppler_document_get_producer ()">poppler_document_get_producer</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
94
+ <span class="returnvalue">time_t</span> <a class="link" href="PopplerDocument.html#poppler-document-get-creation-date" title="poppler_document_get_creation_date ()">poppler_document_get_creation_date</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
95
+ <span class="returnvalue">time_t</span> <a class="link" href="PopplerDocument.html#poppler-document-get-modification-date" title="poppler_document_get_modification_date ()">poppler_document_get_modification_date</a>
96
+ (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
97
+ <a class="link" href="PopplerDocument.html#PopplerPageLayout" title="enum PopplerPageLayout"><span class="returnvalue">PopplerPageLayout</span></a> <a class="link" href="PopplerDocument.html#poppler-document-get-page-layout" title="poppler_document_get_page_layout ()">poppler_document_get_page_layout</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
98
+ <a class="link" href="PopplerDocument.html#PopplerPageMode" title="enum PopplerPageMode"><span class="returnvalue">PopplerPageMode</span></a> <a class="link" href="PopplerDocument.html#poppler-document-get-page-mode" title="poppler_document_get_page_mode ()">poppler_document_get_page_mode</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
99
+ <a class="link" href="PopplerDocument.html#PopplerPermissions" title="enum PopplerPermissions"><span class="returnvalue">PopplerPermissions</span></a> <a class="link" href="PopplerDocument.html#poppler-document-get-permissions" title="poppler_document_get_permissions ()">poppler_document_get_permissions</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
100
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-get-metadata" title="poppler_document_get_metadata ()">poppler_document_get_metadata</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
101
+ <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="PopplerDocument.html#poppler-document-is-linearized" title="poppler_document_is_linearized ()">poppler_document_is_linearized</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
102
+ <span class="returnvalue">int</span> <a class="link" href="PopplerDocument.html#poppler-document-get-n-pages" title="poppler_document_get_n_pages ()">poppler_document_get_n_pages</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
103
+ <a class="link" href="PopplerPage.html" title="PopplerPage"><span class="returnvalue">PopplerPage</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-get-page" title="poppler_document_get_page ()">poppler_document_get_page</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
104
+ <em class="parameter"><code><span class="type">int</span> index</code></em>);
105
+ <a class="link" href="PopplerPage.html" title="PopplerPage"><span class="returnvalue">PopplerPage</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-get-page-by-label" title="poppler_document_get_page_by_label ()">poppler_document_get_page_by_label</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
106
+ <em class="parameter"><code>const <span class="type">char</span> *label</code></em>);
107
+ <a class="link" href="poppler-PopplerAction.html#PopplerDest" title="PopplerDest"><span class="returnvalue">PopplerDest</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-find-dest" title="poppler_document_find_dest ()">poppler_document_find_dest</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
108
+ <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> *link_name</code></em>);
109
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="PopplerDocument.html#poppler-document-get-n-attachments" title="poppler_document_get_n_attachments ()">poppler_document_get_n_attachments</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
110
+ <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="PopplerDocument.html#poppler-document-has-attachments" title="poppler_document_has_attachments ()">poppler_document_has_attachments</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
111
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-get-attachments" title="poppler_document_get_attachments ()">poppler_document_get_attachments</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
112
+ <a class="link" href="PopplerFormField.html" title="PoppplerFormField"><span class="returnvalue">PopplerFormField</span></a> * <a class="link" href="PopplerDocument.html#poppler-document-get-form-field" title="poppler_document_get_form_field ()">poppler_document_get_form_field</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
113
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id</code></em>);
114
+ <a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="returnvalue">PopplerIndexIter</span></a> * <a class="link" href="PopplerDocument.html#poppler-index-iter-new" title="poppler_index_iter_new ()">poppler_index_iter_new</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
115
+ <a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="returnvalue">PopplerIndexIter</span></a> * <a class="link" href="PopplerDocument.html#poppler-index-iter-copy" title="poppler_index_iter_copy ()">poppler_index_iter_copy</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *iter</code></em>);
116
+ <span class="returnvalue">void</span> <a class="link" href="PopplerDocument.html#poppler-index-iter-free" title="poppler_index_iter_free ()">poppler_index_iter_free</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *iter</code></em>);
117
+ <a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="returnvalue">PopplerIndexIter</span></a> * <a class="link" href="PopplerDocument.html#poppler-index-iter-get-child" title="poppler_index_iter_get_child ()">poppler_index_iter_get_child</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *parent</code></em>);
118
+ <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="PopplerDocument.html#poppler-index-iter-is-open" title="poppler_index_iter_is_open ()">poppler_index_iter_is_open</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *iter</code></em>);
119
+ <a class="link" href="poppler-PopplerAction.html#PopplerAction" title="union PopplerAction"><span class="returnvalue">PopplerAction</span></a> * <a class="link" href="PopplerDocument.html#poppler-index-iter-get-action" title="poppler_index_iter_get_action ()">poppler_index_iter_get_action</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *iter</code></em>);
120
+ <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="PopplerDocument.html#poppler-index-iter-next" title="poppler_index_iter_next ()">poppler_index_iter_next</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *iter</code></em>);
121
+ <a class="link" href="PopplerDocument.html#PopplerFontInfo" title="PopplerFontInfo"><span class="returnvalue">PopplerFontInfo</span></a> * <a class="link" href="PopplerDocument.html#poppler-font-info-new" title="poppler_font_info_new ()">poppler_font_info_new</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
122
+ <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="PopplerDocument.html#poppler-font-info-scan" title="poppler_font_info_scan ()">poppler_font_info_scan</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontInfo" title="PopplerFontInfo"><span class="type">PopplerFontInfo</span></a> *font_info</code></em>,
123
+ <em class="parameter"><code><span class="type">int</span> n_pages</code></em>,
124
+ <em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> **iter</code></em>);
125
+ <span class="returnvalue">void</span> <a class="link" href="PopplerDocument.html#poppler-font-info-free" title="poppler_font_info_free ()">poppler_font_info_free</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontInfo" title="PopplerFontInfo"><span class="type">PopplerFontInfo</span></a> *font_info</code></em>);
126
+ <a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="returnvalue">PopplerFontsIter</span></a> * <a class="link" href="PopplerDocument.html#poppler-fonts-iter-copy" title="poppler_fonts_iter_copy ()">poppler_fonts_iter_copy</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);
127
+ <span class="returnvalue">void</span> <a class="link" href="PopplerDocument.html#poppler-fonts-iter-free" title="poppler_fonts_iter_free ()">poppler_fonts_iter_free</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);
128
+ const <span class="returnvalue">char</span> * <a class="link" href="PopplerDocument.html#poppler-fonts-iter-get-name" title="poppler_fonts_iter_get_name ()">poppler_fonts_iter_get_name</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);
129
+ const <span class="returnvalue">char</span> * <a class="link" href="PopplerDocument.html#poppler-fonts-iter-get-full-name" title="poppler_fonts_iter_get_full_name ()">poppler_fonts_iter_get_full_name</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);
130
+ <a class="link" href="PopplerDocument.html#PopplerFontType" title="enum PopplerFontType"><span class="returnvalue">PopplerFontType</span></a> <a class="link" href="PopplerDocument.html#poppler-fonts-iter-get-font-type" title="poppler_fonts_iter_get_font_type ()">poppler_fonts_iter_get_font_type</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);
131
+ const <span class="returnvalue">char</span> * <a class="link" href="PopplerDocument.html#poppler-fonts-iter-get-substitute-name" title="poppler_fonts_iter_get_substitute_name ()">poppler_fonts_iter_get_substitute_name</a>
132
+ (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);
133
+ const <span class="returnvalue">char</span> * <a class="link" href="PopplerDocument.html#poppler-fonts-iter-get-file-name" title="poppler_fonts_iter_get_file_name ()">poppler_fonts_iter_get_file_name</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);
134
+ const <span class="returnvalue">char</span> * <a class="link" href="PopplerDocument.html#poppler-fonts-iter-get-encoding" title="poppler_fonts_iter_get_encoding ()">poppler_fonts_iter_get_encoding</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);
135
+ <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="PopplerDocument.html#poppler-fonts-iter-is-embedded" title="poppler_fonts_iter_is_embedded ()">poppler_fonts_iter_is_embedded</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);
136
+ <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="PopplerDocument.html#poppler-fonts-iter-is-subset" title="poppler_fonts_iter_is_subset ()">poppler_fonts_iter_is_subset</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);
137
+ <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="PopplerDocument.html#poppler-fonts-iter-next" title="poppler_fonts_iter_next ()">poppler_fonts_iter_next</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);
138
+ <a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="returnvalue">PopplerLayersIter</span></a> * <a class="link" href="PopplerDocument.html#poppler-layers-iter-new" title="poppler_layers_iter_new ()">poppler_layers_iter_new</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);
139
+ <a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="returnvalue">PopplerLayersIter</span></a> * <a class="link" href="PopplerDocument.html#poppler-layers-iter-copy" title="poppler_layers_iter_copy ()">poppler_layers_iter_copy</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *iter</code></em>);
140
+ <span class="returnvalue">void</span> <a class="link" href="PopplerDocument.html#poppler-layers-iter-free" title="poppler_layers_iter_free ()">poppler_layers_iter_free</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *iter</code></em>);
141
+ <a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="returnvalue">PopplerLayersIter</span></a> * <a class="link" href="PopplerDocument.html#poppler-layers-iter-get-child" title="poppler_layers_iter_get_child ()">poppler_layers_iter_get_child</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *parent</code></em>);
142
+ <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="returnvalue">PopplerLayer</span></a> * <a class="link" href="PopplerDocument.html#poppler-layers-iter-get-layer" title="poppler_layers_iter_get_layer ()">poppler_layers_iter_get_layer</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *iter</code></em>);
143
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PopplerDocument.html#poppler-layers-iter-get-title" title="poppler_layers_iter_get_title ()">poppler_layers_iter_get_title</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *iter</code></em>);
144
+ <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="PopplerDocument.html#poppler-layers-iter-next" title="poppler_layers_iter_next ()">poppler_layers_iter_next</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *iter</code></em>);
145
+ <a class="link" href="PopplerDocument.html#PopplerPSFile" title="PopplerPSFile"><span class="returnvalue">PopplerPSFile</span></a> * <a class="link" href="PopplerDocument.html#poppler-ps-file-new" title="poppler_ps_file_new ()">poppler_ps_file_new</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
146
+ <em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
147
+ <em class="parameter"><code><span class="type">int</span> first_page</code></em>,
148
+ <em class="parameter"><code><span class="type">int</span> n_pages</code></em>);
149
+ <span class="returnvalue">void</span> <a class="link" href="PopplerDocument.html#poppler-ps-file-free" title="poppler_ps_file_free ()">poppler_ps_file_free</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerPSFile" title="PopplerPSFile"><span class="type">PopplerPSFile</span></a> *ps_file</code></em>);
150
+ <span class="returnvalue">void</span> <a class="link" href="PopplerDocument.html#poppler-ps-file-set-paper-size" title="poppler_ps_file_set_paper_size ()">poppler_ps_file_set_paper_size</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerPSFile" title="PopplerPSFile"><span class="type">PopplerPSFile</span></a> *ps_file</code></em>,
151
+ <em class="parameter"><code><span class="type">double</span> width</code></em>,
152
+ <em class="parameter"><code><span class="type">double</span> height</code></em>);
153
+ <span class="returnvalue">void</span> <a class="link" href="PopplerDocument.html#poppler-ps-file-set-duplex" title="poppler_ps_file_set_duplex ()">poppler_ps_file_set_duplex</a> (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerPSFile" title="PopplerPSFile"><span class="type">PopplerPSFile</span></a> *ps_file</code></em>,
154
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> duplex</code></em>);
155
+ </pre>
156
+ </div>
157
+ <div class="refsect1">
158
+ <a name="PopplerDocument.object-hierarchy"></a><h2>Object Hierarchy</h2>
159
+ <pre class="synopsis">
160
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
161
+ +----PopplerDocument
162
+ </pre>
163
+ </div>
164
+ <div class="refsect1">
165
+ <a name="PopplerDocument.properties"></a><h2>Properties</h2>
166
+ <pre class="synopsis">
167
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--author" title='The "author" property'>author</a>" <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>* : Read
168
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--creation-date" title='The "creation-date" property'>creation-date</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
169
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--creator" title='The "creator" property'>creator</a>" <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>* : Read
170
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--format" title='The "format" property'>format</a>" <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>* : Read
171
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--format-major" title='The "format-major" property'>format-major</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read
172
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--format-minor" title='The "format-minor" property'>format-minor</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read
173
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--keywords" title='The "keywords" property'>keywords</a>" <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>* : Read
174
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--linearized" title='The "linearized" property'>linearized</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read
175
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--metadata" title='The "metadata" property'>metadata</a>" <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>* : Read
176
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--mod-date" title='The "mod-date" property'>mod-date</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
177
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--page-layout" title='The "page-layout" property'>page-layout</a>" <a class="link" href="PopplerDocument.html#PopplerPageLayout" title="enum PopplerPageLayout"><span class="type">PopplerPageLayout</span></a> : Read
178
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--page-mode" title='The "page-mode" property'>page-mode</a>" <a class="link" href="PopplerDocument.html#PopplerPageMode" title="enum PopplerPageMode"><span class="type">PopplerPageMode</span></a> : Read
179
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--permissions" title='The "permissions" property'>permissions</a>" <a class="link" href="PopplerDocument.html#PopplerPermissions" title="enum PopplerPermissions"><span class="type">PopplerPermissions</span></a> : Read
180
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--producer" title='The "producer" property'>producer</a>" <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>* : Read
181
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--subject" title='The "subject" property'>subject</a>" <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>* : Read
182
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--title" title='The "title" property'>title</a>" <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>* : Read
183
+ "<a class="link" href="PopplerDocument.html#PopplerDocument--viewer-preferences" title='The "viewer-preferences" property'>viewer-preferences</a>" <a class="link" href="PopplerDocument.html#PopplerViewerPreferences" title="enum PopplerViewerPreferences"><span class="type">PopplerViewerPreferences</span></a> : Read
184
+ </pre>
185
+ </div>
186
+ <div class="refsect1">
187
+ <a name="PopplerDocument.description"></a><h2>Description</h2>
188
+ <p>
189
+ The <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> is an object used to refer to a main document.
190
+ </p>
191
+ </div>
192
+ <div class="refsect1">
193
+ <a name="PopplerDocument.details"></a><h2>Details</h2>
194
+ <div class="refsect2">
195
+ <a name="PopplerDocument-struct"></a><h3>PopplerDocument</h3>
196
+ <pre class="programlisting">typedef struct _PopplerDocument PopplerDocument;</pre>
197
+ </div>
198
+ <hr>
199
+ <div class="refsect2">
200
+ <a name="PopplerIndexIter"></a><h3>PopplerIndexIter</h3>
201
+ <pre class="programlisting">typedef struct _PopplerIndexIter PopplerIndexIter;</pre>
202
+ </div>
203
+ <hr>
204
+ <div class="refsect2">
205
+ <a name="PopplerFontsIter"></a><h3>PopplerFontsIter</h3>
206
+ <pre class="programlisting">typedef struct _PopplerFontsIter PopplerFontsIter;</pre>
207
+ </div>
208
+ <hr>
209
+ <div class="refsect2">
210
+ <a name="PopplerLayersIter"></a><h3>PopplerLayersIter</h3>
211
+ <pre class="programlisting">typedef struct _PopplerLayersIter PopplerLayersIter;</pre>
212
+ </div>
213
+ <hr>
214
+ <div class="refsect2">
215
+ <a name="PopplerPageLayout"></a><h3>enum PopplerPageLayout</h3>
216
+ <pre class="programlisting">typedef enum {
217
+ POPPLER_PAGE_LAYOUT_UNSET,
218
+ POPPLER_PAGE_LAYOUT_SINGLE_PAGE,
219
+ POPPLER_PAGE_LAYOUT_ONE_COLUMN,
220
+ POPPLER_PAGE_LAYOUT_TWO_COLUMN_LEFT,
221
+ POPPLER_PAGE_LAYOUT_TWO_COLUMN_RIGHT,
222
+ POPPLER_PAGE_LAYOUT_TWO_PAGE_LEFT,
223
+ POPPLER_PAGE_LAYOUT_TWO_PAGE_RIGHT
224
+ } PopplerPageLayout;
225
+ </pre>
226
+ <p>
227
+ Page layout types
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-PAGE-LAYOUT-UNSET:CAPS"></a><span class="term"><code class="literal">POPPLER_PAGE_LAYOUT_UNSET</code></span></p></td>
237
+ <td>no specific layout set
238
+ </td>
239
+ </tr>
240
+ <tr>
241
+ <td><p><a name="POPPLER-PAGE-LAYOUT-SINGLE-PAGE:CAPS"></a><span class="term"><code class="literal">POPPLER_PAGE_LAYOUT_SINGLE_PAGE</code></span></p></td>
242
+ <td>one page at a time
243
+ </td>
244
+ </tr>
245
+ <tr>
246
+ <td><p><a name="POPPLER-PAGE-LAYOUT-ONE-COLUMN:CAPS"></a><span class="term"><code class="literal">POPPLER_PAGE_LAYOUT_ONE_COLUMN</code></span></p></td>
247
+ <td>pages in one column
248
+ </td>
249
+ </tr>
250
+ <tr>
251
+ <td><p><a name="POPPLER-PAGE-LAYOUT-TWO-COLUMN-LEFT:CAPS"></a><span class="term"><code class="literal">POPPLER_PAGE_LAYOUT_TWO_COLUMN_LEFT</code></span></p></td>
252
+ <td>pages in two columns with odd numbered pages on the left
253
+ </td>
254
+ </tr>
255
+ <tr>
256
+ <td><p><a name="POPPLER-PAGE-LAYOUT-TWO-COLUMN-RIGHT:CAPS"></a><span class="term"><code class="literal">POPPLER_PAGE_LAYOUT_TWO_COLUMN_RIGHT</code></span></p></td>
257
+ <td>pages in two columns with odd numbered pages on the right
258
+ </td>
259
+ </tr>
260
+ <tr>
261
+ <td><p><a name="POPPLER-PAGE-LAYOUT-TWO-PAGE-LEFT:CAPS"></a><span class="term"><code class="literal">POPPLER_PAGE_LAYOUT_TWO_PAGE_LEFT</code></span></p></td>
262
+ <td>two pages at a time with odd numbered pages on the left
263
+ </td>
264
+ </tr>
265
+ <tr>
266
+ <td><p><a name="POPPLER-PAGE-LAYOUT-TWO-PAGE-RIGHT:CAPS"></a><span class="term"><code class="literal">POPPLER_PAGE_LAYOUT_TWO_PAGE_RIGHT</code></span></p></td>
267
+ <td>two pages at a time with odd numbered pages on the right
268
+ </td>
269
+ </tr>
270
+ </tbody>
271
+ </table></div>
272
+ </div>
273
+ <hr>
274
+ <div class="refsect2">
275
+ <a name="PopplerPageMode"></a><h3>enum PopplerPageMode</h3>
276
+ <pre class="programlisting">typedef enum {
277
+ POPPLER_PAGE_MODE_UNSET,
278
+ POPPLER_PAGE_MODE_NONE,
279
+ POPPLER_PAGE_MODE_USE_OUTLINES,
280
+ POPPLER_PAGE_MODE_USE_THUMBS,
281
+ POPPLER_PAGE_MODE_FULL_SCREEN,
282
+ POPPLER_PAGE_MODE_USE_OC,
283
+ POPPLER_PAGE_MODE_USE_ATTACHMENTS
284
+ } PopplerPageMode;
285
+ </pre>
286
+ <p>
287
+ Page modes
288
+ </p>
289
+ <div class="variablelist"><table border="0" class="variablelist">
290
+ <colgroup>
291
+ <col align="left" valign="top">
292
+ <col>
293
+ </colgroup>
294
+ <tbody>
295
+ <tr>
296
+ <td><p><a name="POPPLER-PAGE-MODE-UNSET:CAPS"></a><span class="term"><code class="literal">POPPLER_PAGE_MODE_UNSET</code></span></p></td>
297
+ <td>no specific mode set
298
+ </td>
299
+ </tr>
300
+ <tr>
301
+ <td><p><a name="POPPLER-PAGE-MODE-NONE:CAPS"></a><span class="term"><code class="literal">POPPLER_PAGE_MODE_NONE</code></span></p></td>
302
+ <td>neither document outline nor thumbnails visible
303
+ </td>
304
+ </tr>
305
+ <tr>
306
+ <td><p><a name="POPPLER-PAGE-MODE-USE-OUTLINES:CAPS"></a><span class="term"><code class="literal">POPPLER_PAGE_MODE_USE_OUTLINES</code></span></p></td>
307
+ <td>document outline visible
308
+ </td>
309
+ </tr>
310
+ <tr>
311
+ <td><p><a name="POPPLER-PAGE-MODE-USE-THUMBS:CAPS"></a><span class="term"><code class="literal">POPPLER_PAGE_MODE_USE_THUMBS</code></span></p></td>
312
+ <td>thumbnails visible
313
+ </td>
314
+ </tr>
315
+ <tr>
316
+ <td><p><a name="POPPLER-PAGE-MODE-FULL-SCREEN:CAPS"></a><span class="term"><code class="literal">POPPLER_PAGE_MODE_FULL_SCREEN</code></span></p></td>
317
+ <td>full-screen mode
318
+ </td>
319
+ </tr>
320
+ <tr>
321
+ <td><p><a name="POPPLER-PAGE-MODE-USE-OC:CAPS"></a><span class="term"><code class="literal">POPPLER_PAGE_MODE_USE_OC</code></span></p></td>
322
+ <td>layers panel visible
323
+ </td>
324
+ </tr>
325
+ <tr>
326
+ <td><p><a name="POPPLER-PAGE-MODE-USE-ATTACHMENTS:CAPS"></a><span class="term"><code class="literal">POPPLER_PAGE_MODE_USE_ATTACHMENTS</code></span></p></td>
327
+ <td>attachments panel visible
328
+ </td>
329
+ </tr>
330
+ </tbody>
331
+ </table></div>
332
+ </div>
333
+ <hr>
334
+ <div class="refsect2">
335
+ <a name="PopplerFontInfo"></a><h3>PopplerFontInfo</h3>
336
+ <pre class="programlisting">typedef struct {
337
+ } PopplerFontInfo;
338
+ </pre>
339
+ </div>
340
+ <hr>
341
+ <div class="refsect2">
342
+ <a name="PopplerFontType"></a><h3>enum PopplerFontType</h3>
343
+ <pre class="programlisting">typedef enum {
344
+ POPPLER_FONT_TYPE_UNKNOWN,
345
+ POPPLER_FONT_TYPE_TYPE1,
346
+ POPPLER_FONT_TYPE_TYPE1C,
347
+ POPPLER_FONT_TYPE_TYPE1COT,
348
+ POPPLER_FONT_TYPE_TYPE3,
349
+ POPPLER_FONT_TYPE_TRUETYPE,
350
+ POPPLER_FONT_TYPE_TRUETYPEOT,
351
+ POPPLER_FONT_TYPE_CID_TYPE0,
352
+ POPPLER_FONT_TYPE_CID_TYPE0C,
353
+ POPPLER_FONT_TYPE_CID_TYPE0COT,
354
+ POPPLER_FONT_TYPE_CID_TYPE2,
355
+ POPPLER_FONT_TYPE_CID_TYPE2OT
356
+ } PopplerFontType;
357
+ </pre>
358
+ <p>
359
+ Font types
360
+ </p>
361
+ <div class="variablelist"><table border="0" class="variablelist">
362
+ <colgroup>
363
+ <col align="left" valign="top">
364
+ <col>
365
+ </colgroup>
366
+ <tbody>
367
+ <tr>
368
+ <td><p><a name="POPPLER-FONT-TYPE-UNKNOWN:CAPS"></a><span class="term"><code class="literal">POPPLER_FONT_TYPE_UNKNOWN</code></span></p></td>
369
+ <td>unknown font type
370
+ </td>
371
+ </tr>
372
+ <tr>
373
+ <td><p><a name="POPPLER-FONT-TYPE-TYPE1:CAPS"></a><span class="term"><code class="literal">POPPLER_FONT_TYPE_TYPE1</code></span></p></td>
374
+ <td>Type 1 font type
375
+ </td>
376
+ </tr>
377
+ <tr>
378
+ <td><p><a name="POPPLER-FONT-TYPE-TYPE1C:CAPS"></a><span class="term"><code class="literal">POPPLER_FONT_TYPE_TYPE1C</code></span></p></td>
379
+ <td>Type 1 font type embedded in Compact Font Format (CFF) font program
380
+ </td>
381
+ </tr>
382
+ <tr>
383
+ <td><p><a name="POPPLER-FONT-TYPE-TYPE1COT:CAPS"></a><span class="term"><code class="literal">POPPLER_FONT_TYPE_TYPE1COT</code></span></p></td>
384
+ <td>Type 1 font type embedded in OpenType font program
385
+ </td>
386
+ </tr>
387
+ <tr>
388
+ <td><p><a name="POPPLER-FONT-TYPE-TYPE3:CAPS"></a><span class="term"><code class="literal">POPPLER_FONT_TYPE_TYPE3</code></span></p></td>
389
+ <td>A font type that is defined with PDF graphics operators
390
+ </td>
391
+ </tr>
392
+ <tr>
393
+ <td><p><a name="POPPLER-FONT-TYPE-TRUETYPE:CAPS"></a><span class="term"><code class="literal">POPPLER_FONT_TYPE_TRUETYPE</code></span></p></td>
394
+ <td>TrueType font type
395
+ </td>
396
+ </tr>
397
+ <tr>
398
+ <td><p><a name="POPPLER-FONT-TYPE-TRUETYPEOT:CAPS"></a><span class="term"><code class="literal">POPPLER_FONT_TYPE_TRUETYPEOT</code></span></p></td>
399
+ <td>TrueType font type embedded in OpenType font program
400
+ </td>
401
+ </tr>
402
+ <tr>
403
+ <td><p><a name="POPPLER-FONT-TYPE-CID-TYPE0:CAPS"></a><span class="term"><code class="literal">POPPLER_FONT_TYPE_CID_TYPE0</code></span></p></td>
404
+ <td>CIDFont type based on Type 1 font technology
405
+ </td>
406
+ </tr>
407
+ <tr>
408
+ <td><p><a name="POPPLER-FONT-TYPE-CID-TYPE0C:CAPS"></a><span class="term"><code class="literal">POPPLER_FONT_TYPE_CID_TYPE0C</code></span></p></td>
409
+ <td>CIDFont type based on Type 1 font technology embedded in CFF font program
410
+ </td>
411
+ </tr>
412
+ <tr>
413
+ <td><p><a name="POPPLER-FONT-TYPE-CID-TYPE0COT:CAPS"></a><span class="term"><code class="literal">POPPLER_FONT_TYPE_CID_TYPE0COT</code></span></p></td>
414
+ <td>CIDFont type based on Type 1 font technology embedded in OpenType font program
415
+ </td>
416
+ </tr>
417
+ <tr>
418
+ <td><p><a name="POPPLER-FONT-TYPE-CID-TYPE2:CAPS"></a><span class="term"><code class="literal">POPPLER_FONT_TYPE_CID_TYPE2</code></span></p></td>
419
+ <td>CIDFont type based on TrueType font technology
420
+ </td>
421
+ </tr>
422
+ <tr>
423
+ <td><p><a name="POPPLER-FONT-TYPE-CID-TYPE2OT:CAPS"></a><span class="term"><code class="literal">POPPLER_FONT_TYPE_CID_TYPE2OT</code></span></p></td>
424
+ <td>CIDFont type based on TrueType font technology embedded in OpenType font program
425
+ </td>
426
+ </tr>
427
+ </tbody>
428
+ </table></div>
429
+ </div>
430
+ <hr>
431
+ <div class="refsect2">
432
+ <a name="PopplerPSFile"></a><h3>PopplerPSFile</h3>
433
+ <pre class="programlisting">typedef struct {
434
+ } PopplerPSFile;
435
+ </pre>
436
+ </div>
437
+ <hr>
438
+ <div class="refsect2">
439
+ <a name="PopplerViewerPreferences"></a><h3>enum PopplerViewerPreferences</h3>
440
+ <pre class="programlisting">typedef enum {
441
+ POPPLER_VIEWER_PREFERENCES_UNSET = 0,
442
+ POPPLER_VIEWER_PREFERENCES_HIDE_TOOLBAR = 1 &lt;&lt; 0,
443
+ POPPLER_VIEWER_PREFERENCES_HIDE_MENUBAR = 1 &lt;&lt; 1,
444
+ POPPLER_VIEWER_PREFERENCES_HIDE_WINDOWUI = 1 &lt;&lt; 2,
445
+ POPPLER_VIEWER_PREFERENCES_FIT_WINDOW = 1 &lt;&lt; 3,
446
+ POPPLER_VIEWER_PREFERENCES_CENTER_WINDOW = 1 &lt;&lt; 4,
447
+ POPPLER_VIEWER_PREFERENCES_DISPLAY_DOC_TITLE = 1 &lt;&lt; 5,
448
+ POPPLER_VIEWER_PREFERENCES_DIRECTION_RTL = 1 &lt;&lt; 6
449
+ } PopplerViewerPreferences;
450
+ </pre>
451
+ <p>
452
+ Viewer preferences
453
+ </p>
454
+ <div class="variablelist"><table border="0" class="variablelist">
455
+ <colgroup>
456
+ <col align="left" valign="top">
457
+ <col>
458
+ </colgroup>
459
+ <tbody>
460
+ <tr>
461
+ <td><p><a name="POPPLER-VIEWER-PREFERENCES-UNSET:CAPS"></a><span class="term"><code class="literal">POPPLER_VIEWER_PREFERENCES_UNSET</code></span></p></td>
462
+ <td>no preferences set
463
+ </td>
464
+ </tr>
465
+ <tr>
466
+ <td><p><a name="POPPLER-VIEWER-PREFERENCES-HIDE-TOOLBAR:CAPS"></a><span class="term"><code class="literal">POPPLER_VIEWER_PREFERENCES_HIDE_TOOLBAR</code></span></p></td>
467
+ <td>hider toolbars when document is active
468
+ </td>
469
+ </tr>
470
+ <tr>
471
+ <td><p><a name="POPPLER-VIEWER-PREFERENCES-HIDE-MENUBAR:CAPS"></a><span class="term"><code class="literal">POPPLER_VIEWER_PREFERENCES_HIDE_MENUBAR</code></span></p></td>
472
+ <td>hide menu bar when document is active
473
+ </td>
474
+ </tr>
475
+ <tr>
476
+ <td><p><a name="POPPLER-VIEWER-PREFERENCES-HIDE-WINDOWUI:CAPS"></a><span class="term"><code class="literal">POPPLER_VIEWER_PREFERENCES_HIDE_WINDOWUI</code></span></p></td>
477
+ <td>hide UI elements in document's window
478
+ </td>
479
+ </tr>
480
+ <tr>
481
+ <td><p><a name="POPPLER-VIEWER-PREFERENCES-FIT-WINDOW:CAPS"></a><span class="term"><code class="literal">POPPLER_VIEWER_PREFERENCES_FIT_WINDOW</code></span></p></td>
482
+ <td>resize document's window to fit the size of the first displayed page
483
+ </td>
484
+ </tr>
485
+ <tr>
486
+ <td><p><a name="POPPLER-VIEWER-PREFERENCES-CENTER-WINDOW:CAPS"></a><span class="term"><code class="literal">POPPLER_VIEWER_PREFERENCES_CENTER_WINDOW</code></span></p></td>
487
+ <td>position the document's window in the center of the screen
488
+ </td>
489
+ </tr>
490
+ <tr>
491
+ <td><p><a name="POPPLER-VIEWER-PREFERENCES-DISPLAY-DOC-TITLE:CAPS"></a><span class="term"><code class="literal">POPPLER_VIEWER_PREFERENCES_DISPLAY_DOC_TITLE</code></span></p></td>
492
+ <td>display document title in window's title bar
493
+ </td>
494
+ </tr>
495
+ <tr>
496
+ <td><p><a name="POPPLER-VIEWER-PREFERENCES-DIRECTION-RTL:CAPS"></a><span class="term"><code class="literal">POPPLER_VIEWER_PREFERENCES_DIRECTION_RTL</code></span></p></td>
497
+ <td>the predominant reading order for text is right to left
498
+ </td>
499
+ </tr>
500
+ </tbody>
501
+ </table></div>
502
+ </div>
503
+ <hr>
504
+ <div class="refsect2">
505
+ <a name="PopplerPermissions"></a><h3>enum PopplerPermissions</h3>
506
+ <pre class="programlisting">typedef enum {
507
+ POPPLER_PERMISSIONS_OK_TO_PRINT = 1 &lt;&lt; 0,
508
+ POPPLER_PERMISSIONS_OK_TO_MODIFY = 1 &lt;&lt; 1,
509
+ POPPLER_PERMISSIONS_OK_TO_COPY = 1 &lt;&lt; 2,
510
+ POPPLER_PERMISSIONS_OK_TO_ADD_NOTES = 1 &lt;&lt; 3,
511
+ POPPLER_PERMISSIONS_OK_TO_FILL_FORM = 1 &lt;&lt; 4,
512
+ POPPLER_PERMISSIONS_OK_TO_EXTRACT_CONTENTS = 1 &lt;&lt; 5,
513
+ POPPLER_PERMISSIONS_OK_TO_ASSEMBLE = 1 &lt;&lt; 6,
514
+ POPPLER_PERMISSIONS_OK_TO_PRINT_HIGH_RESOLUTION = 1 &lt;&lt; 7,
515
+ POPPLER_PERMISSIONS_FULL = (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 | POPPLER_PERMISSIONS_OK_TO_EXTRACT_CONTENTS | POPPLER_PERMISSIONS_OK_TO_ASSEMBLE | POPPLER_PERMISSIONS_OK_TO_PRINT_HIGH_RESOLUTION)
516
+ } PopplerPermissions;
517
+ </pre>
518
+ <p>
519
+ Permissions
520
+ </p>
521
+ <div class="variablelist"><table border="0" class="variablelist">
522
+ <colgroup>
523
+ <col align="left" valign="top">
524
+ <col>
525
+ </colgroup>
526
+ <tbody>
527
+ <tr>
528
+ <td><p><a name="POPPLER-PERMISSIONS-OK-TO-PRINT:CAPS"></a><span class="term"><code class="literal">POPPLER_PERMISSIONS_OK_TO_PRINT</code></span></p></td>
529
+ <td>document can be printer
530
+ </td>
531
+ </tr>
532
+ <tr>
533
+ <td><p><a name="POPPLER-PERMISSIONS-OK-TO-MODIFY:CAPS"></a><span class="term"><code class="literal">POPPLER_PERMISSIONS_OK_TO_MODIFY</code></span></p></td>
534
+ <td>document contents can be modified
535
+ </td>
536
+ </tr>
537
+ <tr>
538
+ <td><p><a name="POPPLER-PERMISSIONS-OK-TO-COPY:CAPS"></a><span class="term"><code class="literal">POPPLER_PERMISSIONS_OK_TO_COPY</code></span></p></td>
539
+ <td>document can be copied
540
+ </td>
541
+ </tr>
542
+ <tr>
543
+ <td><p><a name="POPPLER-PERMISSIONS-OK-TO-ADD-NOTES:CAPS"></a><span class="term"><code class="literal">POPPLER_PERMISSIONS_OK_TO_ADD_NOTES</code></span></p></td>
544
+ <td>annotations can added to the document
545
+ </td>
546
+ </tr>
547
+ <tr>
548
+ <td><p><a name="POPPLER-PERMISSIONS-OK-TO-FILL-FORM:CAPS"></a><span class="term"><code class="literal">POPPLER_PERMISSIONS_OK_TO_FILL_FORM</code></span></p></td>
549
+ <td>interactive form fields can be filled in
550
+ </td>
551
+ </tr>
552
+ <tr>
553
+ <td><p><a name="POPPLER-PERMISSIONS-OK-TO-EXTRACT-CONTENTS:CAPS"></a><span class="term"><code class="literal">POPPLER_PERMISSIONS_OK_TO_EXTRACT_CONTENTS</code></span></p></td>
554
+ <td>extract text and graphics
555
+ (in support of accessibility to users with disabilities or for other purposes). Since 0.18
556
+ </td>
557
+ </tr>
558
+ <tr>
559
+ <td><p><a name="POPPLER-PERMISSIONS-OK-TO-ASSEMBLE:CAPS"></a><span class="term"><code class="literal">POPPLER_PERMISSIONS_OK_TO_ASSEMBLE</code></span></p></td>
560
+ <td>assemble the document (insert, rotate, or delete pages and create
561
+ bookmarks or thumbnail images). Since 0.18
562
+ </td>
563
+ </tr>
564
+ <tr>
565
+ <td><p><a name="POPPLER-PERMISSIONS-OK-TO-PRINT-HIGH-RESOLUTION:CAPS"></a><span class="term"><code class="literal">POPPLER_PERMISSIONS_OK_TO_PRINT_HIGH_RESOLUTION</code></span></p></td>
566
+ <td>document can be printer at high resolution. Since 0.18
567
+ </td>
568
+ </tr>
569
+ <tr>
570
+ <td><p><a name="POPPLER-PERMISSIONS-FULL:CAPS"></a><span class="term"><code class="literal">POPPLER_PERMISSIONS_FULL</code></span></p></td>
571
+ <td>document permits all operations
572
+ </td>
573
+ </tr>
574
+ </tbody>
575
+ </table></div>
576
+ </div>
577
+ <hr>
578
+ <div class="refsect2">
579
+ <a name="poppler-document-new-from-file"></a><h3>poppler_document_new_from_file ()</h3>
580
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> * poppler_document_new_from_file (<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
581
+ <em class="parameter"><code>const <span class="type">char</span> *password</code></em>,
582
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
583
+ <p>
584
+ Creates a new <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>. If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then <em class="parameter"><code>error</code></em> will be
585
+ set. Possible errors include those in the <a class="link" href="poppler-poppler.html#POPPLER-ERROR:CAPS" title="POPPLER_ERROR"><span class="type">POPPLER_ERROR</span></a> and <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a>
586
+ domains.
587
+ </p>
588
+ <div class="variablelist"><table border="0" class="variablelist">
589
+ <colgroup>
590
+ <col align="left" valign="top">
591
+ <col>
592
+ </colgroup>
593
+ <tbody>
594
+ <tr>
595
+ <td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
596
+ <td>uri of the file to load</td>
597
+ </tr>
598
+ <tr>
599
+ <td><p><span class="term"><em class="parameter"><code>password</code></em> :</span></p></td>
600
+ <td>password to unlock the file with, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
601
+ </td>
602
+ </tr>
603
+ <tr>
604
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
605
+ <td>Return location for an error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
606
+ </td>
607
+ </tr>
608
+ <tr>
609
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
610
+ <td>A newly created <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
611
+ </td>
612
+ </tr>
613
+ </tbody>
614
+ </table></div>
615
+ </div>
616
+ <hr>
617
+ <div class="refsect2">
618
+ <a name="poppler-document-new-from-data"></a><h3>poppler_document_new_from_data ()</h3>
619
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> * poppler_document_new_from_data (<em class="parameter"><code><span class="type">char</span> *data</code></em>,
620
+ <em class="parameter"><code><span class="type">int</span> length</code></em>,
621
+ <em class="parameter"><code>const <span class="type">char</span> *password</code></em>,
622
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
623
+ <p>
624
+ Creates a new <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>. If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then <em class="parameter"><code>error</code></em> will be
625
+ set. Possible errors include those in the <a class="link" href="poppler-poppler.html#POPPLER-ERROR:CAPS" title="POPPLER_ERROR"><span class="type">POPPLER_ERROR</span></a> and <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a>
626
+ domains.
627
+ </p>
628
+ <div class="variablelist"><table border="0" class="variablelist">
629
+ <colgroup>
630
+ <col align="left" valign="top">
631
+ <col>
632
+ </colgroup>
633
+ <tbody>
634
+ <tr>
635
+ <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
636
+ <td>the pdf data contained in a char array</td>
637
+ </tr>
638
+ <tr>
639
+ <td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
640
+ <td>the length of <span class="type">data</span>
641
+ </td>
642
+ </tr>
643
+ <tr>
644
+ <td><p><span class="term"><em class="parameter"><code>password</code></em> :</span></p></td>
645
+ <td>password to unlock the file with, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
646
+ </td>
647
+ </tr>
648
+ <tr>
649
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
650
+ <td>Return location for an error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
651
+ </td>
652
+ </tr>
653
+ <tr>
654
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
655
+ <td>A newly created <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
656
+ </td>
657
+ </tr>
658
+ </tbody>
659
+ </table></div>
660
+ </div>
661
+ <hr>
662
+ <div class="refsect2">
663
+ <a name="poppler-document-new-from-stream"></a><h3>poppler_document_new_from_stream ()</h3>
664
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> * poppler_document_new_from_stream (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="type">GInputStream</span></a> *stream</code></em>,
665
+ <em class="parameter"><code><span class="type">goffset</span> length</code></em>,
666
+ <em class="parameter"><code>const <span class="type">char</span> *password</code></em>,
667
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
668
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
669
+ <p>
670
+ Creates a new <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> reading the PDF contents from <em class="parameter"><code>stream</code></em>.
671
+ Note that the given <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="type">GInputStream</span></a> must be seekable or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html#G-IO-ERROR-NOT-SUPPORTED:CAPS"><code class="literal">G_IO_ERROR_NOT_SUPPORTED</code></a>
672
+ will be returned.
673
+ Possible errors include those in the <a class="link" href="poppler-poppler.html#POPPLER-ERROR:CAPS" title="POPPLER_ERROR"><span class="type">POPPLER_ERROR</span></a> and <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a>
674
+ domains.
675
+ </p>
676
+ <div class="variablelist"><table border="0" class="variablelist">
677
+ <colgroup>
678
+ <col align="left" valign="top">
679
+ <col>
680
+ </colgroup>
681
+ <tbody>
682
+ <tr>
683
+ <td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
684
+ <td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html"><span class="type">GInputStream</span></a> to read from</td>
685
+ </tr>
686
+ <tr>
687
+ <td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
688
+ <td>the stream length, or -1 if not known</td>
689
+ </tr>
690
+ <tr>
691
+ <td><p><span class="term"><em class="parameter"><code>password</code></em> :</span></p></td>
692
+ <td>password to unlock the file with, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
693
+ </td>
694
+ </tr>
695
+ <tr>
696
+ <td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
697
+ <td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
698
+ </td>
699
+ </tr>
700
+ <tr>
701
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
702
+ <td>Return location for an error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
703
+ </td>
704
+ </tr>
705
+ <tr>
706
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
707
+ <td>a new <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
708
+ </td>
709
+ </tr>
710
+ </tbody>
711
+ </table></div>
712
+ <p class="since">Since 0.22</p>
713
+ </div>
714
+ <hr>
715
+ <div class="refsect2">
716
+ <a name="poppler-document-new-from-gfile"></a><h3>poppler_document_new_from_gfile ()</h3>
717
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="returnvalue">PopplerDocument</span></a> * poppler_document_new_from_gfile (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
718
+ <em class="parameter"><code>const <span class="type">char</span> *password</code></em>,
719
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
720
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
721
+ <p>
722
+ Creates a new <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> reading the PDF contents from <em class="parameter"><code>file</code></em>.
723
+ Possible errors include those in the <a class="link" href="poppler-poppler.html#POPPLER-ERROR:CAPS" title="POPPLER_ERROR"><span class="type">POPPLER_ERROR</span></a> and <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a>
724
+ domains.
725
+ </p>
726
+ <div class="variablelist"><table border="0" class="variablelist">
727
+ <colgroup>
728
+ <col align="left" valign="top">
729
+ <col>
730
+ </colgroup>
731
+ <tbody>
732
+ <tr>
733
+ <td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
734
+ <td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> to load</td>
735
+ </tr>
736
+ <tr>
737
+ <td><p><span class="term"><em class="parameter"><code>password</code></em> :</span></p></td>
738
+ <td>password to unlock the file with, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
739
+ </td>
740
+ </tr>
741
+ <tr>
742
+ <td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
743
+ <td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
744
+ </td>
745
+ </tr>
746
+ <tr>
747
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
748
+ <td>Return location for an error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
749
+ </td>
750
+ </tr>
751
+ <tr>
752
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
753
+ <td>a new <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
754
+ </td>
755
+ </tr>
756
+ </tbody>
757
+ </table></div>
758
+ <p class="since">Since 0.22</p>
759
+ </div>
760
+ <hr>
761
+ <div class="refsect2">
762
+ <a name="poppler-document-save"></a><h3>poppler_document_save ()</h3>
763
+ <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_document_save (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
764
+ <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
765
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
766
+ <p>
767
+ Saves <em class="parameter"><code>document</code></em>. Any change made in the document such as
768
+ form fields filled, annotations added or modified
769
+ will be saved.
770
+ If <em class="parameter"><code>error</code></em> is set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned. Possible errors
771
+ include those in the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domain.
772
+ </p>
773
+ <div class="variablelist"><table border="0" class="variablelist">
774
+ <colgroup>
775
+ <col align="left" valign="top">
776
+ <col>
777
+ </colgroup>
778
+ <tbody>
779
+ <tr>
780
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
781
+ <td>a <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
782
+ </td>
783
+ </tr>
784
+ <tr>
785
+ <td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
786
+ <td>uri of file to save</td>
787
+ </tr>
788
+ <tr>
789
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
790
+ <td>return location for an error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
791
+ </td>
792
+ </tr>
793
+ <tr>
794
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
795
+ <td>
796
+ <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 document was successfully saved</td>
797
+ </tr>
798
+ </tbody>
799
+ </table></div>
800
+ </div>
801
+ <hr>
802
+ <div class="refsect2">
803
+ <a name="poppler-document-save-a-copy"></a><h3>poppler_document_save_a_copy ()</h3>
804
+ <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_document_save_a_copy (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
805
+ <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
806
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
807
+ <p>
808
+ Saves a copy of the original <em class="parameter"><code>document</code></em>.
809
+ Any change made in the document such as
810
+ form fields filled by the user will not be saved.
811
+ If <em class="parameter"><code>error</code></em> is set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned. Possible errors
812
+ include those in the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domain.
813
+ </p>
814
+ <div class="variablelist"><table border="0" class="variablelist">
815
+ <colgroup>
816
+ <col align="left" valign="top">
817
+ <col>
818
+ </colgroup>
819
+ <tbody>
820
+ <tr>
821
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
822
+ <td>a <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
823
+ </td>
824
+ </tr>
825
+ <tr>
826
+ <td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
827
+ <td>uri of file to save</td>
828
+ </tr>
829
+ <tr>
830
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
831
+ <td>return location for an error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
832
+ </td>
833
+ </tr>
834
+ <tr>
835
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
836
+ <td>
837
+ <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 document was successfully saved</td>
838
+ </tr>
839
+ </tbody>
840
+ </table></div>
841
+ </div>
842
+ <hr>
843
+ <div class="refsect2">
844
+ <a name="poppler-document-get-id"></a><h3>poppler_document_get_id ()</h3>
845
+ <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_document_get_id (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
846
+ <em class="parameter"><code><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> **permanent_id</code></em>,
847
+ <em class="parameter"><code><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> **update_id</code></em>);</pre>
848
+ <p>
849
+ Returns the PDF file identifier represented as two byte string arrays of size 32.
850
+ <em class="parameter"><code>permanent_id</code></em> is the permanent identifier that is built based on the file
851
+ contents at the time it was originally created, so that this identifer
852
+ never changes. <em class="parameter"><code>update_id</code></em> is the update identifier that is built based on
853
+ the file contents at the time it was last updated.
854
+ </p>
855
+ <p>
856
+ Note that returned strings are not null-terminated, they have a fixed
857
+ size of 32 bytes.
858
+ </p>
859
+ <div class="variablelist"><table border="0" class="variablelist">
860
+ <colgroup>
861
+ <col align="left" valign="top">
862
+ <col>
863
+ </colgroup>
864
+ <tbody>
865
+ <tr>
866
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
867
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
868
+ </td>
869
+ </tr>
870
+ <tr>
871
+ <td><p><span class="term"><em class="parameter"><code>permanent_id</code></em> :</span></p></td>
872
+ <td>location to store an allocated string, use <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> to free the returned string. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
873
+ </td>
874
+ </tr>
875
+ <tr>
876
+ <td><p><span class="term"><em class="parameter"><code>update_id</code></em> :</span></p></td>
877
+ <td>location to store an allocated string, use <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> to free the returned string. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
878
+ </td>
879
+ </tr>
880
+ <tr>
881
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
882
+ <td>
883
+ <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 <em class="parameter"><code>document</code></em> contains an id, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
884
+ </tr>
885
+ </tbody>
886
+ </table></div>
887
+ <p class="since">Since 0.16</p>
888
+ </div>
889
+ <hr>
890
+ <div class="refsect2">
891
+ <a name="poppler-document-get-pdf-version-string"></a><h3>poppler_document_get_pdf_version_string ()</h3>
892
+ <pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * poppler_document_get_pdf_version_string
893
+ (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
894
+ <p>
895
+ Returns the PDF version of <em class="parameter"><code>document</code></em> as a string (e.g. PDF-1.6)
896
+ </p>
897
+ <div class="variablelist"><table border="0" class="variablelist">
898
+ <colgroup>
899
+ <col align="left" valign="top">
900
+ <col>
901
+ </colgroup>
902
+ <tbody>
903
+ <tr>
904
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
905
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
906
+ </td>
907
+ </tr>
908
+ <tr>
909
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
910
+ <td>a new allocated string containing the PDF version
911
+ of <em class="parameter"><code>document</code></em>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
912
+ </td>
913
+ </tr>
914
+ </tbody>
915
+ </table></div>
916
+ <p class="since">Since 0.16</p>
917
+ </div>
918
+ <hr>
919
+ <div class="refsect2">
920
+ <a name="poppler-document-get-pdf-version"></a><h3>poppler_document_get_pdf_version ()</h3>
921
+ <pre class="programlisting"><span class="returnvalue">void</span> poppler_document_get_pdf_version (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
922
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *major_version</code></em>,
923
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *minor_version</code></em>);</pre>
924
+ <div class="variablelist"><table border="0" class="variablelist">
925
+ <colgroup>
926
+ <col align="left" valign="top">
927
+ <col>
928
+ </colgroup>
929
+ <tbody>
930
+ <tr>
931
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
932
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
933
+ </td>
934
+ </tr>
935
+ <tr>
936
+ <td><p><span class="term"><em class="parameter"><code>major_version</code></em> :</span></p></td>
937
+ <td>return location for the PDF major version number. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
938
+ </td>
939
+ </tr>
940
+ <tr>
941
+ <td><p><span class="term"><em class="parameter"><code>minor_version</code></em> :</span></p></td>
942
+ <td>return location for the PDF minor version number. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
943
+ </td>
944
+ </tr>
945
+ <tr>
946
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
947
+ <td>the major and minor PDF version numbers</td>
948
+ </tr>
949
+ </tbody>
950
+ </table></div>
951
+ <p class="since">Since 0.16</p>
952
+ </div>
953
+ <hr>
954
+ <div class="refsect2">
955
+ <a name="poppler-document-get-title"></a><h3>poppler_document_get_title ()</h3>
956
+ <pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * poppler_document_get_title (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
957
+ <p>
958
+ Returns the document's title
959
+ </p>
960
+ <div class="variablelist"><table border="0" class="variablelist">
961
+ <colgroup>
962
+ <col align="left" valign="top">
963
+ <col>
964
+ </colgroup>
965
+ <tbody>
966
+ <tr>
967
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
968
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
969
+ </td>
970
+ </tr>
971
+ <tr>
972
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
973
+ <td>a new allocated string containing the title
974
+ of <em class="parameter"><code>document</code></em>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
975
+ </td>
976
+ </tr>
977
+ </tbody>
978
+ </table></div>
979
+ <p class="since">Since 0.16</p>
980
+ </div>
981
+ <hr>
982
+ <div class="refsect2">
983
+ <a name="poppler-document-get-author"></a><h3>poppler_document_get_author ()</h3>
984
+ <pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * poppler_document_get_author (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
985
+ <p>
986
+ Returns the author of the document
987
+ </p>
988
+ <div class="variablelist"><table border="0" class="variablelist">
989
+ <colgroup>
990
+ <col align="left" valign="top">
991
+ <col>
992
+ </colgroup>
993
+ <tbody>
994
+ <tr>
995
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
996
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
997
+ </td>
998
+ </tr>
999
+ <tr>
1000
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1001
+ <td>a new allocated string containing the author
1002
+ of <em class="parameter"><code>document</code></em>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1003
+ </td>
1004
+ </tr>
1005
+ </tbody>
1006
+ </table></div>
1007
+ <p class="since">Since 0.16</p>
1008
+ </div>
1009
+ <hr>
1010
+ <div class="refsect2">
1011
+ <a name="poppler-document-get-subject"></a><h3>poppler_document_get_subject ()</h3>
1012
+ <pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * poppler_document_get_subject (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1013
+ <p>
1014
+ Returns the subject of the document
1015
+ </p>
1016
+ <div class="variablelist"><table border="0" class="variablelist">
1017
+ <colgroup>
1018
+ <col align="left" valign="top">
1019
+ <col>
1020
+ </colgroup>
1021
+ <tbody>
1022
+ <tr>
1023
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1024
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1025
+ </td>
1026
+ </tr>
1027
+ <tr>
1028
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1029
+ <td>a new allocated string containing the subject
1030
+ of <em class="parameter"><code>document</code></em>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1031
+ </td>
1032
+ </tr>
1033
+ </tbody>
1034
+ </table></div>
1035
+ <p class="since">Since 0.16</p>
1036
+ </div>
1037
+ <hr>
1038
+ <div class="refsect2">
1039
+ <a name="poppler-document-get-keywords"></a><h3>poppler_document_get_keywords ()</h3>
1040
+ <pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * poppler_document_get_keywords (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1041
+ <p>
1042
+ Returns the keywords associated to the document
1043
+ </p>
1044
+ <div class="variablelist"><table border="0" class="variablelist">
1045
+ <colgroup>
1046
+ <col align="left" valign="top">
1047
+ <col>
1048
+ </colgroup>
1049
+ <tbody>
1050
+ <tr>
1051
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1052
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1053
+ </td>
1054
+ </tr>
1055
+ <tr>
1056
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1057
+ <td>a new allocated string containing keywords associated
1058
+ to <em class="parameter"><code>document</code></em>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1059
+ </td>
1060
+ </tr>
1061
+ </tbody>
1062
+ </table></div>
1063
+ <p class="since">Since 0.16</p>
1064
+ </div>
1065
+ <hr>
1066
+ <div class="refsect2">
1067
+ <a name="poppler-document-get-creator"></a><h3>poppler_document_get_creator ()</h3>
1068
+ <pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * poppler_document_get_creator (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1069
+ <p>
1070
+ Returns the creator of the document. If the document was converted
1071
+ from another format, the creator is the name of the product
1072
+ that created the original document from which it was converted.
1073
+ </p>
1074
+ <div class="variablelist"><table border="0" class="variablelist">
1075
+ <colgroup>
1076
+ <col align="left" valign="top">
1077
+ <col>
1078
+ </colgroup>
1079
+ <tbody>
1080
+ <tr>
1081
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1082
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1083
+ </td>
1084
+ </tr>
1085
+ <tr>
1086
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1087
+ <td>a new allocated string containing the creator
1088
+ of <em class="parameter"><code>document</code></em>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1089
+ </td>
1090
+ </tr>
1091
+ </tbody>
1092
+ </table></div>
1093
+ <p class="since">Since 0.16</p>
1094
+ </div>
1095
+ <hr>
1096
+ <div class="refsect2">
1097
+ <a name="poppler-document-get-producer"></a><h3>poppler_document_get_producer ()</h3>
1098
+ <pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * poppler_document_get_producer (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1099
+ <p>
1100
+ Returns the producer of the document. If the document was converted
1101
+ from another format, the producer is the name of the product
1102
+ that converted it to PDF
1103
+ </p>
1104
+ <div class="variablelist"><table border="0" class="variablelist">
1105
+ <colgroup>
1106
+ <col align="left" valign="top">
1107
+ <col>
1108
+ </colgroup>
1109
+ <tbody>
1110
+ <tr>
1111
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1112
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1113
+ </td>
1114
+ </tr>
1115
+ <tr>
1116
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1117
+ <td>a new allocated string containing the producer
1118
+ of <em class="parameter"><code>document</code></em>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1119
+ </td>
1120
+ </tr>
1121
+ </tbody>
1122
+ </table></div>
1123
+ <p class="since">Since 0.16</p>
1124
+ </div>
1125
+ <hr>
1126
+ <div class="refsect2">
1127
+ <a name="poppler-document-get-creation-date"></a><h3>poppler_document_get_creation_date ()</h3>
1128
+ <pre class="programlisting"><span class="returnvalue">time_t</span> poppler_document_get_creation_date (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1129
+ <p>
1130
+ Returns the date the document was created as seconds since the Epoch
1131
+ </p>
1132
+ <div class="variablelist"><table border="0" class="variablelist">
1133
+ <colgroup>
1134
+ <col align="left" valign="top">
1135
+ <col>
1136
+ </colgroup>
1137
+ <tbody>
1138
+ <tr>
1139
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1140
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1141
+ </td>
1142
+ </tr>
1143
+ <tr>
1144
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1145
+ <td>the date the document was created, or -1</td>
1146
+ </tr>
1147
+ </tbody>
1148
+ </table></div>
1149
+ <p class="since">Since 0.16</p>
1150
+ </div>
1151
+ <hr>
1152
+ <div class="refsect2">
1153
+ <a name="poppler-document-get-modification-date"></a><h3>poppler_document_get_modification_date ()</h3>
1154
+ <pre class="programlisting"><span class="returnvalue">time_t</span> poppler_document_get_modification_date
1155
+ (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1156
+ <p>
1157
+ Returns the date the document was most recently modified as seconds since the Epoch
1158
+ </p>
1159
+ <div class="variablelist"><table border="0" class="variablelist">
1160
+ <colgroup>
1161
+ <col align="left" valign="top">
1162
+ <col>
1163
+ </colgroup>
1164
+ <tbody>
1165
+ <tr>
1166
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1167
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1168
+ </td>
1169
+ </tr>
1170
+ <tr>
1171
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1172
+ <td>the date the document was most recently modified, or -1</td>
1173
+ </tr>
1174
+ </tbody>
1175
+ </table></div>
1176
+ <p class="since">Since 0.16</p>
1177
+ </div>
1178
+ <hr>
1179
+ <div class="refsect2">
1180
+ <a name="poppler-document-get-page-layout"></a><h3>poppler_document_get_page_layout ()</h3>
1181
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerPageLayout" title="enum PopplerPageLayout"><span class="returnvalue">PopplerPageLayout</span></a> poppler_document_get_page_layout (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1182
+ <p>
1183
+ Returns the page layout that should be used when the document is opened
1184
+ </p>
1185
+ <div class="variablelist"><table border="0" class="variablelist">
1186
+ <colgroup>
1187
+ <col align="left" valign="top">
1188
+ <col>
1189
+ </colgroup>
1190
+ <tbody>
1191
+ <tr>
1192
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1193
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1194
+ </td>
1195
+ </tr>
1196
+ <tr>
1197
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1198
+ <td>a <a class="link" href="PopplerDocument.html#PopplerPageLayout" title="enum PopplerPageLayout"><span class="type">PopplerPageLayout</span></a> that should be used when the document is opened</td>
1199
+ </tr>
1200
+ </tbody>
1201
+ </table></div>
1202
+ <p class="since">Since 0.16</p>
1203
+ </div>
1204
+ <hr>
1205
+ <div class="refsect2">
1206
+ <a name="poppler-document-get-page-mode"></a><h3>poppler_document_get_page_mode ()</h3>
1207
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerPageMode" title="enum PopplerPageMode"><span class="returnvalue">PopplerPageMode</span></a> poppler_document_get_page_mode (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1208
+ <p>
1209
+ Returns a <a class="link" href="PopplerDocument.html#PopplerPageMode" title="enum PopplerPageMode"><span class="type">PopplerPageMode</span></a> representing how the document should
1210
+ be initially displayed when opened.
1211
+ </p>
1212
+ <div class="variablelist"><table border="0" class="variablelist">
1213
+ <colgroup>
1214
+ <col align="left" valign="top">
1215
+ <col>
1216
+ </colgroup>
1217
+ <tbody>
1218
+ <tr>
1219
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1220
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1221
+ </td>
1222
+ </tr>
1223
+ <tr>
1224
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1225
+ <td>a <a class="link" href="PopplerDocument.html#PopplerPageMode" title="enum PopplerPageMode"><span class="type">PopplerPageMode</span></a> that should be used when document is opened</td>
1226
+ </tr>
1227
+ </tbody>
1228
+ </table></div>
1229
+ <p class="since">Since 0.16</p>
1230
+ </div>
1231
+ <hr>
1232
+ <div class="refsect2">
1233
+ <a name="poppler-document-get-permissions"></a><h3>poppler_document_get_permissions ()</h3>
1234
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerPermissions" title="enum PopplerPermissions"><span class="returnvalue">PopplerPermissions</span></a> poppler_document_get_permissions (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1235
+ <p>
1236
+ Returns the flags specifying which operations are permitted when the document is opened.
1237
+ </p>
1238
+ <div class="variablelist"><table border="0" class="variablelist">
1239
+ <colgroup>
1240
+ <col align="left" valign="top">
1241
+ <col>
1242
+ </colgroup>
1243
+ <tbody>
1244
+ <tr>
1245
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1246
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1247
+ </td>
1248
+ </tr>
1249
+ <tr>
1250
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1251
+ <td>a set of falgs from <a class="link" href="PopplerDocument.html#PopplerPermissions" title="enum PopplerPermissions"><span class="type">PopplerPermissions</span></a> enumeration</td>
1252
+ </tr>
1253
+ </tbody>
1254
+ </table></div>
1255
+ <p class="since">Since 0.16</p>
1256
+ </div>
1257
+ <hr>
1258
+ <div class="refsect2">
1259
+ <a name="poppler-document-get-metadata"></a><h3>poppler_document_get_metadata ()</h3>
1260
+ <pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * poppler_document_get_metadata (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1261
+ <p>
1262
+ Returns the XML metadata string of the document
1263
+ </p>
1264
+ <div class="variablelist"><table border="0" class="variablelist">
1265
+ <colgroup>
1266
+ <col align="left" valign="top">
1267
+ <col>
1268
+ </colgroup>
1269
+ <tbody>
1270
+ <tr>
1271
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1272
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1273
+ </td>
1274
+ </tr>
1275
+ <tr>
1276
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1277
+ <td>a new allocated string containing the XML
1278
+ metadata, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1279
+ </td>
1280
+ </tr>
1281
+ </tbody>
1282
+ </table></div>
1283
+ <p class="since">Since 0.16</p>
1284
+ </div>
1285
+ <hr>
1286
+ <div class="refsect2">
1287
+ <a name="poppler-document-is-linearized"></a><h3>poppler_document_is_linearized ()</h3>
1288
+ <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_document_is_linearized (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1289
+ <p>
1290
+ Returns whether <em class="parameter"><code>document</code></em> is linearized or not. Linearization of PDF
1291
+ enables efficient incremental access of the PDF file in a network environment.
1292
+ </p>
1293
+ <div class="variablelist"><table border="0" class="variablelist">
1294
+ <colgroup>
1295
+ <col align="left" valign="top">
1296
+ <col>
1297
+ </colgroup>
1298
+ <tbody>
1299
+ <tr>
1300
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1301
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1302
+ </td>
1303
+ </tr>
1304
+ <tr>
1305
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1306
+ <td>
1307
+ <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 <em class="parameter"><code>document</code></em> is linearized, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwhise</td>
1308
+ </tr>
1309
+ </tbody>
1310
+ </table></div>
1311
+ <p class="since">Since 0.16</p>
1312
+ </div>
1313
+ <hr>
1314
+ <div class="refsect2">
1315
+ <a name="poppler-document-get-n-pages"></a><h3>poppler_document_get_n_pages ()</h3>
1316
+ <pre class="programlisting"><span class="returnvalue">int</span> poppler_document_get_n_pages (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1317
+ <p>
1318
+ Returns the number of pages in a loaded document.
1319
+ </p>
1320
+ <div class="variablelist"><table border="0" class="variablelist">
1321
+ <colgroup>
1322
+ <col align="left" valign="top">
1323
+ <col>
1324
+ </colgroup>
1325
+ <tbody>
1326
+ <tr>
1327
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1328
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1329
+ </td>
1330
+ </tr>
1331
+ <tr>
1332
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1333
+ <td>Number of pages</td>
1334
+ </tr>
1335
+ </tbody>
1336
+ </table></div>
1337
+ </div>
1338
+ <hr>
1339
+ <div class="refsect2">
1340
+ <a name="poppler-document-get-page"></a><h3>poppler_document_get_page ()</h3>
1341
+ <pre class="programlisting"><a class="link" href="PopplerPage.html" title="PopplerPage"><span class="returnvalue">PopplerPage</span></a> * poppler_document_get_page (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
1342
+ <em class="parameter"><code><span class="type">int</span> index</code></em>);</pre>
1343
+ <p>
1344
+ Returns the <a class="link" href="PopplerPage.html" title="PopplerPage"><span class="type">PopplerPage</span></a> indexed at <em class="parameter"><code>index</code></em>. This object is owned by the
1345
+ caller.
1346
+ </p>
1347
+ <div class="variablelist"><table border="0" class="variablelist">
1348
+ <colgroup>
1349
+ <col align="left" valign="top">
1350
+ <col>
1351
+ </colgroup>
1352
+ <tbody>
1353
+ <tr>
1354
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1355
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1356
+ </td>
1357
+ </tr>
1358
+ <tr>
1359
+ <td><p><span class="term"><em class="parameter"><code>index</code></em> :</span></p></td>
1360
+ <td>a page index</td>
1361
+ </tr>
1362
+ <tr>
1363
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1364
+ <td>(transfer full) : The <a class="link" href="PopplerPage.html" title="PopplerPage"><span class="type">PopplerPage</span></a> at <em class="parameter"><code>index</code></em>
1365
+ </td>
1366
+ </tr>
1367
+ </tbody>
1368
+ </table></div>
1369
+ </div>
1370
+ <hr>
1371
+ <div class="refsect2">
1372
+ <a name="poppler-document-get-page-by-label"></a><h3>poppler_document_get_page_by_label ()</h3>
1373
+ <pre class="programlisting"><a class="link" href="PopplerPage.html" title="PopplerPage"><span class="returnvalue">PopplerPage</span></a> * poppler_document_get_page_by_label (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
1374
+ <em class="parameter"><code>const <span class="type">char</span> *label</code></em>);</pre>
1375
+ <p>
1376
+ Returns the <a class="link" href="PopplerPage.html" title="PopplerPage"><span class="type">PopplerPage</span></a> reference by <em class="parameter"><code>label</code></em>. This object is owned by the
1377
+ caller. <em class="parameter"><code>label</code></em> is a human-readable string representation of the page number,
1378
+ and can be document specific. Typically, it is a value such as "iii" or "3".
1379
+ </p>
1380
+ <p>
1381
+ By default, "1" refers to the first page.
1382
+ </p>
1383
+ <div class="variablelist"><table border="0" class="variablelist">
1384
+ <colgroup>
1385
+ <col align="left" valign="top">
1386
+ <col>
1387
+ </colgroup>
1388
+ <tbody>
1389
+ <tr>
1390
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1391
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1392
+ </td>
1393
+ </tr>
1394
+ <tr>
1395
+ <td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
1396
+ <td>a page label</td>
1397
+ </tr>
1398
+ <tr>
1399
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1400
+ <td>(transfer full) :The <a class="link" href="PopplerPage.html" title="PopplerPage"><span class="type">PopplerPage</span></a> referenced by <em class="parameter"><code>label</code></em>
1401
+ </td>
1402
+ </tr>
1403
+ </tbody>
1404
+ </table></div>
1405
+ </div>
1406
+ <hr>
1407
+ <div class="refsect2">
1408
+ <a name="poppler-document-find-dest"></a><h3>poppler_document_find_dest ()</h3>
1409
+ <pre class="programlisting"><a class="link" href="poppler-PopplerAction.html#PopplerDest" title="PopplerDest"><span class="returnvalue">PopplerDest</span></a> * poppler_document_find_dest (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
1410
+ <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> *link_name</code></em>);</pre>
1411
+ <p>
1412
+ Finds named destination <em class="parameter"><code>link_name</code></em> in <em class="parameter"><code>document</code></em>
1413
+ </p>
1414
+ <div class="variablelist"><table border="0" class="variablelist">
1415
+ <colgroup>
1416
+ <col align="left" valign="top">
1417
+ <col>
1418
+ </colgroup>
1419
+ <tbody>
1420
+ <tr>
1421
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1422
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1423
+ </td>
1424
+ </tr>
1425
+ <tr>
1426
+ <td><p><span class="term"><em class="parameter"><code>link_name</code></em> :</span></p></td>
1427
+ <td>a named destination</td>
1428
+ </tr>
1429
+ <tr>
1430
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1431
+ <td>The <a class="link" href="poppler-PopplerAction.html#PopplerDest" title="PopplerDest"><span class="type">PopplerDest</span></a> destination or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
1432
+ <em class="parameter"><code>link_name</code></em> is not a destination. Returned value must
1433
+ be freed with <a class="link" href="poppler-PopplerAction.html#poppler-dest-free" title="poppler_dest_free ()"><span class="type">poppler_dest_free</span></a>
1434
+ </td>
1435
+ </tr>
1436
+ </tbody>
1437
+ </table></div>
1438
+ </div>
1439
+ <hr>
1440
+ <div class="refsect2">
1441
+ <a name="poppler-document-get-n-attachments"></a><h3>poppler_document_get_n_attachments ()</h3>
1442
+ <pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> poppler_document_get_n_attachments (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1443
+ <p>
1444
+ Returns the number of attachments in a loaded document.
1445
+ See also <a class="link" href="PopplerDocument.html#poppler-document-get-attachments" title="poppler_document_get_attachments ()"><code class="function">poppler_document_get_attachments()</code></a>
1446
+ </p>
1447
+ <div class="variablelist"><table border="0" class="variablelist">
1448
+ <colgroup>
1449
+ <col align="left" valign="top">
1450
+ <col>
1451
+ </colgroup>
1452
+ <tbody>
1453
+ <tr>
1454
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1455
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1456
+ </td>
1457
+ </tr>
1458
+ <tr>
1459
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1460
+ <td>Number of attachments</td>
1461
+ </tr>
1462
+ </tbody>
1463
+ </table></div>
1464
+ <p class="since">Since 0.18</p>
1465
+ </div>
1466
+ <hr>
1467
+ <div class="refsect2">
1468
+ <a name="poppler-document-has-attachments"></a><h3>poppler_document_has_attachments ()</h3>
1469
+ <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_document_has_attachments (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1470
+ <p>
1471
+ Returns <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> of <em class="parameter"><code>document</code></em> has any attachments.
1472
+ </p>
1473
+ <div class="variablelist"><table border="0" class="variablelist">
1474
+ <colgroup>
1475
+ <col align="left" valign="top">
1476
+ <col>
1477
+ </colgroup>
1478
+ <tbody>
1479
+ <tr>
1480
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1481
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1482
+ </td>
1483
+ </tr>
1484
+ <tr>
1485
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1486
+ <td>
1487
+ <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 <em class="parameter"><code>document</code></em> has attachments.</td>
1488
+ </tr>
1489
+ </tbody>
1490
+ </table></div>
1491
+ </div>
1492
+ <hr>
1493
+ <div class="refsect2">
1494
+ <a name="poppler-document-get-attachments"></a><h3>poppler_document_get_attachments ()</h3>
1495
+ <pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * poppler_document_get_attachments (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1496
+ <p>
1497
+ Returns a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> containing <a class="link" href="PopplerAttachment.html" title="PopplerAttachment"><span class="type">PopplerAttachment</span></a>s. These attachments
1498
+ are unowned, and must be unreffed, and the list must be freed with
1499
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>.
1500
+ </p>
1501
+ <div class="variablelist"><table border="0" class="variablelist">
1502
+ <colgroup>
1503
+ <col align="left" valign="top">
1504
+ <col>
1505
+ </colgroup>
1506
+ <tbody>
1507
+ <tr>
1508
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1509
+ <td>A <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1510
+ </td>
1511
+ </tr>
1512
+ <tr>
1513
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1514
+ <td>a list of available attachments. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> PopplerAttachment][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
1515
+ </td>
1516
+ </tr>
1517
+ </tbody>
1518
+ </table></div>
1519
+ </div>
1520
+ <hr>
1521
+ <div class="refsect2">
1522
+ <a name="poppler-document-get-form-field"></a><h3>poppler_document_get_form_field ()</h3>
1523
+ <pre class="programlisting"><a class="link" href="PopplerFormField.html" title="PoppplerFormField"><span class="returnvalue">PopplerFormField</span></a> * poppler_document_get_form_field (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
1524
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id</code></em>);</pre>
1525
+ <p>
1526
+ Returns the <a class="link" href="PopplerFormField.html" title="PoppplerFormField"><span class="type">PopplerFormField</span></a> for the given <em class="parameter"><code>id</code></em>. It must be freed with
1527
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>
1528
+ </p>
1529
+ <div class="variablelist"><table border="0" class="variablelist">
1530
+ <colgroup>
1531
+ <col align="left" valign="top">
1532
+ <col>
1533
+ </colgroup>
1534
+ <tbody>
1535
+ <tr>
1536
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1537
+ <td>a <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1538
+ </td>
1539
+ </tr>
1540
+ <tr>
1541
+ <td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
1542
+ <td>an id of a <a class="link" href="PopplerFormField.html" title="PoppplerFormField"><span class="type">PopplerFormField</span></a>
1543
+ </td>
1544
+ </tr>
1545
+ <tr>
1546
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1547
+ <td>a new <a class="link" href="PopplerFormField.html" title="PoppplerFormField"><span class="type">PopplerFormField</span></a> or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
1548
+ not found. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
1549
+ </td>
1550
+ </tr>
1551
+ </tbody>
1552
+ </table></div>
1553
+ </div>
1554
+ <hr>
1555
+ <div class="refsect2">
1556
+ <a name="poppler-index-iter-new"></a><h3>poppler_index_iter_new ()</h3>
1557
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="returnvalue">PopplerIndexIter</span></a> * poppler_index_iter_new (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1558
+ <p>
1559
+ Returns the root <a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> for <em class="parameter"><code>document</code></em>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. This must be
1560
+ freed with <a class="link" href="PopplerDocument.html#poppler-index-iter-free" title="poppler_index_iter_free ()"><code class="function">poppler_index_iter_free()</code></a>.
1561
+ </p>
1562
+ <p>
1563
+ Certain documents have an index associated with them. This index can be used
1564
+ to help the user navigate the document, and is similar to a table of
1565
+ contents. Each node in the index will contain a <a class="link" href="poppler-PopplerAction.html#PopplerAction" title="union PopplerAction"><span class="type">PopplerAction</span></a> that can be
1566
+ displayed to the user — typically a <a class="link" href="poppler-PopplerAction.html#POPPLER-ACTION-GOTO-DEST:CAPS"><span class="type">POPPLER_ACTION_GOTO_DEST</span></a> or a
1567
+ <a class="link" href="poppler-PopplerAction.html#POPPLER-ACTION-URI:CAPS"><span class="type">POPPLER_ACTION_URI</span></a>.
1568
+ </p>
1569
+ <p>
1570
+ Here is a simple example of some code that walks the full index:
1571
+ </p>
1572
+ <p>
1573
+ </p>
1574
+ <div class="informalexample"><pre class="programlisting">
1575
+ static void
1576
+ walk_index (PopplerIndexIter *iter)
1577
+ {
1578
+ do
1579
+ {
1580
+ /* Get the the action and do something with it */
1581
+ PopplerIndexIter *child = poppler_index_iter_get_child (iter);
1582
+ if (child)
1583
+ walk_index (child);
1584
+ poppler_index_iter_free (child);
1585
+ }
1586
+ while (poppler_index_iter_next (iter));
1587
+ }
1588
+ ...
1589
+ {
1590
+ iter = poppler_index_iter_new (document);
1591
+ walk_index (iter);
1592
+ poppler_index_iter_free (iter);
1593
+ }
1594
+ </pre></div>
1595
+ <p>
1596
+ </p>
1597
+ <div class="variablelist"><table border="0" class="variablelist">
1598
+ <colgroup>
1599
+ <col align="left" valign="top">
1600
+ <col>
1601
+ </colgroup>
1602
+ <tbody>
1603
+ <tr>
1604
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1605
+ <td>a <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1606
+ </td>
1607
+ </tr>
1608
+ <tr>
1609
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1610
+ <td>a new <a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a>
1611
+ </td>
1612
+ </tr>
1613
+ </tbody>
1614
+ </table></div>
1615
+ </div>
1616
+ <hr>
1617
+ <div class="refsect2">
1618
+ <a name="poppler-index-iter-copy"></a><h3>poppler_index_iter_copy ()</h3>
1619
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="returnvalue">PopplerIndexIter</span></a> * poppler_index_iter_copy (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *iter</code></em>);</pre>
1620
+ <p>
1621
+ Creates a new <a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> as a copy of <em class="parameter"><code>iter</code></em>. This must be freed with
1622
+ <a class="link" href="PopplerDocument.html#poppler-index-iter-free" title="poppler_index_iter_free ()"><code class="function">poppler_index_iter_free()</code></a>.
1623
+ </p>
1624
+ <div class="variablelist"><table border="0" class="variablelist">
1625
+ <colgroup>
1626
+ <col align="left" valign="top">
1627
+ <col>
1628
+ </colgroup>
1629
+ <tbody>
1630
+ <tr>
1631
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
1632
+ <td>a <a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a>
1633
+ </td>
1634
+ </tr>
1635
+ <tr>
1636
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1637
+ <td>a new <a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a>
1638
+ </td>
1639
+ </tr>
1640
+ </tbody>
1641
+ </table></div>
1642
+ </div>
1643
+ <hr>
1644
+ <div class="refsect2">
1645
+ <a name="poppler-index-iter-free"></a><h3>poppler_index_iter_free ()</h3>
1646
+ <pre class="programlisting"><span class="returnvalue">void</span> poppler_index_iter_free (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *iter</code></em>);</pre>
1647
+ <p>
1648
+ Frees <em class="parameter"><code>iter</code></em>.
1649
+ </p>
1650
+ <div class="variablelist"><table border="0" class="variablelist">
1651
+ <colgroup>
1652
+ <col align="left" valign="top">
1653
+ <col>
1654
+ </colgroup>
1655
+ <tbody><tr>
1656
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
1657
+ <td>a <a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a>
1658
+ </td>
1659
+ </tr></tbody>
1660
+ </table></div>
1661
+ </div>
1662
+ <hr>
1663
+ <div class="refsect2">
1664
+ <a name="poppler-index-iter-get-child"></a><h3>poppler_index_iter_get_child ()</h3>
1665
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="returnvalue">PopplerIndexIter</span></a> * poppler_index_iter_get_child (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *parent</code></em>);</pre>
1666
+ <p>
1667
+ Returns a newly created child of <em class="parameter"><code>parent</code></em>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the iter has no child.
1668
+ See <a class="link" href="PopplerDocument.html#poppler-index-iter-new" title="poppler_index_iter_new ()"><code class="function">poppler_index_iter_new()</code></a> for more information on this function.
1669
+ </p>
1670
+ <div class="variablelist"><table border="0" class="variablelist">
1671
+ <colgroup>
1672
+ <col align="left" valign="top">
1673
+ <col>
1674
+ </colgroup>
1675
+ <tbody>
1676
+ <tr>
1677
+ <td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
1678
+ <td>a <a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a>
1679
+ </td>
1680
+ </tr>
1681
+ <tr>
1682
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1683
+ <td>a new <a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a>
1684
+ </td>
1685
+ </tr>
1686
+ </tbody>
1687
+ </table></div>
1688
+ </div>
1689
+ <hr>
1690
+ <div class="refsect2">
1691
+ <a name="poppler-index-iter-is-open"></a><h3>poppler_index_iter_is_open ()</h3>
1692
+ <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_index_iter_is_open (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *iter</code></em>);</pre>
1693
+ <p>
1694
+ Returns whether this node should be expanded by default to the user. The
1695
+ document can provide a hint as to how the document's index should be expanded
1696
+ initially.
1697
+ </p>
1698
+ <div class="variablelist"><table border="0" class="variablelist">
1699
+ <colgroup>
1700
+ <col align="left" valign="top">
1701
+ <col>
1702
+ </colgroup>
1703
+ <tbody>
1704
+ <tr>
1705
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
1706
+ <td>a <a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a>
1707
+ </td>
1708
+ </tr>
1709
+ <tr>
1710
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1711
+ <td>
1712
+ <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 document wants <em class="parameter"><code>iter</code></em> to be expanded</td>
1713
+ </tr>
1714
+ </tbody>
1715
+ </table></div>
1716
+ </div>
1717
+ <hr>
1718
+ <div class="refsect2">
1719
+ <a name="poppler-index-iter-get-action"></a><h3>poppler_index_iter_get_action ()</h3>
1720
+ <pre class="programlisting"><a class="link" href="poppler-PopplerAction.html#PopplerAction" title="union PopplerAction"><span class="returnvalue">PopplerAction</span></a> * poppler_index_iter_get_action (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *iter</code></em>);</pre>
1721
+ <p>
1722
+ Returns the <a class="link" href="poppler-PopplerAction.html#PopplerAction" title="union PopplerAction"><span class="type">PopplerAction</span></a> associated with <em class="parameter"><code>iter</code></em>. It must be freed with
1723
+ <a class="link" href="poppler-PopplerAction.html#poppler-action-free" title="poppler_action_free ()"><code class="function">poppler_action_free()</code></a>.
1724
+ </p>
1725
+ <div class="variablelist"><table border="0" class="variablelist">
1726
+ <colgroup>
1727
+ <col align="left" valign="top">
1728
+ <col>
1729
+ </colgroup>
1730
+ <tbody>
1731
+ <tr>
1732
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
1733
+ <td>a <a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a>
1734
+ </td>
1735
+ </tr>
1736
+ <tr>
1737
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1738
+ <td>a new <a class="link" href="poppler-PopplerAction.html#PopplerAction" title="union PopplerAction"><span class="type">PopplerAction</span></a>
1739
+ </td>
1740
+ </tr>
1741
+ </tbody>
1742
+ </table></div>
1743
+ </div>
1744
+ <hr>
1745
+ <div class="refsect2">
1746
+ <a name="poppler-index-iter-next"></a><h3>poppler_index_iter_next ()</h3>
1747
+ <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_index_iter_next (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a> *iter</code></em>);</pre>
1748
+ <p>
1749
+ Sets <em class="parameter"><code>iter</code></em> to point to the next action at the current level, if valid. See
1750
+ <a class="link" href="PopplerDocument.html#poppler-index-iter-new" title="poppler_index_iter_new ()"><code class="function">poppler_index_iter_new()</code></a> for more information.
1751
+ </p>
1752
+ <div class="variablelist"><table border="0" class="variablelist">
1753
+ <colgroup>
1754
+ <col align="left" valign="top">
1755
+ <col>
1756
+ </colgroup>
1757
+ <tbody>
1758
+ <tr>
1759
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
1760
+ <td>a <a class="link" href="PopplerDocument.html#PopplerIndexIter" title="PopplerIndexIter"><span class="type">PopplerIndexIter</span></a>
1761
+ </td>
1762
+ </tr>
1763
+ <tr>
1764
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1765
+ <td>
1766
+ <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 <em class="parameter"><code>iter</code></em> was set to the next action</td>
1767
+ </tr>
1768
+ </tbody>
1769
+ </table></div>
1770
+ </div>
1771
+ <hr>
1772
+ <div class="refsect2">
1773
+ <a name="poppler-font-info-new"></a><h3>poppler_font_info_new ()</h3>
1774
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerFontInfo" title="PopplerFontInfo"><span class="returnvalue">PopplerFontInfo</span></a> * poppler_font_info_new (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
1775
+ <p>
1776
+ Creates a new <a class="link" href="PopplerDocument.html#PopplerFontInfo" title="PopplerFontInfo"><span class="type">PopplerFontInfo</span></a> object
1777
+ </p>
1778
+ <div class="variablelist"><table border="0" class="variablelist">
1779
+ <colgroup>
1780
+ <col align="left" valign="top">
1781
+ <col>
1782
+ </colgroup>
1783
+ <tbody>
1784
+ <tr>
1785
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
1786
+ <td>a <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
1787
+ </td>
1788
+ </tr>
1789
+ <tr>
1790
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1791
+ <td>a new <a class="link" href="PopplerDocument.html#PopplerFontInfo" title="PopplerFontInfo"><span class="type">PopplerFontInfo</span></a> instance</td>
1792
+ </tr>
1793
+ </tbody>
1794
+ </table></div>
1795
+ </div>
1796
+ <hr>
1797
+ <div class="refsect2">
1798
+ <a name="poppler-font-info-scan"></a><h3>poppler_font_info_scan ()</h3>
1799
+ <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_font_info_scan (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontInfo" title="PopplerFontInfo"><span class="type">PopplerFontInfo</span></a> *font_info</code></em>,
1800
+ <em class="parameter"><code><span class="type">int</span> n_pages</code></em>,
1801
+ <em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> **iter</code></em>);</pre>
1802
+ <p>
1803
+ Scans the document associated with <em class="parameter"><code>font_info</code></em> for fonts. At most
1804
+ <em class="parameter"><code>n_pages</code></em> will be scanned starting from the current iterator. <em class="parameter"><code>iter</code></em> will
1805
+ point to the first font scanned.
1806
+ </p>
1807
+ <p>
1808
+ Here is a simple example of code to scan fonts in a document
1809
+ </p>
1810
+ <p>
1811
+ </p>
1812
+ <div class="informalexample"><pre class="programlisting">
1813
+ font_info = poppler_font_info_new (document);
1814
+ while (poppler_font_info_scan (font_info, 20, &amp;fonts_iter)) {
1815
+ if (!fonts_iter)
1816
+ continue; /* No fonts found in these 20 pages */
1817
+ do {
1818
+ /* Do something with font iter */
1819
+ g_print ("Font Name: %s\n", poppler_fonts_iter_get_name (fonts_iter));
1820
+ } while (poppler_fonts_iter_next (fonts_iter));
1821
+ poppler_fonts_iter_free (fonts_iter);
1822
+ }
1823
+ </pre></div>
1824
+ <p>
1825
+ </p>
1826
+ <div class="variablelist"><table border="0" class="variablelist">
1827
+ <colgroup>
1828
+ <col align="left" valign="top">
1829
+ <col>
1830
+ </colgroup>
1831
+ <tbody>
1832
+ <tr>
1833
+ <td><p><span class="term"><em class="parameter"><code>font_info</code></em> :</span></p></td>
1834
+ <td>a <a class="link" href="PopplerDocument.html#PopplerFontInfo" title="PopplerFontInfo"><span class="type">PopplerFontInfo</span></a>
1835
+ </td>
1836
+ </tr>
1837
+ <tr>
1838
+ <td><p><span class="term"><em class="parameter"><code>n_pages</code></em> :</span></p></td>
1839
+ <td>number of pages to scan</td>
1840
+ </tr>
1841
+ <tr>
1842
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
1843
+ <td>return location for a <a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
1844
+ </td>
1845
+ </tr>
1846
+ <tr>
1847
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1848
+ <td>
1849
+ <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 there are more fonts left to scan</td>
1850
+ </tr>
1851
+ </tbody>
1852
+ </table></div>
1853
+ </div>
1854
+ <hr>
1855
+ <div class="refsect2">
1856
+ <a name="poppler-font-info-free"></a><h3>poppler_font_info_free ()</h3>
1857
+ <pre class="programlisting"><span class="returnvalue">void</span> poppler_font_info_free (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontInfo" title="PopplerFontInfo"><span class="type">PopplerFontInfo</span></a> *font_info</code></em>);</pre>
1858
+ </div>
1859
+ <hr>
1860
+ <div class="refsect2">
1861
+ <a name="poppler-fonts-iter-copy"></a><h3>poppler_fonts_iter_copy ()</h3>
1862
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="returnvalue">PopplerFontsIter</span></a> * poppler_fonts_iter_copy (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
1863
+ <p>
1864
+ Creates a copy of <em class="parameter"><code>iter</code></em>
1865
+ </p>
1866
+ <div class="variablelist"><table border="0" class="variablelist">
1867
+ <colgroup>
1868
+ <col align="left" valign="top">
1869
+ <col>
1870
+ </colgroup>
1871
+ <tbody>
1872
+ <tr>
1873
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
1874
+ <td>a <a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> to copy</td>
1875
+ </tr>
1876
+ <tr>
1877
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1878
+ <td>a new allocated copy of <em class="parameter"><code>iter</code></em>
1879
+ </td>
1880
+ </tr>
1881
+ </tbody>
1882
+ </table></div>
1883
+ </div>
1884
+ <hr>
1885
+ <div class="refsect2">
1886
+ <a name="poppler-fonts-iter-free"></a><h3>poppler_fonts_iter_free ()</h3>
1887
+ <pre class="programlisting"><span class="returnvalue">void</span> poppler_fonts_iter_free (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
1888
+ <p>
1889
+ Frees the given <a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a>
1890
+ </p>
1891
+ <div class="variablelist"><table border="0" class="variablelist">
1892
+ <colgroup>
1893
+ <col align="left" valign="top">
1894
+ <col>
1895
+ </colgroup>
1896
+ <tbody><tr>
1897
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
1898
+ <td>a <a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a>
1899
+ </td>
1900
+ </tr></tbody>
1901
+ </table></div>
1902
+ </div>
1903
+ <hr>
1904
+ <div class="refsect2">
1905
+ <a name="poppler-fonts-iter-get-name"></a><h3>poppler_fonts_iter_get_name ()</h3>
1906
+ <pre class="programlisting">const <span class="returnvalue">char</span> * poppler_fonts_iter_get_name (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
1907
+ <p>
1908
+ Returns the name of the font associated with <em class="parameter"><code>iter</code></em>
1909
+ </p>
1910
+ <div class="variablelist"><table border="0" class="variablelist">
1911
+ <colgroup>
1912
+ <col align="left" valign="top">
1913
+ <col>
1914
+ </colgroup>
1915
+ <tbody>
1916
+ <tr>
1917
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
1918
+ <td>a <a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a>
1919
+ </td>
1920
+ </tr>
1921
+ <tr>
1922
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1923
+ <td>the font name</td>
1924
+ </tr>
1925
+ </tbody>
1926
+ </table></div>
1927
+ </div>
1928
+ <hr>
1929
+ <div class="refsect2">
1930
+ <a name="poppler-fonts-iter-get-full-name"></a><h3>poppler_fonts_iter_get_full_name ()</h3>
1931
+ <pre class="programlisting">const <span class="returnvalue">char</span> * poppler_fonts_iter_get_full_name (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
1932
+ <p>
1933
+ Returns the full name of the font associated with <em class="parameter"><code>iter</code></em>
1934
+ </p>
1935
+ <div class="variablelist"><table border="0" class="variablelist">
1936
+ <colgroup>
1937
+ <col align="left" valign="top">
1938
+ <col>
1939
+ </colgroup>
1940
+ <tbody>
1941
+ <tr>
1942
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
1943
+ <td>a <a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a>
1944
+ </td>
1945
+ </tr>
1946
+ <tr>
1947
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1948
+ <td>the font full name</td>
1949
+ </tr>
1950
+ </tbody>
1951
+ </table></div>
1952
+ </div>
1953
+ <hr>
1954
+ <div class="refsect2">
1955
+ <a name="poppler-fonts-iter-get-font-type"></a><h3>poppler_fonts_iter_get_font_type ()</h3>
1956
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerFontType" title="enum PopplerFontType"><span class="returnvalue">PopplerFontType</span></a> poppler_fonts_iter_get_font_type (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
1957
+ <p>
1958
+ Returns the type of the font associated with <em class="parameter"><code>iter</code></em>
1959
+ </p>
1960
+ <div class="variablelist"><table border="0" class="variablelist">
1961
+ <colgroup>
1962
+ <col align="left" valign="top">
1963
+ <col>
1964
+ </colgroup>
1965
+ <tbody>
1966
+ <tr>
1967
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
1968
+ <td>a <a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a>
1969
+ </td>
1970
+ </tr>
1971
+ <tr>
1972
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1973
+ <td>the font type</td>
1974
+ </tr>
1975
+ </tbody>
1976
+ </table></div>
1977
+ </div>
1978
+ <hr>
1979
+ <div class="refsect2">
1980
+ <a name="poppler-fonts-iter-get-substitute-name"></a><h3>poppler_fonts_iter_get_substitute_name ()</h3>
1981
+ <pre class="programlisting">const <span class="returnvalue">char</span> * poppler_fonts_iter_get_substitute_name
1982
+ (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
1983
+ <p>
1984
+ The name of the substitute font of the font associated with <em class="parameter"><code>iter</code></em> or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
1985
+ the font is embedded
1986
+ </p>
1987
+ <div class="variablelist"><table border="0" class="variablelist">
1988
+ <colgroup>
1989
+ <col align="left" valign="top">
1990
+ <col>
1991
+ </colgroup>
1992
+ <tbody>
1993
+ <tr>
1994
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
1995
+ <td>a <a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a>
1996
+ </td>
1997
+ </tr>
1998
+ <tr>
1999
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2000
+ <td>the name of the substitute font or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if font is embedded</td>
2001
+ </tr>
2002
+ </tbody>
2003
+ </table></div>
2004
+ <p class="since">Since 0.20</p>
2005
+ </div>
2006
+ <hr>
2007
+ <div class="refsect2">
2008
+ <a name="poppler-fonts-iter-get-file-name"></a><h3>poppler_fonts_iter_get_file_name ()</h3>
2009
+ <pre class="programlisting">const <span class="returnvalue">char</span> * poppler_fonts_iter_get_file_name (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
2010
+ <p>
2011
+ The filename of the font associated with <em class="parameter"><code>iter</code></em> or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
2012
+ the font is embedded
2013
+ </p>
2014
+ <div class="variablelist"><table border="0" class="variablelist">
2015
+ <colgroup>
2016
+ <col align="left" valign="top">
2017
+ <col>
2018
+ </colgroup>
2019
+ <tbody>
2020
+ <tr>
2021
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
2022
+ <td>a <a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a>
2023
+ </td>
2024
+ </tr>
2025
+ <tr>
2026
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2027
+ <td>the filename of the font or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if font is embedded</td>
2028
+ </tr>
2029
+ </tbody>
2030
+ </table></div>
2031
+ </div>
2032
+ <hr>
2033
+ <div class="refsect2">
2034
+ <a name="poppler-fonts-iter-get-encoding"></a><h3>poppler_fonts_iter_get_encoding ()</h3>
2035
+ <pre class="programlisting">const <span class="returnvalue">char</span> * poppler_fonts_iter_get_encoding (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
2036
+ <p>
2037
+ Returns the encoding of the font associated with <em class="parameter"><code>iter</code></em>
2038
+ </p>
2039
+ <div class="variablelist"><table border="0" class="variablelist">
2040
+ <colgroup>
2041
+ <col align="left" valign="top">
2042
+ <col>
2043
+ </colgroup>
2044
+ <tbody>
2045
+ <tr>
2046
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
2047
+ <td>a <a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a>
2048
+ </td>
2049
+ </tr>
2050
+ <tr>
2051
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2052
+ <td>the font encoding</td>
2053
+ </tr>
2054
+ </tbody>
2055
+ </table></div>
2056
+ <p class="since">Since 0.20</p>
2057
+ </div>
2058
+ <hr>
2059
+ <div class="refsect2">
2060
+ <a name="poppler-fonts-iter-is-embedded"></a><h3>poppler_fonts_iter_is_embedded ()</h3>
2061
+ <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_fonts_iter_is_embedded (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
2062
+ <p>
2063
+ Returns whether the font associated with <em class="parameter"><code>iter</code></em> is embedded in the document
2064
+ </p>
2065
+ <div class="variablelist"><table border="0" class="variablelist">
2066
+ <colgroup>
2067
+ <col align="left" valign="top">
2068
+ <col>
2069
+ </colgroup>
2070
+ <tbody>
2071
+ <tr>
2072
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
2073
+ <td>a <a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a>
2074
+ </td>
2075
+ </tr>
2076
+ <tr>
2077
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2078
+ <td>
2079
+ <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 font is emebdded, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
2080
+ </tr>
2081
+ </tbody>
2082
+ </table></div>
2083
+ </div>
2084
+ <hr>
2085
+ <div class="refsect2">
2086
+ <a name="poppler-fonts-iter-is-subset"></a><h3>poppler_fonts_iter_is_subset ()</h3>
2087
+ <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_fonts_iter_is_subset (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
2088
+ <p>
2089
+ Returns whether the font associated with <em class="parameter"><code>iter</code></em> is a subset of another font
2090
+ </p>
2091
+ <div class="variablelist"><table border="0" class="variablelist">
2092
+ <colgroup>
2093
+ <col align="left" valign="top">
2094
+ <col>
2095
+ </colgroup>
2096
+ <tbody>
2097
+ <tr>
2098
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
2099
+ <td>a <a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a>
2100
+ </td>
2101
+ </tr>
2102
+ <tr>
2103
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2104
+ <td>
2105
+ <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 font is a subset, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
2106
+ </tr>
2107
+ </tbody>
2108
+ </table></div>
2109
+ </div>
2110
+ <hr>
2111
+ <div class="refsect2">
2112
+ <a name="poppler-fonts-iter-next"></a><h3>poppler_fonts_iter_next ()</h3>
2113
+ <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_fonts_iter_next (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a> *iter</code></em>);</pre>
2114
+ <p>
2115
+ Sets <em class="parameter"><code>iter</code></em> to point to the next font
2116
+ </p>
2117
+ <div class="variablelist"><table border="0" class="variablelist">
2118
+ <colgroup>
2119
+ <col align="left" valign="top">
2120
+ <col>
2121
+ </colgroup>
2122
+ <tbody>
2123
+ <tr>
2124
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
2125
+ <td>a <a class="link" href="PopplerDocument.html#PopplerFontsIter" title="PopplerFontsIter"><span class="type">PopplerFontsIter</span></a>
2126
+ </td>
2127
+ </tr>
2128
+ <tr>
2129
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2130
+ <td>
2131
+ <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 <em class="parameter"><code>iter</code></em> was set to the next font</td>
2132
+ </tr>
2133
+ </tbody>
2134
+ </table></div>
2135
+ </div>
2136
+ <hr>
2137
+ <div class="refsect2">
2138
+ <a name="poppler-layers-iter-new"></a><h3>poppler_layers_iter_new ()</h3>
2139
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="returnvalue">PopplerLayersIter</span></a> * poppler_layers_iter_new (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>);</pre>
2140
+ <div class="variablelist"><table border="0" class="variablelist">
2141
+ <colgroup>
2142
+ <col align="left" valign="top">
2143
+ <col>
2144
+ </colgroup>
2145
+ <tbody><tr>
2146
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
2147
+ <td>a <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
2148
+ </td>
2149
+ </tr></tbody>
2150
+ </table></div>
2151
+ <p class="since">Since 0.12</p>
2152
+ </div>
2153
+ <hr>
2154
+ <div class="refsect2">
2155
+ <a name="poppler-layers-iter-copy"></a><h3>poppler_layers_iter_copy ()</h3>
2156
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="returnvalue">PopplerLayersIter</span></a> * poppler_layers_iter_copy (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *iter</code></em>);</pre>
2157
+ <p>
2158
+ Creates a new <a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> as a copy of <em class="parameter"><code>iter</code></em>. This must be freed with
2159
+ <a class="link" href="PopplerDocument.html#poppler-layers-iter-free" title="poppler_layers_iter_free ()"><code class="function">poppler_layers_iter_free()</code></a>.
2160
+ </p>
2161
+ <div class="variablelist"><table border="0" class="variablelist">
2162
+ <colgroup>
2163
+ <col align="left" valign="top">
2164
+ <col>
2165
+ </colgroup>
2166
+ <tbody>
2167
+ <tr>
2168
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
2169
+ <td>a <a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a>
2170
+ </td>
2171
+ </tr>
2172
+ <tr>
2173
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2174
+ <td>a new <a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a>
2175
+ Since 0.12</td>
2176
+ </tr>
2177
+ </tbody>
2178
+ </table></div>
2179
+ </div>
2180
+ <hr>
2181
+ <div class="refsect2">
2182
+ <a name="poppler-layers-iter-free"></a><h3>poppler_layers_iter_free ()</h3>
2183
+ <pre class="programlisting"><span class="returnvalue">void</span> poppler_layers_iter_free (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *iter</code></em>);</pre>
2184
+ <p>
2185
+ Frees <em class="parameter"><code>iter</code></em>.
2186
+ </p>
2187
+ <div class="variablelist"><table border="0" class="variablelist">
2188
+ <colgroup>
2189
+ <col align="left" valign="top">
2190
+ <col>
2191
+ </colgroup>
2192
+ <tbody><tr>
2193
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
2194
+ <td>a <a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a>
2195
+ </td>
2196
+ </tr></tbody>
2197
+ </table></div>
2198
+ <p class="since">Since 0.12</p>
2199
+ </div>
2200
+ <hr>
2201
+ <div class="refsect2">
2202
+ <a name="poppler-layers-iter-get-child"></a><h3>poppler_layers_iter_get_child ()</h3>
2203
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="returnvalue">PopplerLayersIter</span></a> * poppler_layers_iter_get_child (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *parent</code></em>);</pre>
2204
+ <p>
2205
+ Returns a newly created child of <em class="parameter"><code>parent</code></em>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the iter has no child.
2206
+ See <a class="link" href="PopplerDocument.html#poppler-layers-iter-new" title="poppler_layers_iter_new ()"><code class="function">poppler_layers_iter_new()</code></a> for more information on this function.
2207
+ </p>
2208
+ <div class="variablelist"><table border="0" class="variablelist">
2209
+ <colgroup>
2210
+ <col align="left" valign="top">
2211
+ <col>
2212
+ </colgroup>
2213
+ <tbody>
2214
+ <tr>
2215
+ <td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
2216
+ <td>a <a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a>
2217
+ </td>
2218
+ </tr>
2219
+ <tr>
2220
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2221
+ <td>a new <a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
2222
+ </td>
2223
+ </tr>
2224
+ </tbody>
2225
+ </table></div>
2226
+ <p class="since">Since 0.12</p>
2227
+ </div>
2228
+ <hr>
2229
+ <div class="refsect2">
2230
+ <a name="poppler-layers-iter-get-layer"></a><h3>poppler_layers_iter_get_layer ()</h3>
2231
+ <pre class="programlisting"><a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="returnvalue">PopplerLayer</span></a> * poppler_layers_iter_get_layer (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *iter</code></em>);</pre>
2232
+ <p>
2233
+ Returns the <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a> associated with <em class="parameter"><code>iter</code></em>.
2234
+ </p>
2235
+ <div class="variablelist"><table border="0" class="variablelist">
2236
+ <colgroup>
2237
+ <col align="left" valign="top">
2238
+ <col>
2239
+ </colgroup>
2240
+ <tbody>
2241
+ <tr>
2242
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
2243
+ <td>a <a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a>
2244
+ </td>
2245
+ </tr>
2246
+ <tr>
2247
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2248
+ <td>a new <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
2249
+ there isn't any layer associated with <em class="parameter"><code>iter</code></em>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
2250
+ </td>
2251
+ </tr>
2252
+ </tbody>
2253
+ </table></div>
2254
+ <p class="since">Since 0.12</p>
2255
+ </div>
2256
+ <hr>
2257
+ <div class="refsect2">
2258
+ <a name="poppler-layers-iter-get-title"></a><h3>poppler_layers_iter_get_title ()</h3>
2259
+ <pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * poppler_layers_iter_get_title (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *iter</code></em>);</pre>
2260
+ <p>
2261
+ Returns the title associated with <em class="parameter"><code>iter</code></em>. It must be freed with
2262
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
2263
+ </p>
2264
+ <div class="variablelist"><table border="0" class="variablelist">
2265
+ <colgroup>
2266
+ <col align="left" valign="top">
2267
+ <col>
2268
+ </colgroup>
2269
+ <tbody>
2270
+ <tr>
2271
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
2272
+ <td>a <a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a>
2273
+ </td>
2274
+ </tr>
2275
+ <tr>
2276
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2277
+ <td>a new string containing the <em class="parameter"><code>iter</code></em>'s title or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>iter</code></em> doesn't have a title.
2278
+ The returned string should be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when no longer needed.</td>
2279
+ </tr>
2280
+ </tbody>
2281
+ </table></div>
2282
+ <p class="since">Since 0.12</p>
2283
+ </div>
2284
+ <hr>
2285
+ <div class="refsect2">
2286
+ <a name="poppler-layers-iter-next"></a><h3>poppler_layers_iter_next ()</h3>
2287
+ <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_layers_iter_next (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a> *iter</code></em>);</pre>
2288
+ <p>
2289
+ Sets <em class="parameter"><code>iter</code></em> to point to the next action at the current level, if valid. See
2290
+ <a class="link" href="PopplerDocument.html#poppler-layers-iter-new" title="poppler_layers_iter_new ()"><code class="function">poppler_layers_iter_new()</code></a> for more information.
2291
+ </p>
2292
+ <div class="variablelist"><table border="0" class="variablelist">
2293
+ <colgroup>
2294
+ <col align="left" valign="top">
2295
+ <col>
2296
+ </colgroup>
2297
+ <tbody>
2298
+ <tr>
2299
+ <td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
2300
+ <td>a <a class="link" href="PopplerDocument.html#PopplerLayersIter" title="PopplerLayersIter"><span class="type">PopplerLayersIter</span></a>
2301
+ </td>
2302
+ </tr>
2303
+ <tr>
2304
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2305
+ <td>
2306
+ <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 <em class="parameter"><code>iter</code></em> was set to the next action</td>
2307
+ </tr>
2308
+ </tbody>
2309
+ </table></div>
2310
+ <p class="since">Since 0.12</p>
2311
+ </div>
2312
+ <hr>
2313
+ <div class="refsect2">
2314
+ <a name="poppler-ps-file-new"></a><h3>poppler_ps_file_new ()</h3>
2315
+ <pre class="programlisting"><a class="link" href="PopplerDocument.html#PopplerPSFile" title="PopplerPSFile"><span class="returnvalue">PopplerPSFile</span></a> * poppler_ps_file_new (<em class="parameter"><code><a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a> *document</code></em>,
2316
+ <em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
2317
+ <em class="parameter"><code><span class="type">int</span> first_page</code></em>,
2318
+ <em class="parameter"><code><span class="type">int</span> n_pages</code></em>);</pre>
2319
+ <p>
2320
+ Create a new postscript file to render to
2321
+ </p>
2322
+ <div class="variablelist"><table border="0" class="variablelist">
2323
+ <colgroup>
2324
+ <col align="left" valign="top">
2325
+ <col>
2326
+ </colgroup>
2327
+ <tbody>
2328
+ <tr>
2329
+ <td><p><span class="term"><em class="parameter"><code>document</code></em> :</span></p></td>
2330
+ <td>a <a class="link" href="PopplerDocument.html" title="PopplerDocument"><span class="type">PopplerDocument</span></a>
2331
+ </td>
2332
+ </tr>
2333
+ <tr>
2334
+ <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
2335
+ <td>the path of the output filename</td>
2336
+ </tr>
2337
+ <tr>
2338
+ <td><p><span class="term"><em class="parameter"><code>first_page</code></em> :</span></p></td>
2339
+ <td>the first page to print</td>
2340
+ </tr>
2341
+ <tr>
2342
+ <td><p><span class="term"><em class="parameter"><code>n_pages</code></em> :</span></p></td>
2343
+ <td>the number of pages to print</td>
2344
+ </tr>
2345
+ <tr>
2346
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2347
+ <td>a PopplerPSFile</td>
2348
+ </tr>
2349
+ </tbody>
2350
+ </table></div>
2351
+ </div>
2352
+ <hr>
2353
+ <div class="refsect2">
2354
+ <a name="poppler-ps-file-free"></a><h3>poppler_ps_file_free ()</h3>
2355
+ <pre class="programlisting"><span class="returnvalue">void</span> poppler_ps_file_free (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerPSFile" title="PopplerPSFile"><span class="type">PopplerPSFile</span></a> *ps_file</code></em>);</pre>
2356
+ <p>
2357
+ Frees <em class="parameter"><code>ps_file</code></em>
2358
+ </p>
2359
+ <div class="variablelist"><table border="0" class="variablelist">
2360
+ <colgroup>
2361
+ <col align="left" valign="top">
2362
+ <col>
2363
+ </colgroup>
2364
+ <tbody><tr>
2365
+ <td><p><span class="term"><em class="parameter"><code>ps_file</code></em> :</span></p></td>
2366
+ <td>a PopplerPSFile</td>
2367
+ </tr></tbody>
2368
+ </table></div>
2369
+ </div>
2370
+ <hr>
2371
+ <div class="refsect2">
2372
+ <a name="poppler-ps-file-set-paper-size"></a><h3>poppler_ps_file_set_paper_size ()</h3>
2373
+ <pre class="programlisting"><span class="returnvalue">void</span> poppler_ps_file_set_paper_size (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerPSFile" title="PopplerPSFile"><span class="type">PopplerPSFile</span></a> *ps_file</code></em>,
2374
+ <em class="parameter"><code><span class="type">double</span> width</code></em>,
2375
+ <em class="parameter"><code><span class="type">double</span> height</code></em>);</pre>
2376
+ <p>
2377
+ Set the output paper size. These values will end up in the
2378
+ DocumentMedia, the BoundingBox DSC comments and other places in the
2379
+ generated PostScript.
2380
+ </p>
2381
+ <div class="variablelist"><table border="0" class="variablelist">
2382
+ <colgroup>
2383
+ <col align="left" valign="top">
2384
+ <col>
2385
+ </colgroup>
2386
+ <tbody>
2387
+ <tr>
2388
+ <td><p><span class="term"><em class="parameter"><code>ps_file</code></em> :</span></p></td>
2389
+ <td>a PopplerPSFile which was not yet printed to.</td>
2390
+ </tr>
2391
+ <tr>
2392
+ <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
2393
+ <td>the paper width in 1/72 inch</td>
2394
+ </tr>
2395
+ <tr>
2396
+ <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
2397
+ <td>the paper height in 1/72 inch</td>
2398
+ </tr>
2399
+ </tbody>
2400
+ </table></div>
2401
+ </div>
2402
+ <hr>
2403
+ <div class="refsect2">
2404
+ <a name="poppler-ps-file-set-duplex"></a><h3>poppler_ps_file_set_duplex ()</h3>
2405
+ <pre class="programlisting"><span class="returnvalue">void</span> poppler_ps_file_set_duplex (<em class="parameter"><code><a class="link" href="PopplerDocument.html#PopplerPSFile" title="PopplerPSFile"><span class="type">PopplerPSFile</span></a> *ps_file</code></em>,
2406
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> duplex</code></em>);</pre>
2407
+ <p>
2408
+ Enable or disable Duplex printing.
2409
+ </p>
2410
+ <div class="variablelist"><table border="0" class="variablelist">
2411
+ <colgroup>
2412
+ <col align="left" valign="top">
2413
+ <col>
2414
+ </colgroup>
2415
+ <tbody>
2416
+ <tr>
2417
+ <td><p><span class="term"><em class="parameter"><code>ps_file</code></em> :</span></p></td>
2418
+ <td>a PopplerPSFile which was not yet printed to</td>
2419
+ </tr>
2420
+ <tr>
2421
+ <td><p><span class="term"><em class="parameter"><code>duplex</code></em> :</span></p></td>
2422
+ <td>whether to force duplex printing (on printers which support this)</td>
2423
+ </tr>
2424
+ </tbody>
2425
+ </table></div>
2426
+ </div>
2427
+ </div>
2428
+ <div class="refsect1">
2429
+ <a name="PopplerDocument.property-details"></a><h2>Property Details</h2>
2430
+ <div class="refsect2">
2431
+ <a name="PopplerDocument--author"></a><h3>The <code class="literal">"author"</code> property</h3>
2432
+ <pre class="programlisting"> "author" <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>* : Read</pre>
2433
+ <p>
2434
+ The author of the document
2435
+ </p>
2436
+ <p>Default value: NULL</p>
2437
+ </div>
2438
+ <hr>
2439
+ <div class="refsect2">
2440
+ <a name="PopplerDocument--creation-date"></a><h3>The <code class="literal">"creation-date"</code> property</h3>
2441
+ <pre class="programlisting"> "creation-date" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
2442
+ <p>
2443
+ The date the document was created as seconds since the Epoch, or -1
2444
+ </p>
2445
+ <p>Allowed values: &gt;= -1</p>
2446
+ <p>Default value: -1</p>
2447
+ </div>
2448
+ <hr>
2449
+ <div class="refsect2">
2450
+ <a name="PopplerDocument--creator"></a><h3>The <code class="literal">"creator"</code> property</h3>
2451
+ <pre class="programlisting"> "creator" <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>* : Read</pre>
2452
+ <p>
2453
+ The creator of the document. See also <a class="link" href="PopplerDocument.html#poppler-document-get-creator" title="poppler_document_get_creator ()"><code class="function">poppler_document_get_creator()</code></a>
2454
+ </p>
2455
+ <p>Default value: NULL</p>
2456
+ </div>
2457
+ <hr>
2458
+ <div class="refsect2">
2459
+ <a name="PopplerDocument--format"></a><h3>The <code class="literal">"format"</code> property</h3>
2460
+ <pre class="programlisting"> "format" <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>* : Read</pre>
2461
+ <p>
2462
+ The PDF version as string. See also <a class="link" href="PopplerDocument.html#poppler-document-get-pdf-version-string" title="poppler_document_get_pdf_version_string ()"><code class="function">poppler_document_get_pdf_version_string()</code></a>
2463
+ </p>
2464
+ <p>Default value: NULL</p>
2465
+ </div>
2466
+ <hr>
2467
+ <div class="refsect2">
2468
+ <a name="PopplerDocument--format-major"></a><h3>The <code class="literal">"format-major"</code> property</h3>
2469
+ <pre class="programlisting"> "format-major" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre>
2470
+ <p>
2471
+ The PDF major version number. See also <a class="link" href="PopplerDocument.html#poppler-document-get-pdf-version" title="poppler_document_get_pdf_version ()"><code class="function">poppler_document_get_pdf_version()</code></a>
2472
+ </p>
2473
+ <p>Default value: 1</p>
2474
+ </div>
2475
+ <hr>
2476
+ <div class="refsect2">
2477
+ <a name="PopplerDocument--format-minor"></a><h3>The <code class="literal">"format-minor"</code> property</h3>
2478
+ <pre class="programlisting"> "format-minor" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre>
2479
+ <p>
2480
+ The PDF minor version number. See also <a class="link" href="PopplerDocument.html#poppler-document-get-pdf-version" title="poppler_document_get_pdf_version ()"><code class="function">poppler_document_get_pdf_version()</code></a>
2481
+ </p>
2482
+ <p>Default value: 0</p>
2483
+ </div>
2484
+ <hr>
2485
+ <div class="refsect2">
2486
+ <a name="PopplerDocument--keywords"></a><h3>The <code class="literal">"keywords"</code> property</h3>
2487
+ <pre class="programlisting"> "keywords" <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>* : Read</pre>
2488
+ <p>
2489
+ The keywords associated to the document
2490
+ </p>
2491
+ <p>Default value: NULL</p>
2492
+ </div>
2493
+ <hr>
2494
+ <div class="refsect2">
2495
+ <a name="PopplerDocument--linearized"></a><h3>The <code class="literal">"linearized"</code> property</h3>
2496
+ <pre class="programlisting"> "linearized" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre>
2497
+ <p>
2498
+ Whether document is linearized. See also <a class="link" href="PopplerDocument.html#poppler-document-is-linearized" title="poppler_document_is_linearized ()"><code class="function">poppler_document_is_linearized()</code></a>
2499
+ </p>
2500
+ <p>Default value: FALSE</p>
2501
+ </div>
2502
+ <hr>
2503
+ <div class="refsect2">
2504
+ <a name="PopplerDocument--metadata"></a><h3>The <code class="literal">"metadata"</code> property</h3>
2505
+ <pre class="programlisting"> "metadata" <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>* : Read</pre>
2506
+ <p>
2507
+ Document metadata in XML format, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
2508
+ </p>
2509
+ <p>Default value: NULL</p>
2510
+ </div>
2511
+ <hr>
2512
+ <div class="refsect2">
2513
+ <a name="PopplerDocument--mod-date"></a><h3>The <code class="literal">"mod-date"</code> property</h3>
2514
+ <pre class="programlisting"> "mod-date" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
2515
+ <p>
2516
+ The date the document was most recently modified as seconds since the Epoch, or -1
2517
+ </p>
2518
+ <p>Allowed values: &gt;= -1</p>
2519
+ <p>Default value: -1</p>
2520
+ </div>
2521
+ <hr>
2522
+ <div class="refsect2">
2523
+ <a name="PopplerDocument--page-layout"></a><h3>The <code class="literal">"page-layout"</code> property</h3>
2524
+ <pre class="programlisting"> "page-layout" <a class="link" href="PopplerDocument.html#PopplerPageLayout" title="enum PopplerPageLayout"><span class="type">PopplerPageLayout</span></a> : Read</pre>
2525
+ <p>
2526
+ The page layout that should be used when the document is opened
2527
+ </p>
2528
+ <p>Default value: POPPLER_PAGE_LAYOUT_UNSET</p>
2529
+ </div>
2530
+ <hr>
2531
+ <div class="refsect2">
2532
+ <a name="PopplerDocument--page-mode"></a><h3>The <code class="literal">"page-mode"</code> property</h3>
2533
+ <pre class="programlisting"> "page-mode" <a class="link" href="PopplerDocument.html#PopplerPageMode" title="enum PopplerPageMode"><span class="type">PopplerPageMode</span></a> : Read</pre>
2534
+ <p>
2535
+ The mode that should be used when the document is opened
2536
+ </p>
2537
+ <p>Default value: POPPLER_PAGE_MODE_UNSET</p>
2538
+ </div>
2539
+ <hr>
2540
+ <div class="refsect2">
2541
+ <a name="PopplerDocument--permissions"></a><h3>The <code class="literal">"permissions"</code> property</h3>
2542
+ <pre class="programlisting"> "permissions" <a class="link" href="PopplerDocument.html#PopplerPermissions" title="enum PopplerPermissions"><span class="type">PopplerPermissions</span></a> : Read</pre>
2543
+ <p>
2544
+ Flags specifying which operations are permitted when the document is opened
2545
+ </p>
2546
+ <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|POPPLER_PERMISSIONS_OK_TO_EXTRACT_CONTENTS|POPPLER_PERMISSIONS_OK_TO_ASSEMBLE|POPPLER_PERMISSIONS_OK_TO_PRINT_HIGH_RESOLUTION</p>
2547
+ </div>
2548
+ <hr>
2549
+ <div class="refsect2">
2550
+ <a name="PopplerDocument--producer"></a><h3>The <code class="literal">"producer"</code> property</h3>
2551
+ <pre class="programlisting"> "producer" <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>* : Read</pre>
2552
+ <p>
2553
+ The producer of the document. See also <a class="link" href="PopplerDocument.html#poppler-document-get-producer" title="poppler_document_get_producer ()"><code class="function">poppler_document_get_producer()</code></a>
2554
+ </p>
2555
+ <p>Default value: NULL</p>
2556
+ </div>
2557
+ <hr>
2558
+ <div class="refsect2">
2559
+ <a name="PopplerDocument--subject"></a><h3>The <code class="literal">"subject"</code> property</h3>
2560
+ <pre class="programlisting"> "subject" <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>* : Read</pre>
2561
+ <p>
2562
+ The subject of the document
2563
+ </p>
2564
+ <p>Default value: NULL</p>
2565
+ </div>
2566
+ <hr>
2567
+ <div class="refsect2">
2568
+ <a name="PopplerDocument--title"></a><h3>The <code class="literal">"title"</code> property</h3>
2569
+ <pre class="programlisting"> "title" <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>* : Read</pre>
2570
+ <p>
2571
+ The document's title or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
2572
+ </p>
2573
+ <p>Default value: NULL</p>
2574
+ </div>
2575
+ <hr>
2576
+ <div class="refsect2">
2577
+ <a name="PopplerDocument--viewer-preferences"></a><h3>The <code class="literal">"viewer-preferences"</code> property</h3>
2578
+ <pre class="programlisting"> "viewer-preferences" <a class="link" href="PopplerDocument.html#PopplerViewerPreferences" title="enum PopplerViewerPreferences"><span class="type">PopplerViewerPreferences</span></a> : Read</pre>
2579
+ <p>Viewer Preferences.</p>
2580
+ </div>
2581
+ </div>
2582
+ </div>
2583
+ <div class="footer">
2584
+ <hr>
2585
+ Generated by GTK-Doc V1.19</div>
2586
+ </body>
2587
+ </html>