From 33889b3eddebef1251e70a882b72a1710ba20083 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Tue, 11 Jun 2013 14:22:41 +0200 Subject: 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 --- libview/ev-page-cache.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libview/ev-page-cache.h') 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 */ -- cgit v1.2.1