poppler 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +5 -5
- data/ext/poppler/extconf.rb +1 -1
- data/lib/2.0/poppler.so +0 -0
- data/test/test_annotation.rb +3 -1
- data/test/test_page.rb +0 -18
- data/vendor/local/bin/cjpeg.exe +0 -0
- data/vendor/local/bin/djpeg.exe +0 -0
- data/vendor/local/bin/jpegtran.exe +0 -0
- data/vendor/local/bin/libjpeg-9.dll +0 -0
- data/vendor/local/bin/{libpoppler-44.dll → libpoppler-46.dll} +0 -0
- data/vendor/local/bin/libpoppler-cpp-0.dll +0 -0
- data/vendor/local/bin/libpoppler-glib-8.dll +0 -0
- data/vendor/local/bin/libsqlite3-0.dll +0 -0
- data/vendor/local/bin/pdfdetach.exe +0 -0
- data/vendor/local/bin/pdffonts.exe +0 -0
- data/vendor/local/bin/pdfimages.exe +0 -0
- data/vendor/local/bin/pdfinfo.exe +0 -0
- data/vendor/local/bin/pdfseparate.exe +0 -0
- data/vendor/local/bin/pdftocairo.exe +0 -0
- data/vendor/local/bin/pdftohtml.exe +0 -0
- data/vendor/local/bin/pdftoppm.exe +0 -0
- data/vendor/local/bin/pdftops.exe +0 -0
- data/vendor/local/bin/pdftotext.exe +0 -0
- data/vendor/local/bin/pdfunite.exe +0 -0
- data/vendor/local/bin/rdjpgcom.exe +0 -0
- data/vendor/local/bin/sqlite3.exe +0 -0
- data/vendor/local/bin/wrjpgcom.exe +0 -0
- data/vendor/local/include/jconfig.h +7 -1
- data/vendor/local/include/jmorecfg.h +68 -12
- data/vendor/local/include/jpeglib.h +19 -12
- data/vendor/local/include/poppler/cpp/poppler-document.h +104 -0
- data/vendor/local/include/poppler/cpp/poppler-embedded-file.h +55 -0
- data/vendor/local/include/poppler/cpp/poppler-font.h +91 -0
- data/vendor/local/include/poppler/cpp/poppler-global.h +111 -0
- data/vendor/local/include/poppler/cpp/poppler-image.h +71 -0
- data/vendor/local/include/poppler/cpp/poppler-page-renderer.h +66 -0
- data/vendor/local/include/poppler/cpp/poppler-page-transition.h +82 -0
- data/vendor/local/include/poppler/cpp/poppler-page.h +76 -0
- data/vendor/local/include/poppler/cpp/poppler-rectangle.h +84 -0
- data/vendor/local/include/poppler/cpp/poppler-toc.h +74 -0
- data/vendor/local/include/poppler/cpp/poppler-version.h +39 -0
- data/vendor/local/include/poppler/glib/poppler-annot.h +64 -0
- data/vendor/local/include/poppler/glib/poppler-enums.h +34 -0
- data/vendor/local/include/poppler/glib/poppler-features.h +1 -1
- data/vendor/local/include/poppler/glib/poppler-media.h +1 -1
- data/vendor/local/include/poppler/glib/poppler-page.h +61 -0
- data/vendor/local/include/poppler/glib/poppler-structure-element.h +357 -0
- data/vendor/local/include/poppler/glib/poppler.h +11 -1
- data/vendor/local/include/sqlite3.h +245 -89
- data/vendor/local/lib/girepository-1.0/Poppler-0.18.typelib +0 -0
- data/vendor/local/lib/libjpeg.a +0 -0
- data/vendor/local/lib/libjpeg.dll.a +0 -0
- data/vendor/local/lib/libjpeg.la +2 -2
- data/vendor/local/lib/libpoppler-cpp.a +0 -0
- data/vendor/local/lib/libpoppler-cpp.dll.a +0 -0
- data/vendor/local/lib/libpoppler-cpp.la +41 -0
- data/vendor/local/lib/libpoppler-glib.a +0 -0
- data/vendor/local/lib/libpoppler-glib.dll.a +0 -0
- data/vendor/local/lib/libpoppler-glib.la +2 -2
- data/vendor/local/lib/libpoppler.a +0 -0
- data/vendor/local/lib/libpoppler.dll.a +0 -0
- data/vendor/local/lib/libpoppler.la +4 -4
- data/vendor/local/lib/libsqlite3.a +0 -0
- data/vendor/local/lib/libsqlite3.dll.a +0 -0
- data/vendor/local/lib/libsqlite3.la +1 -1
- data/vendor/local/lib/pkgconfig/poppler-cairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/poppler-cpp.pc +13 -0
- data/vendor/local/lib/pkgconfig/poppler-glib.pc +2 -2
- data/vendor/local/lib/pkgconfig/poppler-splash.pc +2 -2
- data/vendor/local/lib/pkgconfig/poppler.pc +1 -1
- data/vendor/local/lib/pkgconfig/sqlite3.pc +2 -2
- data/vendor/local/share/gir-1.0/Poppler-0.18.gir +2993 -169
- data/vendor/local/share/gtk-doc/html/poppler/PopplerAnnot.html +2674 -1137
- data/vendor/local/share/gtk-doc/html/poppler/PopplerAttachment.html +186 -133
- data/vendor/local/share/gtk-doc/html/poppler/PopplerDocument.html +2523 -1782
- data/vendor/local/share/gtk-doc/html/poppler/PopplerFormField.html +1071 -738
- data/vendor/local/share/gtk-doc/html/poppler/PopplerLayer.html +225 -146
- data/vendor/local/share/gtk-doc/html/poppler/PopplerMedia.html +276 -201
- data/vendor/local/share/gtk-doc/html/poppler/PopplerMovie.html +142 -101
- data/vendor/local/share/gtk-doc/html/poppler/PopplerPage.html +2191 -1421
- data/vendor/local/share/gtk-doc/html/poppler/PopplerStructureElement.html +3781 -0
- data/vendor/local/share/gtk-doc/html/poppler/annotation-glossary.html +30 -44
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-12.html +34 -39
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-14.html +27 -32
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-16.html +50 -55
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-18.html +23 -28
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-20.html +12 -15
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-22.html +18 -23
- data/vendor/local/share/gtk-doc/html/poppler/api-index-deprecated.html +12 -15
- data/vendor/local/share/gtk-doc/html/poppler/api-index-full.html +762 -280
- data/vendor/local/share/gtk-doc/html/poppler/ch01.html +12 -9
- data/vendor/local/share/gtk-doc/html/poppler/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/index.html +7 -4
- data/vendor/local/share/gtk-doc/html/poppler/index.sgml +258 -269
- data/vendor/local/share/gtk-doc/html/poppler/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/poppler-PopplerAction.html +454 -320
- data/vendor/local/share/gtk-doc/html/poppler/poppler-Version-and-Features-Information.html +102 -76
- data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler.html +367 -278
- data/vendor/local/share/gtk-doc/html/poppler/poppler.devhelp2 +356 -409
- data/vendor/local/share/gtk-doc/html/poppler/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/style.css +314 -104
- data/vendor/local/share/gtk-doc/html/poppler/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/up.png +0 -0
- data/vendor/local/share/man/man1/cjpeg.1 +23 -2
- data/vendor/local/share/man/man1/djpeg.1 +2 -2
- data/vendor/local/share/man/man1/jpegtran.1 +12 -4
- data/vendor/local/share/man/man1/pdfimages.1 +78 -7
- data/vendor/local/share/man/man1/pdfinfo.1 +6 -0
- data/vendor/local/share/man/man1/pdftocairo.1 +9 -17
- data/vendor/local/share/man/man1/pdftohtml.1 +1 -1
- data/vendor/local/share/man/man1/pdftoppm.1 +12 -0
- data/vendor/local/share/man/man1/pdftops.1 +10 -20
- data/vendor/local/share/man/man1/rdjpgcom.1 +1 -1
- data/vendor/local/share/man/man1/sqlite3.1 +72 -22
- metadata +34 -15
- data/lib/1.9/poppler.so +0 -0
- data/lib/2.1/poppler.so +0 -0
@@ -2,32 +2,27 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>PopplerLayer</title>
|
5
|
+
<title>Poppler Reference Manual: PopplerLayer</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Poppler Reference Manual">
|
8
8
|
<link rel="up" href="ch01.html" title="Poppler">
|
9
9
|
<link rel="prev" href="PopplerAnnot.html" title="PopplerAnnot">
|
10
10
|
<link rel="next" href="PopplerMedia.html" title="PopplerMedia">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<
|
19
|
-
<
|
20
|
-
|
21
|
-
<td><a accesskey="
|
22
|
-
|
23
|
-
<
|
24
|
-
<a href="
|
25
|
-
|
26
|
-
<a href="#PopplerLayer.description" class="shortcut">Description</a>
|
27
|
-
|
|
28
|
-
<a href="#PopplerLayer.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
-
</td></tr>
|
30
|
-
</table>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#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>
|
31
26
|
<div class="refentry">
|
32
27
|
<a name="PopplerLayer"></a><div class="titlepage"></div>
|
33
28
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -35,194 +30,278 @@
|
|
35
30
|
<h2><span class="refentrytitle"><a name="PopplerLayer.top_of_page"></a>PopplerLayer</span></h2>
|
36
31
|
<p>PopplerLayer — Layers</p>
|
37
32
|
</td>
|
38
|
-
<td valign="top" align="right"></td>
|
33
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
39
34
|
</tr></table></div>
|
40
|
-
<div class="
|
41
|
-
<a name="PopplerLayer.
|
42
|
-
<
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
<
|
48
|
-
<
|
49
|
-
<
|
50
|
-
|
51
|
-
<
|
52
|
-
|
53
|
-
</
|
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="http://library.gnome.org/devel/glib/unstable/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="http://library.gnome.org/devel/glib/unstable/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="http://library.gnome.org/devel/glib/unstable/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="http://library.gnome.org/devel/glib/unstable/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>
|
54
105
|
</div>
|
55
106
|
<div class="refsect1">
|
56
107
|
<a name="PopplerLayer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
57
|
-
<pre class="
|
58
|
-
|
59
|
-
+----PopplerLayer
|
108
|
+
<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
109
|
+
<span class="lineart">╰──</span> PopplerLayer
|
60
110
|
</pre>
|
61
111
|
</div>
|
62
112
|
<div class="refsect1">
|
63
|
-
<a name="PopplerLayer.
|
113
|
+
<a name="PopplerLayer.includes"></a><h2>Includes</h2>
|
114
|
+
<pre class="synopsis">#include <poppler.h>
|
115
|
+
</pre>
|
64
116
|
</div>
|
65
117
|
<div class="refsect1">
|
66
|
-
<a name="PopplerLayer.
|
67
|
-
<div class="refsect2">
|
68
|
-
<a name="PopplerLayer-struct"></a><h3>PopplerLayer</h3>
|
69
|
-
<pre class="programlisting">typedef struct _PopplerLayer PopplerLayer;</pre>
|
118
|
+
<a name="PopplerLayer.description"></a><h2>Description</h2>
|
70
119
|
</div>
|
71
|
-
<
|
120
|
+
<div class="refsect1">
|
121
|
+
<a name="PopplerLayer.functions_details"></a><h2>Functions</h2>
|
72
122
|
<div class="refsect2">
|
73
|
-
<a name="poppler-layer-get-title"></a><h3>poppler_layer_get_title
|
74
|
-
<pre class="programlisting">const <a href="
|
75
|
-
<
|
76
|
-
Returns the name of the layer suitable for
|
77
|
-
presentation as a title in a viewer's GUI
|
78
|
-
|
79
|
-
<
|
123
|
+
<a name="poppler-layer-get-title"></a><h3>poppler_layer_get_title ()</h3>
|
124
|
+
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/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">
|
80
131
|
<colgroup>
|
81
|
-
<col
|
82
|
-
<col>
|
132
|
+
<col width="150px" class="parameters_name">
|
133
|
+
<col class="parameters_description">
|
134
|
+
<col width="200px" class="parameters_annotations">
|
83
135
|
</colgroup>
|
84
|
-
<tbody>
|
85
|
-
<
|
86
|
-
<td><p
|
87
|
-
<td
|
88
|
-
</
|
89
|
-
</tr>
|
90
|
-
<tr>
|
91
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
92
|
-
<td>a string containing the title of the layer</td>
|
93
|
-
</tr>
|
94
|
-
</tbody>
|
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>
|
95
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>
|
96
148
|
<p class="since">Since 0.12</p>
|
97
149
|
</div>
|
98
150
|
<hr>
|
99
151
|
<div class="refsect2">
|
100
|
-
<a name="poppler-layer-is-visible"></a><h3>poppler_layer_is_visible
|
101
|
-
<pre class="programlisting"><a href="
|
102
|
-
<
|
103
|
-
Returns whether <em class="parameter"><code>layer</code></em>
|
104
|
-
</p>
|
105
|
-
<div class="
|
152
|
+
<a name="poppler-layer-is-visible"></a><h3>poppler_layer_is_visible ()</h3>
|
153
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/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">
|
106
160
|
<colgroup>
|
107
|
-
<col
|
108
|
-
<col>
|
161
|
+
<col width="150px" class="parameters_name">
|
162
|
+
<col class="parameters_description">
|
163
|
+
<col width="200px" class="parameters_annotations">
|
109
164
|
</colgroup>
|
110
|
-
<tbody>
|
111
|
-
<
|
112
|
-
<td><p
|
113
|
-
<td
|
114
|
-
</
|
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 <em class="parameter"><code>layer</code></em> is visible</td>
|
120
|
-
</tr>
|
121
|
-
</tbody>
|
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>
|
122
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="http://library.gnome.org/devel/glib/unstable/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>
|
123
178
|
<p class="since">Since 0.12</p>
|
124
179
|
</div>
|
125
180
|
<hr>
|
126
181
|
<div class="refsect2">
|
127
|
-
<a name="poppler-layer-show"></a><h3>poppler_layer_show
|
128
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
129
|
-
<
|
130
|
-
Shows <em class="parameter"><code>layer</code></em>
|
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>
|
131
186
|
</p>
|
132
|
-
<div class="
|
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">
|
133
190
|
<colgroup>
|
134
|
-
<col
|
135
|
-
<col>
|
191
|
+
<col width="150px" class="parameters_name">
|
192
|
+
<col class="parameters_description">
|
193
|
+
<col width="200px" class="parameters_annotations">
|
136
194
|
</colgroup>
|
137
195
|
<tbody><tr>
|
138
|
-
<td
|
139
|
-
<td>a <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a>
|
140
|
-
</td>
|
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>
|
141
199
|
</tr></tbody>
|
142
200
|
</table></div>
|
201
|
+
</div>
|
143
202
|
<p class="since">Since 0.12</p>
|
144
203
|
</div>
|
145
204
|
<hr>
|
146
205
|
<div class="refsect2">
|
147
|
-
<a name="poppler-layer-hide"></a><h3>poppler_layer_hide
|
148
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
149
|
-
<
|
150
|
-
|
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,
|
151
212
|
such layers will be also hidden and will be blocked until <em class="parameter"><code>layer</code></em>
|
152
|
-
|
153
|
-
</p>
|
154
|
-
<div class="
|
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">
|
155
218
|
<colgroup>
|
156
|
-
<col
|
157
|
-
<col>
|
219
|
+
<col width="150px" class="parameters_name">
|
220
|
+
<col class="parameters_description">
|
221
|
+
<col width="200px" class="parameters_annotations">
|
158
222
|
</colgroup>
|
159
223
|
<tbody><tr>
|
160
|
-
<td
|
161
|
-
<td>a <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a>
|
162
|
-
</td>
|
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>
|
163
227
|
</tr></tbody>
|
164
228
|
</table></div>
|
229
|
+
</div>
|
165
230
|
<p class="since">Since 0.12</p>
|
166
231
|
</div>
|
167
232
|
<hr>
|
168
233
|
<div class="refsect2">
|
169
|
-
<a name="poppler-layer-is-parent"></a><h3>poppler_layer_is_parent
|
170
|
-
<pre class="programlisting"><a href="
|
171
|
-
<
|
172
|
-
Returns whether <em class="parameter"><code>layer</code></em>
|
173
|
-
|
174
|
-
<div class="
|
234
|
+
<a name="poppler-layer-is-parent"></a><h3>poppler_layer_is_parent ()</h3>
|
235
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/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">
|
175
242
|
<colgroup>
|
176
|
-
<col
|
177
|
-
<col>
|
243
|
+
<col width="150px" class="parameters_name">
|
244
|
+
<col class="parameters_description">
|
245
|
+
<col width="200px" class="parameters_annotations">
|
178
246
|
</colgroup>
|
179
|
-
<tbody>
|
180
|
-
<
|
181
|
-
<td><p
|
182
|
-
<td
|
183
|
-
</
|
184
|
-
</tr>
|
185
|
-
<tr>
|
186
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
187
|
-
<td>
|
188
|
-
<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>layer</code></em> is a parent layer</td>
|
189
|
-
</tr>
|
190
|
-
</tbody>
|
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>
|
191
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="http://library.gnome.org/devel/glib/unstable/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>
|
192
260
|
<p class="since">Since 0.12</p>
|
193
261
|
</div>
|
194
262
|
<hr>
|
195
263
|
<div class="refsect2">
|
196
|
-
<a name="poppler-layer-get-radio-button-group-id"></a><h3>poppler_layer_get_radio_button_group_id
|
197
|
-
<pre class="programlisting"><a href="
|
198
|
-
|
199
|
-
<
|
200
|
-
Returns the numeric ID the radio button group associated with <em class="parameter"><code>layer</code></em
|
201
|
-
|
202
|
-
<div class="
|
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="http://library.gnome.org/devel/glib/unstable/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">
|
203
273
|
<colgroup>
|
204
|
-
<col
|
205
|
-
<col>
|
274
|
+
<col width="150px" class="parameters_name">
|
275
|
+
<col class="parameters_description">
|
276
|
+
<col width="200px" class="parameters_annotations">
|
206
277
|
</colgroup>
|
207
|
-
<tbody>
|
208
|
-
<
|
209
|
-
<td><p
|
210
|
-
<td
|
211
|
-
</
|
212
|
-
</tr>
|
213
|
-
<tr>
|
214
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
215
|
-
<td>the ID of the radio button group associated with <em class="parameter"><code>layer</code></em>,
|
216
|
-
or 0 if the layer is not associated to any radio button group</td>
|
217
|
-
</tr>
|
218
|
-
</tbody>
|
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>
|
219
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>
|
220
292
|
<p class="since">Since 0.12</p>
|
221
293
|
</div>
|
222
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>
|
223
302
|
</div>
|
224
303
|
<div class="footer">
|
225
304
|
<hr>
|
226
|
-
Generated by GTK-Doc V1.
|
305
|
+
Generated by GTK-Doc V1.21</div>
|
227
306
|
</body>
|
228
307
|
</html>
|
@@ -2,32 +2,27 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>PopplerMedia</title>
|
5
|
+
<title>Poppler Reference Manual: PopplerMedia</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Poppler Reference Manual">
|
8
8
|
<link rel="up" href="ch01.html" title="Poppler">
|
9
9
|
<link rel="prev" href="PopplerLayer.html" title="PopplerLayer">
|
10
10
|
<link rel="next" href="PopplerMovie.html" title="PopplerMovie">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<
|
19
|
-
<
|
20
|
-
|
21
|
-
<td><a accesskey="
|
22
|
-
|
23
|
-
<
|
24
|
-
<a href="
|
25
|
-
|
26
|
-
<a href="#PopplerMedia.description" class="shortcut">Description</a>
|
27
|
-
|
|
28
|
-
<a href="#PopplerMedia.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
-
</td></tr>
|
30
|
-
</table>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#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>
|
31
26
|
<div class="refentry">
|
32
27
|
<a name="PopplerMedia"></a><div class="titlepage"></div>
|
33
28
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -35,272 +30,352 @@
|
|
35
30
|
<h2><span class="refentrytitle"><a name="PopplerMedia.top_of_page"></a>PopplerMedia</span></h2>
|
36
31
|
<p>PopplerMedia — Media</p>
|
37
32
|
</td>
|
38
|
-
<td valign="top" align="right"></td>
|
33
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
39
34
|
</tr></table></div>
|
40
|
-
<div class="refsynopsisdiv">
|
41
|
-
<a name="PopplerMedia.synopsis"></a><h2>Synopsis</h2>
|
42
|
-
<pre class="synopsis">
|
43
|
-
#include <poppler.h>
|
44
|
-
|
45
|
-
<a class="link" href="PopplerMedia.html#PopplerMedia-struct" title="PopplerMedia">PopplerMedia</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="PopplerMedia.html#PopplerMediaSaveFunc" title="PopplerMediaSaveFunc ()">*PopplerMediaSaveFunc</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
|
-
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="returnvalue">gchar</span></a> * <a class="link" href="PopplerMedia.html#poppler-media-get-filename" title="poppler_media_get_filename ()">poppler_media_get_filename</a> (<em class="parameter"><code><a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a> *poppler_media</code></em>);
|
51
|
-
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="returnvalue">gchar</span></a> * <a class="link" href="PopplerMedia.html#poppler-media-get-mime-type" title="poppler_media_get_mime_type ()">poppler_media_get_mime_type</a> (<em class="parameter"><code><a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a> *poppler_media</code></em>);
|
52
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="PopplerMedia.html#poppler-media-is-embedded" title="poppler_media_is_embedded ()">poppler_media_is_embedded</a> (<em class="parameter"><code><a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a> *poppler_media</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="PopplerMedia.html#poppler-media-save" title="poppler_media_save ()">poppler_media_save</a> (<em class="parameter"><code><a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a> *poppler_media</code></em>,
|
54
|
-
<em class="parameter"><code>const <span class="type">char</span> *filename</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-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
56
|
-
<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="PopplerMedia.html#poppler-media-save-to-callback" title="poppler_media_save_to_callback ()">poppler_media_save_to_callback</a> (<em class="parameter"><code><a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a> *poppler_media</code></em>,
|
57
|
-
<em class="parameter"><code><a class="link" href="PopplerMedia.html#PopplerMediaSaveFunc" title="PopplerMediaSaveFunc ()"><span class="type">PopplerMediaSaveFunc</span></a> save_func</code></em>,
|
58
|
-
<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>,
|
59
|
-
<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>);
|
60
|
-
</pre>
|
61
|
-
</div>
|
62
35
|
<div class="refsect1">
|
63
|
-
<a name="PopplerMedia.
|
64
|
-
<
|
65
|
-
<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>
|
66
|
-
+----PopplerMedia
|
67
|
-
</pre>
|
68
|
-
</div>
|
69
|
-
<div class="refsect1">
|
70
|
-
<a name="PopplerMedia.description"></a><h2>Description</h2>
|
71
|
-
</div>
|
72
|
-
<div class="refsect1">
|
73
|
-
<a name="PopplerMedia.details"></a><h2>Details</h2>
|
74
|
-
<div class="refsect2">
|
75
|
-
<a name="PopplerMedia-struct"></a><h3>PopplerMedia</h3>
|
76
|
-
<pre class="programlisting">typedef struct _PopplerMedia PopplerMedia;</pre>
|
77
|
-
</div>
|
78
|
-
<hr>
|
79
|
-
<div class="refsect2">
|
80
|
-
<a name="PopplerMediaSaveFunc"></a><h3>PopplerMediaSaveFunc ()</h3>
|
81
|
-
<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> (*PopplerMediaSaveFunc) (<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>,
|
82
|
-
<em class="parameter"><code><span class="type">gsize</span> count</code></em>,
|
83
|
-
<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>,
|
84
|
-
<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>
|
85
|
-
<p>
|
86
|
-
Specifies the type of the function passed to
|
87
|
-
<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
|
88
|
-
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
|
89
|
-
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
|
90
|
-
<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="PopplerMedia.html#poppler-media-save-to-callback" title="poppler_media_save_to_callback ()"><code class="function">poppler_media_save_to_callback()</code></a>
|
91
|
-
will fail with the same error.
|
92
|
-
</p>
|
93
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
36
|
+
<a name="PopplerMedia.functions"></a><h2>Functions</h2>
|
37
|
+
<div class="informaltable"><table width="100%" border="0">
|
94
38
|
<colgroup>
|
95
|
-
<col
|
96
|
-
<col>
|
39
|
+
<col width="150px" class="functions_return">
|
40
|
+
<col class="functions_name">
|
97
41
|
</colgroup>
|
98
42
|
<tbody>
|
99
43
|
<tr>
|
100
|
-
<td
|
101
|
-
<
|
102
|
-
|
44
|
+
<td class="function_type">
|
45
|
+
<a href="http://library.gnome.org/devel/glib/unstable/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="http://library.gnome.org/devel/glib/unstable/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>
|
103
56
|
</td>
|
104
57
|
</tr>
|
105
58
|
<tr>
|
106
|
-
<td
|
107
|
-
|
59
|
+
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/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>
|
108
64
|
</tr>
|
109
65
|
<tr>
|
110
|
-
<td
|
111
|
-
<
|
66
|
+
<td class="function_type">
|
67
|
+
<a href="http://library.gnome.org/devel/glib/unstable/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>
|
112
71
|
</td>
|
113
72
|
</tr>
|
114
73
|
<tr>
|
115
|
-
<td
|
116
|
-
<
|
74
|
+
<td class="function_type">
|
75
|
+
<a href="http://library.gnome.org/devel/glib/unstable/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>
|
117
79
|
</td>
|
118
80
|
</tr>
|
119
81
|
<tr>
|
120
|
-
<td
|
121
|
-
<
|
122
|
-
|
82
|
+
<td class="function_type">
|
83
|
+
<a href="http://library.gnome.org/devel/glib/unstable/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>
|
123
88
|
</tr>
|
124
89
|
</tbody>
|
125
90
|
</table></div>
|
126
|
-
<p class="since">Since 0.14</p>
|
127
91
|
</div>
|
128
|
-
<
|
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="http://library.gnome.org/devel/gobject/unstable/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>
|
129
121
|
<div class="refsect2">
|
130
|
-
<a name="
|
131
|
-
<pre class="programlisting"
|
132
|
-
<
|
133
|
-
|
134
|
-
a
|
135
|
-
</
|
136
|
-
<
|
122
|
+
<a name="PopplerMediaSaveFunc"></a><h3>PopplerMediaSaveFunc ()</h3>
|
123
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/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="http://library.gnome.org/devel/glib/unstable/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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
127
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/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="http://library.gnome.org/devel/glib/unstable/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="http://library.gnome.org/devel/glib/unstable/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">
|
137
138
|
<colgroup>
|
138
|
-
<col
|
139
|
-
<col>
|
139
|
+
<col width="150px" class="parameters_name">
|
140
|
+
<col class="parameters_description">
|
141
|
+
<col width="200px" class="parameters_annotations">
|
140
142
|
</colgroup>
|
141
143
|
<tbody>
|
142
144
|
<tr>
|
143
|
-
<td
|
144
|
-
<td
|
145
|
-
</td>
|
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>
|
146
149
|
</tr>
|
147
150
|
<tr>
|
148
|
-
<td
|
149
|
-
<td>
|
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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
164
|
+
<td class="parameter_annotations"> </td>
|
150
165
|
</tr>
|
151
166
|
</tbody>
|
152
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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if successful, <a href="http://library.gnome.org/devel/glib/unstable/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>
|
153
175
|
<p class="since">Since 0.14</p>
|
154
176
|
</div>
|
155
177
|
<hr>
|
156
178
|
<div class="refsect2">
|
157
|
-
<a name="poppler-media-get-
|
158
|
-
<pre class="programlisting">const <a href="
|
159
|
-
<
|
160
|
-
Returns the media clip
|
161
|
-
</p>
|
162
|
-
<div class="
|
179
|
+
<a name="poppler-media-get-filename"></a><h3>poppler_media_get_filename ()</h3>
|
180
|
+
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/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">
|
163
187
|
<colgroup>
|
164
|
-
<col
|
165
|
-
<col>
|
188
|
+
<col width="150px" class="parameters_name">
|
189
|
+
<col class="parameters_description">
|
190
|
+
<col width="200px" class="parameters_annotations">
|
166
191
|
</colgroup>
|
167
|
-
<tbody>
|
168
|
-
<
|
169
|
-
<td><p
|
170
|
-
<td
|
171
|
-
</
|
172
|
-
</tr>
|
173
|
-
<tr>
|
174
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
175
|
-
<td>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</td>
|
176
|
-
</tr>
|
177
|
-
</tbody>
|
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>
|
178
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>
|
179
204
|
<p class="since">Since 0.14</p>
|
180
205
|
</div>
|
181
206
|
<hr>
|
182
207
|
<div class="refsect2">
|
183
|
-
<a name="poppler-media-
|
184
|
-
<pre class="programlisting"
|
185
|
-
<
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
<
|
190
|
-
</p>
|
191
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
208
|
+
<a name="poppler-media-get-mime-type"></a><h3>poppler_media_get_mime_type ()</h3>
|
209
|
+
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/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">
|
192
215
|
<colgroup>
|
193
|
-
<col
|
194
|
-
<col>
|
216
|
+
<col width="150px" class="parameters_name">
|
217
|
+
<col class="parameters_description">
|
218
|
+
<col width="200px" class="parameters_annotations">
|
195
219
|
</colgroup>
|
196
|
-
<tbody>
|
197
|
-
<
|
198
|
-
<td><p
|
199
|
-
<td
|
200
|
-
</
|
201
|
-
</tr>
|
202
|
-
<tr>
|
203
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
204
|
-
<td>
|
205
|
-
<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 media clip is embedded, <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>
|
206
|
-
</tr>
|
207
|
-
</tbody>
|
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>
|
208
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>
|
209
232
|
<p class="since">Since 0.14</p>
|
210
233
|
</div>
|
211
234
|
<hr>
|
212
235
|
<div class="refsect2">
|
213
|
-
<a name="poppler-media-
|
214
|
-
<pre class="programlisting"><a href="
|
215
|
-
|
216
|
-
|
217
|
-
<
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
236
|
+
<a name="poppler-media-is-embedded"></a><h3>poppler_media_is_embedded ()</h3>
|
237
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/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="http://library.gnome.org/devel/glib/unstable/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="http://library.gnome.org/devel/glib/unstable/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">
|
224
246
|
<colgroup>
|
225
|
-
<col
|
226
|
-
<col>
|
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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if media clip is embedded, <a href="http://library.gnome.org/devel/glib/unstable/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="http://library.gnome.org/devel/glib/unstable/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="http://library.gnome.org/devel/glib/unstable/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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned.
|
277
|
+
Possible errors include those in the <a href="http://library.gnome.org/devel/glib/unstable/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">
|
227
286
|
</colgroup>
|
228
287
|
<tbody>
|
229
288
|
<tr>
|
230
|
-
<td
|
231
|
-
<td>a <a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a>
|
232
|
-
</td>
|
233
|
-
</tr>
|
234
|
-
<tr>
|
235
|
-
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
236
|
-
<td>name of file to save</td>
|
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>
|
237
292
|
</tr>
|
238
293
|
<tr>
|
239
|
-
<td
|
240
|
-
<td
|
241
|
-
</td>
|
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>
|
242
297
|
</tr>
|
243
298
|
<tr>
|
244
|
-
<td
|
245
|
-
<td>
|
246
|
-
<
|
299
|
+
<td class="parameter_name"><p>error</p></td>
|
300
|
+
<td class="parameter_description"><p> return location for error, or <a href="http://library.gnome.org/devel/glib/unstable/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>
|
247
302
|
</tr>
|
248
303
|
</tbody>
|
249
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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the file successfully saved</p>
|
309
|
+
<p></p>
|
310
|
+
</div>
|
250
311
|
<p class="since">Since 0.14</p>
|
251
312
|
</div>
|
252
313
|
<hr>
|
253
314
|
<div class="refsect2">
|
254
|
-
<a name="poppler-media-save-to-callback"></a><h3>poppler_media_save_to_callback
|
255
|
-
<pre class="programlisting"><a href="
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
<
|
260
|
-
Saves embedded stream of <em class="parameter"><code>poppler_media</code></em>
|
315
|
+
<a name="poppler-media-save-to-callback"></a><h3>poppler_media_save_to_callback ()</h3>
|
316
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
320
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/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
|
261
324
|
when you want to store the media clip stream to something other than a file, such as
|
262
|
-
an in-memory buffer or a socket. If <em class="parameter"><code>error</code></em>
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
<div class="
|
325
|
+
an in-memory buffer or a socket. If <em class="parameter"><code>error</code></em>
|
326
|
+
is set, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be
|
327
|
+
returned. Possible errors include those in the <a href="http://library.gnome.org/devel/glib/unstable/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">
|
267
332
|
<colgroup>
|
268
|
-
<col
|
269
|
-
<col>
|
333
|
+
<col width="150px" class="parameters_name">
|
334
|
+
<col class="parameters_description">
|
335
|
+
<col width="200px" class="parameters_annotations">
|
270
336
|
</colgroup>
|
271
337
|
<tbody>
|
272
338
|
<tr>
|
273
|
-
<td
|
274
|
-
<td>a <a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a>
|
275
|
-
</td>
|
276
|
-
</tr>
|
277
|
-
<tr>
|
278
|
-
<td><p><span class="term"><em class="parameter"><code>save_func</code></em> :</span></p></td>
|
279
|
-
<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>
|
280
|
-
</td>
|
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>
|
281
342
|
</tr>
|
282
343
|
<tr>
|
283
|
-
<td
|
284
|
-
<td>
|
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>
|
285
347
|
</tr>
|
286
348
|
<tr>
|
287
|
-
<td
|
288
|
-
<td
|
289
|
-
</td>
|
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>
|
290
352
|
</tr>
|
291
353
|
<tr>
|
292
|
-
<td
|
293
|
-
<td>
|
294
|
-
<
|
354
|
+
<td class="parameter_name"><p>error</p></td>
|
355
|
+
<td class="parameter_description"><p> return location for error, or <a href="http://library.gnome.org/devel/glib/unstable/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>
|
295
357
|
</tr>
|
296
358
|
</tbody>
|
297
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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the save successfully completed</p>
|
364
|
+
<p></p>
|
365
|
+
</div>
|
298
366
|
<p class="since">Since 0.14</p>
|
299
367
|
</div>
|
300
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>
|
301
376
|
</div>
|
302
377
|
<div class="footer">
|
303
378
|
<hr>
|
304
|
-
Generated by GTK-Doc V1.
|
379
|
+
Generated by GTK-Doc V1.21</div>
|
305
380
|
</body>
|
306
381
|
</html>
|