Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ev-document-text.c File Reference
#include "config.h"
#include "ev-document-text.h"
+ Include dependency graph for ev-document-text.c:

Go to the source code of this file.

Functions

static void ev_document_text_default_init (EvDocumentTextInterface *klass)
 
gchar * ev_document_text_get_text (EvDocumentText *document_text, EvPage *page)
 
gboolean ev_document_text_get_text_layout (EvDocumentText *document_text, EvPage *page, EvRectangle **areas, guint *n_areas)
 
cairo_region_t * ev_document_text_get_text_mapping (EvDocumentText *document_text, EvPage *page)
 
PangoAttrList * ev_document_text_get_text_attrs (EvDocumentText *document_text, EvPage *page)
 

Function Documentation

static void ev_document_text_default_init ( EvDocumentTextInterface klass)
static

Definition at line 29 of file ev-document-text.c.

30 {
31 }
gchar* ev_document_text_get_text ( EvDocumentText document_text,
EvPage page 
)

Definition at line 34 of file ev-document-text.c.

36 {
37  EvDocumentTextInterface *iface = EV_DOCUMENT_TEXT_GET_IFACE (document_text);
38 
39  if (!iface->get_text)
40  return NULL;
41 
42  return iface->get_text (document_text, page);
43 }

+ Here is the caller graph for this function:

PangoAttrList* ev_document_text_get_text_attrs ( EvDocumentText document_text,
EvPage page 
)

Definition at line 84 of file ev-document-text.c.

86 {
87  EvDocumentTextInterface *iface = EV_DOCUMENT_TEXT_GET_IFACE (document_text);
88 
89  if (!iface->get_text_attrs)
90  return NULL;
91 
92  return iface->get_text_attrs (document_text, page);
93 }

+ Here is the caller graph for this function:

gboolean ev_document_text_get_text_layout ( EvDocumentText document_text,
EvPage page,
EvRectangle **  areas,
guint *  n_areas 
)

Definition at line 47 of file ev-document-text.c.

51 {
52  EvDocumentTextInterface *iface = EV_DOCUMENT_TEXT_GET_IFACE (document_text);
53 
54  if (!iface->get_text_layout)
55  return FALSE;
56 
57  return iface->get_text_layout (document_text, page, areas, n_areas);
58 }

+ Here is the caller graph for this function:

cairo_region_t* ev_document_text_get_text_mapping ( EvDocumentText document_text,
EvPage page 
)

Definition at line 61 of file ev-document-text.c.

63 {
64  EvDocumentTextInterface *iface = EV_DOCUMENT_TEXT_GET_IFACE (document_text);
65 
66  if (!iface->get_text_mapping)
67  return NULL;
68 
69  return iface->get_text_mapping (document_text, page);
70 }

+ Here is the caller graph for this function: