|
mupdf
|


Go to the source code of this file.
Classes | |
| struct | pdf_clean_options |
Enumerations | |
| enum | pdf_clean_options_structure { PDF_CLEAN_STRUCTURE_DROP = 0 , PDF_CLEAN_STRUCTURE_KEEP = 1 } |
| enum | pdf_clean_options_vectorize { PDF_CLEAN_VECTORIZE_NO = 0 , PDF_CLEAN_VECTORIZE_YES = 1 } |
Functions | |
| void | pdf_clean_file (fz_context *ctx, char *infile, char *outfile, char *password, pdf_clean_options *opts, int retainlen, char *retainlist[]) |
| void | pdf_rearrange_pages (fz_context *ctx, pdf_document *doc, int count, const int *pages, pdf_clean_options_structure structure) |
| void | pdf_vectorize_pages (fz_context *ctx, pdf_document *doc, int count, const int *new_page_list, pdf_clean_options_vectorize vectorize) |
Specifies whether the PDF's structure tree should be dropped or kept when rearranging or subsetting its pages.
PDF_CLEAN_STRUCTURE_DROP: Remove the structure tree entirely.
PDF_CLEAN_STRUCTURE_KEEP: Preserve the structure tree. When redacting a document, preserving the structure tree might leak information.
| Enumerator | |
|---|---|
| PDF_CLEAN_STRUCTURE_DROP | |
| PDF_CLEAN_STRUCTURE_KEEP | |
| void pdf_clean_file | ( | fz_context * | ctx, |
| char * | infile, | ||
| char * | outfile, | ||
| char * | password, | ||
| pdf_clean_options * | opts, | ||
| int | retainlen, | ||
| char * | retainlist[] ) |
| void pdf_rearrange_pages | ( | fz_context * | ctx, |
| pdf_document * | doc, | ||
| int | count, | ||
| const int * | pages, | ||
| pdf_clean_options_structure | structure ) |
| void pdf_vectorize_pages | ( | fz_context * | ctx, |
| pdf_document * | doc, | ||
| int | count, | ||
| const int * | new_page_list, | ||
| pdf_clean_options_vectorize | vectorize ) |