summaryrefslogtreecommitdiff
path: root/libview/ev-jobs.h
diff options
context:
space:
mode:
authorAntia Puentes <[email protected]>2013-07-10 17:47:26 +0200
committerraveit65 <[email protected]>2017-09-06 18:25:34 +0200
commit7a9f2cc8fa9c783b4b00c7990bc01ec6b64018ab (patch)
treed0afec61293f674993c18126522ad7de3583b23d /libview/ev-jobs.h
parent2a7eb0b7ae2af2fa56e92e6c4a3b241833c3ea96 (diff)
downloadatril-7a9f2cc8fa9c783b4b00c7990bc01ec6b64018ab.tar.bz2
atril-7a9f2cc8fa9c783b4b00c7990bc01ec6b64018ab.tar.xz
libview: Get text attributes from backend and save them in page cache
origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=4592007
Diffstat (limited to 'libview/ev-jobs.h')
-rw-r--r--libview/ev-jobs.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/libview/ev-jobs.h b/libview/ev-jobs.h
index ddcbd486..35a378c5 100644
--- a/libview/ev-jobs.h
+++ b/libview/ev-jobs.h
@@ -258,11 +258,12 @@ typedef enum {
EV_PAGE_DATA_INCLUDE_TEXT = 1 << 1,
EV_PAGE_DATA_INCLUDE_TEXT_MAPPING = 1 << 2,
EV_PAGE_DATA_INCLUDE_TEXT_LAYOUT = 1 << 3,
- EV_PAGE_DATA_INCLUDE_TEXT_LOG_ATTRS = 1 << 4,
- EV_PAGE_DATA_INCLUDE_IMAGES = 1 << 5,
- EV_PAGE_DATA_INCLUDE_FORMS = 1 << 6,
- EV_PAGE_DATA_INCLUDE_ANNOTS = 1 << 7,
- EV_PAGE_DATA_INCLUDE_ALL = (1 << 8) - 1
+ EV_PAGE_DATA_INCLUDE_TEXT_ATTRS = 1 << 4,
+ EV_PAGE_DATA_INCLUDE_TEXT_LOG_ATTRS = 1 << 5,
+ EV_PAGE_DATA_INCLUDE_IMAGES = 1 << 6,
+ EV_PAGE_DATA_INCLUDE_FORMS = 1 << 7,
+ EV_PAGE_DATA_INCLUDE_ANNOTS = 1 << 8,
+ EV_PAGE_DATA_INCLUDE_ALL = (1 << 9) - 1
} EvJobPageDataFlags;
struct _EvJobPageData
@@ -280,6 +281,7 @@ struct _EvJobPageData
gchar *text;
EvRectangle *text_layout;
guint text_layout_length;
+ PangoAttrList *text_attrs;
PangoLogAttr *text_log_attrs;
gulong text_log_attrs_length;
};