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-view-accessible.h
Go to the documentation of this file.
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
2
/* this file is part of evince, a gnome document viewer
3
*
4
* Copyright (C) 2004 Red Hat, Inc
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 (EVINCE_COMPILATION)
22
#error "This is a private header."
23
#endif
24
25
#ifndef __EV_VIEW_ACCESSIBLE_H__
26
#define __EV_VIEW_ACCESSIBLE_H__
27
28
#include <gtk/gtk-a11y.h>
29
#include "
ev-document-model.h
"
30
31
#define EV_TYPE_VIEW_ACCESSIBLE (ev_view_accessible_get_type ())
32
#define EV_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_VIEW_ACCESSIBLE, EvViewAccessible))
33
#define EV_IS_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_VIEW_ACCESSIBLE))
34
35
typedef
struct
_EvViewAccessible
EvViewAccessible
;
36
typedef
struct
_EvViewAccessibleClass
EvViewAccessibleClass
;
37
typedef
struct
_EvViewAccessiblePrivate
EvViewAccessiblePrivate
;
38
39
struct
_EvViewAccessible
40
{
41
GtkContainerAccessible
parent
;
42
43
EvViewAccessiblePrivate
*
priv
;
44
};
45
46
struct
_EvViewAccessibleClass
47
{
48
GtkContainerAccessibleClass
parent_class
;
49
};
50
51
GType
ev_view_accessible_get_type
(
void
);
52
AtkObject *
ev_view_accessible_new
(GtkWidget *widget);
53
void
ev_view_accessible_set_model
(
EvViewAccessible
*accessible,
54
EvDocumentModel
*model);
55
gint
ev_view_accessible_get_n_pages
(
EvViewAccessible
*accessible);
56
gint
ev_view_accessible_get_relevant_page
(
EvViewAccessible
*accessible);
57
void
ev_view_accessible_set_page_range
(
EvViewAccessible
*accessible,
58
gint start,
59
gint end);
60
void
_transform_doc_rect_to_atk_rect
(
EvViewAccessible
*accessible,
61
gint page,
62
EvRectangle
*doc_rect,
63
EvRectangle
*atk_rect,
64
AtkCoordType coord_type);
65
gboolean
ev_view_accessible_is_doc_rect_showing
(
EvViewAccessible
*accessible,
66
gint page,
67
EvRectangle
*doc_rect);
68
void
ev_view_accessible_set_focused_element
(
EvViewAccessible
*accessible,
69
EvMapping
*new_focus,
70
gint new_focus_page);
71
void
ev_view_accessible_update_element_state
(
EvViewAccessible
*accessible,
72
EvMapping
*element,
73
gint element_page);
74
75
#endif
/* __EV_VIEW_ACCESSIBLE_H__ */
76
evince-master
libview
ev-view-accessible.h
Generated on Thu Jul 13 2017 13:41:46 for Evince by
1.8.4