summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/link.h
diff options
context:
space:
mode:
authorSimon Bünzli <zeniko@gmail.com>2013-09-25 17:54:43 +0200
committerRobin Watts <robin.watts@artifex.com>2013-09-27 17:09:47 +0100
commit5c1263c852f1357f1519007ea9d06449b1071ec3 (patch)
tree020a397926fb5431e15966615a950bccdaa8a44f /include/mupdf/fitz/link.h
parentab567929dbbb62237e4598f9c1b6a8231431305c (diff)
downloadmupdf-5c1263c852f1357f1519007ea9d06449b1071ec3.tar.xz
tweak pdf_parse_action
* Destination names are a name and not a string * Expose whether a /Launch action points to a path or a URI
Diffstat (limited to 'include/mupdf/fitz/link.h')
-rw-r--r--include/mupdf/fitz/link.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mupdf/fitz/link.h b/include/mupdf/fitz/link.h
index 7a400851..47648a4c 100644
--- a/include/mupdf/fitz/link.h
+++ b/include/mupdf/fitz/link.h
@@ -91,6 +91,8 @@ enum {
launch.new_window: If true, the destination should be launched
in a new window.
+ launch.is_uri: If true, launch.file_spec is a URI to launch.
+
For FZ_LINK_NAMED:
named.named: The named action to perform. Likely to be
@@ -122,6 +124,7 @@ struct fz_link_dest_s
{
char *file_spec;
int new_window;
+ int is_uri;
}
launch;
struct