diff --git a/autorelease/bindings.py b/autorelease/bindings.py index b4926d952..b44f6848d 100644 --- a/autorelease/bindings.py +++ b/autorelease/bindings.py @@ -1,19 +1,14 @@ -r"""Wrapper for fpdf_annot.h - -Generated with: -/opt/hostedtoolcache/Python/3.10.13/x64/bin/ctypesgen --library pdfium --no-srcinfo --no-macro-guards --runtime-libdirs . --no-load-library --symbol-rules if_needed=\w+_$|\w+_t$|_\w+ --headers fpdf_annot.h fpdf_attachment.h fpdf_catalog.h fpdf_dataavail.h fpdf_doc.h fpdf_edit.h fpdf_ext.h fpdf_flatten.h fpdf_formfill.h fpdf_fwlevent.h fpdf_javascript.h fpdf_ppo.h fpdf_progressive.h fpdf_save.h fpdf_searchex.h fpdf_signature.h fpdf_structtree.h fpdf_sysfontinfo.h fpdf_text.h fpdf_thumbnail.h fpdf_transformpage.h fpdfview.h -o ~/work/pypdfium2/pypdfium2/data/bindings/bindings.py - -Do not modify this file. +R""" +Auto-generated by: +ctypesgen --library pdfium --no-macro-guards --runtime-libdirs . --no-load-library -D PDF_ENABLE_V8 PDF_ENABLE_XFA PDF_USE_SKIA --symbol-rules if_needed=\w+_$|\w+_t$|_\w+ --headers fpdf_annot.h fpdf_attachment.h fpdf_catalog.h fpdf_dataavail.h fpdf_doc.h fpdf_edit.h fpdf_ext.h fpdf_flatten.h fpdf_formfill.h fpdf_fwlevent.h fpdf_javascript.h fpdf_ppo.h fpdf_progressive.h fpdf_save.h fpdf_searchex.h fpdf_signature.h fpdf_structtree.h fpdf_sysfontinfo.h fpdf_text.h fpdf_thumbnail.h fpdf_transformpage.h fpdfview.h -o ./data/bindings/bindings.py """ -# Begin preamble +# -- Begin preamble -- # TODO -# - add c_ptrdiff_t and _variadic_function only on an as-needed basis -# - check if we can remove the _variadic_function wrapper entirely and use plain ctypes instead +# - add c_ptrdiff_t only on as-needed basis # - Avoid ctypes glob import (pollutes namespace) - import ctypes from ctypes import * # noqa: F401, F403 @@ -35,31 +30,10 @@ def _get_ptrdiff_t(): c_ptrdiff_t = _get_ptrdiff_t() +# -- End preamble -- -class _variadic_function(object): - def __init__(self, func, restype, argtypes, errcheck): - self.func = func - self.func.restype = restype - self.argtypes = argtypes - if errcheck: - self.func.errcheck = errcheck - - def _as_parameter_(self): - # So we can pass this variadic function as a function pointer - return self.func - def __call__(self, *args): - fixed_args = [] - i = 0 - for argtype in self.argtypes: - # Typecheck what we can - fixed_args.append(argtype.from_param(args[i])) - i += 1 - return self.func(*fixed_args + list(args[i:])) - -# End preamble - -# Begin loader template +# -- Begin loader template -- import sys import ctypes @@ -67,206 +41,358 @@ def __call__(self, *args): import warnings import pathlib - -def _find_library(libname, libdirs, allow_system_search): +def _find_library(name, dirs, search_sys, reldir=None): if sys.platform in ("win32", "cygwin", "msys"): patterns = ["{}.dll", "lib{}.dll", "{}"] elif sys.platform == "darwin": patterns = ["lib{}.dylib", "{}.dylib", "lib{}.so", "{}.so", "{}"] - else: # assume unix pattern or plain libname + else: # assume unix pattern or plain name patterns = ["lib{}.so", "{}.so", "{}"] - try: - THIS_DIR = pathlib.Path(__file__).parent - except NameError as e: - # Issue a warning if unable to determine the containing directory. After this, it's OK to just fail with NameError below if actually attempting to resolve a relative path. - assert e.name == "__file__" - warnings.warn("Bindings not stored as file, will be unable to resolve relative dirs") + if reldir is None: + try: + reldir = pathlib.Path(__file__).parent + except NameError: + reldir = None - for dir in libdirs: + for dir in dirs: dir = pathlib.Path(dir) if not dir.is_absolute(): - # note, joining an absolute path silently discardy the path before - dir = (THIS_DIR / dir).resolve(strict=False) + # NOTE joining an absolute path silently discardy the path before + assert reldir != None, "cannot resolve relative paths without anchor point (__file__ not defined?)" + dir = (reldir/dir).resolve(strict=False) for pat in patterns: - libpath = dir / pat.format(libname) + libpath = dir / pat.format(name) if libpath.is_file(): return str(libpath) - if allow_system_search: - if libdirs: - warnings.warn(f"Could not find library '{libname}' in libdirs {libdirs}, falling back to system") - libpath = ctypes.util.find_library(libname) + if search_sys: + if dirs: + warnings.warn(f"Could not find library '{name}' in {dirs}, falling back to system") + libpath = ctypes.util.find_library(name) if not libpath: - raise ImportError(f"Could not find library '{libname}' in system") + raise ImportError(f"Could not find library '{name}' in system") return libpath else: - raise ImportError(f"Could not find library '{libname}' in libdirs {libdirs} (system search disabled)") + raise ImportError(f"Could not find library '{name}' in {dirs} (system search disabled)") + +_libs_info, _libs = {}, {} -# End loader template +def _register_library(name, dllclass, **kwargs): + libpath = _find_library(name, **kwargs) + assert libpath, "output expected from _find_library()" + _libs_info[name] = {"name": name, "dllclass": dllclass, **kwargs, "path": libpath} + _libs[name] = dllclass(libpath) -# Begin library load +# -- End loader template -- -_loader_info = {'libname': 'pdfium', 'libdirs': ['.'], 'allow_system_search': True} -_loader_info["libpath"] = _find_library(**_loader_info) -assert _loader_info["libpath"], "Could not find library with config %s" % (_loader_info, ) -_lib = ctypes.CDLL(_loader_info["libpath"]) -# End library load +# Load library 'pdfium' -# No modules +_register_library( + name = 'pdfium', + dllclass = ctypes.CDLL, + dirs = ['.'], + search_sys = True, +) + +# -- Begin header members -- + +# ./data/bindings/headers/fpdfview.h: 59 enum_anon_2 = c_int + +# ./data/bindings/headers/fpdfview.h: 59 FPDF_TEXTRENDERMODE_UNKNOWN = (-1) + +# ./data/bindings/headers/fpdfview.h: 59 FPDF_TEXTRENDERMODE_FILL = 0 + +# ./data/bindings/headers/fpdfview.h: 59 FPDF_TEXTRENDERMODE_STROKE = 1 + +# ./data/bindings/headers/fpdfview.h: 59 FPDF_TEXTRENDERMODE_FILL_STROKE = 2 + +# ./data/bindings/headers/fpdfview.h: 59 FPDF_TEXTRENDERMODE_INVISIBLE = 3 + +# ./data/bindings/headers/fpdfview.h: 59 FPDF_TEXTRENDERMODE_FILL_CLIP = 4 + +# ./data/bindings/headers/fpdfview.h: 59 FPDF_TEXTRENDERMODE_STROKE_CLIP = 5 + +# ./data/bindings/headers/fpdfview.h: 59 FPDF_TEXTRENDERMODE_FILL_STROKE_CLIP = 6 + +# ./data/bindings/headers/fpdfview.h: 59 FPDF_TEXTRENDERMODE_CLIP = 7 + +# ./data/bindings/headers/fpdfview.h: 59 FPDF_TEXTRENDERMODE_LAST = FPDF_TEXTRENDERMODE_CLIP + +# ./data/bindings/headers/fpdfview.h: 59 FPDF_TEXT_RENDERMODE = enum_anon_2 +# ./data/bindings/headers/fpdfview.h: 62 class struct_fpdf_action_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 62 FPDF_ACTION = POINTER(struct_fpdf_action_t__) +# ./data/bindings/headers/fpdfview.h: 63 class struct_fpdf_annotation_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 63 FPDF_ANNOTATION = POINTER(struct_fpdf_annotation_t__) +# ./data/bindings/headers/fpdfview.h: 64 class struct_fpdf_attachment_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 64 FPDF_ATTACHMENT = POINTER(struct_fpdf_attachment_t__) +# ./data/bindings/headers/fpdfview.h: 65 class struct_fpdf_avail_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 65 FPDF_AVAIL = POINTER(struct_fpdf_avail_t__) +# ./data/bindings/headers/fpdfview.h: 66 class struct_fpdf_bitmap_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 66 FPDF_BITMAP = POINTER(struct_fpdf_bitmap_t__) +# ./data/bindings/headers/fpdfview.h: 67 class struct_fpdf_bookmark_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 67 FPDF_BOOKMARK = POINTER(struct_fpdf_bookmark_t__) +# ./data/bindings/headers/fpdfview.h: 68 class struct_fpdf_clippath_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 68 FPDF_CLIPPATH = POINTER(struct_fpdf_clippath_t__) +# ./data/bindings/headers/fpdfview.h: 69 class struct_fpdf_dest_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 69 FPDF_DEST = POINTER(struct_fpdf_dest_t__) +# ./data/bindings/headers/fpdfview.h: 70 class struct_fpdf_document_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 70 FPDF_DOCUMENT = POINTER(struct_fpdf_document_t__) +# ./data/bindings/headers/fpdfview.h: 71 class struct_fpdf_font_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 71 FPDF_FONT = POINTER(struct_fpdf_font_t__) +# ./data/bindings/headers/fpdfview.h: 72 class struct_fpdf_form_handle_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 72 FPDF_FORMHANDLE = POINTER(struct_fpdf_form_handle_t__) +# ./data/bindings/headers/fpdfview.h: 73 class struct_fpdf_glyphpath_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 73 FPDF_GLYPHPATH = POINTER(struct_fpdf_glyphpath_t__) +# ./data/bindings/headers/fpdfview.h: 74 class struct_fpdf_javascript_action_t (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 74 FPDF_JAVASCRIPT_ACTION = POINTER(struct_fpdf_javascript_action_t) +# ./data/bindings/headers/fpdfview.h: 75 class struct_fpdf_link_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 75 FPDF_LINK = POINTER(struct_fpdf_link_t__) +# ./data/bindings/headers/fpdfview.h: 76 class struct_fpdf_page_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 76 FPDF_PAGE = POINTER(struct_fpdf_page_t__) +# ./data/bindings/headers/fpdfview.h: 77 class struct_fpdf_pagelink_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 77 FPDF_PAGELINK = POINTER(struct_fpdf_pagelink_t__) +# ./data/bindings/headers/fpdfview.h: 78 class struct_fpdf_pageobject_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 78 FPDF_PAGEOBJECT = POINTER(struct_fpdf_pageobject_t__) +# ./data/bindings/headers/fpdfview.h: 79 class struct_fpdf_pageobjectmark_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 79 FPDF_PAGEOBJECTMARK = POINTER(struct_fpdf_pageobjectmark_t__) +# ./data/bindings/headers/fpdfview.h: 80 class struct_fpdf_pagerange_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 80 FPDF_PAGERANGE = POINTER(struct_fpdf_pagerange_t__) +# ./data/bindings/headers/fpdfview.h: 81 class struct_fpdf_pathsegment_t (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 81 FPDF_PATHSEGMENT = POINTER(struct_fpdf_pathsegment_t) +# ./data/bindings/headers/fpdfview.h: 82 class struct_fpdf_schhandle_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 82 FPDF_SCHHANDLE = POINTER(struct_fpdf_schhandle_t__) +# ./data/bindings/headers/fpdfview.h: 83 class struct_fpdf_signature_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 83 FPDF_SIGNATURE = POINTER(struct_fpdf_signature_t__) + +# ./data/bindings/headers/fpdfview.h: 84 FPDF_SKIA_CANVAS = POINTER(None) +# ./data/bindings/headers/fpdfview.h: 85 class struct_fpdf_structelement_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 85 FPDF_STRUCTELEMENT = POINTER(struct_fpdf_structelement_t__) +# ./data/bindings/headers/fpdfview.h: 86 class struct_fpdf_structelement_attr_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 86 FPDF_STRUCTELEMENT_ATTR = POINTER(struct_fpdf_structelement_attr_t__) +# ./data/bindings/headers/fpdfview.h: 87 class struct_fpdf_structtree_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 87 FPDF_STRUCTTREE = POINTER(struct_fpdf_structtree_t__) +# ./data/bindings/headers/fpdfview.h: 88 class struct_fpdf_textpage_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 88 FPDF_TEXTPAGE = POINTER(struct_fpdf_textpage_t__) +# ./data/bindings/headers/fpdfview.h: 89 class struct_fpdf_widget_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 89 FPDF_WIDGET = POINTER(struct_fpdf_widget_t__) +# ./data/bindings/headers/fpdfview.h: 90 class struct_fpdf_xobject_t__ (Structure): pass + +# ./data/bindings/headers/fpdfview.h: 90 FPDF_XOBJECT = POINTER(struct_fpdf_xobject_t__) + +# ./data/bindings/headers/fpdfview.h: 93 FPDF_BOOL = c_int + +# ./data/bindings/headers/fpdfview.h: 94 FPDF_RESULT = c_int + +# ./data/bindings/headers/fpdfview.h: 95 FPDF_DWORD = c_ulong + +# ./data/bindings/headers/fpdfview.h: 96 FS_FLOAT = c_float + +# ./data/bindings/headers/fpdfview.h: 104 enum__FPDF_DUPLEXTYPE_ = c_int + +# ./data/bindings/headers/fpdfview.h: 104 DuplexUndefined = 0 + +# ./data/bindings/headers/fpdfview.h: 104 Simplex = (DuplexUndefined + 1) + +# ./data/bindings/headers/fpdfview.h: 104 DuplexFlipShortEdge = (Simplex + 1) + +# ./data/bindings/headers/fpdfview.h: 104 DuplexFlipLongEdge = (DuplexFlipShortEdge + 1) + +# ./data/bindings/headers/fpdfview.h: 104 FPDF_DUPLEXTYPE = enum__FPDF_DUPLEXTYPE_ + +# ./data/bindings/headers/fpdfview.h: 107 FPDF_WCHAR = c_ushort + +# ./data/bindings/headers/fpdfview.h: 113 FPDF_BYTESTRING = POINTER(c_char) + +# ./data/bindings/headers/fpdfview.h: 117 FPDF_WIDESTRING = POINTER(FPDF_WCHAR) +# ./data/bindings/headers/fpdfview.h: 125 class struct_FPDF_BSTR_ (Structure): __slots__ = ['str', 'len'] + struct_FPDF_BSTR_._fields_ = [ ('str', POINTER(c_char)), ('len', c_int), ] + +# ./data/bindings/headers/fpdfview.h: 125 FPDF_BSTR = struct_FPDF_BSTR_ + +# ./data/bindings/headers/fpdfview.h: 134 FPDF_STRING = POINTER(c_char) +# ./data/bindings/headers/fpdfview.h: 151 class struct__FS_MATRIX_ (Structure): __slots__ = ['a', 'b', 'c', 'd', 'e', 'f'] + struct__FS_MATRIX_._fields_ = [ ('a', c_float), ('b', c_float), @@ -275,42 +401,70 @@ class struct__FS_MATRIX_ (Structure): ('e', c_float), ('f', c_float), ] + +# ./data/bindings/headers/fpdfview.h: 151 FS_MATRIX = struct__FS_MATRIX_ +# ./data/bindings/headers/fpdfview.h: 154 class struct__FS_RECTF_ (Structure): __slots__ = ['left', 'top', 'right', 'bottom'] + struct__FS_RECTF_._fields_ = [ ('left', c_float), ('top', c_float), ('right', c_float), ('bottom', c_float), ] + +# ./data/bindings/headers/fpdfview.h: 163 FS_LPRECTF = POINTER(struct__FS_RECTF_) + +# ./data/bindings/headers/fpdfview.h: 163 FS_RECTF = struct__FS_RECTF_ + +# ./data/bindings/headers/fpdfview.h: 166 FS_LPCRECTF = POINTER(FS_RECTF) +# ./data/bindings/headers/fpdfview.h: 169 class struct_FS_SIZEF_ (Structure): __slots__ = ['width', 'height'] + struct_FS_SIZEF_._fields_ = [ ('width', c_float), ('height', c_float), ] + +# ./data/bindings/headers/fpdfview.h: 172 FS_LPSIZEF = POINTER(struct_FS_SIZEF_) + +# ./data/bindings/headers/fpdfview.h: 172 FS_SIZEF = struct_FS_SIZEF_ + +# ./data/bindings/headers/fpdfview.h: 175 FS_LPCSIZEF = POINTER(FS_SIZEF) +# ./data/bindings/headers/fpdfview.h: 178 class struct_FS_POINTF_ (Structure): __slots__ = ['x', 'y'] + struct_FS_POINTF_._fields_ = [ ('x', c_float), ('y', c_float), ] + +# ./data/bindings/headers/fpdfview.h: 181 FS_LPPOINTF = POINTER(struct_FS_POINTF_) + +# ./data/bindings/headers/fpdfview.h: 181 FS_POINTF = struct_FS_POINTF_ + +# ./data/bindings/headers/fpdfview.h: 184 FS_LPCPOINTF = POINTER(FS_POINTF) +# ./data/bindings/headers/fpdfview.h: 195 class struct__FS_QUADPOINTSF (Structure): __slots__ = ['x1', 'y1', 'x2', 'y2', 'x3', 'y3', 'x4', 'y4'] + struct__FS_QUADPOINTSF._fields_ = [ ('x1', FS_FLOAT), ('y1', FS_FLOAT), @@ -321,17 +475,35 @@ class struct__FS_QUADPOINTSF (Structure): ('x4', FS_FLOAT), ('y4', FS_FLOAT), ] + +# ./data/bindings/headers/fpdfview.h: 195 FS_QUADPOINTSF = struct__FS_QUADPOINTSF + +# ./data/bindings/headers/fpdfview.h: 198 FPDF_ANNOTATION_SUBTYPE = c_int + +# ./data/bindings/headers/fpdfview.h: 199 FPDF_ANNOT_APPEARANCEMODE = c_int + +# ./data/bindings/headers/fpdfview.h: 202 FPDF_OBJECT_TYPE = c_int + +# ./data/bindings/headers/fpdfview.h: 242 enum_anon_3 = c_int + +# ./data/bindings/headers/fpdfview.h: 242 FPDF_RENDERERTYPE_AGG = 0 + +# ./data/bindings/headers/fpdfview.h: 242 FPDF_RENDERERTYPE_SKIA = 1 + +# ./data/bindings/headers/fpdfview.h: 242 FPDF_RENDERER_TYPE = enum_anon_3 +# ./data/bindings/headers/fpdfview.h: 281 class struct_FPDF_LIBRARY_CONFIG_ (Structure): __slots__ = ['version', 'm_pUserFontPaths', 'm_pIsolate', 'm_v8EmbedderSlot', 'm_pPlatform', 'm_RendererType'] + struct_FPDF_LIBRARY_CONFIG_._fields_ = [ ('version', c_int), ('m_pUserFontPaths', POINTER(POINTER(c_char))), @@ -340,54 +512,69 @@ class struct_FPDF_LIBRARY_CONFIG_ (Structure): ('m_pPlatform', POINTER(None)), ('m_RendererType', FPDF_RENDERER_TYPE), ] + +# ./data/bindings/headers/fpdfview.h: 281 FPDF_LIBRARY_CONFIG = struct_FPDF_LIBRARY_CONFIG_ -if hasattr(_lib, "FPDF_InitLibraryWithConfig"): - FPDF_InitLibraryWithConfig = _lib.FPDF_InitLibraryWithConfig +# ./data/bindings/headers/fpdfview.h: 293 +if hasattr(_libs['pdfium'], 'FPDF_InitLibraryWithConfig'): + FPDF_InitLibraryWithConfig = _libs['pdfium']['FPDF_InitLibraryWithConfig'] FPDF_InitLibraryWithConfig.argtypes = [POINTER(FPDF_LIBRARY_CONFIG)] FPDF_InitLibraryWithConfig.restype = None -if hasattr(_lib, "FPDF_InitLibrary"): - FPDF_InitLibrary = _lib.FPDF_InitLibrary +# ./data/bindings/headers/fpdfview.h: 306 +if hasattr(_libs['pdfium'], 'FPDF_InitLibrary'): + FPDF_InitLibrary = _libs['pdfium']['FPDF_InitLibrary'] FPDF_InitLibrary.argtypes = [] FPDF_InitLibrary.restype = None -if hasattr(_lib, "FPDF_DestroyLibrary"): - FPDF_DestroyLibrary = _lib.FPDF_DestroyLibrary +# ./data/bindings/headers/fpdfview.h: 322 +if hasattr(_libs['pdfium'], 'FPDF_DestroyLibrary'): + FPDF_DestroyLibrary = _libs['pdfium']['FPDF_DestroyLibrary'] FPDF_DestroyLibrary.argtypes = [] FPDF_DestroyLibrary.restype = None -if hasattr(_lib, "FPDF_SetSandBoxPolicy"): - FPDF_SetSandBoxPolicy = _lib.FPDF_SetSandBoxPolicy +# ./data/bindings/headers/fpdfview.h: 335 +if hasattr(_libs['pdfium'], 'FPDF_SetSandBoxPolicy'): + FPDF_SetSandBoxPolicy = _libs['pdfium']['FPDF_SetSandBoxPolicy'] FPDF_SetSandBoxPolicy.argtypes = [FPDF_DWORD, FPDF_BOOL] FPDF_SetSandBoxPolicy.restype = None -if hasattr(_lib, "FPDF_LoadDocument"): - FPDF_LoadDocument = _lib.FPDF_LoadDocument +# ./data/bindings/headers/fpdfview.h: 389 +if hasattr(_libs['pdfium'], 'FPDF_LoadDocument'): + FPDF_LoadDocument = _libs['pdfium']['FPDF_LoadDocument'] FPDF_LoadDocument.argtypes = [FPDF_STRING, FPDF_BYTESTRING] FPDF_LoadDocument.restype = FPDF_DOCUMENT -if hasattr(_lib, "FPDF_LoadMemDocument"): - FPDF_LoadMemDocument = _lib.FPDF_LoadMemDocument +# ./data/bindings/headers/fpdfview.h: 413 +if hasattr(_libs['pdfium'], 'FPDF_LoadMemDocument'): + FPDF_LoadMemDocument = _libs['pdfium']['FPDF_LoadMemDocument'] FPDF_LoadMemDocument.argtypes = [POINTER(None), c_int, FPDF_BYTESTRING] FPDF_LoadMemDocument.restype = FPDF_DOCUMENT -if hasattr(_lib, "FPDF_LoadMemDocument64"): - FPDF_LoadMemDocument64 = _lib.FPDF_LoadMemDocument64 +# ./data/bindings/headers/fpdfview.h: 438 +if hasattr(_libs['pdfium'], 'FPDF_LoadMemDocument64'): + FPDF_LoadMemDocument64 = _libs['pdfium']['FPDF_LoadMemDocument64'] FPDF_LoadMemDocument64.argtypes = [POINTER(None), c_size_t, FPDF_BYTESTRING] FPDF_LoadMemDocument64.restype = FPDF_DOCUMENT +# ./data/bindings/headers/fpdfview.h: 462 class struct_anon_4 (Structure): __slots__ = ['m_FileLen', 'm_GetBlock', 'm_Param'] + struct_anon_4._fields_ = [ ('m_FileLen', c_ulong), ('m_GetBlock', CFUNCTYPE(c_int, POINTER(None), c_ulong, POINTER(c_ubyte), c_ulong)), ('m_Param', POINTER(None)), ] + +# ./data/bindings/headers/fpdfview.h: 462 FPDF_FILEACCESS = struct_anon_4 +# ./data/bindings/headers/fpdfview.h: 558 class struct_FPDF_FILEHANDLER_ (Structure): __slots__ = ['clientData', 'Release', 'GetSize', 'ReadBlock', 'WriteBlock', 'Flush', 'Truncate'] + struct_FPDF_FILEHANDLER_._fields_ = [ ('clientData', POINTER(None)), ('Release', CFUNCTYPE(None, POINTER(None))), @@ -397,246 +584,334 @@ class struct_FPDF_FILEHANDLER_ (Structure): ('Flush', CFUNCTYPE(FPDF_RESULT, POINTER(None))), ('Truncate', CFUNCTYPE(FPDF_RESULT, POINTER(None), FPDF_DWORD)), ] + +# ./data/bindings/headers/fpdfview.h: 558 FPDF_FILEHANDLER = struct_FPDF_FILEHANDLER_ -if hasattr(_lib, "FPDF_LoadCustomDocument"): - FPDF_LoadCustomDocument = _lib.FPDF_LoadCustomDocument +# ./data/bindings/headers/fpdfview.h: 581 +if hasattr(_libs['pdfium'], 'FPDF_LoadCustomDocument'): + FPDF_LoadCustomDocument = _libs['pdfium']['FPDF_LoadCustomDocument'] FPDF_LoadCustomDocument.argtypes = [POINTER(FPDF_FILEACCESS), FPDF_BYTESTRING] FPDF_LoadCustomDocument.restype = FPDF_DOCUMENT -if hasattr(_lib, "FPDF_GetFileVersion"): - FPDF_GetFileVersion = _lib.FPDF_GetFileVersion +# ./data/bindings/headers/fpdfview.h: 594 +if hasattr(_libs['pdfium'], 'FPDF_GetFileVersion'): + FPDF_GetFileVersion = _libs['pdfium']['FPDF_GetFileVersion'] FPDF_GetFileVersion.argtypes = [FPDF_DOCUMENT, POINTER(c_int)] FPDF_GetFileVersion.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_GetLastError"): - FPDF_GetLastError = _lib.FPDF_GetLastError +# ./data/bindings/headers/fpdfview.h: 619 +if hasattr(_libs['pdfium'], 'FPDF_GetLastError'): + FPDF_GetLastError = _libs['pdfium']['FPDF_GetLastError'] FPDF_GetLastError.argtypes = [] FPDF_GetLastError.restype = c_ulong -if hasattr(_lib, "FPDF_DocumentHasValidCrossReferenceTable"): - FPDF_DocumentHasValidCrossReferenceTable = _lib.FPDF_DocumentHasValidCrossReferenceTable +# ./data/bindings/headers/fpdfview.h: 634 +if hasattr(_libs['pdfium'], 'FPDF_DocumentHasValidCrossReferenceTable'): + FPDF_DocumentHasValidCrossReferenceTable = _libs['pdfium']['FPDF_DocumentHasValidCrossReferenceTable'] FPDF_DocumentHasValidCrossReferenceTable.argtypes = [FPDF_DOCUMENT] FPDF_DocumentHasValidCrossReferenceTable.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_GetTrailerEnds"): - FPDF_GetTrailerEnds = _lib.FPDF_GetTrailerEnds +# ./data/bindings/headers/fpdfview.h: 651 +if hasattr(_libs['pdfium'], 'FPDF_GetTrailerEnds'): + FPDF_GetTrailerEnds = _libs['pdfium']['FPDF_GetTrailerEnds'] FPDF_GetTrailerEnds.argtypes = [FPDF_DOCUMENT, POINTER(c_uint), c_ulong] FPDF_GetTrailerEnds.restype = c_ulong -if hasattr(_lib, "FPDF_GetDocPermissions"): - FPDF_GetDocPermissions = _lib.FPDF_GetDocPermissions +# ./data/bindings/headers/fpdfview.h: 664 +if hasattr(_libs['pdfium'], 'FPDF_GetDocPermissions'): + FPDF_GetDocPermissions = _libs['pdfium']['FPDF_GetDocPermissions'] FPDF_GetDocPermissions.argtypes = [FPDF_DOCUMENT] FPDF_GetDocPermissions.restype = c_ulong -if hasattr(_lib, "FPDF_GetDocUserPermissions"): - FPDF_GetDocUserPermissions = _lib.FPDF_GetDocUserPermissions +# ./data/bindings/headers/fpdfview.h: 676 +if hasattr(_libs['pdfium'], 'FPDF_GetDocUserPermissions'): + FPDF_GetDocUserPermissions = _libs['pdfium']['FPDF_GetDocUserPermissions'] FPDF_GetDocUserPermissions.argtypes = [FPDF_DOCUMENT] FPDF_GetDocUserPermissions.restype = c_ulong -if hasattr(_lib, "FPDF_GetSecurityHandlerRevision"): - FPDF_GetSecurityHandlerRevision = _lib.FPDF_GetSecurityHandlerRevision +# ./data/bindings/headers/fpdfview.h: 687 +if hasattr(_libs['pdfium'], 'FPDF_GetSecurityHandlerRevision'): + FPDF_GetSecurityHandlerRevision = _libs['pdfium']['FPDF_GetSecurityHandlerRevision'] FPDF_GetSecurityHandlerRevision.argtypes = [FPDF_DOCUMENT] FPDF_GetSecurityHandlerRevision.restype = c_int -if hasattr(_lib, "FPDF_GetPageCount"): - FPDF_GetPageCount = _lib.FPDF_GetPageCount +# ./data/bindings/headers/fpdfview.h: 695 +if hasattr(_libs['pdfium'], 'FPDF_GetPageCount'): + FPDF_GetPageCount = _libs['pdfium']['FPDF_GetPageCount'] FPDF_GetPageCount.argtypes = [FPDF_DOCUMENT] FPDF_GetPageCount.restype = c_int -if hasattr(_lib, "FPDF_LoadPage"): - FPDF_LoadPage = _lib.FPDF_LoadPage +# ./data/bindings/headers/fpdfview.h: 707 +if hasattr(_libs['pdfium'], 'FPDF_LoadPage'): + FPDF_LoadPage = _libs['pdfium']['FPDF_LoadPage'] FPDF_LoadPage.argtypes = [FPDF_DOCUMENT, c_int] FPDF_LoadPage.restype = FPDF_PAGE -if hasattr(_lib, "FPDF_GetPageWidthF"): - FPDF_GetPageWidthF = _lib.FPDF_GetPageWidthF +# ./data/bindings/headers/fpdfview.h: 718 +if hasattr(_libs['pdfium'], 'FPDF_GetPageWidthF'): + FPDF_GetPageWidthF = _libs['pdfium']['FPDF_GetPageWidthF'] FPDF_GetPageWidthF.argtypes = [FPDF_PAGE] FPDF_GetPageWidthF.restype = c_float -if hasattr(_lib, "FPDF_GetPageWidth"): - FPDF_GetPageWidth = _lib.FPDF_GetPageWidth +# ./data/bindings/headers/fpdfview.h: 730 +if hasattr(_libs['pdfium'], 'FPDF_GetPageWidth'): + FPDF_GetPageWidth = _libs['pdfium']['FPDF_GetPageWidth'] FPDF_GetPageWidth.argtypes = [FPDF_PAGE] FPDF_GetPageWidth.restype = c_double -if hasattr(_lib, "FPDF_GetPageHeightF"): - FPDF_GetPageHeightF = _lib.FPDF_GetPageHeightF +# ./data/bindings/headers/fpdfview.h: 740 +if hasattr(_libs['pdfium'], 'FPDF_GetPageHeightF'): + FPDF_GetPageHeightF = _libs['pdfium']['FPDF_GetPageHeightF'] FPDF_GetPageHeightF.argtypes = [FPDF_PAGE] FPDF_GetPageHeightF.restype = c_float -if hasattr(_lib, "FPDF_GetPageHeight"): - FPDF_GetPageHeight = _lib.FPDF_GetPageHeight +# ./data/bindings/headers/fpdfview.h: 752 +if hasattr(_libs['pdfium'], 'FPDF_GetPageHeight'): + FPDF_GetPageHeight = _libs['pdfium']['FPDF_GetPageHeight'] FPDF_GetPageHeight.argtypes = [FPDF_PAGE] FPDF_GetPageHeight.restype = c_double -if hasattr(_lib, "FPDF_GetPageBoundingBox"): - FPDF_GetPageBoundingBox = _lib.FPDF_GetPageBoundingBox +# ./data/bindings/headers/fpdfview.h: 764 +if hasattr(_libs['pdfium'], 'FPDF_GetPageBoundingBox'): + FPDF_GetPageBoundingBox = _libs['pdfium']['FPDF_GetPageBoundingBox'] FPDF_GetPageBoundingBox.argtypes = [FPDF_PAGE, POINTER(FS_RECTF)] FPDF_GetPageBoundingBox.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_GetPageSizeByIndexF"): - FPDF_GetPageSizeByIndexF = _lib.FPDF_GetPageSizeByIndexF +# ./data/bindings/headers/fpdfview.h: 778 +if hasattr(_libs['pdfium'], 'FPDF_GetPageSizeByIndexF'): + FPDF_GetPageSizeByIndexF = _libs['pdfium']['FPDF_GetPageSizeByIndexF'] FPDF_GetPageSizeByIndexF.argtypes = [FPDF_DOCUMENT, c_int, POINTER(FS_SIZEF)] FPDF_GetPageSizeByIndexF.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_GetPageSizeByIndex"): - FPDF_GetPageSizeByIndex = _lib.FPDF_GetPageSizeByIndex +# ./data/bindings/headers/fpdfview.h: 796 +if hasattr(_libs['pdfium'], 'FPDF_GetPageSizeByIndex'): + FPDF_GetPageSizeByIndex = _libs['pdfium']['FPDF_GetPageSizeByIndex'] FPDF_GetPageSizeByIndex.argtypes = [FPDF_DOCUMENT, c_int, POINTER(c_double), POINTER(c_double)] FPDF_GetPageSizeByIndex.restype = c_int +# ./data/bindings/headers/fpdfview.h: 844 class struct_FPDF_COLORSCHEME_ (Structure): __slots__ = ['path_fill_color', 'path_stroke_color', 'text_fill_color', 'text_stroke_color'] + struct_FPDF_COLORSCHEME_._fields_ = [ ('path_fill_color', FPDF_DWORD), ('path_stroke_color', FPDF_DWORD), ('text_fill_color', FPDF_DWORD), ('text_stroke_color', FPDF_DWORD), ] + +# ./data/bindings/headers/fpdfview.h: 844 FPDF_COLORSCHEME = struct_FPDF_COLORSCHEME_ -if hasattr(_lib, "FPDF_RenderPageBitmap"): - FPDF_RenderPageBitmap = _lib.FPDF_RenderPageBitmap +# ./data/bindings/headers/fpdfview.h: 904 +if hasattr(_libs['pdfium'], 'FPDF_RenderPageBitmap'): + FPDF_RenderPageBitmap = _libs['pdfium']['FPDF_RenderPageBitmap'] FPDF_RenderPageBitmap.argtypes = [FPDF_BITMAP, FPDF_PAGE, c_int, c_int, c_int, c_int, c_int, c_int] FPDF_RenderPageBitmap.restype = None -if hasattr(_lib, "FPDF_RenderPageBitmapWithMatrix"): - FPDF_RenderPageBitmapWithMatrix = _lib.FPDF_RenderPageBitmapWithMatrix +# ./data/bindings/headers/fpdfview.h: 932 +if hasattr(_libs['pdfium'], 'FPDF_RenderPageBitmapWithMatrix'): + FPDF_RenderPageBitmapWithMatrix = _libs['pdfium']['FPDF_RenderPageBitmapWithMatrix'] FPDF_RenderPageBitmapWithMatrix.argtypes = [FPDF_BITMAP, FPDF_PAGE, POINTER(FS_MATRIX), POINTER(FS_RECTF), c_int] FPDF_RenderPageBitmapWithMatrix.restype = None -if hasattr(_lib, "FPDF_ClosePage"): - FPDF_ClosePage = _lib.FPDF_ClosePage +# ./data/bindings/headers/fpdfview.h: 949 +if hasattr(_libs['pdfium'], 'FPDF_RenderPageSkia'): + FPDF_RenderPageSkia = _libs['pdfium']['FPDF_RenderPageSkia'] + FPDF_RenderPageSkia.argtypes = [FPDF_SKIA_CANVAS, FPDF_PAGE, c_int, c_int] + FPDF_RenderPageSkia.restype = None + +# ./data/bindings/headers/fpdfview.h: 961 +if hasattr(_libs['pdfium'], 'FPDF_ClosePage'): + FPDF_ClosePage = _libs['pdfium']['FPDF_ClosePage'] FPDF_ClosePage.argtypes = [FPDF_PAGE] FPDF_ClosePage.restype = None -if hasattr(_lib, "FPDF_CloseDocument"): - FPDF_CloseDocument = _lib.FPDF_CloseDocument +# ./data/bindings/headers/fpdfview.h: 969 +if hasattr(_libs['pdfium'], 'FPDF_CloseDocument'): + FPDF_CloseDocument = _libs['pdfium']['FPDF_CloseDocument'] FPDF_CloseDocument.argtypes = [FPDF_DOCUMENT] FPDF_CloseDocument.restype = None -if hasattr(_lib, "FPDF_DeviceToPage"): - FPDF_DeviceToPage = _lib.FPDF_DeviceToPage +# ./data/bindings/headers/fpdfview.h: 1012 +if hasattr(_libs['pdfium'], 'FPDF_DeviceToPage'): + FPDF_DeviceToPage = _libs['pdfium']['FPDF_DeviceToPage'] FPDF_DeviceToPage.argtypes = [FPDF_PAGE, c_int, c_int, c_int, c_int, c_int, c_int, c_int, POINTER(c_double), POINTER(c_double)] FPDF_DeviceToPage.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_PageToDevice"): - FPDF_PageToDevice = _lib.FPDF_PageToDevice +# ./data/bindings/headers/fpdfview.h: 1049 +if hasattr(_libs['pdfium'], 'FPDF_PageToDevice'): + FPDF_PageToDevice = _libs['pdfium']['FPDF_PageToDevice'] FPDF_PageToDevice.argtypes = [FPDF_PAGE, c_int, c_int, c_int, c_int, c_int, c_double, c_double, POINTER(c_int), POINTER(c_int)] FPDF_PageToDevice.restype = FPDF_BOOL -if hasattr(_lib, "FPDFBitmap_Create"): - FPDFBitmap_Create = _lib.FPDFBitmap_Create +# ./data/bindings/headers/fpdfview.h: 1090 +if hasattr(_libs['pdfium'], 'FPDFBitmap_Create'): + FPDFBitmap_Create = _libs['pdfium']['FPDFBitmap_Create'] FPDFBitmap_Create.argtypes = [c_int, c_int, c_int] FPDFBitmap_Create.restype = FPDF_BITMAP -if hasattr(_lib, "FPDFBitmap_CreateEx"): - FPDFBitmap_CreateEx = _lib.FPDFBitmap_CreateEx +# ./data/bindings/headers/fpdfview.h: 1139 +if hasattr(_libs['pdfium'], 'FPDFBitmap_CreateEx'): + FPDFBitmap_CreateEx = _libs['pdfium']['FPDFBitmap_CreateEx'] FPDFBitmap_CreateEx.argtypes = [c_int, c_int, c_int, POINTER(None), c_int] FPDFBitmap_CreateEx.restype = FPDF_BITMAP -if hasattr(_lib, "FPDFBitmap_GetFormat"): - FPDFBitmap_GetFormat = _lib.FPDFBitmap_GetFormat +# ./data/bindings/headers/fpdfview.h: 1155 +if hasattr(_libs['pdfium'], 'FPDFBitmap_GetFormat'): + FPDFBitmap_GetFormat = _libs['pdfium']['FPDFBitmap_GetFormat'] FPDFBitmap_GetFormat.argtypes = [FPDF_BITMAP] FPDFBitmap_GetFormat.restype = c_int -if hasattr(_lib, "FPDFBitmap_FillRect"): - FPDFBitmap_FillRect = _lib.FPDFBitmap_FillRect +# ./data/bindings/headers/fpdfview.h: 1181 +if hasattr(_libs['pdfium'], 'FPDFBitmap_FillRect'): + FPDFBitmap_FillRect = _libs['pdfium']['FPDFBitmap_FillRect'] FPDFBitmap_FillRect.argtypes = [FPDF_BITMAP, c_int, c_int, c_int, c_int, FPDF_DWORD] FPDFBitmap_FillRect.restype = None -if hasattr(_lib, "FPDFBitmap_GetBuffer"): - FPDFBitmap_GetBuffer = _lib.FPDFBitmap_GetBuffer +# ./data/bindings/headers/fpdfview.h: 1203 +if hasattr(_libs['pdfium'], 'FPDFBitmap_GetBuffer'): + FPDFBitmap_GetBuffer = _libs['pdfium']['FPDFBitmap_GetBuffer'] FPDFBitmap_GetBuffer.argtypes = [FPDF_BITMAP] - FPDFBitmap_GetBuffer.restype = POINTER(c_ubyte) - FPDFBitmap_GetBuffer.errcheck = lambda v,*a : cast(v, c_void_p) + FPDFBitmap_GetBuffer.restype = POINTER(None) -if hasattr(_lib, "FPDFBitmap_GetWidth"): - FPDFBitmap_GetWidth = _lib.FPDFBitmap_GetWidth +# ./data/bindings/headers/fpdfview.h: 1212 +if hasattr(_libs['pdfium'], 'FPDFBitmap_GetWidth'): + FPDFBitmap_GetWidth = _libs['pdfium']['FPDFBitmap_GetWidth'] FPDFBitmap_GetWidth.argtypes = [FPDF_BITMAP] FPDFBitmap_GetWidth.restype = c_int -if hasattr(_lib, "FPDFBitmap_GetHeight"): - FPDFBitmap_GetHeight = _lib.FPDFBitmap_GetHeight +# ./data/bindings/headers/fpdfview.h: 1221 +if hasattr(_libs['pdfium'], 'FPDFBitmap_GetHeight'): + FPDFBitmap_GetHeight = _libs['pdfium']['FPDFBitmap_GetHeight'] FPDFBitmap_GetHeight.argtypes = [FPDF_BITMAP] FPDFBitmap_GetHeight.restype = c_int -if hasattr(_lib, "FPDFBitmap_GetStride"): - FPDFBitmap_GetStride = _lib.FPDFBitmap_GetStride +# ./data/bindings/headers/fpdfview.h: 1232 +if hasattr(_libs['pdfium'], 'FPDFBitmap_GetStride'): + FPDFBitmap_GetStride = _libs['pdfium']['FPDFBitmap_GetStride'] FPDFBitmap_GetStride.argtypes = [FPDF_BITMAP] FPDFBitmap_GetStride.restype = c_int -if hasattr(_lib, "FPDFBitmap_Destroy"): - FPDFBitmap_Destroy = _lib.FPDFBitmap_Destroy +# ./data/bindings/headers/fpdfview.h: 1244 +if hasattr(_libs['pdfium'], 'FPDFBitmap_Destroy'): + FPDFBitmap_Destroy = _libs['pdfium']['FPDFBitmap_Destroy'] FPDFBitmap_Destroy.argtypes = [FPDF_BITMAP] FPDFBitmap_Destroy.restype = None -if hasattr(_lib, "FPDF_VIEWERREF_GetPrintScaling"): - FPDF_VIEWERREF_GetPrintScaling = _lib.FPDF_VIEWERREF_GetPrintScaling +# ./data/bindings/headers/fpdfview.h: 1253 +if hasattr(_libs['pdfium'], 'FPDF_VIEWERREF_GetPrintScaling'): + FPDF_VIEWERREF_GetPrintScaling = _libs['pdfium']['FPDF_VIEWERREF_GetPrintScaling'] FPDF_VIEWERREF_GetPrintScaling.argtypes = [FPDF_DOCUMENT] FPDF_VIEWERREF_GetPrintScaling.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_VIEWERREF_GetNumCopies"): - FPDF_VIEWERREF_GetNumCopies = _lib.FPDF_VIEWERREF_GetNumCopies +# ./data/bindings/headers/fpdfview.h: 1262 +if hasattr(_libs['pdfium'], 'FPDF_VIEWERREF_GetNumCopies'): + FPDF_VIEWERREF_GetNumCopies = _libs['pdfium']['FPDF_VIEWERREF_GetNumCopies'] FPDF_VIEWERREF_GetNumCopies.argtypes = [FPDF_DOCUMENT] FPDF_VIEWERREF_GetNumCopies.restype = c_int -if hasattr(_lib, "FPDF_VIEWERREF_GetPrintPageRange"): - FPDF_VIEWERREF_GetPrintPageRange = _lib.FPDF_VIEWERREF_GetPrintPageRange +# ./data/bindings/headers/fpdfview.h: 1271 +if hasattr(_libs['pdfium'], 'FPDF_VIEWERREF_GetPrintPageRange'): + FPDF_VIEWERREF_GetPrintPageRange = _libs['pdfium']['FPDF_VIEWERREF_GetPrintPageRange'] FPDF_VIEWERREF_GetPrintPageRange.argtypes = [FPDF_DOCUMENT] FPDF_VIEWERREF_GetPrintPageRange.restype = FPDF_PAGERANGE -if hasattr(_lib, "FPDF_VIEWERREF_GetPrintPageRangeCount"): - FPDF_VIEWERREF_GetPrintPageRangeCount = _lib.FPDF_VIEWERREF_GetPrintPageRangeCount +# ./data/bindings/headers/fpdfview.h: 1281 +if hasattr(_libs['pdfium'], 'FPDF_VIEWERREF_GetPrintPageRangeCount'): + FPDF_VIEWERREF_GetPrintPageRangeCount = _libs['pdfium']['FPDF_VIEWERREF_GetPrintPageRangeCount'] FPDF_VIEWERREF_GetPrintPageRangeCount.argtypes = [FPDF_PAGERANGE] FPDF_VIEWERREF_GetPrintPageRangeCount.restype = c_size_t -if hasattr(_lib, "FPDF_VIEWERREF_GetPrintPageRangeElement"): - FPDF_VIEWERREF_GetPrintPageRangeElement = _lib.FPDF_VIEWERREF_GetPrintPageRangeElement +# ./data/bindings/headers/fpdfview.h: 1293 +if hasattr(_libs['pdfium'], 'FPDF_VIEWERREF_GetPrintPageRangeElement'): + FPDF_VIEWERREF_GetPrintPageRangeElement = _libs['pdfium']['FPDF_VIEWERREF_GetPrintPageRangeElement'] FPDF_VIEWERREF_GetPrintPageRangeElement.argtypes = [FPDF_PAGERANGE, c_size_t] FPDF_VIEWERREF_GetPrintPageRangeElement.restype = c_int -if hasattr(_lib, "FPDF_VIEWERREF_GetDuplex"): - FPDF_VIEWERREF_GetDuplex = _lib.FPDF_VIEWERREF_GetDuplex +# ./data/bindings/headers/fpdfview.h: 1303 +if hasattr(_libs['pdfium'], 'FPDF_VIEWERREF_GetDuplex'): + FPDF_VIEWERREF_GetDuplex = _libs['pdfium']['FPDF_VIEWERREF_GetDuplex'] FPDF_VIEWERREF_GetDuplex.argtypes = [FPDF_DOCUMENT] FPDF_VIEWERREF_GetDuplex.restype = FPDF_DUPLEXTYPE -if hasattr(_lib, "FPDF_VIEWERREF_GetName"): - FPDF_VIEWERREF_GetName = _lib.FPDF_VIEWERREF_GetName +# ./data/bindings/headers/fpdfview.h: 1321 +if hasattr(_libs['pdfium'], 'FPDF_VIEWERREF_GetName'): + FPDF_VIEWERREF_GetName = _libs['pdfium']['FPDF_VIEWERREF_GetName'] FPDF_VIEWERREF_GetName.argtypes = [FPDF_DOCUMENT, FPDF_BYTESTRING, POINTER(c_char), c_ulong] FPDF_VIEWERREF_GetName.restype = c_ulong -if hasattr(_lib, "FPDF_CountNamedDests"): - FPDF_CountNamedDests = _lib.FPDF_CountNamedDests +# ./data/bindings/headers/fpdfview.h: 1333 +if hasattr(_libs['pdfium'], 'FPDF_CountNamedDests'): + FPDF_CountNamedDests = _libs['pdfium']['FPDF_CountNamedDests'] FPDF_CountNamedDests.argtypes = [FPDF_DOCUMENT] FPDF_CountNamedDests.restype = FPDF_DWORD -if hasattr(_lib, "FPDF_GetNamedDestByName"): - FPDF_GetNamedDestByName = _lib.FPDF_GetNamedDestByName +# ./data/bindings/headers/fpdfview.h: 1343 +if hasattr(_libs['pdfium'], 'FPDF_GetNamedDestByName'): + FPDF_GetNamedDestByName = _libs['pdfium']['FPDF_GetNamedDestByName'] FPDF_GetNamedDestByName.argtypes = [FPDF_DOCUMENT, FPDF_BYTESTRING] FPDF_GetNamedDestByName.restype = FPDF_DEST -if hasattr(_lib, "FPDF_GetNamedDest"): - FPDF_GetNamedDest = _lib.FPDF_GetNamedDest +# ./data/bindings/headers/fpdfview.h: 1366 +if hasattr(_libs['pdfium'], 'FPDF_GetNamedDest'): + FPDF_GetNamedDest = _libs['pdfium']['FPDF_GetNamedDest'] FPDF_GetNamedDest.argtypes = [FPDF_DOCUMENT, c_int, POINTER(None), POINTER(c_long)] FPDF_GetNamedDest.restype = FPDF_DEST -if hasattr(_lib, "FPDF_GetXFAPacketCount"): - FPDF_GetXFAPacketCount = _lib.FPDF_GetXFAPacketCount +# ./data/bindings/headers/fpdfview.h: 1378 +if hasattr(_libs['pdfium'], 'FPDF_GetXFAPacketCount'): + FPDF_GetXFAPacketCount = _libs['pdfium']['FPDF_GetXFAPacketCount'] FPDF_GetXFAPacketCount.argtypes = [FPDF_DOCUMENT] FPDF_GetXFAPacketCount.restype = c_int -if hasattr(_lib, "FPDF_GetXFAPacketName"): - FPDF_GetXFAPacketName = _lib.FPDF_GetXFAPacketName +# ./data/bindings/headers/fpdfview.h: 1396 +if hasattr(_libs['pdfium'], 'FPDF_GetXFAPacketName'): + FPDF_GetXFAPacketName = _libs['pdfium']['FPDF_GetXFAPacketName'] FPDF_GetXFAPacketName.argtypes = [FPDF_DOCUMENT, c_int, POINTER(None), c_ulong] FPDF_GetXFAPacketName.restype = c_ulong -if hasattr(_lib, "FPDF_GetXFAPacketContent"): - FPDF_GetXFAPacketContent = _lib.FPDF_GetXFAPacketContent +# ./data/bindings/headers/fpdfview.h: 1423 +if hasattr(_libs['pdfium'], 'FPDF_GetXFAPacketContent'): + FPDF_GetXFAPacketContent = _libs['pdfium']['FPDF_GetXFAPacketContent'] FPDF_GetXFAPacketContent.argtypes = [FPDF_DOCUMENT, c_int, POINTER(None), c_ulong, POINTER(c_ulong)] FPDF_GetXFAPacketContent.restype = FPDF_BOOL +# ./data/bindings/headers/fpdfview.h: 1440 +if hasattr(_libs['pdfium'], 'FPDF_GetRecommendedV8Flags'): + FPDF_GetRecommendedV8Flags = _libs['pdfium']['FPDF_GetRecommendedV8Flags'] + FPDF_GetRecommendedV8Flags.argtypes = [] + FPDF_GetRecommendedV8Flags.restype = POINTER(c_char) + +# ./data/bindings/headers/fpdfview.h: 1455 +if hasattr(_libs['pdfium'], 'FPDF_GetArrayBufferAllocatorSharedInstance'): + FPDF_GetArrayBufferAllocatorSharedInstance = _libs['pdfium']['FPDF_GetArrayBufferAllocatorSharedInstance'] + FPDF_GetArrayBufferAllocatorSharedInstance.argtypes = [] + FPDF_GetArrayBufferAllocatorSharedInstance.restype = POINTER(None) + +# ./data/bindings/headers/fpdfview.h: 1461 +if hasattr(_libs['pdfium'], 'FPDF_BStr_Init'): + FPDF_BStr_Init = _libs['pdfium']['FPDF_BStr_Init'] + FPDF_BStr_Init.argtypes = [POINTER(FPDF_BSTR)] + FPDF_BStr_Init.restype = FPDF_RESULT + +# ./data/bindings/headers/fpdfview.h: 1465 +if hasattr(_libs['pdfium'], 'FPDF_BStr_Set'): + FPDF_BStr_Set = _libs['pdfium']['FPDF_BStr_Set'] + FPDF_BStr_Set.argtypes = [POINTER(FPDF_BSTR), POINTER(c_char), c_int] + FPDF_BStr_Set.restype = FPDF_RESULT + +# ./data/bindings/headers/fpdfview.h: 1471 +if hasattr(_libs['pdfium'], 'FPDF_BStr_Clear'): + FPDF_BStr_Clear = _libs['pdfium']['FPDF_BStr_Clear'] + FPDF_BStr_Clear.argtypes = [POINTER(FPDF_BSTR)] + FPDF_BStr_Clear.restype = FPDF_RESULT + +# ./data/bindings/headers/fpdf_formfill.h: 52 class struct__IPDF_JsPlatform (Structure): __slots__ = ['version', 'app_alert', 'app_beep', 'app_response', 'Doc_getFilePath', 'Doc_mail', 'Doc_print', 'Doc_submitForm', 'Doc_gotoPage', 'Field_browse', 'm_pFormfillinfo', 'm_isolate', 'm_v8EmbedderSlot'] + struct__IPDF_JsPlatform._fields_ = [ ('version', c_int), ('app_alert', CFUNCTYPE(c_int, POINTER(struct__IPDF_JsPlatform), FPDF_WIDESTRING, FPDF_WIDESTRING, c_int, c_int)), @@ -652,11 +927,17 @@ class struct__IPDF_JsPlatform (Structure): ('m_isolate', POINTER(None)), ('m_v8EmbedderSlot', c_uint), ] + +# ./data/bindings/headers/fpdf_formfill.h: 323 IPDF_JSPLATFORM = struct__IPDF_JsPlatform + +# ./data/bindings/headers/fpdf_formfill.h: 341 TimerCallback = CFUNCTYPE(None, c_int) +# ./data/bindings/headers/fpdf_formfill.h: 355 class struct__FPDF_SYSTEMTIME (Structure): __slots__ = ['wYear', 'wMonth', 'wDayOfWeek', 'wDay', 'wHour', 'wMinute', 'wSecond', 'wMilliseconds'] + struct__FPDF_SYSTEMTIME._fields_ = [ ('wYear', c_ushort), ('wMonth', c_ushort), @@ -667,10 +948,14 @@ class struct__FPDF_SYSTEMTIME (Structure): ('wSecond', c_ushort), ('wMilliseconds', c_ushort), ] + +# ./data/bindings/headers/fpdf_formfill.h: 355 FPDF_SYSTEMTIME = struct__FPDF_SYSTEMTIME +# ./data/bindings/headers/fpdf_formfill.h: 377 class struct__FPDF_FORMFILLINFO (Structure): __slots__ = ['version', 'Release', 'FFI_Invalidate', 'FFI_OutputSelectedRect', 'FFI_SetCursor', 'FFI_SetTimer', 'FFI_KillTimer', 'FFI_GetLocalTime', 'FFI_OnChange', 'FFI_GetPage', 'FFI_GetCurrentPage', 'FFI_GetRotation', 'FFI_ExecuteNamedAction', 'FFI_SetTextFieldFocus', 'FFI_DoURIAction', 'FFI_DoGoToAction', 'm_pJsPlatform', 'xfa_disabled', 'FFI_DisplayCaret', 'FFI_GetCurrentPageIndex', 'FFI_SetCurrentPage', 'FFI_GotoURL', 'FFI_GetPageViewRect', 'FFI_PageEvent', 'FFI_PopupMenu', 'FFI_OpenFile', 'FFI_EmailTo', 'FFI_UploadTo', 'FFI_GetPlatform', 'FFI_GetLanguage', 'FFI_DownloadFromURL', 'FFI_PostRequestURL', 'FFI_PutRequestURL', 'FFI_OnFocusChange', 'FFI_DoURIActionWithKeyboardModifier'] + struct__FPDF_FORMFILLINFO._fields_ = [ ('version', c_int), ('Release', CFUNCTYPE(None, POINTER(struct__FPDF_FORMFILLINFO))), @@ -708,786 +993,983 @@ class struct__FPDF_FORMFILLINFO (Structure): ('FFI_OnFocusChange', CFUNCTYPE(None, POINTER(struct__FPDF_FORMFILLINFO), FPDF_ANNOTATION, c_int)), ('FFI_DoURIActionWithKeyboardModifier', CFUNCTYPE(None, POINTER(struct__FPDF_FORMFILLINFO), FPDF_BYTESTRING, c_int)), ] + +# ./data/bindings/headers/fpdf_formfill.h: 1139 FPDF_FORMFILLINFO = struct__FPDF_FORMFILLINFO -if hasattr(_lib, "FPDFDOC_InitFormFillEnvironment"): - FPDFDOC_InitFormFillEnvironment = _lib.FPDFDOC_InitFormFillEnvironment +# ./data/bindings/headers/fpdf_formfill.h: 1155 +if hasattr(_libs['pdfium'], 'FPDFDOC_InitFormFillEnvironment'): + FPDFDOC_InitFormFillEnvironment = _libs['pdfium']['FPDFDOC_InitFormFillEnvironment'] FPDFDOC_InitFormFillEnvironment.argtypes = [FPDF_DOCUMENT, POINTER(FPDF_FORMFILLINFO)] FPDFDOC_InitFormFillEnvironment.restype = FPDF_FORMHANDLE -if hasattr(_lib, "FPDFDOC_ExitFormFillEnvironment"): - FPDFDOC_ExitFormFillEnvironment = _lib.FPDFDOC_ExitFormFillEnvironment +# ./data/bindings/headers/fpdf_formfill.h: 1170 +if hasattr(_libs['pdfium'], 'FPDFDOC_ExitFormFillEnvironment'): + FPDFDOC_ExitFormFillEnvironment = _libs['pdfium']['FPDFDOC_ExitFormFillEnvironment'] FPDFDOC_ExitFormFillEnvironment.argtypes = [FPDF_FORMHANDLE] FPDFDOC_ExitFormFillEnvironment.restype = None -if hasattr(_lib, "FORM_OnAfterLoadPage"): - FORM_OnAfterLoadPage = _lib.FORM_OnAfterLoadPage +# ./data/bindings/headers/fpdf_formfill.h: 1183 +if hasattr(_libs['pdfium'], 'FORM_OnAfterLoadPage'): + FORM_OnAfterLoadPage = _libs['pdfium']['FORM_OnAfterLoadPage'] FORM_OnAfterLoadPage.argtypes = [FPDF_PAGE, FPDF_FORMHANDLE] FORM_OnAfterLoadPage.restype = None -if hasattr(_lib, "FORM_OnBeforeClosePage"): - FORM_OnBeforeClosePage = _lib.FORM_OnBeforeClosePage +# ./data/bindings/headers/fpdf_formfill.h: 1197 +if hasattr(_libs['pdfium'], 'FORM_OnBeforeClosePage'): + FORM_OnBeforeClosePage = _libs['pdfium']['FORM_OnBeforeClosePage'] FORM_OnBeforeClosePage.argtypes = [FPDF_PAGE, FPDF_FORMHANDLE] FORM_OnBeforeClosePage.restype = None -if hasattr(_lib, "FORM_DoDocumentJSAction"): - FORM_DoDocumentJSAction = _lib.FORM_DoDocumentJSAction +# ./data/bindings/headers/fpdf_formfill.h: 1215 +if hasattr(_libs['pdfium'], 'FORM_DoDocumentJSAction'): + FORM_DoDocumentJSAction = _libs['pdfium']['FORM_DoDocumentJSAction'] FORM_DoDocumentJSAction.argtypes = [FPDF_FORMHANDLE] FORM_DoDocumentJSAction.restype = None -if hasattr(_lib, "FORM_DoDocumentOpenAction"): - FORM_DoDocumentOpenAction = _lib.FORM_DoDocumentOpenAction +# ./data/bindings/headers/fpdf_formfill.h: 1231 +if hasattr(_libs['pdfium'], 'FORM_DoDocumentOpenAction'): + FORM_DoDocumentOpenAction = _libs['pdfium']['FORM_DoDocumentOpenAction'] FORM_DoDocumentOpenAction.argtypes = [FPDF_FORMHANDLE] FORM_DoDocumentOpenAction.restype = None -if hasattr(_lib, "FORM_DoDocumentAAction"): - FORM_DoDocumentAAction = _lib.FORM_DoDocumentAAction +# ./data/bindings/headers/fpdf_formfill.h: 1260 +if hasattr(_libs['pdfium'], 'FORM_DoDocumentAAction'): + FORM_DoDocumentAAction = _libs['pdfium']['FORM_DoDocumentAAction'] FORM_DoDocumentAAction.argtypes = [FPDF_FORMHANDLE, c_int] FORM_DoDocumentAAction.restype = None -if hasattr(_lib, "FORM_DoPageAAction"): - FORM_DoPageAAction = _lib.FORM_DoPageAAction +# ./data/bindings/headers/fpdf_formfill.h: 1285 +if hasattr(_libs['pdfium'], 'FORM_DoPageAAction'): + FORM_DoPageAAction = _libs['pdfium']['FORM_DoPageAAction'] FORM_DoPageAAction.argtypes = [FPDF_PAGE, FPDF_FORMHANDLE, c_int] FORM_DoPageAAction.restype = None -if hasattr(_lib, "FORM_OnMouseMove"): - FORM_OnMouseMove = _lib.FORM_OnMouseMove +# ./data/bindings/headers/fpdf_formfill.h: 1304 +if hasattr(_libs['pdfium'], 'FORM_OnMouseMove'): + FORM_OnMouseMove = _libs['pdfium']['FORM_OnMouseMove'] FORM_OnMouseMove.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_double, c_double] FORM_OnMouseMove.restype = FPDF_BOOL -if hasattr(_lib, "FORM_OnMouseWheel"): - FORM_OnMouseWheel = _lib.FORM_OnMouseWheel +# ./data/bindings/headers/fpdf_formfill.h: 1335 +if hasattr(_libs['pdfium'], 'FORM_OnMouseWheel'): + FORM_OnMouseWheel = _libs['pdfium']['FORM_OnMouseWheel'] FORM_OnMouseWheel.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, c_int, POINTER(FS_POINTF), c_int, c_int] FORM_OnMouseWheel.restype = FPDF_BOOL -if hasattr(_lib, "FORM_OnFocus"): - FORM_OnFocus = _lib.FORM_OnFocus +# ./data/bindings/headers/fpdf_formfill.h: 1360 +if hasattr(_libs['pdfium'], 'FORM_OnFocus'): + FORM_OnFocus = _libs['pdfium']['FORM_OnFocus'] FORM_OnFocus.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_double, c_double] FORM_OnFocus.restype = FPDF_BOOL -if hasattr(_lib, "FORM_OnLButtonDown"): - FORM_OnLButtonDown = _lib.FORM_OnLButtonDown +# ./data/bindings/headers/fpdf_formfill.h: 1382 +if hasattr(_libs['pdfium'], 'FORM_OnLButtonDown'): + FORM_OnLButtonDown = _libs['pdfium']['FORM_OnLButtonDown'] FORM_OnLButtonDown.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_double, c_double] FORM_OnLButtonDown.restype = FPDF_BOOL -if hasattr(_lib, "FORM_OnRButtonDown"): - FORM_OnRButtonDown = _lib.FORM_OnRButtonDown +# ./data/bindings/headers/fpdf_formfill.h: 1395 +if hasattr(_libs['pdfium'], 'FORM_OnRButtonDown'): + FORM_OnRButtonDown = _libs['pdfium']['FORM_OnRButtonDown'] FORM_OnRButtonDown.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_double, c_double] FORM_OnRButtonDown.restype = FPDF_BOOL -if hasattr(_lib, "FORM_OnLButtonUp"): - FORM_OnLButtonUp = _lib.FORM_OnLButtonUp +# ./data/bindings/headers/fpdf_formfill.h: 1414 +if hasattr(_libs['pdfium'], 'FORM_OnLButtonUp'): + FORM_OnLButtonUp = _libs['pdfium']['FORM_OnLButtonUp'] FORM_OnLButtonUp.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_double, c_double] FORM_OnLButtonUp.restype = FPDF_BOOL -if hasattr(_lib, "FORM_OnRButtonUp"): - FORM_OnRButtonUp = _lib.FORM_OnRButtonUp +# ./data/bindings/headers/fpdf_formfill.h: 1427 +if hasattr(_libs['pdfium'], 'FORM_OnRButtonUp'): + FORM_OnRButtonUp = _libs['pdfium']['FORM_OnRButtonUp'] FORM_OnRButtonUp.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_double, c_double] FORM_OnRButtonUp.restype = FPDF_BOOL -if hasattr(_lib, "FORM_OnLButtonDoubleClick"): - FORM_OnLButtonDoubleClick = _lib.FORM_OnLButtonDoubleClick +# ./data/bindings/headers/fpdf_formfill.h: 1450 +if hasattr(_libs['pdfium'], 'FORM_OnLButtonDoubleClick'): + FORM_OnLButtonDoubleClick = _libs['pdfium']['FORM_OnLButtonDoubleClick'] FORM_OnLButtonDoubleClick.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_double, c_double] FORM_OnLButtonDoubleClick.restype = FPDF_BOOL -if hasattr(_lib, "FORM_OnKeyDown"): - FORM_OnKeyDown = _lib.FORM_OnKeyDown +# ./data/bindings/headers/fpdf_formfill.h: 1470 +if hasattr(_libs['pdfium'], 'FORM_OnKeyDown'): + FORM_OnKeyDown = _libs['pdfium']['FORM_OnKeyDown'] FORM_OnKeyDown.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_int] FORM_OnKeyDown.restype = FPDF_BOOL -if hasattr(_lib, "FORM_OnKeyUp"): - FORM_OnKeyUp = _lib.FORM_OnKeyUp +# ./data/bindings/headers/fpdf_formfill.h: 1492 +if hasattr(_libs['pdfium'], 'FORM_OnKeyUp'): + FORM_OnKeyUp = _libs['pdfium']['FORM_OnKeyUp'] FORM_OnKeyUp.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_int] FORM_OnKeyUp.restype = FPDF_BOOL -if hasattr(_lib, "FORM_OnChar"): - FORM_OnChar = _lib.FORM_OnChar +# ./data/bindings/headers/fpdf_formfill.h: 1511 +if hasattr(_libs['pdfium'], 'FORM_OnChar'): + FORM_OnChar = _libs['pdfium']['FORM_OnChar'] FORM_OnChar.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_int] FORM_OnChar.restype = FPDF_BOOL -if hasattr(_lib, "FORM_GetFocusedText"): - FORM_GetFocusedText = _lib.FORM_GetFocusedText +# ./data/bindings/headers/fpdf_formfill.h: 1534 +if hasattr(_libs['pdfium'], 'FORM_GetFocusedText'): + FORM_GetFocusedText = _libs['pdfium']['FORM_GetFocusedText'] FORM_GetFocusedText.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, POINTER(None), c_ulong] FORM_GetFocusedText.restype = c_ulong -if hasattr(_lib, "FORM_GetSelectedText"): - FORM_GetSelectedText = _lib.FORM_GetSelectedText +# ./data/bindings/headers/fpdf_formfill.h: 1557 +if hasattr(_libs['pdfium'], 'FORM_GetSelectedText'): + FORM_GetSelectedText = _libs['pdfium']['FORM_GetSelectedText'] FORM_GetSelectedText.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, POINTER(None), c_ulong] FORM_GetSelectedText.restype = c_ulong -if hasattr(_lib, "FORM_ReplaceAndKeepSelection"): - FORM_ReplaceAndKeepSelection = _lib.FORM_ReplaceAndKeepSelection +# ./data/bindings/headers/fpdf_formfill.h: 1580 +if hasattr(_libs['pdfium'], 'FORM_ReplaceAndKeepSelection'): + FORM_ReplaceAndKeepSelection = _libs['pdfium']['FORM_ReplaceAndKeepSelection'] FORM_ReplaceAndKeepSelection.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, FPDF_WIDESTRING] FORM_ReplaceAndKeepSelection.restype = None -if hasattr(_lib, "FORM_ReplaceSelection"): - FORM_ReplaceSelection = _lib.FORM_ReplaceSelection +# ./data/bindings/headers/fpdf_formfill.h: 1600 +if hasattr(_libs['pdfium'], 'FORM_ReplaceSelection'): + FORM_ReplaceSelection = _libs['pdfium']['FORM_ReplaceSelection'] FORM_ReplaceSelection.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, FPDF_WIDESTRING] FORM_ReplaceSelection.restype = None -if hasattr(_lib, "FORM_SelectAllText"): - FORM_SelectAllText = _lib.FORM_SelectAllText +# ./data/bindings/headers/fpdf_formfill.h: 1617 +if hasattr(_libs['pdfium'], 'FORM_SelectAllText'): + FORM_SelectAllText = _libs['pdfium']['FORM_SelectAllText'] FORM_SelectAllText.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE] FORM_SelectAllText.restype = FPDF_BOOL -if hasattr(_lib, "FORM_CanUndo"): - FORM_CanUndo = _lib.FORM_CanUndo +# ./data/bindings/headers/fpdf_formfill.h: 1630 +if hasattr(_libs['pdfium'], 'FORM_CanUndo'): + FORM_CanUndo = _libs['pdfium']['FORM_CanUndo'] FORM_CanUndo.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE] FORM_CanUndo.restype = FPDF_BOOL -if hasattr(_lib, "FORM_CanRedo"): - FORM_CanRedo = _lib.FORM_CanRedo +# ./data/bindings/headers/fpdf_formfill.h: 1644 +if hasattr(_libs['pdfium'], 'FORM_CanRedo'): + FORM_CanRedo = _libs['pdfium']['FORM_CanRedo'] FORM_CanRedo.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE] FORM_CanRedo.restype = FPDF_BOOL -if hasattr(_lib, "FORM_Undo"): - FORM_Undo = _lib.FORM_Undo +# ./data/bindings/headers/fpdf_formfill.h: 1657 +if hasattr(_libs['pdfium'], 'FORM_Undo'): + FORM_Undo = _libs['pdfium']['FORM_Undo'] FORM_Undo.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE] FORM_Undo.restype = FPDF_BOOL -if hasattr(_lib, "FORM_Redo"): - FORM_Redo = _lib.FORM_Redo +# ./data/bindings/headers/fpdf_formfill.h: 1670 +if hasattr(_libs['pdfium'], 'FORM_Redo'): + FORM_Redo = _libs['pdfium']['FORM_Redo'] FORM_Redo.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE] FORM_Redo.restype = FPDF_BOOL -if hasattr(_lib, "FORM_ForceToKillFocus"): - FORM_ForceToKillFocus = _lib.FORM_ForceToKillFocus +# ./data/bindings/headers/fpdf_formfill.h: 1685 +if hasattr(_libs['pdfium'], 'FORM_ForceToKillFocus'): + FORM_ForceToKillFocus = _libs['pdfium']['FORM_ForceToKillFocus'] FORM_ForceToKillFocus.argtypes = [FPDF_FORMHANDLE] FORM_ForceToKillFocus.restype = FPDF_BOOL -if hasattr(_lib, "FORM_GetFocusedAnnot"): - FORM_GetFocusedAnnot = _lib.FORM_GetFocusedAnnot +# ./data/bindings/headers/fpdf_formfill.h: 1710 +if hasattr(_libs['pdfium'], 'FORM_GetFocusedAnnot'): + FORM_GetFocusedAnnot = _libs['pdfium']['FORM_GetFocusedAnnot'] FORM_GetFocusedAnnot.argtypes = [FPDF_FORMHANDLE, POINTER(c_int), POINTER(FPDF_ANNOTATION)] FORM_GetFocusedAnnot.restype = FPDF_BOOL -if hasattr(_lib, "FORM_SetFocusedAnnot"): - FORM_SetFocusedAnnot = _lib.FORM_SetFocusedAnnot +# ./data/bindings/headers/fpdf_formfill.h: 1729 +if hasattr(_libs['pdfium'], 'FORM_SetFocusedAnnot'): + FORM_SetFocusedAnnot = _libs['pdfium']['FORM_SetFocusedAnnot'] FORM_SetFocusedAnnot.argtypes = [FPDF_FORMHANDLE, FPDF_ANNOTATION] FORM_SetFocusedAnnot.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPage_HasFormFieldAtPoint"): - FPDFPage_HasFormFieldAtPoint = _lib.FPDFPage_HasFormFieldAtPoint +# ./data/bindings/headers/fpdf_formfill.h: 1785 +if hasattr(_libs['pdfium'], 'FPDFPage_HasFormFieldAtPoint'): + FPDFPage_HasFormFieldAtPoint = _libs['pdfium']['FPDFPage_HasFormFieldAtPoint'] FPDFPage_HasFormFieldAtPoint.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, c_double, c_double] FPDFPage_HasFormFieldAtPoint.restype = c_int -if hasattr(_lib, "FPDFPage_FormFieldZOrderAtPoint"): - FPDFPage_FormFieldZOrderAtPoint = _lib.FPDFPage_FormFieldZOrderAtPoint +# ./data/bindings/headers/fpdf_formfill.h: 1804 +if hasattr(_libs['pdfium'], 'FPDFPage_FormFieldZOrderAtPoint'): + FPDFPage_FormFieldZOrderAtPoint = _libs['pdfium']['FPDFPage_FormFieldZOrderAtPoint'] FPDFPage_FormFieldZOrderAtPoint.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, c_double, c_double] FPDFPage_FormFieldZOrderAtPoint.restype = c_int -if hasattr(_lib, "FPDF_SetFormFieldHighlightColor"): - FPDF_SetFormFieldHighlightColor = _lib.FPDF_SetFormFieldHighlightColor +# ./data/bindings/headers/fpdf_formfill.h: 1832 +if hasattr(_libs['pdfium'], 'FPDF_SetFormFieldHighlightColor'): + FPDF_SetFormFieldHighlightColor = _libs['pdfium']['FPDF_SetFormFieldHighlightColor'] FPDF_SetFormFieldHighlightColor.argtypes = [FPDF_FORMHANDLE, c_int, c_ulong] FPDF_SetFormFieldHighlightColor.restype = None -if hasattr(_lib, "FPDF_SetFormFieldHighlightAlpha"): - FPDF_SetFormFieldHighlightAlpha = _lib.FPDF_SetFormFieldHighlightAlpha +# ./data/bindings/headers/fpdf_formfill.h: 1851 +if hasattr(_libs['pdfium'], 'FPDF_SetFormFieldHighlightAlpha'): + FPDF_SetFormFieldHighlightAlpha = _libs['pdfium']['FPDF_SetFormFieldHighlightAlpha'] FPDF_SetFormFieldHighlightAlpha.argtypes = [FPDF_FORMHANDLE, c_ubyte] FPDF_SetFormFieldHighlightAlpha.restype = None -if hasattr(_lib, "FPDF_RemoveFormFieldHighlight"): - FPDF_RemoveFormFieldHighlight = _lib.FPDF_RemoveFormFieldHighlight +# ./data/bindings/headers/fpdf_formfill.h: 1866 +if hasattr(_libs['pdfium'], 'FPDF_RemoveFormFieldHighlight'): + FPDF_RemoveFormFieldHighlight = _libs['pdfium']['FPDF_RemoveFormFieldHighlight'] FPDF_RemoveFormFieldHighlight.argtypes = [FPDF_FORMHANDLE] FPDF_RemoveFormFieldHighlight.restype = None -if hasattr(_lib, "FPDF_FFLDraw"): - FPDF_FFLDraw = _lib.FPDF_FFLDraw +# ./data/bindings/headers/fpdf_formfill.h: 1905 +if hasattr(_libs['pdfium'], 'FPDF_FFLDraw'): + FPDF_FFLDraw = _libs['pdfium']['FPDF_FFLDraw'] FPDF_FFLDraw.argtypes = [FPDF_FORMHANDLE, FPDF_BITMAP, FPDF_PAGE, c_int, c_int, c_int, c_int, c_int, c_int] FPDF_FFLDraw.restype = None -if hasattr(_lib, "FPDF_GetFormType"): - FPDF_GetFormType = _lib.FPDF_GetFormType +# ./data/bindings/headers/fpdf_formfill.h: 1916 +if hasattr(_libs['pdfium'], 'FPDF_FFLDrawSkia'): + FPDF_FFLDrawSkia = _libs['pdfium']['FPDF_FFLDrawSkia'] + FPDF_FFLDrawSkia.argtypes = [FPDF_FORMHANDLE, FPDF_SKIA_CANVAS, FPDF_PAGE, c_int, c_int, c_int, c_int, c_int, c_int] + FPDF_FFLDrawSkia.restype = None + +# ./data/bindings/headers/fpdf_formfill.h: 1938 +if hasattr(_libs['pdfium'], 'FPDF_GetFormType'): + FPDF_GetFormType = _libs['pdfium']['FPDF_GetFormType'] FPDF_GetFormType.argtypes = [FPDF_DOCUMENT] FPDF_GetFormType.restype = c_int -if hasattr(_lib, "FORM_SetIndexSelected"): - FORM_SetIndexSelected = _lib.FORM_SetIndexSelected +# ./data/bindings/headers/fpdf_formfill.h: 1964 +if hasattr(_libs['pdfium'], 'FORM_SetIndexSelected'): + FORM_SetIndexSelected = _libs['pdfium']['FORM_SetIndexSelected'] FORM_SetIndexSelected.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, c_int, FPDF_BOOL] FORM_SetIndexSelected.restype = FPDF_BOOL -if hasattr(_lib, "FORM_IsIndexSelected"): - FORM_IsIndexSelected = _lib.FORM_IsIndexSelected +# ./data/bindings/headers/fpdf_formfill.h: 1989 +if hasattr(_libs['pdfium'], 'FORM_IsIndexSelected'): + FORM_IsIndexSelected = _libs['pdfium']['FORM_IsIndexSelected'] FORM_IsIndexSelected.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, c_int] FORM_IsIndexSelected.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_LoadXFA"): - FPDF_LoadXFA = _lib.FPDF_LoadXFA +# ./data/bindings/headers/fpdf_formfill.h: 2001 +if hasattr(_libs['pdfium'], 'FPDF_LoadXFA'): + FPDF_LoadXFA = _libs['pdfium']['FPDF_LoadXFA'] FPDF_LoadXFA.argtypes = [FPDF_DOCUMENT] FPDF_LoadXFA.restype = FPDF_BOOL + +# ./data/bindings/headers/fpdf_annot.h: 98 enum_FPDFANNOT_COLORTYPE = c_int + +# ./data/bindings/headers/fpdf_annot.h: 98 FPDFANNOT_COLORTYPE_Color = 0 + +# ./data/bindings/headers/fpdf_annot.h: 98 FPDFANNOT_COLORTYPE_InteriorColor = (FPDFANNOT_COLORTYPE_Color + 1) + +# ./data/bindings/headers/fpdf_annot.h: 98 FPDFANNOT_COLORTYPE = enum_FPDFANNOT_COLORTYPE -if hasattr(_lib, "FPDFAnnot_IsSupportedSubtype"): - FPDFAnnot_IsSupportedSubtype = _lib.FPDFAnnot_IsSupportedSubtype +# ./data/bindings/headers/fpdf_annot.h: 120 +if hasattr(_libs['pdfium'], 'FPDFAnnot_IsSupportedSubtype'): + FPDFAnnot_IsSupportedSubtype = _libs['pdfium']['FPDFAnnot_IsSupportedSubtype'] FPDFAnnot_IsSupportedSubtype.argtypes = [FPDF_ANNOTATION_SUBTYPE] FPDFAnnot_IsSupportedSubtype.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPage_CreateAnnot"): - FPDFPage_CreateAnnot = _lib.FPDFPage_CreateAnnot +# ./data/bindings/headers/fpdf_annot.h: 133 +if hasattr(_libs['pdfium'], 'FPDFPage_CreateAnnot'): + FPDFPage_CreateAnnot = _libs['pdfium']['FPDFPage_CreateAnnot'] FPDFPage_CreateAnnot.argtypes = [FPDF_PAGE, FPDF_ANNOTATION_SUBTYPE] FPDFPage_CreateAnnot.restype = FPDF_ANNOTATION -if hasattr(_lib, "FPDFPage_GetAnnotCount"): - FPDFPage_GetAnnotCount = _lib.FPDFPage_GetAnnotCount +# ./data/bindings/headers/fpdf_annot.h: 141 +if hasattr(_libs['pdfium'], 'FPDFPage_GetAnnotCount'): + FPDFPage_GetAnnotCount = _libs['pdfium']['FPDFPage_GetAnnotCount'] FPDFPage_GetAnnotCount.argtypes = [FPDF_PAGE] FPDFPage_GetAnnotCount.restype = c_int -if hasattr(_lib, "FPDFPage_GetAnnot"): - FPDFPage_GetAnnot = _lib.FPDFPage_GetAnnot +# ./data/bindings/headers/fpdf_annot.h: 151 +if hasattr(_libs['pdfium'], 'FPDFPage_GetAnnot'): + FPDFPage_GetAnnot = _libs['pdfium']['FPDFPage_GetAnnot'] FPDFPage_GetAnnot.argtypes = [FPDF_PAGE, c_int] FPDFPage_GetAnnot.restype = FPDF_ANNOTATION -if hasattr(_lib, "FPDFPage_GetAnnotIndex"): - FPDFPage_GetAnnotIndex = _lib.FPDFPage_GetAnnotIndex +# ./data/bindings/headers/fpdf_annot.h: 162 +if hasattr(_libs['pdfium'], 'FPDFPage_GetAnnotIndex'): + FPDFPage_GetAnnotIndex = _libs['pdfium']['FPDFPage_GetAnnotIndex'] FPDFPage_GetAnnotIndex.argtypes = [FPDF_PAGE, FPDF_ANNOTATION] FPDFPage_GetAnnotIndex.restype = c_int -if hasattr(_lib, "FPDFPage_CloseAnnot"): - FPDFPage_CloseAnnot = _lib.FPDFPage_CloseAnnot +# ./data/bindings/headers/fpdf_annot.h: 171 +if hasattr(_libs['pdfium'], 'FPDFPage_CloseAnnot'): + FPDFPage_CloseAnnot = _libs['pdfium']['FPDFPage_CloseAnnot'] FPDFPage_CloseAnnot.argtypes = [FPDF_ANNOTATION] FPDFPage_CloseAnnot.restype = None -if hasattr(_lib, "FPDFPage_RemoveAnnot"): - FPDFPage_RemoveAnnot = _lib.FPDFPage_RemoveAnnot +# ./data/bindings/headers/fpdf_annot.h: 180 +if hasattr(_libs['pdfium'], 'FPDFPage_RemoveAnnot'): + FPDFPage_RemoveAnnot = _libs['pdfium']['FPDFPage_RemoveAnnot'] FPDFPage_RemoveAnnot.argtypes = [FPDF_PAGE, c_int] FPDFPage_RemoveAnnot.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_GetSubtype"): - FPDFAnnot_GetSubtype = _lib.FPDFAnnot_GetSubtype +# ./data/bindings/headers/fpdf_annot.h: 190 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetSubtype'): + FPDFAnnot_GetSubtype = _libs['pdfium']['FPDFAnnot_GetSubtype'] FPDFAnnot_GetSubtype.argtypes = [FPDF_ANNOTATION] FPDFAnnot_GetSubtype.restype = FPDF_ANNOTATION_SUBTYPE -if hasattr(_lib, "FPDFAnnot_IsObjectSupportedSubtype"): - FPDFAnnot_IsObjectSupportedSubtype = _lib.FPDFAnnot_IsObjectSupportedSubtype +# ./data/bindings/headers/fpdf_annot.h: 201 +if hasattr(_libs['pdfium'], 'FPDFAnnot_IsObjectSupportedSubtype'): + FPDFAnnot_IsObjectSupportedSubtype = _libs['pdfium']['FPDFAnnot_IsObjectSupportedSubtype'] FPDFAnnot_IsObjectSupportedSubtype.argtypes = [FPDF_ANNOTATION_SUBTYPE] FPDFAnnot_IsObjectSupportedSubtype.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_UpdateObject"): - FPDFAnnot_UpdateObject = _lib.FPDFAnnot_UpdateObject +# ./data/bindings/headers/fpdf_annot.h: 215 +if hasattr(_libs['pdfium'], 'FPDFAnnot_UpdateObject'): + FPDFAnnot_UpdateObject = _libs['pdfium']['FPDFAnnot_UpdateObject'] FPDFAnnot_UpdateObject.argtypes = [FPDF_ANNOTATION, FPDF_PAGEOBJECT] FPDFAnnot_UpdateObject.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_AddInkStroke"): - FPDFAnnot_AddInkStroke = _lib.FPDFAnnot_AddInkStroke +# ./data/bindings/headers/fpdf_annot.h: 230 +if hasattr(_libs['pdfium'], 'FPDFAnnot_AddInkStroke'): + FPDFAnnot_AddInkStroke = _libs['pdfium']['FPDFAnnot_AddInkStroke'] FPDFAnnot_AddInkStroke.argtypes = [FPDF_ANNOTATION, POINTER(FS_POINTF), c_size_t] FPDFAnnot_AddInkStroke.restype = c_int -if hasattr(_lib, "FPDFAnnot_RemoveInkList"): - FPDFAnnot_RemoveInkList = _lib.FPDFAnnot_RemoveInkList +# ./data/bindings/headers/fpdf_annot.h: 243 +if hasattr(_libs['pdfium'], 'FPDFAnnot_RemoveInkList'): + FPDFAnnot_RemoveInkList = _libs['pdfium']['FPDFAnnot_RemoveInkList'] FPDFAnnot_RemoveInkList.argtypes = [FPDF_ANNOTATION] FPDFAnnot_RemoveInkList.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_AppendObject"): - FPDFAnnot_AppendObject = _lib.FPDFAnnot_AppendObject +# ./data/bindings/headers/fpdf_annot.h: 257 +if hasattr(_libs['pdfium'], 'FPDFAnnot_AppendObject'): + FPDFAnnot_AppendObject = _libs['pdfium']['FPDFAnnot_AppendObject'] FPDFAnnot_AppendObject.argtypes = [FPDF_ANNOTATION, FPDF_PAGEOBJECT] FPDFAnnot_AppendObject.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_GetObjectCount"): - FPDFAnnot_GetObjectCount = _lib.FPDFAnnot_GetObjectCount +# ./data/bindings/headers/fpdf_annot.h: 266 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetObjectCount'): + FPDFAnnot_GetObjectCount = _libs['pdfium']['FPDFAnnot_GetObjectCount'] FPDFAnnot_GetObjectCount.argtypes = [FPDF_ANNOTATION] FPDFAnnot_GetObjectCount.restype = c_int -if hasattr(_lib, "FPDFAnnot_GetObject"): - FPDFAnnot_GetObject = _lib.FPDFAnnot_GetObject +# ./data/bindings/headers/fpdf_annot.h: 276 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetObject'): + FPDFAnnot_GetObject = _libs['pdfium']['FPDFAnnot_GetObject'] FPDFAnnot_GetObject.argtypes = [FPDF_ANNOTATION, c_int] FPDFAnnot_GetObject.restype = FPDF_PAGEOBJECT -if hasattr(_lib, "FPDFAnnot_RemoveObject"): - FPDFAnnot_RemoveObject = _lib.FPDFAnnot_RemoveObject +# ./data/bindings/headers/fpdf_annot.h: 286 +if hasattr(_libs['pdfium'], 'FPDFAnnot_RemoveObject'): + FPDFAnnot_RemoveObject = _libs['pdfium']['FPDFAnnot_RemoveObject'] FPDFAnnot_RemoveObject.argtypes = [FPDF_ANNOTATION, c_int] FPDFAnnot_RemoveObject.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_SetColor"): - FPDFAnnot_SetColor = _lib.FPDFAnnot_SetColor +# ./data/bindings/headers/fpdf_annot.h: 299 +if hasattr(_libs['pdfium'], 'FPDFAnnot_SetColor'): + FPDFAnnot_SetColor = _libs['pdfium']['FPDFAnnot_SetColor'] FPDFAnnot_SetColor.argtypes = [FPDF_ANNOTATION, FPDFANNOT_COLORTYPE, c_uint, c_uint, c_uint, c_uint] FPDFAnnot_SetColor.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_GetColor"): - FPDFAnnot_GetColor = _lib.FPDFAnnot_GetColor +# ./data/bindings/headers/fpdf_annot.h: 318 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetColor'): + FPDFAnnot_GetColor = _libs['pdfium']['FPDFAnnot_GetColor'] FPDFAnnot_GetColor.argtypes = [FPDF_ANNOTATION, FPDFANNOT_COLORTYPE, POINTER(c_uint), POINTER(c_uint), POINTER(c_uint), POINTER(c_uint)] FPDFAnnot_GetColor.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_HasAttachmentPoints"): - FPDFAnnot_HasAttachmentPoints = _lib.FPDFAnnot_HasAttachmentPoints +# ./data/bindings/headers/fpdf_annot.h: 338 +if hasattr(_libs['pdfium'], 'FPDFAnnot_HasAttachmentPoints'): + FPDFAnnot_HasAttachmentPoints = _libs['pdfium']['FPDFAnnot_HasAttachmentPoints'] FPDFAnnot_HasAttachmentPoints.argtypes = [FPDF_ANNOTATION] FPDFAnnot_HasAttachmentPoints.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_SetAttachmentPoints"): - FPDFAnnot_SetAttachmentPoints = _lib.FPDFAnnot_SetAttachmentPoints +# ./data/bindings/headers/fpdf_annot.h: 354 +if hasattr(_libs['pdfium'], 'FPDFAnnot_SetAttachmentPoints'): + FPDFAnnot_SetAttachmentPoints = _libs['pdfium']['FPDFAnnot_SetAttachmentPoints'] FPDFAnnot_SetAttachmentPoints.argtypes = [FPDF_ANNOTATION, c_size_t, POINTER(FS_QUADPOINTSF)] FPDFAnnot_SetAttachmentPoints.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_AppendAttachmentPoints"): - FPDFAnnot_AppendAttachmentPoints = _lib.FPDFAnnot_AppendAttachmentPoints +# ./data/bindings/headers/fpdf_annot.h: 369 +if hasattr(_libs['pdfium'], 'FPDFAnnot_AppendAttachmentPoints'): + FPDFAnnot_AppendAttachmentPoints = _libs['pdfium']['FPDFAnnot_AppendAttachmentPoints'] FPDFAnnot_AppendAttachmentPoints.argtypes = [FPDF_ANNOTATION, POINTER(FS_QUADPOINTSF)] FPDFAnnot_AppendAttachmentPoints.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_CountAttachmentPoints"): - FPDFAnnot_CountAttachmentPoints = _lib.FPDFAnnot_CountAttachmentPoints +# ./data/bindings/headers/fpdf_annot.h: 379 +if hasattr(_libs['pdfium'], 'FPDFAnnot_CountAttachmentPoints'): + FPDFAnnot_CountAttachmentPoints = _libs['pdfium']['FPDFAnnot_CountAttachmentPoints'] FPDFAnnot_CountAttachmentPoints.argtypes = [FPDF_ANNOTATION] FPDFAnnot_CountAttachmentPoints.restype = c_size_t -if hasattr(_lib, "FPDFAnnot_GetAttachmentPoints"): - FPDFAnnot_GetAttachmentPoints = _lib.FPDFAnnot_GetAttachmentPoints +# ./data/bindings/headers/fpdf_annot.h: 390 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetAttachmentPoints'): + FPDFAnnot_GetAttachmentPoints = _libs['pdfium']['FPDFAnnot_GetAttachmentPoints'] FPDFAnnot_GetAttachmentPoints.argtypes = [FPDF_ANNOTATION, c_size_t, POINTER(FS_QUADPOINTSF)] FPDFAnnot_GetAttachmentPoints.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_SetRect"): - FPDFAnnot_SetRect = _lib.FPDFAnnot_SetRect +# ./data/bindings/headers/fpdf_annot.h: 404 +if hasattr(_libs['pdfium'], 'FPDFAnnot_SetRect'): + FPDFAnnot_SetRect = _libs['pdfium']['FPDFAnnot_SetRect'] FPDFAnnot_SetRect.argtypes = [FPDF_ANNOTATION, POINTER(FS_RECTF)] FPDFAnnot_SetRect.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_GetRect"): - FPDFAnnot_GetRect = _lib.FPDFAnnot_GetRect +# ./data/bindings/headers/fpdf_annot.h: 414 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetRect'): + FPDFAnnot_GetRect = _libs['pdfium']['FPDFAnnot_GetRect'] FPDFAnnot_GetRect.argtypes = [FPDF_ANNOTATION, POINTER(FS_RECTF)] FPDFAnnot_GetRect.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_GetVertices"): - FPDFAnnot_GetVertices = _lib.FPDFAnnot_GetVertices +# ./data/bindings/headers/fpdf_annot.h: 429 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetVertices'): + FPDFAnnot_GetVertices = _libs['pdfium']['FPDFAnnot_GetVertices'] FPDFAnnot_GetVertices.argtypes = [FPDF_ANNOTATION, POINTER(FS_POINTF), c_ulong] FPDFAnnot_GetVertices.restype = c_ulong -if hasattr(_lib, "FPDFAnnot_GetInkListCount"): - FPDFAnnot_GetInkListCount = _lib.FPDFAnnot_GetInkListCount +# ./data/bindings/headers/fpdf_annot.h: 441 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetInkListCount'): + FPDFAnnot_GetInkListCount = _libs['pdfium']['FPDFAnnot_GetInkListCount'] FPDFAnnot_GetInkListCount.argtypes = [FPDF_ANNOTATION] FPDFAnnot_GetInkListCount.restype = c_ulong -if hasattr(_lib, "FPDFAnnot_GetInkListPath"): - FPDFAnnot_GetInkListPath = _lib.FPDFAnnot_GetInkListPath +# ./data/bindings/headers/fpdf_annot.h: 456 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetInkListPath'): + FPDFAnnot_GetInkListPath = _libs['pdfium']['FPDFAnnot_GetInkListPath'] FPDFAnnot_GetInkListPath.argtypes = [FPDF_ANNOTATION, c_ulong, POINTER(FS_POINTF), c_ulong] FPDFAnnot_GetInkListPath.restype = c_ulong -if hasattr(_lib, "FPDFAnnot_GetLine"): - FPDFAnnot_GetLine = _lib.FPDFAnnot_GetLine +# ./data/bindings/headers/fpdf_annot.h: 470 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetLine'): + FPDFAnnot_GetLine = _libs['pdfium']['FPDFAnnot_GetLine'] FPDFAnnot_GetLine.argtypes = [FPDF_ANNOTATION, POINTER(FS_POINTF), POINTER(FS_POINTF)] FPDFAnnot_GetLine.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_SetBorder"): - FPDFAnnot_SetBorder = _lib.FPDFAnnot_SetBorder +# ./data/bindings/headers/fpdf_annot.h: 486 +if hasattr(_libs['pdfium'], 'FPDFAnnot_SetBorder'): + FPDFAnnot_SetBorder = _libs['pdfium']['FPDFAnnot_SetBorder'] FPDFAnnot_SetBorder.argtypes = [FPDF_ANNOTATION, c_float, c_float, c_float] FPDFAnnot_SetBorder.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_GetBorder"): - FPDFAnnot_GetBorder = _lib.FPDFAnnot_GetBorder +# ./data/bindings/headers/fpdf_annot.h: 502 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetBorder'): + FPDFAnnot_GetBorder = _libs['pdfium']['FPDFAnnot_GetBorder'] FPDFAnnot_GetBorder.argtypes = [FPDF_ANNOTATION, POINTER(c_float), POINTER(c_float), POINTER(c_float)] FPDFAnnot_GetBorder.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_GetFormAdditionalActionJavaScript"): - FPDFAnnot_GetFormAdditionalActionJavaScript = _lib.FPDFAnnot_GetFormAdditionalActionJavaScript +# ./data/bindings/headers/fpdf_annot.h: 526 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetFormAdditionalActionJavaScript'): + FPDFAnnot_GetFormAdditionalActionJavaScript = _libs['pdfium']['FPDFAnnot_GetFormAdditionalActionJavaScript'] FPDFAnnot_GetFormAdditionalActionJavaScript.argtypes = [FPDF_FORMHANDLE, FPDF_ANNOTATION, c_int, POINTER(FPDF_WCHAR), c_ulong] FPDFAnnot_GetFormAdditionalActionJavaScript.restype = c_ulong -if hasattr(_lib, "FPDFAnnot_HasKey"): - FPDFAnnot_HasKey = _lib.FPDFAnnot_HasKey +# ./data/bindings/headers/fpdf_annot.h: 539 +if hasattr(_libs['pdfium'], 'FPDFAnnot_HasKey'): + FPDFAnnot_HasKey = _libs['pdfium']['FPDFAnnot_HasKey'] FPDFAnnot_HasKey.argtypes = [FPDF_ANNOTATION, FPDF_BYTESTRING] FPDFAnnot_HasKey.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_GetValueType"): - FPDFAnnot_GetValueType = _lib.FPDFAnnot_GetValueType +# ./data/bindings/headers/fpdf_annot.h: 550 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetValueType'): + FPDFAnnot_GetValueType = _libs['pdfium']['FPDFAnnot_GetValueType'] FPDFAnnot_GetValueType.argtypes = [FPDF_ANNOTATION, FPDF_BYTESTRING] FPDFAnnot_GetValueType.restype = FPDF_OBJECT_TYPE -if hasattr(_lib, "FPDFAnnot_SetStringValue"): - FPDFAnnot_SetStringValue = _lib.FPDFAnnot_SetStringValue +# ./data/bindings/headers/fpdf_annot.h: 563 +if hasattr(_libs['pdfium'], 'FPDFAnnot_SetStringValue'): + FPDFAnnot_SetStringValue = _libs['pdfium']['FPDFAnnot_SetStringValue'] FPDFAnnot_SetStringValue.argtypes = [FPDF_ANNOTATION, FPDF_BYTESTRING, FPDF_WIDESTRING] FPDFAnnot_SetStringValue.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_GetStringValue"): - FPDFAnnot_GetStringValue = _lib.FPDFAnnot_GetStringValue +# ./data/bindings/headers/fpdf_annot.h: 583 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetStringValue'): + FPDFAnnot_GetStringValue = _libs['pdfium']['FPDFAnnot_GetStringValue'] FPDFAnnot_GetStringValue.argtypes = [FPDF_ANNOTATION, FPDF_BYTESTRING, POINTER(FPDF_WCHAR), c_ulong] FPDFAnnot_GetStringValue.restype = c_ulong -if hasattr(_lib, "FPDFAnnot_GetNumberValue"): - FPDFAnnot_GetNumberValue = _lib.FPDFAnnot_GetNumberValue +# ./data/bindings/headers/fpdf_annot.h: 600 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetNumberValue'): + FPDFAnnot_GetNumberValue = _libs['pdfium']['FPDFAnnot_GetNumberValue'] FPDFAnnot_GetNumberValue.argtypes = [FPDF_ANNOTATION, FPDF_BYTESTRING, POINTER(c_float)] FPDFAnnot_GetNumberValue.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_SetAP"): - FPDFAnnot_SetAP = _lib.FPDFAnnot_SetAP +# ./data/bindings/headers/fpdf_annot.h: 617 +if hasattr(_libs['pdfium'], 'FPDFAnnot_SetAP'): + FPDFAnnot_SetAP = _libs['pdfium']['FPDFAnnot_SetAP'] FPDFAnnot_SetAP.argtypes = [FPDF_ANNOTATION, FPDF_ANNOT_APPEARANCEMODE, FPDF_WIDESTRING] FPDFAnnot_SetAP.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_GetAP"): - FPDFAnnot_GetAP = _lib.FPDFAnnot_GetAP +# ./data/bindings/headers/fpdf_annot.h: 639 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetAP'): + FPDFAnnot_GetAP = _libs['pdfium']['FPDFAnnot_GetAP'] FPDFAnnot_GetAP.argtypes = [FPDF_ANNOTATION, FPDF_ANNOT_APPEARANCEMODE, POINTER(FPDF_WCHAR), c_ulong] FPDFAnnot_GetAP.restype = c_ulong -if hasattr(_lib, "FPDFAnnot_GetLinkedAnnot"): - FPDFAnnot_GetLinkedAnnot = _lib.FPDFAnnot_GetLinkedAnnot +# ./data/bindings/headers/fpdf_annot.h: 655 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetLinkedAnnot'): + FPDFAnnot_GetLinkedAnnot = _libs['pdfium']['FPDFAnnot_GetLinkedAnnot'] FPDFAnnot_GetLinkedAnnot.argtypes = [FPDF_ANNOTATION, FPDF_BYTESTRING] FPDFAnnot_GetLinkedAnnot.restype = FPDF_ANNOTATION -if hasattr(_lib, "FPDFAnnot_GetFlags"): - FPDFAnnot_GetFlags = _lib.FPDFAnnot_GetFlags +# ./data/bindings/headers/fpdf_annot.h: 663 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetFlags'): + FPDFAnnot_GetFlags = _libs['pdfium']['FPDFAnnot_GetFlags'] FPDFAnnot_GetFlags.argtypes = [FPDF_ANNOTATION] FPDFAnnot_GetFlags.restype = c_int -if hasattr(_lib, "FPDFAnnot_SetFlags"): - FPDFAnnot_SetFlags = _lib.FPDFAnnot_SetFlags +# ./data/bindings/headers/fpdf_annot.h: 672 +if hasattr(_libs['pdfium'], 'FPDFAnnot_SetFlags'): + FPDFAnnot_SetFlags = _libs['pdfium']['FPDFAnnot_SetFlags'] FPDFAnnot_SetFlags.argtypes = [FPDF_ANNOTATION, c_int] FPDFAnnot_SetFlags.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_GetFormFieldFlags"): - FPDFAnnot_GetFormFieldFlags = _lib.FPDFAnnot_GetFormFieldFlags +# ./data/bindings/headers/fpdf_annot.h: 684 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetFormFieldFlags'): + FPDFAnnot_GetFormFieldFlags = _libs['pdfium']['FPDFAnnot_GetFormFieldFlags'] FPDFAnnot_GetFormFieldFlags.argtypes = [FPDF_FORMHANDLE, FPDF_ANNOTATION] FPDFAnnot_GetFormFieldFlags.restype = c_int -if hasattr(_lib, "FPDFAnnot_GetFormFieldAtPoint"): - FPDFAnnot_GetFormFieldAtPoint = _lib.FPDFAnnot_GetFormFieldAtPoint +# ./data/bindings/headers/fpdf_annot.h: 701 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetFormFieldAtPoint'): + FPDFAnnot_GetFormFieldAtPoint = _libs['pdfium']['FPDFAnnot_GetFormFieldAtPoint'] FPDFAnnot_GetFormFieldAtPoint.argtypes = [FPDF_FORMHANDLE, FPDF_PAGE, POINTER(FS_POINTF)] FPDFAnnot_GetFormFieldAtPoint.restype = FPDF_ANNOTATION -if hasattr(_lib, "FPDFAnnot_GetFormFieldName"): - FPDFAnnot_GetFormFieldName = _lib.FPDFAnnot_GetFormFieldName +# ./data/bindings/headers/fpdf_annot.h: 719 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetFormFieldName'): + FPDFAnnot_GetFormFieldName = _libs['pdfium']['FPDFAnnot_GetFormFieldName'] FPDFAnnot_GetFormFieldName.argtypes = [FPDF_FORMHANDLE, FPDF_ANNOTATION, POINTER(FPDF_WCHAR), c_ulong] FPDFAnnot_GetFormFieldName.restype = c_ulong -if hasattr(_lib, "FPDFAnnot_GetFormFieldAlternateName"): - FPDFAnnot_GetFormFieldAlternateName = _lib.FPDFAnnot_GetFormFieldAlternateName +# ./data/bindings/headers/fpdf_annot.h: 739 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetFormFieldAlternateName'): + FPDFAnnot_GetFormFieldAlternateName = _libs['pdfium']['FPDFAnnot_GetFormFieldAlternateName'] FPDFAnnot_GetFormFieldAlternateName.argtypes = [FPDF_FORMHANDLE, FPDF_ANNOTATION, POINTER(FPDF_WCHAR), c_ulong] FPDFAnnot_GetFormFieldAlternateName.restype = c_ulong -if hasattr(_lib, "FPDFAnnot_GetFormFieldType"): - FPDFAnnot_GetFormFieldType = _lib.FPDFAnnot_GetFormFieldType +# ./data/bindings/headers/fpdf_annot.h: 755 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetFormFieldType'): + FPDFAnnot_GetFormFieldType = _libs['pdfium']['FPDFAnnot_GetFormFieldType'] FPDFAnnot_GetFormFieldType.argtypes = [FPDF_FORMHANDLE, FPDF_ANNOTATION] FPDFAnnot_GetFormFieldType.restype = c_int -if hasattr(_lib, "FPDFAnnot_GetFormFieldValue"): - FPDFAnnot_GetFormFieldValue = _lib.FPDFAnnot_GetFormFieldValue +# ./data/bindings/headers/fpdf_annot.h: 771 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetFormFieldValue'): + FPDFAnnot_GetFormFieldValue = _libs['pdfium']['FPDFAnnot_GetFormFieldValue'] FPDFAnnot_GetFormFieldValue.argtypes = [FPDF_FORMHANDLE, FPDF_ANNOTATION, POINTER(FPDF_WCHAR), c_ulong] FPDFAnnot_GetFormFieldValue.restype = c_ulong -if hasattr(_lib, "FPDFAnnot_GetOptionCount"): - FPDFAnnot_GetOptionCount = _lib.FPDFAnnot_GetOptionCount +# ./data/bindings/headers/fpdf_annot.h: 786 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetOptionCount'): + FPDFAnnot_GetOptionCount = _libs['pdfium']['FPDFAnnot_GetOptionCount'] FPDFAnnot_GetOptionCount.argtypes = [FPDF_FORMHANDLE, FPDF_ANNOTATION] FPDFAnnot_GetOptionCount.restype = c_int -if hasattr(_lib, "FPDFAnnot_GetOptionLabel"): - FPDFAnnot_GetOptionLabel = _lib.FPDFAnnot_GetOptionLabel +# ./data/bindings/headers/fpdf_annot.h: 808 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetOptionLabel'): + FPDFAnnot_GetOptionLabel = _libs['pdfium']['FPDFAnnot_GetOptionLabel'] FPDFAnnot_GetOptionLabel.argtypes = [FPDF_FORMHANDLE, FPDF_ANNOTATION, c_int, POINTER(FPDF_WCHAR), c_ulong] FPDFAnnot_GetOptionLabel.restype = c_ulong -if hasattr(_lib, "FPDFAnnot_IsOptionSelected"): - FPDFAnnot_IsOptionSelected = _lib.FPDFAnnot_IsOptionSelected +# ./data/bindings/headers/fpdf_annot.h: 826 +if hasattr(_libs['pdfium'], 'FPDFAnnot_IsOptionSelected'): + FPDFAnnot_IsOptionSelected = _libs['pdfium']['FPDFAnnot_IsOptionSelected'] FPDFAnnot_IsOptionSelected.argtypes = [FPDF_FORMHANDLE, FPDF_ANNOTATION, c_int] FPDFAnnot_IsOptionSelected.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_GetFontSize"): - FPDFAnnot_GetFontSize = _lib.FPDFAnnot_GetFontSize +# ./data/bindings/headers/fpdf_annot.h: 843 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetFontSize'): + FPDFAnnot_GetFontSize = _libs['pdfium']['FPDFAnnot_GetFontSize'] FPDFAnnot_GetFontSize.argtypes = [FPDF_FORMHANDLE, FPDF_ANNOTATION, POINTER(c_float)] FPDFAnnot_GetFontSize.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_IsChecked"): - FPDFAnnot_IsChecked = _lib.FPDFAnnot_IsChecked +# ./data/bindings/headers/fpdf_annot.h: 856 +if hasattr(_libs['pdfium'], 'FPDFAnnot_IsChecked'): + FPDFAnnot_IsChecked = _libs['pdfium']['FPDFAnnot_IsChecked'] FPDFAnnot_IsChecked.argtypes = [FPDF_FORMHANDLE, FPDF_ANNOTATION] FPDFAnnot_IsChecked.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_SetFocusableSubtypes"): - FPDFAnnot_SetFocusableSubtypes = _lib.FPDFAnnot_SetFocusableSubtypes +# ./data/bindings/headers/fpdf_annot.h: 871 +if hasattr(_libs['pdfium'], 'FPDFAnnot_SetFocusableSubtypes'): + FPDFAnnot_SetFocusableSubtypes = _libs['pdfium']['FPDFAnnot_SetFocusableSubtypes'] FPDFAnnot_SetFocusableSubtypes.argtypes = [FPDF_FORMHANDLE, POINTER(FPDF_ANNOTATION_SUBTYPE), c_size_t] FPDFAnnot_SetFocusableSubtypes.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_GetFocusableSubtypesCount"): - FPDFAnnot_GetFocusableSubtypesCount = _lib.FPDFAnnot_GetFocusableSubtypesCount +# ./data/bindings/headers/fpdf_annot.h: 884 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetFocusableSubtypesCount'): + FPDFAnnot_GetFocusableSubtypesCount = _libs['pdfium']['FPDFAnnot_GetFocusableSubtypesCount'] FPDFAnnot_GetFocusableSubtypesCount.argtypes = [FPDF_FORMHANDLE] FPDFAnnot_GetFocusableSubtypesCount.restype = c_int -if hasattr(_lib, "FPDFAnnot_GetFocusableSubtypes"): - FPDFAnnot_GetFocusableSubtypes = _lib.FPDFAnnot_GetFocusableSubtypes +# ./data/bindings/headers/fpdf_annot.h: 900 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetFocusableSubtypes'): + FPDFAnnot_GetFocusableSubtypes = _libs['pdfium']['FPDFAnnot_GetFocusableSubtypes'] FPDFAnnot_GetFocusableSubtypes.argtypes = [FPDF_FORMHANDLE, POINTER(FPDF_ANNOTATION_SUBTYPE), c_size_t] FPDFAnnot_GetFocusableSubtypes.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAnnot_GetLink"): - FPDFAnnot_GetLink = _lib.FPDFAnnot_GetLink +# ./data/bindings/headers/fpdf_annot.h: 911 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetLink'): + FPDFAnnot_GetLink = _libs['pdfium']['FPDFAnnot_GetLink'] FPDFAnnot_GetLink.argtypes = [FPDF_ANNOTATION] FPDFAnnot_GetLink.restype = FPDF_LINK -if hasattr(_lib, "FPDFAnnot_GetFormControlCount"): - FPDFAnnot_GetFormControlCount = _lib.FPDFAnnot_GetFormControlCount +# ./data/bindings/headers/fpdf_annot.h: 925 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetFormControlCount'): + FPDFAnnot_GetFormControlCount = _libs['pdfium']['FPDFAnnot_GetFormControlCount'] FPDFAnnot_GetFormControlCount.argtypes = [FPDF_FORMHANDLE, FPDF_ANNOTATION] FPDFAnnot_GetFormControlCount.restype = c_int -if hasattr(_lib, "FPDFAnnot_GetFormControlIndex"): - FPDFAnnot_GetFormControlIndex = _lib.FPDFAnnot_GetFormControlIndex +# ./data/bindings/headers/fpdf_annot.h: 939 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetFormControlIndex'): + FPDFAnnot_GetFormControlIndex = _libs['pdfium']['FPDFAnnot_GetFormControlIndex'] FPDFAnnot_GetFormControlIndex.argtypes = [FPDF_FORMHANDLE, FPDF_ANNOTATION] FPDFAnnot_GetFormControlIndex.restype = c_int -if hasattr(_lib, "FPDFAnnot_GetFormFieldExportValue"): - FPDFAnnot_GetFormFieldExportValue = _lib.FPDFAnnot_GetFormFieldExportValue +# ./data/bindings/headers/fpdf_annot.h: 956 +if hasattr(_libs['pdfium'], 'FPDFAnnot_GetFormFieldExportValue'): + FPDFAnnot_GetFormFieldExportValue = _libs['pdfium']['FPDFAnnot_GetFormFieldExportValue'] FPDFAnnot_GetFormFieldExportValue.argtypes = [FPDF_FORMHANDLE, FPDF_ANNOTATION, POINTER(FPDF_WCHAR), c_ulong] FPDFAnnot_GetFormFieldExportValue.restype = c_ulong -if hasattr(_lib, "FPDFAnnot_SetURI"): - FPDFAnnot_SetURI = _lib.FPDFAnnot_SetURI +# ./data/bindings/headers/fpdf_annot.h: 968 +if hasattr(_libs['pdfium'], 'FPDFAnnot_SetURI'): + FPDFAnnot_SetURI = _libs['pdfium']['FPDFAnnot_SetURI'] FPDFAnnot_SetURI.argtypes = [FPDF_ANNOTATION, POINTER(c_char)] FPDFAnnot_SetURI.restype = FPDF_BOOL -if hasattr(_lib, "FPDFDoc_GetAttachmentCount"): - FPDFDoc_GetAttachmentCount = _lib.FPDFDoc_GetAttachmentCount +# ./data/bindings/headers/fpdf_attachment.h: 22 +if hasattr(_libs['pdfium'], 'FPDFDoc_GetAttachmentCount'): + FPDFDoc_GetAttachmentCount = _libs['pdfium']['FPDFDoc_GetAttachmentCount'] FPDFDoc_GetAttachmentCount.argtypes = [FPDF_DOCUMENT] FPDFDoc_GetAttachmentCount.restype = c_int -if hasattr(_lib, "FPDFDoc_AddAttachment"): - FPDFDoc_AddAttachment = _lib.FPDFDoc_AddAttachment +# ./data/bindings/headers/fpdf_attachment.h: 35 +if hasattr(_libs['pdfium'], 'FPDFDoc_AddAttachment'): + FPDFDoc_AddAttachment = _libs['pdfium']['FPDFDoc_AddAttachment'] FPDFDoc_AddAttachment.argtypes = [FPDF_DOCUMENT, FPDF_WIDESTRING] FPDFDoc_AddAttachment.restype = FPDF_ATTACHMENT -if hasattr(_lib, "FPDFDoc_GetAttachment"): - FPDFDoc_GetAttachment = _lib.FPDFDoc_GetAttachment +# ./data/bindings/headers/fpdf_attachment.h: 46 +if hasattr(_libs['pdfium'], 'FPDFDoc_GetAttachment'): + FPDFDoc_GetAttachment = _libs['pdfium']['FPDFDoc_GetAttachment'] FPDFDoc_GetAttachment.argtypes = [FPDF_DOCUMENT, c_int] FPDFDoc_GetAttachment.restype = FPDF_ATTACHMENT -if hasattr(_lib, "FPDFDoc_DeleteAttachment"): - FPDFDoc_DeleteAttachment = _lib.FPDFDoc_DeleteAttachment +# ./data/bindings/headers/fpdf_attachment.h: 59 +if hasattr(_libs['pdfium'], 'FPDFDoc_DeleteAttachment'): + FPDFDoc_DeleteAttachment = _libs['pdfium']['FPDFDoc_DeleteAttachment'] FPDFDoc_DeleteAttachment.argtypes = [FPDF_DOCUMENT, c_int] FPDFDoc_DeleteAttachment.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAttachment_GetName"): - FPDFAttachment_GetName = _lib.FPDFAttachment_GetName +# ./data/bindings/headers/fpdf_attachment.h: 72 +if hasattr(_libs['pdfium'], 'FPDFAttachment_GetName'): + FPDFAttachment_GetName = _libs['pdfium']['FPDFAttachment_GetName'] FPDFAttachment_GetName.argtypes = [FPDF_ATTACHMENT, POINTER(FPDF_WCHAR), c_ulong] FPDFAttachment_GetName.restype = c_ulong -if hasattr(_lib, "FPDFAttachment_HasKey"): - FPDFAttachment_HasKey = _lib.FPDFAttachment_HasKey +# ./data/bindings/headers/fpdf_attachment.h: 84 +if hasattr(_libs['pdfium'], 'FPDFAttachment_HasKey'): + FPDFAttachment_HasKey = _libs['pdfium']['FPDFAttachment_HasKey'] FPDFAttachment_HasKey.argtypes = [FPDF_ATTACHMENT, FPDF_BYTESTRING] FPDFAttachment_HasKey.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAttachment_GetValueType"): - FPDFAttachment_GetValueType = _lib.FPDFAttachment_GetValueType +# ./data/bindings/headers/fpdf_attachment.h: 95 +if hasattr(_libs['pdfium'], 'FPDFAttachment_GetValueType'): + FPDFAttachment_GetValueType = _libs['pdfium']['FPDFAttachment_GetValueType'] FPDFAttachment_GetValueType.argtypes = [FPDF_ATTACHMENT, FPDF_BYTESTRING] FPDFAttachment_GetValueType.restype = FPDF_OBJECT_TYPE -if hasattr(_lib, "FPDFAttachment_SetStringValue"): - FPDFAttachment_SetStringValue = _lib.FPDFAttachment_SetStringValue +# ./data/bindings/headers/fpdf_attachment.h: 108 +if hasattr(_libs['pdfium'], 'FPDFAttachment_SetStringValue'): + FPDFAttachment_SetStringValue = _libs['pdfium']['FPDFAttachment_SetStringValue'] FPDFAttachment_SetStringValue.argtypes = [FPDF_ATTACHMENT, FPDF_BYTESTRING, FPDF_WIDESTRING] FPDFAttachment_SetStringValue.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAttachment_GetStringValue"): - FPDFAttachment_GetStringValue = _lib.FPDFAttachment_GetStringValue +# ./data/bindings/headers/fpdf_attachment.h: 129 +if hasattr(_libs['pdfium'], 'FPDFAttachment_GetStringValue'): + FPDFAttachment_GetStringValue = _libs['pdfium']['FPDFAttachment_GetStringValue'] FPDFAttachment_GetStringValue.argtypes = [FPDF_ATTACHMENT, FPDF_BYTESTRING, POINTER(FPDF_WCHAR), c_ulong] FPDFAttachment_GetStringValue.restype = c_ulong -if hasattr(_lib, "FPDFAttachment_SetFile"): - FPDFAttachment_SetFile = _lib.FPDFAttachment_SetFile +# ./data/bindings/headers/fpdf_attachment.h: 146 +if hasattr(_libs['pdfium'], 'FPDFAttachment_SetFile'): + FPDFAttachment_SetFile = _libs['pdfium']['FPDFAttachment_SetFile'] FPDFAttachment_SetFile.argtypes = [FPDF_ATTACHMENT, FPDF_DOCUMENT, POINTER(None), c_ulong] FPDFAttachment_SetFile.restype = FPDF_BOOL -if hasattr(_lib, "FPDFAttachment_GetFile"): - FPDFAttachment_GetFile = _lib.FPDFAttachment_GetFile +# ./data/bindings/headers/fpdf_attachment.h: 170 +if hasattr(_libs['pdfium'], 'FPDFAttachment_GetFile'): + FPDFAttachment_GetFile = _libs['pdfium']['FPDFAttachment_GetFile'] FPDFAttachment_GetFile.argtypes = [FPDF_ATTACHMENT, POINTER(None), c_ulong, POINTER(c_ulong)] FPDFAttachment_GetFile.restype = FPDF_BOOL -if hasattr(_lib, "FPDFCatalog_IsTagged"): - FPDFCatalog_IsTagged = _lib.FPDFCatalog_IsTagged +# ./data/bindings/headers/fpdf_catalog.h: 28 +if hasattr(_libs['pdfium'], 'FPDFCatalog_IsTagged'): + FPDFCatalog_IsTagged = _libs['pdfium']['FPDFCatalog_IsTagged'] FPDFCatalog_IsTagged.argtypes = [FPDF_DOCUMENT] FPDFCatalog_IsTagged.restype = FPDF_BOOL +# ./data/bindings/headers/fpdf_dataavail.h: 33 class struct__FX_FILEAVAIL (Structure): __slots__ = ['version', 'IsDataAvail'] + struct__FX_FILEAVAIL._fields_ = [ ('version', c_int), ('IsDataAvail', CFUNCTYPE(FPDF_BOOL, POINTER(struct__FX_FILEAVAIL), c_size_t, c_size_t)), ] + +# ./data/bindings/headers/fpdf_dataavail.h: 52 FX_FILEAVAIL = struct__FX_FILEAVAIL -if hasattr(_lib, "FPDFAvail_Create"): - FPDFAvail_Create = _lib.FPDFAvail_Create +# ./data/bindings/headers/fpdf_dataavail.h: 62 +if hasattr(_libs['pdfium'], 'FPDFAvail_Create'): + FPDFAvail_Create = _libs['pdfium']['FPDFAvail_Create'] FPDFAvail_Create.argtypes = [POINTER(FX_FILEAVAIL), POINTER(FPDF_FILEACCESS)] FPDFAvail_Create.restype = FPDF_AVAIL -if hasattr(_lib, "FPDFAvail_Destroy"): - FPDFAvail_Destroy = _lib.FPDFAvail_Destroy +# ./data/bindings/headers/fpdf_dataavail.h: 68 +if hasattr(_libs['pdfium'], 'FPDFAvail_Destroy'): + FPDFAvail_Destroy = _libs['pdfium']['FPDFAvail_Destroy'] FPDFAvail_Destroy.argtypes = [FPDF_AVAIL] FPDFAvail_Destroy.restype = None +# ./data/bindings/headers/fpdf_dataavail.h: 71 class struct__FX_DOWNLOADHINTS (Structure): __slots__ = ['version', 'AddSegment'] + struct__FX_DOWNLOADHINTS._fields_ = [ ('version', c_int), ('AddSegment', CFUNCTYPE(None, POINTER(struct__FX_DOWNLOADHINTS), c_size_t, c_size_t)), ] + +# ./data/bindings/headers/fpdf_dataavail.h: 90 FX_DOWNLOADHINTS = struct__FX_DOWNLOADHINTS -if hasattr(_lib, "FPDFAvail_IsDocAvail"): - FPDFAvail_IsDocAvail = _lib.FPDFAvail_IsDocAvail +# ./data/bindings/headers/fpdf_dataavail.h: 109 +if hasattr(_libs['pdfium'], 'FPDFAvail_IsDocAvail'): + FPDFAvail_IsDocAvail = _libs['pdfium']['FPDFAvail_IsDocAvail'] FPDFAvail_IsDocAvail.argtypes = [FPDF_AVAIL, POINTER(FX_DOWNLOADHINTS)] FPDFAvail_IsDocAvail.restype = c_int -if hasattr(_lib, "FPDFAvail_GetDocument"): - FPDFAvail_GetDocument = _lib.FPDFAvail_GetDocument +# ./data/bindings/headers/fpdf_dataavail.h: 124 +if hasattr(_libs['pdfium'], 'FPDFAvail_GetDocument'): + FPDFAvail_GetDocument = _libs['pdfium']['FPDFAvail_GetDocument'] FPDFAvail_GetDocument.argtypes = [FPDF_AVAIL, FPDF_BYTESTRING] FPDFAvail_GetDocument.restype = FPDF_DOCUMENT -if hasattr(_lib, "FPDFAvail_GetFirstPageNum"): - FPDFAvail_GetFirstPageNum = _lib.FPDFAvail_GetFirstPageNum +# ./data/bindings/headers/fpdf_dataavail.h: 135 +if hasattr(_libs['pdfium'], 'FPDFAvail_GetFirstPageNum'): + FPDFAvail_GetFirstPageNum = _libs['pdfium']['FPDFAvail_GetFirstPageNum'] FPDFAvail_GetFirstPageNum.argtypes = [FPDF_DOCUMENT] FPDFAvail_GetFirstPageNum.restype = c_int -if hasattr(_lib, "FPDFAvail_IsPageAvail"): - FPDFAvail_IsPageAvail = _lib.FPDFAvail_IsPageAvail +# ./data/bindings/headers/fpdf_dataavail.h: 157 +if hasattr(_libs['pdfium'], 'FPDFAvail_IsPageAvail'): + FPDFAvail_IsPageAvail = _libs['pdfium']['FPDFAvail_IsPageAvail'] FPDFAvail_IsPageAvail.argtypes = [FPDF_AVAIL, c_int, POINTER(FX_DOWNLOADHINTS)] FPDFAvail_IsPageAvail.restype = c_int -if hasattr(_lib, "FPDFAvail_IsFormAvail"): - FPDFAvail_IsFormAvail = _lib.FPDFAvail_IsFormAvail +# ./data/bindings/headers/fpdf_dataavail.h: 182 +if hasattr(_libs['pdfium'], 'FPDFAvail_IsFormAvail'): + FPDFAvail_IsFormAvail = _libs['pdfium']['FPDFAvail_IsFormAvail'] FPDFAvail_IsFormAvail.argtypes = [FPDF_AVAIL, POINTER(FX_DOWNLOADHINTS)] FPDFAvail_IsFormAvail.restype = c_int -if hasattr(_lib, "FPDFAvail_IsLinearized"): - FPDFAvail_IsLinearized = _lib.FPDFAvail_IsLinearized +# ./data/bindings/headers/fpdf_dataavail.h: 198 +if hasattr(_libs['pdfium'], 'FPDFAvail_IsLinearized'): + FPDFAvail_IsLinearized = _libs['pdfium']['FPDFAvail_IsLinearized'] FPDFAvail_IsLinearized.argtypes = [FPDF_AVAIL] FPDFAvail_IsLinearized.restype = c_int + +# ./data/bindings/headers/fpdf_doc.h: 46 enum_anon_5 = c_int + +# ./data/bindings/headers/fpdf_doc.h: 46 FILEIDTYPE_PERMANENT = 0 + +# ./data/bindings/headers/fpdf_doc.h: 46 FILEIDTYPE_CHANGING = 1 + +# ./data/bindings/headers/fpdf_doc.h: 46 FPDF_FILEIDTYPE = enum_anon_5 -if hasattr(_lib, "FPDFBookmark_GetFirstChild"): - FPDFBookmark_GetFirstChild = _lib.FPDFBookmark_GetFirstChild +# ./data/bindings/headers/fpdf_doc.h: 59 +if hasattr(_libs['pdfium'], 'FPDFBookmark_GetFirstChild'): + FPDFBookmark_GetFirstChild = _libs['pdfium']['FPDFBookmark_GetFirstChild'] FPDFBookmark_GetFirstChild.argtypes = [FPDF_DOCUMENT, FPDF_BOOKMARK] FPDFBookmark_GetFirstChild.restype = FPDF_BOOKMARK -if hasattr(_lib, "FPDFBookmark_GetNextSibling"): - FPDFBookmark_GetNextSibling = _lib.FPDFBookmark_GetNextSibling +# ./data/bindings/headers/fpdf_doc.h: 72 +if hasattr(_libs['pdfium'], 'FPDFBookmark_GetNextSibling'): + FPDFBookmark_GetNextSibling = _libs['pdfium']['FPDFBookmark_GetNextSibling'] FPDFBookmark_GetNextSibling.argtypes = [FPDF_DOCUMENT, FPDF_BOOKMARK] FPDFBookmark_GetNextSibling.restype = FPDF_BOOKMARK -if hasattr(_lib, "FPDFBookmark_GetTitle"): - FPDFBookmark_GetTitle = _lib.FPDFBookmark_GetTitle +# ./data/bindings/headers/fpdf_doc.h: 88 +if hasattr(_libs['pdfium'], 'FPDFBookmark_GetTitle'): + FPDFBookmark_GetTitle = _libs['pdfium']['FPDFBookmark_GetTitle'] FPDFBookmark_GetTitle.argtypes = [FPDF_BOOKMARK, POINTER(None), c_ulong] FPDFBookmark_GetTitle.restype = c_ulong -if hasattr(_lib, "FPDFBookmark_GetCount"): - FPDFBookmark_GetCount = _lib.FPDFBookmark_GetCount +# ./data/bindings/headers/fpdf_doc.h: 102 +if hasattr(_libs['pdfium'], 'FPDFBookmark_GetCount'): + FPDFBookmark_GetCount = _libs['pdfium']['FPDFBookmark_GetCount'] FPDFBookmark_GetCount.argtypes = [FPDF_BOOKMARK] FPDFBookmark_GetCount.restype = c_int -if hasattr(_lib, "FPDFBookmark_Find"): - FPDFBookmark_Find = _lib.FPDFBookmark_Find +# ./data/bindings/headers/fpdf_doc.h: 114 +if hasattr(_libs['pdfium'], 'FPDFBookmark_Find'): + FPDFBookmark_Find = _libs['pdfium']['FPDFBookmark_Find'] FPDFBookmark_Find.argtypes = [FPDF_DOCUMENT, FPDF_WIDESTRING] FPDFBookmark_Find.restype = FPDF_BOOKMARK -if hasattr(_lib, "FPDFBookmark_GetDest"): - FPDFBookmark_GetDest = _lib.FPDFBookmark_GetDest +# ./data/bindings/headers/fpdf_doc.h: 124 +if hasattr(_libs['pdfium'], 'FPDFBookmark_GetDest'): + FPDFBookmark_GetDest = _libs['pdfium']['FPDFBookmark_GetDest'] FPDFBookmark_GetDest.argtypes = [FPDF_DOCUMENT, FPDF_BOOKMARK] FPDFBookmark_GetDest.restype = FPDF_DEST -if hasattr(_lib, "FPDFBookmark_GetAction"): - FPDFBookmark_GetAction = _lib.FPDFBookmark_GetAction +# ./data/bindings/headers/fpdf_doc.h: 137 +if hasattr(_libs['pdfium'], 'FPDFBookmark_GetAction'): + FPDFBookmark_GetAction = _libs['pdfium']['FPDFBookmark_GetAction'] FPDFBookmark_GetAction.argtypes = [FPDF_BOOKMARK] FPDFBookmark_GetAction.restype = FPDF_ACTION -if hasattr(_lib, "FPDFAction_GetType"): - FPDFAction_GetType = _lib.FPDFAction_GetType +# ./data/bindings/headers/fpdf_doc.h: 149 +if hasattr(_libs['pdfium'], 'FPDFAction_GetType'): + FPDFAction_GetType = _libs['pdfium']['FPDFAction_GetType'] FPDFAction_GetType.argtypes = [FPDF_ACTION] FPDFAction_GetType.restype = c_ulong -if hasattr(_lib, "FPDFAction_GetDest"): - FPDFAction_GetDest = _lib.FPDFAction_GetDest +# ./data/bindings/headers/fpdf_doc.h: 163 +if hasattr(_libs['pdfium'], 'FPDFAction_GetDest'): + FPDFAction_GetDest = _libs['pdfium']['FPDFAction_GetDest'] FPDFAction_GetDest.argtypes = [FPDF_DOCUMENT, FPDF_ACTION] FPDFAction_GetDest.restype = FPDF_DEST -if hasattr(_lib, "FPDFAction_GetFilePath"): - FPDFAction_GetFilePath = _lib.FPDFAction_GetFilePath +# ./data/bindings/headers/fpdf_doc.h: 181 +if hasattr(_libs['pdfium'], 'FPDFAction_GetFilePath'): + FPDFAction_GetFilePath = _libs['pdfium']['FPDFAction_GetFilePath'] FPDFAction_GetFilePath.argtypes = [FPDF_ACTION, POINTER(None), c_ulong] FPDFAction_GetFilePath.restype = c_ulong -if hasattr(_lib, "FPDFAction_GetURIPath"): - FPDFAction_GetURIPath = _lib.FPDFAction_GetURIPath +# ./data/bindings/headers/fpdf_doc.h: 207 +if hasattr(_libs['pdfium'], 'FPDFAction_GetURIPath'): + FPDFAction_GetURIPath = _libs['pdfium']['FPDFAction_GetURIPath'] FPDFAction_GetURIPath.argtypes = [FPDF_DOCUMENT, FPDF_ACTION, POINTER(None), c_ulong] FPDFAction_GetURIPath.restype = c_ulong -if hasattr(_lib, "FPDFDest_GetDestPageIndex"): - FPDFDest_GetDestPageIndex = _lib.FPDFDest_GetDestPageIndex +# ./data/bindings/headers/fpdf_doc.h: 218 +if hasattr(_libs['pdfium'], 'FPDFDest_GetDestPageIndex'): + FPDFDest_GetDestPageIndex = _libs['pdfium']['FPDFDest_GetDestPageIndex'] FPDFDest_GetDestPageIndex.argtypes = [FPDF_DOCUMENT, FPDF_DEST] FPDFDest_GetDestPageIndex.restype = c_int -if hasattr(_lib, "FPDFDest_GetView"): - FPDFDest_GetView = _lib.FPDFDest_GetView +# ./data/bindings/headers/fpdf_doc.h: 231 +if hasattr(_libs['pdfium'], 'FPDFDest_GetView'): + FPDFDest_GetView = _libs['pdfium']['FPDFDest_GetView'] FPDFDest_GetView.argtypes = [FPDF_DEST, POINTER(c_ulong), POINTER(FS_FLOAT)] FPDFDest_GetView.restype = c_ulong -if hasattr(_lib, "FPDFDest_GetLocationInPage"): - FPDFDest_GetLocationInPage = _lib.FPDFDest_GetLocationInPage +# ./data/bindings/headers/fpdf_doc.h: 248 +if hasattr(_libs['pdfium'], 'FPDFDest_GetLocationInPage'): + FPDFDest_GetLocationInPage = _libs['pdfium']['FPDFDest_GetLocationInPage'] FPDFDest_GetLocationInPage.argtypes = [FPDF_DEST, POINTER(FPDF_BOOL), POINTER(FPDF_BOOL), POINTER(FPDF_BOOL), POINTER(FS_FLOAT), POINTER(FS_FLOAT), POINTER(FS_FLOAT)] FPDFDest_GetLocationInPage.restype = FPDF_BOOL -if hasattr(_lib, "FPDFLink_GetLinkAtPoint"): - FPDFLink_GetLinkAtPoint = _lib.FPDFLink_GetLinkAtPoint +# ./data/bindings/headers/fpdf_doc.h: 266 +if hasattr(_libs['pdfium'], 'FPDFLink_GetLinkAtPoint'): + FPDFLink_GetLinkAtPoint = _libs['pdfium']['FPDFLink_GetLinkAtPoint'] FPDFLink_GetLinkAtPoint.argtypes = [FPDF_PAGE, c_double, c_double] FPDFLink_GetLinkAtPoint.restype = FPDF_LINK -if hasattr(_lib, "FPDFLink_GetLinkZOrderAtPoint"): - FPDFLink_GetLinkZOrderAtPoint = _lib.FPDFLink_GetLinkZOrderAtPoint +# ./data/bindings/headers/fpdf_doc.h: 281 +if hasattr(_libs['pdfium'], 'FPDFLink_GetLinkZOrderAtPoint'): + FPDFLink_GetLinkZOrderAtPoint = _libs['pdfium']['FPDFLink_GetLinkZOrderAtPoint'] FPDFLink_GetLinkZOrderAtPoint.argtypes = [FPDF_PAGE, c_double, c_double] FPDFLink_GetLinkZOrderAtPoint.restype = c_int -if hasattr(_lib, "FPDFLink_GetDest"): - FPDFLink_GetDest = _lib.FPDFLink_GetDest +# ./data/bindings/headers/fpdf_doc.h: 293 +if hasattr(_libs['pdfium'], 'FPDFLink_GetDest'): + FPDFLink_GetDest = _libs['pdfium']['FPDFLink_GetDest'] FPDFLink_GetDest.argtypes = [FPDF_DOCUMENT, FPDF_LINK] FPDFLink_GetDest.restype = FPDF_DEST -if hasattr(_lib, "FPDFLink_GetAction"): - FPDFLink_GetAction = _lib.FPDFLink_GetAction +# ./data/bindings/headers/fpdf_doc.h: 303 +if hasattr(_libs['pdfium'], 'FPDFLink_GetAction'): + FPDFLink_GetAction = _libs['pdfium']['FPDFLink_GetAction'] FPDFLink_GetAction.argtypes = [FPDF_LINK] FPDFLink_GetAction.restype = FPDF_ACTION -if hasattr(_lib, "FPDFLink_Enumerate"): - FPDFLink_Enumerate = _lib.FPDFLink_Enumerate +# ./data/bindings/headers/fpdf_doc.h: 313 +if hasattr(_libs['pdfium'], 'FPDFLink_Enumerate'): + FPDFLink_Enumerate = _libs['pdfium']['FPDFLink_Enumerate'] FPDFLink_Enumerate.argtypes = [FPDF_PAGE, POINTER(c_int), POINTER(FPDF_LINK)] FPDFLink_Enumerate.restype = FPDF_BOOL -if hasattr(_lib, "FPDFLink_GetAnnot"): - FPDFLink_GetAnnot = _lib.FPDFLink_GetAnnot +# ./data/bindings/headers/fpdf_doc.h: 326 +if hasattr(_libs['pdfium'], 'FPDFLink_GetAnnot'): + FPDFLink_GetAnnot = _libs['pdfium']['FPDFLink_GetAnnot'] FPDFLink_GetAnnot.argtypes = [FPDF_PAGE, FPDF_LINK] FPDFLink_GetAnnot.restype = FPDF_ANNOTATION -if hasattr(_lib, "FPDFLink_GetAnnotRect"): - FPDFLink_GetAnnotRect = _lib.FPDFLink_GetAnnotRect +# ./data/bindings/headers/fpdf_doc.h: 334 +if hasattr(_libs['pdfium'], 'FPDFLink_GetAnnotRect'): + FPDFLink_GetAnnotRect = _libs['pdfium']['FPDFLink_GetAnnotRect'] FPDFLink_GetAnnotRect.argtypes = [FPDF_LINK, POINTER(FS_RECTF)] FPDFLink_GetAnnotRect.restype = FPDF_BOOL -if hasattr(_lib, "FPDFLink_CountQuadPoints"): - FPDFLink_CountQuadPoints = _lib.FPDFLink_CountQuadPoints +# ./data/bindings/headers/fpdf_doc.h: 342 +if hasattr(_libs['pdfium'], 'FPDFLink_CountQuadPoints'): + FPDFLink_CountQuadPoints = _libs['pdfium']['FPDFLink_CountQuadPoints'] FPDFLink_CountQuadPoints.argtypes = [FPDF_LINK] FPDFLink_CountQuadPoints.restype = c_int -if hasattr(_lib, "FPDFLink_GetQuadPoints"): - FPDFLink_GetQuadPoints = _lib.FPDFLink_GetQuadPoints +# ./data/bindings/headers/fpdf_doc.h: 352 +if hasattr(_libs['pdfium'], 'FPDFLink_GetQuadPoints'): + FPDFLink_GetQuadPoints = _libs['pdfium']['FPDFLink_GetQuadPoints'] FPDFLink_GetQuadPoints.argtypes = [FPDF_LINK, c_int, POINTER(FS_QUADPOINTSF)] FPDFLink_GetQuadPoints.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_GetPageAAction"): - FPDF_GetPageAAction = _lib.FPDF_GetPageAAction +# ./data/bindings/headers/fpdf_doc.h: 367 +if hasattr(_libs['pdfium'], 'FPDF_GetPageAAction'): + FPDF_GetPageAAction = _libs['pdfium']['FPDF_GetPageAAction'] FPDF_GetPageAAction.argtypes = [FPDF_PAGE, c_int] FPDF_GetPageAAction.restype = FPDF_ACTION -if hasattr(_lib, "FPDF_GetFileIdentifier"): - FPDF_GetFileIdentifier = _lib.FPDF_GetFileIdentifier +# ./data/bindings/headers/fpdf_doc.h: 385 +if hasattr(_libs['pdfium'], 'FPDF_GetFileIdentifier'): + FPDF_GetFileIdentifier = _libs['pdfium']['FPDF_GetFileIdentifier'] FPDF_GetFileIdentifier.argtypes = [FPDF_DOCUMENT, FPDF_FILEIDTYPE, POINTER(None), c_ulong] FPDF_GetFileIdentifier.restype = c_ulong -if hasattr(_lib, "FPDF_GetMetaText"): - FPDF_GetMetaText = _lib.FPDF_GetMetaText +# ./data/bindings/headers/fpdf_doc.h: 411 +if hasattr(_libs['pdfium'], 'FPDF_GetMetaText'): + FPDF_GetMetaText = _libs['pdfium']['FPDF_GetMetaText'] FPDF_GetMetaText.argtypes = [FPDF_DOCUMENT, FPDF_BYTESTRING, POINTER(None), c_ulong] FPDF_GetMetaText.restype = c_ulong -if hasattr(_lib, "FPDF_GetPageLabel"): - FPDF_GetPageLabel = _lib.FPDF_GetPageLabel +# ./data/bindings/headers/fpdf_doc.h: 429 +if hasattr(_libs['pdfium'], 'FPDF_GetPageLabel'): + FPDF_GetPageLabel = _libs['pdfium']['FPDF_GetPageLabel'] FPDF_GetPageLabel.argtypes = [FPDF_DOCUMENT, c_int, POINTER(None), c_ulong] FPDF_GetPageLabel.restype = c_ulong + +# /usr/include/x86_64-linux-gnu/bits/types.h: 38 __uint8_t = c_ubyte + +# /usr/include/x86_64-linux-gnu/bits/types.h: 40 __uint16_t = c_ushort + +# /usr/include/x86_64-linux-gnu/bits/types.h: 42 __uint32_t = c_uint + +# /usr/include/x86_64-linux-gnu/bits/types.h: 160 __time_t = c_long + +# /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: 24 uint8_t = __uint8_t + +# /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: 25 uint16_t = __uint16_t + +# /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: 26 uint32_t = __uint32_t +# ./data/bindings/headers/fpdf_edit.h: 93 class struct_FPDF_IMAGEOBJ_METADATA (Structure): __slots__ = ['width', 'height', 'horizontal_dpi', 'vertical_dpi', 'bits_per_pixel', 'colorspace', 'marked_content_id'] + struct_FPDF_IMAGEOBJ_METADATA._fields_ = [ ('width', c_uint), ('height', c_uint), @@ -1497,536 +1979,647 @@ class struct_FPDF_IMAGEOBJ_METADATA (Structure): ('colorspace', c_int), ('marked_content_id', c_int), ] + +# ./data/bindings/headers/fpdf_edit.h: 93 FPDF_IMAGEOBJ_METADATA = struct_FPDF_IMAGEOBJ_METADATA -if hasattr(_lib, "FPDF_CreateNewDocument"): - FPDF_CreateNewDocument = _lib.FPDF_CreateNewDocument +# ./data/bindings/headers/fpdf_edit.h: 102 +if hasattr(_libs['pdfium'], 'FPDF_CreateNewDocument'): + FPDF_CreateNewDocument = _libs['pdfium']['FPDF_CreateNewDocument'] FPDF_CreateNewDocument.argtypes = [] FPDF_CreateNewDocument.restype = FPDF_DOCUMENT -if hasattr(_lib, "FPDFPage_New"): - FPDFPage_New = _lib.FPDFPage_New +# ./data/bindings/headers/fpdf_edit.h: 117 +if hasattr(_libs['pdfium'], 'FPDFPage_New'): + FPDFPage_New = _libs['pdfium']['FPDFPage_New'] FPDFPage_New.argtypes = [FPDF_DOCUMENT, c_int, c_double, c_double] FPDFPage_New.restype = FPDF_PAGE -if hasattr(_lib, "FPDFPage_Delete"): - FPDFPage_Delete = _lib.FPDFPage_Delete +# ./data/bindings/headers/fpdf_edit.h: 126 +if hasattr(_libs['pdfium'], 'FPDFPage_Delete'): + FPDFPage_Delete = _libs['pdfium']['FPDFPage_Delete'] FPDFPage_Delete.argtypes = [FPDF_DOCUMENT, c_int] FPDFPage_Delete.restype = None -if hasattr(_lib, "FPDF_MovePages"): - FPDF_MovePages = _lib.FPDF_MovePages +# ./data/bindings/headers/fpdf_edit.h: 156 +if hasattr(_libs['pdfium'], 'FPDF_MovePages'): + FPDF_MovePages = _libs['pdfium']['FPDF_MovePages'] FPDF_MovePages.argtypes = [FPDF_DOCUMENT, POINTER(c_int), c_ulong, c_int] FPDF_MovePages.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPage_GetRotation"): - FPDFPage_GetRotation = _lib.FPDFPage_GetRotation +# ./data/bindings/headers/fpdf_edit.h: 170 +if hasattr(_libs['pdfium'], 'FPDFPage_GetRotation'): + FPDFPage_GetRotation = _libs['pdfium']['FPDFPage_GetRotation'] FPDFPage_GetRotation.argtypes = [FPDF_PAGE] FPDFPage_GetRotation.restype = c_int -if hasattr(_lib, "FPDFPage_SetRotation"): - FPDFPage_SetRotation = _lib.FPDFPage_SetRotation +# ./data/bindings/headers/fpdf_edit.h: 180 +if hasattr(_libs['pdfium'], 'FPDFPage_SetRotation'): + FPDFPage_SetRotation = _libs['pdfium']['FPDFPage_SetRotation'] FPDFPage_SetRotation.argtypes = [FPDF_PAGE, c_int] FPDFPage_SetRotation.restype = None -if hasattr(_lib, "FPDFPage_InsertObject"): - FPDFPage_InsertObject = _lib.FPDFPage_InsertObject +# ./data/bindings/headers/fpdf_edit.h: 188 +if hasattr(_libs['pdfium'], 'FPDFPage_InsertObject'): + FPDFPage_InsertObject = _libs['pdfium']['FPDFPage_InsertObject'] FPDFPage_InsertObject.argtypes = [FPDF_PAGE, FPDF_PAGEOBJECT] FPDFPage_InsertObject.restype = None -if hasattr(_lib, "FPDFPage_RemoveObject"): - FPDFPage_RemoveObject = _lib.FPDFPage_RemoveObject +# ./data/bindings/headers/fpdf_edit.h: 201 +if hasattr(_libs['pdfium'], 'FPDFPage_RemoveObject'): + FPDFPage_RemoveObject = _libs['pdfium']['FPDFPage_RemoveObject'] FPDFPage_RemoveObject.argtypes = [FPDF_PAGE, FPDF_PAGEOBJECT] FPDFPage_RemoveObject.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPage_CountObjects"): - FPDFPage_CountObjects = _lib.FPDFPage_CountObjects +# ./data/bindings/headers/fpdf_edit.h: 208 +if hasattr(_libs['pdfium'], 'FPDFPage_CountObjects'): + FPDFPage_CountObjects = _libs['pdfium']['FPDFPage_CountObjects'] FPDFPage_CountObjects.argtypes = [FPDF_PAGE] FPDFPage_CountObjects.restype = c_int -if hasattr(_lib, "FPDFPage_GetObject"): - FPDFPage_GetObject = _lib.FPDFPage_GetObject +# ./data/bindings/headers/fpdf_edit.h: 216 +if hasattr(_libs['pdfium'], 'FPDFPage_GetObject'): + FPDFPage_GetObject = _libs['pdfium']['FPDFPage_GetObject'] FPDFPage_GetObject.argtypes = [FPDF_PAGE, c_int] FPDFPage_GetObject.restype = FPDF_PAGEOBJECT -if hasattr(_lib, "FPDFPage_HasTransparency"): - FPDFPage_HasTransparency = _lib.FPDFPage_HasTransparency +# ./data/bindings/headers/fpdf_edit.h: 224 +if hasattr(_libs['pdfium'], 'FPDFPage_HasTransparency'): + FPDFPage_HasTransparency = _libs['pdfium']['FPDFPage_HasTransparency'] FPDFPage_HasTransparency.argtypes = [FPDF_PAGE] FPDFPage_HasTransparency.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPage_GenerateContent"): - FPDFPage_GenerateContent = _lib.FPDFPage_GenerateContent +# ./data/bindings/headers/fpdf_edit.h: 234 +if hasattr(_libs['pdfium'], 'FPDFPage_GenerateContent'): + FPDFPage_GenerateContent = _libs['pdfium']['FPDFPage_GenerateContent'] FPDFPage_GenerateContent.argtypes = [FPDF_PAGE] FPDFPage_GenerateContent.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_Destroy"): - FPDFPageObj_Destroy = _lib.FPDFPageObj_Destroy +# ./data/bindings/headers/fpdf_edit.h: 243 +if hasattr(_libs['pdfium'], 'FPDFPageObj_Destroy'): + FPDFPageObj_Destroy = _libs['pdfium']['FPDFPageObj_Destroy'] FPDFPageObj_Destroy.argtypes = [FPDF_PAGEOBJECT] FPDFPageObj_Destroy.restype = None -if hasattr(_lib, "FPDFPageObj_HasTransparency"): - FPDFPageObj_HasTransparency = _lib.FPDFPageObj_HasTransparency +# ./data/bindings/headers/fpdf_edit.h: 251 +if hasattr(_libs['pdfium'], 'FPDFPageObj_HasTransparency'): + FPDFPageObj_HasTransparency = _libs['pdfium']['FPDFPageObj_HasTransparency'] FPDFPageObj_HasTransparency.argtypes = [FPDF_PAGEOBJECT] FPDFPageObj_HasTransparency.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_GetType"): - FPDFPageObj_GetType = _lib.FPDFPageObj_GetType +# ./data/bindings/headers/fpdf_edit.h: 259 +if hasattr(_libs['pdfium'], 'FPDFPageObj_GetType'): + FPDFPageObj_GetType = _libs['pdfium']['FPDFPageObj_GetType'] FPDFPageObj_GetType.argtypes = [FPDF_PAGEOBJECT] FPDFPageObj_GetType.restype = c_int -if hasattr(_lib, "FPDFPageObj_Transform"): - FPDFPageObj_Transform = _lib.FPDFPageObj_Transform +# ./data/bindings/headers/fpdf_edit.h: 276 +if hasattr(_libs['pdfium'], 'FPDFPageObj_Transform'): + FPDFPageObj_Transform = _libs['pdfium']['FPDFPageObj_Transform'] FPDFPageObj_Transform.argtypes = [FPDF_PAGEOBJECT, c_double, c_double, c_double, c_double, c_double, c_double] FPDFPageObj_Transform.restype = None -if hasattr(_lib, "FPDFPageObj_GetMatrix"): - FPDFPageObj_GetMatrix = _lib.FPDFPageObj_GetMatrix +# ./data/bindings/headers/fpdf_edit.h: 297 +if hasattr(_libs['pdfium'], 'FPDFPageObj_GetMatrix'): + FPDFPageObj_GetMatrix = _libs['pdfium']['FPDFPageObj_GetMatrix'] FPDFPageObj_GetMatrix.argtypes = [FPDF_PAGEOBJECT, POINTER(FS_MATRIX)] FPDFPageObj_GetMatrix.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_SetMatrix"): - FPDFPageObj_SetMatrix = _lib.FPDFPageObj_SetMatrix +# ./data/bindings/headers/fpdf_edit.h: 312 +if hasattr(_libs['pdfium'], 'FPDFPageObj_SetMatrix'): + FPDFPageObj_SetMatrix = _libs['pdfium']['FPDFPageObj_SetMatrix'] FPDFPageObj_SetMatrix.argtypes = [FPDF_PAGEOBJECT, POINTER(FS_MATRIX)] FPDFPageObj_SetMatrix.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPage_TransformAnnots"): - FPDFPage_TransformAnnots = _lib.FPDFPage_TransformAnnots +# ./data/bindings/headers/fpdf_edit.h: 328 +if hasattr(_libs['pdfium'], 'FPDFPage_TransformAnnots'): + FPDFPage_TransformAnnots = _libs['pdfium']['FPDFPage_TransformAnnots'] FPDFPage_TransformAnnots.argtypes = [FPDF_PAGE, c_double, c_double, c_double, c_double, c_double, c_double] FPDFPage_TransformAnnots.restype = None -if hasattr(_lib, "FPDFPageObj_NewImageObj"): - FPDFPageObj_NewImageObj = _lib.FPDFPageObj_NewImageObj +# ./data/bindings/headers/fpdf_edit.h: 342 +if hasattr(_libs['pdfium'], 'FPDFPageObj_NewImageObj'): + FPDFPageObj_NewImageObj = _libs['pdfium']['FPDFPageObj_NewImageObj'] FPDFPageObj_NewImageObj.argtypes = [FPDF_DOCUMENT] FPDFPageObj_NewImageObj.restype = FPDF_PAGEOBJECT -if hasattr(_lib, "FPDFPageObj_CountMarks"): - FPDFPageObj_CountMarks = _lib.FPDFPageObj_CountMarks +# ./data/bindings/headers/fpdf_edit.h: 352 +if hasattr(_libs['pdfium'], 'FPDFPageObj_CountMarks'): + FPDFPageObj_CountMarks = _libs['pdfium']['FPDFPageObj_CountMarks'] FPDFPageObj_CountMarks.argtypes = [FPDF_PAGEOBJECT] FPDFPageObj_CountMarks.restype = c_int -if hasattr(_lib, "FPDFPageObj_GetMark"): - FPDFPageObj_GetMark = _lib.FPDFPageObj_GetMark +# ./data/bindings/headers/fpdf_edit.h: 365 +if hasattr(_libs['pdfium'], 'FPDFPageObj_GetMark'): + FPDFPageObj_GetMark = _libs['pdfium']['FPDFPageObj_GetMark'] FPDFPageObj_GetMark.argtypes = [FPDF_PAGEOBJECT, c_ulong] FPDFPageObj_GetMark.restype = FPDF_PAGEOBJECTMARK -if hasattr(_lib, "FPDFPageObj_AddMark"): - FPDFPageObj_AddMark = _lib.FPDFPageObj_AddMark +# ./data/bindings/headers/fpdf_edit.h: 378 +if hasattr(_libs['pdfium'], 'FPDFPageObj_AddMark'): + FPDFPageObj_AddMark = _libs['pdfium']['FPDFPageObj_AddMark'] FPDFPageObj_AddMark.argtypes = [FPDF_PAGEOBJECT, FPDF_BYTESTRING] FPDFPageObj_AddMark.restype = FPDF_PAGEOBJECTMARK -if hasattr(_lib, "FPDFPageObj_RemoveMark"): - FPDFPageObj_RemoveMark = _lib.FPDFPageObj_RemoveMark +# ./data/bindings/headers/fpdf_edit.h: 389 +if hasattr(_libs['pdfium'], 'FPDFPageObj_RemoveMark'): + FPDFPageObj_RemoveMark = _libs['pdfium']['FPDFPageObj_RemoveMark'] FPDFPageObj_RemoveMark.argtypes = [FPDF_PAGEOBJECT, FPDF_PAGEOBJECTMARK] FPDFPageObj_RemoveMark.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObjMark_GetName"): - FPDFPageObjMark_GetName = _lib.FPDFPageObjMark_GetName +# ./data/bindings/headers/fpdf_edit.h: 405 +if hasattr(_libs['pdfium'], 'FPDFPageObjMark_GetName'): + FPDFPageObjMark_GetName = _libs['pdfium']['FPDFPageObjMark_GetName'] FPDFPageObjMark_GetName.argtypes = [FPDF_PAGEOBJECTMARK, POINTER(None), c_ulong, POINTER(c_ulong)] FPDFPageObjMark_GetName.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObjMark_CountParams"): - FPDFPageObjMark_CountParams = _lib.FPDFPageObjMark_CountParams +# ./data/bindings/headers/fpdf_edit.h: 418 +if hasattr(_libs['pdfium'], 'FPDFPageObjMark_CountParams'): + FPDFPageObjMark_CountParams = _libs['pdfium']['FPDFPageObjMark_CountParams'] FPDFPageObjMark_CountParams.argtypes = [FPDF_PAGEOBJECTMARK] FPDFPageObjMark_CountParams.restype = c_int -if hasattr(_lib, "FPDFPageObjMark_GetParamKey"): - FPDFPageObjMark_GetParamKey = _lib.FPDFPageObjMark_GetParamKey +# ./data/bindings/headers/fpdf_edit.h: 435 +if hasattr(_libs['pdfium'], 'FPDFPageObjMark_GetParamKey'): + FPDFPageObjMark_GetParamKey = _libs['pdfium']['FPDFPageObjMark_GetParamKey'] FPDFPageObjMark_GetParamKey.argtypes = [FPDF_PAGEOBJECTMARK, c_ulong, POINTER(None), c_ulong, POINTER(c_ulong)] FPDFPageObjMark_GetParamKey.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObjMark_GetParamValueType"): - FPDFPageObjMark_GetParamValueType = _lib.FPDFPageObjMark_GetParamValueType +# ./data/bindings/headers/fpdf_edit.h: 449 +if hasattr(_libs['pdfium'], 'FPDFPageObjMark_GetParamValueType'): + FPDFPageObjMark_GetParamValueType = _libs['pdfium']['FPDFPageObjMark_GetParamValueType'] FPDFPageObjMark_GetParamValueType.argtypes = [FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING] FPDFPageObjMark_GetParamValueType.restype = FPDF_OBJECT_TYPE -if hasattr(_lib, "FPDFPageObjMark_GetParamIntValue"): - FPDFPageObjMark_GetParamIntValue = _lib.FPDFPageObjMark_GetParamIntValue +# ./data/bindings/headers/fpdf_edit.h: 464 +if hasattr(_libs['pdfium'], 'FPDFPageObjMark_GetParamIntValue'): + FPDFPageObjMark_GetParamIntValue = _libs['pdfium']['FPDFPageObjMark_GetParamIntValue'] FPDFPageObjMark_GetParamIntValue.argtypes = [FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, POINTER(c_int)] FPDFPageObjMark_GetParamIntValue.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObjMark_GetParamStringValue"): - FPDFPageObjMark_GetParamStringValue = _lib.FPDFPageObjMark_GetParamStringValue +# ./data/bindings/headers/fpdf_edit.h: 484 +if hasattr(_libs['pdfium'], 'FPDFPageObjMark_GetParamStringValue'): + FPDFPageObjMark_GetParamStringValue = _libs['pdfium']['FPDFPageObjMark_GetParamStringValue'] FPDFPageObjMark_GetParamStringValue.argtypes = [FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, POINTER(None), c_ulong, POINTER(c_ulong)] FPDFPageObjMark_GetParamStringValue.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObjMark_GetParamBlobValue"): - FPDFPageObjMark_GetParamBlobValue = _lib.FPDFPageObjMark_GetParamBlobValue +# ./data/bindings/headers/fpdf_edit.h: 505 +if hasattr(_libs['pdfium'], 'FPDFPageObjMark_GetParamBlobValue'): + FPDFPageObjMark_GetParamBlobValue = _libs['pdfium']['FPDFPageObjMark_GetParamBlobValue'] FPDFPageObjMark_GetParamBlobValue.argtypes = [FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, POINTER(None), c_ulong, POINTER(c_ulong)] FPDFPageObjMark_GetParamBlobValue.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObjMark_SetIntParam"): - FPDFPageObjMark_SetIntParam = _lib.FPDFPageObjMark_SetIntParam +# ./data/bindings/headers/fpdf_edit.h: 524 +if hasattr(_libs['pdfium'], 'FPDFPageObjMark_SetIntParam'): + FPDFPageObjMark_SetIntParam = _libs['pdfium']['FPDFPageObjMark_SetIntParam'] FPDFPageObjMark_SetIntParam.argtypes = [FPDF_DOCUMENT, FPDF_PAGEOBJECT, FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, c_int] FPDFPageObjMark_SetIntParam.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObjMark_SetStringParam"): - FPDFPageObjMark_SetStringParam = _lib.FPDFPageObjMark_SetStringParam +# ./data/bindings/headers/fpdf_edit.h: 543 +if hasattr(_libs['pdfium'], 'FPDFPageObjMark_SetStringParam'): + FPDFPageObjMark_SetStringParam = _libs['pdfium']['FPDFPageObjMark_SetStringParam'] FPDFPageObjMark_SetStringParam.argtypes = [FPDF_DOCUMENT, FPDF_PAGEOBJECT, FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, FPDF_BYTESTRING] FPDFPageObjMark_SetStringParam.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObjMark_SetBlobParam"): - FPDFPageObjMark_SetBlobParam = _lib.FPDFPageObjMark_SetBlobParam +# ./data/bindings/headers/fpdf_edit.h: 563 +if hasattr(_libs['pdfium'], 'FPDFPageObjMark_SetBlobParam'): + FPDFPageObjMark_SetBlobParam = _libs['pdfium']['FPDFPageObjMark_SetBlobParam'] FPDFPageObjMark_SetBlobParam.argtypes = [FPDF_DOCUMENT, FPDF_PAGEOBJECT, FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, POINTER(None), c_ulong] FPDFPageObjMark_SetBlobParam.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObjMark_RemoveParam"): - FPDFPageObjMark_RemoveParam = _lib.FPDFPageObjMark_RemoveParam +# ./data/bindings/headers/fpdf_edit.h: 579 +if hasattr(_libs['pdfium'], 'FPDFPageObjMark_RemoveParam'): + FPDFPageObjMark_RemoveParam = _libs['pdfium']['FPDFPageObjMark_RemoveParam'] FPDFPageObjMark_RemoveParam.argtypes = [FPDF_PAGEOBJECT, FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING] FPDFPageObjMark_RemoveParam.restype = FPDF_BOOL -if hasattr(_lib, "FPDFImageObj_LoadJpegFile"): - FPDFImageObj_LoadJpegFile = _lib.FPDFImageObj_LoadJpegFile +# ./data/bindings/headers/fpdf_edit.h: 598 +if hasattr(_libs['pdfium'], 'FPDFImageObj_LoadJpegFile'): + FPDFImageObj_LoadJpegFile = _libs['pdfium']['FPDFImageObj_LoadJpegFile'] FPDFImageObj_LoadJpegFile.argtypes = [POINTER(FPDF_PAGE), c_int, FPDF_PAGEOBJECT, POINTER(FPDF_FILEACCESS)] FPDFImageObj_LoadJpegFile.restype = FPDF_BOOL -if hasattr(_lib, "FPDFImageObj_LoadJpegFileInline"): - FPDFImageObj_LoadJpegFileInline = _lib.FPDFImageObj_LoadJpegFileInline +# ./data/bindings/headers/fpdf_edit.h: 620 +if hasattr(_libs['pdfium'], 'FPDFImageObj_LoadJpegFileInline'): + FPDFImageObj_LoadJpegFileInline = _libs['pdfium']['FPDFImageObj_LoadJpegFileInline'] FPDFImageObj_LoadJpegFileInline.argtypes = [POINTER(FPDF_PAGE), c_int, FPDF_PAGEOBJECT, POINTER(FPDF_FILEACCESS)] FPDFImageObj_LoadJpegFileInline.restype = FPDF_BOOL -if hasattr(_lib, "FPDFImageObj_SetMatrix"): - FPDFImageObj_SetMatrix = _lib.FPDFImageObj_SetMatrix +# ./data/bindings/headers/fpdf_edit.h: 644 +if hasattr(_libs['pdfium'], 'FPDFImageObj_SetMatrix'): + FPDFImageObj_SetMatrix = _libs['pdfium']['FPDFImageObj_SetMatrix'] FPDFImageObj_SetMatrix.argtypes = [FPDF_PAGEOBJECT, c_double, c_double, c_double, c_double, c_double, c_double] FPDFImageObj_SetMatrix.restype = FPDF_BOOL -if hasattr(_lib, "FPDFImageObj_SetBitmap"): - FPDFImageObj_SetBitmap = _lib.FPDFImageObj_SetBitmap +# ./data/bindings/headers/fpdf_edit.h: 661 +if hasattr(_libs['pdfium'], 'FPDFImageObj_SetBitmap'): + FPDFImageObj_SetBitmap = _libs['pdfium']['FPDFImageObj_SetBitmap'] FPDFImageObj_SetBitmap.argtypes = [POINTER(FPDF_PAGE), c_int, FPDF_PAGEOBJECT, FPDF_BITMAP] FPDFImageObj_SetBitmap.restype = FPDF_BOOL -if hasattr(_lib, "FPDFImageObj_GetBitmap"): - FPDFImageObj_GetBitmap = _lib.FPDFImageObj_GetBitmap +# ./data/bindings/headers/fpdf_edit.h: 676 +if hasattr(_libs['pdfium'], 'FPDFImageObj_GetBitmap'): + FPDFImageObj_GetBitmap = _libs['pdfium']['FPDFImageObj_GetBitmap'] FPDFImageObj_GetBitmap.argtypes = [FPDF_PAGEOBJECT] FPDFImageObj_GetBitmap.restype = FPDF_BITMAP -if hasattr(_lib, "FPDFImageObj_GetRenderedBitmap"): - FPDFImageObj_GetRenderedBitmap = _lib.FPDFImageObj_GetRenderedBitmap +# ./data/bindings/headers/fpdf_edit.h: 692 +if hasattr(_libs['pdfium'], 'FPDFImageObj_GetRenderedBitmap'): + FPDFImageObj_GetRenderedBitmap = _libs['pdfium']['FPDFImageObj_GetRenderedBitmap'] FPDFImageObj_GetRenderedBitmap.argtypes = [FPDF_DOCUMENT, FPDF_PAGE, FPDF_PAGEOBJECT] FPDFImageObj_GetRenderedBitmap.restype = FPDF_BITMAP -if hasattr(_lib, "FPDFImageObj_GetImageDataDecoded"): - FPDFImageObj_GetImageDataDecoded = _lib.FPDFImageObj_GetImageDataDecoded +# ./data/bindings/headers/fpdf_edit.h: 707 +if hasattr(_libs['pdfium'], 'FPDFImageObj_GetImageDataDecoded'): + FPDFImageObj_GetImageDataDecoded = _libs['pdfium']['FPDFImageObj_GetImageDataDecoded'] FPDFImageObj_GetImageDataDecoded.argtypes = [FPDF_PAGEOBJECT, POINTER(None), c_ulong] FPDFImageObj_GetImageDataDecoded.restype = c_ulong -if hasattr(_lib, "FPDFImageObj_GetImageDataRaw"): - FPDFImageObj_GetImageDataRaw = _lib.FPDFImageObj_GetImageDataRaw +# ./data/bindings/headers/fpdf_edit.h: 721 +if hasattr(_libs['pdfium'], 'FPDFImageObj_GetImageDataRaw'): + FPDFImageObj_GetImageDataRaw = _libs['pdfium']['FPDFImageObj_GetImageDataRaw'] FPDFImageObj_GetImageDataRaw.argtypes = [FPDF_PAGEOBJECT, POINTER(None), c_ulong] FPDFImageObj_GetImageDataRaw.restype = c_ulong -if hasattr(_lib, "FPDFImageObj_GetImageFilterCount"): - FPDFImageObj_GetImageFilterCount = _lib.FPDFImageObj_GetImageFilterCount +# ./data/bindings/headers/fpdf_edit.h: 731 +if hasattr(_libs['pdfium'], 'FPDFImageObj_GetImageFilterCount'): + FPDFImageObj_GetImageFilterCount = _libs['pdfium']['FPDFImageObj_GetImageFilterCount'] FPDFImageObj_GetImageFilterCount.argtypes = [FPDF_PAGEOBJECT] FPDFImageObj_GetImageFilterCount.restype = c_int -if hasattr(_lib, "FPDFImageObj_GetImageFilter"): - FPDFImageObj_GetImageFilter = _lib.FPDFImageObj_GetImageFilter +# ./data/bindings/headers/fpdf_edit.h: 745 +if hasattr(_libs['pdfium'], 'FPDFImageObj_GetImageFilter'): + FPDFImageObj_GetImageFilter = _libs['pdfium']['FPDFImageObj_GetImageFilter'] FPDFImageObj_GetImageFilter.argtypes = [FPDF_PAGEOBJECT, c_int, POINTER(None), c_ulong] FPDFImageObj_GetImageFilter.restype = c_ulong -if hasattr(_lib, "FPDFImageObj_GetImageMetadata"): - FPDFImageObj_GetImageMetadata = _lib.FPDFImageObj_GetImageMetadata +# ./data/bindings/headers/fpdf_edit.h: 762 +if hasattr(_libs['pdfium'], 'FPDFImageObj_GetImageMetadata'): + FPDFImageObj_GetImageMetadata = _libs['pdfium']['FPDFImageObj_GetImageMetadata'] FPDFImageObj_GetImageMetadata.argtypes = [FPDF_PAGEOBJECT, FPDF_PAGE, POINTER(FPDF_IMAGEOBJ_METADATA)] FPDFImageObj_GetImageMetadata.restype = FPDF_BOOL -if hasattr(_lib, "FPDFImageObj_GetImagePixelSize"): - FPDFImageObj_GetImagePixelSize = _lib.FPDFImageObj_GetImagePixelSize +# ./data/bindings/headers/fpdf_edit.h: 775 +if hasattr(_libs['pdfium'], 'FPDFImageObj_GetImagePixelSize'): + FPDFImageObj_GetImagePixelSize = _libs['pdfium']['FPDFImageObj_GetImagePixelSize'] FPDFImageObj_GetImagePixelSize.argtypes = [FPDF_PAGEOBJECT, POINTER(c_uint), POINTER(c_uint)] FPDFImageObj_GetImagePixelSize.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_CreateNewPath"): - FPDFPageObj_CreateNewPath = _lib.FPDFPageObj_CreateNewPath +# ./data/bindings/headers/fpdf_edit.h: 785 +if hasattr(_libs['pdfium'], 'FPDFPageObj_CreateNewPath'): + FPDFPageObj_CreateNewPath = _libs['pdfium']['FPDFPageObj_CreateNewPath'] FPDFPageObj_CreateNewPath.argtypes = [c_float, c_float] FPDFPageObj_CreateNewPath.restype = FPDF_PAGEOBJECT -if hasattr(_lib, "FPDFPageObj_CreateNewRect"): - FPDFPageObj_CreateNewRect = _lib.FPDFPageObj_CreateNewRect +# ./data/bindings/headers/fpdf_edit.h: 796 +if hasattr(_libs['pdfium'], 'FPDFPageObj_CreateNewRect'): + FPDFPageObj_CreateNewRect = _libs['pdfium']['FPDFPageObj_CreateNewRect'] FPDFPageObj_CreateNewRect.argtypes = [c_float, c_float, c_float, c_float] FPDFPageObj_CreateNewRect.restype = FPDF_PAGEOBJECT -if hasattr(_lib, "FPDFPageObj_GetBounds"): - FPDFPageObj_GetBounds = _lib.FPDFPageObj_GetBounds +# ./data/bindings/headers/fpdf_edit.h: 811 +if hasattr(_libs['pdfium'], 'FPDFPageObj_GetBounds'): + FPDFPageObj_GetBounds = _libs['pdfium']['FPDFPageObj_GetBounds'] FPDFPageObj_GetBounds.argtypes = [FPDF_PAGEOBJECT, POINTER(c_float), POINTER(c_float), POINTER(c_float), POINTER(c_float)] FPDFPageObj_GetBounds.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_GetRotatedBounds"): - FPDFPageObj_GetRotatedBounds = _lib.FPDFPageObj_GetRotatedBounds +# ./data/bindings/headers/fpdf_edit.h: 833 +if hasattr(_libs['pdfium'], 'FPDFPageObj_GetRotatedBounds'): + FPDFPageObj_GetRotatedBounds = _libs['pdfium']['FPDFPageObj_GetRotatedBounds'] FPDFPageObj_GetRotatedBounds.argtypes = [FPDF_PAGEOBJECT, POINTER(FS_QUADPOINTSF)] FPDFPageObj_GetRotatedBounds.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_SetBlendMode"): - FPDFPageObj_SetBlendMode = _lib.FPDFPageObj_SetBlendMode +# ./data/bindings/headers/fpdf_edit.h: 845 +if hasattr(_libs['pdfium'], 'FPDFPageObj_SetBlendMode'): + FPDFPageObj_SetBlendMode = _libs['pdfium']['FPDFPageObj_SetBlendMode'] FPDFPageObj_SetBlendMode.argtypes = [FPDF_PAGEOBJECT, FPDF_BYTESTRING] FPDFPageObj_SetBlendMode.restype = None -if hasattr(_lib, "FPDFPageObj_SetStrokeColor"): - FPDFPageObj_SetStrokeColor = _lib.FPDFPageObj_SetStrokeColor +# ./data/bindings/headers/fpdf_edit.h: 858 +if hasattr(_libs['pdfium'], 'FPDFPageObj_SetStrokeColor'): + FPDFPageObj_SetStrokeColor = _libs['pdfium']['FPDFPageObj_SetStrokeColor'] FPDFPageObj_SetStrokeColor.argtypes = [FPDF_PAGEOBJECT, c_uint, c_uint, c_uint, c_uint] FPDFPageObj_SetStrokeColor.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_GetStrokeColor"): - FPDFPageObj_GetStrokeColor = _lib.FPDFPageObj_GetStrokeColor +# ./data/bindings/headers/fpdf_edit.h: 874 +if hasattr(_libs['pdfium'], 'FPDFPageObj_GetStrokeColor'): + FPDFPageObj_GetStrokeColor = _libs['pdfium']['FPDFPageObj_GetStrokeColor'] FPDFPageObj_GetStrokeColor.argtypes = [FPDF_PAGEOBJECT, POINTER(c_uint), POINTER(c_uint), POINTER(c_uint), POINTER(c_uint)] FPDFPageObj_GetStrokeColor.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_SetStrokeWidth"): - FPDFPageObj_SetStrokeWidth = _lib.FPDFPageObj_SetStrokeWidth +# ./data/bindings/headers/fpdf_edit.h: 887 +if hasattr(_libs['pdfium'], 'FPDFPageObj_SetStrokeWidth'): + FPDFPageObj_SetStrokeWidth = _libs['pdfium']['FPDFPageObj_SetStrokeWidth'] FPDFPageObj_SetStrokeWidth.argtypes = [FPDF_PAGEOBJECT, c_float] FPDFPageObj_SetStrokeWidth.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_GetStrokeWidth"): - FPDFPageObj_GetStrokeWidth = _lib.FPDFPageObj_GetStrokeWidth +# ./data/bindings/headers/fpdf_edit.h: 896 +if hasattr(_libs['pdfium'], 'FPDFPageObj_GetStrokeWidth'): + FPDFPageObj_GetStrokeWidth = _libs['pdfium']['FPDFPageObj_GetStrokeWidth'] FPDFPageObj_GetStrokeWidth.argtypes = [FPDF_PAGEOBJECT, POINTER(c_float)] FPDFPageObj_GetStrokeWidth.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_GetLineJoin"): - FPDFPageObj_GetLineJoin = _lib.FPDFPageObj_GetLineJoin +# ./data/bindings/headers/fpdf_edit.h: 906 +if hasattr(_libs['pdfium'], 'FPDFPageObj_GetLineJoin'): + FPDFPageObj_GetLineJoin = _libs['pdfium']['FPDFPageObj_GetLineJoin'] FPDFPageObj_GetLineJoin.argtypes = [FPDF_PAGEOBJECT] FPDFPageObj_GetLineJoin.restype = c_int -if hasattr(_lib, "FPDFPageObj_SetLineJoin"): - FPDFPageObj_SetLineJoin = _lib.FPDFPageObj_SetLineJoin +# ./data/bindings/headers/fpdf_edit.h: 916 +if hasattr(_libs['pdfium'], 'FPDFPageObj_SetLineJoin'): + FPDFPageObj_SetLineJoin = _libs['pdfium']['FPDFPageObj_SetLineJoin'] FPDFPageObj_SetLineJoin.argtypes = [FPDF_PAGEOBJECT, c_int] FPDFPageObj_SetLineJoin.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_GetLineCap"): - FPDFPageObj_GetLineCap = _lib.FPDFPageObj_GetLineCap +# ./data/bindings/headers/fpdf_edit.h: 926 +if hasattr(_libs['pdfium'], 'FPDFPageObj_GetLineCap'): + FPDFPageObj_GetLineCap = _libs['pdfium']['FPDFPageObj_GetLineCap'] FPDFPageObj_GetLineCap.argtypes = [FPDF_PAGEOBJECT] FPDFPageObj_GetLineCap.restype = c_int -if hasattr(_lib, "FPDFPageObj_SetLineCap"): - FPDFPageObj_SetLineCap = _lib.FPDFPageObj_SetLineCap +# ./data/bindings/headers/fpdf_edit.h: 936 +if hasattr(_libs['pdfium'], 'FPDFPageObj_SetLineCap'): + FPDFPageObj_SetLineCap = _libs['pdfium']['FPDFPageObj_SetLineCap'] FPDFPageObj_SetLineCap.argtypes = [FPDF_PAGEOBJECT, c_int] FPDFPageObj_SetLineCap.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_SetFillColor"): - FPDFPageObj_SetFillColor = _lib.FPDFPageObj_SetFillColor +# ./data/bindings/headers/fpdf_edit.h: 948 +if hasattr(_libs['pdfium'], 'FPDFPageObj_SetFillColor'): + FPDFPageObj_SetFillColor = _libs['pdfium']['FPDFPageObj_SetFillColor'] FPDFPageObj_SetFillColor.argtypes = [FPDF_PAGEOBJECT, c_uint, c_uint, c_uint, c_uint] FPDFPageObj_SetFillColor.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_GetFillColor"): - FPDFPageObj_GetFillColor = _lib.FPDFPageObj_GetFillColor +# ./data/bindings/headers/fpdf_edit.h: 964 +if hasattr(_libs['pdfium'], 'FPDFPageObj_GetFillColor'): + FPDFPageObj_GetFillColor = _libs['pdfium']['FPDFPageObj_GetFillColor'] FPDFPageObj_GetFillColor.argtypes = [FPDF_PAGEOBJECT, POINTER(c_uint), POINTER(c_uint), POINTER(c_uint), POINTER(c_uint)] FPDFPageObj_GetFillColor.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_GetDashPhase"): - FPDFPageObj_GetDashPhase = _lib.FPDFPageObj_GetDashPhase +# ./data/bindings/headers/fpdf_edit.h: 978 +if hasattr(_libs['pdfium'], 'FPDFPageObj_GetDashPhase'): + FPDFPageObj_GetDashPhase = _libs['pdfium']['FPDFPageObj_GetDashPhase'] FPDFPageObj_GetDashPhase.argtypes = [FPDF_PAGEOBJECT, POINTER(c_float)] FPDFPageObj_GetDashPhase.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_SetDashPhase"): - FPDFPageObj_SetDashPhase = _lib.FPDFPageObj_SetDashPhase +# ./data/bindings/headers/fpdf_edit.h: 988 +if hasattr(_libs['pdfium'], 'FPDFPageObj_SetDashPhase'): + FPDFPageObj_SetDashPhase = _libs['pdfium']['FPDFPageObj_SetDashPhase'] FPDFPageObj_SetDashPhase.argtypes = [FPDF_PAGEOBJECT, c_float] FPDFPageObj_SetDashPhase.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_GetDashCount"): - FPDFPageObj_GetDashCount = _lib.FPDFPageObj_GetDashCount +# ./data/bindings/headers/fpdf_edit.h: 997 +if hasattr(_libs['pdfium'], 'FPDFPageObj_GetDashCount'): + FPDFPageObj_GetDashCount = _libs['pdfium']['FPDFPageObj_GetDashCount'] FPDFPageObj_GetDashCount.argtypes = [FPDF_PAGEOBJECT] FPDFPageObj_GetDashCount.restype = c_int -if hasattr(_lib, "FPDFPageObj_GetDashArray"): - FPDFPageObj_GetDashArray = _lib.FPDFPageObj_GetDashArray +# ./data/bindings/headers/fpdf_edit.h: 1008 +if hasattr(_libs['pdfium'], 'FPDFPageObj_GetDashArray'): + FPDFPageObj_GetDashArray = _libs['pdfium']['FPDFPageObj_GetDashArray'] FPDFPageObj_GetDashArray.argtypes = [FPDF_PAGEOBJECT, POINTER(c_float), c_size_t] FPDFPageObj_GetDashArray.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_SetDashArray"): - FPDFPageObj_SetDashArray = _lib.FPDFPageObj_SetDashArray +# ./data/bindings/headers/fpdf_edit.h: 1022 +if hasattr(_libs['pdfium'], 'FPDFPageObj_SetDashArray'): + FPDFPageObj_SetDashArray = _libs['pdfium']['FPDFPageObj_SetDashArray'] FPDFPageObj_SetDashArray.argtypes = [FPDF_PAGEOBJECT, POINTER(c_float), c_size_t, c_float] FPDFPageObj_SetDashArray.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPath_CountSegments"): - FPDFPath_CountSegments = _lib.FPDFPath_CountSegments +# ./data/bindings/headers/fpdf_edit.h: 1035 +if hasattr(_libs['pdfium'], 'FPDFPath_CountSegments'): + FPDFPath_CountSegments = _libs['pdfium']['FPDFPath_CountSegments'] FPDFPath_CountSegments.argtypes = [FPDF_PAGEOBJECT] FPDFPath_CountSegments.restype = c_int -if hasattr(_lib, "FPDFPath_GetPathSegment"): - FPDFPath_GetPathSegment = _lib.FPDFPath_GetPathSegment +# ./data/bindings/headers/fpdf_edit.h: 1044 +if hasattr(_libs['pdfium'], 'FPDFPath_GetPathSegment'): + FPDFPath_GetPathSegment = _libs['pdfium']['FPDFPath_GetPathSegment'] FPDFPath_GetPathSegment.argtypes = [FPDF_PAGEOBJECT, c_int] FPDFPath_GetPathSegment.restype = FPDF_PATHSEGMENT -if hasattr(_lib, "FPDFPathSegment_GetPoint"): - FPDFPathSegment_GetPoint = _lib.FPDFPathSegment_GetPoint +# ./data/bindings/headers/fpdf_edit.h: 1054 +if hasattr(_libs['pdfium'], 'FPDFPathSegment_GetPoint'): + FPDFPathSegment_GetPoint = _libs['pdfium']['FPDFPathSegment_GetPoint'] FPDFPathSegment_GetPoint.argtypes = [FPDF_PATHSEGMENT, POINTER(c_float), POINTER(c_float)] FPDFPathSegment_GetPoint.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPathSegment_GetType"): - FPDFPathSegment_GetType = _lib.FPDFPathSegment_GetType +# ./data/bindings/headers/fpdf_edit.h: 1062 +if hasattr(_libs['pdfium'], 'FPDFPathSegment_GetType'): + FPDFPathSegment_GetType = _libs['pdfium']['FPDFPathSegment_GetType'] FPDFPathSegment_GetType.argtypes = [FPDF_PATHSEGMENT] FPDFPathSegment_GetType.restype = c_int -if hasattr(_lib, "FPDFPathSegment_GetClose"): - FPDFPathSegment_GetClose = _lib.FPDFPathSegment_GetClose +# ./data/bindings/headers/fpdf_edit.h: 1070 +if hasattr(_libs['pdfium'], 'FPDFPathSegment_GetClose'): + FPDFPathSegment_GetClose = _libs['pdfium']['FPDFPathSegment_GetClose'] FPDFPathSegment_GetClose.argtypes = [FPDF_PATHSEGMENT] FPDFPathSegment_GetClose.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPath_MoveTo"): - FPDFPath_MoveTo = _lib.FPDFPath_MoveTo +# ./data/bindings/headers/fpdf_edit.h: 1082 +if hasattr(_libs['pdfium'], 'FPDFPath_MoveTo'): + FPDFPath_MoveTo = _libs['pdfium']['FPDFPath_MoveTo'] FPDFPath_MoveTo.argtypes = [FPDF_PAGEOBJECT, c_float, c_float] FPDFPath_MoveTo.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPath_LineTo"): - FPDFPath_LineTo = _lib.FPDFPath_LineTo +# ./data/bindings/headers/fpdf_edit.h: 1095 +if hasattr(_libs['pdfium'], 'FPDFPath_LineTo'): + FPDFPath_LineTo = _libs['pdfium']['FPDFPath_LineTo'] FPDFPath_LineTo.argtypes = [FPDF_PAGEOBJECT, c_float, c_float] FPDFPath_LineTo.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPath_BezierTo"): - FPDFPath_BezierTo = _lib.FPDFPath_BezierTo +# ./data/bindings/headers/fpdf_edit.h: 1110 +if hasattr(_libs['pdfium'], 'FPDFPath_BezierTo'): + FPDFPath_BezierTo = _libs['pdfium']['FPDFPath_BezierTo'] FPDFPath_BezierTo.argtypes = [FPDF_PAGEOBJECT, c_float, c_float, c_float, c_float, c_float, c_float] FPDFPath_BezierTo.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPath_Close"): - FPDFPath_Close = _lib.FPDFPath_Close +# ./data/bindings/headers/fpdf_edit.h: 1126 +if hasattr(_libs['pdfium'], 'FPDFPath_Close'): + FPDFPath_Close = _libs['pdfium']['FPDFPath_Close'] FPDFPath_Close.argtypes = [FPDF_PAGEOBJECT] FPDFPath_Close.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPath_SetDrawMode"): - FPDFPath_SetDrawMode = _lib.FPDFPath_SetDrawMode +# ./data/bindings/headers/fpdf_edit.h: 1135 +if hasattr(_libs['pdfium'], 'FPDFPath_SetDrawMode'): + FPDFPath_SetDrawMode = _libs['pdfium']['FPDFPath_SetDrawMode'] FPDFPath_SetDrawMode.argtypes = [FPDF_PAGEOBJECT, c_int, FPDF_BOOL] FPDFPath_SetDrawMode.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPath_GetDrawMode"): - FPDFPath_GetDrawMode = _lib.FPDFPath_GetDrawMode +# ./data/bindings/headers/fpdf_edit.h: 1146 +if hasattr(_libs['pdfium'], 'FPDFPath_GetDrawMode'): + FPDFPath_GetDrawMode = _libs['pdfium']['FPDFPath_GetDrawMode'] FPDFPath_GetDrawMode.argtypes = [FPDF_PAGEOBJECT, POINTER(c_int), POINTER(FPDF_BOOL)] FPDFPath_GetDrawMode.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_NewTextObj"): - FPDFPageObj_NewTextObj = _lib.FPDFPageObj_NewTextObj +# ./data/bindings/headers/fpdf_edit.h: 1158 +if hasattr(_libs['pdfium'], 'FPDFPageObj_NewTextObj'): + FPDFPageObj_NewTextObj = _libs['pdfium']['FPDFPageObj_NewTextObj'] FPDFPageObj_NewTextObj.argtypes = [FPDF_DOCUMENT, FPDF_BYTESTRING, c_float] FPDFPageObj_NewTextObj.restype = FPDF_PAGEOBJECT -if hasattr(_lib, "FPDFText_SetText"): - FPDFText_SetText = _lib.FPDFText_SetText +# ./data/bindings/headers/fpdf_edit.h: 1169 +if hasattr(_libs['pdfium'], 'FPDFText_SetText'): + FPDFText_SetText = _libs['pdfium']['FPDFText_SetText'] FPDFText_SetText.argtypes = [FPDF_PAGEOBJECT, FPDF_WIDESTRING] FPDFText_SetText.restype = FPDF_BOOL -if hasattr(_lib, "FPDFText_SetCharcodes"): - FPDFText_SetCharcodes = _lib.FPDFText_SetCharcodes +# ./data/bindings/headers/fpdf_edit.h: 1181 +if hasattr(_libs['pdfium'], 'FPDFText_SetCharcodes'): + FPDFText_SetCharcodes = _libs['pdfium']['FPDFText_SetCharcodes'] FPDFText_SetCharcodes.argtypes = [FPDF_PAGEOBJECT, POINTER(uint32_t), c_size_t] FPDFText_SetCharcodes.restype = FPDF_BOOL -if hasattr(_lib, "FPDFText_LoadFont"): - FPDFText_LoadFont = _lib.FPDFText_LoadFont +# ./data/bindings/headers/fpdf_edit.h: 1198 +if hasattr(_libs['pdfium'], 'FPDFText_LoadFont'): + FPDFText_LoadFont = _libs['pdfium']['FPDFText_LoadFont'] FPDFText_LoadFont.argtypes = [FPDF_DOCUMENT, POINTER(uint8_t), uint32_t, c_int, FPDF_BOOL] FPDFText_LoadFont.restype = FPDF_FONT -if hasattr(_lib, "FPDFText_LoadStandardFont"): - FPDFText_LoadStandardFont = _lib.FPDFText_LoadStandardFont +# ./data/bindings/headers/fpdf_edit.h: 1216 +if hasattr(_libs['pdfium'], 'FPDFText_LoadStandardFont'): + FPDFText_LoadStandardFont = _libs['pdfium']['FPDFText_LoadStandardFont'] FPDFText_LoadStandardFont.argtypes = [FPDF_DOCUMENT, FPDF_BYTESTRING] FPDFText_LoadStandardFont.restype = FPDF_FONT -if hasattr(_lib, "FPDFTextObj_GetFontSize"): - FPDFTextObj_GetFontSize = _lib.FPDFTextObj_GetFontSize +# ./data/bindings/headers/fpdf_edit.h: 1226 +if hasattr(_libs['pdfium'], 'FPDFTextObj_GetFontSize'): + FPDFTextObj_GetFontSize = _libs['pdfium']['FPDFTextObj_GetFontSize'] FPDFTextObj_GetFontSize.argtypes = [FPDF_PAGEOBJECT, POINTER(c_float)] FPDFTextObj_GetFontSize.restype = FPDF_BOOL -if hasattr(_lib, "FPDFFont_Close"): - FPDFFont_Close = _lib.FPDFFont_Close +# ./data/bindings/headers/fpdf_edit.h: 1231 +if hasattr(_libs['pdfium'], 'FPDFFont_Close'): + FPDFFont_Close = _libs['pdfium']['FPDFFont_Close'] FPDFFont_Close.argtypes = [FPDF_FONT] FPDFFont_Close.restype = None -if hasattr(_lib, "FPDFPageObj_CreateTextObj"): - FPDFPageObj_CreateTextObj = _lib.FPDFPageObj_CreateTextObj +# ./data/bindings/headers/fpdf_edit.h: 1241 +if hasattr(_libs['pdfium'], 'FPDFPageObj_CreateTextObj'): + FPDFPageObj_CreateTextObj = _libs['pdfium']['FPDFPageObj_CreateTextObj'] FPDFPageObj_CreateTextObj.argtypes = [FPDF_DOCUMENT, FPDF_FONT, c_float] FPDFPageObj_CreateTextObj.restype = FPDF_PAGEOBJECT -if hasattr(_lib, "FPDFTextObj_GetTextRenderMode"): - FPDFTextObj_GetTextRenderMode = _lib.FPDFTextObj_GetTextRenderMode +# ./data/bindings/headers/fpdf_edit.h: 1252 +if hasattr(_libs['pdfium'], 'FPDFTextObj_GetTextRenderMode'): + FPDFTextObj_GetTextRenderMode = _libs['pdfium']['FPDFTextObj_GetTextRenderMode'] FPDFTextObj_GetTextRenderMode.argtypes = [FPDF_PAGEOBJECT] FPDFTextObj_GetTextRenderMode.restype = FPDF_TEXT_RENDERMODE -if hasattr(_lib, "FPDFTextObj_SetTextRenderMode"): - FPDFTextObj_SetTextRenderMode = _lib.FPDFTextObj_SetTextRenderMode +# ./data/bindings/headers/fpdf_edit.h: 1263 +if hasattr(_libs['pdfium'], 'FPDFTextObj_SetTextRenderMode'): + FPDFTextObj_SetTextRenderMode = _libs['pdfium']['FPDFTextObj_SetTextRenderMode'] FPDFTextObj_SetTextRenderMode.argtypes = [FPDF_PAGEOBJECT, FPDF_TEXT_RENDERMODE] FPDFTextObj_SetTextRenderMode.restype = FPDF_BOOL -if hasattr(_lib, "FPDFTextObj_GetText"): - FPDFTextObj_GetText = _lib.FPDFTextObj_GetText +# ./data/bindings/headers/fpdf_edit.h: 1280 +if hasattr(_libs['pdfium'], 'FPDFTextObj_GetText'): + FPDFTextObj_GetText = _libs['pdfium']['FPDFTextObj_GetText'] FPDFTextObj_GetText.argtypes = [FPDF_PAGEOBJECT, FPDF_TEXTPAGE, POINTER(FPDF_WCHAR), c_ulong] FPDFTextObj_GetText.restype = c_ulong -if hasattr(_lib, "FPDFTextObj_GetRenderedBitmap"): - FPDFTextObj_GetRenderedBitmap = _lib.FPDFTextObj_GetRenderedBitmap +# ./data/bindings/headers/fpdf_edit.h: 1299 +if hasattr(_libs['pdfium'], 'FPDFTextObj_GetRenderedBitmap'): + FPDFTextObj_GetRenderedBitmap = _libs['pdfium']['FPDFTextObj_GetRenderedBitmap'] FPDFTextObj_GetRenderedBitmap.argtypes = [FPDF_DOCUMENT, FPDF_PAGE, FPDF_PAGEOBJECT, c_float] FPDFTextObj_GetRenderedBitmap.restype = FPDF_BITMAP -if hasattr(_lib, "FPDFTextObj_GetFont"): - FPDFTextObj_GetFont = _lib.FPDFTextObj_GetFont +# ./data/bindings/headers/fpdf_edit.h: 1310 +if hasattr(_libs['pdfium'], 'FPDFTextObj_GetFont'): + FPDFTextObj_GetFont = _libs['pdfium']['FPDFTextObj_GetFont'] FPDFTextObj_GetFont.argtypes = [FPDF_PAGEOBJECT] FPDFTextObj_GetFont.restype = FPDF_FONT -if hasattr(_lib, "FPDFFont_GetFontName"): - FPDFFont_GetFontName = _lib.FPDFFont_GetFontName +# ./data/bindings/headers/fpdf_edit.h: 1326 +if hasattr(_libs['pdfium'], 'FPDFFont_GetFontName'): + FPDFFont_GetFontName = _libs['pdfium']['FPDFFont_GetFontName'] FPDFFont_GetFontName.argtypes = [FPDF_FONT, POINTER(c_char), c_ulong] FPDFFont_GetFontName.restype = c_ulong -if hasattr(_lib, "FPDFFont_GetFontData"): - FPDFFont_GetFontData = _lib.FPDFFont_GetFontData +# ./data/bindings/headers/fpdf_edit.h: 1347 +if hasattr(_libs['pdfium'], 'FPDFFont_GetFontData'): + FPDFFont_GetFontData = _libs['pdfium']['FPDFFont_GetFontData'] FPDFFont_GetFontData.argtypes = [FPDF_FONT, POINTER(uint8_t), c_size_t, POINTER(c_size_t)] FPDFFont_GetFontData.restype = FPDF_BOOL -if hasattr(_lib, "FPDFFont_GetIsEmbedded"): - FPDFFont_GetIsEmbedded = _lib.FPDFFont_GetIsEmbedded +# ./data/bindings/headers/fpdf_edit.h: 1358 +if hasattr(_libs['pdfium'], 'FPDFFont_GetIsEmbedded'): + FPDFFont_GetIsEmbedded = _libs['pdfium']['FPDFFont_GetIsEmbedded'] FPDFFont_GetIsEmbedded.argtypes = [FPDF_FONT] FPDFFont_GetIsEmbedded.restype = c_int -if hasattr(_lib, "FPDFFont_GetFlags"): - FPDFFont_GetFlags = _lib.FPDFFont_GetFlags +# ./data/bindings/headers/fpdf_edit.h: 1367 +if hasattr(_libs['pdfium'], 'FPDFFont_GetFlags'): + FPDFFont_GetFlags = _libs['pdfium']['FPDFFont_GetFlags'] FPDFFont_GetFlags.argtypes = [FPDF_FONT] FPDFFont_GetFlags.restype = c_int -if hasattr(_lib, "FPDFFont_GetWeight"): - FPDFFont_GetWeight = _lib.FPDFFont_GetWeight +# ./data/bindings/headers/fpdf_edit.h: 1376 +if hasattr(_libs['pdfium'], 'FPDFFont_GetWeight'): + FPDFFont_GetWeight = _libs['pdfium']['FPDFFont_GetWeight'] FPDFFont_GetWeight.argtypes = [FPDF_FONT] FPDFFont_GetWeight.restype = c_int -if hasattr(_lib, "FPDFFont_GetItalicAngle"): - FPDFFont_GetItalicAngle = _lib.FPDFFont_GetItalicAngle +# ./data/bindings/headers/fpdf_edit.h: 1388 +if hasattr(_libs['pdfium'], 'FPDFFont_GetItalicAngle'): + FPDFFont_GetItalicAngle = _libs['pdfium']['FPDFFont_GetItalicAngle'] FPDFFont_GetItalicAngle.argtypes = [FPDF_FONT, POINTER(c_int)] FPDFFont_GetItalicAngle.restype = FPDF_BOOL -if hasattr(_lib, "FPDFFont_GetAscent"): - FPDFFont_GetAscent = _lib.FPDFFont_GetAscent +# ./data/bindings/headers/fpdf_edit.h: 1402 +if hasattr(_libs['pdfium'], 'FPDFFont_GetAscent'): + FPDFFont_GetAscent = _libs['pdfium']['FPDFFont_GetAscent'] FPDFFont_GetAscent.argtypes = [FPDF_FONT, c_float, POINTER(c_float)] FPDFFont_GetAscent.restype = FPDF_BOOL -if hasattr(_lib, "FPDFFont_GetDescent"): - FPDFFont_GetDescent = _lib.FPDFFont_GetDescent +# ./data/bindings/headers/fpdf_edit.h: 1417 +if hasattr(_libs['pdfium'], 'FPDFFont_GetDescent'): + FPDFFont_GetDescent = _libs['pdfium']['FPDFFont_GetDescent'] FPDFFont_GetDescent.argtypes = [FPDF_FONT, c_float, POINTER(c_float)] FPDFFont_GetDescent.restype = FPDF_BOOL -if hasattr(_lib, "FPDFFont_GetGlyphWidth"): - FPDFFont_GetGlyphWidth = _lib.FPDFFont_GetGlyphWidth +# ./data/bindings/headers/fpdf_edit.h: 1433 +if hasattr(_libs['pdfium'], 'FPDFFont_GetGlyphWidth'): + FPDFFont_GetGlyphWidth = _libs['pdfium']['FPDFFont_GetGlyphWidth'] FPDFFont_GetGlyphWidth.argtypes = [FPDF_FONT, uint32_t, c_float, POINTER(c_float)] FPDFFont_GetGlyphWidth.restype = FPDF_BOOL -if hasattr(_lib, "FPDFFont_GetGlyphPath"): - FPDFFont_GetGlyphPath = _lib.FPDFFont_GetGlyphPath +# ./data/bindings/headers/fpdf_edit.h: 1446 +if hasattr(_libs['pdfium'], 'FPDFFont_GetGlyphPath'): + FPDFFont_GetGlyphPath = _libs['pdfium']['FPDFFont_GetGlyphPath'] FPDFFont_GetGlyphPath.argtypes = [FPDF_FONT, uint32_t, c_float] FPDFFont_GetGlyphPath.restype = FPDF_GLYPHPATH -if hasattr(_lib, "FPDFGlyphPath_CountGlyphSegments"): - FPDFGlyphPath_CountGlyphSegments = _lib.FPDFGlyphPath_CountGlyphSegments +# ./data/bindings/headers/fpdf_edit.h: 1457 +if hasattr(_libs['pdfium'], 'FPDFGlyphPath_CountGlyphSegments'): + FPDFGlyphPath_CountGlyphSegments = _libs['pdfium']['FPDFGlyphPath_CountGlyphSegments'] FPDFGlyphPath_CountGlyphSegments.argtypes = [FPDF_GLYPHPATH] FPDFGlyphPath_CountGlyphSegments.restype = c_int -if hasattr(_lib, "FPDFGlyphPath_GetGlyphPathSegment"): - FPDFGlyphPath_GetGlyphPathSegment = _lib.FPDFGlyphPath_GetGlyphPathSegment +# ./data/bindings/headers/fpdf_edit.h: 1467 +if hasattr(_libs['pdfium'], 'FPDFGlyphPath_GetGlyphPathSegment'): + FPDFGlyphPath_GetGlyphPathSegment = _libs['pdfium']['FPDFGlyphPath_GetGlyphPathSegment'] FPDFGlyphPath_GetGlyphPathSegment.argtypes = [FPDF_GLYPHPATH, c_int] FPDFGlyphPath_GetGlyphPathSegment.restype = FPDF_PATHSEGMENT -if hasattr(_lib, "FPDFFormObj_CountObjects"): - FPDFFormObj_CountObjects = _lib.FPDFFormObj_CountObjects +# ./data/bindings/headers/fpdf_edit.h: 1475 +if hasattr(_libs['pdfium'], 'FPDFFormObj_CountObjects'): + FPDFFormObj_CountObjects = _libs['pdfium']['FPDFFormObj_CountObjects'] FPDFFormObj_CountObjects.argtypes = [FPDF_PAGEOBJECT] FPDFFormObj_CountObjects.restype = c_int -if hasattr(_lib, "FPDFFormObj_GetObject"): - FPDFFormObj_GetObject = _lib.FPDFFormObj_GetObject +# ./data/bindings/headers/fpdf_edit.h: 1484 +if hasattr(_libs['pdfium'], 'FPDFFormObj_GetObject'): + FPDFFormObj_GetObject = _libs['pdfium']['FPDFFormObj_GetObject'] FPDFFormObj_GetObject.argtypes = [FPDF_PAGEOBJECT, c_ulong] FPDFFormObj_GetObject.restype = FPDF_PAGEOBJECT + +# /usr/include/x86_64-linux-gnu/bits/types/time_t.h: 10 time_t = __time_t +# /usr/include/x86_64-linux-gnu/bits/types/struct_tm.h: 7 class struct_tm (Structure): __slots__ = ['tm_sec', 'tm_min', 'tm_hour', 'tm_mday', 'tm_mon', 'tm_year', 'tm_wday', 'tm_yday', 'tm_isdst', 'tm_gmtoff', 'tm_zone'] + struct_tm._fields_ = [ ('tm_sec', c_int), ('tm_min', c_int), @@ -2041,1133 +2634,2238 @@ class struct_tm (Structure): ('tm_zone', POINTER(c_char)), ] +# ./data/bindings/headers/fpdf_ext.h: 51 class struct__UNSUPPORT_INFO (Structure): __slots__ = ['version', 'FSDK_UnSupport_Handler'] + struct__UNSUPPORT_INFO._fields_ = [ ('version', c_int), ('FSDK_UnSupport_Handler', CFUNCTYPE(None, POINTER(struct__UNSUPPORT_INFO), c_int)), ] + +# ./data/bindings/headers/fpdf_ext.h: 62 UNSUPPORT_INFO = struct__UNSUPPORT_INFO -if hasattr(_lib, "FSDK_SetUnSpObjProcessHandler"): - FSDK_SetUnSpObjProcessHandler = _lib.FSDK_SetUnSpObjProcessHandler +# ./data/bindings/headers/fpdf_ext.h: 70 +if hasattr(_libs['pdfium'], 'FSDK_SetUnSpObjProcessHandler'): + FSDK_SetUnSpObjProcessHandler = _libs['pdfium']['FSDK_SetUnSpObjProcessHandler'] FSDK_SetUnSpObjProcessHandler.argtypes = [POINTER(UNSUPPORT_INFO)] FSDK_SetUnSpObjProcessHandler.restype = FPDF_BOOL -if hasattr(_lib, "FSDK_SetTimeFunction"): - FSDK_SetTimeFunction = _lib.FSDK_SetTimeFunction +# ./data/bindings/headers/fpdf_ext.h: 79 +if hasattr(_libs['pdfium'], 'FSDK_SetTimeFunction'): + FSDK_SetTimeFunction = _libs['pdfium']['FSDK_SetTimeFunction'] FSDK_SetTimeFunction.argtypes = [CFUNCTYPE(time_t, )] FSDK_SetTimeFunction.restype = None -if hasattr(_lib, "FSDK_SetLocaltimeFunction"): - FSDK_SetLocaltimeFunction = _lib.FSDK_SetLocaltimeFunction +# ./data/bindings/headers/fpdf_ext.h: 89 +if hasattr(_libs['pdfium'], 'FSDK_SetLocaltimeFunction'): + FSDK_SetLocaltimeFunction = _libs['pdfium']['FSDK_SetLocaltimeFunction'] FSDK_SetLocaltimeFunction.argtypes = [CFUNCTYPE(POINTER(struct_tm), POINTER(time_t))] FSDK_SetLocaltimeFunction.restype = None -if hasattr(_lib, "FPDFDoc_GetPageMode"): - FPDFDoc_GetPageMode = _lib.FPDFDoc_GetPageMode +# ./data/bindings/headers/fpdf_ext.h: 113 +if hasattr(_libs['pdfium'], 'FPDFDoc_GetPageMode'): + FPDFDoc_GetPageMode = _libs['pdfium']['FPDFDoc_GetPageMode'] FPDFDoc_GetPageMode.argtypes = [FPDF_DOCUMENT] FPDFDoc_GetPageMode.restype = c_int -if hasattr(_lib, "FPDFPage_Flatten"): - FPDFPage_Flatten = _lib.FPDFPage_Flatten +# ./data/bindings/headers/fpdf_flatten.h: 38 +if hasattr(_libs['pdfium'], 'FPDFPage_Flatten'): + FPDFPage_Flatten = _libs['pdfium']['FPDFPage_Flatten'] FPDFPage_Flatten.argtypes = [FPDF_PAGE, c_int] FPDFPage_Flatten.restype = c_int + +# ./data/bindings/headers/fpdf_fwlevent.h: 28 enum_anon_7 = c_int + +# ./data/bindings/headers/fpdf_fwlevent.h: 28 FWL_EVENTFLAG_ShiftKey = (1 << 0) + +# ./data/bindings/headers/fpdf_fwlevent.h: 28 FWL_EVENTFLAG_ControlKey = (1 << 1) + +# ./data/bindings/headers/fpdf_fwlevent.h: 28 FWL_EVENTFLAG_AltKey = (1 << 2) + +# ./data/bindings/headers/fpdf_fwlevent.h: 28 FWL_EVENTFLAG_MetaKey = (1 << 3) + +# ./data/bindings/headers/fpdf_fwlevent.h: 28 FWL_EVENTFLAG_KeyPad = (1 << 4) + +# ./data/bindings/headers/fpdf_fwlevent.h: 28 FWL_EVENTFLAG_AutoRepeat = (1 << 5) + +# ./data/bindings/headers/fpdf_fwlevent.h: 28 FWL_EVENTFLAG_LeftButtonDown = (1 << 6) + +# ./data/bindings/headers/fpdf_fwlevent.h: 28 FWL_EVENTFLAG_MiddleButtonDown = (1 << 7) + +# ./data/bindings/headers/fpdf_fwlevent.h: 28 FWL_EVENTFLAG_RightButtonDown = (1 << 8) + +# ./data/bindings/headers/fpdf_fwlevent.h: 28 FWL_EVENTFLAG = enum_anon_7 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 enum_anon_8 = c_int + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Back = 0x08 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Tab = 0x09 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_NewLine = 0x0A + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Clear = 0x0C + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Return = 0x0D + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Shift = 0x10 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Control = 0x11 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Menu = 0x12 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Pause = 0x13 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Capital = 0x14 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Kana = 0x15 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Hangul = 0x15 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Junja = 0x17 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Final = 0x18 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Hanja = 0x19 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Kanji = 0x19 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Escape = 0x1B + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Convert = 0x1C + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_NonConvert = 0x1D + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Accept = 0x1E + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_ModeChange = 0x1F + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Space = 0x20 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Prior = 0x21 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Next = 0x22 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_End = 0x23 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Home = 0x24 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Left = 0x25 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Up = 0x26 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Right = 0x27 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Down = 0x28 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Select = 0x29 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Print = 0x2A + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Execute = 0x2B + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Snapshot = 0x2C + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Insert = 0x2D + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Delete = 0x2E + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Help = 0x2F + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_0 = 0x30 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_1 = 0x31 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_2 = 0x32 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_3 = 0x33 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_4 = 0x34 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_5 = 0x35 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_6 = 0x36 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_7 = 0x37 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_8 = 0x38 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_9 = 0x39 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_A = 0x41 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_B = 0x42 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_C = 0x43 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_D = 0x44 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_E = 0x45 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F = 0x46 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_G = 0x47 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_H = 0x48 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_I = 0x49 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_J = 0x4A + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_K = 0x4B + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_L = 0x4C + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_M = 0x4D + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_N = 0x4E + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_O = 0x4F + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_P = 0x50 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Q = 0x51 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_R = 0x52 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_S = 0x53 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_T = 0x54 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_U = 0x55 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_V = 0x56 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_W = 0x57 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_X = 0x58 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Y = 0x59 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Z = 0x5A + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_LWin = 0x5B + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Command = 0x5B + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_RWin = 0x5C + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Apps = 0x5D + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Sleep = 0x5F + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_NumPad0 = 0x60 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_NumPad1 = 0x61 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_NumPad2 = 0x62 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_NumPad3 = 0x63 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_NumPad4 = 0x64 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_NumPad5 = 0x65 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_NumPad6 = 0x66 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_NumPad7 = 0x67 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_NumPad8 = 0x68 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_NumPad9 = 0x69 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Multiply = 0x6A + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Add = 0x6B + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Separator = 0x6C + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Subtract = 0x6D + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Decimal = 0x6E + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Divide = 0x6F + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F1 = 0x70 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F2 = 0x71 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F3 = 0x72 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F4 = 0x73 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F5 = 0x74 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F6 = 0x75 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F7 = 0x76 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F8 = 0x77 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F9 = 0x78 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F10 = 0x79 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F11 = 0x7A + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F12 = 0x7B + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F13 = 0x7C + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F14 = 0x7D + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F15 = 0x7E + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F16 = 0x7F + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F17 = 0x80 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F18 = 0x81 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F19 = 0x82 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F20 = 0x83 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F21 = 0x84 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F22 = 0x85 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F23 = 0x86 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_F24 = 0x87 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_NunLock = 0x90 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Scroll = 0x91 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_LShift = 0xA0 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_RShift = 0xA1 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_LControl = 0xA2 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_RControl = 0xA3 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_LMenu = 0xA4 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_RMenu = 0xA5 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_BROWSER_Back = 0xA6 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_BROWSER_Forward = 0xA7 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_BROWSER_Refresh = 0xA8 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_BROWSER_Stop = 0xA9 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_BROWSER_Search = 0xAA + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_BROWSER_Favorites = 0xAB + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_BROWSER_Home = 0xAC + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_VOLUME_Mute = 0xAD + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_VOLUME_Down = 0xAE + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_VOLUME_Up = 0xAF + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_MEDIA_NEXT_Track = 0xB0 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_MEDIA_PREV_Track = 0xB1 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_MEDIA_Stop = 0xB2 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_MEDIA_PLAY_Pause = 0xB3 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_MEDIA_LAUNCH_Mail = 0xB4 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_MEDIA_LAUNCH_MEDIA_Select = 0xB5 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_MEDIA_LAUNCH_APP1 = 0xB6 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_MEDIA_LAUNCH_APP2 = 0xB7 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_OEM_1 = 0xBA + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_OEM_Plus = 0xBB + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_OEM_Comma = 0xBC + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_OEM_Minus = 0xBD + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_OEM_Period = 0xBE + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_OEM_2 = 0xBF + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_OEM_3 = 0xC0 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_OEM_4 = 0xDB + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_OEM_5 = 0xDC + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_OEM_6 = 0xDD + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_OEM_7 = 0xDE + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_OEM_8 = 0xDF + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_OEM_102 = 0xE2 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_ProcessKey = 0xE5 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Packet = 0xE7 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Attn = 0xF6 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Crsel = 0xF7 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Exsel = 0xF8 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Ereof = 0xF9 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Play = 0xFA + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Zoom = 0xFB + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_NoName = 0xFC + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_PA1 = 0xFD + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_OEM_Clear = 0xFE + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEY_Unknown = 0 + +# ./data/bindings/headers/fpdf_fwlevent.h: 201 FWL_VKEYCODE = enum_anon_8 -if hasattr(_lib, "FPDFDoc_GetJavaScriptActionCount"): - FPDFDoc_GetJavaScriptActionCount = _lib.FPDFDoc_GetJavaScriptActionCount +# ./data/bindings/headers/fpdf_javascript.h: 22 +if hasattr(_libs['pdfium'], 'FPDFDoc_GetJavaScriptActionCount'): + FPDFDoc_GetJavaScriptActionCount = _libs['pdfium']['FPDFDoc_GetJavaScriptActionCount'] FPDFDoc_GetJavaScriptActionCount.argtypes = [FPDF_DOCUMENT] FPDFDoc_GetJavaScriptActionCount.restype = c_int -if hasattr(_lib, "FPDFDoc_GetJavaScriptAction"): - FPDFDoc_GetJavaScriptAction = _lib.FPDFDoc_GetJavaScriptAction +# ./data/bindings/headers/fpdf_javascript.h: 34 +if hasattr(_libs['pdfium'], 'FPDFDoc_GetJavaScriptAction'): + FPDFDoc_GetJavaScriptAction = _libs['pdfium']['FPDFDoc_GetJavaScriptAction'] FPDFDoc_GetJavaScriptAction.argtypes = [FPDF_DOCUMENT, c_int] FPDFDoc_GetJavaScriptAction.restype = FPDF_JAVASCRIPT_ACTION -if hasattr(_lib, "FPDFDoc_CloseJavaScriptAction"): - FPDFDoc_CloseJavaScriptAction = _lib.FPDFDoc_CloseJavaScriptAction +# ./data/bindings/headers/fpdf_javascript.h: 41 +if hasattr(_libs['pdfium'], 'FPDFDoc_CloseJavaScriptAction'): + FPDFDoc_CloseJavaScriptAction = _libs['pdfium']['FPDFDoc_CloseJavaScriptAction'] FPDFDoc_CloseJavaScriptAction.argtypes = [FPDF_JAVASCRIPT_ACTION] FPDFDoc_CloseJavaScriptAction.restype = None -if hasattr(_lib, "FPDFJavaScriptAction_GetName"): - FPDFJavaScriptAction_GetName = _lib.FPDFJavaScriptAction_GetName +# ./data/bindings/headers/fpdf_javascript.h: 54 +if hasattr(_libs['pdfium'], 'FPDFJavaScriptAction_GetName'): + FPDFJavaScriptAction_GetName = _libs['pdfium']['FPDFJavaScriptAction_GetName'] FPDFJavaScriptAction_GetName.argtypes = [FPDF_JAVASCRIPT_ACTION, POINTER(FPDF_WCHAR), c_ulong] FPDFJavaScriptAction_GetName.restype = c_ulong -if hasattr(_lib, "FPDFJavaScriptAction_GetScript"): - FPDFJavaScriptAction_GetScript = _lib.FPDFJavaScriptAction_GetScript +# ./data/bindings/headers/fpdf_javascript.h: 69 +if hasattr(_libs['pdfium'], 'FPDFJavaScriptAction_GetScript'): + FPDFJavaScriptAction_GetScript = _libs['pdfium']['FPDFJavaScriptAction_GetScript'] FPDFJavaScriptAction_GetScript.argtypes = [FPDF_JAVASCRIPT_ACTION, POINTER(FPDF_WCHAR), c_ulong] FPDFJavaScriptAction_GetScript.restype = c_ulong -if hasattr(_lib, "FPDF_ImportPagesByIndex"): - FPDF_ImportPagesByIndex = _lib.FPDF_ImportPagesByIndex +# ./data/bindings/headers/fpdf_ppo.h: 32 +if hasattr(_libs['pdfium'], 'FPDF_ImportPagesByIndex'): + FPDF_ImportPagesByIndex = _libs['pdfium']['FPDF_ImportPagesByIndex'] FPDF_ImportPagesByIndex.argtypes = [FPDF_DOCUMENT, FPDF_DOCUMENT, POINTER(c_int), c_ulong, c_int] FPDF_ImportPagesByIndex.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_ImportPages"): - FPDF_ImportPages = _lib.FPDF_ImportPages +# ./data/bindings/headers/fpdf_ppo.h: 49 +if hasattr(_libs['pdfium'], 'FPDF_ImportPages'): + FPDF_ImportPages = _libs['pdfium']['FPDF_ImportPages'] FPDF_ImportPages.argtypes = [FPDF_DOCUMENT, FPDF_DOCUMENT, FPDF_BYTESTRING, c_int] FPDF_ImportPages.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_ImportNPagesToOne"): - FPDF_ImportNPagesToOne = _lib.FPDF_ImportNPagesToOne +# ./data/bindings/headers/fpdf_ppo.h: 72 +if hasattr(_libs['pdfium'], 'FPDF_ImportNPagesToOne'): + FPDF_ImportNPagesToOne = _libs['pdfium']['FPDF_ImportNPagesToOne'] FPDF_ImportNPagesToOne.argtypes = [FPDF_DOCUMENT, c_float, c_float, c_size_t, c_size_t] FPDF_ImportNPagesToOne.restype = FPDF_DOCUMENT -if hasattr(_lib, "FPDF_NewXObjectFromPage"): - FPDF_NewXObjectFromPage = _lib.FPDF_NewXObjectFromPage +# ./data/bindings/headers/fpdf_ppo.h: 85 +if hasattr(_libs['pdfium'], 'FPDF_NewXObjectFromPage'): + FPDF_NewXObjectFromPage = _libs['pdfium']['FPDF_NewXObjectFromPage'] FPDF_NewXObjectFromPage.argtypes = [FPDF_DOCUMENT, FPDF_DOCUMENT, c_int] FPDF_NewXObjectFromPage.restype = FPDF_XOBJECT -if hasattr(_lib, "FPDF_CloseXObject"): - FPDF_CloseXObject = _lib.FPDF_CloseXObject +# ./data/bindings/headers/fpdf_ppo.h: 92 +if hasattr(_libs['pdfium'], 'FPDF_CloseXObject'): + FPDF_CloseXObject = _libs['pdfium']['FPDF_CloseXObject'] FPDF_CloseXObject.argtypes = [FPDF_XOBJECT] FPDF_CloseXObject.restype = None -if hasattr(_lib, "FPDF_NewFormObjectFromXObject"): - FPDF_NewFormObjectFromXObject = _lib.FPDF_NewFormObjectFromXObject +# ./data/bindings/headers/fpdf_ppo.h: 100 +if hasattr(_libs['pdfium'], 'FPDF_NewFormObjectFromXObject'): + FPDF_NewFormObjectFromXObject = _libs['pdfium']['FPDF_NewFormObjectFromXObject'] FPDF_NewFormObjectFromXObject.argtypes = [FPDF_XOBJECT] FPDF_NewFormObjectFromXObject.restype = FPDF_PAGEOBJECT -if hasattr(_lib, "FPDF_CopyViewerPreferences"): - FPDF_CopyViewerPreferences = _lib.FPDF_CopyViewerPreferences +# ./data/bindings/headers/fpdf_ppo.h: 109 +if hasattr(_libs['pdfium'], 'FPDF_CopyViewerPreferences'): + FPDF_CopyViewerPreferences = _libs['pdfium']['FPDF_CopyViewerPreferences'] FPDF_CopyViewerPreferences.argtypes = [FPDF_DOCUMENT, FPDF_DOCUMENT] FPDF_CopyViewerPreferences.restype = FPDF_BOOL +# ./data/bindings/headers/fpdf_progressive.h: 25 class struct__IFSDK_PAUSE (Structure): __slots__ = ['version', 'NeedToPauseNow', 'user'] + struct__IFSDK_PAUSE._fields_ = [ ('version', c_int), ('NeedToPauseNow', CFUNCTYPE(FPDF_BOOL, POINTER(struct__IFSDK_PAUSE))), ('user', POINTER(None)), ] + +# ./data/bindings/headers/fpdf_progressive.h: 47 IFSDK_PAUSE = struct__IFSDK_PAUSE -if hasattr(_lib, "FPDF_RenderPageBitmapWithColorScheme_Start"): - FPDF_RenderPageBitmapWithColorScheme_Start = _lib.FPDF_RenderPageBitmapWithColorScheme_Start +# ./data/bindings/headers/fpdf_progressive.h: 83 +if hasattr(_libs['pdfium'], 'FPDF_RenderPageBitmapWithColorScheme_Start'): + FPDF_RenderPageBitmapWithColorScheme_Start = _libs['pdfium']['FPDF_RenderPageBitmapWithColorScheme_Start'] FPDF_RenderPageBitmapWithColorScheme_Start.argtypes = [FPDF_BITMAP, FPDF_PAGE, c_int, c_int, c_int, c_int, c_int, c_int, POINTER(FPDF_COLORSCHEME), POINTER(IFSDK_PAUSE)] FPDF_RenderPageBitmapWithColorScheme_Start.restype = c_int -if hasattr(_lib, "FPDF_RenderPageBitmap_Start"): - FPDF_RenderPageBitmap_Start = _lib.FPDF_RenderPageBitmap_Start +# ./data/bindings/headers/fpdf_progressive.h: 121 +if hasattr(_libs['pdfium'], 'FPDF_RenderPageBitmap_Start'): + FPDF_RenderPageBitmap_Start = _libs['pdfium']['FPDF_RenderPageBitmap_Start'] FPDF_RenderPageBitmap_Start.argtypes = [FPDF_BITMAP, FPDF_PAGE, c_int, c_int, c_int, c_int, c_int, c_int, POINTER(IFSDK_PAUSE)] FPDF_RenderPageBitmap_Start.restype = c_int -if hasattr(_lib, "FPDF_RenderPage_Continue"): - FPDF_RenderPage_Continue = _lib.FPDF_RenderPage_Continue +# ./data/bindings/headers/fpdf_progressive.h: 142 +if hasattr(_libs['pdfium'], 'FPDF_RenderPage_Continue'): + FPDF_RenderPage_Continue = _libs['pdfium']['FPDF_RenderPage_Continue'] FPDF_RenderPage_Continue.argtypes = [FPDF_PAGE, POINTER(IFSDK_PAUSE)] FPDF_RenderPage_Continue.restype = c_int -if hasattr(_lib, "FPDF_RenderPage_Close"): - FPDF_RenderPage_Close = _lib.FPDF_RenderPage_Close +# ./data/bindings/headers/fpdf_progressive.h: 153 +if hasattr(_libs['pdfium'], 'FPDF_RenderPage_Close'): + FPDF_RenderPage_Close = _libs['pdfium']['FPDF_RenderPage_Close'] FPDF_RenderPage_Close.argtypes = [FPDF_PAGE] FPDF_RenderPage_Close.restype = None +# ./data/bindings/headers/fpdf_save.h: 19 class struct_FPDF_FILEWRITE_ (Structure): __slots__ = ['version', 'WriteBlock'] + struct_FPDF_FILEWRITE_._fields_ = [ ('version', c_int), ('WriteBlock', CFUNCTYPE(c_int, POINTER(struct_FPDF_FILEWRITE_), POINTER(None), c_ulong)), ] + +# ./data/bindings/headers/fpdf_save.h: 42 FPDF_FILEWRITE = struct_FPDF_FILEWRITE_ -if hasattr(_lib, "FPDF_SaveAsCopy"): - FPDF_SaveAsCopy = _lib.FPDF_SaveAsCopy +# ./data/bindings/headers/fpdf_save.h: 59 +if hasattr(_libs['pdfium'], 'FPDF_SaveAsCopy'): + FPDF_SaveAsCopy = _libs['pdfium']['FPDF_SaveAsCopy'] FPDF_SaveAsCopy.argtypes = [FPDF_DOCUMENT, POINTER(FPDF_FILEWRITE), FPDF_DWORD] FPDF_SaveAsCopy.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_SaveWithVersion"): - FPDF_SaveWithVersion = _lib.FPDF_SaveWithVersion +# ./data/bindings/headers/fpdf_save.h: 76 +if hasattr(_libs['pdfium'], 'FPDF_SaveWithVersion'): + FPDF_SaveWithVersion = _libs['pdfium']['FPDF_SaveWithVersion'] FPDF_SaveWithVersion.argtypes = [FPDF_DOCUMENT, POINTER(FPDF_FILEWRITE), FPDF_DWORD, c_int] FPDF_SaveWithVersion.restype = FPDF_BOOL -if hasattr(_lib, "FPDFText_GetCharIndexFromTextIndex"): - FPDFText_GetCharIndexFromTextIndex = _lib.FPDFText_GetCharIndexFromTextIndex +# ./data/bindings/headers/fpdf_searchex.h: 24 +if hasattr(_libs['pdfium'], 'FPDFText_GetCharIndexFromTextIndex'): + FPDFText_GetCharIndexFromTextIndex = _libs['pdfium']['FPDFText_GetCharIndexFromTextIndex'] FPDFText_GetCharIndexFromTextIndex.argtypes = [FPDF_TEXTPAGE, c_int] FPDFText_GetCharIndexFromTextIndex.restype = c_int -if hasattr(_lib, "FPDFText_GetTextIndexFromCharIndex"): - FPDFText_GetTextIndexFromCharIndex = _lib.FPDFText_GetTextIndexFromCharIndex +# ./data/bindings/headers/fpdf_searchex.h: 33 +if hasattr(_libs['pdfium'], 'FPDFText_GetTextIndexFromCharIndex'): + FPDFText_GetTextIndexFromCharIndex = _libs['pdfium']['FPDFText_GetTextIndexFromCharIndex'] FPDFText_GetTextIndexFromCharIndex.argtypes = [FPDF_TEXTPAGE, c_int] FPDFText_GetTextIndexFromCharIndex.restype = c_int -if hasattr(_lib, "FPDF_GetSignatureCount"): - FPDF_GetSignatureCount = _lib.FPDF_GetSignatureCount +# ./data/bindings/headers/fpdf_signature.h: 22 +if hasattr(_libs['pdfium'], 'FPDF_GetSignatureCount'): + FPDF_GetSignatureCount = _libs['pdfium']['FPDF_GetSignatureCount'] FPDF_GetSignatureCount.argtypes = [FPDF_DOCUMENT] FPDF_GetSignatureCount.restype = c_int -if hasattr(_lib, "FPDF_GetSignatureObject"): - FPDF_GetSignatureObject = _lib.FPDF_GetSignatureObject +# ./data/bindings/headers/fpdf_signature.h: 35 +if hasattr(_libs['pdfium'], 'FPDF_GetSignatureObject'): + FPDF_GetSignatureObject = _libs['pdfium']['FPDF_GetSignatureObject'] FPDF_GetSignatureObject.argtypes = [FPDF_DOCUMENT, c_int] FPDF_GetSignatureObject.restype = FPDF_SIGNATURE -if hasattr(_lib, "FPDFSignatureObj_GetContents"): - FPDFSignatureObj_GetContents = _lib.FPDFSignatureObj_GetContents +# ./data/bindings/headers/fpdf_signature.h: 52 +if hasattr(_libs['pdfium'], 'FPDFSignatureObj_GetContents'): + FPDFSignatureObj_GetContents = _libs['pdfium']['FPDFSignatureObj_GetContents'] FPDFSignatureObj_GetContents.argtypes = [FPDF_SIGNATURE, POINTER(None), c_ulong] FPDFSignatureObj_GetContents.restype = c_ulong -if hasattr(_lib, "FPDFSignatureObj_GetByteRange"): - FPDFSignatureObj_GetByteRange = _lib.FPDFSignatureObj_GetByteRange +# ./data/bindings/headers/fpdf_signature.h: 74 +if hasattr(_libs['pdfium'], 'FPDFSignatureObj_GetByteRange'): + FPDFSignatureObj_GetByteRange = _libs['pdfium']['FPDFSignatureObj_GetByteRange'] FPDFSignatureObj_GetByteRange.argtypes = [FPDF_SIGNATURE, POINTER(c_int), c_ulong] FPDFSignatureObj_GetByteRange.restype = c_ulong -if hasattr(_lib, "FPDFSignatureObj_GetSubFilter"): - FPDFSignatureObj_GetSubFilter = _lib.FPDFSignatureObj_GetSubFilter +# ./data/bindings/headers/fpdf_signature.h: 93 +if hasattr(_libs['pdfium'], 'FPDFSignatureObj_GetSubFilter'): + FPDFSignatureObj_GetSubFilter = _libs['pdfium']['FPDFSignatureObj_GetSubFilter'] FPDFSignatureObj_GetSubFilter.argtypes = [FPDF_SIGNATURE, POINTER(c_char), c_ulong] FPDFSignatureObj_GetSubFilter.restype = c_ulong -if hasattr(_lib, "FPDFSignatureObj_GetReason"): - FPDFSignatureObj_GetReason = _lib.FPDFSignatureObj_GetReason +# ./data/bindings/headers/fpdf_signature.h: 112 +if hasattr(_libs['pdfium'], 'FPDFSignatureObj_GetReason'): + FPDFSignatureObj_GetReason = _libs['pdfium']['FPDFSignatureObj_GetReason'] FPDFSignatureObj_GetReason.argtypes = [FPDF_SIGNATURE, POINTER(None), c_ulong] FPDFSignatureObj_GetReason.restype = c_ulong -if hasattr(_lib, "FPDFSignatureObj_GetTime"): - FPDFSignatureObj_GetTime = _lib.FPDFSignatureObj_GetTime +# ./data/bindings/headers/fpdf_signature.h: 136 +if hasattr(_libs['pdfium'], 'FPDFSignatureObj_GetTime'): + FPDFSignatureObj_GetTime = _libs['pdfium']['FPDFSignatureObj_GetTime'] FPDFSignatureObj_GetTime.argtypes = [FPDF_SIGNATURE, POINTER(c_char), c_ulong] FPDFSignatureObj_GetTime.restype = c_ulong -if hasattr(_lib, "FPDFSignatureObj_GetDocMDPPermission"): - FPDFSignatureObj_GetDocMDPPermission = _lib.FPDFSignatureObj_GetDocMDPPermission +# ./data/bindings/headers/fpdf_signature.h: 149 +if hasattr(_libs['pdfium'], 'FPDFSignatureObj_GetDocMDPPermission'): + FPDFSignatureObj_GetDocMDPPermission = _libs['pdfium']['FPDFSignatureObj_GetDocMDPPermission'] FPDFSignatureObj_GetDocMDPPermission.argtypes = [FPDF_SIGNATURE] FPDFSignatureObj_GetDocMDPPermission.restype = c_uint -if hasattr(_lib, "FPDF_StructTree_GetForPage"): - FPDF_StructTree_GetForPage = _lib.FPDF_StructTree_GetForPage +# ./data/bindings/headers/fpdf_structtree.h: 25 +if hasattr(_libs['pdfium'], 'FPDF_StructTree_GetForPage'): + FPDF_StructTree_GetForPage = _libs['pdfium']['FPDF_StructTree_GetForPage'] FPDF_StructTree_GetForPage.argtypes = [FPDF_PAGE] FPDF_StructTree_GetForPage.restype = FPDF_STRUCTTREE -if hasattr(_lib, "FPDF_StructTree_Close"): - FPDF_StructTree_Close = _lib.FPDF_StructTree_Close +# ./data/bindings/headers/fpdf_structtree.h: 35 +if hasattr(_libs['pdfium'], 'FPDF_StructTree_Close'): + FPDF_StructTree_Close = _libs['pdfium']['FPDF_StructTree_Close'] FPDF_StructTree_Close.argtypes = [FPDF_STRUCTTREE] FPDF_StructTree_Close.restype = None -if hasattr(_lib, "FPDF_StructTree_CountChildren"): - FPDF_StructTree_CountChildren = _lib.FPDF_StructTree_CountChildren +# ./data/bindings/headers/fpdf_structtree.h: 45 +if hasattr(_libs['pdfium'], 'FPDF_StructTree_CountChildren'): + FPDF_StructTree_CountChildren = _libs['pdfium']['FPDF_StructTree_CountChildren'] FPDF_StructTree_CountChildren.argtypes = [FPDF_STRUCTTREE] FPDF_StructTree_CountChildren.restype = c_int -if hasattr(_lib, "FPDF_StructTree_GetChildAtIndex"): - FPDF_StructTree_GetChildAtIndex = _lib.FPDF_StructTree_GetChildAtIndex +# ./data/bindings/headers/fpdf_structtree.h: 56 +if hasattr(_libs['pdfium'], 'FPDF_StructTree_GetChildAtIndex'): + FPDF_StructTree_GetChildAtIndex = _libs['pdfium']['FPDF_StructTree_GetChildAtIndex'] FPDF_StructTree_GetChildAtIndex.argtypes = [FPDF_STRUCTTREE, c_int] FPDF_StructTree_GetChildAtIndex.restype = FPDF_STRUCTELEMENT -if hasattr(_lib, "FPDF_StructElement_GetAltText"): - FPDF_StructElement_GetAltText = _lib.FPDF_StructElement_GetAltText +# ./data/bindings/headers/fpdf_structtree.h: 74 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetAltText'): + FPDF_StructElement_GetAltText = _libs['pdfium']['FPDF_StructElement_GetAltText'] FPDF_StructElement_GetAltText.argtypes = [FPDF_STRUCTELEMENT, POINTER(None), c_ulong] FPDF_StructElement_GetAltText.restype = c_ulong -if hasattr(_lib, "FPDF_StructElement_GetActualText"): - FPDF_StructElement_GetActualText = _lib.FPDF_StructElement_GetActualText +# ./data/bindings/headers/fpdf_structtree.h: 95 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetActualText'): + FPDF_StructElement_GetActualText = _libs['pdfium']['FPDF_StructElement_GetActualText'] FPDF_StructElement_GetActualText.argtypes = [FPDF_STRUCTELEMENT, POINTER(None), c_ulong] FPDF_StructElement_GetActualText.restype = c_ulong -if hasattr(_lib, "FPDF_StructElement_GetID"): - FPDF_StructElement_GetID = _lib.FPDF_StructElement_GetID +# ./data/bindings/headers/fpdf_structtree.h: 115 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetID'): + FPDF_StructElement_GetID = _libs['pdfium']['FPDF_StructElement_GetID'] FPDF_StructElement_GetID.argtypes = [FPDF_STRUCTELEMENT, POINTER(None), c_ulong] FPDF_StructElement_GetID.restype = c_ulong -if hasattr(_lib, "FPDF_StructElement_GetLang"): - FPDF_StructElement_GetLang = _lib.FPDF_StructElement_GetLang +# ./data/bindings/headers/fpdf_structtree.h: 136 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetLang'): + FPDF_StructElement_GetLang = _libs['pdfium']['FPDF_StructElement_GetLang'] FPDF_StructElement_GetLang.argtypes = [FPDF_STRUCTELEMENT, POINTER(None), c_ulong] FPDF_StructElement_GetLang.restype = c_ulong -if hasattr(_lib, "FPDF_StructElement_GetStringAttribute"): - FPDF_StructElement_GetStringAttribute = _lib.FPDF_StructElement_GetStringAttribute +# ./data/bindings/headers/fpdf_structtree.h: 158 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetStringAttribute'): + FPDF_StructElement_GetStringAttribute = _libs['pdfium']['FPDF_StructElement_GetStringAttribute'] FPDF_StructElement_GetStringAttribute.argtypes = [FPDF_STRUCTELEMENT, FPDF_BYTESTRING, POINTER(None), c_ulong] FPDF_StructElement_GetStringAttribute.restype = c_ulong -if hasattr(_lib, "FPDF_StructElement_GetMarkedContentID"): - FPDF_StructElement_GetMarkedContentID = _lib.FPDF_StructElement_GetMarkedContentID +# ./data/bindings/headers/fpdf_structtree.h: 171 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetMarkedContentID'): + FPDF_StructElement_GetMarkedContentID = _libs['pdfium']['FPDF_StructElement_GetMarkedContentID'] FPDF_StructElement_GetMarkedContentID.argtypes = [FPDF_STRUCTELEMENT] FPDF_StructElement_GetMarkedContentID.restype = c_int -if hasattr(_lib, "FPDF_StructElement_GetType"): - FPDF_StructElement_GetType = _lib.FPDF_StructElement_GetType +# ./data/bindings/headers/fpdf_structtree.h: 189 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetType'): + FPDF_StructElement_GetType = _libs['pdfium']['FPDF_StructElement_GetType'] FPDF_StructElement_GetType.argtypes = [FPDF_STRUCTELEMENT, POINTER(None), c_ulong] FPDF_StructElement_GetType.restype = c_ulong -if hasattr(_lib, "FPDF_StructElement_GetObjType"): - FPDF_StructElement_GetObjType = _lib.FPDF_StructElement_GetObjType +# ./data/bindings/headers/fpdf_structtree.h: 210 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetObjType'): + FPDF_StructElement_GetObjType = _libs['pdfium']['FPDF_StructElement_GetObjType'] FPDF_StructElement_GetObjType.argtypes = [FPDF_STRUCTELEMENT, POINTER(None), c_ulong] FPDF_StructElement_GetObjType.restype = c_ulong -if hasattr(_lib, "FPDF_StructElement_GetTitle"): - FPDF_StructElement_GetTitle = _lib.FPDF_StructElement_GetTitle +# ./data/bindings/headers/fpdf_structtree.h: 230 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetTitle'): + FPDF_StructElement_GetTitle = _libs['pdfium']['FPDF_StructElement_GetTitle'] FPDF_StructElement_GetTitle.argtypes = [FPDF_STRUCTELEMENT, POINTER(None), c_ulong] FPDF_StructElement_GetTitle.restype = c_ulong -if hasattr(_lib, "FPDF_StructElement_CountChildren"): - FPDF_StructElement_CountChildren = _lib.FPDF_StructElement_CountChildren +# ./data/bindings/headers/fpdf_structtree.h: 241 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_CountChildren'): + FPDF_StructElement_CountChildren = _libs['pdfium']['FPDF_StructElement_CountChildren'] FPDF_StructElement_CountChildren.argtypes = [FPDF_STRUCTELEMENT] FPDF_StructElement_CountChildren.restype = c_int -if hasattr(_lib, "FPDF_StructElement_GetChildAtIndex"): - FPDF_StructElement_GetChildAtIndex = _lib.FPDF_StructElement_GetChildAtIndex +# ./data/bindings/headers/fpdf_structtree.h: 254 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetChildAtIndex'): + FPDF_StructElement_GetChildAtIndex = _libs['pdfium']['FPDF_StructElement_GetChildAtIndex'] FPDF_StructElement_GetChildAtIndex.argtypes = [FPDF_STRUCTELEMENT, c_int] FPDF_StructElement_GetChildAtIndex.restype = FPDF_STRUCTELEMENT -if hasattr(_lib, "FPDF_StructElement_GetChildMarkedContentID"): - FPDF_StructElement_GetChildMarkedContentID = _lib.FPDF_StructElement_GetChildMarkedContentID +# ./data/bindings/headers/fpdf_structtree.h: 271 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetChildMarkedContentID'): + FPDF_StructElement_GetChildMarkedContentID = _libs['pdfium']['FPDF_StructElement_GetChildMarkedContentID'] FPDF_StructElement_GetChildMarkedContentID.argtypes = [FPDF_STRUCTELEMENT, c_int] FPDF_StructElement_GetChildMarkedContentID.restype = c_int -if hasattr(_lib, "FPDF_StructElement_GetParent"): - FPDF_StructElement_GetParent = _lib.FPDF_StructElement_GetParent +# ./data/bindings/headers/fpdf_structtree.h: 285 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetParent'): + FPDF_StructElement_GetParent = _libs['pdfium']['FPDF_StructElement_GetParent'] FPDF_StructElement_GetParent.argtypes = [FPDF_STRUCTELEMENT] FPDF_StructElement_GetParent.restype = FPDF_STRUCTELEMENT -if hasattr(_lib, "FPDF_StructElement_GetAttributeCount"): - FPDF_StructElement_GetAttributeCount = _lib.FPDF_StructElement_GetAttributeCount +# ./data/bindings/headers/fpdf_structtree.h: 294 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetAttributeCount'): + FPDF_StructElement_GetAttributeCount = _libs['pdfium']['FPDF_StructElement_GetAttributeCount'] FPDF_StructElement_GetAttributeCount.argtypes = [FPDF_STRUCTELEMENT] FPDF_StructElement_GetAttributeCount.restype = c_int -if hasattr(_lib, "FPDF_StructElement_GetAttributeAtIndex"): - FPDF_StructElement_GetAttributeAtIndex = _lib.FPDF_StructElement_GetAttributeAtIndex +# ./data/bindings/headers/fpdf_structtree.h: 309 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetAttributeAtIndex'): + FPDF_StructElement_GetAttributeAtIndex = _libs['pdfium']['FPDF_StructElement_GetAttributeAtIndex'] FPDF_StructElement_GetAttributeAtIndex.argtypes = [FPDF_STRUCTELEMENT, c_int] FPDF_StructElement_GetAttributeAtIndex.restype = FPDF_STRUCTELEMENT_ATTR -if hasattr(_lib, "FPDF_StructElement_Attr_GetCount"): - FPDF_StructElement_Attr_GetCount = _lib.FPDF_StructElement_Attr_GetCount +# ./data/bindings/headers/fpdf_structtree.h: 319 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_Attr_GetCount'): + FPDF_StructElement_Attr_GetCount = _libs['pdfium']['FPDF_StructElement_Attr_GetCount'] FPDF_StructElement_Attr_GetCount.argtypes = [FPDF_STRUCTELEMENT_ATTR] FPDF_StructElement_Attr_GetCount.restype = c_int -if hasattr(_lib, "FPDF_StructElement_Attr_GetName"): - FPDF_StructElement_Attr_GetName = _lib.FPDF_StructElement_Attr_GetName +# ./data/bindings/headers/fpdf_structtree.h: 339 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_Attr_GetName'): + FPDF_StructElement_Attr_GetName = _libs['pdfium']['FPDF_StructElement_Attr_GetName'] FPDF_StructElement_Attr_GetName.argtypes = [FPDF_STRUCTELEMENT_ATTR, c_int, POINTER(None), c_ulong, POINTER(c_ulong)] FPDF_StructElement_Attr_GetName.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_StructElement_Attr_GetType"): - FPDF_StructElement_Attr_GetType = _lib.FPDF_StructElement_Attr_GetType +# ./data/bindings/headers/fpdf_structtree.h: 355 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_Attr_GetType'): + FPDF_StructElement_Attr_GetType = _libs['pdfium']['FPDF_StructElement_Attr_GetType'] FPDF_StructElement_Attr_GetType.argtypes = [FPDF_STRUCTELEMENT_ATTR, FPDF_BYTESTRING] FPDF_StructElement_Attr_GetType.restype = FPDF_OBJECT_TYPE -if hasattr(_lib, "FPDF_StructElement_Attr_GetBooleanValue"): - FPDF_StructElement_Attr_GetBooleanValue = _lib.FPDF_StructElement_Attr_GetBooleanValue +# ./data/bindings/headers/fpdf_structtree.h: 371 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_Attr_GetBooleanValue'): + FPDF_StructElement_Attr_GetBooleanValue = _libs['pdfium']['FPDF_StructElement_Attr_GetBooleanValue'] FPDF_StructElement_Attr_GetBooleanValue.argtypes = [FPDF_STRUCTELEMENT_ATTR, FPDF_BYTESTRING, POINTER(FPDF_BOOL)] FPDF_StructElement_Attr_GetBooleanValue.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_StructElement_Attr_GetNumberValue"): - FPDF_StructElement_Attr_GetNumberValue = _lib.FPDF_StructElement_Attr_GetNumberValue +# ./data/bindings/headers/fpdf_structtree.h: 389 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_Attr_GetNumberValue'): + FPDF_StructElement_Attr_GetNumberValue = _libs['pdfium']['FPDF_StructElement_Attr_GetNumberValue'] FPDF_StructElement_Attr_GetNumberValue.argtypes = [FPDF_STRUCTELEMENT_ATTR, FPDF_BYTESTRING, POINTER(c_float)] FPDF_StructElement_Attr_GetNumberValue.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_StructElement_Attr_GetStringValue"): - FPDF_StructElement_Attr_GetStringValue = _lib.FPDF_StructElement_Attr_GetStringValue +# ./data/bindings/headers/fpdf_structtree.h: 413 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_Attr_GetStringValue'): + FPDF_StructElement_Attr_GetStringValue = _libs['pdfium']['FPDF_StructElement_Attr_GetStringValue'] FPDF_StructElement_Attr_GetStringValue.argtypes = [FPDF_STRUCTELEMENT_ATTR, FPDF_BYTESTRING, POINTER(None), c_ulong, POINTER(c_ulong)] FPDF_StructElement_Attr_GetStringValue.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_StructElement_Attr_GetBlobValue"): - FPDF_StructElement_Attr_GetBlobValue = _lib.FPDF_StructElement_Attr_GetBlobValue +# ./data/bindings/headers/fpdf_structtree.h: 438 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_Attr_GetBlobValue'): + FPDF_StructElement_Attr_GetBlobValue = _libs['pdfium']['FPDF_StructElement_Attr_GetBlobValue'] FPDF_StructElement_Attr_GetBlobValue.argtypes = [FPDF_STRUCTELEMENT_ATTR, FPDF_BYTESTRING, POINTER(None), c_ulong, POINTER(c_ulong)] FPDF_StructElement_Attr_GetBlobValue.restype = FPDF_BOOL -if hasattr(_lib, "FPDF_StructElement_GetMarkedContentIdCount"): - FPDF_StructElement_GetMarkedContentIdCount = _lib.FPDF_StructElement_GetMarkedContentIdCount +# ./data/bindings/headers/fpdf_structtree.h: 452 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetMarkedContentIdCount'): + FPDF_StructElement_GetMarkedContentIdCount = _libs['pdfium']['FPDF_StructElement_GetMarkedContentIdCount'] FPDF_StructElement_GetMarkedContentIdCount.argtypes = [FPDF_STRUCTELEMENT] FPDF_StructElement_GetMarkedContentIdCount.restype = c_int -if hasattr(_lib, "FPDF_StructElement_GetMarkedContentIdAtIndex"): - FPDF_StructElement_GetMarkedContentIdAtIndex = _lib.FPDF_StructElement_GetMarkedContentIdAtIndex +# ./data/bindings/headers/fpdf_structtree.h: 464 +if hasattr(_libs['pdfium'], 'FPDF_StructElement_GetMarkedContentIdAtIndex'): + FPDF_StructElement_GetMarkedContentIdAtIndex = _libs['pdfium']['FPDF_StructElement_GetMarkedContentIdAtIndex'] FPDF_StructElement_GetMarkedContentIdAtIndex.argtypes = [FPDF_STRUCTELEMENT, c_int] FPDF_StructElement_GetMarkedContentIdAtIndex.restype = c_int +# ./data/bindings/headers/fpdf_sysfontinfo.h: 48 class struct__FPDF_SYSFONTINFO (Structure): __slots__ = ['version', 'Release', 'EnumFonts', 'MapFont', 'GetFont', 'GetFontData', 'GetFaceName', 'GetFontCharset', 'DeleteFont'] + struct__FPDF_SYSFONTINFO._fields_ = [ ('version', c_int), ('Release', CFUNCTYPE(None, POINTER(struct__FPDF_SYSFONTINFO))), ('EnumFonts', CFUNCTYPE(None, POINTER(struct__FPDF_SYSFONTINFO), POINTER(None))), - ('MapFont', CFUNCTYPE(POINTER(c_ubyte), POINTER(struct__FPDF_SYSFONTINFO), c_int, FPDF_BOOL, c_int, c_int, POINTER(c_char), POINTER(FPDF_BOOL))), - ('GetFont', CFUNCTYPE(POINTER(c_ubyte), POINTER(struct__FPDF_SYSFONTINFO), POINTER(c_char))), + ('MapFont', CFUNCTYPE(POINTER(None), POINTER(struct__FPDF_SYSFONTINFO), c_int, FPDF_BOOL, c_int, c_int, POINTER(c_char), POINTER(FPDF_BOOL))), + ('GetFont', CFUNCTYPE(POINTER(None), POINTER(struct__FPDF_SYSFONTINFO), POINTER(c_char))), ('GetFontData', CFUNCTYPE(c_ulong, POINTER(struct__FPDF_SYSFONTINFO), POINTER(None), c_uint, POINTER(c_ubyte), c_ulong)), ('GetFaceName', CFUNCTYPE(c_ulong, POINTER(struct__FPDF_SYSFONTINFO), POINTER(None), POINTER(c_char), c_ulong)), ('GetFontCharset', CFUNCTYPE(c_int, POINTER(struct__FPDF_SYSFONTINFO), POINTER(None))), ('DeleteFont', CFUNCTYPE(None, POINTER(struct__FPDF_SYSFONTINFO), POINTER(None))), ] + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 227 FPDF_SYSFONTINFO = struct__FPDF_SYSFONTINFO +# ./data/bindings/headers/fpdf_sysfontinfo.h: 236 class struct_FPDF_CharsetFontMap_ (Structure): __slots__ = ['charset', 'fontname'] + struct_FPDF_CharsetFontMap_._fields_ = [ ('charset', c_int), ('fontname', POINTER(c_char)), ] + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 236 FPDF_CharsetFontMap = struct_FPDF_CharsetFontMap_ -if hasattr(_lib, "FPDF_GetDefaultTTFMap"): - FPDF_GetDefaultTTFMap = _lib.FPDF_GetDefaultTTFMap +# ./data/bindings/headers/fpdf_sysfontinfo.h: 248 +if hasattr(_libs['pdfium'], 'FPDF_GetDefaultTTFMap'): + FPDF_GetDefaultTTFMap = _libs['pdfium']['FPDF_GetDefaultTTFMap'] FPDF_GetDefaultTTFMap.argtypes = [] FPDF_GetDefaultTTFMap.restype = POINTER(FPDF_CharsetFontMap) -if hasattr(_lib, "FPDF_AddInstalledFont"): - FPDF_AddInstalledFont = _lib.FPDF_AddInstalledFont +# ./data/bindings/headers/fpdf_sysfontinfo.h: 263 +if hasattr(_libs['pdfium'], 'FPDF_AddInstalledFont'): + FPDF_AddInstalledFont = _libs['pdfium']['FPDF_AddInstalledFont'] FPDF_AddInstalledFont.argtypes = [POINTER(None), POINTER(c_char), c_int] FPDF_AddInstalledFont.restype = None -if hasattr(_lib, "FPDF_SetSystemFontInfo"): - FPDF_SetSystemFontInfo = _lib.FPDF_SetSystemFontInfo +# ./data/bindings/headers/fpdf_sysfontinfo.h: 280 +if hasattr(_libs['pdfium'], 'FPDF_SetSystemFontInfo'): + FPDF_SetSystemFontInfo = _libs['pdfium']['FPDF_SetSystemFontInfo'] FPDF_SetSystemFontInfo.argtypes = [POINTER(FPDF_SYSFONTINFO)] FPDF_SetSystemFontInfo.restype = None -if hasattr(_lib, "FPDF_GetDefaultSystemFontInfo"): - FPDF_GetDefaultSystemFontInfo = _lib.FPDF_GetDefaultSystemFontInfo +# ./data/bindings/headers/fpdf_sysfontinfo.h: 297 +if hasattr(_libs['pdfium'], 'FPDF_GetDefaultSystemFontInfo'): + FPDF_GetDefaultSystemFontInfo = _libs['pdfium']['FPDF_GetDefaultSystemFontInfo'] FPDF_GetDefaultSystemFontInfo.argtypes = [] FPDF_GetDefaultSystemFontInfo.restype = POINTER(FPDF_SYSFONTINFO) -if hasattr(_lib, "FPDF_FreeDefaultSystemFontInfo"): - FPDF_FreeDefaultSystemFontInfo = _lib.FPDF_FreeDefaultSystemFontInfo +# ./data/bindings/headers/fpdf_sysfontinfo.h: 311 +if hasattr(_libs['pdfium'], 'FPDF_FreeDefaultSystemFontInfo'): + FPDF_FreeDefaultSystemFontInfo = _libs['pdfium']['FPDF_FreeDefaultSystemFontInfo'] FPDF_FreeDefaultSystemFontInfo.argtypes = [POINTER(FPDF_SYSFONTINFO)] FPDF_FreeDefaultSystemFontInfo.restype = None -if hasattr(_lib, "FPDFText_LoadPage"): - FPDFText_LoadPage = _lib.FPDFText_LoadPage +# ./data/bindings/headers/fpdf_text.h: 31 +if hasattr(_libs['pdfium'], 'FPDFText_LoadPage'): + FPDFText_LoadPage = _libs['pdfium']['FPDFText_LoadPage'] FPDFText_LoadPage.argtypes = [FPDF_PAGE] FPDFText_LoadPage.restype = FPDF_TEXTPAGE -if hasattr(_lib, "FPDFText_ClosePage"): - FPDFText_ClosePage = _lib.FPDFText_ClosePage +# ./data/bindings/headers/fpdf_text.h: 42 +if hasattr(_libs['pdfium'], 'FPDFText_ClosePage'): + FPDFText_ClosePage = _libs['pdfium']['FPDFText_ClosePage'] FPDFText_ClosePage.argtypes = [FPDF_TEXTPAGE] FPDFText_ClosePage.restype = None -if hasattr(_lib, "FPDFText_CountChars"): - FPDFText_CountChars = _lib.FPDFText_CountChars +# ./data/bindings/headers/fpdf_text.h: 60 +if hasattr(_libs['pdfium'], 'FPDFText_CountChars'): + FPDFText_CountChars = _libs['pdfium']['FPDFText_CountChars'] FPDFText_CountChars.argtypes = [FPDF_TEXTPAGE] FPDFText_CountChars.restype = c_int -if hasattr(_lib, "FPDFText_GetUnicode"): - FPDFText_GetUnicode = _lib.FPDFText_GetUnicode +# ./data/bindings/headers/fpdf_text.h: 75 +if hasattr(_libs['pdfium'], 'FPDFText_GetUnicode'): + FPDFText_GetUnicode = _libs['pdfium']['FPDFText_GetUnicode'] FPDFText_GetUnicode.argtypes = [FPDF_TEXTPAGE, c_int] FPDFText_GetUnicode.restype = c_uint -if hasattr(_lib, "FPDFText_IsGenerated"): - FPDFText_IsGenerated = _lib.FPDFText_IsGenerated +# ./data/bindings/headers/fpdf_text.h: 90 +if hasattr(_libs['pdfium'], 'FPDFText_IsGenerated'): + FPDFText_IsGenerated = _libs['pdfium']['FPDFText_IsGenerated'] FPDFText_IsGenerated.argtypes = [FPDF_TEXTPAGE, c_int] FPDFText_IsGenerated.restype = c_int -if hasattr(_lib, "FPDFText_IsHyphen"): - FPDFText_IsHyphen = _lib.FPDFText_IsHyphen +# ./data/bindings/headers/fpdf_text.h: 105 +if hasattr(_libs['pdfium'], 'FPDFText_IsHyphen'): + FPDFText_IsHyphen = _libs['pdfium']['FPDFText_IsHyphen'] FPDFText_IsHyphen.argtypes = [FPDF_TEXTPAGE, c_int] FPDFText_IsHyphen.restype = c_int -if hasattr(_lib, "FPDFText_HasUnicodeMapError"): - FPDFText_HasUnicodeMapError = _lib.FPDFText_HasUnicodeMapError +# ./data/bindings/headers/fpdf_text.h: 120 +if hasattr(_libs['pdfium'], 'FPDFText_HasUnicodeMapError'): + FPDFText_HasUnicodeMapError = _libs['pdfium']['FPDFText_HasUnicodeMapError'] FPDFText_HasUnicodeMapError.argtypes = [FPDF_TEXTPAGE, c_int] FPDFText_HasUnicodeMapError.restype = c_int -if hasattr(_lib, "FPDFText_GetFontSize"): - FPDFText_GetFontSize = _lib.FPDFText_GetFontSize +# ./data/bindings/headers/fpdf_text.h: 133 +if hasattr(_libs['pdfium'], 'FPDFText_GetFontSize'): + FPDFText_GetFontSize = _libs['pdfium']['FPDFText_GetFontSize'] FPDFText_GetFontSize.argtypes = [FPDF_TEXTPAGE, c_int] FPDFText_GetFontSize.restype = c_double -if hasattr(_lib, "FPDFText_GetFontInfo"): - FPDFText_GetFontInfo = _lib.FPDFText_GetFontInfo +# ./data/bindings/headers/fpdf_text.h: 156 +if hasattr(_libs['pdfium'], 'FPDFText_GetFontInfo'): + FPDFText_GetFontInfo = _libs['pdfium']['FPDFText_GetFontInfo'] FPDFText_GetFontInfo.argtypes = [FPDF_TEXTPAGE, c_int, POINTER(None), c_ulong, POINTER(c_int)] FPDFText_GetFontInfo.restype = c_ulong -if hasattr(_lib, "FPDFText_GetFontWeight"): - FPDFText_GetFontWeight = _lib.FPDFText_GetFontWeight +# ./data/bindings/headers/fpdf_text.h: 174 +if hasattr(_libs['pdfium'], 'FPDFText_GetFontWeight'): + FPDFText_GetFontWeight = _libs['pdfium']['FPDFText_GetFontWeight'] FPDFText_GetFontWeight.argtypes = [FPDF_TEXTPAGE, c_int] FPDFText_GetFontWeight.restype = c_int -if hasattr(_lib, "FPDFText_GetTextRenderMode"): - FPDFText_GetTextRenderMode = _lib.FPDFText_GetTextRenderMode +# ./data/bindings/headers/fpdf_text.h: 191 +if hasattr(_libs['pdfium'], 'FPDFText_GetTextRenderMode'): + FPDFText_GetTextRenderMode = _libs['pdfium']['FPDFText_GetTextRenderMode'] FPDFText_GetTextRenderMode.argtypes = [FPDF_TEXTPAGE, c_int] FPDFText_GetTextRenderMode.restype = FPDF_TEXT_RENDERMODE -if hasattr(_lib, "FPDFText_GetFillColor"): - FPDFText_GetFillColor = _lib.FPDFText_GetFillColor +# ./data/bindings/headers/fpdf_text.h: 213 +if hasattr(_libs['pdfium'], 'FPDFText_GetFillColor'): + FPDFText_GetFillColor = _libs['pdfium']['FPDFText_GetFillColor'] FPDFText_GetFillColor.argtypes = [FPDF_TEXTPAGE, c_int, POINTER(c_uint), POINTER(c_uint), POINTER(c_uint), POINTER(c_uint)] FPDFText_GetFillColor.restype = FPDF_BOOL -if hasattr(_lib, "FPDFText_GetStrokeColor"): - FPDFText_GetStrokeColor = _lib.FPDFText_GetStrokeColor +# ./data/bindings/headers/fpdf_text.h: 240 +if hasattr(_libs['pdfium'], 'FPDFText_GetStrokeColor'): + FPDFText_GetStrokeColor = _libs['pdfium']['FPDFText_GetStrokeColor'] FPDFText_GetStrokeColor.argtypes = [FPDF_TEXTPAGE, c_int, POINTER(c_uint), POINTER(c_uint), POINTER(c_uint), POINTER(c_uint)] FPDFText_GetStrokeColor.restype = FPDF_BOOL -if hasattr(_lib, "FPDFText_GetCharAngle"): - FPDFText_GetCharAngle = _lib.FPDFText_GetCharAngle +# ./data/bindings/headers/fpdf_text.h: 259 +if hasattr(_libs['pdfium'], 'FPDFText_GetCharAngle'): + FPDFText_GetCharAngle = _libs['pdfium']['FPDFText_GetCharAngle'] FPDFText_GetCharAngle.argtypes = [FPDF_TEXTPAGE, c_int] FPDFText_GetCharAngle.restype = c_float -if hasattr(_lib, "FPDFText_GetCharBox"): - FPDFText_GetCharBox = _lib.FPDFText_GetCharBox +# ./data/bindings/headers/fpdf_text.h: 283 +if hasattr(_libs['pdfium'], 'FPDFText_GetCharBox'): + FPDFText_GetCharBox = _libs['pdfium']['FPDFText_GetCharBox'] FPDFText_GetCharBox.argtypes = [FPDF_TEXTPAGE, c_int, POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double)] FPDFText_GetCharBox.restype = FPDF_BOOL -if hasattr(_lib, "FPDFText_GetLooseCharBox"): - FPDFText_GetLooseCharBox = _lib.FPDFText_GetLooseCharBox +# ./data/bindings/headers/fpdf_text.h: 308 +if hasattr(_libs['pdfium'], 'FPDFText_GetLooseCharBox'): + FPDFText_GetLooseCharBox = _libs['pdfium']['FPDFText_GetLooseCharBox'] FPDFText_GetLooseCharBox.argtypes = [FPDF_TEXTPAGE, c_int, POINTER(FS_RECTF)] FPDFText_GetLooseCharBox.restype = FPDF_BOOL -if hasattr(_lib, "FPDFText_GetMatrix"): - FPDFText_GetMatrix = _lib.FPDFText_GetMatrix +# ./data/bindings/headers/fpdf_text.h: 324 +if hasattr(_libs['pdfium'], 'FPDFText_GetMatrix'): + FPDFText_GetMatrix = _libs['pdfium']['FPDFText_GetMatrix'] FPDFText_GetMatrix.argtypes = [FPDF_TEXTPAGE, c_int, POINTER(FS_MATRIX)] FPDFText_GetMatrix.restype = FPDF_BOOL -if hasattr(_lib, "FPDFText_GetCharOrigin"): - FPDFText_GetCharOrigin = _lib.FPDFText_GetCharOrigin +# ./data/bindings/headers/fpdf_text.h: 344 +if hasattr(_libs['pdfium'], 'FPDFText_GetCharOrigin'): + FPDFText_GetCharOrigin = _libs['pdfium']['FPDFText_GetCharOrigin'] FPDFText_GetCharOrigin.argtypes = [FPDF_TEXTPAGE, c_int, POINTER(c_double), POINTER(c_double)] FPDFText_GetCharOrigin.restype = FPDF_BOOL -if hasattr(_lib, "FPDFText_GetCharIndexAtPos"): - FPDFText_GetCharIndexAtPos = _lib.FPDFText_GetCharIndexAtPos +# ./data/bindings/headers/fpdf_text.h: 367 +if hasattr(_libs['pdfium'], 'FPDFText_GetCharIndexAtPos'): + FPDFText_GetCharIndexAtPos = _libs['pdfium']['FPDFText_GetCharIndexAtPos'] FPDFText_GetCharIndexAtPos.argtypes = [FPDF_TEXTPAGE, c_double, c_double, c_double, c_double] FPDFText_GetCharIndexAtPos.restype = c_int -if hasattr(_lib, "FPDFText_GetText"): - FPDFText_GetText = _lib.FPDFText_GetText +# ./data/bindings/headers/fpdf_text.h: 394 +if hasattr(_libs['pdfium'], 'FPDFText_GetText'): + FPDFText_GetText = _libs['pdfium']['FPDFText_GetText'] FPDFText_GetText.argtypes = [FPDF_TEXTPAGE, c_int, c_int, POINTER(c_ushort)] FPDFText_GetText.restype = c_int -if hasattr(_lib, "FPDFText_CountRects"): - FPDFText_CountRects = _lib.FPDFText_CountRects +# ./data/bindings/headers/fpdf_text.h: 417 +if hasattr(_libs['pdfium'], 'FPDFText_CountRects'): + FPDFText_CountRects = _libs['pdfium']['FPDFText_CountRects'] FPDFText_CountRects.argtypes = [FPDF_TEXTPAGE, c_int, c_int] FPDFText_CountRects.restype = c_int -if hasattr(_lib, "FPDFText_GetRect"): - FPDFText_GetRect = _lib.FPDFText_GetRect +# ./data/bindings/headers/fpdf_text.h: 443 +if hasattr(_libs['pdfium'], 'FPDFText_GetRect'): + FPDFText_GetRect = _libs['pdfium']['FPDFText_GetRect'] FPDFText_GetRect.argtypes = [FPDF_TEXTPAGE, c_int, POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double)] FPDFText_GetRect.restype = FPDF_BOOL -if hasattr(_lib, "FPDFText_GetBoundedText"): - FPDFText_GetBoundedText = _lib.FPDFText_GetBoundedText +# ./data/bindings/headers/fpdf_text.h: 474 +if hasattr(_libs['pdfium'], 'FPDFText_GetBoundedText'): + FPDFText_GetBoundedText = _libs['pdfium']['FPDFText_GetBoundedText'] FPDFText_GetBoundedText.argtypes = [FPDF_TEXTPAGE, c_double, c_double, c_double, c_double, POINTER(c_ushort), c_int] FPDFText_GetBoundedText.restype = c_int -if hasattr(_lib, "FPDFText_FindStart"): - FPDFText_FindStart = _lib.FPDFText_FindStart +# ./data/bindings/headers/fpdf_text.h: 504 +if hasattr(_libs['pdfium'], 'FPDFText_FindStart'): + FPDFText_FindStart = _libs['pdfium']['FPDFText_FindStart'] FPDFText_FindStart.argtypes = [FPDF_TEXTPAGE, FPDF_WIDESTRING, c_ulong, c_int] FPDFText_FindStart.restype = FPDF_SCHHANDLE -if hasattr(_lib, "FPDFText_FindNext"): - FPDFText_FindNext = _lib.FPDFText_FindNext +# ./data/bindings/headers/fpdf_text.h: 517 +if hasattr(_libs['pdfium'], 'FPDFText_FindNext'): + FPDFText_FindNext = _libs['pdfium']['FPDFText_FindNext'] FPDFText_FindNext.argtypes = [FPDF_SCHHANDLE] FPDFText_FindNext.restype = FPDF_BOOL -if hasattr(_lib, "FPDFText_FindPrev"): - FPDFText_FindPrev = _lib.FPDFText_FindPrev +# ./data/bindings/headers/fpdf_text.h: 527 +if hasattr(_libs['pdfium'], 'FPDFText_FindPrev'): + FPDFText_FindPrev = _libs['pdfium']['FPDFText_FindPrev'] FPDFText_FindPrev.argtypes = [FPDF_SCHHANDLE] FPDFText_FindPrev.restype = FPDF_BOOL -if hasattr(_lib, "FPDFText_GetSchResultIndex"): - FPDFText_GetSchResultIndex = _lib.FPDFText_GetSchResultIndex +# ./data/bindings/headers/fpdf_text.h: 537 +if hasattr(_libs['pdfium'], 'FPDFText_GetSchResultIndex'): + FPDFText_GetSchResultIndex = _libs['pdfium']['FPDFText_GetSchResultIndex'] FPDFText_GetSchResultIndex.argtypes = [FPDF_SCHHANDLE] FPDFText_GetSchResultIndex.restype = c_int -if hasattr(_lib, "FPDFText_GetSchCount"): - FPDFText_GetSchCount = _lib.FPDFText_GetSchCount +# ./data/bindings/headers/fpdf_text.h: 547 +if hasattr(_libs['pdfium'], 'FPDFText_GetSchCount'): + FPDFText_GetSchCount = _libs['pdfium']['FPDFText_GetSchCount'] FPDFText_GetSchCount.argtypes = [FPDF_SCHHANDLE] FPDFText_GetSchCount.restype = c_int -if hasattr(_lib, "FPDFText_FindClose"): - FPDFText_FindClose = _lib.FPDFText_FindClose +# ./data/bindings/headers/fpdf_text.h: 557 +if hasattr(_libs['pdfium'], 'FPDFText_FindClose'): + FPDFText_FindClose = _libs['pdfium']['FPDFText_FindClose'] FPDFText_FindClose.argtypes = [FPDF_SCHHANDLE] FPDFText_FindClose.restype = None -if hasattr(_lib, "FPDFLink_LoadWebLinks"): - FPDFLink_LoadWebLinks = _lib.FPDFLink_LoadWebLinks +# ./data/bindings/headers/fpdf_text.h: 579 +if hasattr(_libs['pdfium'], 'FPDFLink_LoadWebLinks'): + FPDFLink_LoadWebLinks = _libs['pdfium']['FPDFLink_LoadWebLinks'] FPDFLink_LoadWebLinks.argtypes = [FPDF_TEXTPAGE] FPDFLink_LoadWebLinks.restype = FPDF_PAGELINK -if hasattr(_lib, "FPDFLink_CountWebLinks"): - FPDFLink_CountWebLinks = _lib.FPDFLink_CountWebLinks +# ./data/bindings/headers/fpdf_text.h: 588 +if hasattr(_libs['pdfium'], 'FPDFLink_CountWebLinks'): + FPDFLink_CountWebLinks = _libs['pdfium']['FPDFLink_CountWebLinks'] FPDFLink_CountWebLinks.argtypes = [FPDF_PAGELINK] FPDFLink_CountWebLinks.restype = c_int -if hasattr(_lib, "FPDFLink_GetURL"): - FPDFLink_GetURL = _lib.FPDFLink_GetURL +# ./data/bindings/headers/fpdf_text.h: 609 +if hasattr(_libs['pdfium'], 'FPDFLink_GetURL'): + FPDFLink_GetURL = _libs['pdfium']['FPDFLink_GetURL'] FPDFLink_GetURL.argtypes = [FPDF_PAGELINK, c_int, POINTER(c_ushort), c_int] FPDFLink_GetURL.restype = c_int -if hasattr(_lib, "FPDFLink_CountRects"): - FPDFLink_CountRects = _lib.FPDFLink_CountRects +# ./data/bindings/headers/fpdf_text.h: 623 +if hasattr(_libs['pdfium'], 'FPDFLink_CountRects'): + FPDFLink_CountRects = _libs['pdfium']['FPDFLink_CountRects'] FPDFLink_CountRects.argtypes = [FPDF_PAGELINK, c_int] FPDFLink_CountRects.restype = c_int -if hasattr(_lib, "FPDFLink_GetRect"): - FPDFLink_GetRect = _lib.FPDFLink_GetRect +# ./data/bindings/headers/fpdf_text.h: 646 +if hasattr(_libs['pdfium'], 'FPDFLink_GetRect'): + FPDFLink_GetRect = _libs['pdfium']['FPDFLink_GetRect'] FPDFLink_GetRect.argtypes = [FPDF_PAGELINK, c_int, c_int, POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double)] FPDFLink_GetRect.restype = FPDF_BOOL -if hasattr(_lib, "FPDFLink_GetTextRange"): - FPDFLink_GetTextRange = _lib.FPDFLink_GetTextRange +# ./data/bindings/headers/fpdf_text.h: 669 +if hasattr(_libs['pdfium'], 'FPDFLink_GetTextRange'): + FPDFLink_GetTextRange = _libs['pdfium']['FPDFLink_GetTextRange'] FPDFLink_GetTextRange.argtypes = [FPDF_PAGELINK, c_int, POINTER(c_int), POINTER(c_int)] FPDFLink_GetTextRange.restype = FPDF_BOOL -if hasattr(_lib, "FPDFLink_CloseWebLinks"): - FPDFLink_CloseWebLinks = _lib.FPDFLink_CloseWebLinks +# ./data/bindings/headers/fpdf_text.h: 681 +if hasattr(_libs['pdfium'], 'FPDFLink_CloseWebLinks'): + FPDFLink_CloseWebLinks = _libs['pdfium']['FPDFLink_CloseWebLinks'] FPDFLink_CloseWebLinks.argtypes = [FPDF_PAGELINK] FPDFLink_CloseWebLinks.restype = None -if hasattr(_lib, "FPDFPage_GetDecodedThumbnailData"): - FPDFPage_GetDecodedThumbnailData = _lib.FPDFPage_GetDecodedThumbnailData +# ./data/bindings/headers/fpdf_thumbnail.h: 28 +if hasattr(_libs['pdfium'], 'FPDFPage_GetDecodedThumbnailData'): + FPDFPage_GetDecodedThumbnailData = _libs['pdfium']['FPDFPage_GetDecodedThumbnailData'] FPDFPage_GetDecodedThumbnailData.argtypes = [FPDF_PAGE, POINTER(None), c_ulong] FPDFPage_GetDecodedThumbnailData.restype = c_ulong -if hasattr(_lib, "FPDFPage_GetRawThumbnailData"): - FPDFPage_GetRawThumbnailData = _lib.FPDFPage_GetRawThumbnailData +# ./data/bindings/headers/fpdf_thumbnail.h: 43 +if hasattr(_libs['pdfium'], 'FPDFPage_GetRawThumbnailData'): + FPDFPage_GetRawThumbnailData = _libs['pdfium']['FPDFPage_GetRawThumbnailData'] FPDFPage_GetRawThumbnailData.argtypes = [FPDF_PAGE, POINTER(None), c_ulong] FPDFPage_GetRawThumbnailData.restype = c_ulong -if hasattr(_lib, "FPDFPage_GetThumbnailAsBitmap"): - FPDFPage_GetThumbnailAsBitmap = _lib.FPDFPage_GetThumbnailAsBitmap +# ./data/bindings/headers/fpdf_thumbnail.h: 53 +if hasattr(_libs['pdfium'], 'FPDFPage_GetThumbnailAsBitmap'): + FPDFPage_GetThumbnailAsBitmap = _libs['pdfium']['FPDFPage_GetThumbnailAsBitmap'] FPDFPage_GetThumbnailAsBitmap.argtypes = [FPDF_PAGE] FPDFPage_GetThumbnailAsBitmap.restype = FPDF_BITMAP -if hasattr(_lib, "FPDFPage_SetMediaBox"): - FPDFPage_SetMediaBox = _lib.FPDFPage_SetMediaBox +# ./data/bindings/headers/fpdf_transformpage.h: 26 +if hasattr(_libs['pdfium'], 'FPDFPage_SetMediaBox'): + FPDFPage_SetMediaBox = _libs['pdfium']['FPDFPage_SetMediaBox'] FPDFPage_SetMediaBox.argtypes = [FPDF_PAGE, c_float, c_float, c_float, c_float] FPDFPage_SetMediaBox.restype = None -if hasattr(_lib, "FPDFPage_SetCropBox"): - FPDFPage_SetCropBox = _lib.FPDFPage_SetCropBox +# ./data/bindings/headers/fpdf_transformpage.h: 41 +if hasattr(_libs['pdfium'], 'FPDFPage_SetCropBox'): + FPDFPage_SetCropBox = _libs['pdfium']['FPDFPage_SetCropBox'] FPDFPage_SetCropBox.argtypes = [FPDF_PAGE, c_float, c_float, c_float, c_float] FPDFPage_SetCropBox.restype = None -if hasattr(_lib, "FPDFPage_SetBleedBox"): - FPDFPage_SetBleedBox = _lib.FPDFPage_SetBleedBox +# ./data/bindings/headers/fpdf_transformpage.h: 56 +if hasattr(_libs['pdfium'], 'FPDFPage_SetBleedBox'): + FPDFPage_SetBleedBox = _libs['pdfium']['FPDFPage_SetBleedBox'] FPDFPage_SetBleedBox.argtypes = [FPDF_PAGE, c_float, c_float, c_float, c_float] FPDFPage_SetBleedBox.restype = None -if hasattr(_lib, "FPDFPage_SetTrimBox"): - FPDFPage_SetTrimBox = _lib.FPDFPage_SetTrimBox +# ./data/bindings/headers/fpdf_transformpage.h: 71 +if hasattr(_libs['pdfium'], 'FPDFPage_SetTrimBox'): + FPDFPage_SetTrimBox = _libs['pdfium']['FPDFPage_SetTrimBox'] FPDFPage_SetTrimBox.argtypes = [FPDF_PAGE, c_float, c_float, c_float, c_float] FPDFPage_SetTrimBox.restype = None -if hasattr(_lib, "FPDFPage_SetArtBox"): - FPDFPage_SetArtBox = _lib.FPDFPage_SetArtBox +# ./data/bindings/headers/fpdf_transformpage.h: 86 +if hasattr(_libs['pdfium'], 'FPDFPage_SetArtBox'): + FPDFPage_SetArtBox = _libs['pdfium']['FPDFPage_SetArtBox'] FPDFPage_SetArtBox.argtypes = [FPDF_PAGE, c_float, c_float, c_float, c_float] FPDFPage_SetArtBox.restype = None -if hasattr(_lib, "FPDFPage_GetMediaBox"): - FPDFPage_GetMediaBox = _lib.FPDFPage_GetMediaBox +# ./data/bindings/headers/fpdf_transformpage.h: 104 +if hasattr(_libs['pdfium'], 'FPDFPage_GetMediaBox'): + FPDFPage_GetMediaBox = _libs['pdfium']['FPDFPage_GetMediaBox'] FPDFPage_GetMediaBox.argtypes = [FPDF_PAGE, POINTER(c_float), POINTER(c_float), POINTER(c_float), POINTER(c_float)] FPDFPage_GetMediaBox.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPage_GetCropBox"): - FPDFPage_GetCropBox = _lib.FPDFPage_GetCropBox +# ./data/bindings/headers/fpdf_transformpage.h: 122 +if hasattr(_libs['pdfium'], 'FPDFPage_GetCropBox'): + FPDFPage_GetCropBox = _libs['pdfium']['FPDFPage_GetCropBox'] FPDFPage_GetCropBox.argtypes = [FPDF_PAGE, POINTER(c_float), POINTER(c_float), POINTER(c_float), POINTER(c_float)] FPDFPage_GetCropBox.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPage_GetBleedBox"): - FPDFPage_GetBleedBox = _lib.FPDFPage_GetBleedBox +# ./data/bindings/headers/fpdf_transformpage.h: 140 +if hasattr(_libs['pdfium'], 'FPDFPage_GetBleedBox'): + FPDFPage_GetBleedBox = _libs['pdfium']['FPDFPage_GetBleedBox'] FPDFPage_GetBleedBox.argtypes = [FPDF_PAGE, POINTER(c_float), POINTER(c_float), POINTER(c_float), POINTER(c_float)] FPDFPage_GetBleedBox.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPage_GetTrimBox"): - FPDFPage_GetTrimBox = _lib.FPDFPage_GetTrimBox +# ./data/bindings/headers/fpdf_transformpage.h: 158 +if hasattr(_libs['pdfium'], 'FPDFPage_GetTrimBox'): + FPDFPage_GetTrimBox = _libs['pdfium']['FPDFPage_GetTrimBox'] FPDFPage_GetTrimBox.argtypes = [FPDF_PAGE, POINTER(c_float), POINTER(c_float), POINTER(c_float), POINTER(c_float)] FPDFPage_GetTrimBox.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPage_GetArtBox"): - FPDFPage_GetArtBox = _lib.FPDFPage_GetArtBox +# ./data/bindings/headers/fpdf_transformpage.h: 176 +if hasattr(_libs['pdfium'], 'FPDFPage_GetArtBox'): + FPDFPage_GetArtBox = _libs['pdfium']['FPDFPage_GetArtBox'] FPDFPage_GetArtBox.argtypes = [FPDF_PAGE, POINTER(c_float), POINTER(c_float), POINTER(c_float), POINTER(c_float)] FPDFPage_GetArtBox.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPage_TransFormWithClip"): - FPDFPage_TransFormWithClip = _lib.FPDFPage_TransFormWithClip +# ./data/bindings/headers/fpdf_transformpage.h: 198 +if hasattr(_libs['pdfium'], 'FPDFPage_TransFormWithClip'): + FPDFPage_TransFormWithClip = _libs['pdfium']['FPDFPage_TransFormWithClip'] FPDFPage_TransFormWithClip.argtypes = [FPDF_PAGE, POINTER(FS_MATRIX), POINTER(FS_RECTF)] FPDFPage_TransFormWithClip.restype = FPDF_BOOL -if hasattr(_lib, "FPDFPageObj_TransformClipPath"): - FPDFPageObj_TransformClipPath = _lib.FPDFPageObj_TransformClipPath +# ./data/bindings/headers/fpdf_transformpage.h: 215 +if hasattr(_libs['pdfium'], 'FPDFPageObj_TransformClipPath'): + FPDFPageObj_TransformClipPath = _libs['pdfium']['FPDFPageObj_TransformClipPath'] FPDFPageObj_TransformClipPath.argtypes = [FPDF_PAGEOBJECT, c_double, c_double, c_double, c_double, c_double, c_double] FPDFPageObj_TransformClipPath.restype = None -if hasattr(_lib, "FPDFPageObj_GetClipPath"): - FPDFPageObj_GetClipPath = _lib.FPDFPageObj_GetClipPath +# ./data/bindings/headers/fpdf_transformpage.h: 233 +if hasattr(_libs['pdfium'], 'FPDFPageObj_GetClipPath'): + FPDFPageObj_GetClipPath = _libs['pdfium']['FPDFPageObj_GetClipPath'] FPDFPageObj_GetClipPath.argtypes = [FPDF_PAGEOBJECT] FPDFPageObj_GetClipPath.restype = FPDF_CLIPPATH -if hasattr(_lib, "FPDFClipPath_CountPaths"): - FPDFClipPath_CountPaths = _lib.FPDFClipPath_CountPaths +# ./data/bindings/headers/fpdf_transformpage.h: 241 +if hasattr(_libs['pdfium'], 'FPDFClipPath_CountPaths'): + FPDFClipPath_CountPaths = _libs['pdfium']['FPDFClipPath_CountPaths'] FPDFClipPath_CountPaths.argtypes = [FPDF_CLIPPATH] FPDFClipPath_CountPaths.restype = c_int -if hasattr(_lib, "FPDFClipPath_CountPathSegments"): - FPDFClipPath_CountPathSegments = _lib.FPDFClipPath_CountPathSegments +# ./data/bindings/headers/fpdf_transformpage.h: 251 +if hasattr(_libs['pdfium'], 'FPDFClipPath_CountPathSegments'): + FPDFClipPath_CountPathSegments = _libs['pdfium']['FPDFClipPath_CountPathSegments'] FPDFClipPath_CountPathSegments.argtypes = [FPDF_CLIPPATH, c_int] FPDFClipPath_CountPathSegments.restype = c_int -if hasattr(_lib, "FPDFClipPath_GetPathSegment"): - FPDFClipPath_GetPathSegment = _lib.FPDFClipPath_GetPathSegment +# ./data/bindings/headers/fpdf_transformpage.h: 264 +if hasattr(_libs['pdfium'], 'FPDFClipPath_GetPathSegment'): + FPDFClipPath_GetPathSegment = _libs['pdfium']['FPDFClipPath_GetPathSegment'] FPDFClipPath_GetPathSegment.argtypes = [FPDF_CLIPPATH, c_int, c_int] FPDFClipPath_GetPathSegment.restype = FPDF_PATHSEGMENT -if hasattr(_lib, "FPDF_CreateClipPath"): - FPDF_CreateClipPath = _lib.FPDF_CreateClipPath +# ./data/bindings/headers/fpdf_transformpage.h: 279 +if hasattr(_libs['pdfium'], 'FPDF_CreateClipPath'): + FPDF_CreateClipPath = _libs['pdfium']['FPDF_CreateClipPath'] FPDF_CreateClipPath.argtypes = [c_float, c_float, c_float, c_float] FPDF_CreateClipPath.restype = FPDF_CLIPPATH -if hasattr(_lib, "FPDF_DestroyClipPath"): - FPDF_DestroyClipPath = _lib.FPDF_DestroyClipPath +# ./data/bindings/headers/fpdf_transformpage.h: 289 +if hasattr(_libs['pdfium'], 'FPDF_DestroyClipPath'): + FPDF_DestroyClipPath = _libs['pdfium']['FPDF_DestroyClipPath'] FPDF_DestroyClipPath.argtypes = [FPDF_CLIPPATH] FPDF_DestroyClipPath.restype = None -if hasattr(_lib, "FPDFPage_InsertClipPath"): - FPDFPage_InsertClipPath = _lib.FPDFPage_InsertClipPath +# ./data/bindings/headers/fpdf_transformpage.h: 301 +if hasattr(_libs['pdfium'], 'FPDFPage_InsertClipPath'): + FPDFPage_InsertClipPath = _libs['pdfium']['FPDFPage_InsertClipPath'] FPDFPage_InsertClipPath.argtypes = [FPDF_PAGE, FPDF_CLIPPATH] FPDFPage_InsertClipPath.restype = None + +# ./data/bindings/headers/fpdfview.h: 36 FPDF_OBJECT_UNKNOWN = 0 + +# ./data/bindings/headers/fpdfview.h: 37 FPDF_OBJECT_BOOLEAN = 1 + +# ./data/bindings/headers/fpdfview.h: 38 FPDF_OBJECT_NUMBER = 2 + +# ./data/bindings/headers/fpdfview.h: 39 FPDF_OBJECT_STRING = 3 + +# ./data/bindings/headers/fpdfview.h: 40 FPDF_OBJECT_NAME = 4 + +# ./data/bindings/headers/fpdfview.h: 41 FPDF_OBJECT_ARRAY = 5 + +# ./data/bindings/headers/fpdfview.h: 42 FPDF_OBJECT_DICTIONARY = 6 + +# ./data/bindings/headers/fpdfview.h: 43 FPDF_OBJECT_STREAM = 7 + +# ./data/bindings/headers/fpdfview.h: 44 FPDF_OBJECT_NULLOBJ = 8 + +# ./data/bindings/headers/fpdfview.h: 45 FPDF_OBJECT_REFERENCE = 9 + +# ./data/bindings/headers/fpdfview.h: 325 FPDF_POLICY_MACHINETIME_ACCESS = 0 + +# ./data/bindings/headers/fpdfview.h: 597 FPDF_ERR_SUCCESS = 0 + +# ./data/bindings/headers/fpdfview.h: 598 FPDF_ERR_UNKNOWN = 1 + +# ./data/bindings/headers/fpdfview.h: 599 FPDF_ERR_FILE = 2 + +# ./data/bindings/headers/fpdfview.h: 600 FPDF_ERR_FORMAT = 3 + +# ./data/bindings/headers/fpdfview.h: 601 FPDF_ERR_PASSWORD = 4 + +# ./data/bindings/headers/fpdfview.h: 602 FPDF_ERR_SECURITY = 5 + +# ./data/bindings/headers/fpdfview.h: 603 FPDF_ERR_PAGE = 6 + +# ./data/bindings/headers/fpdfview.h: 605 +FPDF_ERR_XFALOAD = 7 + +# ./data/bindings/headers/fpdfview.h: 606 +FPDF_ERR_XFALAYOUT = 8 + +# ./data/bindings/headers/fpdfview.h: 804 FPDF_ANNOT = 0x01 + +# ./data/bindings/headers/fpdfview.h: 807 FPDF_LCD_TEXT = 0x02 + +# ./data/bindings/headers/fpdfview.h: 809 FPDF_NO_NATIVETEXT = 0x04 + +# ./data/bindings/headers/fpdfview.h: 811 FPDF_GRAYSCALE = 0x08 + +# ./data/bindings/headers/fpdfview.h: 813 FPDF_DEBUG_INFO = 0x80 + +# ./data/bindings/headers/fpdfview.h: 815 FPDF_NO_CATCH = 0x100 + +# ./data/bindings/headers/fpdfview.h: 817 FPDF_RENDER_LIMITEDIMAGECACHE = 0x200 + +# ./data/bindings/headers/fpdfview.h: 819 FPDF_RENDER_FORCEHALFTONE = 0x400 + +# ./data/bindings/headers/fpdfview.h: 821 FPDF_PRINTING = 0x800 + +# ./data/bindings/headers/fpdfview.h: 824 FPDF_RENDER_NO_SMOOTHTEXT = 0x1000 + +# ./data/bindings/headers/fpdfview.h: 826 FPDF_RENDER_NO_SMOOTHIMAGE = 0x2000 + +# ./data/bindings/headers/fpdfview.h: 828 FPDF_RENDER_NO_SMOOTHPATH = 0x4000 + +# ./data/bindings/headers/fpdfview.h: 831 FPDF_REVERSE_BYTE_ORDER = 0x10 + +# ./data/bindings/headers/fpdfview.h: 835 FPDF_CONVERT_FILL_TO_STROKE = 0x20 + +# ./data/bindings/headers/fpdfview.h: 1096 FPDFBitmap_Unknown = 0 + +# ./data/bindings/headers/fpdfview.h: 1098 FPDFBitmap_Gray = 1 + +# ./data/bindings/headers/fpdfview.h: 1100 FPDFBitmap_BGR = 2 + +# ./data/bindings/headers/fpdfview.h: 1102 FPDFBitmap_BGRx = 3 + +# ./data/bindings/headers/fpdfview.h: 1104 FPDFBitmap_BGRA = 4 + +# ./data/bindings/headers/fpdf_formfill.h: 16 FORMTYPE_NONE = 0 + +# ./data/bindings/headers/fpdf_formfill.h: 17 FORMTYPE_ACRO_FORM = 1 + +# ./data/bindings/headers/fpdf_formfill.h: 18 FORMTYPE_XFA_FULL = 2 + +# ./data/bindings/headers/fpdf_formfill.h: 19 FORMTYPE_XFA_FOREGROUND = 3 + +# ./data/bindings/headers/fpdf_formfill.h: 21 FORMTYPE_COUNT = 4 + +# ./data/bindings/headers/fpdf_formfill.h: 23 JSPLATFORM_ALERT_BUTTON_OK = 0 + +# ./data/bindings/headers/fpdf_formfill.h: 24 JSPLATFORM_ALERT_BUTTON_OKCANCEL = 1 + +# ./data/bindings/headers/fpdf_formfill.h: 25 JSPLATFORM_ALERT_BUTTON_YESNO = 2 + +# ./data/bindings/headers/fpdf_formfill.h: 26 JSPLATFORM_ALERT_BUTTON_YESNOCANCEL = 3 + +# ./data/bindings/headers/fpdf_formfill.h: 27 JSPLATFORM_ALERT_BUTTON_DEFAULT = JSPLATFORM_ALERT_BUTTON_OK + +# ./data/bindings/headers/fpdf_formfill.h: 29 JSPLATFORM_ALERT_ICON_ERROR = 0 + +# ./data/bindings/headers/fpdf_formfill.h: 30 JSPLATFORM_ALERT_ICON_WARNING = 1 + +# ./data/bindings/headers/fpdf_formfill.h: 31 JSPLATFORM_ALERT_ICON_QUESTION = 2 + +# ./data/bindings/headers/fpdf_formfill.h: 32 JSPLATFORM_ALERT_ICON_STATUS = 3 + +# ./data/bindings/headers/fpdf_formfill.h: 33 JSPLATFORM_ALERT_ICON_ASTERISK = 4 + +# ./data/bindings/headers/fpdf_formfill.h: 34 JSPLATFORM_ALERT_ICON_DEFAULT = JSPLATFORM_ALERT_ICON_ERROR + +# ./data/bindings/headers/fpdf_formfill.h: 36 JSPLATFORM_ALERT_RETURN_OK = 1 + +# ./data/bindings/headers/fpdf_formfill.h: 37 JSPLATFORM_ALERT_RETURN_CANCEL = 2 + +# ./data/bindings/headers/fpdf_formfill.h: 38 JSPLATFORM_ALERT_RETURN_NO = 3 + +# ./data/bindings/headers/fpdf_formfill.h: 39 JSPLATFORM_ALERT_RETURN_YES = 4 + +# ./data/bindings/headers/fpdf_formfill.h: 41 JSPLATFORM_BEEP_ERROR = 0 + +# ./data/bindings/headers/fpdf_formfill.h: 42 JSPLATFORM_BEEP_WARNING = 1 + +# ./data/bindings/headers/fpdf_formfill.h: 43 JSPLATFORM_BEEP_QUESTION = 2 + +# ./data/bindings/headers/fpdf_formfill.h: 44 JSPLATFORM_BEEP_STATUS = 3 + +# ./data/bindings/headers/fpdf_formfill.h: 45 JSPLATFORM_BEEP_DEFAULT = 4 + +# ./data/bindings/headers/fpdf_formfill.h: 326 FXCT_ARROW = 0 + +# ./data/bindings/headers/fpdf_formfill.h: 327 FXCT_NESW = 1 + +# ./data/bindings/headers/fpdf_formfill.h: 328 FXCT_NWSE = 2 + +# ./data/bindings/headers/fpdf_formfill.h: 329 FXCT_VBEAM = 3 + +# ./data/bindings/headers/fpdf_formfill.h: 330 FXCT_HBEAM = 4 + +# ./data/bindings/headers/fpdf_formfill.h: 331 FXCT_HAND = 5 + +# ./data/bindings/headers/fpdf_formfill.h: 360 +FXFA_PAGEVIEWEVENT_POSTADDED = 1 + +# ./data/bindings/headers/fpdf_formfill.h: 361 +FXFA_PAGEVIEWEVENT_POSTREMOVED = 3 + +# ./data/bindings/headers/fpdf_formfill.h: 364 +FXFA_MENU_COPY = 1 + +# ./data/bindings/headers/fpdf_formfill.h: 365 +FXFA_MENU_CUT = 2 + +# ./data/bindings/headers/fpdf_formfill.h: 366 +FXFA_MENU_SELECTALL = 4 + +# ./data/bindings/headers/fpdf_formfill.h: 367 +FXFA_MENU_UNDO = 8 + +# ./data/bindings/headers/fpdf_formfill.h: 368 +FXFA_MENU_REDO = 16 + +# ./data/bindings/headers/fpdf_formfill.h: 369 +FXFA_MENU_PASTE = 32 + +# ./data/bindings/headers/fpdf_formfill.h: 372 +FXFA_SAVEAS_XML = 1 + +# ./data/bindings/headers/fpdf_formfill.h: 373 +FXFA_SAVEAS_XDP = 2 + +# ./data/bindings/headers/fpdf_formfill.h: 1239 FPDFDOC_AACTION_WC = 0x10 + +# ./data/bindings/headers/fpdf_formfill.h: 1240 FPDFDOC_AACTION_WS = 0x11 + +# ./data/bindings/headers/fpdf_formfill.h: 1241 FPDFDOC_AACTION_DS = 0x12 + +# ./data/bindings/headers/fpdf_formfill.h: 1242 FPDFDOC_AACTION_WP = 0x13 + +# ./data/bindings/headers/fpdf_formfill.h: 1243 FPDFDOC_AACTION_DP = 0x14 + +# ./data/bindings/headers/fpdf_formfill.h: 1266 FPDFPAGE_AACTION_OPEN = 0 + +# ./data/bindings/headers/fpdf_formfill.h: 1267 FPDFPAGE_AACTION_CLOSE = 1 + +# ./data/bindings/headers/fpdf_formfill.h: 1734 FPDF_FORMFIELD_UNKNOWN = 0 + +# ./data/bindings/headers/fpdf_formfill.h: 1735 FPDF_FORMFIELD_PUSHBUTTON = 1 + +# ./data/bindings/headers/fpdf_formfill.h: 1736 FPDF_FORMFIELD_CHECKBOX = 2 + +# ./data/bindings/headers/fpdf_formfill.h: 1737 FPDF_FORMFIELD_RADIOBUTTON = 3 + +# ./data/bindings/headers/fpdf_formfill.h: 1738 FPDF_FORMFIELD_COMBOBOX = 4 + +# ./data/bindings/headers/fpdf_formfill.h: 1739 FPDF_FORMFIELD_LISTBOX = 5 + +# ./data/bindings/headers/fpdf_formfill.h: 1740 FPDF_FORMFIELD_TEXTFIELD = 6 + +# ./data/bindings/headers/fpdf_formfill.h: 1741 FPDF_FORMFIELD_SIGNATURE = 7 -FPDF_FORMFIELD_COUNT = 8 + +# ./data/bindings/headers/fpdf_formfill.h: 1743 +FPDF_FORMFIELD_XFA = 8 + +# ./data/bindings/headers/fpdf_formfill.h: 1744 +FPDF_FORMFIELD_XFA_CHECKBOX = 9 + +# ./data/bindings/headers/fpdf_formfill.h: 1745 +FPDF_FORMFIELD_XFA_COMBOBOX = 10 + +# ./data/bindings/headers/fpdf_formfill.h: 1746 +FPDF_FORMFIELD_XFA_IMAGEFIELD = 11 + +# ./data/bindings/headers/fpdf_formfill.h: 1747 +FPDF_FORMFIELD_XFA_LISTBOX = 12 + +# ./data/bindings/headers/fpdf_formfill.h: 1748 +FPDF_FORMFIELD_XFA_PUSHBUTTON = 13 + +# ./data/bindings/headers/fpdf_formfill.h: 1749 +FPDF_FORMFIELD_XFA_SIGNATURE = 14 + +# ./data/bindings/headers/fpdf_formfill.h: 1750 +FPDF_FORMFIELD_XFA_TEXTFIELD = 15 + +# ./data/bindings/headers/fpdf_formfill.h: 1754 +FPDF_FORMFIELD_COUNT = 16 + +# ./data/bindings/headers/fpdf_formfill.h: 1760 +def IS_XFA_FORMFIELD(type): + return ((((((((type == FPDF_FORMFIELD_XFA) or (type == FPDF_FORMFIELD_XFA_CHECKBOX)) or (type == FPDF_FORMFIELD_XFA_COMBOBOX)) or (type == FPDF_FORMFIELD_XFA_IMAGEFIELD)) or (type == FPDF_FORMFIELD_XFA_LISTBOX)) or (type == FPDF_FORMFIELD_XFA_PUSHBUTTON)) or (type == FPDF_FORMFIELD_XFA_SIGNATURE)) or (type == FPDF_FORMFIELD_XFA_TEXTFIELD)) + +# ./data/bindings/headers/fpdf_annot.h: 20 FPDF_ANNOT_UNKNOWN = 0 + +# ./data/bindings/headers/fpdf_annot.h: 21 FPDF_ANNOT_TEXT = 1 + +# ./data/bindings/headers/fpdf_annot.h: 22 FPDF_ANNOT_LINK = 2 + +# ./data/bindings/headers/fpdf_annot.h: 23 FPDF_ANNOT_FREETEXT = 3 + +# ./data/bindings/headers/fpdf_annot.h: 24 FPDF_ANNOT_LINE = 4 + +# ./data/bindings/headers/fpdf_annot.h: 25 FPDF_ANNOT_SQUARE = 5 + +# ./data/bindings/headers/fpdf_annot.h: 26 FPDF_ANNOT_CIRCLE = 6 + +# ./data/bindings/headers/fpdf_annot.h: 27 FPDF_ANNOT_POLYGON = 7 + +# ./data/bindings/headers/fpdf_annot.h: 28 FPDF_ANNOT_POLYLINE = 8 + +# ./data/bindings/headers/fpdf_annot.h: 29 FPDF_ANNOT_HIGHLIGHT = 9 + +# ./data/bindings/headers/fpdf_annot.h: 30 FPDF_ANNOT_UNDERLINE = 10 + +# ./data/bindings/headers/fpdf_annot.h: 31 FPDF_ANNOT_SQUIGGLY = 11 + +# ./data/bindings/headers/fpdf_annot.h: 32 FPDF_ANNOT_STRIKEOUT = 12 + +# ./data/bindings/headers/fpdf_annot.h: 33 FPDF_ANNOT_STAMP = 13 + +# ./data/bindings/headers/fpdf_annot.h: 34 FPDF_ANNOT_CARET = 14 + +# ./data/bindings/headers/fpdf_annot.h: 35 FPDF_ANNOT_INK = 15 + +# ./data/bindings/headers/fpdf_annot.h: 36 FPDF_ANNOT_POPUP = 16 + +# ./data/bindings/headers/fpdf_annot.h: 37 FPDF_ANNOT_FILEATTACHMENT = 17 + +# ./data/bindings/headers/fpdf_annot.h: 38 FPDF_ANNOT_SOUND = 18 + +# ./data/bindings/headers/fpdf_annot.h: 39 FPDF_ANNOT_MOVIE = 19 + +# ./data/bindings/headers/fpdf_annot.h: 40 FPDF_ANNOT_WIDGET = 20 + +# ./data/bindings/headers/fpdf_annot.h: 41 FPDF_ANNOT_SCREEN = 21 + +# ./data/bindings/headers/fpdf_annot.h: 42 FPDF_ANNOT_PRINTERMARK = 22 + +# ./data/bindings/headers/fpdf_annot.h: 43 FPDF_ANNOT_TRAPNET = 23 + +# ./data/bindings/headers/fpdf_annot.h: 44 FPDF_ANNOT_WATERMARK = 24 + +# ./data/bindings/headers/fpdf_annot.h: 45 FPDF_ANNOT_THREED = 25 + +# ./data/bindings/headers/fpdf_annot.h: 46 FPDF_ANNOT_RICHMEDIA = 26 + +# ./data/bindings/headers/fpdf_annot.h: 47 FPDF_ANNOT_XFAWIDGET = 27 + +# ./data/bindings/headers/fpdf_annot.h: 48 FPDF_ANNOT_REDACT = 28 + +# ./data/bindings/headers/fpdf_annot.h: 51 FPDF_ANNOT_FLAG_NONE = 0 + +# ./data/bindings/headers/fpdf_annot.h: 52 FPDF_ANNOT_FLAG_INVISIBLE = (1 << 0) + +# ./data/bindings/headers/fpdf_annot.h: 53 FPDF_ANNOT_FLAG_HIDDEN = (1 << 1) + +# ./data/bindings/headers/fpdf_annot.h: 54 FPDF_ANNOT_FLAG_PRINT = (1 << 2) + +# ./data/bindings/headers/fpdf_annot.h: 55 FPDF_ANNOT_FLAG_NOZOOM = (1 << 3) + +# ./data/bindings/headers/fpdf_annot.h: 56 FPDF_ANNOT_FLAG_NOROTATE = (1 << 4) + +# ./data/bindings/headers/fpdf_annot.h: 57 FPDF_ANNOT_FLAG_NOVIEW = (1 << 5) + +# ./data/bindings/headers/fpdf_annot.h: 58 FPDF_ANNOT_FLAG_READONLY = (1 << 6) + +# ./data/bindings/headers/fpdf_annot.h: 59 FPDF_ANNOT_FLAG_LOCKED = (1 << 7) + +# ./data/bindings/headers/fpdf_annot.h: 60 FPDF_ANNOT_FLAG_TOGGLENOVIEW = (1 << 8) + +# ./data/bindings/headers/fpdf_annot.h: 62 FPDF_ANNOT_APPEARANCEMODE_NORMAL = 0 + +# ./data/bindings/headers/fpdf_annot.h: 63 FPDF_ANNOT_APPEARANCEMODE_ROLLOVER = 1 + +# ./data/bindings/headers/fpdf_annot.h: 64 FPDF_ANNOT_APPEARANCEMODE_DOWN = 2 + +# ./data/bindings/headers/fpdf_annot.h: 65 FPDF_ANNOT_APPEARANCEMODE_COUNT = 3 + +# ./data/bindings/headers/fpdf_annot.h: 69 FPDF_FORMFLAG_NONE = 0 + +# ./data/bindings/headers/fpdf_annot.h: 70 FPDF_FORMFLAG_READONLY = (1 << 0) + +# ./data/bindings/headers/fpdf_annot.h: 71 FPDF_FORMFLAG_REQUIRED = (1 << 1) + +# ./data/bindings/headers/fpdf_annot.h: 72 FPDF_FORMFLAG_NOEXPORT = (1 << 2) + +# ./data/bindings/headers/fpdf_annot.h: 76 FPDF_FORMFLAG_TEXT_MULTILINE = (1 << 12) + +# ./data/bindings/headers/fpdf_annot.h: 77 FPDF_FORMFLAG_TEXT_PASSWORD = (1 << 13) + +# ./data/bindings/headers/fpdf_annot.h: 81 FPDF_FORMFLAG_CHOICE_COMBO = (1 << 17) + +# ./data/bindings/headers/fpdf_annot.h: 82 FPDF_FORMFLAG_CHOICE_EDIT = (1 << 18) + +# ./data/bindings/headers/fpdf_annot.h: 83 FPDF_FORMFLAG_CHOICE_MULTI_SELECT = (1 << 21) + +# ./data/bindings/headers/fpdf_annot.h: 90 FPDF_ANNOT_AACTION_KEY_STROKE = 12 + +# ./data/bindings/headers/fpdf_annot.h: 91 FPDF_ANNOT_AACTION_FORMAT = 13 + +# ./data/bindings/headers/fpdf_annot.h: 92 FPDF_ANNOT_AACTION_VALIDATE = 14 + +# ./data/bindings/headers/fpdf_annot.h: 93 FPDF_ANNOT_AACTION_CALCULATE = 15 + +# ./data/bindings/headers/fpdf_dataavail.h: 15 PDF_LINEARIZATION_UNKNOWN = (-1) + +# ./data/bindings/headers/fpdf_dataavail.h: 16 PDF_NOT_LINEARIZED = 0 + +# ./data/bindings/headers/fpdf_dataavail.h: 17 PDF_LINEARIZED = 1 + +# ./data/bindings/headers/fpdf_dataavail.h: 19 PDF_DATA_ERROR = (-1) + +# ./data/bindings/headers/fpdf_dataavail.h: 20 PDF_DATA_NOTAVAIL = 0 + +# ./data/bindings/headers/fpdf_dataavail.h: 21 PDF_DATA_AVAIL = 1 + +# ./data/bindings/headers/fpdf_dataavail.h: 23 PDF_FORM_ERROR = (-1) + +# ./data/bindings/headers/fpdf_dataavail.h: 24 PDF_FORM_NOTAVAIL = 0 + +# ./data/bindings/headers/fpdf_dataavail.h: 25 PDF_FORM_AVAIL = 1 + +# ./data/bindings/headers/fpdf_dataavail.h: 26 PDF_FORM_NOTEXIST = 2 + +# ./data/bindings/headers/fpdf_doc.h: 18 PDFACTION_UNSUPPORTED = 0 + +# ./data/bindings/headers/fpdf_doc.h: 20 PDFACTION_GOTO = 1 + +# ./data/bindings/headers/fpdf_doc.h: 22 PDFACTION_REMOTEGOTO = 2 + +# ./data/bindings/headers/fpdf_doc.h: 24 PDFACTION_URI = 3 + +# ./data/bindings/headers/fpdf_doc.h: 26 PDFACTION_LAUNCH = 4 + +# ./data/bindings/headers/fpdf_doc.h: 28 PDFACTION_EMBEDDEDGOTO = 5 + +# ./data/bindings/headers/fpdf_doc.h: 31 PDFDEST_VIEW_UNKNOWN_MODE = 0 + +# ./data/bindings/headers/fpdf_doc.h: 32 PDFDEST_VIEW_XYZ = 1 + +# ./data/bindings/headers/fpdf_doc.h: 33 PDFDEST_VIEW_FIT = 2 + +# ./data/bindings/headers/fpdf_doc.h: 34 PDFDEST_VIEW_FITH = 3 + +# ./data/bindings/headers/fpdf_doc.h: 35 PDFDEST_VIEW_FITV = 4 + +# ./data/bindings/headers/fpdf_doc.h: 36 PDFDEST_VIEW_FITR = 5 + +# ./data/bindings/headers/fpdf_doc.h: 37 PDFDEST_VIEW_FITB = 6 + +# ./data/bindings/headers/fpdf_doc.h: 38 PDFDEST_VIEW_FITBH = 7 + +# ./data/bindings/headers/fpdf_doc.h: 39 PDFDEST_VIEW_FITBV = 8 +# ./data/bindings/headers/fpdf_edit.h: 15 def FPDF_ARGB(a, r, g, b): return uint32_t(((((uint32_t(b).value & 0xff) | ((uint32_t(g).value & 0xff) << 8)) | ((uint32_t(r).value & 0xff) << 16)) | ((uint32_t(a).value & 0xff) << 24))).value +# ./data/bindings/headers/fpdf_edit.h: 18 def FPDF_GetBValue(argb): return uint8_t(argb).value +# ./data/bindings/headers/fpdf_edit.h: 19 def FPDF_GetGValue(argb): return uint8_t((uint16_t(argb).value >> 8)).value +# ./data/bindings/headers/fpdf_edit.h: 20 def FPDF_GetRValue(argb): return uint8_t((argb >> 16)).value +# ./data/bindings/headers/fpdf_edit.h: 21 def FPDF_GetAValue(argb): return uint8_t((argb >> 24)).value + +# ./data/bindings/headers/fpdf_edit.h: 24 FPDF_COLORSPACE_UNKNOWN = 0 + +# ./data/bindings/headers/fpdf_edit.h: 25 FPDF_COLORSPACE_DEVICEGRAY = 1 + +# ./data/bindings/headers/fpdf_edit.h: 26 FPDF_COLORSPACE_DEVICERGB = 2 + +# ./data/bindings/headers/fpdf_edit.h: 27 FPDF_COLORSPACE_DEVICECMYK = 3 + +# ./data/bindings/headers/fpdf_edit.h: 28 FPDF_COLORSPACE_CALGRAY = 4 + +# ./data/bindings/headers/fpdf_edit.h: 29 FPDF_COLORSPACE_CALRGB = 5 + +# ./data/bindings/headers/fpdf_edit.h: 30 FPDF_COLORSPACE_LAB = 6 + +# ./data/bindings/headers/fpdf_edit.h: 31 FPDF_COLORSPACE_ICCBASED = 7 + +# ./data/bindings/headers/fpdf_edit.h: 32 FPDF_COLORSPACE_SEPARATION = 8 + +# ./data/bindings/headers/fpdf_edit.h: 33 FPDF_COLORSPACE_DEVICEN = 9 + +# ./data/bindings/headers/fpdf_edit.h: 34 FPDF_COLORSPACE_INDEXED = 10 + +# ./data/bindings/headers/fpdf_edit.h: 35 FPDF_COLORSPACE_PATTERN = 11 + +# ./data/bindings/headers/fpdf_edit.h: 38 FPDF_PAGEOBJ_UNKNOWN = 0 + +# ./data/bindings/headers/fpdf_edit.h: 39 FPDF_PAGEOBJ_TEXT = 1 + +# ./data/bindings/headers/fpdf_edit.h: 40 FPDF_PAGEOBJ_PATH = 2 + +# ./data/bindings/headers/fpdf_edit.h: 41 FPDF_PAGEOBJ_IMAGE = 3 + +# ./data/bindings/headers/fpdf_edit.h: 42 FPDF_PAGEOBJ_SHADING = 4 + +# ./data/bindings/headers/fpdf_edit.h: 43 FPDF_PAGEOBJ_FORM = 5 + +# ./data/bindings/headers/fpdf_edit.h: 46 FPDF_SEGMENT_UNKNOWN = (-1) + +# ./data/bindings/headers/fpdf_edit.h: 47 FPDF_SEGMENT_LINETO = 0 + +# ./data/bindings/headers/fpdf_edit.h: 48 FPDF_SEGMENT_BEZIERTO = 1 + +# ./data/bindings/headers/fpdf_edit.h: 49 FPDF_SEGMENT_MOVETO = 2 + +# ./data/bindings/headers/fpdf_edit.h: 51 FPDF_FILLMODE_NONE = 0 + +# ./data/bindings/headers/fpdf_edit.h: 52 FPDF_FILLMODE_ALTERNATE = 1 + +# ./data/bindings/headers/fpdf_edit.h: 53 FPDF_FILLMODE_WINDING = 2 + +# ./data/bindings/headers/fpdf_edit.h: 55 FPDF_FONT_TYPE1 = 1 + +# ./data/bindings/headers/fpdf_edit.h: 56 FPDF_FONT_TRUETYPE = 2 + +# ./data/bindings/headers/fpdf_edit.h: 58 FPDF_LINECAP_BUTT = 0 + +# ./data/bindings/headers/fpdf_edit.h: 59 FPDF_LINECAP_ROUND = 1 + +# ./data/bindings/headers/fpdf_edit.h: 60 FPDF_LINECAP_PROJECTING_SQUARE = 2 + +# ./data/bindings/headers/fpdf_edit.h: 62 FPDF_LINEJOIN_MITER = 0 + +# ./data/bindings/headers/fpdf_edit.h: 63 FPDF_LINEJOIN_ROUND = 1 + +# ./data/bindings/headers/fpdf_edit.h: 64 FPDF_LINEJOIN_BEVEL = 2 + +# ./data/bindings/headers/fpdf_edit.h: 67 FPDF_PRINTMODE_EMF = 0 + +# ./data/bindings/headers/fpdf_edit.h: 68 FPDF_PRINTMODE_TEXTONLY = 1 + +# ./data/bindings/headers/fpdf_edit.h: 69 FPDF_PRINTMODE_POSTSCRIPT2 = 2 + +# ./data/bindings/headers/fpdf_edit.h: 70 FPDF_PRINTMODE_POSTSCRIPT3 = 3 + +# ./data/bindings/headers/fpdf_edit.h: 71 FPDF_PRINTMODE_POSTSCRIPT2_PASSTHROUGH = 4 + +# ./data/bindings/headers/fpdf_edit.h: 72 FPDF_PRINTMODE_POSTSCRIPT3_PASSTHROUGH = 5 + +# ./data/bindings/headers/fpdf_edit.h: 73 FPDF_PRINTMODE_EMF_IMAGE_MASKS = 6 + +# ./data/bindings/headers/fpdf_edit.h: 74 FPDF_PRINTMODE_POSTSCRIPT3_TYPE42 = 7 + +# ./data/bindings/headers/fpdf_edit.h: 75 FPDF_PRINTMODE_POSTSCRIPT3_TYPE42_PASSTHROUGH = 8 + +# ./data/bindings/headers/fpdf_ext.h: 20 FPDF_UNSP_DOC_XFAFORM = 1 + +# ./data/bindings/headers/fpdf_ext.h: 22 FPDF_UNSP_DOC_PORTABLECOLLECTION = 2 + +# ./data/bindings/headers/fpdf_ext.h: 24 FPDF_UNSP_DOC_ATTACHMENT = 3 + +# ./data/bindings/headers/fpdf_ext.h: 26 FPDF_UNSP_DOC_SECURITY = 4 + +# ./data/bindings/headers/fpdf_ext.h: 28 FPDF_UNSP_DOC_SHAREDREVIEW = 5 + +# ./data/bindings/headers/fpdf_ext.h: 30 FPDF_UNSP_DOC_SHAREDFORM_ACROBAT = 6 + +# ./data/bindings/headers/fpdf_ext.h: 32 FPDF_UNSP_DOC_SHAREDFORM_FILESYSTEM = 7 + +# ./data/bindings/headers/fpdf_ext.h: 34 FPDF_UNSP_DOC_SHAREDFORM_EMAIL = 8 + +# ./data/bindings/headers/fpdf_ext.h: 36 FPDF_UNSP_ANNOT_3DANNOT = 11 + +# ./data/bindings/headers/fpdf_ext.h: 38 FPDF_UNSP_ANNOT_MOVIE = 12 + +# ./data/bindings/headers/fpdf_ext.h: 40 FPDF_UNSP_ANNOT_SOUND = 13 + +# ./data/bindings/headers/fpdf_ext.h: 42 FPDF_UNSP_ANNOT_SCREEN_MEDIA = 14 + +# ./data/bindings/headers/fpdf_ext.h: 44 FPDF_UNSP_ANNOT_SCREEN_RICHMEDIA = 15 + +# ./data/bindings/headers/fpdf_ext.h: 46 FPDF_UNSP_ANNOT_ATTACHMENT = 16 + +# ./data/bindings/headers/fpdf_ext.h: 48 FPDF_UNSP_ANNOT_SIG = 17 + +# ./data/bindings/headers/fpdf_ext.h: 92 PAGEMODE_UNKNOWN = (-1) + +# ./data/bindings/headers/fpdf_ext.h: 94 PAGEMODE_USENONE = 0 + +# ./data/bindings/headers/fpdf_ext.h: 96 PAGEMODE_USEOUTLINES = 1 + +# ./data/bindings/headers/fpdf_ext.h: 98 PAGEMODE_USETHUMBS = 2 + +# ./data/bindings/headers/fpdf_ext.h: 100 PAGEMODE_FULLSCREEN = 3 + +# ./data/bindings/headers/fpdf_ext.h: 102 PAGEMODE_USEOC = 4 + +# ./data/bindings/headers/fpdf_ext.h: 104 PAGEMODE_USEATTACHMENTS = 5 + +# ./data/bindings/headers/fpdf_flatten.h: 14 FLATTEN_FAIL = 0 + +# ./data/bindings/headers/fpdf_flatten.h: 16 FLATTEN_SUCCESS = 1 + +# ./data/bindings/headers/fpdf_flatten.h: 18 FLATTEN_NOTHINGTODO = 2 + +# ./data/bindings/headers/fpdf_flatten.h: 21 FLAT_NORMALDISPLAY = 0 + +# ./data/bindings/headers/fpdf_flatten.h: 23 FLAT_PRINT = 1 + +# ./data/bindings/headers/fpdf_progressive.h: 15 FPDF_RENDER_READY = 0 + +# ./data/bindings/headers/fpdf_progressive.h: 16 FPDF_RENDER_TOBECONTINUED = 1 + +# ./data/bindings/headers/fpdf_progressive.h: 17 FPDF_RENDER_DONE = 2 + +# ./data/bindings/headers/fpdf_progressive.h: 18 FPDF_RENDER_FAILED = 3 + +# ./data/bindings/headers/fpdf_save.h: 45 FPDF_INCREMENTAL = 1 + +# ./data/bindings/headers/fpdf_save.h: 46 FPDF_NO_INCREMENTAL = 2 + +# ./data/bindings/headers/fpdf_save.h: 47 FPDF_REMOVE_SECURITY = 3 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 15 FXFONT_ANSI_CHARSET = 0 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 16 FXFONT_DEFAULT_CHARSET = 1 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 17 FXFONT_SYMBOL_CHARSET = 2 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 18 FXFONT_SHIFTJIS_CHARSET = 128 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 19 FXFONT_HANGEUL_CHARSET = 129 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 20 FXFONT_GB2312_CHARSET = 134 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 21 FXFONT_CHINESEBIG5_CHARSET = 136 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 22 FXFONT_GREEK_CHARSET = 161 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 23 FXFONT_VIETNAMESE_CHARSET = 163 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 24 FXFONT_HEBREW_CHARSET = 177 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 25 FXFONT_ARABIC_CHARSET = 178 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 26 FXFONT_CYRILLIC_CHARSET = 204 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 27 FXFONT_THAI_CHARSET = 222 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 28 FXFONT_EASTERNEUROPEAN_CHARSET = 238 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 31 FXFONT_FF_FIXEDPITCH = (1 << 0) + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 32 FXFONT_FF_ROMAN = (1 << 4) + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 33 FXFONT_FF_SCRIPT = (4 << 4) + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 36 FXFONT_FW_NORMAL = 400 + +# ./data/bindings/headers/fpdf_sysfontinfo.h: 37 FXFONT_FW_BOLD = 700 + +# ./data/bindings/headers/fpdf_text.h: 485 FPDF_MATCHCASE = 0x00000001 + +# ./data/bindings/headers/fpdf_text.h: 487 FPDF_MATCHWHOLEWORD = 0x00000002 + +# ./data/bindings/headers/fpdf_text.h: 489 FPDF_CONSECUTIVE = 0x00000004 + +# ./data/bindings/headers/fpdf_edit.h: 93 FPDF_IMAGEOBJ_METADATA = struct_FPDF_IMAGEOBJ_METADATA -# No inserted files +# -- End header members -- diff --git a/autorelease/record.json b/autorelease/record.json index e0b3779cc..ecc9527eb 100644 --- a/autorelease/record.json +++ b/autorelease/record.json @@ -1,4 +1,4 @@ { - "pdfium": 6164, - "tag": "4.25.0" + "pdfium": 6233, + "tag": "4.26.0" } \ No newline at end of file diff --git a/docs/devel/changelog.md b/docs/devel/changelog.md index ebd1ed86d..e75510461 100644 --- a/docs/devel/changelog.md +++ b/docs/devel/changelog.md @@ -7,6 +7,12 @@ # Changelog +## 4.26.0 (2024-01-10) + +- Updated PDFium from `6164` to `6233`. +- Pin ctypesgen in sdist to prevent reoccurrence of {issue}`264` / {issue}`286`. As a drawback, the pin is never committed, so the sdist is not simply reproducible at this time due to dependence on the latest commit hash of the ctypesgen fork at build time. + + ## 4.25.0 (2023-12-10) - Updated PDFium from `6110` to `6164`. diff --git a/docs/devel/changelog_staging.md b/docs/devel/changelog_staging.md index 6e5b44be6..d15b83b2a 100644 --- a/docs/devel/changelog_staging.md +++ b/docs/devel/changelog_staging.md @@ -4,4 +4,3 @@ # Changelog for next release -- Pin ctypesgen in sdist to prevent reoccurrence of {issue}`264` / {issue}`286`. As a drawback, the pin is never committed, so the sdist is not simply reproducible at this time due to dependence on the latest commit hash of the ctypesgen fork at build time.