diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-04-01 16:44:30 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-04-01 16:44:30 +0200 |
commit | a6de4b76903f590c776c112e02e2f2ce0a363010 (patch) | |
tree | 397c2c8c925331c93e83303267cced1d22aeeb81 /apps/pdfapp.h | |
parent | d2250034a7e629455b9bfbf735473ea39638a701 (diff) | |
download | mupdf-a6de4b76903f590c776c112e02e2f2ce0a363010.tar.xz |
apps: Add XPS support to mupdf viewer.
Diffstat (limited to 'apps/pdfapp.h')
-rw-r--r-- | apps/pdfapp.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/pdfapp.h b/apps/pdfapp.h index 3771485e..dda637db 100644 --- a/apps/pdfapp.h +++ b/apps/pdfapp.h @@ -31,6 +31,8 @@ struct pdfapp_s char *doctitle; pdf_xref *xref; pdf_outline *outline; + xps_context *xps; + int pagecount; fz_glyphcache *cache; @@ -42,7 +44,11 @@ struct pdfapp_s /* current page params */ int pageno; - pdf_page *page; + fz_rect page_bbox; + float page_rotate; + fz_displaylist *page_list; + fz_textspan *page_text; + pdf_link *page_links; /* snapback history */ int hist[256]; |