~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tests/poppler/glib/reference/html/poppler-PopplerAction.html

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
Import upstream version 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>PopplerAction</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.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="PopplerPage.html" title="PopplerPage">
 
10
<link rel="next" href="PopplerAttachment.html" title="PopplerAttachment">
 
11
<meta name="generator" content="GTK-Doc V1.17 (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="PopplerPage.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="PopplerAttachment.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
22
</tr>
 
23
<tr><td colspan="5" class="shortcuts">
 
24
<a href="#poppler-PopplerAction.synopsis" class="shortcut">Top</a>
 
25
                   | 
 
26
                  <a href="#poppler-PopplerAction.description" class="shortcut">Description</a>
 
27
</td></tr>
 
28
</table>
 
29
<div class="refentry">
 
30
<a name="poppler-PopplerAction"></a><div class="titlepage"></div>
 
31
<div class="refnamediv"><table width="100%"><tr>
 
32
<td valign="top">
 
33
<h2><span class="refentrytitle"><a name="poppler-PopplerAction.top_of_page"></a>PopplerAction</span></h2>
 
34
<p>PopplerAction — Action links</p>
 
35
</td>
 
36
<td valign="top" align="right"></td>
 
37
</tr></table></div>
 
38
<div class="refsynopsisdiv">
 
39
<a name="poppler-PopplerAction.synopsis"></a><h2>Synopsis</h2>
 
40
<pre class="synopsis">
 
41
#include &lt;poppler.h&gt;
 
42
 
 
43
union               <a class="link" href="poppler-PopplerAction.html#PopplerAction" title="union PopplerAction">PopplerAction</a>;
 
44
                    <a class="link" href="poppler-PopplerAction.html#PopplerDest" title="PopplerDest">PopplerDest</a>;
 
45
struct              <a class="link" href="poppler-PopplerAction.html#PopplerActionAny" title="struct PopplerActionAny">PopplerActionAny</a>;
 
46
struct              <a class="link" href="poppler-PopplerAction.html#PopplerActionGotoDest" title="struct PopplerActionGotoDest">PopplerActionGotoDest</a>;
 
47
struct              <a class="link" href="poppler-PopplerAction.html#PopplerActionGotoRemote" title="struct PopplerActionGotoRemote">PopplerActionGotoRemote</a>;
 
48
struct              <a class="link" href="poppler-PopplerAction.html#PopplerActionLaunch" title="struct PopplerActionLaunch">PopplerActionLaunch</a>;
 
49
struct              <a class="link" href="poppler-PopplerAction.html#PopplerActionUri" title="struct PopplerActionUri">PopplerActionUri</a>;
 
50
struct              <a class="link" href="poppler-PopplerAction.html#PopplerActionNamed" title="struct PopplerActionNamed">PopplerActionNamed</a>;
 
51
struct              <a class="link" href="poppler-PopplerAction.html#PopplerActionMovie" title="struct PopplerActionMovie">PopplerActionMovie</a>;
 
52
struct              <a class="link" href="poppler-PopplerAction.html#PopplerActionRendition" title="struct PopplerActionRendition">PopplerActionRendition</a>;
 
53
struct              <a class="link" href="poppler-PopplerAction.html#PopplerActionOCGState" title="struct PopplerActionOCGState">PopplerActionOCGState</a>;
 
54
enum                <a class="link" href="poppler-PopplerAction.html#PopplerActionType" title="enum PopplerActionType">PopplerActionType</a>;
 
55
enum                <a class="link" href="poppler-PopplerAction.html#PopplerDestType" title="enum PopplerDestType">PopplerDestType</a>;
 
56
enum                <a class="link" href="poppler-PopplerAction.html#PopplerActionMovieOperation" title="enum PopplerActionMovieOperation">PopplerActionMovieOperation</a>;
 
57
                    <a class="link" href="poppler-PopplerAction.html#PopplerActionLayer" title="PopplerActionLayer">PopplerActionLayer</a>;
 
58
enum                <a class="link" href="poppler-PopplerAction.html#PopplerActionLayerAction" title="enum PopplerActionLayerAction">PopplerActionLayerAction</a>;
 
59
<a class="link" href="poppler-PopplerAction.html#PopplerAction" title="union PopplerAction"><span class="returnvalue">PopplerAction</span></a> *     <a class="link" href="poppler-PopplerAction.html#poppler-action-copy" title="poppler_action_copy ()">poppler_action_copy</a>                 (<em class="parameter"><code><a class="link" href="poppler-PopplerAction.html#PopplerAction" title="union PopplerAction"><span class="type">PopplerAction</span></a> *action</code></em>);
 
60
<span class="returnvalue">void</span>                <a class="link" href="poppler-PopplerAction.html#poppler-action-free" title="poppler_action_free ()">poppler_action_free</a>                 (<em class="parameter"><code><a class="link" href="poppler-PopplerAction.html#PopplerAction" title="union PopplerAction"><span class="type">PopplerAction</span></a> *action</code></em>);
 
61
<a class="link" href="poppler-PopplerAction.html#PopplerDest" title="PopplerDest"><span class="returnvalue">PopplerDest</span></a> *       <a class="link" href="poppler-PopplerAction.html#poppler-dest-copy" title="poppler_dest_copy ()">poppler_dest_copy</a>                   (<em class="parameter"><code><a class="link" href="poppler-PopplerAction.html#PopplerDest" title="PopplerDest"><span class="type">PopplerDest</span></a> *dest</code></em>);
 
62
<span class="returnvalue">void</span>                <a class="link" href="poppler-PopplerAction.html#poppler-dest-free" title="poppler_dest_free ()">poppler_dest_free</a>                   (<em class="parameter"><code><a class="link" href="poppler-PopplerAction.html#PopplerDest" title="PopplerDest"><span class="type">PopplerDest</span></a> *dest</code></em>);
 
63
</pre>
 
64
</div>
 
65
<div class="refsect1">
 
66
<a name="poppler-PopplerAction.description"></a><h2>Description</h2>
 
67
</div>
 
68
<div class="refsect1">
 
69
<a name="poppler-PopplerAction.details"></a><h2>Details</h2>
 
70
<div class="refsect2">
 
71
<a name="PopplerAction"></a><h3>union PopplerAction</h3>
 
72
<pre class="programlisting"></pre>
 
73
<p>
 
74
A data structure for holding actions
 
75
</p>
 
76
</div>
 
77
<hr>
 
78
<div class="refsect2">
 
79
<a name="PopplerDest"></a><h3>PopplerDest</h3>
 
80
<pre class="programlisting">typedef struct {
 
81
        PopplerDestType type;
 
82
 
 
83
        int page_num;
 
84
        double left;
 
85
        double bottom;
 
86
        double right;
 
87
        double top;
 
88
        double zoom;
 
89
        gchar *named_dest;
 
90
        guint change_left : 1;
 
91
        guint change_top : 1;
 
92
        guint change_zoom : 1;
 
93
} PopplerDest;
 
94
</pre>
 
95
<p>
 
96
Data structure for holding a destination
 
97
</p>
 
98
<div class="variablelist"><table border="0">
 
99
<col align="left" valign="top">
 
100
<tbody>
 
101
<tr>
 
102
<td><p><span class="term"><a class="link" href="poppler-PopplerAction.html#PopplerDestType" title="enum PopplerDestType"><span class="type">PopplerDestType</span></a> <em class="structfield"><code><a name="PopplerDest.type"></a>type</code></em>;</span></p></td>
 
103
<td>type of destination</td>
 
104
</tr>
 
105
<tr>
 
106
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="PopplerDest.page-num"></a>page_num</code></em>;</span></p></td>
 
107
<td>page number</td>
 
108
</tr>
 
109
<tr>
 
110
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PopplerDest.left"></a>left</code></em>;</span></p></td>
 
111
<td>left coordinate</td>
 
112
</tr>
 
113
<tr>
 
114
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PopplerDest.bottom"></a>bottom</code></em>;</span></p></td>
 
115
<td>bottom coordinate</td>
 
116
</tr>
 
117
<tr>
 
118
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PopplerDest.right"></a>right</code></em>;</span></p></td>
 
119
<td>right coordinate</td>
 
120
</tr>
 
121
<tr>
 
122
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PopplerDest.top"></a>top</code></em>;</span></p></td>
 
123
<td>top coordinate</td>
 
124
</tr>
 
125
<tr>
 
126
<td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="PopplerDest.zoom"></a>zoom</code></em>;</span></p></td>
 
127
<td>scale factor</td>
 
128
</tr>
 
129
<tr>
 
130
<td><p><span class="term"><span class="type">gchar</span> *<em class="structfield"><code><a name="PopplerDest.named-dest"></a>named_dest</code></em>;</span></p></td>
 
131
<td>name of the destination (<a class="link" href="poppler-PopplerAction.html#POPPLER-DEST-NAMED:CAPS"><span class="type">POPPLER_DEST_NAMED</span></a> only)</td>
 
132
</tr>
 
133
<tr>
 
134
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PopplerDest.change-left"></a>change_left</code></em> : 1;</span></p></td>
 
135
<td>whether left coordinate should be changed</td>
 
136
</tr>
 
137
<tr>
 
138
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PopplerDest.change-top"></a>change_top</code></em> : 1;</span></p></td>
 
139
<td>whether top coordinate should be changed</td>
 
140
</tr>
 
141
<tr>
 
142
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="PopplerDest.change-zoom"></a>change_zoom</code></em> : 1;</span></p></td>
 
143
<td>whether scale factor should be changed</td>
 
144
</tr>
 
145
</tbody>
 
146
</table></div>
 
147
</div>
 
148
<hr>
 
149
<div class="refsect2">
 
150
<a name="PopplerActionAny"></a><h3>struct PopplerActionAny</h3>
 
151
<pre class="programlisting">struct PopplerActionAny {
 
152
        PopplerActionType type;
 
153
        gchar *title;
 
154
};
 
155
</pre>
 
156
</div>
 
157
<hr>
 
158
<div class="refsect2">
 
159
<a name="PopplerActionGotoDest"></a><h3>struct PopplerActionGotoDest</h3>
 
160
<pre class="programlisting">struct PopplerActionGotoDest {
 
161
        PopplerActionType type;
 
162
        gchar *title;
 
163
 
 
164
        PopplerDest *dest;
 
165
};
 
166
</pre>
 
167
</div>
 
168
<hr>
 
169
<div class="refsect2">
 
170
<a name="PopplerActionGotoRemote"></a><h3>struct PopplerActionGotoRemote</h3>
 
171
<pre class="programlisting">struct PopplerActionGotoRemote {
 
172
        PopplerActionType type;
 
173
        gchar *title;
 
174
 
 
175
        gchar *file_name;
 
176
        PopplerDest *dest;
 
177
};
 
178
</pre>
 
179
</div>
 
180
<hr>
 
181
<div class="refsect2">
 
182
<a name="PopplerActionLaunch"></a><h3>struct PopplerActionLaunch</h3>
 
183
<pre class="programlisting">struct PopplerActionLaunch {
 
184
        PopplerActionType type;
 
185
        gchar *title;
 
186
 
 
187
        gchar *file_name;
 
188
        gchar *params;
 
189
};
 
190
</pre>
 
191
</div>
 
192
<hr>
 
193
<div class="refsect2">
 
194
<a name="PopplerActionUri"></a><h3>struct PopplerActionUri</h3>
 
195
<pre class="programlisting">struct PopplerActionUri {
 
196
        PopplerActionType type;
 
197
        gchar *title;
 
198
 
 
199
        char *uri;
 
200
};
 
201
</pre>
 
202
</div>
 
203
<hr>
 
204
<div class="refsect2">
 
205
<a name="PopplerActionNamed"></a><h3>struct PopplerActionNamed</h3>
 
206
<pre class="programlisting">struct PopplerActionNamed {
 
207
        PopplerActionType type;
 
208
        gchar *title;
 
209
 
 
210
        gchar *named_dest;
 
211
};
 
212
</pre>
 
213
</div>
 
214
<hr>
 
215
<div class="refsect2">
 
216
<a name="PopplerActionMovie"></a><h3>struct PopplerActionMovie</h3>
 
217
<pre class="programlisting">struct PopplerActionMovie {
 
218
        PopplerActionType           type;
 
219
        gchar                      *title;
 
220
 
 
221
        PopplerActionMovieOperation operation;
 
222
        PopplerMovie               *movie;
 
223
};
 
224
</pre>
 
225
</div>
 
226
<hr>
 
227
<div class="refsect2">
 
228
<a name="PopplerActionRendition"></a><h3>struct PopplerActionRendition</h3>
 
229
<pre class="programlisting">struct PopplerActionRendition {
 
230
        PopplerActionType type;
 
231
        gchar            *title;
 
232
 
 
233
        gint               op;
 
234
        PopplerMedia      *media;
 
235
};
 
236
</pre>
 
237
</div>
 
238
<hr>
 
239
<div class="refsect2">
 
240
<a name="PopplerActionOCGState"></a><h3>struct PopplerActionOCGState</h3>
 
241
<pre class="programlisting">struct PopplerActionOCGState {
 
242
        PopplerActionType type;
 
243
        gchar            *title;
 
244
 
 
245
        GList            *state_list;
 
246
};
 
247
</pre>
 
248
</div>
 
249
<hr>
 
250
<div class="refsect2">
 
251
<a name="PopplerActionType"></a><h3>enum PopplerActionType</h3>
 
252
<pre class="programlisting">typedef enum
 
253
{
 
254
        POPPLER_ACTION_UNKNOWN,         /* unknown action */
 
255
        POPPLER_ACTION_NONE,            /* no action specified */
 
256
        POPPLER_ACTION_GOTO_DEST, /* go to destination */
 
257
        POPPLER_ACTION_GOTO_REMOTE, /* go to destination in new file */
 
258
        POPPLER_ACTION_LAUNCH,          /* launch app (or open document) */
 
259
        POPPLER_ACTION_URI,             /* URI */
 
260
        POPPLER_ACTION_NAMED,           /* named action*/
 
261
        POPPLER_ACTION_MOVIE,           /* movie action */
 
262
        POPPLER_ACTION_RENDITION,       /* rendition action */
 
263
        POPPLER_ACTION_OCG_STATE        /* Set-OCG-State action */
 
264
} PopplerActionType;
 
265
</pre>
 
266
<p>
 
267
Action types
 
268
</p>
 
269
<div class="variablelist"><table border="0">
 
270
<col align="left" valign="top">
 
271
<tbody>
 
272
<tr>
 
273
<td><p><a name="POPPLER-ACTION-UNKNOWN:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_UNKNOWN</code></span></p></td>
 
274
<td>unknown action
 
275
</td>
 
276
</tr>
 
277
<tr>
 
278
<td><p><a name="POPPLER-ACTION-NONE:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_NONE</code></span></p></td>
 
279
<td>no action specified
 
280
</td>
 
281
</tr>
 
282
<tr>
 
283
<td><p><a name="POPPLER-ACTION-GOTO-DEST:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_GOTO_DEST</code></span></p></td>
 
284
<td>go to destination
 
285
</td>
 
286
</tr>
 
287
<tr>
 
288
<td><p><a name="POPPLER-ACTION-GOTO-REMOTE:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_GOTO_REMOTE</code></span></p></td>
 
289
<td>go to destination in another document
 
290
</td>
 
291
</tr>
 
292
<tr>
 
293
<td><p><a name="POPPLER-ACTION-LAUNCH:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_LAUNCH</code></span></p></td>
 
294
<td>launch app (or open document
 
295
</td>
 
296
</tr>
 
297
<tr>
 
298
<td><p><a name="POPPLER-ACTION-URI:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_URI</code></span></p></td>
 
299
<td>URI
 
300
</td>
 
301
</tr>
 
302
<tr>
 
303
<td><p><a name="POPPLER-ACTION-NAMED:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_NAMED</code></span></p></td>
 
304
<td>predefined action
 
305
</td>
 
306
</tr>
 
307
<tr>
 
308
<td><p><a name="POPPLER-ACTION-MOVIE:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_MOVIE</code></span></p></td>
 
309
<td>play movies. Since 0.14
 
310
</td>
 
311
</tr>
 
312
<tr>
 
313
<td><p><a name="POPPLER-ACTION-RENDITION:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_RENDITION</code></span></p></td>
 
314
<td>play multimedia content. Since 0.14
 
315
</td>
 
316
</tr>
 
317
<tr>
 
318
<td><p><a name="POPPLER-ACTION-OCG-STATE:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_OCG_STATE</code></span></p></td>
 
319
<td>state of layer. Since 0.14
 
320
</td>
 
321
</tr>
 
322
</tbody>
 
323
</table></div>
 
324
</div>
 
325
<hr>
 
326
<div class="refsect2">
 
327
<a name="PopplerDestType"></a><h3>enum PopplerDestType</h3>
 
328
<pre class="programlisting">typedef enum
 
329
{
 
330
        POPPLER_DEST_UNKNOWN,
 
331
        POPPLER_DEST_XYZ,
 
332
        POPPLER_DEST_FIT,
 
333
        POPPLER_DEST_FITH,
 
334
        POPPLER_DEST_FITV,
 
335
        POPPLER_DEST_FITR,
 
336
        POPPLER_DEST_FITB,
 
337
        POPPLER_DEST_FITBH,
 
338
        POPPLER_DEST_FITBV,
 
339
        POPPLER_DEST_NAMED
 
340
} PopplerDestType;
 
341
</pre>
 
342
<p>
 
343
Destination types
 
344
</p>
 
345
<div class="variablelist"><table border="0">
 
346
<col align="left" valign="top">
 
347
<tbody>
 
348
<tr>
 
349
<td><p><a name="POPPLER-DEST-UNKNOWN:CAPS"></a><span class="term"><code class="literal">POPPLER_DEST_UNKNOWN</code></span></p></td>
 
350
<td>unknown destination
 
351
</td>
 
352
</tr>
 
353
<tr>
 
354
<td><p><a name="POPPLER-DEST-XYZ:CAPS"></a><span class="term"><code class="literal">POPPLER_DEST_XYZ</code></span></p></td>
 
355
<td>go to page with coordinates (left, top)
 
356
positioned at the upper-left corner of the window and the contents of
 
357
the page magnified by the factor zoom
 
358
</td>
 
359
</tr>
 
360
<tr>
 
361
<td><p><a name="POPPLER-DEST-FIT:CAPS"></a><span class="term"><code class="literal">POPPLER_DEST_FIT</code></span></p></td>
 
362
<td>go to page with its contents magnified just
 
363
enough to fit the entire page within the window both horizontally and
 
364
vertically
 
365
</td>
 
366
</tr>
 
367
<tr>
 
368
<td><p><a name="POPPLER-DEST-FITH:CAPS"></a><span class="term"><code class="literal">POPPLER_DEST_FITH</code></span></p></td>
 
369
<td>go to page with the vertical coordinate top
 
370
positioned at the top edge of the window and the contents of the page
 
371
magnified just enough to fit the entire width of the page within the window
 
372
</td>
 
373
</tr>
 
374
<tr>
 
375
<td><p><a name="POPPLER-DEST-FITV:CAPS"></a><span class="term"><code class="literal">POPPLER_DEST_FITV</code></span></p></td>
 
376
<td>go to page with the horizontal coordinate
 
377
left positioned at the left edge of the window and the contents of the
 
378
page magnified just enough to fit the entire height of the page within the window
 
379
</td>
 
380
</tr>
 
381
<tr>
 
382
<td><p><a name="POPPLER-DEST-FITR:CAPS"></a><span class="term"><code class="literal">POPPLER_DEST_FITR</code></span></p></td>
 
383
<td>go to page with its contents magnified just
 
384
enough to fit the rectangle specified by the coordinates left, bottom,
 
385
right, and top entirely within the window both horizontally and vertically
 
386
</td>
 
387
</tr>
 
388
<tr>
 
389
<td><p><a name="POPPLER-DEST-FITB:CAPS"></a><span class="term"><code class="literal">POPPLER_DEST_FITB</code></span></p></td>
 
390
<td>go to page with its contents magnified just enough to fit
 
391
its bounding box entirely within the window both horizontally and vertically
 
392
</td>
 
393
</tr>
 
394
<tr>
 
395
<td><p><a name="POPPLER-DEST-FITBH:CAPS"></a><span class="term"><code class="literal">POPPLER_DEST_FITBH</code></span></p></td>
 
396
<td>go to page with the vertical
 
397
coordinate top positioned at the top edge of the window and the
 
398
contents of the page magnified just enough to fit the entire width of its
 
399
bounding box within the window
 
400
</td>
 
401
</tr>
 
402
<tr>
 
403
<td><p><a name="POPPLER-DEST-FITBV:CAPS"></a><span class="term"><code class="literal">POPPLER_DEST_FITBV</code></span></p></td>
 
404
<td>go to page with the horizontal
 
405
coordinate left positioned at the left edge of the window and the
 
406
contents of the page magnified just enough to fit the entire height of its
 
407
bounding box within the window
 
408
</td>
 
409
</tr>
 
410
<tr>
 
411
<td><p><a name="POPPLER-DEST-NAMED:CAPS"></a><span class="term"><code class="literal">POPPLER_DEST_NAMED</code></span></p></td>
 
412
<td>got to page specified by a name. See <a class="link" href="PopplerDocument.html#poppler-document-find-dest" title="poppler_document_find_dest ()"><code class="function">poppler_document_find_dest()</code></a>
 
413
</td>
 
414
</tr>
 
415
</tbody>
 
416
</table></div>
 
417
</div>
 
418
<hr>
 
419
<div class="refsect2">
 
420
<a name="PopplerActionMovieOperation"></a><h3>enum PopplerActionMovieOperation</h3>
 
421
<pre class="programlisting">typedef enum
 
422
{
 
423
        POPPLER_ACTION_MOVIE_PLAY,
 
424
        POPPLER_ACTION_MOVIE_PAUSE,
 
425
        POPPLER_ACTION_MOVIE_RESUME,
 
426
        POPPLER_ACTION_MOVIE_STOP
 
427
} PopplerActionMovieOperation;
 
428
</pre>
 
429
<p>
 
430
Movie operations
 
431
</p>
 
432
<div class="variablelist"><table border="0">
 
433
<col align="left" valign="top">
 
434
<tbody>
 
435
<tr>
 
436
<td><p><a name="POPPLER-ACTION-MOVIE-PLAY:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_MOVIE_PLAY</code></span></p></td>
 
437
<td>play movie
 
438
</td>
 
439
</tr>
 
440
<tr>
 
441
<td><p><a name="POPPLER-ACTION-MOVIE-PAUSE:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_MOVIE_PAUSE</code></span></p></td>
 
442
<td>pause playing movie
 
443
</td>
 
444
</tr>
 
445
<tr>
 
446
<td><p><a name="POPPLER-ACTION-MOVIE-RESUME:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_MOVIE_RESUME</code></span></p></td>
 
447
<td>resume paused movie
 
448
</td>
 
449
</tr>
 
450
<tr>
 
451
<td><p><a name="POPPLER-ACTION-MOVIE-STOP:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_MOVIE_STOP</code></span></p></td>
 
452
<td>stop playing movie
 
453
</td>
 
454
</tr>
 
455
</tbody>
 
456
</table></div>
 
457
<p class="since">Since 0.14</p>
 
458
</div>
 
459
<hr>
 
460
<div class="refsect2">
 
461
<a name="PopplerActionLayer"></a><h3>PopplerActionLayer</h3>
 
462
<pre class="programlisting">typedef struct {
 
463
        PopplerActionLayerAction action;
 
464
        GList *layers;
 
465
} PopplerActionLayer;
 
466
</pre>
 
467
<p>
 
468
Action to perform over a list of layers
 
469
</p>
 
470
<div class="variablelist"><table border="0">
 
471
<col align="left" valign="top">
 
472
<tbody>
 
473
<tr>
 
474
<td><p><span class="term"><a class="link" href="poppler-PopplerAction.html#PopplerActionLayerAction" title="enum PopplerActionLayerAction"><span class="type">PopplerActionLayerAction</span></a> <em class="structfield"><code><a name="PopplerActionLayer.action"></a>action</code></em>;</span></p></td>
 
475
<td>a <a class="link" href="poppler-PopplerAction.html#PopplerActionLayerAction" title="enum PopplerActionLayerAction"><span class="type">PopplerActionLayerAction</span></a>
 
476
</td>
 
477
</tr>
 
478
<tr>
 
479
<td><p><span class="term"><span class="type">GList</span> *<em class="structfield"><code><a name="PopplerActionLayer.layers"></a>layers</code></em>;</span></p></td>
 
480
<td>list of <a class="link" href="PopplerLayer.html" title="PopplerLayer"><span class="type">PopplerLayer</span></a>s</td>
 
481
</tr>
 
482
</tbody>
 
483
</table></div>
 
484
</div>
 
485
<hr>
 
486
<div class="refsect2">
 
487
<a name="PopplerActionLayerAction"></a><h3>enum PopplerActionLayerAction</h3>
 
488
<pre class="programlisting">typedef enum
 
489
{
 
490
        POPPLER_ACTION_LAYER_ON,
 
491
        POPPLER_ACTION_LAYER_OFF,
 
492
        POPPLER_ACTION_LAYER_TOGGLE
 
493
} PopplerActionLayerAction;
 
494
</pre>
 
495
<p>
 
496
Layer actions
 
497
</p>
 
498
<div class="variablelist"><table border="0">
 
499
<col align="left" valign="top">
 
500
<tbody>
 
501
<tr>
 
502
<td><p><a name="POPPLER-ACTION-LAYER-ON:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_LAYER_ON</code></span></p></td>
 
503
<td>set layer visibility on
 
504
</td>
 
505
</tr>
 
506
<tr>
 
507
<td><p><a name="POPPLER-ACTION-LAYER-OFF:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_LAYER_OFF</code></span></p></td>
 
508
<td>set layer visibility off
 
509
</td>
 
510
</tr>
 
511
<tr>
 
512
<td><p><a name="POPPLER-ACTION-LAYER-TOGGLE:CAPS"></a><span class="term"><code class="literal">POPPLER_ACTION_LAYER_TOGGLE</code></span></p></td>
 
513
<td>reverse the layer visibility state
 
514
</td>
 
515
</tr>
 
516
</tbody>
 
517
</table></div>
 
518
<p class="since">Since 0.14</p>
 
519
</div>
 
520
<hr>
 
521
<div class="refsect2">
 
522
<a name="poppler-action-copy"></a><h3>poppler_action_copy ()</h3>
 
523
<pre class="programlisting"><a class="link" href="poppler-PopplerAction.html#PopplerAction" title="union PopplerAction"><span class="returnvalue">PopplerAction</span></a> *     poppler_action_copy                 (<em class="parameter"><code><a class="link" href="poppler-PopplerAction.html#PopplerAction" title="union PopplerAction"><span class="type">PopplerAction</span></a> *action</code></em>);</pre>
 
524
<p>
 
525
Copies <em class="parameter"><code>action</code></em>, creating an identical <a class="link" href="poppler-PopplerAction.html#PopplerAction" title="union PopplerAction"><span class="type">PopplerAction</span></a>.
 
526
</p>
 
527
<div class="variablelist"><table border="0">
 
528
<col align="left" valign="top">
 
529
<tbody>
 
530
<tr>
 
531
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
 
532
<td>a <a class="link" href="poppler-PopplerAction.html#PopplerAction" title="union PopplerAction"><span class="type">PopplerAction</span></a>
 
533
</td>
 
534
</tr>
 
535
<tr>
 
536
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
537
<td>a new action identical to <em class="parameter"><code>action</code></em>
 
538
</td>
 
539
</tr>
 
540
</tbody>
 
541
</table></div>
 
542
</div>
 
543
<hr>
 
544
<div class="refsect2">
 
545
<a name="poppler-action-free"></a><h3>poppler_action_free ()</h3>
 
546
<pre class="programlisting"><span class="returnvalue">void</span>                poppler_action_free                 (<em class="parameter"><code><a class="link" href="poppler-PopplerAction.html#PopplerAction" title="union PopplerAction"><span class="type">PopplerAction</span></a> *action</code></em>);</pre>
 
547
<p>
 
548
Frees <em class="parameter"><code>action</code></em>
 
549
</p>
 
550
<div class="variablelist"><table border="0">
 
551
<col align="left" valign="top">
 
552
<tbody><tr>
 
553
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
 
554
<td>a <a class="link" href="poppler-PopplerAction.html#PopplerAction" title="union PopplerAction"><span class="type">PopplerAction</span></a>
 
555
</td>
 
556
</tr></tbody>
 
557
</table></div>
 
558
</div>
 
559
<hr>
 
560
<div class="refsect2">
 
561
<a name="poppler-dest-copy"></a><h3>poppler_dest_copy ()</h3>
 
562
<pre class="programlisting"><a class="link" href="poppler-PopplerAction.html#PopplerDest" title="PopplerDest"><span class="returnvalue">PopplerDest</span></a> *       poppler_dest_copy                   (<em class="parameter"><code><a class="link" href="poppler-PopplerAction.html#PopplerDest" title="PopplerDest"><span class="type">PopplerDest</span></a> *dest</code></em>);</pre>
 
563
<p>
 
564
Copies <em class="parameter"><code>dest</code></em>, creating an identical <a class="link" href="poppler-PopplerAction.html#PopplerDest" title="PopplerDest"><span class="type">PopplerDest</span></a>.
 
565
</p>
 
566
<div class="variablelist"><table border="0">
 
567
<col align="left" valign="top">
 
568
<tbody>
 
569
<tr>
 
570
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
 
571
<td>a <a class="link" href="poppler-PopplerAction.html#PopplerDest" title="PopplerDest"><span class="type">PopplerDest</span></a>
 
572
</td>
 
573
</tr>
 
574
<tr>
 
575
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
576
<td>a new destination identical to <em class="parameter"><code>dest</code></em>
 
577
</td>
 
578
</tr>
 
579
</tbody>
 
580
</table></div>
 
581
</div>
 
582
<hr>
 
583
<div class="refsect2">
 
584
<a name="poppler-dest-free"></a><h3>poppler_dest_free ()</h3>
 
585
<pre class="programlisting"><span class="returnvalue">void</span>                poppler_dest_free                   (<em class="parameter"><code><a class="link" href="poppler-PopplerAction.html#PopplerDest" title="PopplerDest"><span class="type">PopplerDest</span></a> *dest</code></em>);</pre>
 
586
<p>
 
587
Frees <em class="parameter"><code>dest</code></em>
 
588
</p>
 
589
<div class="variablelist"><table border="0">
 
590
<col align="left" valign="top">
 
591
<tbody><tr>
 
592
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
 
593
<td>a <a class="link" href="poppler-PopplerAction.html#PopplerDest" title="PopplerDest"><span class="type">PopplerDest</span></a>
 
594
</td>
 
595
</tr></tbody>
 
596
</table></div>
 
597
</div>
 
598
</div>
 
599
</div>
 
600
<div class="footer">
 
601
<hr>
 
602
          Generated by GTK-Doc V1.17</div>
 
603
</body>
 
604
</html>
 
 
b'\\ No newline at end of file'