summaryrefslogtreecommitdiff
path: root/libdocument/ev-document-text.h
diff options
context:
space:
mode:
authorAntia Puentes <[email protected]>2013-07-10 17:43:40 +0200
committerraveit65 <[email protected]>2017-09-06 18:25:34 +0200
commit2a7eb0b7ae2af2fa56e92e6c4a3b241833c3ea96 (patch)
tree5c13bf36470e9bf5fec84f6020399398380e159a /libdocument/ev-document-text.h
parenta6d277859cfea9450ab8b41ffeceb49752fdabc0 (diff)
downloadatril-2a7eb0b7ae2af2fa56e92e6c4a3b241833c3ea96.tar.bz2
atril-2a7eb0b7ae2af2fa56e92e6c4a3b241833c3ea96.tar.xz
libdocument: Add ev_document_text_get_text_attrs()
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=f72b619
Diffstat (limited to 'libdocument/ev-document-text.h')
-rw-r--r--libdocument/ev-document-text.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libdocument/ev-document-text.h b/libdocument/ev-document-text.h
index d6bb409d..66a82c63 100644
--- a/libdocument/ev-document-text.h
+++ b/libdocument/ev-document-text.h
@@ -28,6 +28,7 @@
#include <glib-object.h>
#include <glib.h>
+#include <gdk/gdk.h>
#include "ev-document.h"
@@ -56,6 +57,8 @@ struct _EvDocumentTextInterface
EvPage *page,
EvRectangle **areas,
guint *n_areas);
+ PangoAttrList *(* get_text_attrs) (EvDocumentText *document_text,
+ EvPage *page);
};
GType ev_document_text_get_type (void) G_GNUC_CONST;
@@ -68,7 +71,8 @@ gboolean ev_document_text_get_text_layout (EvDocumentText *document_tex
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);
G_END_DECLS
#endif /* EV_DOCUMENT_TEXT_H */