diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/util.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/include/mupdf/fitz/util.h b/include/mupdf/fitz/util.h index 4b827cad..49409cbb 100644 --- a/include/mupdf/fitz/util.h +++ b/include/mupdf/fitz/util.h @@ -43,14 +43,12 @@ fz_stext_page *fz_new_stext_page_from_page_number(fz_context *ctx, fz_document * fz_stext_page *fz_new_stext_page_from_display_list(fz_context *ctx, fz_display_list *list, const fz_stext_options *options); /* - fz_new_buffer_from_stext_page: Convert structured text into plain text, cropped by the selection rectangle. - Use fz_infinite_rect to extract all the text on the page. If 'crlf' is true, lines are separated by '\r\n', - otherwise '\n'. + fz_new_buffer_from_stext_page: Convert structured text into plain text. */ -fz_buffer *fz_new_buffer_from_stext_page(fz_context *ctx, fz_stext_page *text, const fz_rect *sel, int crlf); -fz_buffer *fz_new_buffer_from_page(fz_context *ctx, fz_page *page, const fz_rect *sel, int crlf, const fz_stext_options *options); -fz_buffer *fz_new_buffer_from_page_number(fz_context *ctx, fz_document *doc, int number, const fz_rect *sel, int crlf, const fz_stext_options *options); -fz_buffer *fz_new_buffer_from_display_list(fz_context *ctx, fz_display_list *list, const fz_rect *sel, int crlf, const fz_stext_options *options); +fz_buffer *fz_new_buffer_from_stext_page(fz_context *ctx, fz_stext_page *text); +fz_buffer *fz_new_buffer_from_page(fz_context *ctx, fz_page *page, const fz_stext_options *options); +fz_buffer *fz_new_buffer_from_page_number(fz_context *ctx, fz_document *doc, int number, const fz_stext_options *options); +fz_buffer *fz_new_buffer_from_display_list(fz_context *ctx, fz_display_list *list, const fz_stext_options *options); /* fz_search_page: Search for the 'needle' text on the page. |