~ubuntu-branches/ubuntu/oneiric/evince/oneiric-updates

« back to all changes in this revision

Viewing changes to libdocument/ev-document.h

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette, Josselin Mouette, Marc 'HE' Brockschmidt
  • Date: 2008-12-31 16:41:58 UTC
  • mfrom: (1.1.36 upstream)
  • mto: (1.5.1 sid)
  • mto: This revision was merged to the branch mainline in revision 109.
  • Revision ID: james.westby@ubuntu.com-20081231164158-xnobl1sokvvc6ho8
Tags: 2.24.2-1
[ Josselin Mouette ]
* README.Debian: document that you need to install poppler-data.
  Closes: #506836.

[ Marc 'HE' Brockschmidt ]
* debian/control: Make the Gnome team maintainer. I'm not doing the job
   anyway.

[ Josselin Mouette ]
* New upstream release.
* Require nautilus 2.22 to build the extension for the correct 
  version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 *  along with this program; if not, write to the Free Software
17
17
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
18
 *
19
 
 *  $Id: ev-document.h 2942 2008-03-03 15:01:17Z carlosgc $
 
19
 *  $Id: ev-document.h 3092 2008-08-03 11:01:28Z carlosgc $
20
20
 */
21
21
 
22
22
#ifndef EV_DOCUMENT_H
28
28
#include <cairo.h>
29
29
 
30
30
#include "ev-document-info.h"
 
31
#include "ev-page.h"
31
32
#include "ev-render-context.h"
32
33
 
33
34
G_BEGIN_DECLS
78
79
                                               const char      *uri,
79
80
                                               GError         **error);
80
81
        int               (* get_n_pages)     (EvDocument      *document);
 
82
        EvPage          * (* get_page)        (EvDocument      *document,
 
83
                                               gint             index);
81
84
        void              (* get_page_size)   (EvDocument      *document,
82
 
                                               int              page,
 
85
                                               EvPage          *page,
83
86
                                               double          *width,
84
87
                                               double          *height);
85
88
        char            * (* get_page_label)  (EvDocument      *document,
86
 
                                               int              page);
 
89
                                               EvPage          *page);
87
90
        gboolean          (* has_attachments) (EvDocument      *document);
88
91
        GList           * (* get_attachments) (EvDocument      *document);
89
92
        cairo_surface_t * (* render)          (EvDocument      *document,
98
101
GMutex          *ev_document_get_doc_mutex    (void);
99
102
void             ev_document_doc_mutex_lock   (void);
100
103
void             ev_document_doc_mutex_unlock (void);
 
104
gboolean         ev_document_doc_mutex_trylock(void);
101
105
 
102
106
/* FontConfig mutex */
103
107
GMutex          *ev_document_get_fc_mutex     (void);
104
108
void             ev_document_fc_mutex_lock    (void);
105
109
void             ev_document_fc_mutex_unlock  (void);
 
110
gboolean         ev_document_fc_mutex_trylock (void);
106
111
 
107
112
EvDocumentInfo  *ev_document_get_info         (EvDocument      *document);
108
113
gboolean         ev_document_load             (EvDocument      *document,
112
117
                                               const char      *uri,
113
118
                                               GError         **error);
114
119
int              ev_document_get_n_pages      (EvDocument      *document);
 
120
EvPage          *ev_document_get_page         (EvDocument      *document,
 
121
                                               gint             index);
115
122
void             ev_document_get_page_size    (EvDocument      *document,
116
 
                                               int              page,
 
123
                                               EvPage          *page,
117
124
                                               double          *width,
118
125
                                               double          *height);
119
126
char            *ev_document_get_page_label   (EvDocument      *document,
120
 
                                               int              page);
 
127
                                               EvPage          *page);
121
128
gboolean         ev_document_has_attachments  (EvDocument      *document);
122
129
GList           *ev_document_get_attachments  (EvDocument      *document);
123
130
cairo_surface_t *ev_document_render           (EvDocument      *document,