summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-10-14 14:55:35 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-10-14 14:55:35 +0200
commit189b6cb84cb1ceb3ace8cb4304b43790e682ad20 (patch)
treef59b42650110d8817564c604d07e7790abe9f32a /include
parent4ef5e67c4165a8fbb4ec96c421f958fc7ec94ca1 (diff)
downloadmupdf-189b6cb84cb1ceb3ace8cb4304b43790e682ad20.tar.xz
epub: Add hyperlinks.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/html.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mupdf/html.h b/include/mupdf/html.h
index f9bd4d98..259333a4 100644
--- a/include/mupdf/html.h
+++ b/include/mupdf/html.h
@@ -207,6 +207,7 @@ struct fz_html_box_s
float em;
fz_html_box *up, *down, *last, *next;
fz_html_flow *flow_head, **flow_tail;
+ char *a_href;
fz_css_style style;
};
@@ -276,6 +277,7 @@ void fz_add_css_font_faces(fz_context *ctx, fz_html_font_set *set, fz_archive *z
fz_html *fz_parse_html(fz_context *ctx, fz_html_font_set *htx, fz_archive *zip, const char *base_uri, fz_buffer *buf, const char *user_css);
void fz_layout_html(fz_context *ctx, fz_html *html, float w, float h, float em);
void fz_draw_html(fz_context *ctx, fz_device *dev, const fz_matrix *ctm, fz_html *html, float page_top, float page_bot);
+fz_link *fz_load_html_links(fz_context *ctx, fz_html *html, int page, int page_h, const char *base_uri);
void fz_drop_html(fz_context *ctx, fz_html *html);
#endif