diff options
author | Paul Gardiner <paulg.artifex@glidos.net> | 2012-09-19 15:06:04 +0100 |
---|---|---|
committer | Paul Gardiner <paulg.artifex@glidos.net> | 2012-09-19 15:06:04 +0100 |
commit | 7428d9e85791260bf9d481b49e90c4321339453a (patch) | |
tree | b0ca0a6868c47119ade0f5a8a846f4d1ceef6782 /apps/pdfapp.c | |
parent | 5f8e096b9090577ed93072448339a6500a5178f3 (diff) | |
download | mupdf-7428d9e85791260bf9d481b49e90c4321339453a.tar.xz |
Forms: handle print request, both from javascript and from named action
Currently the app windows app responds with a message box explaining that
the MuPDF library passes print requests to the app, but the app does not
implement printing.
Diffstat (limited to 'apps/pdfapp.c')
-rw-r--r-- | apps/pdfapp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c index 0a87565a..5cb0adea 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -113,6 +113,9 @@ static void event_cb(fz_doc_event *event, void *data) winalert(app, alert); } break; + case FZ_DOCUMENT_EVENT_PRINT: + winprint(app); + break; } } |