Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
ev-mapping-list.h
Go to the documentation of this file.
1
/* ev-mapping.h
2
* this file is part of evince, a gnome document viewer
3
*
4
* Copyright (C) 2009 Carlos Garcia Campos <carlosgc@gnome.org>
5
*
6
* Evince is free software; you can redistribute it and/or modify it
7
* under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* Evince is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19
*/
20
21
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
22
#error "Only <evince-document.h> can be included directly."
23
#endif
24
25
#ifndef EV_MAPPING_LIST_H
26
#define EV_MAPPING_LIST_H
27
28
#include "
ev-document.h
"
29
30
G_BEGIN_DECLS
31
32
typedef
struct
_EvMappingList
EvMappingList
;
33
34
#define EV_TYPE_MAPPING_LIST (ev_mapping_list_get_type())
35
GType
ev_mapping_list_get_type
(
void
) G_GNUC_CONST;
36
37
EvMappingList
*
ev_mapping_list_new
(guint
page
,
38
GList *
list
,
39
GDestroyNotify
data_destroy_func
);
40
EvMappingList
*
ev_mapping_list_ref
(
EvMappingList
*mapping_list);
41
void
ev_mapping_list_unref
(
EvMappingList
*mapping_list);
42
43
guint
ev_mapping_list_get_page
(
EvMappingList
*mapping_list);
44
GList *
ev_mapping_list_get_list
(
EvMappingList
*mapping_list);
45
void
ev_mapping_list_remove
(
EvMappingList
*mapping_list,
46
EvMapping
*mapping);
47
EvMapping
*
ev_mapping_list_find
(
EvMappingList
*mapping_list,
48
gconstpointer data);
49
EvMapping
*
ev_mapping_list_find_custom
(
EvMappingList
*mapping_list,
50
gconstpointer data,
51
GCompareFunc func);
52
EvMapping
*
ev_mapping_list_get
(
EvMappingList
*mapping_list,
53
gdouble x,
54
gdouble y);
55
gpointer
ev_mapping_list_get_data
(
EvMappingList
*mapping_list,
56
gdouble x,
57
gdouble y);
58
EvMapping
*
ev_mapping_list_nth
(
EvMappingList
*mapping_list,
59
guint n);
60
guint
ev_mapping_list_length
(
EvMappingList
*mapping_list);
61
62
G_END_DECLS
63
64
#endif
/* EV_MAPPING_LIST_H */
evince-master
libdocument
ev-mapping-list.h
Generated on Thu Jul 13 2017 13:41:45 for Evince by
1.8.4