diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-12-17 22:38:35 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-12-18 15:32:14 +0100 |
commit | 80949d3d6b6320f5643a450c382f19370922e78f (patch) | |
tree | 7e3a6612d9c2985c3c3c493182d4171d017b4456 /include/mupdf/fitz/document.h | |
parent | 02d5b2280db2846e4a683944819eb395ab15b8ce (diff) | |
download | mupdf-80949d3d6b6320f5643a450c382f19370922e78f.tar.xz |
Remove fz_save_document and use pdf_save_document directly instead.
In preparation of adding pdf_write_document that writes a document
to a fz_output stream.
Diffstat (limited to 'include/mupdf/fitz/document.h')
-rw-r--r-- | include/mupdf/fitz/document.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/mupdf/fitz/document.h b/include/mupdf/fitz/document.h index 459a5fbd..32f5bba6 100644 --- a/include/mupdf/fitz/document.h +++ b/include/mupdf/fitz/document.h @@ -26,9 +26,6 @@ typedef enum } fz_permission; -// TODO: move out of this interface (it's pdf specific) -typedef struct fz_save_options_s fz_save_options; - typedef void (fz_document_close_fn)(fz_context *ctx, fz_document *doc); typedef int (fz_document_needs_password_fn)(fz_context *ctx, fz_document *doc); typedef int (fz_document_authenticate_password_fn)(fz_context *ctx, fz_document *doc, const char *password); @@ -38,7 +35,6 @@ typedef void (fz_document_layout_fn)(fz_context *ctx, fz_document *doc, float w, typedef int (fz_document_count_pages_fn)(fz_context *ctx, fz_document *doc); typedef fz_page *(fz_document_load_page_fn)(fz_context *ctx, fz_document *doc, int number); typedef int (fz_document_lookup_metadata_fn)(fz_context *ctx, fz_document *doc, const char *key, char *buf, int size); -typedef void (fz_document_save_fn)(fz_context *ctx, fz_document *doc, char *filename, fz_save_options *opts); typedef fz_link *(fz_page_load_links_fn)(fz_context *ctx, fz_page *page); typedef fz_rect *(fz_page_bound_page_fn)(fz_context *ctx, fz_page *page, fz_rect *); @@ -86,7 +82,6 @@ struct fz_document_s fz_document_count_pages_fn *count_pages; fz_document_load_page_fn *load_page; fz_document_lookup_metadata_fn *lookup_metadata; - fz_document_save_fn *save; int did_layout; }; |