summaryrefslogtreecommitdiff
path: root/xps/xps_doc.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-03-14 15:16:54 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-03-14 15:30:01 +0100
commitff0f46d53dce7c85469baccaea00ad5f49bdb889 (patch)
tree0ccfbc467d6fe5185c0b1bc10b16338ad3dfe0b5 /xps/xps_doc.c
parentbcb88cede5edb232ac87235d957c023a0397bd5e (diff)
downloadmupdf-ff0f46d53dce7c85469baccaea00ad5f49bdb889.tar.xz
Add ZIP64 support to XPS parser.
Thanks to SumatraPDF.
Diffstat (limited to 'xps/xps_doc.c')
-rw-r--r--xps/xps_doc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/xps/xps_doc.c b/xps/xps_doc.c
index a840e7ba..69609eb2 100644
--- a/xps/xps_doc.c
+++ b/xps/xps_doc.c
@@ -1,5 +1,14 @@
#include "muxps-internal.h"
+#define REL_START_PART \
+ "http://schemas.microsoft.com/xps/2005/06/fixedrepresentation"
+#define REL_DOC_STRUCTURE \
+ "http://schemas.microsoft.com/xps/2005/06/documentstructure"
+#define REL_REQUIRED_RESOURCE \
+ "http://schemas.microsoft.com/xps/2005/06/required-resource"
+#define REL_REQUIRED_RESOURCE_RECURSIVE \
+ "http://schemas.microsoft.com/xps/2005/06/required-resource#recursive"
+
static void
xps_rels_for_part(char *buf, char *name, int buflen)
{