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

« back to all changes in this revision

Viewing changes to backend/djvu/djvu-text.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:
1
 
/* 
2
 
 * Copyright (C) 2006 Michael Hofmann <mh21@piware.de>
3
 
 *
4
 
 * This program is free software; you can redistribute it and/or modify
5
 
 * it under the terms of the GNU General Public License as published by
6
 
 * the Free Software Foundation; either version 2, or (at your option)
7
 
 * any later version.
8
 
 *
9
 
 * This program is distributed in the hope that it will be useful,
10
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 
 * GNU General Public License for more details.
13
 
 *
14
 
 * You should have received a copy of the GNU General Public License
15
 
 * along with this program; if not, write to the Free Software
16
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
 
 */
18
 
 
19
 
#ifndef __DJVU_TEXT_H__
20
 
#define __DJVU_TEXT_H__
21
 
 
22
 
#include "ev-document.h"
23
 
 
24
 
#include <glib.h>
25
 
 
26
 
typedef struct _DjvuText DjvuText;
27
 
 
28
 
DjvuText    *djvu_text_new          (DjvuDocument *djvu_document,
29
 
                                     int           start_page,
30
 
                                     gboolean      case_sensitive, 
31
 
                                     const char   *text);
32
 
void         djvu_text_free         (DjvuText     *djvu_text);
33
 
const char  *djvu_text_get_text     (DjvuText     *djvu_text);
34
 
int          djvu_text_n_results    (DjvuText     *djvu_text, 
35
 
                                     int           page);
36
 
EvRectangle *djvu_text_get_result   (DjvuText     *djvu_text, 
37
 
                                     int           page,
38
 
                                     int           n_result);
39
 
int          djvu_text_has_results  (DjvuText     *djvu_text, 
40
 
                                     int           page);
41
 
double       djvu_text_get_progress (DjvuText     *djvu_text);
42
 
char        *djvu_text_copy         (DjvuDocument *djvu_document,
43
 
                                     int           page,
44
 
                                     EvRectangle  *rectangle);
45
 
 
46
 
#endif /* __DJVU_TEXT_H__ */