diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-08-10 15:08:02 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-08-17 13:38:48 +0200 |
commit | d447754cc9a6220df1b2f8395101b5d79adac9fe (patch) | |
tree | b167b4c03161ac91f5078551052c64dd59617387 /include | |
parent | b796ddf898817ad0a16013ffc7e67420c5881b6f (diff) | |
download | mupdf-d447754cc9a6220df1b2f8395101b5d79adac9fe.tar.xz |
Add PWG document writer.
Option parsing is not implemented yet.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/writer.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/mupdf/fitz/writer.h b/include/mupdf/fitz/writer.h index b5121707..3f534783 100644 --- a/include/mupdf/fitz/writer.h +++ b/include/mupdf/fitz/writer.h @@ -91,10 +91,14 @@ int fz_option_eq(const char *a, const char *b); */ fz_document_writer *fz_new_document_writer(fz_context *ctx, const char *path, const char *format, const char *options); -fz_document_writer *fz_new_cbz_writer(fz_context *ctx, const char *path, const char *options); fz_document_writer *fz_new_pdf_writer(fz_context *ctx, const char *path, const char *options); fz_document_writer *fz_new_svg_writer(fz_context *ctx, const char *path, const char *options); + fz_document_writer *fz_new_text_writer(fz_context *ctx, const char *format, const char *path, const char *options); + +fz_document_writer *fz_new_pwg_writer(fz_context *ctx, const char *path, const char *options); + +fz_document_writer *fz_new_cbz_writer(fz_context *ctx, const char *path, const char *options); fz_document_writer *fz_new_png_pixmap_writer(fz_context *ctx, const char *path, const char *options); fz_document_writer *fz_new_tga_pixmap_writer(fz_context *ctx, const char *path, const char *options); fz_document_writer *fz_new_pam_pixmap_writer(fz_context *ctx, const char *path, const char *options); @@ -142,8 +146,9 @@ void fz_drop_document_writer(fz_context *ctx, fz_document_writer *wri); fz_document_writer *fz_new_pixmap_writer(fz_context *ctx, const char *path, const char *options, const char *default_path, int n, void (*save)(fz_context *ctx, fz_pixmap *pix, const char *filename)); -extern const char *fz_cbz_write_options_usage; extern const char *fz_pdf_write_options_usage; extern const char *fz_svg_write_options_usage; +extern const char *fz_pwg_write_options_usage; + #endif |