diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/context.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/mupdf/fitz/context.h b/include/mupdf/fitz/context.h index 10e28e0c..02bd6eaa 100644 --- a/include/mupdf/fitz/context.h +++ b/include/mupdf/fitz/context.h @@ -15,6 +15,7 @@ typedef struct fz_warn_context_s fz_warn_context; typedef struct fz_font_context_s fz_font_context; typedef struct fz_colorspace_context_s fz_colorspace_context; typedef struct fz_aa_context_s fz_aa_context; +typedef struct fz_style_context_s fz_style_context; typedef struct fz_locks_context_s fz_locks_context; typedef struct fz_store_s fz_store; typedef struct fz_glyph_cache_s fz_glyph_cache; @@ -108,6 +109,7 @@ struct fz_context_s fz_font_context *font; fz_colorspace_context *colorspace; fz_aa_context *aa; + fz_style_context *style; fz_store *store; fz_glyph_cache *glyph_cache; fz_document_handler_context *handler; @@ -202,6 +204,16 @@ int fz_aa_level(fz_context *ctx); void fz_set_aa_level(fz_context *ctx, int bits); /* + fz_user_css: Get the user stylesheet source text. +*/ +const char *fz_user_css(fz_context *ctx); + +/* + fz_set_user_css: Set the user stylesheet source text for use with HTML and EPUB. +*/ +void fz_set_user_css(fz_context *ctx, const char *text); + +/* Locking functions MuPDF is kept deliberately free of any knowledge of particular |