diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2010-04-26 21:31:16 +0000 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2010-04-26 21:31:16 +0000 |
commit | 936e9b77dffe2173c5a0357f4bb7ce6f4d6e3bf9 (patch) | |
tree | 0ed67c578e26c3bd3c380ceb3e031d1a863e1183 /xps/ghostxps.h | |
parent | 68ba88a4629234fdd3215c514fb79405265c7517 (diff) |
Add support for parsing unzipped XPS files.
If the path is given as /path/_rels/.rels then
it will parse the entire document. If the path points
to a FixedPage file (/path/Documents/1/Pages/1.fpage),
only that single page will be parsed.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11132 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'xps/ghostxps.h')
-rw-r--r-- | xps/ghostxps.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xps/ghostxps.h b/xps/ghostxps.h index 39ef7a215..2c4403019 100644 --- a/xps/ghostxps.h +++ b/xps/ghostxps.h @@ -114,9 +114,6 @@ typedef struct xps_glyph_metrics_s xps_glyph_metrics_t; * Context and memory. */ -extern int xps_zip_trace; -extern int xps_doc_trace; - void * xps_realloc_imp(xps_context_t *ctx, void *ptr, int size, const char *func); #define xps_alloc(ctx, size) \ @@ -200,6 +197,7 @@ struct xps_context_s gs_color_space *scrgb; gs_color_space *cmyk; + char *directory; FILE *file; int zip_count; xps_entry_t *zip_table; |