diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2009-09-23 13:38:38 +0000 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2009-09-23 13:38:38 +0000 |
commit | 187b27a3ef004d618e24072d89d71d81eb33137b (patch) | |
tree | 2e3526fd01dcf7ff303346a9f2df4dd029c328e5 /xps/ghostxps.h | |
parent | 578db6f4c11849368f300126b83d42a443acd316 (diff) |
Cache parsed XML parts (only external resource dictionaries) in the part struct, and free the parsed XML along with images and other resources at the end of a page.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10085 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'xps/ghostxps.h')
-rw-r--r-- | xps/ghostxps.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xps/ghostxps.h b/xps/ghostxps.h index c90323348..3283ec6e3 100644 --- a/xps/ghostxps.h +++ b/xps/ghostxps.h @@ -251,6 +251,7 @@ struct xps_part_s xps_font_t *font; /* parsed font resource */ xps_image_t *image; /* parsed and decoded image resource */ gs_color_space *icc; /* parsed icc profile resource */ + xps_item_t *xml; /* parsed xml document (external resource dictionaries) */ int deobfuscated; /* have we deobfuscated the font data? */ @@ -415,6 +416,5 @@ struct xps_resource_s xps_resource_t *xps_parse_remote_resource_dictionary(xps_context_t *ctx, char *name); xps_resource_t *xps_parse_resource_dictionary(xps_context_t *ctx, xps_item_t *root); void xps_free_resource_dictionary(xps_context_t *ctx, xps_resource_t *dict); -xps_item_t *xps_parse_resource_reference(xps_context_t *ctx, xps_resource_t *dict, char *att); int xps_resolve_resource_reference(xps_context_t *ctx, xps_resource_t *dict, char **attp, xps_item_t **tagp); |