23#ifndef MUPDF_FITZ_WRITER_H
24#define MUPDF_FITZ_WRITER_H
72#define fz_new_derived_document_writer(CTX,TYPE,BEGIN_PAGE,END_PAGE,CLOSE,DROP) \
73 ((TYPE *)Memento_label(fz_new_document_writer_of_size(CTX,sizeof(TYPE),BEGIN_PAGE,END_PAGE,CLOSE,DROP),#TYPE))
#define FZ_DATA
Definition export.h:49
fz_document_writer_close_writer_fn * close_writer
Definition writer.h:228
fz_document_writer_drop_writer_fn * drop_writer
Definition writer.h:229
fz_document_writer_begin_page_fn * begin_page
Definition writer.h:226
fz_document_writer_end_page_fn * end_page
Definition writer.h:227
fz_device * dev
Definition writer.h:230
Definition document.h:1080
Definition geometry.h:231
fz_document_writer * fz_new_odt_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_pclm_writer_with_output(fz_context *ctx, fz_output *out, const char *options)
fz_document_writer * fz_new_ps_writer(fz_context *ctx, const char *path, const char *options)
fz_document_writer * fz_new_odt_writer_with_output(fz_context *ctx, fz_output *out, const char *options)
void fz_end_page(fz_context *ctx, fz_document_writer *wri)
fz_document_writer * fz_new_csv_writer_with_output(fz_context *ctx, fz_output *out, const char *options)
fz_document_writer * fz_new_pdf_writer_with_output(fz_context *ctx, fz_output *out, const char *options)
fz_document_writer * fz_new_pkm_pixmap_writer(fz_context *ctx, const char *path, const char *options)
fz_document_writer * fz_new_document_writer_of_size(fz_context *ctx, size_t size, fz_document_writer_begin_page_fn *begin_page, fz_document_writer_end_page_fn *end_page, fz_document_writer_close_writer_fn *close, fz_document_writer_drop_writer_fn *drop)
fz_document_writer * fz_new_document_writer_with_output(fz_context *ctx, fz_output *out, const char *format, const char *options)
fz_document_writer * fz_new_pdfocr_writer_with_output(fz_context *ctx, fz_output *out, const char *options)
fz_document_writer * fz_new_pixmap_writer_with_output(fz_context *ctx, fz_output *out, const char *options, int n, void(*write)(fz_context *ctx, fz_output *out, fz_pixmap *pix))
fz_document_writer * fz_new_ps_writer_with_output(fz_context *ctx, fz_output *out, const char *options)
void fz_write_document(fz_context *ctx, fz_document_writer *wri, fz_document *doc)
fz_document_writer * fz_new_pgm_pixmap_writer(fz_context *ctx, const char *path, const char *options)
fz_document_writer * fz_new_pnm_pixmap_writer(fz_context *ctx, const char *path, const char *options)
fz_document_writer * fz_new_docx_writer_with_output(fz_context *ctx, fz_output *out, const char *options)
fz_document_writer * fz_new_pam_pixmap_writer(fz_context *ctx, const char *path, const char *options)
fz_document_writer * fz_new_csv_writer(fz_context *ctx, const char *path, const char *options)
fz_document_writer * fz_new_jpeg_pixmap_writer(fz_context *ctx, const char *path, const char *options)
void fz_document_writer_end_page_fn(fz_context *ctx, fz_document_writer *wri, fz_device *dev)
Definition writer.h:50
fz_document_writer * fz_new_pclm_writer(fz_context *ctx, const char *path, const char *options)
fz_document_writer * fz_new_pcl_writer_with_output(fz_context *ctx, fz_output *out, const char *options)
FZ_DATA const char * fz_pclm_write_options_usage
fz_document_writer * fz_new_svg_writer_with_output(fz_context *ctx, fz_output *out, const char *options)
fz_document_writer * fz_new_pdfocr_writer(fz_context *ctx, const char *path, const char *options)
fz_document_writer * fz_new_text_writer_with_output(fz_context *ctx, const char *format, fz_output *out, const char *options)
void fz_close_document_writer(fz_context *ctx, fz_document_writer *wri)
fz_document_writer * fz_new_cbz_writer(fz_context *ctx, const char *path, const char *options)
void fz_drop_document_writer(fz_context *ctx, fz_document_writer *wri)
fz_document_writer * fz_new_document_writer_with_buffer(fz_context *ctx, fz_buffer *buf, const char *format, const char *options)
void fz_document_writer_drop_writer_fn(fz_context *ctx, fz_document_writer *wri)
Definition writer.h:70
fz_document_writer * fz_new_pwg_writer_with_output(fz_context *ctx, fz_output *out, const char *options)
fz_document_writer * fz_new_document_writer(fz_context *ctx, const char *path, const char *format, const char *options)
fz_document_writer * fz_new_pwg_writer(fz_context *ctx, const char *path, const char *options)
FZ_DATA const char * fz_pdf_write_options_usage
fz_document_writer * fz_new_svg_writer(fz_context *ctx, const char *path, const char *options)
void fz_document_writer_close_writer_fn(fz_context *ctx, fz_document_writer *wri)
Definition writer.h:59
fz_document_writer * fz_new_pbm_pixmap_writer(fz_context *ctx, const char *path, const char *options)
FZ_DATA const char * fz_pdfocr_write_options_usage
void fz_pdfocr_writer_set_progress(fz_context *ctx, fz_document_writer *writer, fz_pdfocr_progress_fn *progress, void *)
fz_device * fz_document_writer_begin_page_fn(fz_context *ctx, fz_document_writer *wri, fz_rect mediabox)
Definition writer.h:42
FZ_DATA const char * fz_pwg_write_options_usage
fz_document_writer * fz_new_text_writer(fz_context *ctx, const char *format, const char *path, const char *options)
fz_device * fz_begin_page(fz_context *ctx, fz_document_writer *wri, fz_rect mediabox)
int fz_pdfocr_progress_fn(fz_context *ctx, void *progress_arg, int page, int percent)
Definition writer.h:147
fz_document_writer * fz_new_ppm_pixmap_writer(fz_context *ctx, const char *path, const char *options)
fz_document_writer * fz_new_pcl_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_cbz_writer_with_output(fz_context *ctx, fz_output *out, const char *options)
FZ_DATA const char * fz_pcl_write_options_usage
fz_document_writer * fz_new_docx_writer(fz_context *ctx, const char *path, const char *options)
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))
FZ_DATA const char * fz_svg_write_options_usage