diff options
Diffstat (limited to 'poppler-glib/src/poppler-glib_method.defs')
-rw-r--r-- | poppler-glib/src/poppler-glib_method.defs | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/poppler-glib/src/poppler-glib_method.defs b/poppler-glib/src/poppler-glib_method.defs index 5add90c..ccd959c 100644 --- a/poppler-glib/src/poppler-glib_method.defs +++ b/poppler-glib/src/poppler-glib_method.defs @@ -392,6 +392,18 @@ ) ) +(define-flags FindFlags + (in-module "Poppler") + (c-name "PopplerFindFlags") + (gtype-id "POPPLER_TYPE_FIND_FLAGS") + (values + '("default" "POPPLER_FIND_DEFAULT") + '("case-sensitive" "POPPLER_FIND_CASE_SENSITIVE") + '("backwards" "POPPLER_FIND_BACKWARDS") + '("whole-words-only" "POPPLER_FIND_WHOLE_WORDS_ONLY") + ) +) + (define-enum Backend (in-module "Poppler") (c-name "PopplerBackend") @@ -488,6 +500,15 @@ (return-type "PopplerAnnotFlag") ) +(define-method set_flags + (of-object "PopplerAnnot") + (c-name "poppler_annot_set_flags") + (return-type "none") + (parameters + '("PopplerAnnotFlag" "flags") + ) +) + (define-method get_color (of-object "PopplerAnnot") (c-name "poppler_annot_get_color") @@ -816,6 +837,29 @@ ) ) +(define-function poppler_document_new_from_stream + (c-name "poppler_document_new_from_stream") + (return-type "PopplerDocument*") + (parameters + '("GInputStream*" "stream") + '("goffset" "length") + '("const-char*" "password") + '("GCancellable*" "cancellable") + '("GError**" "error") + ) +) + +(define-function poppler_document_new_from_gfile + (c-name "poppler_document_new_from_gfile") + (return-type "PopplerDocument*") + (parameters + '("GFile*" "file") + '("const-char*" "password") + '("GCancellable*" "cancellable") + '("GError**" "error") + ) +) + (define-method save (of-object "PopplerDocument") (c-name "poppler_document_save") @@ -1377,6 +1421,11 @@ (return-type "GType") ) +(define-function poppler_find_flags_get_type + (c-name "poppler_find_flags_get_type") + (return-type "GType") +) + (define-function poppler_backend_get_type (c-name "poppler_backend_get_type") (return-type "GType") @@ -1843,6 +1892,16 @@ ) ) +(define-method find_text_with_options + (of-object "PopplerPage") + (c-name "poppler_page_find_text_with_options") + (return-type "GList*") + (parameters + '("const-char*" "text") + '("PopplerFindFlags" "options") + ) +) + (define-method find_text (of-object "PopplerPage") (c-name "poppler_page_find_text") @@ -1981,6 +2040,15 @@ ) ) +(define-method remove_annot + (of-object "PopplerPage") + (c-name "poppler_page_remove_annot") + (return-type "none") + (parameters + '("PopplerAnnot*" "annot") + ) +) + (define-method get_crop_box (of-object "PopplerPage") (c-name "poppler_page_get_crop_box") |