summaryrefslogtreecommitdiff
path: root/libview/ev-page-cache.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <[email protected]>2013-06-11 14:22:41 +0200
committerraveit65 <[email protected]>2017-09-06 18:25:34 +0200
commit33889b3eddebef1251e70a882b72a1710ba20083 (patch)
tree195fe268f0bad17bff2e673845df603d0d97249e /libview/ev-page-cache.h
parentcd36f3b5e3cd9ee377d3431b51fa3814043f52ef (diff)
downloadatril-33889b3eddebef1251e70a882b72a1710ba20083.tar.bz2
atril-33889b3eddebef1251e70a882b72a1710ba20083.tar.xz
libview: Add a way to get the text logical attributes from the page cache
It returns an array of PangoLogAttr with the logical attributes of the text for the given page. taken from: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=6870279
Diffstat (limited to 'libview/ev-page-cache.h')
-rw-r--r--libview/ev-page-cache.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libview/ev-page-cache.h b/libview/ev-page-cache.h
index 1e6bf3f6..08d5ec7d 100644
--- a/libview/ev-page-cache.h
+++ b/libview/ev-page-cache.h
@@ -66,7 +66,10 @@ gboolean ev_page_cache_get_text_layout (EvPageCache *cach
gint page,
EvRectangle **areas,
guint *n_areas);
-
+gboolean ev_page_cache_get_text_log_attrs (EvPageCache *cache,
+ gint page,
+ PangoLogAttr **log_attrs,
+ gulong *n_attrs);
G_END_DECLS
#endif /* EV_PAGE_CACHE_H */