poppler 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +1 -1
- data/Rakefile +69 -9
- data/ext/poppler/extconf.rb +5 -2
- data/ext/poppler/rbpoppler-action.c +242 -86
- data/ext/poppler/{rbpoppler-annotationcalloutline.c → rbpoppler-annotation-callout-line.c} +2 -3
- data/ext/poppler/{rbpoppler-annotationfreetext.c → rbpoppler-annotation-free-text.c} +2 -3
- data/ext/poppler/{rbpoppler-annotationmapping.c → rbpoppler-annotation-mapping.c} +2 -3
- data/ext/poppler/{rbpoppler-annotationmarkup.c → rbpoppler-annotation-markup.c} +5 -4
- data/ext/poppler/{rbpoppler-annotationtext.c → rbpoppler-annotation-text.c} +2 -7
- data/ext/poppler/{rbpoppler-buttonfield.c → rbpoppler-button-field.c} +0 -0
- data/ext/poppler/{rbpoppler-choicefield.c → rbpoppler-choice-field.c} +0 -0
- data/ext/poppler/{rbpoppler-fontinfo.c → rbpoppler-font-info.c} +2 -8
- data/ext/poppler/{rbpoppler-fontsiter.c → rbpoppler-fonts-iter.c} +5 -6
- data/ext/poppler/{rbpoppler-formfieldmapping.c → rbpoppler-form-field-mapping.c} +2 -3
- data/ext/poppler/{rbpoppler-imagemapping.c → rbpoppler-image-mapping.c} +2 -7
- data/ext/poppler/{rbpoppler-indexiter.c → rbpoppler-index-iter.c} +2 -3
- data/ext/poppler/{rbpoppler-linkmapping.c → rbpoppler-link-mapping.c} +2 -3
- data/ext/poppler/{rbpoppler-pagetransition.c → rbpoppler-page-transition.c} +2 -3
- data/ext/poppler/rbpoppler-page.c +0 -29
- data/ext/poppler/rbpoppler-private.h +13 -13
- data/ext/poppler/{rbpoppler-psfile.c → rbpoppler-ps-file.c} +2 -3
- data/ext/poppler/{rbpoppler-textfield.c → rbpoppler-text-field.c} +0 -0
- data/ext/poppler/rbpoppler.c +14 -22
- data/ext/poppler/rbpoppler.h +3 -6
- data/ext/poppler/rbpopplerconversions.h +1 -1
- data/lib/1.9/poppler.so +0 -0
- data/lib/2.0/poppler.so +0 -0
- data/sample/pdf2.rb +46 -10
- data/test/fixtures/image.png +0 -0
- data/test/run-test.rb +7 -4
- data/test/test_page.rb +1 -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-44.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 +8 -0
- data/vendor/local/include/jerror.h +2 -2
- data/vendor/local/include/jmorecfg.h +28 -7
- data/vendor/local/include/jpeglib.h +46 -8
- data/vendor/local/include/poppler/glib/poppler-action.h +156 -2
- data/vendor/local/include/poppler/glib/poppler-annot.h +57 -1
- data/vendor/local/include/poppler/glib/poppler-attachment.h +17 -0
- data/vendor/local/include/poppler/glib/poppler-document.h +133 -26
- data/vendor/local/include/poppler/glib/poppler-enums.h +8 -0
- data/vendor/local/include/poppler/glib/poppler-features.h +58 -4
- data/vendor/local/include/poppler/glib/poppler-form-field.h +4 -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 +133 -44
- data/vendor/local/include/poppler/glib/poppler.h +125 -24
- data/vendor/local/include/sqlite3.h +7338 -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-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-glib.pc +3 -3
- 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 +13 -0
- data/vendor/local/share/gir-1.0/Poppler-0.18.gir +5452 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerAnnot.html +1671 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerAttachment.html +214 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerDocument.html +2587 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerFormField.html +1070 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerLayer.html +228 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerMedia.html +306 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerMovie.html +156 -0
- data/vendor/local/share/gtk-doc/html/poppler/PopplerPage.html +2132 -0
- data/vendor/local/share/gtk-doc/html/poppler/annotation-glossary.html +71 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-12.html +128 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-14.html +107 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-16.html +185 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-18.html +77 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-20.html +42 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-22.html +62 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-deprecated.html +42 -0
- data/vendor/local/share/gtk-doc/html/poppler/api-index-full.html +1352 -0
- data/vendor/local/share/gtk-doc/html/poppler/ch01.html +21 -19
- data/vendor/local/share/gtk-doc/html/poppler/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/index.html +35 -18
- data/vendor/local/share/gtk-doc/html/poppler/index.sgml +548 -300
- data/vendor/local/share/gtk-doc/html/poppler/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/poppler-PopplerAction.html +662 -0
- data/vendor/local/share/gtk-doc/html/poppler/poppler-Version-and-Features-Information.html +145 -0
- data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler.html +319 -364
- data/vendor/local/share/gtk-doc/html/poppler/poppler.devhelp2 +506 -265
- data/vendor/local/share/gtk-doc/html/poppler/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/style.css +153 -54
- 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 +51 -10
- data/vendor/local/share/man/man1/djpeg.1 +5 -4
- data/vendor/local/share/man/man1/jpegtran.1 +15 -2
- data/vendor/local/share/man/man1/pdfdetach.1 +86 -0
- data/vendor/local/share/man/man1/pdffonts.1 +16 -7
- data/vendor/local/share/man/man1/pdfimages.1 +114 -7
- data/vendor/local/share/man/man1/pdfinfo.1 +16 -7
- data/vendor/local/share/man/man1/pdfseparate.1 +49 -0
- data/vendor/local/share/man/man1/pdftocairo.1 +266 -0
- data/vendor/local/share/man/man1/pdftohtml.1 +30 -8
- data/vendor/local/share/man/man1/pdftoppm.1 +42 -12
- data/vendor/local/share/man/man1/pdftops.1 +26 -10
- data/vendor/local/share/man/man1/pdftotext.1 +18 -7
- data/vendor/local/share/man/man1/pdfunite.1 +33 -0
- data/vendor/local/share/man/man1/sqlite3.1 +229 -0
- metadata +107 -64
- data/vendor/local/bin/libgcc_s_dw2-1.dll +0 -0
- data/vendor/local/bin/libjpeg-7.dll +0 -0
- data/vendor/local/bin/libpng12-0.dll +0 -0
- data/vendor/local/bin/libpoppler-5.dll +0 -0
- data/vendor/local/bin/libpoppler-glib-4.dll +0 -0
- data/vendor/local/include/libpng12/png.h +0 -3726
- data/vendor/local/include/libpng12/pngconf.h +0 -1508
- data/vendor/local/include/png.h +0 -3726
- data/vendor/local/include/pngconf.h +0 -1508
- data/vendor/local/lib/libpng.def +0 -366
- data/vendor/local/lib/libpng.lib +0 -0
- data/vendor/local/lib/libpng12.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/libpng.pc +0 -11
- data/vendor/local/lib/pkgconfig/libpng12.pc +0 -11
- data/vendor/local/manifest/jpeg-dev_7-1_win32.mft +0 -18
- data/vendor/local/manifest/jpeg_7-1_win32.mft +0 -2
- data/vendor/local/manifest/libpng-dev_1.2.40-1_win32.mft +0 -15
- data/vendor/local/manifest/libpng_1.2.40-1_win32.mft +0 -2
- data/vendor/local/manifest/poppler-dev_0.12.0-1_win32.mft +0 -49
- data/vendor/local/manifest/poppler_0.12.0-1_win32.mft +0 -4
- data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-action.html +0 -386
- data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-annot.html +0 -854
- data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-attachment.html +0 -205
- data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-document.html +0 -1122
- data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-enums.html +0 -412
- data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-features.html +0 -143
- data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-form-field.html +0 -871
- data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-layer.html +0 -214
- data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-page.html +0 -1258
- data/vendor/local/share/gtk-doc/html/poppler/poppler.devhelp +0 -281
- data/vendor/local/share/man/man3/libpng.3 +0 -4349
- data/vendor/local/share/man/man3/libpngpf.3 +0 -790
- data/vendor/local/share/man/man5/png.5 +0 -74
- data/vendor/local/src/tml/packaging/jpeg_7-1_win32.log +0 -249
- data/vendor/local/src/tml/packaging/jpeg_7-1_win32.sh +0 -44
- data/vendor/local/src/tml/packaging/libpng_1.2.40-1_win32.log +0 -269
- data/vendor/local/src/tml/packaging/libpng_1.2.40-1_win32.sh +0 -63
@@ -0,0 +1,228 @@
|
|
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>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.19 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="PopplerAnnot.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">Poppler Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="PopplerMedia.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#PopplerLayer.synopsis" class="shortcut">Top</a>
|
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>
|
31
|
+
<div class="refentry">
|
32
|
+
<a name="PopplerLayer"></a><div class="titlepage"></div>
|
33
|
+
<div class="refnamediv"><table width="100%"><tr>
|
34
|
+
<td valign="top">
|
35
|
+
<h2><span class="refentrytitle"><a name="PopplerLayer.top_of_page"></a>PopplerLayer</span></h2>
|
36
|
+
<p>PopplerLayer — Layers</p>
|
37
|
+
</td>
|
38
|
+
<td valign="top" align="right"></td>
|
39
|
+
</tr></table></div>
|
40
|
+
<div class="refsynopsisdiv">
|
41
|
+
<a name="PopplerLayer.synopsis"></a><h2>Synopsis</h2>
|
42
|
+
<pre class="synopsis">
|
43
|
+
#include <poppler.h>
|
44
|
+
|
45
|
+
<a class="link" href="PopplerLayer.html#PopplerLayer-struct" title="PopplerLayer">PopplerLayer</a>;
|
46
|
+
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="PopplerLayer.html#poppler-layer-get-title" title="poppler_layer_get_title ()">poppler_layer_get_title</a> (<em class="parameter"><code><a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a> *layer</code></em>);
|
47
|
+
<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="PopplerLayer.html#poppler-layer-is-visible" title="poppler_layer_is_visible ()">poppler_layer_is_visible</a> (<em class="parameter"><code><a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a> *layer</code></em>);
|
48
|
+
<span class="returnvalue">void</span> <a class="link" href="PopplerLayer.html#poppler-layer-show" title="poppler_layer_show ()">poppler_layer_show</a> (<em class="parameter"><code><a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a> *layer</code></em>);
|
49
|
+
<span class="returnvalue">void</span> <a class="link" href="PopplerLayer.html#poppler-layer-hide" title="poppler_layer_hide ()">poppler_layer_hide</a> (<em class="parameter"><code><a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a> *layer</code></em>);
|
50
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="PopplerLayer.html#poppler-layer-is-parent" title="poppler_layer_is_parent ()">poppler_layer_is_parent</a> (<em class="parameter"><code><a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a> *layer</code></em>);
|
51
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <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>
|
52
|
+
(<em class="parameter"><code><a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a> *layer</code></em>);
|
53
|
+
</pre>
|
54
|
+
</div>
|
55
|
+
<div class="refsect1">
|
56
|
+
<a name="PopplerLayer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
57
|
+
<pre class="synopsis">
|
58
|
+
<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>
|
59
|
+
+----PopplerLayer
|
60
|
+
</pre>
|
61
|
+
</div>
|
62
|
+
<div class="refsect1">
|
63
|
+
<a name="PopplerLayer.description"></a><h2>Description</h2>
|
64
|
+
</div>
|
65
|
+
<div class="refsect1">
|
66
|
+
<a name="PopplerLayer.details"></a><h2>Details</h2>
|
67
|
+
<div class="refsect2">
|
68
|
+
<a name="PopplerLayer-struct"></a><h3>PopplerLayer</h3>
|
69
|
+
<pre class="programlisting">typedef struct _PopplerLayer PopplerLayer;</pre>
|
70
|
+
</div>
|
71
|
+
<hr>
|
72
|
+
<div class="refsect2">
|
73
|
+
<a name="poppler-layer-get-title"></a><h3>poppler_layer_get_title ()</h3>
|
74
|
+
<pre class="programlisting">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> * 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>
|
75
|
+
<p>
|
76
|
+
Returns the name of the layer suitable for
|
77
|
+
presentation as a title in a viewer's GUI
|
78
|
+
</p>
|
79
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
80
|
+
<colgroup>
|
81
|
+
<col align="left" valign="top">
|
82
|
+
<col>
|
83
|
+
</colgroup>
|
84
|
+
<tbody>
|
85
|
+
<tr>
|
86
|
+
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
|
87
|
+
<td>a <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a>
|
88
|
+
</td>
|
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>
|
95
|
+
</table></div>
|
96
|
+
<p class="since">Since 0.12</p>
|
97
|
+
</div>
|
98
|
+
<hr>
|
99
|
+
<div class="refsect2">
|
100
|
+
<a name="poppler-layer-is-visible"></a><h3>poppler_layer_is_visible ()</h3>
|
101
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> poppler_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>
|
102
|
+
<p>
|
103
|
+
Returns whether <em class="parameter"><code>layer</code></em> is visible
|
104
|
+
</p>
|
105
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
106
|
+
<colgroup>
|
107
|
+
<col align="left" valign="top">
|
108
|
+
<col>
|
109
|
+
</colgroup>
|
110
|
+
<tbody>
|
111
|
+
<tr>
|
112
|
+
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
|
113
|
+
<td>a <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
<tr>
|
117
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
118
|
+
<td>
|
119
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>layer</code></em> is visible</td>
|
120
|
+
</tr>
|
121
|
+
</tbody>
|
122
|
+
</table></div>
|
123
|
+
<p class="since">Since 0.12</p>
|
124
|
+
</div>
|
125
|
+
<hr>
|
126
|
+
<div class="refsect2">
|
127
|
+
<a name="poppler-layer-show"></a><h3>poppler_layer_show ()</h3>
|
128
|
+
<pre class="programlisting"><span class="returnvalue">void</span> 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>
|
129
|
+
<p>
|
130
|
+
Shows <em class="parameter"><code>layer</code></em>
|
131
|
+
</p>
|
132
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
133
|
+
<colgroup>
|
134
|
+
<col align="left" valign="top">
|
135
|
+
<col>
|
136
|
+
</colgroup>
|
137
|
+
<tbody><tr>
|
138
|
+
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
|
139
|
+
<td>a <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a>
|
140
|
+
</td>
|
141
|
+
</tr></tbody>
|
142
|
+
</table></div>
|
143
|
+
<p class="since">Since 0.12</p>
|
144
|
+
</div>
|
145
|
+
<hr>
|
146
|
+
<div class="refsect2">
|
147
|
+
<a name="poppler-layer-hide"></a><h3>poppler_layer_hide ()</h3>
|
148
|
+
<pre class="programlisting"><span class="returnvalue">void</span> 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>
|
149
|
+
<p>
|
150
|
+
Hides <em class="parameter"><code>layer</code></em>. If <em class="parameter"><code>layer</code></em> is the parent of other nested layers,
|
151
|
+
such layers will be also hidden and will be blocked until <em class="parameter"><code>layer</code></em>
|
152
|
+
is shown again
|
153
|
+
</p>
|
154
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
155
|
+
<colgroup>
|
156
|
+
<col align="left" valign="top">
|
157
|
+
<col>
|
158
|
+
</colgroup>
|
159
|
+
<tbody><tr>
|
160
|
+
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
|
161
|
+
<td>a <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a>
|
162
|
+
</td>
|
163
|
+
</tr></tbody>
|
164
|
+
</table></div>
|
165
|
+
<p class="since">Since 0.12</p>
|
166
|
+
</div>
|
167
|
+
<hr>
|
168
|
+
<div class="refsect2">
|
169
|
+
<a name="poppler-layer-is-parent"></a><h3>poppler_layer_is_parent ()</h3>
|
170
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> poppler_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>
|
171
|
+
<p>
|
172
|
+
Returns whether <em class="parameter"><code>layer</code></em> is parent of other nested layers.
|
173
|
+
</p>
|
174
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
175
|
+
<colgroup>
|
176
|
+
<col align="left" valign="top">
|
177
|
+
<col>
|
178
|
+
</colgroup>
|
179
|
+
<tbody>
|
180
|
+
<tr>
|
181
|
+
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
|
182
|
+
<td>a <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a>
|
183
|
+
</td>
|
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>
|
191
|
+
</table></div>
|
192
|
+
<p class="since">Since 0.12</p>
|
193
|
+
</div>
|
194
|
+
<hr>
|
195
|
+
<div class="refsect2">
|
196
|
+
<a name="poppler-layer-get-radio-button-group-id"></a><h3>poppler_layer_get_radio_button_group_id ()</h3>
|
197
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> poppler_layer_get_radio_button_group_id
|
198
|
+
(<em class="parameter"><code><a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a> *layer</code></em>);</pre>
|
199
|
+
<p>
|
200
|
+
Returns the numeric ID the radio button group associated with <em class="parameter"><code>layer</code></em>.
|
201
|
+
</p>
|
202
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
203
|
+
<colgroup>
|
204
|
+
<col align="left" valign="top">
|
205
|
+
<col>
|
206
|
+
</colgroup>
|
207
|
+
<tbody>
|
208
|
+
<tr>
|
209
|
+
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
|
210
|
+
<td>a <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a>
|
211
|
+
</td>
|
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>
|
219
|
+
</table></div>
|
220
|
+
<p class="since">Since 0.12</p>
|
221
|
+
</div>
|
222
|
+
</div>
|
223
|
+
</div>
|
224
|
+
<div class="footer">
|
225
|
+
<hr>
|
226
|
+
Generated by GTK-Doc V1.19</div>
|
227
|
+
</body>
|
228
|
+
</html>
|
@@ -0,0 +1,306 @@
|
|
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>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.19 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="PopplerLayer.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">Poppler Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="PopplerMovie.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#PopplerMedia.synopsis" class="shortcut">Top</a>
|
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>
|
31
|
+
<div class="refentry">
|
32
|
+
<a name="PopplerMedia"></a><div class="titlepage"></div>
|
33
|
+
<div class="refnamediv"><table width="100%"><tr>
|
34
|
+
<td valign="top">
|
35
|
+
<h2><span class="refentrytitle"><a name="PopplerMedia.top_of_page"></a>PopplerMedia</span></h2>
|
36
|
+
<p>PopplerMedia — Media</p>
|
37
|
+
</td>
|
38
|
+
<td valign="top" align="right"></td>
|
39
|
+
</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
|
+
<div class="refsect1">
|
63
|
+
<a name="PopplerMedia.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
64
|
+
<pre class="synopsis">
|
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">
|
94
|
+
<colgroup>
|
95
|
+
<col align="left" valign="top">
|
96
|
+
<col>
|
97
|
+
</colgroup>
|
98
|
+
<tbody>
|
99
|
+
<tr>
|
100
|
+
<td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
|
101
|
+
<td>buffer containing
|
102
|
+
bytes to be written. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span>
|
103
|
+
</td>
|
104
|
+
</tr>
|
105
|
+
<tr>
|
106
|
+
<td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td>
|
107
|
+
<td>number of bytes in <em class="parameter"><code>buf</code></em>.</td>
|
108
|
+
</tr>
|
109
|
+
<tr>
|
110
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
111
|
+
<td>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>. <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>
|
112
|
+
</td>
|
113
|
+
</tr>
|
114
|
+
<tr>
|
115
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
116
|
+
<td>GError to set on error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
117
|
+
</td>
|
118
|
+
</tr>
|
119
|
+
<tr>
|
120
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
121
|
+
<td>
|
122
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if successful, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> (with <em class="parameter"><code>error</code></em> set) if failed.</td>
|
123
|
+
</tr>
|
124
|
+
</tbody>
|
125
|
+
</table></div>
|
126
|
+
<p class="since">Since 0.14</p>
|
127
|
+
</div>
|
128
|
+
<hr>
|
129
|
+
<div class="refsect2">
|
130
|
+
<a name="poppler-media-get-filename"></a><h3>poppler_media_get_filename ()</h3>
|
131
|
+
<pre class="programlisting">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> * 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>
|
132
|
+
<p>
|
133
|
+
Returns the media clip filename, in case of non-embedded media. filename might be
|
134
|
+
a local relative or absolute path or a URI
|
135
|
+
</p>
|
136
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
137
|
+
<colgroup>
|
138
|
+
<col align="left" valign="top">
|
139
|
+
<col>
|
140
|
+
</colgroup>
|
141
|
+
<tbody>
|
142
|
+
<tr>
|
143
|
+
<td><p><span class="term"><em class="parameter"><code>poppler_media</code></em> :</span></p></td>
|
144
|
+
<td>a <a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a>
|
145
|
+
</td>
|
146
|
+
</tr>
|
147
|
+
<tr>
|
148
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
149
|
+
<td>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</td>
|
150
|
+
</tr>
|
151
|
+
</tbody>
|
152
|
+
</table></div>
|
153
|
+
<p class="since">Since 0.14</p>
|
154
|
+
</div>
|
155
|
+
<hr>
|
156
|
+
<div class="refsect2">
|
157
|
+
<a name="poppler-media-get-mime-type"></a><h3>poppler_media_get_mime_type ()</h3>
|
158
|
+
<pre class="programlisting">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> * 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>
|
159
|
+
<p>
|
160
|
+
Returns the media clip mime-type
|
161
|
+
</p>
|
162
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
163
|
+
<colgroup>
|
164
|
+
<col align="left" valign="top">
|
165
|
+
<col>
|
166
|
+
</colgroup>
|
167
|
+
<tbody>
|
168
|
+
<tr>
|
169
|
+
<td><p><span class="term"><em class="parameter"><code>poppler_media</code></em> :</span></p></td>
|
170
|
+
<td>a <a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a>
|
171
|
+
</td>
|
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>
|
178
|
+
</table></div>
|
179
|
+
<p class="since">Since 0.14</p>
|
180
|
+
</div>
|
181
|
+
<hr>
|
182
|
+
<div class="refsect2">
|
183
|
+
<a name="poppler-media-is-embedded"></a><h3>poppler_media_is_embedded ()</h3>
|
184
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> poppler_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>
|
185
|
+
<p>
|
186
|
+
Whether the media clip is embedded in the PDF. If the result is <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>, the embedded stream
|
187
|
+
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.
|
188
|
+
If the result is <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>, the media clip filename can be retrieved with
|
189
|
+
<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.
|
190
|
+
</p>
|
191
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
192
|
+
<colgroup>
|
193
|
+
<col align="left" valign="top">
|
194
|
+
<col>
|
195
|
+
</colgroup>
|
196
|
+
<tbody>
|
197
|
+
<tr>
|
198
|
+
<td><p><span class="term"><em class="parameter"><code>poppler_media</code></em> :</span></p></td>
|
199
|
+
<td>a <a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a>
|
200
|
+
</td>
|
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>
|
208
|
+
</table></div>
|
209
|
+
<p class="since">Since 0.14</p>
|
210
|
+
</div>
|
211
|
+
<hr>
|
212
|
+
<div class="refsect2">
|
213
|
+
<a name="poppler-media-save"></a><h3>poppler_media_save ()</h3>
|
214
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> poppler_media_save (<em class="parameter"><code><a class="link" href="PopplerMedia.html" title="PopplerMedia"><span class="type">PopplerMedia</span></a> *poppler_media</code></em>,
|
215
|
+
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
216
|
+
<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>
|
217
|
+
<p>
|
218
|
+
Saves embedded stream of <em class="parameter"><code>poppler_media</code></em> to a file indicated by <em class="parameter"><code>filename</code></em>.
|
219
|
+
If <em class="parameter"><code>error</code></em> is set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned.
|
220
|
+
Possible errors include those in the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domain
|
221
|
+
and whatever the save function generates.
|
222
|
+
</p>
|
223
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
224
|
+
<colgroup>
|
225
|
+
<col align="left" valign="top">
|
226
|
+
<col>
|
227
|
+
</colgroup>
|
228
|
+
<tbody>
|
229
|
+
<tr>
|
230
|
+
<td><p><span class="term"><em class="parameter"><code>poppler_media</code></em> :</span></p></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>
|
237
|
+
</tr>
|
238
|
+
<tr>
|
239
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
240
|
+
<td>return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
241
|
+
</td>
|
242
|
+
</tr>
|
243
|
+
<tr>
|
244
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
245
|
+
<td>
|
246
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the file successfully saved</td>
|
247
|
+
</tr>
|
248
|
+
</tbody>
|
249
|
+
</table></div>
|
250
|
+
<p class="since">Since 0.14</p>
|
251
|
+
</div>
|
252
|
+
<hr>
|
253
|
+
<div class="refsect2">
|
254
|
+
<a name="poppler-media-save-to-callback"></a><h3>poppler_media_save_to_callback ()</h3>
|
255
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> poppler_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>,
|
256
|
+
<em class="parameter"><code><a class="link" href="PopplerMedia.html#PopplerMediaSaveFunc" title="PopplerMediaSaveFunc ()"><span class="type">PopplerMediaSaveFunc</span></a> save_func</code></em>,
|
257
|
+
<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>,
|
258
|
+
<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>
|
259
|
+
<p>
|
260
|
+
Saves embedded stream of <em class="parameter"><code>poppler_media</code></em> by feeding the produced data to <em class="parameter"><code>save_func</code></em>. Can be used
|
261
|
+
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> is set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be
|
263
|
+
returned. Possible errors include those in the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domain and
|
264
|
+
whatever the save function generates.
|
265
|
+
</p>
|
266
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
267
|
+
<colgroup>
|
268
|
+
<col align="left" valign="top">
|
269
|
+
<col>
|
270
|
+
</colgroup>
|
271
|
+
<tbody>
|
272
|
+
<tr>
|
273
|
+
<td><p><span class="term"><em class="parameter"><code>poppler_media</code></em> :</span></p></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>
|
281
|
+
</tr>
|
282
|
+
<tr>
|
283
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
284
|
+
<td>user data to pass to the save function.</td>
|
285
|
+
</tr>
|
286
|
+
<tr>
|
287
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
288
|
+
<td>return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
289
|
+
</td>
|
290
|
+
</tr>
|
291
|
+
<tr>
|
292
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
293
|
+
<td>
|
294
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the save successfully completed</td>
|
295
|
+
</tr>
|
296
|
+
</tbody>
|
297
|
+
</table></div>
|
298
|
+
<p class="since">Since 0.14</p>
|
299
|
+
</div>
|
300
|
+
</div>
|
301
|
+
</div>
|
302
|
+
<div class="footer">
|
303
|
+
<hr>
|
304
|
+
Generated by GTK-Doc V1.19</div>
|
305
|
+
</body>
|
306
|
+
</html>
|