File: poppler_text.h

package info (click to toggle)
popplerkit.framework 0.0.20051227svn-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,384 kB
  • ctags: 119
  • sloc: objc: 2,303; sh: 857; cpp: 574; ansic: 55; makefile: 23
file content (40 lines) | stat: -rw-r--r-- 1,511 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * Copyright (C) 2004  Stefan Kleine Stegemann
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

#ifndef _H_POPPLER_TEXT
#define _H_POPPLER_TEXT

#ifdef __cplusplus 
extern "C" {
#endif
   
void* poppler_text_device_create(int use_phys_layout, int use_raw_text_order, int append);
void poppler_text_device_destroy(void* text_device);
int poppler_text_display_page(void* text_device, void* poppler_page, void* poppler_document,
                              float hDPI, float vDPI, int rotate, int crop);
int poppler_text_find(void* text_device, unsigned int* text_utf32, unsigned text_len,
                      int start_at_top, int stop_at_bottom,
                      int start_at_last, int stop_at_last,
                      double* x_min, double* y_min, double* x_max, double* y_max);
   
#ifdef __cplusplus 
};
#endif

#endif