summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/writer.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-07-27 14:24:55 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-07-27 14:48:25 +0200
commitf7f89d9d0073e583bc78e6a5d4fc55a533caa566 (patch)
treea9e9ccb34f63376911c7f484798e295f818a0d05 /include/mupdf/fitz/writer.h
parent44cff76eb82cf11097e4e01348240e3556e22a7f (diff)
downloadmupdf-f7f89d9d0073e583bc78e6a5d4fc55a533caa566.tar.xz
Add text format document writer.
Improve HTML output using absolute positioning, and add XHTML output for simpler semantic html output.
Diffstat (limited to 'include/mupdf/fitz/writer.h')
-rw-r--r--include/mupdf/fitz/writer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/mupdf/fitz/writer.h b/include/mupdf/fitz/writer.h
index f16334fc..b5121707 100644
--- a/include/mupdf/fitz/writer.h
+++ b/include/mupdf/fitz/writer.h
@@ -83,8 +83,8 @@ int fz_option_eq(const char *a, const char *b);
path: The document name to write (or NULL for default)
- format: Which format to write (currently cbz, pdf, pam, pbm,
- pgm, pkm, png, ppm, pnm, svg, tga)
+ format: Which format to write (currently cbz, html, pdf, pam, pbm,
+ pgm, pkm, png, ppm, pnm, svg, text, tga, xhtml)
options: NULL, or pointer to comma separated string to control
file generation.
@@ -94,6 +94,7 @@ fz_document_writer *fz_new_document_writer(fz_context *ctx, const char *path, co
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_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);