poppler 2.2.4-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README +35 -0
- data/Rakefile +75 -0
- data/ext/poppler/depend +6 -0
- data/ext/poppler/extconf.rb +70 -0
- data/ext/poppler/poppler.def +2 -0
- data/ext/poppler/rbpoppler-action.c +372 -0
- data/ext/poppler/rbpoppler-annotation-callout-line.c +127 -0
- data/ext/poppler/rbpoppler-annotation-free-text.c +46 -0
- data/ext/poppler/rbpoppler-annotation-mapping.c +72 -0
- data/ext/poppler/rbpoppler-annotation-markup.c +98 -0
- data/ext/poppler/rbpoppler-annotation-text.c +53 -0
- data/ext/poppler/rbpoppler-annotation.c +74 -0
- data/ext/poppler/rbpoppler-attachment.c +124 -0
- data/ext/poppler/rbpoppler-button-field.c +56 -0
- data/ext/poppler/rbpoppler-choice-field.c +131 -0
- data/ext/poppler/rbpoppler-color.c +107 -0
- data/ext/poppler/rbpoppler-document.c +224 -0
- data/ext/poppler/rbpoppler-font-info.c +59 -0
- data/ext/poppler/rbpoppler-fonts-iter.c +127 -0
- data/ext/poppler/rbpoppler-form-field-mapping.c +44 -0
- data/ext/poppler/rbpoppler-form-field.c +98 -0
- data/ext/poppler/rbpoppler-image-mapping.c +48 -0
- data/ext/poppler/rbpoppler-index-iter.c +128 -0
- data/ext/poppler/rbpoppler-link-mapping.c +47 -0
- data/ext/poppler/rbpoppler-page-transition.c +59 -0
- data/ext/poppler/rbpoppler-page.c +322 -0
- data/ext/poppler/rbpoppler-private.h +77 -0
- data/ext/poppler/rbpoppler-ps-file.c +66 -0
- data/ext/poppler/rbpoppler-rectangle.c +92 -0
- data/ext/poppler/rbpoppler-text-field.c +91 -0
- data/ext/poppler/rbpoppler.c +111 -0
- data/ext/poppler/rbpoppler.h +61 -0
- data/ext/poppler/rbpopplerconversions.h +105 -0
- data/extconf.rb +49 -0
- data/lib/2.0/poppler.so +0 -0
- data/lib/2.1/poppler.so +0 -0
- data/lib/2.2/poppler.so +0 -0
- data/lib/poppler.rb +105 -0
- data/sample/number-pdf.rb +32 -0
- data/sample/pdf2.rb +132 -0
- data/sample/pdf2svg.rb +26 -0
- data/sample/pdf2text.rb +16 -0
- data/sample/pdfcrop.rb +32 -0
- data/sample/pdfdiv.rb +36 -0
- data/test/fixtures/image.pdf +0 -0
- data/test/fixtures/image.png +0 -0
- data/test/poppler-test-utils.rb +58 -0
- data/test/run-test.rb +32 -0
- data/test/test_annotation.rb +86 -0
- data/test/test_color.rb +26 -0
- data/test/test_constants.rb +30 -0
- data/test/test_document.rb +41 -0
- data/test/test_page.rb +42 -0
- data/vendor/local/bin/cjpeg.exe +0 -0
- data/vendor/local/bin/djpeg.exe +0 -0
- data/vendor/local/bin/jpegtran.exe +0 -0
- data/vendor/local/bin/libjpeg-9.dll +0 -0
- data/vendor/local/bin/libpoppler-48.dll +0 -0
- data/vendor/local/bin/libpoppler-cpp-0.dll +0 -0
- data/vendor/local/bin/libpoppler-glib-8.dll +0 -0
- data/vendor/local/bin/libsqlite3-0.dll +0 -0
- data/vendor/local/bin/pdfdetach.exe +0 -0
- data/vendor/local/bin/pdffonts.exe +0 -0
- data/vendor/local/bin/pdfimages.exe +0 -0
- data/vendor/local/bin/pdfinfo.exe +0 -0
- data/vendor/local/bin/pdfseparate.exe +0 -0
- data/vendor/local/bin/pdftocairo.exe +0 -0
- data/vendor/local/bin/pdftohtml.exe +0 -0
- data/vendor/local/bin/pdftoppm.exe +0 -0
- data/vendor/local/bin/pdftops.exe +0 -0
- data/vendor/local/bin/pdftotext.exe +0 -0
- data/vendor/local/bin/pdfunite.exe +0 -0
- data/vendor/local/bin/rdjpgcom.exe +0 -0
- data/vendor/local/bin/sqlite3.exe +0 -0
- data/vendor/local/bin/wrjpgcom.exe +0 -0
- data/vendor/local/include/jconfig.h +60 -0
- data/vendor/local/include/jerror.h +304 -0
- data/vendor/local/include/jmorecfg.h +446 -0
- data/vendor/local/include/jpeglib.h +1180 -0
- data/vendor/local/include/poppler/cpp/poppler-document.h +104 -0
- data/vendor/local/include/poppler/cpp/poppler-embedded-file.h +55 -0
- data/vendor/local/include/poppler/cpp/poppler-font.h +91 -0
- data/vendor/local/include/poppler/cpp/poppler-global.h +111 -0
- data/vendor/local/include/poppler/cpp/poppler-image.h +71 -0
- data/vendor/local/include/poppler/cpp/poppler-page-renderer.h +66 -0
- data/vendor/local/include/poppler/cpp/poppler-page-transition.h +82 -0
- data/vendor/local/include/poppler/cpp/poppler-page.h +76 -0
- data/vendor/local/include/poppler/cpp/poppler-rectangle.h +84 -0
- data/vendor/local/include/poppler/cpp/poppler-toc.h +74 -0
- data/vendor/local/include/poppler/cpp/poppler-version.h +39 -0
- data/vendor/local/include/poppler/glib/poppler-action.h +316 -0
- data/vendor/local/include/poppler/glib/poppler-annot.h +296 -0
- data/vendor/local/include/poppler/glib/poppler-attachment.h +87 -0
- data/vendor/local/include/poppler/glib/poppler-date.h +30 -0
- data/vendor/local/include/poppler/glib/poppler-document.h +299 -0
- data/vendor/local/include/poppler/glib/poppler-enums.h +116 -0
- data/vendor/local/include/poppler/glib/poppler-features.h +88 -0
- data/vendor/local/include/poppler/glib/poppler-form-field.h +111 -0
- data/vendor/local/include/poppler/glib/poppler-layer.h +43 -0
- data/vendor/local/include/poppler/glib/poppler-media.h +73 -0
- data/vendor/local/include/poppler/glib/poppler-movie.h +42 -0
- data/vendor/local/include/poppler/glib/poppler-page.h +377 -0
- data/vendor/local/include/poppler/glib/poppler-structure-element.h +357 -0
- data/vendor/local/include/poppler/glib/poppler.h +250 -0
- data/vendor/local/include/sqlite3.h +7494 -0
- data/vendor/local/include/sqlite3ext.h +487 -0
- data/vendor/local/lib/girepository-1.0/Poppler-0.18.typelib +0 -0
- data/vendor/local/lib/libjpeg.a +0 -0
- data/vendor/local/lib/libjpeg.dll.a +0 -0
- data/vendor/local/lib/libjpeg.la +41 -0
- data/vendor/local/lib/libpoppler-cpp.a +0 -0
- data/vendor/local/lib/libpoppler-cpp.dll.a +0 -0
- data/vendor/local/lib/libpoppler-cpp.la +41 -0
- data/vendor/local/lib/libpoppler-glib.a +0 -0
- data/vendor/local/lib/libpoppler-glib.dll.a +0 -0
- data/vendor/local/lib/libpoppler-glib.la +41 -0
- data/vendor/local/lib/libpoppler.a +0 -0
- data/vendor/local/lib/libpoppler.dll.a +0 -0
- data/vendor/local/lib/libpoppler.la +41 -0
- data/vendor/local/lib/libsqlite3.a +0 -0
- data/vendor/local/lib/libsqlite3.dll.a +0 -0
- data/vendor/local/lib/libsqlite3.la +41 -0
- data/vendor/local/lib/pkgconfig/poppler-cairo.pc +9 -0
- data/vendor/local/lib/pkgconfig/poppler-cpp.pc +13 -0
- data/vendor/local/lib/pkgconfig/poppler-glib.pc +13 -0
- data/vendor/local/lib/pkgconfig/poppler-splash.pc +9 -0
- data/vendor/local/lib/pkgconfig/poppler.pc +11 -0
- data/vendor/local/lib/pkgconfig/sqlite3.pc +13 -0
- data/vendor/local/share/gir-1.0/Poppler-0.18.gir +8281 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerAnnot.html +3221 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerAttachment.html +267 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerDocument.html +3328 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerFormField.html +1403 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerLayer.html +307 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerMedia.html +381 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerMovie.html +197 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerPage.html +3002 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerStructureElement.html +3781 -0
- data/vendor/local/share/gtk-doc/html/poppler/annotation-glossary.html +63 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-12.html +123 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-14.html +102 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-16.html +180 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-18.html +72 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-20.html +39 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-22.html +64 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-deprecated.html +39 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-full.html +1830 -0
- data/vendor/local/share/gtk-doc/html/poppler/ch01.html +74 -0
- data/vendor/local/share/gtk-doc/html/poppler/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/index.html +85 -0
- data/vendor/local/share/gtk-doc/html/poppler/index.sgml +557 -0
- data/vendor/local/share/gtk-doc/html/poppler/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/poppler-PDF-Utility-functions.html +107 -0
- data/vendor/local/share/gtk-doc/html/poppler/poppler-PopplerAction.html +796 -0
- data/vendor/local/share/gtk-doc/html/poppler/poppler-PopplerColor.html +201 -0
- data/vendor/local/share/gtk-doc/html/poppler/poppler-Version-and-Features-Information.html +254 -0
- data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler.html +169 -0
- data/vendor/local/share/gtk-doc/html/poppler/poppler.devhelp2 +470 -0
- data/vendor/local/share/gtk-doc/html/poppler/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/poppler/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/up.png +0 -0
- data/vendor/local/share/license/poppler/AUTHORS +5 -0
- data/vendor/local/share/license/poppler/COPYING +339 -0
- data/vendor/local/share/man/man1/cjpeg.1 +387 -0
- data/vendor/local/share/man/man1/djpeg.1 +252 -0
- data/vendor/local/share/man/man1/jpegtran.1 +293 -0
- data/vendor/local/share/man/man1/pdfdetach.1 +86 -0
- data/vendor/local/share/man/man1/pdffonts.1 +119 -0
- data/vendor/local/share/man/man1/pdfimages.1 +260 -0
- data/vendor/local/share/man/man1/pdfinfo.1 +152 -0
- data/vendor/local/share/man/man1/pdfseparate.1 +49 -0
- data/vendor/local/share/man/man1/pdftocairo.1 +295 -0
- data/vendor/local/share/man/man1/pdftohtml.1 +107 -0
- data/vendor/local/share/man/man1/pdftoppm.1 +170 -0
- data/vendor/local/share/man/man1/pdftops.1 +217 -0
- data/vendor/local/share/man/man1/pdftotext.1 +137 -0
- data/vendor/local/share/man/man1/pdfunite.1 +33 -0
- data/vendor/local/share/man/man1/rdjpgcom.1 +63 -0
- data/vendor/local/share/man/man1/sqlite3.1 +279 -0
- data/vendor/local/share/man/man1/wrjpgcom.1 +103 -0
- metadata +254 -0
@@ -0,0 +1,307 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Poppler Reference Manual: PopplerLayer</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="PopplerAnnot.html" title="PopplerAnnot">
|
10
|
+
<link rel="next" href="PopplerMedia.html" title="PopplerMedia">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#PopplerLayer.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#PopplerLayer.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
|
20
|
+
</td>
|
21
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
+
<td><a accesskey="p" href="PopplerAnnot.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="PopplerMedia.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
25
|
+
</tr></table>
|
26
|
+
<div class="refentry">
|
27
|
+
<a name="PopplerLayer"></a><div class="titlepage"></div>
|
28
|
+
<div class="refnamediv"><table width="100%"><tr>
|
29
|
+
<td valign="top">
|
30
|
+
<h2><span class="refentrytitle"><a name="PopplerLayer.top_of_page"></a>PopplerLayer</span></h2>
|
31
|
+
<p>PopplerLayer — Layers</p>
|
32
|
+
</td>
|
33
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
34
|
+
</tr></table></div>
|
35
|
+
<div class="refsect1">
|
36
|
+
<a name="PopplerLayer.functions"></a><h2>Functions</h2>
|
37
|
+
<div class="informaltable"><table width="100%" border="0">
|
38
|
+
<colgroup>
|
39
|
+
<col width="150px" class="functions_return">
|
40
|
+
<col class="functions_name">
|
41
|
+
</colgroup>
|
42
|
+
<tbody>
|
43
|
+
<tr>
|
44
|
+
<td class="function_type">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
47
|
+
<a class="link" href="PopplerLayer.html#poppler-layer-get-title" title="poppler_layer_get_title ()">poppler_layer_get_title</a> <span class="c_punctuation">()</span>
|
48
|
+
</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td class="function_type">
|
52
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
53
|
+
</td>
|
54
|
+
<td class="function_name">
|
55
|
+
<a class="link" href="PopplerLayer.html#poppler-layer-is-visible" title="poppler_layer_is_visible ()">poppler_layer_is_visible</a> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td class="function_type">
|
60
|
+
<span class="returnvalue">void</span>
|
61
|
+
</td>
|
62
|
+
<td class="function_name">
|
63
|
+
<a class="link" href="PopplerLayer.html#poppler-layer-show" title="poppler_layer_show ()">poppler_layer_show</a> <span class="c_punctuation">()</span>
|
64
|
+
</td>
|
65
|
+
</tr>
|
66
|
+
<tr>
|
67
|
+
<td class="function_type">
|
68
|
+
<span class="returnvalue">void</span>
|
69
|
+
</td>
|
70
|
+
<td class="function_name">
|
71
|
+
<a class="link" href="PopplerLayer.html#poppler-layer-hide" title="poppler_layer_hide ()">poppler_layer_hide</a> <span class="c_punctuation">()</span>
|
72
|
+
</td>
|
73
|
+
</tr>
|
74
|
+
<tr>
|
75
|
+
<td class="function_type">
|
76
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
77
|
+
</td>
|
78
|
+
<td class="function_name">
|
79
|
+
<a class="link" href="PopplerLayer.html#poppler-layer-is-parent" title="poppler_layer_is_parent ()">poppler_layer_is_parent</a> <span class="c_punctuation">()</span>
|
80
|
+
</td>
|
81
|
+
</tr>
|
82
|
+
<tr>
|
83
|
+
<td class="function_type">
|
84
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
85
|
+
</td>
|
86
|
+
<td class="function_name">
|
87
|
+
<a class="link" href="PopplerLayer.html#poppler-layer-get-radio-button-group-id" title="poppler_layer_get_radio_button_group_id ()">poppler_layer_get_radio_button_group_id</a> <span class="c_punctuation">()</span>
|
88
|
+
</td>
|
89
|
+
</tr>
|
90
|
+
</tbody>
|
91
|
+
</table></div>
|
92
|
+
</div>
|
93
|
+
<div class="refsect1">
|
94
|
+
<a name="PopplerLayer.other"></a><h2>Types and Values</h2>
|
95
|
+
<div class="informaltable"><table width="100%" border="0">
|
96
|
+
<colgroup>
|
97
|
+
<col width="150px" class="name">
|
98
|
+
<col class="description">
|
99
|
+
</colgroup>
|
100
|
+
<tbody><tr>
|
101
|
+
<td class="datatype_keyword"> </td>
|
102
|
+
<td class="function_name"><a class="link" href="PopplerLayer.html#PopplerLayer-struct" title="PopplerLayer">PopplerLayer</a></td>
|
103
|
+
</tr></tbody>
|
104
|
+
</table></div>
|
105
|
+
</div>
|
106
|
+
<div class="refsect1">
|
107
|
+
<a name="PopplerLayer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
108
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
109
|
+
<span class="lineart">╰──</span> PopplerLayer
|
110
|
+
</pre>
|
111
|
+
</div>
|
112
|
+
<div class="refsect1">
|
113
|
+
<a name="PopplerLayer.includes"></a><h2>Includes</h2>
|
114
|
+
<pre class="synopsis">#include <poppler.h>
|
115
|
+
</pre>
|
116
|
+
</div>
|
117
|
+
<div class="refsect1">
|
118
|
+
<a name="PopplerLayer.description"></a><h2>Description</h2>
|
119
|
+
</div>
|
120
|
+
<div class="refsect1">
|
121
|
+
<a name="PopplerLayer.functions_details"></a><h2>Functions</h2>
|
122
|
+
<div class="refsect2">
|
123
|
+
<a name="poppler-layer-get-title"></a><h3>poppler_layer_get_title ()</h3>
|
124
|
+
<pre class="programlisting">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
125
|
+
poppler_layer_get_title (<em class="parameter"><code><a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a> *layer</code></em>);</pre>
|
126
|
+
<p>Returns the name of the layer suitable for
|
127
|
+
presentation as a title in a viewer's GUI</p>
|
128
|
+
<div class="refsect3">
|
129
|
+
<a name="id-1.2.9.8.2.5"></a><h4>Parameters</h4>
|
130
|
+
<div class="informaltable"><table width="100%" border="0">
|
131
|
+
<colgroup>
|
132
|
+
<col width="150px" class="parameters_name">
|
133
|
+
<col class="parameters_description">
|
134
|
+
<col width="200px" class="parameters_annotations">
|
135
|
+
</colgroup>
|
136
|
+
<tbody><tr>
|
137
|
+
<td class="parameter_name"><p>layer</p></td>
|
138
|
+
<td class="parameter_description"><p>a <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a></p></td>
|
139
|
+
<td class="parameter_annotations"> </td>
|
140
|
+
</tr></tbody>
|
141
|
+
</table></div>
|
142
|
+
</div>
|
143
|
+
<div class="refsect3">
|
144
|
+
<a name="id-1.2.9.8.2.6"></a><h4>Returns</h4>
|
145
|
+
<p> a string containing the title of the layer</p>
|
146
|
+
<p></p>
|
147
|
+
</div>
|
148
|
+
<p class="since">Since 0.12</p>
|
149
|
+
</div>
|
150
|
+
<hr>
|
151
|
+
<div class="refsect2">
|
152
|
+
<a name="poppler-layer-is-visible"></a><h3>poppler_layer_is_visible ()</h3>
|
153
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
154
|
+
poppler_layer_is_visible (<em class="parameter"><code><a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a> *layer</code></em>);</pre>
|
155
|
+
<p>Returns whether <em class="parameter"><code>layer</code></em>
|
156
|
+
is visible</p>
|
157
|
+
<div class="refsect3">
|
158
|
+
<a name="id-1.2.9.8.3.5"></a><h4>Parameters</h4>
|
159
|
+
<div class="informaltable"><table width="100%" border="0">
|
160
|
+
<colgroup>
|
161
|
+
<col width="150px" class="parameters_name">
|
162
|
+
<col class="parameters_description">
|
163
|
+
<col width="200px" class="parameters_annotations">
|
164
|
+
</colgroup>
|
165
|
+
<tbody><tr>
|
166
|
+
<td class="parameter_name"><p>layer</p></td>
|
167
|
+
<td class="parameter_description"><p>a <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a></p></td>
|
168
|
+
<td class="parameter_annotations"> </td>
|
169
|
+
</tr></tbody>
|
170
|
+
</table></div>
|
171
|
+
</div>
|
172
|
+
<div class="refsect3">
|
173
|
+
<a name="id-1.2.9.8.3.6"></a><h4>Returns</h4>
|
174
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>layer</code></em>
|
175
|
+
is visible</p>
|
176
|
+
<p></p>
|
177
|
+
</div>
|
178
|
+
<p class="since">Since 0.12</p>
|
179
|
+
</div>
|
180
|
+
<hr>
|
181
|
+
<div class="refsect2">
|
182
|
+
<a name="poppler-layer-show"></a><h3>poppler_layer_show ()</h3>
|
183
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
184
|
+
poppler_layer_show (<em class="parameter"><code><a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a> *layer</code></em>);</pre>
|
185
|
+
<p>Shows <em class="parameter"><code>layer</code></em>
|
186
|
+
</p>
|
187
|
+
<div class="refsect3">
|
188
|
+
<a name="id-1.2.9.8.4.5"></a><h4>Parameters</h4>
|
189
|
+
<div class="informaltable"><table width="100%" border="0">
|
190
|
+
<colgroup>
|
191
|
+
<col width="150px" class="parameters_name">
|
192
|
+
<col class="parameters_description">
|
193
|
+
<col width="200px" class="parameters_annotations">
|
194
|
+
</colgroup>
|
195
|
+
<tbody><tr>
|
196
|
+
<td class="parameter_name"><p>layer</p></td>
|
197
|
+
<td class="parameter_description"><p>a <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a></p></td>
|
198
|
+
<td class="parameter_annotations"> </td>
|
199
|
+
</tr></tbody>
|
200
|
+
</table></div>
|
201
|
+
</div>
|
202
|
+
<p class="since">Since 0.12</p>
|
203
|
+
</div>
|
204
|
+
<hr>
|
205
|
+
<div class="refsect2">
|
206
|
+
<a name="poppler-layer-hide"></a><h3>poppler_layer_hide ()</h3>
|
207
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
208
|
+
poppler_layer_hide (<em class="parameter"><code><a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a> *layer</code></em>);</pre>
|
209
|
+
<p>Hides <em class="parameter"><code>layer</code></em>
|
210
|
+
. If <em class="parameter"><code>layer</code></em>
|
211
|
+
is the parent of other nested layers,
|
212
|
+
such layers will be also hidden and will be blocked until <em class="parameter"><code>layer</code></em>
|
213
|
+
|
214
|
+
is shown again</p>
|
215
|
+
<div class="refsect3">
|
216
|
+
<a name="id-1.2.9.8.5.5"></a><h4>Parameters</h4>
|
217
|
+
<div class="informaltable"><table width="100%" border="0">
|
218
|
+
<colgroup>
|
219
|
+
<col width="150px" class="parameters_name">
|
220
|
+
<col class="parameters_description">
|
221
|
+
<col width="200px" class="parameters_annotations">
|
222
|
+
</colgroup>
|
223
|
+
<tbody><tr>
|
224
|
+
<td class="parameter_name"><p>layer</p></td>
|
225
|
+
<td class="parameter_description"><p>a <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a></p></td>
|
226
|
+
<td class="parameter_annotations"> </td>
|
227
|
+
</tr></tbody>
|
228
|
+
</table></div>
|
229
|
+
</div>
|
230
|
+
<p class="since">Since 0.12</p>
|
231
|
+
</div>
|
232
|
+
<hr>
|
233
|
+
<div class="refsect2">
|
234
|
+
<a name="poppler-layer-is-parent"></a><h3>poppler_layer_is_parent ()</h3>
|
235
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
236
|
+
poppler_layer_is_parent (<em class="parameter"><code><a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a> *layer</code></em>);</pre>
|
237
|
+
<p>Returns whether <em class="parameter"><code>layer</code></em>
|
238
|
+
is parent of other nested layers.</p>
|
239
|
+
<div class="refsect3">
|
240
|
+
<a name="id-1.2.9.8.6.5"></a><h4>Parameters</h4>
|
241
|
+
<div class="informaltable"><table width="100%" border="0">
|
242
|
+
<colgroup>
|
243
|
+
<col width="150px" class="parameters_name">
|
244
|
+
<col class="parameters_description">
|
245
|
+
<col width="200px" class="parameters_annotations">
|
246
|
+
</colgroup>
|
247
|
+
<tbody><tr>
|
248
|
+
<td class="parameter_name"><p>layer</p></td>
|
249
|
+
<td class="parameter_description"><p>a <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a></p></td>
|
250
|
+
<td class="parameter_annotations"> </td>
|
251
|
+
</tr></tbody>
|
252
|
+
</table></div>
|
253
|
+
</div>
|
254
|
+
<div class="refsect3">
|
255
|
+
<a name="id-1.2.9.8.6.6"></a><h4>Returns</h4>
|
256
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>layer</code></em>
|
257
|
+
is a parent layer</p>
|
258
|
+
<p></p>
|
259
|
+
</div>
|
260
|
+
<p class="since">Since 0.12</p>
|
261
|
+
</div>
|
262
|
+
<hr>
|
263
|
+
<div class="refsect2">
|
264
|
+
<a name="poppler-layer-get-radio-button-group-id"></a><h3>poppler_layer_get_radio_button_group_id ()</h3>
|
265
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
266
|
+
poppler_layer_get_radio_button_group_id
|
267
|
+
(<em class="parameter"><code><a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a> *layer</code></em>);</pre>
|
268
|
+
<p>Returns the numeric ID the radio button group associated with <em class="parameter"><code>layer</code></em>
|
269
|
+
.</p>
|
270
|
+
<div class="refsect3">
|
271
|
+
<a name="id-1.2.9.8.7.5"></a><h4>Parameters</h4>
|
272
|
+
<div class="informaltable"><table width="100%" border="0">
|
273
|
+
<colgroup>
|
274
|
+
<col width="150px" class="parameters_name">
|
275
|
+
<col class="parameters_description">
|
276
|
+
<col width="200px" class="parameters_annotations">
|
277
|
+
</colgroup>
|
278
|
+
<tbody><tr>
|
279
|
+
<td class="parameter_name"><p>layer</p></td>
|
280
|
+
<td class="parameter_description"><p>a <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a></p></td>
|
281
|
+
<td class="parameter_annotations"> </td>
|
282
|
+
</tr></tbody>
|
283
|
+
</table></div>
|
284
|
+
</div>
|
285
|
+
<div class="refsect3">
|
286
|
+
<a name="id-1.2.9.8.7.6"></a><h4>Returns</h4>
|
287
|
+
<p> the ID of the radio button group associated with <em class="parameter"><code>layer</code></em>
|
288
|
+
,
|
289
|
+
or 0 if the layer is not associated to any radio button group</p>
|
290
|
+
<p></p>
|
291
|
+
</div>
|
292
|
+
<p class="since">Since 0.12</p>
|
293
|
+
</div>
|
294
|
+
</div>
|
295
|
+
<div class="refsect1">
|
296
|
+
<a name="PopplerLayer.other_details"></a><h2>Types and Values</h2>
|
297
|
+
<div class="refsect2">
|
298
|
+
<a name="PopplerLayer-struct"></a><h3>PopplerLayer</h3>
|
299
|
+
<pre class="programlisting">typedef struct _PopplerLayer PopplerLayer;</pre>
|
300
|
+
</div>
|
301
|
+
</div>
|
302
|
+
</div>
|
303
|
+
<div class="footer">
|
304
|
+
<hr>
|
305
|
+
Generated by GTK-Doc V1.21</div>
|
306
|
+
</body>
|
307
|
+
</html>
|
@@ -0,0 +1,381 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Poppler Reference Manual: PopplerMedia</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="PopplerLayer.html" title="PopplerLayer">
|
10
|
+
<link rel="next" href="PopplerMovie.html" title="PopplerMovie">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#PopplerMedia.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#PopplerMedia.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
|
20
|
+
</td>
|
21
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
+
<td><a accesskey="p" href="PopplerLayer.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="PopplerMovie.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
25
|
+
</tr></table>
|
26
|
+
<div class="refentry">
|
27
|
+
<a name="PopplerMedia"></a><div class="titlepage"></div>
|
28
|
+
<div class="refnamediv"><table width="100%"><tr>
|
29
|
+
<td valign="top">
|
30
|
+
<h2><span class="refentrytitle"><a name="PopplerMedia.top_of_page"></a>PopplerMedia</span></h2>
|
31
|
+
<p>PopplerMedia — Media</p>
|
32
|
+
</td>
|
33
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
34
|
+
</tr></table></div>
|
35
|
+
<div class="refsect1">
|
36
|
+
<a name="PopplerMedia.functions"></a><h2>Functions</h2>
|
37
|
+
<div class="informaltable"><table width="100%" border="0">
|
38
|
+
<colgroup>
|
39
|
+
<col width="150px" class="functions_return">
|
40
|
+
<col class="functions_name">
|
41
|
+
</colgroup>
|
42
|
+
<tbody>
|
43
|
+
<tr>
|
44
|
+
<td class="function_type">
|
45
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
46
|
+
</td>
|
47
|
+
<td class="function_name">
|
48
|
+
<span class="c_punctuation">(</span><a class="link" href="PopplerMedia.html#PopplerMediaSaveFunc" title="PopplerMediaSaveFunc ()">*PopplerMediaSaveFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
49
|
+
</td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td class="function_type">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
53
|
+
</td>
|
54
|
+
<td class="function_name">
|
55
|
+
<a class="link" href="PopplerMedia.html#poppler-media-get-filename" title="poppler_media_get_filename ()">poppler_media_get_filename</a> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td class="function_type">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
60
|
+
</td>
|
61
|
+
<td class="function_name">
|
62
|
+
<a class="link" href="PopplerMedia.html#poppler-media-get-mime-type" title="poppler_media_get_mime_type ()">poppler_media_get_mime_type</a> <span class="c_punctuation">()</span>
|
63
|
+
</td>
|
64
|
+
</tr>
|
65
|
+
<tr>
|
66
|
+
<td class="function_type">
|
67
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
68
|
+
</td>
|
69
|
+
<td class="function_name">
|
70
|
+
<a class="link" href="PopplerMedia.html#poppler-media-is-embedded" title="poppler_media_is_embedded ()">poppler_media_is_embedded</a> <span class="c_punctuation">()</span>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
<tr>
|
74
|
+
<td class="function_type">
|
75
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
76
|
+
</td>
|
77
|
+
<td class="function_name">
|
78
|
+
<a class="link" href="PopplerMedia.html#poppler-media-save" title="poppler_media_save ()">poppler_media_save</a> <span class="c_punctuation">()</span>
|
79
|
+
</td>
|
80
|
+
</tr>
|
81
|
+
<tr>
|
82
|
+
<td class="function_type">
|
83
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
84
|
+
</td>
|
85
|
+
<td class="function_name">
|
86
|
+
<a class="link" href="PopplerMedia.html#poppler-media-save-to-callback" title="poppler_media_save_to_callback ()">poppler_media_save_to_callback</a> <span class="c_punctuation">()</span>
|
87
|
+
</td>
|
88
|
+
</tr>
|
89
|
+
</tbody>
|
90
|
+
</table></div>
|
91
|
+
</div>
|
92
|
+
<div class="refsect1">
|
93
|
+
<a name="PopplerMedia.other"></a><h2>Types and Values</h2>
|
94
|
+
<div class="informaltable"><table width="100%" border="0">
|
95
|
+
<colgroup>
|
96
|
+
<col width="150px" class="name">
|
97
|
+
<col class="description">
|
98
|
+
</colgroup>
|
99
|
+
<tbody><tr>
|
100
|
+
<td class="datatype_keyword"> </td>
|
101
|
+
<td class="function_name"><a class="link" href="PopplerMedia.html#PopplerMedia-struct" title="PopplerMedia">PopplerMedia</a></td>
|
102
|
+
</tr></tbody>
|
103
|
+
</table></div>
|
104
|
+
</div>
|
105
|
+
<div class="refsect1">
|
106
|
+
<a name="PopplerMedia.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
107
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
108
|
+
<span class="lineart">╰──</span> PopplerMedia
|
109
|
+
</pre>
|
110
|
+
</div>
|
111
|
+
<div class="refsect1">
|
112
|
+
<a name="PopplerMedia.includes"></a><h2>Includes</h2>
|
113
|
+
<pre class="synopsis">#include <poppler.h>
|
114
|
+
</pre>
|
115
|
+
</div>
|
116
|
+
<div class="refsect1">
|
117
|
+
<a name="PopplerMedia.description"></a><h2>Description</h2>
|
118
|
+
</div>
|
119
|
+
<div class="refsect1">
|
120
|
+
<a name="PopplerMedia.functions_details"></a><h2>Functions</h2>
|
121
|
+
<div class="refsect2">
|
122
|
+
<a name="PopplerMediaSaveFunc"></a><h3>PopplerMediaSaveFunc ()</h3>
|
123
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
124
|
+
<span class="c_punctuation">(</span>*PopplerMediaSaveFunc<span class="c_punctuation">)</span> (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buf</code></em>,
|
125
|
+
<em class="parameter"><code><span class="type">gsize</span> count</code></em>,
|
126
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
127
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
128
|
+
<p>Specifies the type of the function passed to
|
129
|
+
<a class="link" href="PopplerMedia.html#poppler-media-save-to-callback" title="poppler_media_save_to_callback ()"><code class="function">poppler_media_save_to_callback()</code></a>. It is called once for each block of
|
130
|
+
bytes that is "written" by <a class="link" href="PopplerMedia.html#poppler-media-save-to-callback" title="poppler_media_save_to_callback ()"><code class="function">poppler_media_save_to_callback()</code></a>. If
|
131
|
+
successful it should return <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. If an error occurs it should set
|
132
|
+
<em class="parameter"><code>error</code></em>
|
133
|
+
and return <a href="/home/vagrant/ruby-gnome2.win64/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="PopplerMedia.html#poppler-media-save-to-callback" title="poppler_media_save_to_callback ()"><code class="function">poppler_media_save_to_callback()</code></a>
|
134
|
+
will fail with the same error.</p>
|
135
|
+
<div class="refsect3">
|
136
|
+
<a name="id-1.2.10.8.2.5"></a><h4>Parameters</h4>
|
137
|
+
<div class="informaltable"><table width="100%" border="0">
|
138
|
+
<colgroup>
|
139
|
+
<col width="150px" class="parameters_name">
|
140
|
+
<col class="parameters_description">
|
141
|
+
<col width="200px" class="parameters_annotations">
|
142
|
+
</colgroup>
|
143
|
+
<tbody>
|
144
|
+
<tr>
|
145
|
+
<td class="parameter_name"><p>buf</p></td>
|
146
|
+
<td class="parameter_description"><p> buffer containing
|
147
|
+
bytes to be written. </p></td>
|
148
|
+
<td class="parameter_annotations"><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></td>
|
149
|
+
</tr>
|
150
|
+
<tr>
|
151
|
+
<td class="parameter_name"><p>count</p></td>
|
152
|
+
<td class="parameter_description"><p>number of bytes in <em class="parameter"><code>buf</code></em>
|
153
|
+
.</p></td>
|
154
|
+
<td class="parameter_annotations"> </td>
|
155
|
+
</tr>
|
156
|
+
<tr>
|
157
|
+
<td class="parameter_name"><p>data</p></td>
|
158
|
+
<td class="parameter_description"><p> user data passed to <a class="link" href="PopplerMedia.html#poppler-media-save-to-callback" title="poppler_media_save_to_callback ()"><code class="function">poppler_media_save_to_callback()</code></a>. </p></td>
|
159
|
+
<td class="parameter_annotations"><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></td>
|
160
|
+
</tr>
|
161
|
+
<tr>
|
162
|
+
<td class="parameter_name"><p>error</p></td>
|
163
|
+
<td class="parameter_description"><p>GError to set on error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
164
|
+
<td class="parameter_annotations"> </td>
|
165
|
+
</tr>
|
166
|
+
</tbody>
|
167
|
+
</table></div>
|
168
|
+
</div>
|
169
|
+
<div class="refsect3">
|
170
|
+
<a name="id-1.2.10.8.2.6"></a><h4>Returns</h4>
|
171
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if successful, <a href="/home/vagrant/ruby-gnome2.win64/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>
|
172
|
+
set) if failed.</p>
|
173
|
+
<p></p>
|
174
|
+
</div>
|
175
|
+
<p class="since">Since 0.14</p>
|
176
|
+
</div>
|
177
|
+
<hr>
|
178
|
+
<div class="refsect2">
|
179
|
+
<a name="poppler-media-get-filename"></a><h3>poppler_media_get_filename ()</h3>
|
180
|
+
<pre class="programlisting">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
181
|
+
poppler_media_get_filename (<em class="parameter"><code><a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a> *poppler_media</code></em>);</pre>
|
182
|
+
<p>Returns the media clip filename, in case of non-embedded media. filename might be
|
183
|
+
a local relative or absolute path or a URI</p>
|
184
|
+
<div class="refsect3">
|
185
|
+
<a name="id-1.2.10.8.3.5"></a><h4>Parameters</h4>
|
186
|
+
<div class="informaltable"><table width="100%" border="0">
|
187
|
+
<colgroup>
|
188
|
+
<col width="150px" class="parameters_name">
|
189
|
+
<col class="parameters_description">
|
190
|
+
<col width="200px" class="parameters_annotations">
|
191
|
+
</colgroup>
|
192
|
+
<tbody><tr>
|
193
|
+
<td class="parameter_name"><p>poppler_media</p></td>
|
194
|
+
<td class="parameter_description"><p>a <a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a></p></td>
|
195
|
+
<td class="parameter_annotations"> </td>
|
196
|
+
</tr></tbody>
|
197
|
+
</table></div>
|
198
|
+
</div>
|
199
|
+
<div class="refsect3">
|
200
|
+
<a name="id-1.2.10.8.3.6"></a><h4>Returns</h4>
|
201
|
+
<p> a filename, return value is owned by <a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a> and should not be freed</p>
|
202
|
+
<p></p>
|
203
|
+
</div>
|
204
|
+
<p class="since">Since 0.14</p>
|
205
|
+
</div>
|
206
|
+
<hr>
|
207
|
+
<div class="refsect2">
|
208
|
+
<a name="poppler-media-get-mime-type"></a><h3>poppler_media_get_mime_type ()</h3>
|
209
|
+
<pre class="programlisting">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
210
|
+
poppler_media_get_mime_type (<em class="parameter"><code><a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a> *poppler_media</code></em>);</pre>
|
211
|
+
<p>Returns the media clip mime-type</p>
|
212
|
+
<div class="refsect3">
|
213
|
+
<a name="id-1.2.10.8.4.5"></a><h4>Parameters</h4>
|
214
|
+
<div class="informaltable"><table width="100%" border="0">
|
215
|
+
<colgroup>
|
216
|
+
<col width="150px" class="parameters_name">
|
217
|
+
<col class="parameters_description">
|
218
|
+
<col width="200px" class="parameters_annotations">
|
219
|
+
</colgroup>
|
220
|
+
<tbody><tr>
|
221
|
+
<td class="parameter_name"><p>poppler_media</p></td>
|
222
|
+
<td class="parameter_description"><p>a <a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a></p></td>
|
223
|
+
<td class="parameter_annotations"> </td>
|
224
|
+
</tr></tbody>
|
225
|
+
</table></div>
|
226
|
+
</div>
|
227
|
+
<div class="refsect3">
|
228
|
+
<a name="id-1.2.10.8.4.6"></a><h4>Returns</h4>
|
229
|
+
<p> the mime-type, return value is owned by <a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a> and should not be freed</p>
|
230
|
+
<p></p>
|
231
|
+
</div>
|
232
|
+
<p class="since">Since 0.14</p>
|
233
|
+
</div>
|
234
|
+
<hr>
|
235
|
+
<div class="refsect2">
|
236
|
+
<a name="poppler-media-is-embedded"></a><h3>poppler_media_is_embedded ()</h3>
|
237
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
238
|
+
poppler_media_is_embedded (<em class="parameter"><code><a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a> *poppler_media</code></em>);</pre>
|
239
|
+
<p>Whether the media clip is embedded in the PDF. If the result is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the embedded stream
|
240
|
+
can be saved with <a class="link" href="PopplerMedia.html#poppler-media-save" title="poppler_media_save ()"><code class="function">poppler_media_save()</code></a> or <a class="link" href="PopplerMedia.html#poppler-media-save-to-callback" title="poppler_media_save_to_callback ()"><code class="function">poppler_media_save_to_callback()</code></a> function.
|
241
|
+
If the result is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the media clip filename can be retrieved with
|
242
|
+
<a class="link" href="PopplerMedia.html#poppler-media-get-filename" title="poppler_media_get_filename ()"><code class="function">poppler_media_get_filename()</code></a> function.</p>
|
243
|
+
<div class="refsect3">
|
244
|
+
<a name="id-1.2.10.8.5.5"></a><h4>Parameters</h4>
|
245
|
+
<div class="informaltable"><table width="100%" border="0">
|
246
|
+
<colgroup>
|
247
|
+
<col width="150px" class="parameters_name">
|
248
|
+
<col class="parameters_description">
|
249
|
+
<col width="200px" class="parameters_annotations">
|
250
|
+
</colgroup>
|
251
|
+
<tbody><tr>
|
252
|
+
<td class="parameter_name"><p>poppler_media</p></td>
|
253
|
+
<td class="parameter_description"><p>a <a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a></p></td>
|
254
|
+
<td class="parameter_annotations"> </td>
|
255
|
+
</tr></tbody>
|
256
|
+
</table></div>
|
257
|
+
</div>
|
258
|
+
<div class="refsect3">
|
259
|
+
<a name="id-1.2.10.8.5.6"></a><h4>Returns</h4>
|
260
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if media clip is embedded, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
261
|
+
<p></p>
|
262
|
+
</div>
|
263
|
+
<p class="since">Since 0.14</p>
|
264
|
+
</div>
|
265
|
+
<hr>
|
266
|
+
<div class="refsect2">
|
267
|
+
<a name="poppler-media-save"></a><h3>poppler_media_save ()</h3>
|
268
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
269
|
+
poppler_media_save (<em class="parameter"><code><a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a> *poppler_media</code></em>,
|
270
|
+
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
271
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
272
|
+
<p>Saves embedded stream of <em class="parameter"><code>poppler_media</code></em>
|
273
|
+
to a file indicated by <em class="parameter"><code>filename</code></em>
|
274
|
+
.
|
275
|
+
If <em class="parameter"><code>error</code></em>
|
276
|
+
is set, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned.
|
277
|
+
Possible errors include those in the <a href="/home/vagrant/ruby-gnome2.win64/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
|
278
|
+
and whatever the save function generates.</p>
|
279
|
+
<div class="refsect3">
|
280
|
+
<a name="id-1.2.10.8.6.5"></a><h4>Parameters</h4>
|
281
|
+
<div class="informaltable"><table width="100%" border="0">
|
282
|
+
<colgroup>
|
283
|
+
<col width="150px" class="parameters_name">
|
284
|
+
<col class="parameters_description">
|
285
|
+
<col width="200px" class="parameters_annotations">
|
286
|
+
</colgroup>
|
287
|
+
<tbody>
|
288
|
+
<tr>
|
289
|
+
<td class="parameter_name"><p>poppler_media</p></td>
|
290
|
+
<td class="parameter_description"><p>a <a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a></p></td>
|
291
|
+
<td class="parameter_annotations"> </td>
|
292
|
+
</tr>
|
293
|
+
<tr>
|
294
|
+
<td class="parameter_name"><p>filename</p></td>
|
295
|
+
<td class="parameter_description"><p>name of file to save</p></td>
|
296
|
+
<td class="parameter_annotations"> </td>
|
297
|
+
</tr>
|
298
|
+
<tr>
|
299
|
+
<td class="parameter_name"><p>error</p></td>
|
300
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
301
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
302
|
+
</tr>
|
303
|
+
</tbody>
|
304
|
+
</table></div>
|
305
|
+
</div>
|
306
|
+
<div class="refsect3">
|
307
|
+
<a name="id-1.2.10.8.6.6"></a><h4>Returns</h4>
|
308
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the file successfully saved</p>
|
309
|
+
<p></p>
|
310
|
+
</div>
|
311
|
+
<p class="since">Since 0.14</p>
|
312
|
+
</div>
|
313
|
+
<hr>
|
314
|
+
<div class="refsect2">
|
315
|
+
<a name="poppler-media-save-to-callback"></a><h3>poppler_media_save_to_callback ()</h3>
|
316
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
317
|
+
poppler_media_save_to_callback (<em class="parameter"><code><a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a> *poppler_media</code></em>,
|
318
|
+
<em class="parameter"><code><a class="link" href="PopplerMedia.html#PopplerMediaSaveFunc" title="PopplerMediaSaveFunc ()"><span class="type">PopplerMediaSaveFunc</span></a> save_func</code></em>,
|
319
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
320
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
321
|
+
<p>Saves embedded stream of <em class="parameter"><code>poppler_media</code></em>
|
322
|
+
by feeding the produced data to <em class="parameter"><code>save_func</code></em>
|
323
|
+
. Can be used
|
324
|
+
when you want to store the media clip stream to something other than a file, such as
|
325
|
+
an in-memory buffer or a socket. If <em class="parameter"><code>error</code></em>
|
326
|
+
is set, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be
|
327
|
+
returned. Possible errors include those in the <a href="/home/vagrant/ruby-gnome2.win64/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
|
328
|
+
whatever the save function generates.</p>
|
329
|
+
<div class="refsect3">
|
330
|
+
<a name="id-1.2.10.8.7.5"></a><h4>Parameters</h4>
|
331
|
+
<div class="informaltable"><table width="100%" border="0">
|
332
|
+
<colgroup>
|
333
|
+
<col width="150px" class="parameters_name">
|
334
|
+
<col class="parameters_description">
|
335
|
+
<col width="200px" class="parameters_annotations">
|
336
|
+
</colgroup>
|
337
|
+
<tbody>
|
338
|
+
<tr>
|
339
|
+
<td class="parameter_name"><p>poppler_media</p></td>
|
340
|
+
<td class="parameter_description"><p>a <a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a></p></td>
|
341
|
+
<td class="parameter_annotations"> </td>
|
342
|
+
</tr>
|
343
|
+
<tr>
|
344
|
+
<td class="parameter_name"><p>save_func</p></td>
|
345
|
+
<td class="parameter_description"><p> a function that is called to save each block of data that the save routine generates. </p></td>
|
346
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span></td>
|
347
|
+
</tr>
|
348
|
+
<tr>
|
349
|
+
<td class="parameter_name"><p>user_data</p></td>
|
350
|
+
<td class="parameter_description"><p>user data to pass to the save function.</p></td>
|
351
|
+
<td class="parameter_annotations"> </td>
|
352
|
+
</tr>
|
353
|
+
<tr>
|
354
|
+
<td class="parameter_name"><p>error</p></td>
|
355
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
356
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
357
|
+
</tr>
|
358
|
+
</tbody>
|
359
|
+
</table></div>
|
360
|
+
</div>
|
361
|
+
<div class="refsect3">
|
362
|
+
<a name="id-1.2.10.8.7.6"></a><h4>Returns</h4>
|
363
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the save successfully completed</p>
|
364
|
+
<p></p>
|
365
|
+
</div>
|
366
|
+
<p class="since">Since 0.14</p>
|
367
|
+
</div>
|
368
|
+
</div>
|
369
|
+
<div class="refsect1">
|
370
|
+
<a name="PopplerMedia.other_details"></a><h2>Types and Values</h2>
|
371
|
+
<div class="refsect2">
|
372
|
+
<a name="PopplerMedia-struct"></a><h3>PopplerMedia</h3>
|
373
|
+
<pre class="programlisting">typedef struct _PopplerMedia PopplerMedia;</pre>
|
374
|
+
</div>
|
375
|
+
</div>
|
376
|
+
</div>
|
377
|
+
<div class="footer">
|
378
|
+
<hr>
|
379
|
+
Generated by GTK-Doc V1.21</div>
|
380
|
+
</body>
|
381
|
+
</html>
|