1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>ev-page-cache</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
<link rel="start" href="index.html" title="Evince Programmer's Reference Manual">
8
<link rel="up" href="pt04.html" title="Part IV.  Evince Frontend">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
7
<link rel="home" href="index.html" title="Evince Programmer's Reference Manual">
8
<link rel="up" href="pt04.html" title="Part IV. Evince Frontend">
9
9
<link rel="prev" href="EvPageActionWidget.html" title="EvPageActionWidget">
10
10
<link rel="next" href="evince-EvPasswordView.html" title="EvPasswordView">
11
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="pt01.html" title="Part I.  Document interfaces">
14
<link rel="part" href="pt02.html" title="Part II.  Document data">
15
<link rel="part" href="pt03.html" title="Part III.  Helper functions">
16
<link rel="part" href="pt04.html" title="Part IV.  Evince Frontend">
13
<link rel="part" href="pt01.html" title="Part I. Document interfaces">
14
<link rel="part" href="pt02.html" title="Part II. Document data">
15
<link rel="part" href="pt03.html" title="Part III. Helper functions">
16
<link rel="part" href="pt04.html" title="Part IV. Evince Frontend">
17
17
<link rel="index" href="ix01.html" title="Index">
19
19
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
25
25
<th width="100%" align="center">Evince Programmer's Reference Manual</th>
26
26
<td><a accesskey="n" href="evince-EvPasswordView.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3164915" class="shortcut">Top</a>
30
<a href="#id3165536" class="shortcut">Description</a></nobr></td></tr>
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#evince-ev-page-cache.synopsis" class="shortcut">Top</a>
30
<a href="#evince-ev-page-cache.description" class="shortcut">Description</a></nobr></td></tr>
32
32
<div class="refentry" lang="en">
33
33
<a name="evince-ev-page-cache"></a><div class="titlepage"></div>
34
34
<div class="refnamediv"><table width="100%"><tr>
37
<a name="id3164915"></a><span class="refentrytitle">ev-page-cache</span>
36
<h2><span class="refentrytitle"><a name="evince-ev-page-cache.top_of_page"></a>ev-page-cache</span></h2>
39
37
<p>ev-page-cache</p>
41
39
<td valign="top" align="right"></td>
42
40
</tr></table></div>
43
41
<div class="refsynopsisdiv">
42
<a name="evince-ev-page-cache.synopsis"></a><h2>Synopsis</h2>
45
43
<pre class="synopsis">
49
<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a>* <a class="link" href="evince-ev-page-cache.html#ev-page-cache-new">ev_page_cache_new</a> (<a class="link" href="evince-ev-document.html#EvDocument">EvDocument</a> *document);
44
<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a>* <a class="link" href="evince-ev-page-cache.html#ev-page-cache-new" title="ev_page_cache_new ()">ev_page_cache_new</a> (<a class="link" href="evince-ev-document.html#EvDocument">EvDocument</a> *document);
51
46
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
52
>gint</a> <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-n-pages">ev_page_cache_get_n_pages</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache);
53
const char* <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-title">ev_page_cache_get_title</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache);
54
void <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-size">ev_page_cache_get_size</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
47
>gint</a> <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-n-pages" title="ev_page_cache_get_n_pages ()">ev_page_cache_get_n_pages</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache);
48
const char* <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-title" title="ev_page_cache_get_title ()">ev_page_cache_get_title</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache);
49
void <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-size" title="ev_page_cache_get_size ()">ev_page_cache_get_size</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
56
51
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
118
113
>gint</a> *height);
120
115
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
121
>gint</a> <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-max-label-chars">ev_page_cache_get_max_label_chars</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache);
122
char* <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-page-label">ev_page_cache_get_page_label</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
116
>gint</a> <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-max-label-chars" title="ev_page_cache_get_max_label_chars ()">ev_page_cache_get_max_label_chars</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache);
117
char* <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-page-label" title="ev_page_cache_get_page_label ()">ev_page_cache_get_page_label</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
124
119
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
127
122
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
128
>gboolean</a> <a class="link" href="evince-ev-page-cache.html#ev-page-cache-has-nonnumeric-page-labels">ev_page_cache_has_nonnumeric_page_labels</a>
123
>gboolean</a> <a class="link" href="evince-ev-page-cache.html#ev-page-cache-has-nonnumeric-page-labels" title="ev_page_cache_has_nonnumeric_page_labels ()">ev_page_cache_has_nonnumeric_page_labels</a>
129
124
(<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache);
130
const <a class="link" href="evince-ev-document-info.html#EvDocumentInfo">EvDocumentInfo</a>* <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-info">ev_page_cache_get_info</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache);
125
const <a class="link" href="evince-ev-document-info.html#EvDocumentInfo" title="EvDocumentInfo">EvDocumentInfo</a>* <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-info" title="ev_page_cache_get_info ()">ev_page_cache_get_info</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache);
132
127
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
133
>gboolean</a> <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-dual-even-left">ev_page_cache_get_dual_even_left</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache);
128
>gboolean</a> <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-dual-even-left" title="ev_page_cache_get_dual_even_left ()">ev_page_cache_get_dual_even_left</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache);
135
130
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
136
>gint</a> <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-current-page">ev_page_cache_get_current_page</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache);
137
void <a class="link" href="evince-ev-page-cache.html#ev-page-cache-set-current-page">ev_page_cache_set_current_page</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
131
>gint</a> <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get-current-page" title="ev_page_cache_get_current_page ()">ev_page_cache_get_current_page</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache);
132
void <a class="link" href="evince-ev-page-cache.html#ev-page-cache-set-current-page" title="ev_page_cache_set_current_page ()">ev_page_cache_set_current_page</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
139
void <a class="link" href="evince-ev-page-cache.html#ev-page-cache-set-current-page-history">ev_page_cache_set_current_page_history</a>
134
void <a class="link" href="evince-ev-page-cache.html#ev-page-cache-set-current-page-history" title="ev_page_cache_set_current_page_history ()">ev_page_cache_set_current_page_history</a>
140
135
(<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
143
138
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
144
>gboolean</a> <a class="link" href="evince-ev-page-cache.html#ev-page-cache-set-page-label">ev_page_cache_set_page_label</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
139
>gboolean</a> <a class="link" href="evince-ev-page-cache.html#ev-page-cache-set-page-label" title="ev_page_cache_set_page_label ()">ev_page_cache_set_page_label</a> (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
145
140
const char *page_label);
146
<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a>* <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get">ev_page_cache_get</a> (<a class="link" href="evince-ev-document.html#EvDocument">EvDocument</a> *document);
141
<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a>* <a class="link" href="evince-ev-page-cache.html#ev-page-cache-get" title="ev_page_cache_get ()">ev_page_cache_get</a> (<a class="link" href="evince-ev-document.html#EvDocument">EvDocument</a> *document);
150
144
<div class="refsect1" lang="en">
151
<a name="id3165536"></a><h2>Description</h2>
145
<a name="evince-ev-page-cache.description"></a><h2>Description</h2>
156
150
<div class="refsect1" lang="en">
157
<a name="id3165551"></a><h2>Details</h2>
151
<a name="evince-ev-page-cache.details"></a><h2>Details</h2>
158
152
<div class="refsect2" lang="en">
159
<a name="id3165561"></a><h3>
160
<a name="ev-page-cache-new"></a>ev_page_cache_new ()</h3>
161
<a class="indexterm" name="id3165575"></a><pre class="programlisting"><a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a>* ev_page_cache_new (<a class="link" href="evince-ev-document.html#EvDocument">EvDocument</a> *document);</pre>
153
<a name="ev-page-cache-new"></a><h3>ev_page_cache_new ()</h3>
154
<pre class="programlisting"><a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a>* ev_page_cache_new (<a class="link" href="evince-ev-document.html#EvDocument">EvDocument</a> *document);</pre>
238
229
<div class="refsect2" lang="en">
239
<a name="id3165772"></a><h3>
240
<a name="ev-page-cache-get-size"></a>ev_page_cache_get_size ()</h3>
241
<a class="indexterm" name="id3165785"></a><pre class="programlisting">void ev_page_cache_get_size (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
230
<a name="ev-page-cache-get-size"></a><h3>ev_page_cache_get_size ()</h3>
231
<pre class="programlisting">void ev_page_cache_get_size (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
243
233
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
261
251
<col align="left" valign="top">
264
<td><p><span class="term"><em class="parameter"><code>page_cache</code></em> :</span></p></td>
269
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
274
<td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
279
<td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
284
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
289
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
254
<td><p><span class="term"><em class="parameter"><code>page_cache</code></em> :</span></p></td>
259
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
264
<td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
269
<td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
274
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
279
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
299
289
<div class="refsect2" lang="en">
300
<a name="id3165938"></a><h3>
301
<a name="ev-page-cache-get-max-width"></a>ev_page_cache_get_max_width ()</h3>
302
<a class="indexterm" name="id3165952"></a><pre class="programlisting">void ev_page_cache_get_max_width (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
290
<a name="ev-page-cache-get-max-width"></a><h3>ev_page_cache_get_max_width ()</h3>
291
<pre class="programlisting">void ev_page_cache_get_max_width (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
304
293
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
305
294
>gint</a> rotation,
316
305
<col align="left" valign="top">
319
<td><p><span class="term"><em class="parameter"><code>page_cache</code></em> :</span></p></td>
324
<td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
329
<td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
334
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
308
<td><p><span class="term"><em class="parameter"><code>page_cache</code></em> :</span></p></td>
313
<td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
318
<td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
323
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
344
333
<div class="refsect2" lang="en">
345
<a name="id3166062"></a><h3>
346
<a name="ev-page-cache-get-max-height"></a>ev_page_cache_get_max_height ()</h3>
347
<a class="indexterm" name="id3166076"></a><pre class="programlisting">void ev_page_cache_get_max_height (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
334
<a name="ev-page-cache-get-max-height"></a><h3>ev_page_cache_get_max_height ()</h3>
335
<pre class="programlisting">void ev_page_cache_get_max_height (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
349
337
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
350
338
>gint</a> rotation,
361
349
<col align="left" valign="top">
364
<td><p><span class="term"><em class="parameter"><code>page_cache</code></em> :</span></p></td>
369
<td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
374
<td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
379
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
352
<td><p><span class="term"><em class="parameter"><code>page_cache</code></em> :</span></p></td>
357
<td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
362
<td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
367
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
389
377
<div class="refsect2" lang="en">
390
<a name="id3166186"></a><h3>
391
<a name="ev-page-cache-get-height-to-page"></a>ev_page_cache_get_height_to_page ()</h3>
392
<a class="indexterm" name="id3166200"></a><pre class="programlisting">void ev_page_cache_get_height_to_page (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
378
<a name="ev-page-cache-get-height-to-page"></a><h3>ev_page_cache_get_height_to_page ()</h3>
379
<pre class="programlisting">void ev_page_cache_get_height_to_page (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
394
381
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
412
399
<col align="left" valign="top">
415
<td><p><span class="term"><em class="parameter"><code>page_cache</code></em> :</span></p></td>
420
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
425
<td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
430
<td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
435
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
440
<td><p><span class="term"><em class="parameter"><code>dual_height</code></em> :</span></p></td>
402
<td><p><span class="term"><em class="parameter"><code>page_cache</code></em> :</span></p></td>
407
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
412
<td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
417
<td><p><span class="term"><em class="parameter"><code>scale</code></em> :</span></p></td>
422
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
427
<td><p><span class="term"><em class="parameter"><code>dual_height</code></em> :</span></p></td>
450
437
<div class="refsect2" lang="en">
451
<a name="id3166354"></a><h3>
452
<a name="ev-page-cache-get-thumbnail-size"></a>ev_page_cache_get_thumbnail_size ()</h3>
453
<a class="indexterm" name="id3166367"></a><pre class="programlisting">void ev_page_cache_get_thumbnail_size (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
438
<a name="ev-page-cache-get-thumbnail-size"></a><h3>ev_page_cache_get_thumbnail_size ()</h3>
439
<pre class="programlisting">void ev_page_cache_get_thumbnail_size (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
455
441
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
470
456
<col align="left" valign="top">
473
<td><p><span class="term"><em class="parameter"><code>page_cache</code></em> :</span></p></td>
478
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
483
<td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
488
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
493
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
459
<td><p><span class="term"><em class="parameter"><code>page_cache</code></em> :</span></p></td>
464
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
469
<td><p><span class="term"><em class="parameter"><code>rotation</code></em> :</span></p></td>
474
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
479
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
531
516
<div class="refsect2" lang="en">
532
<a name="id3166569"></a><h3>
533
<a name="ev-page-cache-get-page-label"></a>ev_page_cache_get_page_label ()</h3>
534
<a class="indexterm" name="id3166583"></a><pre class="programlisting">char* ev_page_cache_get_page_label (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
517
<a name="ev-page-cache-get-page-label"></a><h3>ev_page_cache_get_page_label ()</h3>
518
<pre class="programlisting">char* ev_page_cache_get_page_label (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
536
520
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
537
521
>gint</a> page);</pre>
565
549
<div class="refsect2" lang="en">
566
<a name="id3166661"></a><h3>
567
<a name="ev-page-cache-has-nonnumeric-page-labels"></a>ev_page_cache_has_nonnumeric_page_labels ()</h3>
568
<a class="indexterm" name="id3166675"></a><pre class="programlisting"><a
550
<a name="ev-page-cache-has-nonnumeric-page-labels"></a><h3>ev_page_cache_has_nonnumeric_page_labels ()</h3>
551
<pre class="programlisting"><a
569
552
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
570
553
>gboolean</a> ev_page_cache_has_nonnumeric_page_labels
571
554
(<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache);</pre>
731
709
<div class="refsect2" lang="en">
732
<a name="id3167108"></a><h3>
733
<a name="ev-page-cache-set-page-label"></a>ev_page_cache_set_page_label ()</h3>
734
<a class="indexterm" name="id3167122"></a><pre class="programlisting"><a
710
<a name="ev-page-cache-set-page-label"></a><h3>ev_page_cache_set_page_label ()</h3>
711
<pre class="programlisting"><a
735
712
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
736
713
>gboolean</a> ev_page_cache_set_page_label (<a class="link" href="evince-ev-document.html#EvPageCache">EvPageCache</a> *page_cache,
737
714
const char *page_label);</pre>