bindings.py 141 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434
  1. R"""
  2. Auto-generated by:
  3. ctypesgen -l pdfium --rt-libpaths './{prefix}{name}.{suffix}' --no-system-libsearch --no-load-library --no-macro-guards --no-symbol-guards --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'
  4. """
  5. import ctypes
  6. from ctypes import *
  7. # -- Begin library loader --
  8. import sys
  9. import ctypes
  10. import ctypes.util
  11. import os.path
  12. import pathlib
  13. if sys.platform.startswith(("win32", "cygwin", "msys")):
  14. _LIB_PREFIX, _LIB_SUFFIX = "", "dll"
  15. elif sys.platform.startswith(("darwin", "ios")):
  16. _LIB_PREFIX, _LIB_SUFFIX = "lib", "dylib"
  17. else: # assume unix-like naming pattern
  18. _LIB_PREFIX, _LIB_SUFFIX = "lib", "so"
  19. def _get_library(name, dllclass, libpaths, search_sys):
  20. for lpath in libpaths:
  21. if os.path.dirname(lpath):
  22. lpath = pathlib.Path(lpath)
  23. if not lpath.is_absolute():
  24. lpath = (pathlib.Path(__file__).parent / lpath).resolve(strict=False)
  25. lpath = lpath.parent / lpath.name.format(prefix=_LIB_PREFIX, name=name, suffix=_LIB_SUFFIX)
  26. if lpath.exists():
  27. return dllclass(str(lpath))
  28. else:
  29. try:
  30. return dllclass(lpath)
  31. except OSError:
  32. pass
  33. lpath = ctypes.util.find_library(name) if search_sys else None
  34. if not lpath:
  35. raise ImportError(f"Could not find library {name!r} (libpaths={libpaths}, search_sys={search_sys})")
  36. return dllclass(lpath)
  37. _libs = {}
  38. # -- End library loader --
  39. # -- Begin templates --
  40. # AOTW, ctypes does not support non-primitive result types in callbacks,
  41. # so we remap custom pointer types to unchecked c_void_p.
  42. def UNCHECKED(t):
  43. if hasattr(t, "_type_") and not isinstance(t._type_, str):
  44. return ctypes.c_void_p
  45. else:
  46. return t
  47. # -- End templates --
  48. # Load library 'pdfium'
  49. _libs['pdfium'] = _get_library(
  50. name = 'pdfium',
  51. dllclass = ctypes.CDLL,
  52. libpaths = ('./{prefix}{name}.{suffix}',),
  53. search_sys = False,
  54. )
  55. # -- Begin header members --
  56. # ./fpdfview.h: 59
  57. enum_anon_2 = c_int
  58. # ./fpdfview.h: 59
  59. FPDF_TEXTRENDERMODE_UNKNOWN = (-1)
  60. # ./fpdfview.h: 59
  61. FPDF_TEXTRENDERMODE_FILL = 0
  62. # ./fpdfview.h: 59
  63. FPDF_TEXTRENDERMODE_STROKE = 1
  64. # ./fpdfview.h: 59
  65. FPDF_TEXTRENDERMODE_FILL_STROKE = 2
  66. # ./fpdfview.h: 59
  67. FPDF_TEXTRENDERMODE_INVISIBLE = 3
  68. # ./fpdfview.h: 59
  69. FPDF_TEXTRENDERMODE_FILL_CLIP = 4
  70. # ./fpdfview.h: 59
  71. FPDF_TEXTRENDERMODE_STROKE_CLIP = 5
  72. # ./fpdfview.h: 59
  73. FPDF_TEXTRENDERMODE_FILL_STROKE_CLIP = 6
  74. # ./fpdfview.h: 59
  75. FPDF_TEXTRENDERMODE_CLIP = 7
  76. # ./fpdfview.h: 59
  77. FPDF_TEXTRENDERMODE_LAST = FPDF_TEXTRENDERMODE_CLIP
  78. # ./fpdfview.h: 59
  79. FPDF_TEXT_RENDERMODE = enum_anon_2
  80. # ./fpdfview.h: 62
  81. class struct_fpdf_action_t__ (Structure):
  82. pass
  83. # ./fpdfview.h: 62
  84. FPDF_ACTION = POINTER(struct_fpdf_action_t__)
  85. # ./fpdfview.h: 63
  86. class struct_fpdf_annotation_t__ (Structure):
  87. pass
  88. # ./fpdfview.h: 63
  89. FPDF_ANNOTATION = POINTER(struct_fpdf_annotation_t__)
  90. # ./fpdfview.h: 64
  91. class struct_fpdf_attachment_t__ (Structure):
  92. pass
  93. # ./fpdfview.h: 64
  94. FPDF_ATTACHMENT = POINTER(struct_fpdf_attachment_t__)
  95. # ./fpdfview.h: 65
  96. class struct_fpdf_avail_t__ (Structure):
  97. pass
  98. # ./fpdfview.h: 65
  99. FPDF_AVAIL = POINTER(struct_fpdf_avail_t__)
  100. # ./fpdfview.h: 66
  101. class struct_fpdf_bitmap_t__ (Structure):
  102. pass
  103. # ./fpdfview.h: 66
  104. FPDF_BITMAP = POINTER(struct_fpdf_bitmap_t__)
  105. # ./fpdfview.h: 67
  106. class struct_fpdf_bookmark_t__ (Structure):
  107. pass
  108. # ./fpdfview.h: 67
  109. FPDF_BOOKMARK = POINTER(struct_fpdf_bookmark_t__)
  110. # ./fpdfview.h: 68
  111. class struct_fpdf_clippath_t__ (Structure):
  112. pass
  113. # ./fpdfview.h: 68
  114. FPDF_CLIPPATH = POINTER(struct_fpdf_clippath_t__)
  115. # ./fpdfview.h: 69
  116. class struct_fpdf_dest_t__ (Structure):
  117. pass
  118. # ./fpdfview.h: 69
  119. FPDF_DEST = POINTER(struct_fpdf_dest_t__)
  120. # ./fpdfview.h: 70
  121. class struct_fpdf_document_t__ (Structure):
  122. pass
  123. # ./fpdfview.h: 70
  124. FPDF_DOCUMENT = POINTER(struct_fpdf_document_t__)
  125. # ./fpdfview.h: 71
  126. class struct_fpdf_font_t__ (Structure):
  127. pass
  128. # ./fpdfview.h: 71
  129. FPDF_FONT = POINTER(struct_fpdf_font_t__)
  130. # ./fpdfview.h: 72
  131. class struct_fpdf_form_handle_t__ (Structure):
  132. pass
  133. # ./fpdfview.h: 72
  134. FPDF_FORMHANDLE = POINTER(struct_fpdf_form_handle_t__)
  135. # ./fpdfview.h: 73
  136. class struct_fpdf_glyphpath_t__ (Structure):
  137. pass
  138. # ./fpdfview.h: 73
  139. FPDF_GLYPHPATH = POINTER(struct_fpdf_glyphpath_t__)
  140. # ./fpdfview.h: 74
  141. class struct_fpdf_javascript_action_t (Structure):
  142. pass
  143. # ./fpdfview.h: 74
  144. FPDF_JAVASCRIPT_ACTION = POINTER(struct_fpdf_javascript_action_t)
  145. # ./fpdfview.h: 75
  146. class struct_fpdf_link_t__ (Structure):
  147. pass
  148. # ./fpdfview.h: 75
  149. FPDF_LINK = POINTER(struct_fpdf_link_t__)
  150. # ./fpdfview.h: 76
  151. class struct_fpdf_page_t__ (Structure):
  152. pass
  153. # ./fpdfview.h: 76
  154. FPDF_PAGE = POINTER(struct_fpdf_page_t__)
  155. # ./fpdfview.h: 77
  156. class struct_fpdf_pagelink_t__ (Structure):
  157. pass
  158. # ./fpdfview.h: 77
  159. FPDF_PAGELINK = POINTER(struct_fpdf_pagelink_t__)
  160. # ./fpdfview.h: 78
  161. class struct_fpdf_pageobject_t__ (Structure):
  162. pass
  163. # ./fpdfview.h: 78
  164. FPDF_PAGEOBJECT = POINTER(struct_fpdf_pageobject_t__)
  165. # ./fpdfview.h: 79
  166. class struct_fpdf_pageobjectmark_t__ (Structure):
  167. pass
  168. # ./fpdfview.h: 79
  169. FPDF_PAGEOBJECTMARK = POINTER(struct_fpdf_pageobjectmark_t__)
  170. # ./fpdfview.h: 80
  171. class struct_fpdf_pagerange_t__ (Structure):
  172. pass
  173. # ./fpdfview.h: 80
  174. FPDF_PAGERANGE = POINTER(struct_fpdf_pagerange_t__)
  175. # ./fpdfview.h: 81
  176. class struct_fpdf_pathsegment_t (Structure):
  177. pass
  178. # ./fpdfview.h: 81
  179. FPDF_PATHSEGMENT = POINTER(struct_fpdf_pathsegment_t)
  180. # ./fpdfview.h: 82
  181. class struct_fpdf_schhandle_t__ (Structure):
  182. pass
  183. # ./fpdfview.h: 82
  184. FPDF_SCHHANDLE = POINTER(struct_fpdf_schhandle_t__)
  185. # ./fpdfview.h: 83
  186. class struct_fpdf_signature_t__ (Structure):
  187. pass
  188. # ./fpdfview.h: 83
  189. FPDF_SIGNATURE = POINTER(struct_fpdf_signature_t__)
  190. # ./fpdfview.h: 84
  191. FPDF_SKIA_CANVAS = POINTER(None)
  192. # ./fpdfview.h: 85
  193. class struct_fpdf_structelement_t__ (Structure):
  194. pass
  195. # ./fpdfview.h: 85
  196. FPDF_STRUCTELEMENT = POINTER(struct_fpdf_structelement_t__)
  197. # ./fpdfview.h: 86
  198. class struct_fpdf_structelement_attr_t__ (Structure):
  199. pass
  200. # ./fpdfview.h: 86
  201. FPDF_STRUCTELEMENT_ATTR = POINTER(struct_fpdf_structelement_attr_t__)
  202. # ./fpdfview.h: 87
  203. class struct_fpdf_structelement_attr_value_t__ (Structure):
  204. pass
  205. # ./fpdfview.h: 87
  206. FPDF_STRUCTELEMENT_ATTR_VALUE = POINTER(struct_fpdf_structelement_attr_value_t__)
  207. # ./fpdfview.h: 89
  208. class struct_fpdf_structtree_t__ (Structure):
  209. pass
  210. # ./fpdfview.h: 89
  211. FPDF_STRUCTTREE = POINTER(struct_fpdf_structtree_t__)
  212. # ./fpdfview.h: 90
  213. class struct_fpdf_textpage_t__ (Structure):
  214. pass
  215. # ./fpdfview.h: 90
  216. FPDF_TEXTPAGE = POINTER(struct_fpdf_textpage_t__)
  217. # ./fpdfview.h: 91
  218. class struct_fpdf_widget_t__ (Structure):
  219. pass
  220. # ./fpdfview.h: 91
  221. FPDF_WIDGET = POINTER(struct_fpdf_widget_t__)
  222. # ./fpdfview.h: 92
  223. class struct_fpdf_xobject_t__ (Structure):
  224. pass
  225. # ./fpdfview.h: 92
  226. FPDF_XOBJECT = POINTER(struct_fpdf_xobject_t__)
  227. # ./fpdfview.h: 95
  228. FPDF_BOOL = c_int
  229. # ./fpdfview.h: 96
  230. FPDF_RESULT = c_int
  231. # ./fpdfview.h: 97
  232. FPDF_DWORD = c_ulong
  233. # ./fpdfview.h: 98
  234. FS_FLOAT = c_float
  235. # ./fpdfview.h: 106
  236. enum__FPDF_DUPLEXTYPE_ = c_int
  237. # ./fpdfview.h: 106
  238. DuplexUndefined = 0
  239. # ./fpdfview.h: 106
  240. Simplex = (DuplexUndefined + 1)
  241. # ./fpdfview.h: 106
  242. DuplexFlipShortEdge = (Simplex + 1)
  243. # ./fpdfview.h: 106
  244. DuplexFlipLongEdge = (DuplexFlipShortEdge + 1)
  245. # ./fpdfview.h: 106
  246. FPDF_DUPLEXTYPE = enum__FPDF_DUPLEXTYPE_
  247. # ./fpdfview.h: 109
  248. FPDF_WCHAR = c_ushort
  249. # ./fpdfview.h: 115
  250. FPDF_BYTESTRING = POINTER(c_char)
  251. # ./fpdfview.h: 119
  252. FPDF_WIDESTRING = POINTER(FPDF_WCHAR)
  253. # ./fpdfview.h: 127
  254. class struct_FPDF_BSTR_ (Structure):
  255. __slots__ = ('str', 'len')
  256. struct_FPDF_BSTR_._fields_ = (
  257. ('str', POINTER(c_char)),
  258. ('len', c_int),
  259. )
  260. # ./fpdfview.h: 127
  261. FPDF_BSTR = struct_FPDF_BSTR_
  262. # ./fpdfview.h: 136
  263. FPDF_STRING = POINTER(c_char)
  264. # ./fpdfview.h: 153
  265. class struct__FS_MATRIX_ (Structure):
  266. __slots__ = ('a', 'b', 'c', 'd', 'e', 'f')
  267. struct__FS_MATRIX_._fields_ = (
  268. ('a', c_float),
  269. ('b', c_float),
  270. ('c', c_float),
  271. ('d', c_float),
  272. ('e', c_float),
  273. ('f', c_float),
  274. )
  275. # ./fpdfview.h: 153
  276. FS_MATRIX = struct__FS_MATRIX_
  277. # ./fpdfview.h: 156
  278. class struct__FS_RECTF_ (Structure):
  279. __slots__ = ('left', 'top', 'right', 'bottom')
  280. struct__FS_RECTF_._fields_ = (
  281. ('left', c_float),
  282. ('top', c_float),
  283. ('right', c_float),
  284. ('bottom', c_float),
  285. )
  286. # ./fpdfview.h: 165
  287. FS_LPRECTF = POINTER(struct__FS_RECTF_)
  288. # ./fpdfview.h: 165
  289. FS_RECTF = struct__FS_RECTF_
  290. # ./fpdfview.h: 168
  291. FS_LPCRECTF = POINTER(FS_RECTF)
  292. # ./fpdfview.h: 171
  293. class struct_FS_SIZEF_ (Structure):
  294. __slots__ = ('width', 'height')
  295. struct_FS_SIZEF_._fields_ = (
  296. ('width', c_float),
  297. ('height', c_float),
  298. )
  299. # ./fpdfview.h: 174
  300. FS_LPSIZEF = POINTER(struct_FS_SIZEF_)
  301. # ./fpdfview.h: 174
  302. FS_SIZEF = struct_FS_SIZEF_
  303. # ./fpdfview.h: 177
  304. FS_LPCSIZEF = POINTER(FS_SIZEF)
  305. # ./fpdfview.h: 180
  306. class struct_FS_POINTF_ (Structure):
  307. __slots__ = ('x', 'y')
  308. struct_FS_POINTF_._fields_ = (
  309. ('x', c_float),
  310. ('y', c_float),
  311. )
  312. # ./fpdfview.h: 183
  313. FS_LPPOINTF = POINTER(struct_FS_POINTF_)
  314. # ./fpdfview.h: 183
  315. FS_POINTF = struct_FS_POINTF_
  316. # ./fpdfview.h: 186
  317. FS_LPCPOINTF = POINTER(FS_POINTF)
  318. # ./fpdfview.h: 197
  319. class struct__FS_QUADPOINTSF (Structure):
  320. __slots__ = ('x1', 'y1', 'x2', 'y2', 'x3', 'y3', 'x4', 'y4')
  321. struct__FS_QUADPOINTSF._fields_ = (
  322. ('x1', FS_FLOAT),
  323. ('y1', FS_FLOAT),
  324. ('x2', FS_FLOAT),
  325. ('y2', FS_FLOAT),
  326. ('x3', FS_FLOAT),
  327. ('y3', FS_FLOAT),
  328. ('x4', FS_FLOAT),
  329. ('y4', FS_FLOAT),
  330. )
  331. # ./fpdfview.h: 197
  332. FS_QUADPOINTSF = struct__FS_QUADPOINTSF
  333. # ./fpdfview.h: 200
  334. FPDF_ANNOTATION_SUBTYPE = c_int
  335. # ./fpdfview.h: 201
  336. FPDF_ANNOT_APPEARANCEMODE = c_int
  337. # ./fpdfview.h: 204
  338. FPDF_OBJECT_TYPE = c_int
  339. # ./fpdfview.h: 244
  340. enum_anon_3 = c_int
  341. # ./fpdfview.h: 244
  342. FPDF_RENDERERTYPE_AGG = 0
  343. # ./fpdfview.h: 244
  344. FPDF_RENDERERTYPE_SKIA = 1
  345. # ./fpdfview.h: 244
  346. FPDF_RENDERER_TYPE = enum_anon_3
  347. # ./fpdfview.h: 283
  348. class struct_FPDF_LIBRARY_CONFIG_ (Structure):
  349. __slots__ = ('version', 'm_pUserFontPaths', 'm_pIsolate', 'm_v8EmbedderSlot', 'm_pPlatform', 'm_RendererType')
  350. struct_FPDF_LIBRARY_CONFIG_._fields_ = (
  351. ('version', c_int),
  352. ('m_pUserFontPaths', POINTER(POINTER(c_char))),
  353. ('m_pIsolate', POINTER(None)),
  354. ('m_v8EmbedderSlot', c_uint),
  355. ('m_pPlatform', POINTER(None)),
  356. ('m_RendererType', FPDF_RENDERER_TYPE),
  357. )
  358. # ./fpdfview.h: 283
  359. FPDF_LIBRARY_CONFIG = struct_FPDF_LIBRARY_CONFIG_
  360. # ./fpdfview.h: 295
  361. FPDF_InitLibraryWithConfig = _libs['pdfium']['FPDF_InitLibraryWithConfig']
  362. FPDF_InitLibraryWithConfig.argtypes = (POINTER(FPDF_LIBRARY_CONFIG), )
  363. FPDF_InitLibraryWithConfig.restype = None
  364. # ./fpdfview.h: 308
  365. FPDF_InitLibrary = _libs['pdfium']['FPDF_InitLibrary']
  366. FPDF_InitLibrary.argtypes = ()
  367. FPDF_InitLibrary.restype = None
  368. # ./fpdfview.h: 324
  369. FPDF_DestroyLibrary = _libs['pdfium']['FPDF_DestroyLibrary']
  370. FPDF_DestroyLibrary.argtypes = ()
  371. FPDF_DestroyLibrary.restype = None
  372. # ./fpdfview.h: 337
  373. FPDF_SetSandBoxPolicy = _libs['pdfium']['FPDF_SetSandBoxPolicy']
  374. FPDF_SetSandBoxPolicy.argtypes = (FPDF_DWORD, FPDF_BOOL)
  375. FPDF_SetSandBoxPolicy.restype = None
  376. # ./fpdfview.h: 391
  377. FPDF_LoadDocument = _libs['pdfium']['FPDF_LoadDocument']
  378. FPDF_LoadDocument.argtypes = (FPDF_STRING, FPDF_BYTESTRING)
  379. FPDF_LoadDocument.restype = FPDF_DOCUMENT
  380. # ./fpdfview.h: 415
  381. FPDF_LoadMemDocument = _libs['pdfium']['FPDF_LoadMemDocument']
  382. FPDF_LoadMemDocument.argtypes = (POINTER(None), c_int, FPDF_BYTESTRING)
  383. FPDF_LoadMemDocument.restype = FPDF_DOCUMENT
  384. # ./fpdfview.h: 440
  385. FPDF_LoadMemDocument64 = _libs['pdfium']['FPDF_LoadMemDocument64']
  386. FPDF_LoadMemDocument64.argtypes = (POINTER(None), c_size_t, FPDF_BYTESTRING)
  387. FPDF_LoadMemDocument64.restype = FPDF_DOCUMENT
  388. # ./fpdfview.h: 464
  389. class struct_anon_4 (Structure):
  390. __slots__ = ('m_FileLen', 'm_GetBlock', 'm_Param')
  391. struct_anon_4._fields_ = (
  392. ('m_FileLen', c_ulong),
  393. ('m_GetBlock', CFUNCTYPE(UNCHECKED(c_int), POINTER(None), c_ulong, POINTER(c_ubyte), c_ulong)),
  394. ('m_Param', POINTER(None)),
  395. )
  396. # ./fpdfview.h: 464
  397. FPDF_FILEACCESS = struct_anon_4
  398. # ./fpdfview.h: 544
  399. class struct_FPDF_FILEHANDLER_ (Structure):
  400. __slots__ = ('clientData', 'Release', 'GetSize', 'ReadBlock', 'WriteBlock', 'Flush', 'Truncate')
  401. struct_FPDF_FILEHANDLER_._fields_ = (
  402. ('clientData', POINTER(None)),
  403. ('Release', CFUNCTYPE(UNCHECKED(None), POINTER(None))),
  404. ('GetSize', CFUNCTYPE(UNCHECKED(FPDF_DWORD), POINTER(None))),
  405. ('ReadBlock', CFUNCTYPE(UNCHECKED(FPDF_RESULT), POINTER(None), FPDF_DWORD, POINTER(None), FPDF_DWORD)),
  406. ('WriteBlock', CFUNCTYPE(UNCHECKED(FPDF_RESULT), POINTER(None), FPDF_DWORD, POINTER(None), FPDF_DWORD)),
  407. ('Flush', CFUNCTYPE(UNCHECKED(FPDF_RESULT), POINTER(None))),
  408. ('Truncate', CFUNCTYPE(UNCHECKED(FPDF_RESULT), POINTER(None), FPDF_DWORD)),
  409. )
  410. # ./fpdfview.h: 544
  411. FPDF_FILEHANDLER = struct_FPDF_FILEHANDLER_
  412. # ./fpdfview.h: 567
  413. FPDF_LoadCustomDocument = _libs['pdfium']['FPDF_LoadCustomDocument']
  414. FPDF_LoadCustomDocument.argtypes = (POINTER(FPDF_FILEACCESS), FPDF_BYTESTRING)
  415. FPDF_LoadCustomDocument.restype = FPDF_DOCUMENT
  416. # ./fpdfview.h: 580
  417. FPDF_GetFileVersion = _libs['pdfium']['FPDF_GetFileVersion']
  418. FPDF_GetFileVersion.argtypes = (FPDF_DOCUMENT, POINTER(c_int))
  419. FPDF_GetFileVersion.restype = FPDF_BOOL
  420. # ./fpdfview.h: 605
  421. FPDF_GetLastError = _libs['pdfium']['FPDF_GetLastError']
  422. FPDF_GetLastError.argtypes = ()
  423. FPDF_GetLastError.restype = c_ulong
  424. # ./fpdfview.h: 620
  425. FPDF_DocumentHasValidCrossReferenceTable = _libs['pdfium']['FPDF_DocumentHasValidCrossReferenceTable']
  426. FPDF_DocumentHasValidCrossReferenceTable.argtypes = (FPDF_DOCUMENT, )
  427. FPDF_DocumentHasValidCrossReferenceTable.restype = FPDF_BOOL
  428. # ./fpdfview.h: 637
  429. FPDF_GetTrailerEnds = _libs['pdfium']['FPDF_GetTrailerEnds']
  430. FPDF_GetTrailerEnds.argtypes = (FPDF_DOCUMENT, POINTER(c_uint), c_ulong)
  431. FPDF_GetTrailerEnds.restype = c_ulong
  432. # ./fpdfview.h: 650
  433. FPDF_GetDocPermissions = _libs['pdfium']['FPDF_GetDocPermissions']
  434. FPDF_GetDocPermissions.argtypes = (FPDF_DOCUMENT, )
  435. FPDF_GetDocPermissions.restype = c_ulong
  436. # ./fpdfview.h: 662
  437. FPDF_GetDocUserPermissions = _libs['pdfium']['FPDF_GetDocUserPermissions']
  438. FPDF_GetDocUserPermissions.argtypes = (FPDF_DOCUMENT, )
  439. FPDF_GetDocUserPermissions.restype = c_ulong
  440. # ./fpdfview.h: 673
  441. FPDF_GetSecurityHandlerRevision = _libs['pdfium']['FPDF_GetSecurityHandlerRevision']
  442. FPDF_GetSecurityHandlerRevision.argtypes = (FPDF_DOCUMENT, )
  443. FPDF_GetSecurityHandlerRevision.restype = c_int
  444. # ./fpdfview.h: 681
  445. FPDF_GetPageCount = _libs['pdfium']['FPDF_GetPageCount']
  446. FPDF_GetPageCount.argtypes = (FPDF_DOCUMENT, )
  447. FPDF_GetPageCount.restype = c_int
  448. # ./fpdfview.h: 693
  449. FPDF_LoadPage = _libs['pdfium']['FPDF_LoadPage']
  450. FPDF_LoadPage.argtypes = (FPDF_DOCUMENT, c_int)
  451. FPDF_LoadPage.restype = FPDF_PAGE
  452. # ./fpdfview.h: 706
  453. FPDF_GetPageWidthF = _libs['pdfium']['FPDF_GetPageWidthF']
  454. FPDF_GetPageWidthF.argtypes = (FPDF_PAGE, )
  455. FPDF_GetPageWidthF.restype = c_float
  456. # ./fpdfview.h: 720
  457. FPDF_GetPageWidth = _libs['pdfium']['FPDF_GetPageWidth']
  458. FPDF_GetPageWidth.argtypes = (FPDF_PAGE, )
  459. FPDF_GetPageWidth.restype = c_double
  460. # ./fpdfview.h: 732
  461. FPDF_GetPageHeightF = _libs['pdfium']['FPDF_GetPageHeightF']
  462. FPDF_GetPageHeightF.argtypes = (FPDF_PAGE, )
  463. FPDF_GetPageHeightF.restype = c_float
  464. # ./fpdfview.h: 746
  465. FPDF_GetPageHeight = _libs['pdfium']['FPDF_GetPageHeight']
  466. FPDF_GetPageHeight.argtypes = (FPDF_PAGE, )
  467. FPDF_GetPageHeight.restype = c_double
  468. # ./fpdfview.h: 758
  469. FPDF_GetPageBoundingBox = _libs['pdfium']['FPDF_GetPageBoundingBox']
  470. FPDF_GetPageBoundingBox.argtypes = (FPDF_PAGE, POINTER(FS_RECTF))
  471. FPDF_GetPageBoundingBox.restype = FPDF_BOOL
  472. # ./fpdfview.h: 772
  473. FPDF_GetPageSizeByIndexF = _libs['pdfium']['FPDF_GetPageSizeByIndexF']
  474. FPDF_GetPageSizeByIndexF.argtypes = (FPDF_DOCUMENT, c_int, POINTER(FS_SIZEF))
  475. FPDF_GetPageSizeByIndexF.restype = FPDF_BOOL
  476. # ./fpdfview.h: 790
  477. FPDF_GetPageSizeByIndex = _libs['pdfium']['FPDF_GetPageSizeByIndex']
  478. FPDF_GetPageSizeByIndex.argtypes = (FPDF_DOCUMENT, c_int, POINTER(c_double), POINTER(c_double))
  479. FPDF_GetPageSizeByIndex.restype = c_int
  480. # ./fpdfview.h: 824
  481. class struct_FPDF_COLORSCHEME_ (Structure):
  482. __slots__ = ('path_fill_color', 'path_stroke_color', 'text_fill_color', 'text_stroke_color')
  483. struct_FPDF_COLORSCHEME_._fields_ = (
  484. ('path_fill_color', FPDF_DWORD),
  485. ('path_stroke_color', FPDF_DWORD),
  486. ('text_fill_color', FPDF_DWORD),
  487. ('text_stroke_color', FPDF_DWORD),
  488. )
  489. # ./fpdfview.h: 824
  490. FPDF_COLORSCHEME = struct_FPDF_COLORSCHEME_
  491. # ./fpdfview.h: 899
  492. FPDF_RenderPageBitmap = _libs['pdfium']['FPDF_RenderPageBitmap']
  493. FPDF_RenderPageBitmap.argtypes = (FPDF_BITMAP, FPDF_PAGE, c_int, c_int, c_int, c_int, c_int, c_int)
  494. FPDF_RenderPageBitmap.restype = None
  495. # ./fpdfview.h: 927
  496. FPDF_RenderPageBitmapWithMatrix = _libs['pdfium']['FPDF_RenderPageBitmapWithMatrix']
  497. FPDF_RenderPageBitmapWithMatrix.argtypes = (FPDF_BITMAP, FPDF_PAGE, POINTER(FS_MATRIX), POINTER(FS_RECTF), c_int)
  498. FPDF_RenderPageBitmapWithMatrix.restype = None
  499. # ./fpdfview.h: 956
  500. FPDF_ClosePage = _libs['pdfium']['FPDF_ClosePage']
  501. FPDF_ClosePage.argtypes = (FPDF_PAGE, )
  502. FPDF_ClosePage.restype = None
  503. # ./fpdfview.h: 964
  504. FPDF_CloseDocument = _libs['pdfium']['FPDF_CloseDocument']
  505. FPDF_CloseDocument.argtypes = (FPDF_DOCUMENT, )
  506. FPDF_CloseDocument.restype = None
  507. # ./fpdfview.h: 1007
  508. FPDF_DeviceToPage = _libs['pdfium']['FPDF_DeviceToPage']
  509. 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))
  510. FPDF_DeviceToPage.restype = FPDF_BOOL
  511. # ./fpdfview.h: 1044
  512. FPDF_PageToDevice = _libs['pdfium']['FPDF_PageToDevice']
  513. 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))
  514. FPDF_PageToDevice.restype = FPDF_BOOL
  515. # ./fpdfview.h: 1085
  516. FPDFBitmap_Create = _libs['pdfium']['FPDFBitmap_Create']
  517. FPDFBitmap_Create.argtypes = (c_int, c_int, c_int)
  518. FPDFBitmap_Create.restype = FPDF_BITMAP
  519. # ./fpdfview.h: 1140
  520. FPDFBitmap_CreateEx = _libs['pdfium']['FPDFBitmap_CreateEx']
  521. FPDFBitmap_CreateEx.argtypes = (c_int, c_int, c_int, POINTER(None), c_int)
  522. FPDFBitmap_CreateEx.restype = FPDF_BITMAP
  523. # ./fpdfview.h: 1156
  524. FPDFBitmap_GetFormat = _libs['pdfium']['FPDFBitmap_GetFormat']
  525. FPDFBitmap_GetFormat.argtypes = (FPDF_BITMAP, )
  526. FPDFBitmap_GetFormat.restype = c_int
  527. # ./fpdfview.h: 1182
  528. FPDFBitmap_FillRect = _libs['pdfium']['FPDFBitmap_FillRect']
  529. FPDFBitmap_FillRect.argtypes = (FPDF_BITMAP, c_int, c_int, c_int, c_int, FPDF_DWORD)
  530. FPDFBitmap_FillRect.restype = FPDF_BOOL
  531. # ./fpdfview.h: 1204
  532. FPDFBitmap_GetBuffer = _libs['pdfium']['FPDFBitmap_GetBuffer']
  533. FPDFBitmap_GetBuffer.argtypes = (FPDF_BITMAP, )
  534. FPDFBitmap_GetBuffer.restype = POINTER(None)
  535. # ./fpdfview.h: 1213
  536. FPDFBitmap_GetWidth = _libs['pdfium']['FPDFBitmap_GetWidth']
  537. FPDFBitmap_GetWidth.argtypes = (FPDF_BITMAP, )
  538. FPDFBitmap_GetWidth.restype = c_int
  539. # ./fpdfview.h: 1222
  540. FPDFBitmap_GetHeight = _libs['pdfium']['FPDFBitmap_GetHeight']
  541. FPDFBitmap_GetHeight.argtypes = (FPDF_BITMAP, )
  542. FPDFBitmap_GetHeight.restype = c_int
  543. # ./fpdfview.h: 1233
  544. FPDFBitmap_GetStride = _libs['pdfium']['FPDFBitmap_GetStride']
  545. FPDFBitmap_GetStride.argtypes = (FPDF_BITMAP, )
  546. FPDFBitmap_GetStride.restype = c_int
  547. # ./fpdfview.h: 1245
  548. FPDFBitmap_Destroy = _libs['pdfium']['FPDFBitmap_Destroy']
  549. FPDFBitmap_Destroy.argtypes = (FPDF_BITMAP, )
  550. FPDFBitmap_Destroy.restype = None
  551. # ./fpdfview.h: 1254
  552. FPDF_VIEWERREF_GetPrintScaling = _libs['pdfium']['FPDF_VIEWERREF_GetPrintScaling']
  553. FPDF_VIEWERREF_GetPrintScaling.argtypes = (FPDF_DOCUMENT, )
  554. FPDF_VIEWERREF_GetPrintScaling.restype = FPDF_BOOL
  555. # ./fpdfview.h: 1263
  556. FPDF_VIEWERREF_GetNumCopies = _libs['pdfium']['FPDF_VIEWERREF_GetNumCopies']
  557. FPDF_VIEWERREF_GetNumCopies.argtypes = (FPDF_DOCUMENT, )
  558. FPDF_VIEWERREF_GetNumCopies.restype = c_int
  559. # ./fpdfview.h: 1272
  560. FPDF_VIEWERREF_GetPrintPageRange = _libs['pdfium']['FPDF_VIEWERREF_GetPrintPageRange']
  561. FPDF_VIEWERREF_GetPrintPageRange.argtypes = (FPDF_DOCUMENT, )
  562. FPDF_VIEWERREF_GetPrintPageRange.restype = FPDF_PAGERANGE
  563. # ./fpdfview.h: 1282
  564. FPDF_VIEWERREF_GetPrintPageRangeCount = _libs['pdfium']['FPDF_VIEWERREF_GetPrintPageRangeCount']
  565. FPDF_VIEWERREF_GetPrintPageRangeCount.argtypes = (FPDF_PAGERANGE, )
  566. FPDF_VIEWERREF_GetPrintPageRangeCount.restype = c_size_t
  567. # ./fpdfview.h: 1294
  568. FPDF_VIEWERREF_GetPrintPageRangeElement = _libs['pdfium']['FPDF_VIEWERREF_GetPrintPageRangeElement']
  569. FPDF_VIEWERREF_GetPrintPageRangeElement.argtypes = (FPDF_PAGERANGE, c_size_t)
  570. FPDF_VIEWERREF_GetPrintPageRangeElement.restype = c_int
  571. # ./fpdfview.h: 1304
  572. FPDF_VIEWERREF_GetDuplex = _libs['pdfium']['FPDF_VIEWERREF_GetDuplex']
  573. FPDF_VIEWERREF_GetDuplex.argtypes = (FPDF_DOCUMENT, )
  574. FPDF_VIEWERREF_GetDuplex.restype = FPDF_DUPLEXTYPE
  575. # ./fpdfview.h: 1322
  576. FPDF_VIEWERREF_GetName = _libs['pdfium']['FPDF_VIEWERREF_GetName']
  577. FPDF_VIEWERREF_GetName.argtypes = (FPDF_DOCUMENT, FPDF_BYTESTRING, POINTER(c_char), c_ulong)
  578. FPDF_VIEWERREF_GetName.restype = c_ulong
  579. # ./fpdfview.h: 1334
  580. FPDF_CountNamedDests = _libs['pdfium']['FPDF_CountNamedDests']
  581. FPDF_CountNamedDests.argtypes = (FPDF_DOCUMENT, )
  582. FPDF_CountNamedDests.restype = FPDF_DWORD
  583. # ./fpdfview.h: 1344
  584. FPDF_GetNamedDestByName = _libs['pdfium']['FPDF_GetNamedDestByName']
  585. FPDF_GetNamedDestByName.argtypes = (FPDF_DOCUMENT, FPDF_BYTESTRING)
  586. FPDF_GetNamedDestByName.restype = FPDF_DEST
  587. # ./fpdfview.h: 1367
  588. FPDF_GetNamedDest = _libs['pdfium']['FPDF_GetNamedDest']
  589. FPDF_GetNamedDest.argtypes = (FPDF_DOCUMENT, c_int, POINTER(None), POINTER(c_long))
  590. FPDF_GetNamedDest.restype = FPDF_DEST
  591. # ./fpdfview.h: 1379
  592. FPDF_GetXFAPacketCount = _libs['pdfium']['FPDF_GetXFAPacketCount']
  593. FPDF_GetXFAPacketCount.argtypes = (FPDF_DOCUMENT, )
  594. FPDF_GetXFAPacketCount.restype = c_int
  595. # ./fpdfview.h: 1397
  596. FPDF_GetXFAPacketName = _libs['pdfium']['FPDF_GetXFAPacketName']
  597. FPDF_GetXFAPacketName.argtypes = (FPDF_DOCUMENT, c_int, POINTER(None), c_ulong)
  598. FPDF_GetXFAPacketName.restype = c_ulong
  599. # ./fpdfview.h: 1424
  600. FPDF_GetXFAPacketContent = _libs['pdfium']['FPDF_GetXFAPacketContent']
  601. FPDF_GetXFAPacketContent.argtypes = (FPDF_DOCUMENT, c_int, POINTER(None), c_ulong, POINTER(c_ulong))
  602. FPDF_GetXFAPacketContent.restype = FPDF_BOOL
  603. # ./fpdf_formfill.h: 26
  604. class struct__IPDF_JsPlatform (Structure):
  605. __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')
  606. struct__IPDF_JsPlatform._fields_ = (
  607. ('version', c_int),
  608. ('app_alert', CFUNCTYPE(UNCHECKED(c_int), POINTER(struct__IPDF_JsPlatform), FPDF_WIDESTRING, FPDF_WIDESTRING, c_int, c_int)),
  609. ('app_beep', CFUNCTYPE(UNCHECKED(None), POINTER(struct__IPDF_JsPlatform), c_int)),
  610. ('app_response', CFUNCTYPE(UNCHECKED(c_int), POINTER(struct__IPDF_JsPlatform), FPDF_WIDESTRING, FPDF_WIDESTRING, FPDF_WIDESTRING, FPDF_WIDESTRING, FPDF_BOOL, POINTER(None), c_int)),
  611. ('Doc_getFilePath', CFUNCTYPE(UNCHECKED(c_int), POINTER(struct__IPDF_JsPlatform), POINTER(None), c_int)),
  612. ('Doc_mail', CFUNCTYPE(UNCHECKED(None), POINTER(struct__IPDF_JsPlatform), POINTER(None), c_int, FPDF_BOOL, FPDF_WIDESTRING, FPDF_WIDESTRING, FPDF_WIDESTRING, FPDF_WIDESTRING, FPDF_WIDESTRING)),
  613. ('Doc_print', CFUNCTYPE(UNCHECKED(None), POINTER(struct__IPDF_JsPlatform), FPDF_BOOL, c_int, c_int, FPDF_BOOL, FPDF_BOOL, FPDF_BOOL, FPDF_BOOL, FPDF_BOOL)),
  614. ('Doc_submitForm', CFUNCTYPE(UNCHECKED(None), POINTER(struct__IPDF_JsPlatform), POINTER(None), c_int, FPDF_WIDESTRING)),
  615. ('Doc_gotoPage', CFUNCTYPE(UNCHECKED(None), POINTER(struct__IPDF_JsPlatform), c_int)),
  616. ('Field_browse', CFUNCTYPE(UNCHECKED(c_int), POINTER(struct__IPDF_JsPlatform), POINTER(None), c_int)),
  617. ('m_pFormfillinfo', POINTER(None)),
  618. ('m_isolate', POINTER(None)),
  619. ('m_v8EmbedderSlot', c_uint),
  620. )
  621. # ./fpdf_formfill.h: 300
  622. IPDF_JSPLATFORM = struct__IPDF_JsPlatform
  623. # ./fpdf_formfill.h: 310
  624. TimerCallback = CFUNCTYPE(UNCHECKED(None), c_int)
  625. # ./fpdf_formfill.h: 322
  626. class struct__FPDF_SYSTEMTIME (Structure):
  627. __slots__ = ('wYear', 'wMonth', 'wDayOfWeek', 'wDay', 'wHour', 'wMinute', 'wSecond', 'wMilliseconds')
  628. struct__FPDF_SYSTEMTIME._fields_ = (
  629. ('wYear', c_ushort),
  630. ('wMonth', c_ushort),
  631. ('wDayOfWeek', c_ushort),
  632. ('wDay', c_ushort),
  633. ('wHour', c_ushort),
  634. ('wMinute', c_ushort),
  635. ('wSecond', c_ushort),
  636. ('wMilliseconds', c_ushort),
  637. )
  638. # ./fpdf_formfill.h: 322
  639. FPDF_SYSTEMTIME = struct__FPDF_SYSTEMTIME
  640. # ./fpdf_formfill.h: 350
  641. class struct__FPDF_FORMFILLINFO (Structure):
  642. __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')
  643. struct__FPDF_FORMFILLINFO._fields_ = (
  644. ('version', c_int),
  645. ('Release', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO))),
  646. ('FFI_Invalidate', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), FPDF_PAGE, c_double, c_double, c_double, c_double)),
  647. ('FFI_OutputSelectedRect', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), FPDF_PAGE, c_double, c_double, c_double, c_double)),
  648. ('FFI_SetCursor', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), c_int)),
  649. ('FFI_SetTimer', CFUNCTYPE(UNCHECKED(c_int), POINTER(struct__FPDF_FORMFILLINFO), c_int, TimerCallback)),
  650. ('FFI_KillTimer', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), c_int)),
  651. ('FFI_GetLocalTime', CFUNCTYPE(UNCHECKED(FPDF_SYSTEMTIME), POINTER(struct__FPDF_FORMFILLINFO))),
  652. ('FFI_OnChange', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO))),
  653. ('FFI_GetPage', CFUNCTYPE(UNCHECKED(FPDF_PAGE), POINTER(struct__FPDF_FORMFILLINFO), FPDF_DOCUMENT, c_int)),
  654. ('FFI_GetCurrentPage', CFUNCTYPE(UNCHECKED(FPDF_PAGE), POINTER(struct__FPDF_FORMFILLINFO), FPDF_DOCUMENT)),
  655. ('FFI_GetRotation', CFUNCTYPE(UNCHECKED(c_int), POINTER(struct__FPDF_FORMFILLINFO), FPDF_PAGE)),
  656. ('FFI_ExecuteNamedAction', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), FPDF_BYTESTRING)),
  657. ('FFI_SetTextFieldFocus', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), FPDF_WIDESTRING, FPDF_DWORD, FPDF_BOOL)),
  658. ('FFI_DoURIAction', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), FPDF_BYTESTRING)),
  659. ('FFI_DoGoToAction', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), c_int, c_int, POINTER(c_float), c_int)),
  660. ('m_pJsPlatform', POINTER(IPDF_JSPLATFORM)),
  661. ('xfa_disabled', FPDF_BOOL),
  662. ('FFI_DisplayCaret', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), FPDF_PAGE, FPDF_BOOL, c_double, c_double, c_double, c_double)),
  663. ('FFI_GetCurrentPageIndex', CFUNCTYPE(UNCHECKED(c_int), POINTER(struct__FPDF_FORMFILLINFO), FPDF_DOCUMENT)),
  664. ('FFI_SetCurrentPage', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), FPDF_DOCUMENT, c_int)),
  665. ('FFI_GotoURL', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), FPDF_DOCUMENT, FPDF_WIDESTRING)),
  666. ('FFI_GetPageViewRect', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), FPDF_PAGE, POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double))),
  667. ('FFI_PageEvent', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), c_int, FPDF_DWORD)),
  668. ('FFI_PopupMenu', CFUNCTYPE(UNCHECKED(FPDF_BOOL), POINTER(struct__FPDF_FORMFILLINFO), FPDF_PAGE, FPDF_WIDGET, c_int, c_float, c_float)),
  669. ('FFI_OpenFile', CFUNCTYPE(UNCHECKED(POINTER(FPDF_FILEHANDLER)), POINTER(struct__FPDF_FORMFILLINFO), c_int, FPDF_WIDESTRING, POINTER(c_char))),
  670. ('FFI_EmailTo', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), POINTER(FPDF_FILEHANDLER), FPDF_WIDESTRING, FPDF_WIDESTRING, FPDF_WIDESTRING, FPDF_WIDESTRING, FPDF_WIDESTRING)),
  671. ('FFI_UploadTo', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), POINTER(FPDF_FILEHANDLER), c_int, FPDF_WIDESTRING)),
  672. ('FFI_GetPlatform', CFUNCTYPE(UNCHECKED(c_int), POINTER(struct__FPDF_FORMFILLINFO), POINTER(None), c_int)),
  673. ('FFI_GetLanguage', CFUNCTYPE(UNCHECKED(c_int), POINTER(struct__FPDF_FORMFILLINFO), POINTER(None), c_int)),
  674. ('FFI_DownloadFromURL', CFUNCTYPE(UNCHECKED(POINTER(FPDF_FILEHANDLER)), POINTER(struct__FPDF_FORMFILLINFO), FPDF_WIDESTRING)),
  675. ('FFI_PostRequestURL', CFUNCTYPE(UNCHECKED(FPDF_BOOL), POINTER(struct__FPDF_FORMFILLINFO), FPDF_WIDESTRING, FPDF_WIDESTRING, FPDF_WIDESTRING, FPDF_WIDESTRING, FPDF_WIDESTRING, POINTER(FPDF_BSTR))),
  676. ('FFI_PutRequestURL', CFUNCTYPE(UNCHECKED(FPDF_BOOL), POINTER(struct__FPDF_FORMFILLINFO), FPDF_WIDESTRING, FPDF_WIDESTRING, FPDF_WIDESTRING)),
  677. ('FFI_OnFocusChange', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), FPDF_ANNOTATION, c_int)),
  678. ('FFI_DoURIActionWithKeyboardModifier', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_FORMFILLINFO), FPDF_BYTESTRING, c_int)),
  679. )
  680. # ./fpdf_formfill.h: 1044
  681. FPDF_FORMFILLINFO = struct__FPDF_FORMFILLINFO
  682. # ./fpdf_formfill.h: 1058
  683. FPDFDOC_InitFormFillEnvironment = _libs['pdfium']['FPDFDOC_InitFormFillEnvironment']
  684. FPDFDOC_InitFormFillEnvironment.argtypes = (FPDF_DOCUMENT, POINTER(FPDF_FORMFILLINFO))
  685. FPDFDOC_InitFormFillEnvironment.restype = FPDF_FORMHANDLE
  686. # ./fpdf_formfill.h: 1071
  687. FPDFDOC_ExitFormFillEnvironment = _libs['pdfium']['FPDFDOC_ExitFormFillEnvironment']
  688. FPDFDOC_ExitFormFillEnvironment.argtypes = (FPDF_FORMHANDLE, )
  689. FPDFDOC_ExitFormFillEnvironment.restype = None
  690. # ./fpdf_formfill.h: 1082
  691. FORM_OnAfterLoadPage = _libs['pdfium']['FORM_OnAfterLoadPage']
  692. FORM_OnAfterLoadPage.argtypes = (FPDF_PAGE, FPDF_FORMHANDLE)
  693. FORM_OnAfterLoadPage.restype = None
  694. # ./fpdf_formfill.h: 1094
  695. FORM_OnBeforeClosePage = _libs['pdfium']['FORM_OnBeforeClosePage']
  696. FORM_OnBeforeClosePage.argtypes = (FPDF_PAGE, FPDF_FORMHANDLE)
  697. FORM_OnBeforeClosePage.restype = None
  698. # ./fpdf_formfill.h: 1110
  699. FORM_DoDocumentJSAction = _libs['pdfium']['FORM_DoDocumentJSAction']
  700. FORM_DoDocumentJSAction.argtypes = (FPDF_FORMHANDLE, )
  701. FORM_DoDocumentJSAction.restype = None
  702. # ./fpdf_formfill.h: 1124
  703. FORM_DoDocumentOpenAction = _libs['pdfium']['FORM_DoDocumentOpenAction']
  704. FORM_DoDocumentOpenAction.argtypes = (FPDF_FORMHANDLE, )
  705. FORM_DoDocumentOpenAction.restype = None
  706. # ./fpdf_formfill.h: 1151
  707. FORM_DoDocumentAAction = _libs['pdfium']['FORM_DoDocumentAAction']
  708. FORM_DoDocumentAAction.argtypes = (FPDF_FORMHANDLE, c_int)
  709. FORM_DoDocumentAAction.restype = None
  710. # ./fpdf_formfill.h: 1174
  711. FORM_DoPageAAction = _libs['pdfium']['FORM_DoPageAAction']
  712. FORM_DoPageAAction.argtypes = (FPDF_PAGE, FPDF_FORMHANDLE, c_int)
  713. FORM_DoPageAAction.restype = None
  714. # ./fpdf_formfill.h: 1191
  715. FORM_OnMouseMove = _libs['pdfium']['FORM_OnMouseMove']
  716. FORM_OnMouseMove.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_double, c_double)
  717. FORM_OnMouseMove.restype = FPDF_BOOL
  718. # ./fpdf_formfill.h: 1220
  719. FORM_OnMouseWheel = _libs['pdfium']['FORM_OnMouseWheel']
  720. FORM_OnMouseWheel.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, c_int, POINTER(FS_POINTF), c_int, c_int)
  721. FORM_OnMouseWheel.restype = FPDF_BOOL
  722. # ./fpdf_formfill.h: 1243
  723. FORM_OnFocus = _libs['pdfium']['FORM_OnFocus']
  724. FORM_OnFocus.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_double, c_double)
  725. FORM_OnFocus.restype = FPDF_BOOL
  726. # ./fpdf_formfill.h: 1263
  727. FORM_OnLButtonDown = _libs['pdfium']['FORM_OnLButtonDown']
  728. FORM_OnLButtonDown.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_double, c_double)
  729. FORM_OnLButtonDown.restype = FPDF_BOOL
  730. # ./fpdf_formfill.h: 1274
  731. FORM_OnRButtonDown = _libs['pdfium']['FORM_OnRButtonDown']
  732. FORM_OnRButtonDown.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_double, c_double)
  733. FORM_OnRButtonDown.restype = FPDF_BOOL
  734. # ./fpdf_formfill.h: 1291
  735. FORM_OnLButtonUp = _libs['pdfium']['FORM_OnLButtonUp']
  736. FORM_OnLButtonUp.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_double, c_double)
  737. FORM_OnLButtonUp.restype = FPDF_BOOL
  738. # ./fpdf_formfill.h: 1302
  739. FORM_OnRButtonUp = _libs['pdfium']['FORM_OnRButtonUp']
  740. FORM_OnRButtonUp.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_double, c_double)
  741. FORM_OnRButtonUp.restype = FPDF_BOOL
  742. # ./fpdf_formfill.h: 1323
  743. FORM_OnLButtonDoubleClick = _libs['pdfium']['FORM_OnLButtonDoubleClick']
  744. FORM_OnLButtonDoubleClick.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_double, c_double)
  745. FORM_OnLButtonDoubleClick.restype = FPDF_BOOL
  746. # ./fpdf_formfill.h: 1341
  747. FORM_OnKeyDown = _libs['pdfium']['FORM_OnKeyDown']
  748. FORM_OnKeyDown.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_int)
  749. FORM_OnKeyDown.restype = FPDF_BOOL
  750. # ./fpdf_formfill.h: 1361
  751. FORM_OnKeyUp = _libs['pdfium']['FORM_OnKeyUp']
  752. FORM_OnKeyUp.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_int)
  753. FORM_OnKeyUp.restype = FPDF_BOOL
  754. # ./fpdf_formfill.h: 1378
  755. FORM_OnChar = _libs['pdfium']['FORM_OnChar']
  756. FORM_OnChar.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, c_int, c_int)
  757. FORM_OnChar.restype = FPDF_BOOL
  758. # ./fpdf_formfill.h: 1399
  759. FORM_GetFocusedText = _libs['pdfium']['FORM_GetFocusedText']
  760. FORM_GetFocusedText.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, POINTER(None), c_ulong)
  761. FORM_GetFocusedText.restype = c_ulong
  762. # ./fpdf_formfill.h: 1420
  763. FORM_GetSelectedText = _libs['pdfium']['FORM_GetSelectedText']
  764. FORM_GetSelectedText.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, POINTER(None), c_ulong)
  765. FORM_GetSelectedText.restype = c_ulong
  766. # ./fpdf_formfill.h: 1441
  767. FORM_ReplaceAndKeepSelection = _libs['pdfium']['FORM_ReplaceAndKeepSelection']
  768. FORM_ReplaceAndKeepSelection.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, FPDF_WIDESTRING)
  769. FORM_ReplaceAndKeepSelection.restype = None
  770. # ./fpdf_formfill.h: 1459
  771. FORM_ReplaceSelection = _libs['pdfium']['FORM_ReplaceSelection']
  772. FORM_ReplaceSelection.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, FPDF_WIDESTRING)
  773. FORM_ReplaceSelection.restype = None
  774. # ./fpdf_formfill.h: 1474
  775. FORM_SelectAllText = _libs['pdfium']['FORM_SelectAllText']
  776. FORM_SelectAllText.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE)
  777. FORM_SelectAllText.restype = FPDF_BOOL
  778. # ./fpdf_formfill.h: 1485
  779. FORM_CanUndo = _libs['pdfium']['FORM_CanUndo']
  780. FORM_CanUndo.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE)
  781. FORM_CanUndo.restype = FPDF_BOOL
  782. # ./fpdf_formfill.h: 1497
  783. FORM_CanRedo = _libs['pdfium']['FORM_CanRedo']
  784. FORM_CanRedo.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE)
  785. FORM_CanRedo.restype = FPDF_BOOL
  786. # ./fpdf_formfill.h: 1508
  787. FORM_Undo = _libs['pdfium']['FORM_Undo']
  788. FORM_Undo.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE)
  789. FORM_Undo.restype = FPDF_BOOL
  790. # ./fpdf_formfill.h: 1519
  791. FORM_Redo = _libs['pdfium']['FORM_Redo']
  792. FORM_Redo.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE)
  793. FORM_Redo.restype = FPDF_BOOL
  794. # ./fpdf_formfill.h: 1532
  795. FORM_ForceToKillFocus = _libs['pdfium']['FORM_ForceToKillFocus']
  796. FORM_ForceToKillFocus.argtypes = (FPDF_FORMHANDLE, )
  797. FORM_ForceToKillFocus.restype = FPDF_BOOL
  798. # ./fpdf_formfill.h: 1555
  799. FORM_GetFocusedAnnot = _libs['pdfium']['FORM_GetFocusedAnnot']
  800. FORM_GetFocusedAnnot.argtypes = (FPDF_FORMHANDLE, POINTER(c_int), POINTER(FPDF_ANNOTATION))
  801. FORM_GetFocusedAnnot.restype = FPDF_BOOL
  802. # ./fpdf_formfill.h: 1572
  803. FORM_SetFocusedAnnot = _libs['pdfium']['FORM_SetFocusedAnnot']
  804. FORM_SetFocusedAnnot.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION)
  805. FORM_SetFocusedAnnot.restype = FPDF_BOOL
  806. # ./fpdf_formfill.h: 1626
  807. FPDFPage_HasFormFieldAtPoint = _libs['pdfium']['FPDFPage_HasFormFieldAtPoint']
  808. FPDFPage_HasFormFieldAtPoint.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, c_double, c_double)
  809. FPDFPage_HasFormFieldAtPoint.restype = c_int
  810. # ./fpdf_formfill.h: 1643
  811. FPDFPage_FormFieldZOrderAtPoint = _libs['pdfium']['FPDFPage_FormFieldZOrderAtPoint']
  812. FPDFPage_FormFieldZOrderAtPoint.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, c_double, c_double)
  813. FPDFPage_FormFieldZOrderAtPoint.restype = c_int
  814. # ./fpdf_formfill.h: 1669
  815. FPDF_SetFormFieldHighlightColor = _libs['pdfium']['FPDF_SetFormFieldHighlightColor']
  816. FPDF_SetFormFieldHighlightColor.argtypes = (FPDF_FORMHANDLE, c_int, c_ulong)
  817. FPDF_SetFormFieldHighlightColor.restype = None
  818. # ./fpdf_formfill.h: 1686
  819. FPDF_SetFormFieldHighlightAlpha = _libs['pdfium']['FPDF_SetFormFieldHighlightAlpha']
  820. FPDF_SetFormFieldHighlightAlpha.argtypes = (FPDF_FORMHANDLE, c_ubyte)
  821. FPDF_SetFormFieldHighlightAlpha.restype = None
  822. # ./fpdf_formfill.h: 1699
  823. FPDF_RemoveFormFieldHighlight = _libs['pdfium']['FPDF_RemoveFormFieldHighlight']
  824. FPDF_RemoveFormFieldHighlight.argtypes = (FPDF_FORMHANDLE, )
  825. FPDF_RemoveFormFieldHighlight.restype = None
  826. # ./fpdf_formfill.h: 1736
  827. FPDF_FFLDraw = _libs['pdfium']['FPDF_FFLDraw']
  828. FPDF_FFLDraw.argtypes = (FPDF_FORMHANDLE, FPDF_BITMAP, FPDF_PAGE, c_int, c_int, c_int, c_int, c_int, c_int)
  829. FPDF_FFLDraw.restype = None
  830. # ./fpdf_formfill.h: 1767
  831. FPDF_GetFormType = _libs['pdfium']['FPDF_GetFormType']
  832. FPDF_GetFormType.argtypes = (FPDF_DOCUMENT, )
  833. FPDF_GetFormType.restype = c_int
  834. # ./fpdf_formfill.h: 1791
  835. FORM_SetIndexSelected = _libs['pdfium']['FORM_SetIndexSelected']
  836. FORM_SetIndexSelected.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, c_int, FPDF_BOOL)
  837. FORM_SetIndexSelected.restype = FPDF_BOOL
  838. # ./fpdf_formfill.h: 1814
  839. FORM_IsIndexSelected = _libs['pdfium']['FORM_IsIndexSelected']
  840. FORM_IsIndexSelected.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, c_int)
  841. FORM_IsIndexSelected.restype = FPDF_BOOL
  842. # ./fpdf_formfill.h: 1824
  843. FPDF_LoadXFA = _libs['pdfium']['FPDF_LoadXFA']
  844. FPDF_LoadXFA.argtypes = (FPDF_DOCUMENT, )
  845. FPDF_LoadXFA.restype = FPDF_BOOL
  846. # ./fpdf_annot.h: 42
  847. enum_FPDFANNOT_COLORTYPE = c_int
  848. # ./fpdf_annot.h: 42
  849. FPDFANNOT_COLORTYPE_Color = 0
  850. # ./fpdf_annot.h: 42
  851. FPDFANNOT_COLORTYPE_InteriorColor = (FPDFANNOT_COLORTYPE_Color + 1)
  852. # ./fpdf_annot.h: 42
  853. FPDFANNOT_COLORTYPE = enum_FPDFANNOT_COLORTYPE
  854. # ./fpdf_annot.h: 121
  855. FPDFAnnot_IsSupportedSubtype = _libs['pdfium']['FPDFAnnot_IsSupportedSubtype']
  856. FPDFAnnot_IsSupportedSubtype.argtypes = (FPDF_ANNOTATION_SUBTYPE, )
  857. FPDFAnnot_IsSupportedSubtype.restype = FPDF_BOOL
  858. # ./fpdf_annot.h: 134
  859. FPDFPage_CreateAnnot = _libs['pdfium']['FPDFPage_CreateAnnot']
  860. FPDFPage_CreateAnnot.argtypes = (FPDF_PAGE, FPDF_ANNOTATION_SUBTYPE)
  861. FPDFPage_CreateAnnot.restype = FPDF_ANNOTATION
  862. # ./fpdf_annot.h: 142
  863. FPDFPage_GetAnnotCount = _libs['pdfium']['FPDFPage_GetAnnotCount']
  864. FPDFPage_GetAnnotCount.argtypes = (FPDF_PAGE, )
  865. FPDFPage_GetAnnotCount.restype = c_int
  866. # ./fpdf_annot.h: 152
  867. FPDFPage_GetAnnot = _libs['pdfium']['FPDFPage_GetAnnot']
  868. FPDFPage_GetAnnot.argtypes = (FPDF_PAGE, c_int)
  869. FPDFPage_GetAnnot.restype = FPDF_ANNOTATION
  870. # ./fpdf_annot.h: 163
  871. FPDFPage_GetAnnotIndex = _libs['pdfium']['FPDFPage_GetAnnotIndex']
  872. FPDFPage_GetAnnotIndex.argtypes = (FPDF_PAGE, FPDF_ANNOTATION)
  873. FPDFPage_GetAnnotIndex.restype = c_int
  874. # ./fpdf_annot.h: 172
  875. FPDFPage_CloseAnnot = _libs['pdfium']['FPDFPage_CloseAnnot']
  876. FPDFPage_CloseAnnot.argtypes = (FPDF_ANNOTATION, )
  877. FPDFPage_CloseAnnot.restype = None
  878. # ./fpdf_annot.h: 181
  879. FPDFPage_RemoveAnnot = _libs['pdfium']['FPDFPage_RemoveAnnot']
  880. FPDFPage_RemoveAnnot.argtypes = (FPDF_PAGE, c_int)
  881. FPDFPage_RemoveAnnot.restype = FPDF_BOOL
  882. # ./fpdf_annot.h: 191
  883. FPDFAnnot_GetSubtype = _libs['pdfium']['FPDFAnnot_GetSubtype']
  884. FPDFAnnot_GetSubtype.argtypes = (FPDF_ANNOTATION, )
  885. FPDFAnnot_GetSubtype.restype = FPDF_ANNOTATION_SUBTYPE
  886. # ./fpdf_annot.h: 202
  887. FPDFAnnot_IsObjectSupportedSubtype = _libs['pdfium']['FPDFAnnot_IsObjectSupportedSubtype']
  888. FPDFAnnot_IsObjectSupportedSubtype.argtypes = (FPDF_ANNOTATION_SUBTYPE, )
  889. FPDFAnnot_IsObjectSupportedSubtype.restype = FPDF_BOOL
  890. # ./fpdf_annot.h: 216
  891. FPDFAnnot_UpdateObject = _libs['pdfium']['FPDFAnnot_UpdateObject']
  892. FPDFAnnot_UpdateObject.argtypes = (FPDF_ANNOTATION, FPDF_PAGEOBJECT)
  893. FPDFAnnot_UpdateObject.restype = FPDF_BOOL
  894. # ./fpdf_annot.h: 231
  895. FPDFAnnot_AddInkStroke = _libs['pdfium']['FPDFAnnot_AddInkStroke']
  896. FPDFAnnot_AddInkStroke.argtypes = (FPDF_ANNOTATION, POINTER(FS_POINTF), c_size_t)
  897. FPDFAnnot_AddInkStroke.restype = c_int
  898. # ./fpdf_annot.h: 244
  899. FPDFAnnot_RemoveInkList = _libs['pdfium']['FPDFAnnot_RemoveInkList']
  900. FPDFAnnot_RemoveInkList.argtypes = (FPDF_ANNOTATION, )
  901. FPDFAnnot_RemoveInkList.restype = FPDF_BOOL
  902. # ./fpdf_annot.h: 258
  903. FPDFAnnot_AppendObject = _libs['pdfium']['FPDFAnnot_AppendObject']
  904. FPDFAnnot_AppendObject.argtypes = (FPDF_ANNOTATION, FPDF_PAGEOBJECT)
  905. FPDFAnnot_AppendObject.restype = FPDF_BOOL
  906. # ./fpdf_annot.h: 267
  907. FPDFAnnot_GetObjectCount = _libs['pdfium']['FPDFAnnot_GetObjectCount']
  908. FPDFAnnot_GetObjectCount.argtypes = (FPDF_ANNOTATION, )
  909. FPDFAnnot_GetObjectCount.restype = c_int
  910. # ./fpdf_annot.h: 277
  911. FPDFAnnot_GetObject = _libs['pdfium']['FPDFAnnot_GetObject']
  912. FPDFAnnot_GetObject.argtypes = (FPDF_ANNOTATION, c_int)
  913. FPDFAnnot_GetObject.restype = FPDF_PAGEOBJECT
  914. # ./fpdf_annot.h: 287
  915. FPDFAnnot_RemoveObject = _libs['pdfium']['FPDFAnnot_RemoveObject']
  916. FPDFAnnot_RemoveObject.argtypes = (FPDF_ANNOTATION, c_int)
  917. FPDFAnnot_RemoveObject.restype = FPDF_BOOL
  918. # ./fpdf_annot.h: 300
  919. FPDFAnnot_SetColor = _libs['pdfium']['FPDFAnnot_SetColor']
  920. FPDFAnnot_SetColor.argtypes = (FPDF_ANNOTATION, FPDFANNOT_COLORTYPE, c_uint, c_uint, c_uint, c_uint)
  921. FPDFAnnot_SetColor.restype = FPDF_BOOL
  922. # ./fpdf_annot.h: 319
  923. FPDFAnnot_GetColor = _libs['pdfium']['FPDFAnnot_GetColor']
  924. FPDFAnnot_GetColor.argtypes = (FPDF_ANNOTATION, FPDFANNOT_COLORTYPE, POINTER(c_uint), POINTER(c_uint), POINTER(c_uint), POINTER(c_uint))
  925. FPDFAnnot_GetColor.restype = FPDF_BOOL
  926. # ./fpdf_annot.h: 339
  927. FPDFAnnot_HasAttachmentPoints = _libs['pdfium']['FPDFAnnot_HasAttachmentPoints']
  928. FPDFAnnot_HasAttachmentPoints.argtypes = (FPDF_ANNOTATION, )
  929. FPDFAnnot_HasAttachmentPoints.restype = FPDF_BOOL
  930. # ./fpdf_annot.h: 355
  931. FPDFAnnot_SetAttachmentPoints = _libs['pdfium']['FPDFAnnot_SetAttachmentPoints']
  932. FPDFAnnot_SetAttachmentPoints.argtypes = (FPDF_ANNOTATION, c_size_t, POINTER(FS_QUADPOINTSF))
  933. FPDFAnnot_SetAttachmentPoints.restype = FPDF_BOOL
  934. # ./fpdf_annot.h: 370
  935. FPDFAnnot_AppendAttachmentPoints = _libs['pdfium']['FPDFAnnot_AppendAttachmentPoints']
  936. FPDFAnnot_AppendAttachmentPoints.argtypes = (FPDF_ANNOTATION, POINTER(FS_QUADPOINTSF))
  937. FPDFAnnot_AppendAttachmentPoints.restype = FPDF_BOOL
  938. # ./fpdf_annot.h: 380
  939. FPDFAnnot_CountAttachmentPoints = _libs['pdfium']['FPDFAnnot_CountAttachmentPoints']
  940. FPDFAnnot_CountAttachmentPoints.argtypes = (FPDF_ANNOTATION, )
  941. FPDFAnnot_CountAttachmentPoints.restype = c_size_t
  942. # ./fpdf_annot.h: 391
  943. FPDFAnnot_GetAttachmentPoints = _libs['pdfium']['FPDFAnnot_GetAttachmentPoints']
  944. FPDFAnnot_GetAttachmentPoints.argtypes = (FPDF_ANNOTATION, c_size_t, POINTER(FS_QUADPOINTSF))
  945. FPDFAnnot_GetAttachmentPoints.restype = FPDF_BOOL
  946. # ./fpdf_annot.h: 405
  947. FPDFAnnot_SetRect = _libs['pdfium']['FPDFAnnot_SetRect']
  948. FPDFAnnot_SetRect.argtypes = (FPDF_ANNOTATION, POINTER(FS_RECTF))
  949. FPDFAnnot_SetRect.restype = FPDF_BOOL
  950. # ./fpdf_annot.h: 415
  951. FPDFAnnot_GetRect = _libs['pdfium']['FPDFAnnot_GetRect']
  952. FPDFAnnot_GetRect.argtypes = (FPDF_ANNOTATION, POINTER(FS_RECTF))
  953. FPDFAnnot_GetRect.restype = FPDF_BOOL
  954. # ./fpdf_annot.h: 430
  955. FPDFAnnot_GetVertices = _libs['pdfium']['FPDFAnnot_GetVertices']
  956. FPDFAnnot_GetVertices.argtypes = (FPDF_ANNOTATION, POINTER(FS_POINTF), c_ulong)
  957. FPDFAnnot_GetVertices.restype = c_ulong
  958. # ./fpdf_annot.h: 442
  959. FPDFAnnot_GetInkListCount = _libs['pdfium']['FPDFAnnot_GetInkListCount']
  960. FPDFAnnot_GetInkListCount.argtypes = (FPDF_ANNOTATION, )
  961. FPDFAnnot_GetInkListCount.restype = c_ulong
  962. # ./fpdf_annot.h: 457
  963. FPDFAnnot_GetInkListPath = _libs['pdfium']['FPDFAnnot_GetInkListPath']
  964. FPDFAnnot_GetInkListPath.argtypes = (FPDF_ANNOTATION, c_ulong, POINTER(FS_POINTF), c_ulong)
  965. FPDFAnnot_GetInkListPath.restype = c_ulong
  966. # ./fpdf_annot.h: 471
  967. FPDFAnnot_GetLine = _libs['pdfium']['FPDFAnnot_GetLine']
  968. FPDFAnnot_GetLine.argtypes = (FPDF_ANNOTATION, POINTER(FS_POINTF), POINTER(FS_POINTF))
  969. FPDFAnnot_GetLine.restype = FPDF_BOOL
  970. # ./fpdf_annot.h: 487
  971. FPDFAnnot_SetBorder = _libs['pdfium']['FPDFAnnot_SetBorder']
  972. FPDFAnnot_SetBorder.argtypes = (FPDF_ANNOTATION, c_float, c_float, c_float)
  973. FPDFAnnot_SetBorder.restype = FPDF_BOOL
  974. # ./fpdf_annot.h: 503
  975. FPDFAnnot_GetBorder = _libs['pdfium']['FPDFAnnot_GetBorder']
  976. FPDFAnnot_GetBorder.argtypes = (FPDF_ANNOTATION, POINTER(c_float), POINTER(c_float), POINTER(c_float))
  977. FPDFAnnot_GetBorder.restype = FPDF_BOOL
  978. # ./fpdf_annot.h: 527
  979. FPDFAnnot_GetFormAdditionalActionJavaScript = _libs['pdfium']['FPDFAnnot_GetFormAdditionalActionJavaScript']
  980. FPDFAnnot_GetFormAdditionalActionJavaScript.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION, c_int, POINTER(FPDF_WCHAR), c_ulong)
  981. FPDFAnnot_GetFormAdditionalActionJavaScript.restype = c_ulong
  982. # ./fpdf_annot.h: 540
  983. FPDFAnnot_HasKey = _libs['pdfium']['FPDFAnnot_HasKey']
  984. FPDFAnnot_HasKey.argtypes = (FPDF_ANNOTATION, FPDF_BYTESTRING)
  985. FPDFAnnot_HasKey.restype = FPDF_BOOL
  986. # ./fpdf_annot.h: 551
  987. FPDFAnnot_GetValueType = _libs['pdfium']['FPDFAnnot_GetValueType']
  988. FPDFAnnot_GetValueType.argtypes = (FPDF_ANNOTATION, FPDF_BYTESTRING)
  989. FPDFAnnot_GetValueType.restype = FPDF_OBJECT_TYPE
  990. # ./fpdf_annot.h: 564
  991. FPDFAnnot_SetStringValue = _libs['pdfium']['FPDFAnnot_SetStringValue']
  992. FPDFAnnot_SetStringValue.argtypes = (FPDF_ANNOTATION, FPDF_BYTESTRING, FPDF_WIDESTRING)
  993. FPDFAnnot_SetStringValue.restype = FPDF_BOOL
  994. # ./fpdf_annot.h: 584
  995. FPDFAnnot_GetStringValue = _libs['pdfium']['FPDFAnnot_GetStringValue']
  996. FPDFAnnot_GetStringValue.argtypes = (FPDF_ANNOTATION, FPDF_BYTESTRING, POINTER(FPDF_WCHAR), c_ulong)
  997. FPDFAnnot_GetStringValue.restype = c_ulong
  998. # ./fpdf_annot.h: 601
  999. FPDFAnnot_GetNumberValue = _libs['pdfium']['FPDFAnnot_GetNumberValue']
  1000. FPDFAnnot_GetNumberValue.argtypes = (FPDF_ANNOTATION, FPDF_BYTESTRING, POINTER(c_float))
  1001. FPDFAnnot_GetNumberValue.restype = FPDF_BOOL
  1002. # ./fpdf_annot.h: 618
  1003. FPDFAnnot_SetAP = _libs['pdfium']['FPDFAnnot_SetAP']
  1004. FPDFAnnot_SetAP.argtypes = (FPDF_ANNOTATION, FPDF_ANNOT_APPEARANCEMODE, FPDF_WIDESTRING)
  1005. FPDFAnnot_SetAP.restype = FPDF_BOOL
  1006. # ./fpdf_annot.h: 640
  1007. FPDFAnnot_GetAP = _libs['pdfium']['FPDFAnnot_GetAP']
  1008. FPDFAnnot_GetAP.argtypes = (FPDF_ANNOTATION, FPDF_ANNOT_APPEARANCEMODE, POINTER(FPDF_WCHAR), c_ulong)
  1009. FPDFAnnot_GetAP.restype = c_ulong
  1010. # ./fpdf_annot.h: 656
  1011. FPDFAnnot_GetLinkedAnnot = _libs['pdfium']['FPDFAnnot_GetLinkedAnnot']
  1012. FPDFAnnot_GetLinkedAnnot.argtypes = (FPDF_ANNOTATION, FPDF_BYTESTRING)
  1013. FPDFAnnot_GetLinkedAnnot.restype = FPDF_ANNOTATION
  1014. # ./fpdf_annot.h: 664
  1015. FPDFAnnot_GetFlags = _libs['pdfium']['FPDFAnnot_GetFlags']
  1016. FPDFAnnot_GetFlags.argtypes = (FPDF_ANNOTATION, )
  1017. FPDFAnnot_GetFlags.restype = c_int
  1018. # ./fpdf_annot.h: 673
  1019. FPDFAnnot_SetFlags = _libs['pdfium']['FPDFAnnot_SetFlags']
  1020. FPDFAnnot_SetFlags.argtypes = (FPDF_ANNOTATION, c_int)
  1021. FPDFAnnot_SetFlags.restype = FPDF_BOOL
  1022. # ./fpdf_annot.h: 685
  1023. FPDFAnnot_GetFormFieldFlags = _libs['pdfium']['FPDFAnnot_GetFormFieldFlags']
  1024. FPDFAnnot_GetFormFieldFlags.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION)
  1025. FPDFAnnot_GetFormFieldFlags.restype = c_int
  1026. # ./fpdf_annot.h: 698
  1027. FPDFAnnot_SetFormFieldFlags = _libs['pdfium']['FPDFAnnot_SetFormFieldFlags']
  1028. FPDFAnnot_SetFormFieldFlags.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION, c_int)
  1029. FPDFAnnot_SetFormFieldFlags.restype = FPDF_BOOL
  1030. # ./fpdf_annot.h: 716
  1031. FPDFAnnot_GetFormFieldAtPoint = _libs['pdfium']['FPDFAnnot_GetFormFieldAtPoint']
  1032. FPDFAnnot_GetFormFieldAtPoint.argtypes = (FPDF_FORMHANDLE, FPDF_PAGE, POINTER(FS_POINTF))
  1033. FPDFAnnot_GetFormFieldAtPoint.restype = FPDF_ANNOTATION
  1034. # ./fpdf_annot.h: 734
  1035. FPDFAnnot_GetFormFieldName = _libs['pdfium']['FPDFAnnot_GetFormFieldName']
  1036. FPDFAnnot_GetFormFieldName.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION, POINTER(FPDF_WCHAR), c_ulong)
  1037. FPDFAnnot_GetFormFieldName.restype = c_ulong
  1038. # ./fpdf_annot.h: 754
  1039. FPDFAnnot_GetFormFieldAlternateName = _libs['pdfium']['FPDFAnnot_GetFormFieldAlternateName']
  1040. FPDFAnnot_GetFormFieldAlternateName.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION, POINTER(FPDF_WCHAR), c_ulong)
  1041. FPDFAnnot_GetFormFieldAlternateName.restype = c_ulong
  1042. # ./fpdf_annot.h: 770
  1043. FPDFAnnot_GetFormFieldType = _libs['pdfium']['FPDFAnnot_GetFormFieldType']
  1044. FPDFAnnot_GetFormFieldType.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION)
  1045. FPDFAnnot_GetFormFieldType.restype = c_int
  1046. # ./fpdf_annot.h: 786
  1047. FPDFAnnot_GetFormFieldValue = _libs['pdfium']['FPDFAnnot_GetFormFieldValue']
  1048. FPDFAnnot_GetFormFieldValue.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION, POINTER(FPDF_WCHAR), c_ulong)
  1049. FPDFAnnot_GetFormFieldValue.restype = c_ulong
  1050. # ./fpdf_annot.h: 801
  1051. FPDFAnnot_GetOptionCount = _libs['pdfium']['FPDFAnnot_GetOptionCount']
  1052. FPDFAnnot_GetOptionCount.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION)
  1053. FPDFAnnot_GetOptionCount.restype = c_int
  1054. # ./fpdf_annot.h: 823
  1055. FPDFAnnot_GetOptionLabel = _libs['pdfium']['FPDFAnnot_GetOptionLabel']
  1056. FPDFAnnot_GetOptionLabel.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION, c_int, POINTER(FPDF_WCHAR), c_ulong)
  1057. FPDFAnnot_GetOptionLabel.restype = c_ulong
  1058. # ./fpdf_annot.h: 841
  1059. FPDFAnnot_IsOptionSelected = _libs['pdfium']['FPDFAnnot_IsOptionSelected']
  1060. FPDFAnnot_IsOptionSelected.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION, c_int)
  1061. FPDFAnnot_IsOptionSelected.restype = FPDF_BOOL
  1062. # ./fpdf_annot.h: 858
  1063. FPDFAnnot_GetFontSize = _libs['pdfium']['FPDFAnnot_GetFontSize']
  1064. FPDFAnnot_GetFontSize.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION, POINTER(c_float))
  1065. FPDFAnnot_GetFontSize.restype = FPDF_BOOL
  1066. # ./fpdf_annot.h: 877
  1067. FPDFAnnot_SetFontColor = _libs['pdfium']['FPDFAnnot_SetFontColor']
  1068. FPDFAnnot_SetFontColor.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION, c_uint, c_uint, c_uint)
  1069. FPDFAnnot_SetFontColor.restype = FPDF_BOOL
  1070. # ./fpdf_annot.h: 894
  1071. FPDFAnnot_GetFontColor = _libs['pdfium']['FPDFAnnot_GetFontColor']
  1072. FPDFAnnot_GetFontColor.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION, POINTER(c_uint), POINTER(c_uint), POINTER(c_uint))
  1073. FPDFAnnot_GetFontColor.restype = FPDF_BOOL
  1074. # ./fpdf_annot.h: 909
  1075. FPDFAnnot_IsChecked = _libs['pdfium']['FPDFAnnot_IsChecked']
  1076. FPDFAnnot_IsChecked.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION)
  1077. FPDFAnnot_IsChecked.restype = FPDF_BOOL
  1078. # ./fpdf_annot.h: 924
  1079. FPDFAnnot_SetFocusableSubtypes = _libs['pdfium']['FPDFAnnot_SetFocusableSubtypes']
  1080. FPDFAnnot_SetFocusableSubtypes.argtypes = (FPDF_FORMHANDLE, POINTER(FPDF_ANNOTATION_SUBTYPE), c_size_t)
  1081. FPDFAnnot_SetFocusableSubtypes.restype = FPDF_BOOL
  1082. # ./fpdf_annot.h: 937
  1083. FPDFAnnot_GetFocusableSubtypesCount = _libs['pdfium']['FPDFAnnot_GetFocusableSubtypesCount']
  1084. FPDFAnnot_GetFocusableSubtypesCount.argtypes = (FPDF_FORMHANDLE, )
  1085. FPDFAnnot_GetFocusableSubtypesCount.restype = c_int
  1086. # ./fpdf_annot.h: 953
  1087. FPDFAnnot_GetFocusableSubtypes = _libs['pdfium']['FPDFAnnot_GetFocusableSubtypes']
  1088. FPDFAnnot_GetFocusableSubtypes.argtypes = (FPDF_FORMHANDLE, POINTER(FPDF_ANNOTATION_SUBTYPE), c_size_t)
  1089. FPDFAnnot_GetFocusableSubtypes.restype = FPDF_BOOL
  1090. # ./fpdf_annot.h: 964
  1091. FPDFAnnot_GetLink = _libs['pdfium']['FPDFAnnot_GetLink']
  1092. FPDFAnnot_GetLink.argtypes = (FPDF_ANNOTATION, )
  1093. FPDFAnnot_GetLink.restype = FPDF_LINK
  1094. # ./fpdf_annot.h: 978
  1095. FPDFAnnot_GetFormControlCount = _libs['pdfium']['FPDFAnnot_GetFormControlCount']
  1096. FPDFAnnot_GetFormControlCount.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION)
  1097. FPDFAnnot_GetFormControlCount.restype = c_int
  1098. # ./fpdf_annot.h: 992
  1099. FPDFAnnot_GetFormControlIndex = _libs['pdfium']['FPDFAnnot_GetFormControlIndex']
  1100. FPDFAnnot_GetFormControlIndex.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION)
  1101. FPDFAnnot_GetFormControlIndex.restype = c_int
  1102. # ./fpdf_annot.h: 1009
  1103. FPDFAnnot_GetFormFieldExportValue = _libs['pdfium']['FPDFAnnot_GetFormFieldExportValue']
  1104. FPDFAnnot_GetFormFieldExportValue.argtypes = (FPDF_FORMHANDLE, FPDF_ANNOTATION, POINTER(FPDF_WCHAR), c_ulong)
  1105. FPDFAnnot_GetFormFieldExportValue.restype = c_ulong
  1106. # ./fpdf_annot.h: 1021
  1107. FPDFAnnot_SetURI = _libs['pdfium']['FPDFAnnot_SetURI']
  1108. FPDFAnnot_SetURI.argtypes = (FPDF_ANNOTATION, POINTER(c_char))
  1109. FPDFAnnot_SetURI.restype = FPDF_BOOL
  1110. # ./fpdf_annot.h: 1031
  1111. FPDFAnnot_GetFileAttachment = _libs['pdfium']['FPDFAnnot_GetFileAttachment']
  1112. FPDFAnnot_GetFileAttachment.argtypes = (FPDF_ANNOTATION, )
  1113. FPDFAnnot_GetFileAttachment.restype = FPDF_ATTACHMENT
  1114. # ./fpdf_annot.h: 1041
  1115. FPDFAnnot_AddFileAttachment = _libs['pdfium']['FPDFAnnot_AddFileAttachment']
  1116. FPDFAnnot_AddFileAttachment.argtypes = (FPDF_ANNOTATION, FPDF_WIDESTRING)
  1117. FPDFAnnot_AddFileAttachment.restype = FPDF_ATTACHMENT
  1118. # ./fpdf_attachment.h: 22
  1119. FPDFDoc_GetAttachmentCount = _libs['pdfium']['FPDFDoc_GetAttachmentCount']
  1120. FPDFDoc_GetAttachmentCount.argtypes = (FPDF_DOCUMENT, )
  1121. FPDFDoc_GetAttachmentCount.restype = c_int
  1122. # ./fpdf_attachment.h: 35
  1123. FPDFDoc_AddAttachment = _libs['pdfium']['FPDFDoc_AddAttachment']
  1124. FPDFDoc_AddAttachment.argtypes = (FPDF_DOCUMENT, FPDF_WIDESTRING)
  1125. FPDFDoc_AddAttachment.restype = FPDF_ATTACHMENT
  1126. # ./fpdf_attachment.h: 46
  1127. FPDFDoc_GetAttachment = _libs['pdfium']['FPDFDoc_GetAttachment']
  1128. FPDFDoc_GetAttachment.argtypes = (FPDF_DOCUMENT, c_int)
  1129. FPDFDoc_GetAttachment.restype = FPDF_ATTACHMENT
  1130. # ./fpdf_attachment.h: 59
  1131. FPDFDoc_DeleteAttachment = _libs['pdfium']['FPDFDoc_DeleteAttachment']
  1132. FPDFDoc_DeleteAttachment.argtypes = (FPDF_DOCUMENT, c_int)
  1133. FPDFDoc_DeleteAttachment.restype = FPDF_BOOL
  1134. # ./fpdf_attachment.h: 72
  1135. FPDFAttachment_GetName = _libs['pdfium']['FPDFAttachment_GetName']
  1136. FPDFAttachment_GetName.argtypes = (FPDF_ATTACHMENT, POINTER(FPDF_WCHAR), c_ulong)
  1137. FPDFAttachment_GetName.restype = c_ulong
  1138. # ./fpdf_attachment.h: 84
  1139. FPDFAttachment_HasKey = _libs['pdfium']['FPDFAttachment_HasKey']
  1140. FPDFAttachment_HasKey.argtypes = (FPDF_ATTACHMENT, FPDF_BYTESTRING)
  1141. FPDFAttachment_HasKey.restype = FPDF_BOOL
  1142. # ./fpdf_attachment.h: 95
  1143. FPDFAttachment_GetValueType = _libs['pdfium']['FPDFAttachment_GetValueType']
  1144. FPDFAttachment_GetValueType.argtypes = (FPDF_ATTACHMENT, FPDF_BYTESTRING)
  1145. FPDFAttachment_GetValueType.restype = FPDF_OBJECT_TYPE
  1146. # ./fpdf_attachment.h: 108
  1147. FPDFAttachment_SetStringValue = _libs['pdfium']['FPDFAttachment_SetStringValue']
  1148. FPDFAttachment_SetStringValue.argtypes = (FPDF_ATTACHMENT, FPDF_BYTESTRING, FPDF_WIDESTRING)
  1149. FPDFAttachment_SetStringValue.restype = FPDF_BOOL
  1150. # ./fpdf_attachment.h: 129
  1151. FPDFAttachment_GetStringValue = _libs['pdfium']['FPDFAttachment_GetStringValue']
  1152. FPDFAttachment_GetStringValue.argtypes = (FPDF_ATTACHMENT, FPDF_BYTESTRING, POINTER(FPDF_WCHAR), c_ulong)
  1153. FPDFAttachment_GetStringValue.restype = c_ulong
  1154. # ./fpdf_attachment.h: 146
  1155. FPDFAttachment_SetFile = _libs['pdfium']['FPDFAttachment_SetFile']
  1156. FPDFAttachment_SetFile.argtypes = (FPDF_ATTACHMENT, FPDF_DOCUMENT, POINTER(None), c_ulong)
  1157. FPDFAttachment_SetFile.restype = FPDF_BOOL
  1158. # ./fpdf_attachment.h: 170
  1159. FPDFAttachment_GetFile = _libs['pdfium']['FPDFAttachment_GetFile']
  1160. FPDFAttachment_GetFile.argtypes = (FPDF_ATTACHMENT, POINTER(None), c_ulong, POINTER(c_ulong))
  1161. FPDFAttachment_GetFile.restype = FPDF_BOOL
  1162. # ./fpdf_attachment.h: 188
  1163. FPDFAttachment_GetSubtype = _libs['pdfium']['FPDFAttachment_GetSubtype']
  1164. FPDFAttachment_GetSubtype.argtypes = (FPDF_ATTACHMENT, POINTER(FPDF_WCHAR), c_ulong)
  1165. FPDFAttachment_GetSubtype.restype = c_ulong
  1166. # ./fpdf_catalog.h: 26
  1167. FPDFCatalog_IsTagged = _libs['pdfium']['FPDFCatalog_IsTagged']
  1168. FPDFCatalog_IsTagged.argtypes = (FPDF_DOCUMENT, )
  1169. FPDFCatalog_IsTagged.restype = FPDF_BOOL
  1170. # ./fpdf_catalog.h: 36
  1171. FPDFCatalog_SetLanguage = _libs['pdfium']['FPDFCatalog_SetLanguage']
  1172. FPDFCatalog_SetLanguage.argtypes = (FPDF_DOCUMENT, FPDF_BYTESTRING)
  1173. FPDFCatalog_SetLanguage.restype = FPDF_BOOL
  1174. # ./fpdf_dataavail.h: 23
  1175. class struct__FX_FILEAVAIL (Structure):
  1176. __slots__ = ('version', 'IsDataAvail')
  1177. struct__FX_FILEAVAIL._fields_ = (
  1178. ('version', c_int),
  1179. ('IsDataAvail', CFUNCTYPE(UNCHECKED(FPDF_BOOL), POINTER(struct__FX_FILEAVAIL), c_size_t, c_size_t)),
  1180. )
  1181. # ./fpdf_dataavail.h: 52
  1182. FX_FILEAVAIL = struct__FX_FILEAVAIL
  1183. # ./fpdf_dataavail.h: 62
  1184. FPDFAvail_Create = _libs['pdfium']['FPDFAvail_Create']
  1185. FPDFAvail_Create.argtypes = (POINTER(FX_FILEAVAIL), POINTER(FPDF_FILEACCESS))
  1186. FPDFAvail_Create.restype = FPDF_AVAIL
  1187. # ./fpdf_dataavail.h: 68
  1188. FPDFAvail_Destroy = _libs['pdfium']['FPDFAvail_Destroy']
  1189. FPDFAvail_Destroy.argtypes = (FPDF_AVAIL, )
  1190. FPDFAvail_Destroy.restype = None
  1191. # ./fpdf_dataavail.h: 71
  1192. class struct__FX_DOWNLOADHINTS (Structure):
  1193. __slots__ = ('version', 'AddSegment')
  1194. struct__FX_DOWNLOADHINTS._fields_ = (
  1195. ('version', c_int),
  1196. ('AddSegment', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FX_DOWNLOADHINTS), c_size_t, c_size_t)),
  1197. )
  1198. # ./fpdf_dataavail.h: 90
  1199. FX_DOWNLOADHINTS = struct__FX_DOWNLOADHINTS
  1200. # ./fpdf_dataavail.h: 109
  1201. FPDFAvail_IsDocAvail = _libs['pdfium']['FPDFAvail_IsDocAvail']
  1202. FPDFAvail_IsDocAvail.argtypes = (FPDF_AVAIL, POINTER(FX_DOWNLOADHINTS))
  1203. FPDFAvail_IsDocAvail.restype = c_int
  1204. # ./fpdf_dataavail.h: 124
  1205. FPDFAvail_GetDocument = _libs['pdfium']['FPDFAvail_GetDocument']
  1206. FPDFAvail_GetDocument.argtypes = (FPDF_AVAIL, FPDF_BYTESTRING)
  1207. FPDFAvail_GetDocument.restype = FPDF_DOCUMENT
  1208. # ./fpdf_dataavail.h: 135
  1209. FPDFAvail_GetFirstPageNum = _libs['pdfium']['FPDFAvail_GetFirstPageNum']
  1210. FPDFAvail_GetFirstPageNum.argtypes = (FPDF_DOCUMENT, )
  1211. FPDFAvail_GetFirstPageNum.restype = c_int
  1212. # ./fpdf_dataavail.h: 157
  1213. FPDFAvail_IsPageAvail = _libs['pdfium']['FPDFAvail_IsPageAvail']
  1214. FPDFAvail_IsPageAvail.argtypes = (FPDF_AVAIL, c_int, POINTER(FX_DOWNLOADHINTS))
  1215. FPDFAvail_IsPageAvail.restype = c_int
  1216. # ./fpdf_dataavail.h: 182
  1217. FPDFAvail_IsFormAvail = _libs['pdfium']['FPDFAvail_IsFormAvail']
  1218. FPDFAvail_IsFormAvail.argtypes = (FPDF_AVAIL, POINTER(FX_DOWNLOADHINTS))
  1219. FPDFAvail_IsFormAvail.restype = c_int
  1220. # ./fpdf_dataavail.h: 198
  1221. FPDFAvail_IsLinearized = _libs['pdfium']['FPDFAvail_IsLinearized']
  1222. FPDFAvail_IsLinearized.argtypes = (FPDF_AVAIL, )
  1223. FPDFAvail_IsLinearized.restype = c_int
  1224. # ./fpdf_doc.h: 31
  1225. enum_anon_5 = c_int
  1226. # ./fpdf_doc.h: 31
  1227. FILEIDTYPE_PERMANENT = 0
  1228. # ./fpdf_doc.h: 31
  1229. FILEIDTYPE_CHANGING = 1
  1230. # ./fpdf_doc.h: 31
  1231. FPDF_FILEIDTYPE = enum_anon_5
  1232. # ./fpdf_doc.h: 59
  1233. FPDFBookmark_GetFirstChild = _libs['pdfium']['FPDFBookmark_GetFirstChild']
  1234. FPDFBookmark_GetFirstChild.argtypes = (FPDF_DOCUMENT, FPDF_BOOKMARK)
  1235. FPDFBookmark_GetFirstChild.restype = FPDF_BOOKMARK
  1236. # ./fpdf_doc.h: 72
  1237. FPDFBookmark_GetNextSibling = _libs['pdfium']['FPDFBookmark_GetNextSibling']
  1238. FPDFBookmark_GetNextSibling.argtypes = (FPDF_DOCUMENT, FPDF_BOOKMARK)
  1239. FPDFBookmark_GetNextSibling.restype = FPDF_BOOKMARK
  1240. # ./fpdf_doc.h: 88
  1241. FPDFBookmark_GetTitle = _libs['pdfium']['FPDFBookmark_GetTitle']
  1242. FPDFBookmark_GetTitle.argtypes = (FPDF_BOOKMARK, POINTER(None), c_ulong)
  1243. FPDFBookmark_GetTitle.restype = c_ulong
  1244. # ./fpdf_doc.h: 102
  1245. FPDFBookmark_GetCount = _libs['pdfium']['FPDFBookmark_GetCount']
  1246. FPDFBookmark_GetCount.argtypes = (FPDF_BOOKMARK, )
  1247. FPDFBookmark_GetCount.restype = c_int
  1248. # ./fpdf_doc.h: 114
  1249. FPDFBookmark_Find = _libs['pdfium']['FPDFBookmark_Find']
  1250. FPDFBookmark_Find.argtypes = (FPDF_DOCUMENT, FPDF_WIDESTRING)
  1251. FPDFBookmark_Find.restype = FPDF_BOOKMARK
  1252. # ./fpdf_doc.h: 124
  1253. FPDFBookmark_GetDest = _libs['pdfium']['FPDFBookmark_GetDest']
  1254. FPDFBookmark_GetDest.argtypes = (FPDF_DOCUMENT, FPDF_BOOKMARK)
  1255. FPDFBookmark_GetDest.restype = FPDF_DEST
  1256. # ./fpdf_doc.h: 137
  1257. FPDFBookmark_GetAction = _libs['pdfium']['FPDFBookmark_GetAction']
  1258. FPDFBookmark_GetAction.argtypes = (FPDF_BOOKMARK, )
  1259. FPDFBookmark_GetAction.restype = FPDF_ACTION
  1260. # ./fpdf_doc.h: 149
  1261. FPDFAction_GetType = _libs['pdfium']['FPDFAction_GetType']
  1262. FPDFAction_GetType.argtypes = (FPDF_ACTION, )
  1263. FPDFAction_GetType.restype = c_ulong
  1264. # ./fpdf_doc.h: 163
  1265. FPDFAction_GetDest = _libs['pdfium']['FPDFAction_GetDest']
  1266. FPDFAction_GetDest.argtypes = (FPDF_DOCUMENT, FPDF_ACTION)
  1267. FPDFAction_GetDest.restype = FPDF_DEST
  1268. # ./fpdf_doc.h: 181
  1269. FPDFAction_GetFilePath = _libs['pdfium']['FPDFAction_GetFilePath']
  1270. FPDFAction_GetFilePath.argtypes = (FPDF_ACTION, POINTER(None), c_ulong)
  1271. FPDFAction_GetFilePath.restype = c_ulong
  1272. # ./fpdf_doc.h: 207
  1273. FPDFAction_GetURIPath = _libs['pdfium']['FPDFAction_GetURIPath']
  1274. FPDFAction_GetURIPath.argtypes = (FPDF_DOCUMENT, FPDF_ACTION, POINTER(None), c_ulong)
  1275. FPDFAction_GetURIPath.restype = c_ulong
  1276. # ./fpdf_doc.h: 218
  1277. FPDFDest_GetDestPageIndex = _libs['pdfium']['FPDFDest_GetDestPageIndex']
  1278. FPDFDest_GetDestPageIndex.argtypes = (FPDF_DOCUMENT, FPDF_DEST)
  1279. FPDFDest_GetDestPageIndex.restype = c_int
  1280. # ./fpdf_doc.h: 231
  1281. FPDFDest_GetView = _libs['pdfium']['FPDFDest_GetView']
  1282. FPDFDest_GetView.argtypes = (FPDF_DEST, POINTER(c_ulong), POINTER(FS_FLOAT))
  1283. FPDFDest_GetView.restype = c_ulong
  1284. # ./fpdf_doc.h: 248
  1285. FPDFDest_GetLocationInPage = _libs['pdfium']['FPDFDest_GetLocationInPage']
  1286. FPDFDest_GetLocationInPage.argtypes = (FPDF_DEST, POINTER(FPDF_BOOL), POINTER(FPDF_BOOL), POINTER(FPDF_BOOL), POINTER(FS_FLOAT), POINTER(FS_FLOAT), POINTER(FS_FLOAT))
  1287. FPDFDest_GetLocationInPage.restype = FPDF_BOOL
  1288. # ./fpdf_doc.h: 266
  1289. FPDFLink_GetLinkAtPoint = _libs['pdfium']['FPDFLink_GetLinkAtPoint']
  1290. FPDFLink_GetLinkAtPoint.argtypes = (FPDF_PAGE, c_double, c_double)
  1291. FPDFLink_GetLinkAtPoint.restype = FPDF_LINK
  1292. # ./fpdf_doc.h: 281
  1293. FPDFLink_GetLinkZOrderAtPoint = _libs['pdfium']['FPDFLink_GetLinkZOrderAtPoint']
  1294. FPDFLink_GetLinkZOrderAtPoint.argtypes = (FPDF_PAGE, c_double, c_double)
  1295. FPDFLink_GetLinkZOrderAtPoint.restype = c_int
  1296. # ./fpdf_doc.h: 293
  1297. FPDFLink_GetDest = _libs['pdfium']['FPDFLink_GetDest']
  1298. FPDFLink_GetDest.argtypes = (FPDF_DOCUMENT, FPDF_LINK)
  1299. FPDFLink_GetDest.restype = FPDF_DEST
  1300. # ./fpdf_doc.h: 303
  1301. FPDFLink_GetAction = _libs['pdfium']['FPDFLink_GetAction']
  1302. FPDFLink_GetAction.argtypes = (FPDF_LINK, )
  1303. FPDFLink_GetAction.restype = FPDF_ACTION
  1304. # ./fpdf_doc.h: 313
  1305. FPDFLink_Enumerate = _libs['pdfium']['FPDFLink_Enumerate']
  1306. FPDFLink_Enumerate.argtypes = (FPDF_PAGE, POINTER(c_int), POINTER(FPDF_LINK))
  1307. FPDFLink_Enumerate.restype = FPDF_BOOL
  1308. # ./fpdf_doc.h: 326
  1309. FPDFLink_GetAnnot = _libs['pdfium']['FPDFLink_GetAnnot']
  1310. FPDFLink_GetAnnot.argtypes = (FPDF_PAGE, FPDF_LINK)
  1311. FPDFLink_GetAnnot.restype = FPDF_ANNOTATION
  1312. # ./fpdf_doc.h: 334
  1313. FPDFLink_GetAnnotRect = _libs['pdfium']['FPDFLink_GetAnnotRect']
  1314. FPDFLink_GetAnnotRect.argtypes = (FPDF_LINK, POINTER(FS_RECTF))
  1315. FPDFLink_GetAnnotRect.restype = FPDF_BOOL
  1316. # ./fpdf_doc.h: 342
  1317. FPDFLink_CountQuadPoints = _libs['pdfium']['FPDFLink_CountQuadPoints']
  1318. FPDFLink_CountQuadPoints.argtypes = (FPDF_LINK, )
  1319. FPDFLink_CountQuadPoints.restype = c_int
  1320. # ./fpdf_doc.h: 352
  1321. FPDFLink_GetQuadPoints = _libs['pdfium']['FPDFLink_GetQuadPoints']
  1322. FPDFLink_GetQuadPoints.argtypes = (FPDF_LINK, c_int, POINTER(FS_QUADPOINTSF))
  1323. FPDFLink_GetQuadPoints.restype = FPDF_BOOL
  1324. # ./fpdf_doc.h: 367
  1325. FPDF_GetPageAAction = _libs['pdfium']['FPDF_GetPageAAction']
  1326. FPDF_GetPageAAction.argtypes = (FPDF_PAGE, c_int)
  1327. FPDF_GetPageAAction.restype = FPDF_ACTION
  1328. # ./fpdf_doc.h: 385
  1329. FPDF_GetFileIdentifier = _libs['pdfium']['FPDF_GetFileIdentifier']
  1330. FPDF_GetFileIdentifier.argtypes = (FPDF_DOCUMENT, FPDF_FILEIDTYPE, POINTER(None), c_ulong)
  1331. FPDF_GetFileIdentifier.restype = c_ulong
  1332. # ./fpdf_doc.h: 411
  1333. FPDF_GetMetaText = _libs['pdfium']['FPDF_GetMetaText']
  1334. FPDF_GetMetaText.argtypes = (FPDF_DOCUMENT, FPDF_BYTESTRING, POINTER(None), c_ulong)
  1335. FPDF_GetMetaText.restype = c_ulong
  1336. # ./fpdf_doc.h: 429
  1337. FPDF_GetPageLabel = _libs['pdfium']['FPDF_GetPageLabel']
  1338. FPDF_GetPageLabel.argtypes = (FPDF_DOCUMENT, c_int, POINTER(None), c_ulong)
  1339. FPDF_GetPageLabel.restype = c_ulong
  1340. # /usr/include/x86_64-linux-gnu/bits/types.h: 38
  1341. __uint8_t = c_ubyte
  1342. # /usr/include/x86_64-linux-gnu/bits/types.h: 40
  1343. __uint16_t = c_ushort
  1344. # /usr/include/x86_64-linux-gnu/bits/types.h: 42
  1345. __uint32_t = c_uint
  1346. # /usr/include/x86_64-linux-gnu/bits/types.h: 160
  1347. __time_t = c_long
  1348. # /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: 23
  1349. uint8_t = __uint8_t
  1350. # /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: 24
  1351. uint16_t = __uint16_t
  1352. # /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: 25
  1353. uint32_t = __uint32_t
  1354. # ./fpdf_edit.h: 93
  1355. class struct_FPDF_IMAGEOBJ_METADATA (Structure):
  1356. __slots__ = ('width', 'height', 'horizontal_dpi', 'vertical_dpi', 'bits_per_pixel', 'colorspace', 'marked_content_id')
  1357. struct_FPDF_IMAGEOBJ_METADATA._fields_ = (
  1358. ('width', c_uint),
  1359. ('height', c_uint),
  1360. ('horizontal_dpi', c_float),
  1361. ('vertical_dpi', c_float),
  1362. ('bits_per_pixel', c_uint),
  1363. ('colorspace', c_int),
  1364. ('marked_content_id', c_int),
  1365. )
  1366. # ./fpdf_edit.h: 93
  1367. FPDF_IMAGEOBJ_METADATA = struct_FPDF_IMAGEOBJ_METADATA
  1368. # ./fpdf_edit.h: 102
  1369. FPDF_CreateNewDocument = _libs['pdfium']['FPDF_CreateNewDocument']
  1370. FPDF_CreateNewDocument.argtypes = ()
  1371. FPDF_CreateNewDocument.restype = FPDF_DOCUMENT
  1372. # ./fpdf_edit.h: 117
  1373. FPDFPage_New = _libs['pdfium']['FPDFPage_New']
  1374. FPDFPage_New.argtypes = (FPDF_DOCUMENT, c_int, c_double, c_double)
  1375. FPDFPage_New.restype = FPDF_PAGE
  1376. # ./fpdf_edit.h: 126
  1377. FPDFPage_Delete = _libs['pdfium']['FPDFPage_Delete']
  1378. FPDFPage_Delete.argtypes = (FPDF_DOCUMENT, c_int)
  1379. FPDFPage_Delete.restype = None
  1380. # ./fpdf_edit.h: 156
  1381. FPDF_MovePages = _libs['pdfium']['FPDF_MovePages']
  1382. FPDF_MovePages.argtypes = (FPDF_DOCUMENT, POINTER(c_int), c_ulong, c_int)
  1383. FPDF_MovePages.restype = FPDF_BOOL
  1384. # ./fpdf_edit.h: 170
  1385. FPDFPage_GetRotation = _libs['pdfium']['FPDFPage_GetRotation']
  1386. FPDFPage_GetRotation.argtypes = (FPDF_PAGE, )
  1387. FPDFPage_GetRotation.restype = c_int
  1388. # ./fpdf_edit.h: 180
  1389. FPDFPage_SetRotation = _libs['pdfium']['FPDFPage_SetRotation']
  1390. FPDFPage_SetRotation.argtypes = (FPDF_PAGE, c_int)
  1391. FPDFPage_SetRotation.restype = None
  1392. # ./fpdf_edit.h: 188
  1393. FPDFPage_InsertObject = _libs['pdfium']['FPDFPage_InsertObject']
  1394. FPDFPage_InsertObject.argtypes = (FPDF_PAGE, FPDF_PAGEOBJECT)
  1395. FPDFPage_InsertObject.restype = None
  1396. # ./fpdf_edit.h: 204
  1397. FPDFPage_InsertObjectAtIndex = _libs['pdfium']['FPDFPage_InsertObjectAtIndex']
  1398. FPDFPage_InsertObjectAtIndex.argtypes = (FPDF_PAGE, FPDF_PAGEOBJECT, c_size_t)
  1399. FPDFPage_InsertObjectAtIndex.restype = FPDF_BOOL
  1400. # ./fpdf_edit.h: 221
  1401. FPDFPage_RemoveObject = _libs['pdfium']['FPDFPage_RemoveObject']
  1402. FPDFPage_RemoveObject.argtypes = (FPDF_PAGE, FPDF_PAGEOBJECT)
  1403. FPDFPage_RemoveObject.restype = FPDF_BOOL
  1404. # ./fpdf_edit.h: 228
  1405. FPDFPage_CountObjects = _libs['pdfium']['FPDFPage_CountObjects']
  1406. FPDFPage_CountObjects.argtypes = (FPDF_PAGE, )
  1407. FPDFPage_CountObjects.restype = c_int
  1408. # ./fpdf_edit.h: 236
  1409. FPDFPage_GetObject = _libs['pdfium']['FPDFPage_GetObject']
  1410. FPDFPage_GetObject.argtypes = (FPDF_PAGE, c_int)
  1411. FPDFPage_GetObject.restype = FPDF_PAGEOBJECT
  1412. # ./fpdf_edit.h: 244
  1413. FPDFPage_HasTransparency = _libs['pdfium']['FPDFPage_HasTransparency']
  1414. FPDFPage_HasTransparency.argtypes = (FPDF_PAGE, )
  1415. FPDFPage_HasTransparency.restype = FPDF_BOOL
  1416. # ./fpdf_edit.h: 254
  1417. FPDFPage_GenerateContent = _libs['pdfium']['FPDFPage_GenerateContent']
  1418. FPDFPage_GenerateContent.argtypes = (FPDF_PAGE, )
  1419. FPDFPage_GenerateContent.restype = FPDF_BOOL
  1420. # ./fpdf_edit.h: 263
  1421. FPDFPageObj_Destroy = _libs['pdfium']['FPDFPageObj_Destroy']
  1422. FPDFPageObj_Destroy.argtypes = (FPDF_PAGEOBJECT, )
  1423. FPDFPageObj_Destroy.restype = None
  1424. # ./fpdf_edit.h: 271
  1425. FPDFPageObj_HasTransparency = _libs['pdfium']['FPDFPageObj_HasTransparency']
  1426. FPDFPageObj_HasTransparency.argtypes = (FPDF_PAGEOBJECT, )
  1427. FPDFPageObj_HasTransparency.restype = FPDF_BOOL
  1428. # ./fpdf_edit.h: 279
  1429. FPDFPageObj_GetType = _libs['pdfium']['FPDFPageObj_GetType']
  1430. FPDFPageObj_GetType.argtypes = (FPDF_PAGEOBJECT, )
  1431. FPDFPageObj_GetType.restype = c_int
  1432. # ./fpdf_edit.h: 295
  1433. FPDFPageObj_GetIsActive = _libs['pdfium']['FPDFPageObj_GetIsActive']
  1434. FPDFPageObj_GetIsActive.argtypes = (FPDF_PAGEOBJECT, POINTER(FPDF_BOOL))
  1435. FPDFPageObj_GetIsActive.restype = FPDF_BOOL
  1436. # ./fpdf_edit.h: 311
  1437. FPDFPageObj_SetIsActive = _libs['pdfium']['FPDFPageObj_SetIsActive']
  1438. FPDFPageObj_SetIsActive.argtypes = (FPDF_PAGEOBJECT, FPDF_BOOL)
  1439. FPDFPageObj_SetIsActive.restype = FPDF_BOOL
  1440. # ./fpdf_edit.h: 328
  1441. FPDFPageObj_Transform = _libs['pdfium']['FPDFPageObj_Transform']
  1442. FPDFPageObj_Transform.argtypes = (FPDF_PAGEOBJECT, c_double, c_double, c_double, c_double, c_double, c_double)
  1443. FPDFPageObj_Transform.restype = None
  1444. # ./fpdf_edit.h: 349
  1445. FPDFPageObj_TransformF = _libs['pdfium']['FPDFPageObj_TransformF']
  1446. FPDFPageObj_TransformF.argtypes = (FPDF_PAGEOBJECT, POINTER(FS_MATRIX))
  1447. FPDFPageObj_TransformF.restype = FPDF_BOOL
  1448. # ./fpdf_edit.h: 369
  1449. FPDFPageObj_GetMatrix = _libs['pdfium']['FPDFPageObj_GetMatrix']
  1450. FPDFPageObj_GetMatrix.argtypes = (FPDF_PAGEOBJECT, POINTER(FS_MATRIX))
  1451. FPDFPageObj_GetMatrix.restype = FPDF_BOOL
  1452. # ./fpdf_edit.h: 384
  1453. FPDFPageObj_SetMatrix = _libs['pdfium']['FPDFPageObj_SetMatrix']
  1454. FPDFPageObj_SetMatrix.argtypes = (FPDF_PAGEOBJECT, POINTER(FS_MATRIX))
  1455. FPDFPageObj_SetMatrix.restype = FPDF_BOOL
  1456. # ./fpdf_edit.h: 400
  1457. FPDFPage_TransformAnnots = _libs['pdfium']['FPDFPage_TransformAnnots']
  1458. FPDFPage_TransformAnnots.argtypes = (FPDF_PAGE, c_double, c_double, c_double, c_double, c_double, c_double)
  1459. FPDFPage_TransformAnnots.restype = None
  1460. # ./fpdf_edit.h: 414
  1461. FPDFPageObj_NewImageObj = _libs['pdfium']['FPDFPageObj_NewImageObj']
  1462. FPDFPageObj_NewImageObj.argtypes = (FPDF_DOCUMENT, )
  1463. FPDFPageObj_NewImageObj.restype = FPDF_PAGEOBJECT
  1464. # ./fpdf_edit.h: 423
  1465. FPDFPageObj_GetMarkedContentID = _libs['pdfium']['FPDFPageObj_GetMarkedContentID']
  1466. FPDFPageObj_GetMarkedContentID.argtypes = (FPDF_PAGEOBJECT, )
  1467. FPDFPageObj_GetMarkedContentID.restype = c_int
  1468. # ./fpdf_edit.h: 433
  1469. FPDFPageObj_CountMarks = _libs['pdfium']['FPDFPageObj_CountMarks']
  1470. FPDFPageObj_CountMarks.argtypes = (FPDF_PAGEOBJECT, )
  1471. FPDFPageObj_CountMarks.restype = c_int
  1472. # ./fpdf_edit.h: 446
  1473. FPDFPageObj_GetMark = _libs['pdfium']['FPDFPageObj_GetMark']
  1474. FPDFPageObj_GetMark.argtypes = (FPDF_PAGEOBJECT, c_ulong)
  1475. FPDFPageObj_GetMark.restype = FPDF_PAGEOBJECTMARK
  1476. # ./fpdf_edit.h: 459
  1477. FPDFPageObj_AddMark = _libs['pdfium']['FPDFPageObj_AddMark']
  1478. FPDFPageObj_AddMark.argtypes = (FPDF_PAGEOBJECT, FPDF_BYTESTRING)
  1479. FPDFPageObj_AddMark.restype = FPDF_PAGEOBJECTMARK
  1480. # ./fpdf_edit.h: 470
  1481. FPDFPageObj_RemoveMark = _libs['pdfium']['FPDFPageObj_RemoveMark']
  1482. FPDFPageObj_RemoveMark.argtypes = (FPDF_PAGEOBJECT, FPDF_PAGEOBJECTMARK)
  1483. FPDFPageObj_RemoveMark.restype = FPDF_BOOL
  1484. # ./fpdf_edit.h: 487
  1485. FPDFPageObjMark_GetName = _libs['pdfium']['FPDFPageObjMark_GetName']
  1486. FPDFPageObjMark_GetName.argtypes = (FPDF_PAGEOBJECTMARK, POINTER(FPDF_WCHAR), c_ulong, POINTER(c_ulong))
  1487. FPDFPageObjMark_GetName.restype = FPDF_BOOL
  1488. # ./fpdf_edit.h: 500
  1489. FPDFPageObjMark_CountParams = _libs['pdfium']['FPDFPageObjMark_CountParams']
  1490. FPDFPageObjMark_CountParams.argtypes = (FPDF_PAGEOBJECTMARK, )
  1491. FPDFPageObjMark_CountParams.restype = c_int
  1492. # ./fpdf_edit.h: 518
  1493. FPDFPageObjMark_GetParamKey = _libs['pdfium']['FPDFPageObjMark_GetParamKey']
  1494. FPDFPageObjMark_GetParamKey.argtypes = (FPDF_PAGEOBJECTMARK, c_ulong, POINTER(FPDF_WCHAR), c_ulong, POINTER(c_ulong))
  1495. FPDFPageObjMark_GetParamKey.restype = FPDF_BOOL
  1496. # ./fpdf_edit.h: 532
  1497. FPDFPageObjMark_GetParamValueType = _libs['pdfium']['FPDFPageObjMark_GetParamValueType']
  1498. FPDFPageObjMark_GetParamValueType.argtypes = (FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING)
  1499. FPDFPageObjMark_GetParamValueType.restype = FPDF_OBJECT_TYPE
  1500. # ./fpdf_edit.h: 547
  1501. FPDFPageObjMark_GetParamIntValue = _libs['pdfium']['FPDFPageObjMark_GetParamIntValue']
  1502. FPDFPageObjMark_GetParamIntValue.argtypes = (FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, POINTER(c_int))
  1503. FPDFPageObjMark_GetParamIntValue.restype = FPDF_BOOL
  1504. # ./fpdf_edit.h: 563
  1505. FPDFPageObjMark_GetParamFloatValue = _libs['pdfium']['FPDFPageObjMark_GetParamFloatValue']
  1506. FPDFPageObjMark_GetParamFloatValue.argtypes = (FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, POINTER(c_float))
  1507. FPDFPageObjMark_GetParamFloatValue.restype = FPDF_BOOL
  1508. # ./fpdf_edit.h: 583
  1509. FPDFPageObjMark_GetParamStringValue = _libs['pdfium']['FPDFPageObjMark_GetParamStringValue']
  1510. FPDFPageObjMark_GetParamStringValue.argtypes = (FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, POINTER(FPDF_WCHAR), c_ulong, POINTER(c_ulong))
  1511. FPDFPageObjMark_GetParamStringValue.restype = FPDF_BOOL
  1512. # ./fpdf_edit.h: 605
  1513. FPDFPageObjMark_GetParamBlobValue = _libs['pdfium']['FPDFPageObjMark_GetParamBlobValue']
  1514. FPDFPageObjMark_GetParamBlobValue.argtypes = (FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, POINTER(c_ubyte), c_ulong, POINTER(c_ulong))
  1515. FPDFPageObjMark_GetParamBlobValue.restype = FPDF_BOOL
  1516. # ./fpdf_edit.h: 624
  1517. FPDFPageObjMark_SetIntParam = _libs['pdfium']['FPDFPageObjMark_SetIntParam']
  1518. FPDFPageObjMark_SetIntParam.argtypes = (FPDF_DOCUMENT, FPDF_PAGEOBJECT, FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, c_int)
  1519. FPDFPageObjMark_SetIntParam.restype = FPDF_BOOL
  1520. # ./fpdf_edit.h: 643
  1521. FPDFPageObjMark_SetFloatParam = _libs['pdfium']['FPDFPageObjMark_SetFloatParam']
  1522. FPDFPageObjMark_SetFloatParam.argtypes = (FPDF_DOCUMENT, FPDF_PAGEOBJECT, FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, c_float)
  1523. FPDFPageObjMark_SetFloatParam.restype = FPDF_BOOL
  1524. # ./fpdf_edit.h: 662
  1525. FPDFPageObjMark_SetStringParam = _libs['pdfium']['FPDFPageObjMark_SetStringParam']
  1526. FPDFPageObjMark_SetStringParam.argtypes = (FPDF_DOCUMENT, FPDF_PAGEOBJECT, FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, FPDF_BYTESTRING)
  1527. FPDFPageObjMark_SetStringParam.restype = FPDF_BOOL
  1528. # ./fpdf_edit.h: 682
  1529. FPDFPageObjMark_SetBlobParam = _libs['pdfium']['FPDFPageObjMark_SetBlobParam']
  1530. FPDFPageObjMark_SetBlobParam.argtypes = (FPDF_DOCUMENT, FPDF_PAGEOBJECT, FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING, POINTER(c_ubyte), c_ulong)
  1531. FPDFPageObjMark_SetBlobParam.restype = FPDF_BOOL
  1532. # ./fpdf_edit.h: 698
  1533. FPDFPageObjMark_RemoveParam = _libs['pdfium']['FPDFPageObjMark_RemoveParam']
  1534. FPDFPageObjMark_RemoveParam.argtypes = (FPDF_PAGEOBJECT, FPDF_PAGEOBJECTMARK, FPDF_BYTESTRING)
  1535. FPDFPageObjMark_RemoveParam.restype = FPDF_BOOL
  1536. # ./fpdf_edit.h: 717
  1537. FPDFImageObj_LoadJpegFile = _libs['pdfium']['FPDFImageObj_LoadJpegFile']
  1538. FPDFImageObj_LoadJpegFile.argtypes = (POINTER(FPDF_PAGE), c_int, FPDF_PAGEOBJECT, POINTER(FPDF_FILEACCESS))
  1539. FPDFImageObj_LoadJpegFile.restype = FPDF_BOOL
  1540. # ./fpdf_edit.h: 739
  1541. FPDFImageObj_LoadJpegFileInline = _libs['pdfium']['FPDFImageObj_LoadJpegFileInline']
  1542. FPDFImageObj_LoadJpegFileInline.argtypes = (POINTER(FPDF_PAGE), c_int, FPDF_PAGEOBJECT, POINTER(FPDF_FILEACCESS))
  1543. FPDFImageObj_LoadJpegFileInline.restype = FPDF_BOOL
  1544. # ./fpdf_edit.h: 763
  1545. FPDFImageObj_SetMatrix = _libs['pdfium']['FPDFImageObj_SetMatrix']
  1546. FPDFImageObj_SetMatrix.argtypes = (FPDF_PAGEOBJECT, c_double, c_double, c_double, c_double, c_double, c_double)
  1547. FPDFImageObj_SetMatrix.restype = FPDF_BOOL
  1548. # ./fpdf_edit.h: 780
  1549. FPDFImageObj_SetBitmap = _libs['pdfium']['FPDFImageObj_SetBitmap']
  1550. FPDFImageObj_SetBitmap.argtypes = (POINTER(FPDF_PAGE), c_int, FPDF_PAGEOBJECT, FPDF_BITMAP)
  1551. FPDFImageObj_SetBitmap.restype = FPDF_BOOL
  1552. # ./fpdf_edit.h: 795
  1553. FPDFImageObj_GetBitmap = _libs['pdfium']['FPDFImageObj_GetBitmap']
  1554. FPDFImageObj_GetBitmap.argtypes = (FPDF_PAGEOBJECT, )
  1555. FPDFImageObj_GetBitmap.restype = FPDF_BITMAP
  1556. # ./fpdf_edit.h: 811
  1557. FPDFImageObj_GetRenderedBitmap = _libs['pdfium']['FPDFImageObj_GetRenderedBitmap']
  1558. FPDFImageObj_GetRenderedBitmap.argtypes = (FPDF_DOCUMENT, FPDF_PAGE, FPDF_PAGEOBJECT)
  1559. FPDFImageObj_GetRenderedBitmap.restype = FPDF_BITMAP
  1560. # ./fpdf_edit.h: 826
  1561. FPDFImageObj_GetImageDataDecoded = _libs['pdfium']['FPDFImageObj_GetImageDataDecoded']
  1562. FPDFImageObj_GetImageDataDecoded.argtypes = (FPDF_PAGEOBJECT, POINTER(None), c_ulong)
  1563. FPDFImageObj_GetImageDataDecoded.restype = c_ulong
  1564. # ./fpdf_edit.h: 840
  1565. FPDFImageObj_GetImageDataRaw = _libs['pdfium']['FPDFImageObj_GetImageDataRaw']
  1566. FPDFImageObj_GetImageDataRaw.argtypes = (FPDF_PAGEOBJECT, POINTER(None), c_ulong)
  1567. FPDFImageObj_GetImageDataRaw.restype = c_ulong
  1568. # ./fpdf_edit.h: 850
  1569. FPDFImageObj_GetImageFilterCount = _libs['pdfium']['FPDFImageObj_GetImageFilterCount']
  1570. FPDFImageObj_GetImageFilterCount.argtypes = (FPDF_PAGEOBJECT, )
  1571. FPDFImageObj_GetImageFilterCount.restype = c_int
  1572. # ./fpdf_edit.h: 864
  1573. FPDFImageObj_GetImageFilter = _libs['pdfium']['FPDFImageObj_GetImageFilter']
  1574. FPDFImageObj_GetImageFilter.argtypes = (FPDF_PAGEOBJECT, c_int, POINTER(None), c_ulong)
  1575. FPDFImageObj_GetImageFilter.restype = c_ulong
  1576. # ./fpdf_edit.h: 881
  1577. FPDFImageObj_GetImageMetadata = _libs['pdfium']['FPDFImageObj_GetImageMetadata']
  1578. FPDFImageObj_GetImageMetadata.argtypes = (FPDF_PAGEOBJECT, FPDF_PAGE, POINTER(FPDF_IMAGEOBJ_METADATA))
  1579. FPDFImageObj_GetImageMetadata.restype = FPDF_BOOL
  1580. # ./fpdf_edit.h: 894
  1581. FPDFImageObj_GetImagePixelSize = _libs['pdfium']['FPDFImageObj_GetImagePixelSize']
  1582. FPDFImageObj_GetImagePixelSize.argtypes = (FPDF_PAGEOBJECT, POINTER(c_uint), POINTER(c_uint))
  1583. FPDFImageObj_GetImagePixelSize.restype = FPDF_BOOL
  1584. # ./fpdf_edit.h: 917
  1585. FPDFImageObj_GetIccProfileDataDecoded = _libs['pdfium']['FPDFImageObj_GetIccProfileDataDecoded']
  1586. FPDFImageObj_GetIccProfileDataDecoded.argtypes = (FPDF_PAGEOBJECT, FPDF_PAGE, POINTER(uint8_t), c_size_t, POINTER(c_size_t))
  1587. FPDFImageObj_GetIccProfileDataDecoded.restype = FPDF_BOOL
  1588. # ./fpdf_edit.h: 929
  1589. FPDFPageObj_CreateNewPath = _libs['pdfium']['FPDFPageObj_CreateNewPath']
  1590. FPDFPageObj_CreateNewPath.argtypes = (c_float, c_float)
  1591. FPDFPageObj_CreateNewPath.restype = FPDF_PAGEOBJECT
  1592. # ./fpdf_edit.h: 940
  1593. FPDFPageObj_CreateNewRect = _libs['pdfium']['FPDFPageObj_CreateNewRect']
  1594. FPDFPageObj_CreateNewRect.argtypes = (c_float, c_float, c_float, c_float)
  1595. FPDFPageObj_CreateNewRect.restype = FPDF_PAGEOBJECT
  1596. # ./fpdf_edit.h: 955
  1597. FPDFPageObj_GetBounds = _libs['pdfium']['FPDFPageObj_GetBounds']
  1598. FPDFPageObj_GetBounds.argtypes = (FPDF_PAGEOBJECT, POINTER(c_float), POINTER(c_float), POINTER(c_float), POINTER(c_float))
  1599. FPDFPageObj_GetBounds.restype = FPDF_BOOL
  1600. # ./fpdf_edit.h: 977
  1601. FPDFPageObj_GetRotatedBounds = _libs['pdfium']['FPDFPageObj_GetRotatedBounds']
  1602. FPDFPageObj_GetRotatedBounds.argtypes = (FPDF_PAGEOBJECT, POINTER(FS_QUADPOINTSF))
  1603. FPDFPageObj_GetRotatedBounds.restype = FPDF_BOOL
  1604. # ./fpdf_edit.h: 989
  1605. FPDFPageObj_SetBlendMode = _libs['pdfium']['FPDFPageObj_SetBlendMode']
  1606. FPDFPageObj_SetBlendMode.argtypes = (FPDF_PAGEOBJECT, FPDF_BYTESTRING)
  1607. FPDFPageObj_SetBlendMode.restype = None
  1608. # ./fpdf_edit.h: 1002
  1609. FPDFPageObj_SetStrokeColor = _libs['pdfium']['FPDFPageObj_SetStrokeColor']
  1610. FPDFPageObj_SetStrokeColor.argtypes = (FPDF_PAGEOBJECT, c_uint, c_uint, c_uint, c_uint)
  1611. FPDFPageObj_SetStrokeColor.restype = FPDF_BOOL
  1612. # ./fpdf_edit.h: 1018
  1613. FPDFPageObj_GetStrokeColor = _libs['pdfium']['FPDFPageObj_GetStrokeColor']
  1614. FPDFPageObj_GetStrokeColor.argtypes = (FPDF_PAGEOBJECT, POINTER(c_uint), POINTER(c_uint), POINTER(c_uint), POINTER(c_uint))
  1615. FPDFPageObj_GetStrokeColor.restype = FPDF_BOOL
  1616. # ./fpdf_edit.h: 1031
  1617. FPDFPageObj_SetStrokeWidth = _libs['pdfium']['FPDFPageObj_SetStrokeWidth']
  1618. FPDFPageObj_SetStrokeWidth.argtypes = (FPDF_PAGEOBJECT, c_float)
  1619. FPDFPageObj_SetStrokeWidth.restype = FPDF_BOOL
  1620. # ./fpdf_edit.h: 1040
  1621. FPDFPageObj_GetStrokeWidth = _libs['pdfium']['FPDFPageObj_GetStrokeWidth']
  1622. FPDFPageObj_GetStrokeWidth.argtypes = (FPDF_PAGEOBJECT, POINTER(c_float))
  1623. FPDFPageObj_GetStrokeWidth.restype = FPDF_BOOL
  1624. # ./fpdf_edit.h: 1050
  1625. FPDFPageObj_GetLineJoin = _libs['pdfium']['FPDFPageObj_GetLineJoin']
  1626. FPDFPageObj_GetLineJoin.argtypes = (FPDF_PAGEOBJECT, )
  1627. FPDFPageObj_GetLineJoin.restype = c_int
  1628. # ./fpdf_edit.h: 1060
  1629. FPDFPageObj_SetLineJoin = _libs['pdfium']['FPDFPageObj_SetLineJoin']
  1630. FPDFPageObj_SetLineJoin.argtypes = (FPDF_PAGEOBJECT, c_int)
  1631. FPDFPageObj_SetLineJoin.restype = FPDF_BOOL
  1632. # ./fpdf_edit.h: 1070
  1633. FPDFPageObj_GetLineCap = _libs['pdfium']['FPDFPageObj_GetLineCap']
  1634. FPDFPageObj_GetLineCap.argtypes = (FPDF_PAGEOBJECT, )
  1635. FPDFPageObj_GetLineCap.restype = c_int
  1636. # ./fpdf_edit.h: 1080
  1637. FPDFPageObj_SetLineCap = _libs['pdfium']['FPDFPageObj_SetLineCap']
  1638. FPDFPageObj_SetLineCap.argtypes = (FPDF_PAGEOBJECT, c_int)
  1639. FPDFPageObj_SetLineCap.restype = FPDF_BOOL
  1640. # ./fpdf_edit.h: 1092
  1641. FPDFPageObj_SetFillColor = _libs['pdfium']['FPDFPageObj_SetFillColor']
  1642. FPDFPageObj_SetFillColor.argtypes = (FPDF_PAGEOBJECT, c_uint, c_uint, c_uint, c_uint)
  1643. FPDFPageObj_SetFillColor.restype = FPDF_BOOL
  1644. # ./fpdf_edit.h: 1108
  1645. FPDFPageObj_GetFillColor = _libs['pdfium']['FPDFPageObj_GetFillColor']
  1646. FPDFPageObj_GetFillColor.argtypes = (FPDF_PAGEOBJECT, POINTER(c_uint), POINTER(c_uint), POINTER(c_uint), POINTER(c_uint))
  1647. FPDFPageObj_GetFillColor.restype = FPDF_BOOL
  1648. # ./fpdf_edit.h: 1122
  1649. FPDFPageObj_GetDashPhase = _libs['pdfium']['FPDFPageObj_GetDashPhase']
  1650. FPDFPageObj_GetDashPhase.argtypes = (FPDF_PAGEOBJECT, POINTER(c_float))
  1651. FPDFPageObj_GetDashPhase.restype = FPDF_BOOL
  1652. # ./fpdf_edit.h: 1132
  1653. FPDFPageObj_SetDashPhase = _libs['pdfium']['FPDFPageObj_SetDashPhase']
  1654. FPDFPageObj_SetDashPhase.argtypes = (FPDF_PAGEOBJECT, c_float)
  1655. FPDFPageObj_SetDashPhase.restype = FPDF_BOOL
  1656. # ./fpdf_edit.h: 1141
  1657. FPDFPageObj_GetDashCount = _libs['pdfium']['FPDFPageObj_GetDashCount']
  1658. FPDFPageObj_GetDashCount.argtypes = (FPDF_PAGEOBJECT, )
  1659. FPDFPageObj_GetDashCount.restype = c_int
  1660. # ./fpdf_edit.h: 1152
  1661. FPDFPageObj_GetDashArray = _libs['pdfium']['FPDFPageObj_GetDashArray']
  1662. FPDFPageObj_GetDashArray.argtypes = (FPDF_PAGEOBJECT, POINTER(c_float), c_size_t)
  1663. FPDFPageObj_GetDashArray.restype = FPDF_BOOL
  1664. # ./fpdf_edit.h: 1166
  1665. FPDFPageObj_SetDashArray = _libs['pdfium']['FPDFPageObj_SetDashArray']
  1666. FPDFPageObj_SetDashArray.argtypes = (FPDF_PAGEOBJECT, POINTER(c_float), c_size_t, c_float)
  1667. FPDFPageObj_SetDashArray.restype = FPDF_BOOL
  1668. # ./fpdf_edit.h: 1179
  1669. FPDFPath_CountSegments = _libs['pdfium']['FPDFPath_CountSegments']
  1670. FPDFPath_CountSegments.argtypes = (FPDF_PAGEOBJECT, )
  1671. FPDFPath_CountSegments.restype = c_int
  1672. # ./fpdf_edit.h: 1188
  1673. FPDFPath_GetPathSegment = _libs['pdfium']['FPDFPath_GetPathSegment']
  1674. FPDFPath_GetPathSegment.argtypes = (FPDF_PAGEOBJECT, c_int)
  1675. FPDFPath_GetPathSegment.restype = FPDF_PATHSEGMENT
  1676. # ./fpdf_edit.h: 1198
  1677. FPDFPathSegment_GetPoint = _libs['pdfium']['FPDFPathSegment_GetPoint']
  1678. FPDFPathSegment_GetPoint.argtypes = (FPDF_PATHSEGMENT, POINTER(c_float), POINTER(c_float))
  1679. FPDFPathSegment_GetPoint.restype = FPDF_BOOL
  1680. # ./fpdf_edit.h: 1206
  1681. FPDFPathSegment_GetType = _libs['pdfium']['FPDFPathSegment_GetType']
  1682. FPDFPathSegment_GetType.argtypes = (FPDF_PATHSEGMENT, )
  1683. FPDFPathSegment_GetType.restype = c_int
  1684. # ./fpdf_edit.h: 1214
  1685. FPDFPathSegment_GetClose = _libs['pdfium']['FPDFPathSegment_GetClose']
  1686. FPDFPathSegment_GetClose.argtypes = (FPDF_PATHSEGMENT, )
  1687. FPDFPathSegment_GetClose.restype = FPDF_BOOL
  1688. # ./fpdf_edit.h: 1226
  1689. FPDFPath_MoveTo = _libs['pdfium']['FPDFPath_MoveTo']
  1690. FPDFPath_MoveTo.argtypes = (FPDF_PAGEOBJECT, c_float, c_float)
  1691. FPDFPath_MoveTo.restype = FPDF_BOOL
  1692. # ./fpdf_edit.h: 1239
  1693. FPDFPath_LineTo = _libs['pdfium']['FPDFPath_LineTo']
  1694. FPDFPath_LineTo.argtypes = (FPDF_PAGEOBJECT, c_float, c_float)
  1695. FPDFPath_LineTo.restype = FPDF_BOOL
  1696. # ./fpdf_edit.h: 1254
  1697. FPDFPath_BezierTo = _libs['pdfium']['FPDFPath_BezierTo']
  1698. FPDFPath_BezierTo.argtypes = (FPDF_PAGEOBJECT, c_float, c_float, c_float, c_float, c_float, c_float)
  1699. FPDFPath_BezierTo.restype = FPDF_BOOL
  1700. # ./fpdf_edit.h: 1270
  1701. FPDFPath_Close = _libs['pdfium']['FPDFPath_Close']
  1702. FPDFPath_Close.argtypes = (FPDF_PAGEOBJECT, )
  1703. FPDFPath_Close.restype = FPDF_BOOL
  1704. # ./fpdf_edit.h: 1279
  1705. FPDFPath_SetDrawMode = _libs['pdfium']['FPDFPath_SetDrawMode']
  1706. FPDFPath_SetDrawMode.argtypes = (FPDF_PAGEOBJECT, c_int, FPDF_BOOL)
  1707. FPDFPath_SetDrawMode.restype = FPDF_BOOL
  1708. # ./fpdf_edit.h: 1290
  1709. FPDFPath_GetDrawMode = _libs['pdfium']['FPDFPath_GetDrawMode']
  1710. FPDFPath_GetDrawMode.argtypes = (FPDF_PAGEOBJECT, POINTER(c_int), POINTER(FPDF_BOOL))
  1711. FPDFPath_GetDrawMode.restype = FPDF_BOOL
  1712. # ./fpdf_edit.h: 1302
  1713. FPDFPageObj_NewTextObj = _libs['pdfium']['FPDFPageObj_NewTextObj']
  1714. FPDFPageObj_NewTextObj.argtypes = (FPDF_DOCUMENT, FPDF_BYTESTRING, c_float)
  1715. FPDFPageObj_NewTextObj.restype = FPDF_PAGEOBJECT
  1716. # ./fpdf_edit.h: 1313
  1717. FPDFText_SetText = _libs['pdfium']['FPDFText_SetText']
  1718. FPDFText_SetText.argtypes = (FPDF_PAGEOBJECT, FPDF_WIDESTRING)
  1719. FPDFText_SetText.restype = FPDF_BOOL
  1720. # ./fpdf_edit.h: 1325
  1721. FPDFText_SetCharcodes = _libs['pdfium']['FPDFText_SetCharcodes']
  1722. FPDFText_SetCharcodes.argtypes = (FPDF_PAGEOBJECT, POINTER(uint32_t), c_size_t)
  1723. FPDFText_SetCharcodes.restype = FPDF_BOOL
  1724. # ./fpdf_edit.h: 1342
  1725. FPDFText_LoadFont = _libs['pdfium']['FPDFText_LoadFont']
  1726. FPDFText_LoadFont.argtypes = (FPDF_DOCUMENT, POINTER(uint8_t), uint32_t, c_int, FPDF_BOOL)
  1727. FPDFText_LoadFont.restype = FPDF_FONT
  1728. # ./fpdf_edit.h: 1360
  1729. FPDFText_LoadStandardFont = _libs['pdfium']['FPDFText_LoadStandardFont']
  1730. FPDFText_LoadStandardFont.argtypes = (FPDF_DOCUMENT, FPDF_BYTESTRING)
  1731. FPDFText_LoadStandardFont.restype = FPDF_FONT
  1732. # ./fpdf_edit.h: 1379
  1733. FPDFText_LoadCidType2Font = _libs['pdfium']['FPDFText_LoadCidType2Font']
  1734. FPDFText_LoadCidType2Font.argtypes = (FPDF_DOCUMENT, POINTER(uint8_t), uint32_t, FPDF_BYTESTRING, POINTER(uint8_t), uint32_t)
  1735. FPDFText_LoadCidType2Font.restype = FPDF_FONT
  1736. # ./fpdf_edit.h: 1394
  1737. FPDFTextObj_GetFontSize = _libs['pdfium']['FPDFTextObj_GetFontSize']
  1738. FPDFTextObj_GetFontSize.argtypes = (FPDF_PAGEOBJECT, POINTER(c_float))
  1739. FPDFTextObj_GetFontSize.restype = FPDF_BOOL
  1740. # ./fpdf_edit.h: 1399
  1741. FPDFFont_Close = _libs['pdfium']['FPDFFont_Close']
  1742. FPDFFont_Close.argtypes = (FPDF_FONT, )
  1743. FPDFFont_Close.restype = None
  1744. # ./fpdf_edit.h: 1409
  1745. FPDFPageObj_CreateTextObj = _libs['pdfium']['FPDFPageObj_CreateTextObj']
  1746. FPDFPageObj_CreateTextObj.argtypes = (FPDF_DOCUMENT, FPDF_FONT, c_float)
  1747. FPDFPageObj_CreateTextObj.restype = FPDF_PAGEOBJECT
  1748. # ./fpdf_edit.h: 1420
  1749. FPDFTextObj_GetTextRenderMode = _libs['pdfium']['FPDFTextObj_GetTextRenderMode']
  1750. FPDFTextObj_GetTextRenderMode.argtypes = (FPDF_PAGEOBJECT, )
  1751. FPDFTextObj_GetTextRenderMode.restype = FPDF_TEXT_RENDERMODE
  1752. # ./fpdf_edit.h: 1431
  1753. FPDFTextObj_SetTextRenderMode = _libs['pdfium']['FPDFTextObj_SetTextRenderMode']
  1754. FPDFTextObj_SetTextRenderMode.argtypes = (FPDF_PAGEOBJECT, FPDF_TEXT_RENDERMODE)
  1755. FPDFTextObj_SetTextRenderMode.restype = FPDF_BOOL
  1756. # ./fpdf_edit.h: 1448
  1757. FPDFTextObj_GetText = _libs['pdfium']['FPDFTextObj_GetText']
  1758. FPDFTextObj_GetText.argtypes = (FPDF_PAGEOBJECT, FPDF_TEXTPAGE, POINTER(FPDF_WCHAR), c_ulong)
  1759. FPDFTextObj_GetText.restype = c_ulong
  1760. # ./fpdf_edit.h: 1467
  1761. FPDFTextObj_GetRenderedBitmap = _libs['pdfium']['FPDFTextObj_GetRenderedBitmap']
  1762. FPDFTextObj_GetRenderedBitmap.argtypes = (FPDF_DOCUMENT, FPDF_PAGE, FPDF_PAGEOBJECT, c_float)
  1763. FPDFTextObj_GetRenderedBitmap.restype = FPDF_BITMAP
  1764. # ./fpdf_edit.h: 1478
  1765. FPDFTextObj_GetFont = _libs['pdfium']['FPDFTextObj_GetFont']
  1766. FPDFTextObj_GetFont.argtypes = (FPDF_PAGEOBJECT, )
  1767. FPDFTextObj_GetFont.restype = FPDF_FONT
  1768. # ./fpdf_edit.h: 1494
  1769. FPDFFont_GetBaseFontName = _libs['pdfium']['FPDFFont_GetBaseFontName']
  1770. FPDFFont_GetBaseFontName.argtypes = (FPDF_FONT, POINTER(c_char), c_size_t)
  1771. FPDFFont_GetBaseFontName.restype = c_size_t
  1772. # ./fpdf_edit.h: 1511
  1773. FPDFFont_GetFamilyName = _libs['pdfium']['FPDFFont_GetFamilyName']
  1774. FPDFFont_GetFamilyName.argtypes = (FPDF_FONT, POINTER(c_char), c_size_t)
  1775. FPDFFont_GetFamilyName.restype = c_size_t
  1776. # ./fpdf_edit.h: 1534
  1777. FPDFFont_GetFontData = _libs['pdfium']['FPDFFont_GetFontData']
  1778. FPDFFont_GetFontData.argtypes = (FPDF_FONT, POINTER(uint8_t), c_size_t, POINTER(c_size_t))
  1779. FPDFFont_GetFontData.restype = FPDF_BOOL
  1780. # ./fpdf_edit.h: 1545
  1781. FPDFFont_GetIsEmbedded = _libs['pdfium']['FPDFFont_GetIsEmbedded']
  1782. FPDFFont_GetIsEmbedded.argtypes = (FPDF_FONT, )
  1783. FPDFFont_GetIsEmbedded.restype = c_int
  1784. # ./fpdf_edit.h: 1554
  1785. FPDFFont_GetFlags = _libs['pdfium']['FPDFFont_GetFlags']
  1786. FPDFFont_GetFlags.argtypes = (FPDF_FONT, )
  1787. FPDFFont_GetFlags.restype = c_int
  1788. # ./fpdf_edit.h: 1563
  1789. FPDFFont_GetWeight = _libs['pdfium']['FPDFFont_GetWeight']
  1790. FPDFFont_GetWeight.argtypes = (FPDF_FONT, )
  1791. FPDFFont_GetWeight.restype = c_int
  1792. # ./fpdf_edit.h: 1575
  1793. FPDFFont_GetItalicAngle = _libs['pdfium']['FPDFFont_GetItalicAngle']
  1794. FPDFFont_GetItalicAngle.argtypes = (FPDF_FONT, POINTER(c_int))
  1795. FPDFFont_GetItalicAngle.restype = FPDF_BOOL
  1796. # ./fpdf_edit.h: 1589
  1797. FPDFFont_GetAscent = _libs['pdfium']['FPDFFont_GetAscent']
  1798. FPDFFont_GetAscent.argtypes = (FPDF_FONT, c_float, POINTER(c_float))
  1799. FPDFFont_GetAscent.restype = FPDF_BOOL
  1800. # ./fpdf_edit.h: 1604
  1801. FPDFFont_GetDescent = _libs['pdfium']['FPDFFont_GetDescent']
  1802. FPDFFont_GetDescent.argtypes = (FPDF_FONT, c_float, POINTER(c_float))
  1803. FPDFFont_GetDescent.restype = FPDF_BOOL
  1804. # ./fpdf_edit.h: 1620
  1805. FPDFFont_GetGlyphWidth = _libs['pdfium']['FPDFFont_GetGlyphWidth']
  1806. FPDFFont_GetGlyphWidth.argtypes = (FPDF_FONT, uint32_t, c_float, POINTER(c_float))
  1807. FPDFFont_GetGlyphWidth.restype = FPDF_BOOL
  1808. # ./fpdf_edit.h: 1633
  1809. FPDFFont_GetGlyphPath = _libs['pdfium']['FPDFFont_GetGlyphPath']
  1810. FPDFFont_GetGlyphPath.argtypes = (FPDF_FONT, uint32_t, c_float)
  1811. FPDFFont_GetGlyphPath.restype = FPDF_GLYPHPATH
  1812. # ./fpdf_edit.h: 1644
  1813. FPDFGlyphPath_CountGlyphSegments = _libs['pdfium']['FPDFGlyphPath_CountGlyphSegments']
  1814. FPDFGlyphPath_CountGlyphSegments.argtypes = (FPDF_GLYPHPATH, )
  1815. FPDFGlyphPath_CountGlyphSegments.restype = c_int
  1816. # ./fpdf_edit.h: 1654
  1817. FPDFGlyphPath_GetGlyphPathSegment = _libs['pdfium']['FPDFGlyphPath_GetGlyphPathSegment']
  1818. FPDFGlyphPath_GetGlyphPathSegment.argtypes = (FPDF_GLYPHPATH, c_int)
  1819. FPDFGlyphPath_GetGlyphPathSegment.restype = FPDF_PATHSEGMENT
  1820. # ./fpdf_edit.h: 1662
  1821. FPDFFormObj_CountObjects = _libs['pdfium']['FPDFFormObj_CountObjects']
  1822. FPDFFormObj_CountObjects.argtypes = (FPDF_PAGEOBJECT, )
  1823. FPDFFormObj_CountObjects.restype = c_int
  1824. # ./fpdf_edit.h: 1671
  1825. FPDFFormObj_GetObject = _libs['pdfium']['FPDFFormObj_GetObject']
  1826. FPDFFormObj_GetObject.argtypes = (FPDF_PAGEOBJECT, c_ulong)
  1827. FPDFFormObj_GetObject.restype = FPDF_PAGEOBJECT
  1828. # ./fpdf_edit.h: 1685
  1829. FPDFFormObj_RemoveObject = _libs['pdfium']['FPDFFormObj_RemoveObject']
  1830. FPDFFormObj_RemoveObject.argtypes = (FPDF_PAGEOBJECT, FPDF_PAGEOBJECT)
  1831. FPDFFormObj_RemoveObject.restype = FPDF_BOOL
  1832. # /usr/include/x86_64-linux-gnu/bits/types/time_t.h: 9
  1833. time_t = __time_t
  1834. # /usr/include/x86_64-linux-gnu/bits/types/struct_tm.h: 6
  1835. class struct_tm (Structure):
  1836. __slots__ = ('tm_sec', 'tm_min', 'tm_hour', 'tm_mday', 'tm_mon', 'tm_year', 'tm_wday', 'tm_yday', 'tm_isdst', 'tm_gmtoff', 'tm_zone')
  1837. struct_tm._fields_ = (
  1838. ('tm_sec', c_int),
  1839. ('tm_min', c_int),
  1840. ('tm_hour', c_int),
  1841. ('tm_mday', c_int),
  1842. ('tm_mon', c_int),
  1843. ('tm_year', c_int),
  1844. ('tm_wday', c_int),
  1845. ('tm_yday', c_int),
  1846. ('tm_isdst', c_int),
  1847. ('tm_gmtoff', c_long),
  1848. ('tm_zone', POINTER(c_char)),
  1849. )
  1850. # ./fpdf_ext.h: 51
  1851. class struct__UNSUPPORT_INFO (Structure):
  1852. __slots__ = ('version', 'FSDK_UnSupport_Handler')
  1853. struct__UNSUPPORT_INFO._fields_ = (
  1854. ('version', c_int),
  1855. ('FSDK_UnSupport_Handler', CFUNCTYPE(UNCHECKED(None), POINTER(struct__UNSUPPORT_INFO), c_int)),
  1856. )
  1857. # ./fpdf_ext.h: 62
  1858. UNSUPPORT_INFO = struct__UNSUPPORT_INFO
  1859. # ./fpdf_ext.h: 70
  1860. FSDK_SetUnSpObjProcessHandler = _libs['pdfium']['FSDK_SetUnSpObjProcessHandler']
  1861. FSDK_SetUnSpObjProcessHandler.argtypes = (POINTER(UNSUPPORT_INFO), )
  1862. FSDK_SetUnSpObjProcessHandler.restype = FPDF_BOOL
  1863. # ./fpdf_ext.h: 79
  1864. FSDK_SetTimeFunction = _libs['pdfium']['FSDK_SetTimeFunction']
  1865. FSDK_SetTimeFunction.argtypes = (CFUNCTYPE(UNCHECKED(time_t), ), )
  1866. FSDK_SetTimeFunction.restype = None
  1867. # ./fpdf_ext.h: 89
  1868. FSDK_SetLocaltimeFunction = _libs['pdfium']['FSDK_SetLocaltimeFunction']
  1869. FSDK_SetLocaltimeFunction.argtypes = (CFUNCTYPE(UNCHECKED(POINTER(struct_tm)), POINTER(time_t)), )
  1870. FSDK_SetLocaltimeFunction.restype = None
  1871. # ./fpdf_ext.h: 113
  1872. FPDFDoc_GetPageMode = _libs['pdfium']['FPDFDoc_GetPageMode']
  1873. FPDFDoc_GetPageMode.argtypes = (FPDF_DOCUMENT, )
  1874. FPDFDoc_GetPageMode.restype = c_int
  1875. # ./fpdf_flatten.h: 38
  1876. FPDFPage_Flatten = _libs['pdfium']['FPDFPage_Flatten']
  1877. FPDFPage_Flatten.argtypes = (FPDF_PAGE, c_int)
  1878. FPDFPage_Flatten.restype = c_int
  1879. # ./fpdf_fwlevent.h: 28
  1880. enum_anon_7 = c_int
  1881. # ./fpdf_fwlevent.h: 28
  1882. FWL_EVENTFLAG_ShiftKey = (1 << 0)
  1883. # ./fpdf_fwlevent.h: 28
  1884. FWL_EVENTFLAG_ControlKey = (1 << 1)
  1885. # ./fpdf_fwlevent.h: 28
  1886. FWL_EVENTFLAG_AltKey = (1 << 2)
  1887. # ./fpdf_fwlevent.h: 28
  1888. FWL_EVENTFLAG_MetaKey = (1 << 3)
  1889. # ./fpdf_fwlevent.h: 28
  1890. FWL_EVENTFLAG_KeyPad = (1 << 4)
  1891. # ./fpdf_fwlevent.h: 28
  1892. FWL_EVENTFLAG_AutoRepeat = (1 << 5)
  1893. # ./fpdf_fwlevent.h: 28
  1894. FWL_EVENTFLAG_LeftButtonDown = (1 << 6)
  1895. # ./fpdf_fwlevent.h: 28
  1896. FWL_EVENTFLAG_MiddleButtonDown = (1 << 7)
  1897. # ./fpdf_fwlevent.h: 28
  1898. FWL_EVENTFLAG_RightButtonDown = (1 << 8)
  1899. # ./fpdf_fwlevent.h: 28
  1900. FWL_EVENTFLAG = enum_anon_7
  1901. # ./fpdf_fwlevent.h: 201
  1902. enum_anon_8 = c_int
  1903. # ./fpdf_fwlevent.h: 201
  1904. FWL_VKEY_Back = 0x08
  1905. # ./fpdf_fwlevent.h: 201
  1906. FWL_VKEY_Tab = 0x09
  1907. # ./fpdf_fwlevent.h: 201
  1908. FWL_VKEY_NewLine = 0x0A
  1909. # ./fpdf_fwlevent.h: 201
  1910. FWL_VKEY_Clear = 0x0C
  1911. # ./fpdf_fwlevent.h: 201
  1912. FWL_VKEY_Return = 0x0D
  1913. # ./fpdf_fwlevent.h: 201
  1914. FWL_VKEY_Shift = 0x10
  1915. # ./fpdf_fwlevent.h: 201
  1916. FWL_VKEY_Control = 0x11
  1917. # ./fpdf_fwlevent.h: 201
  1918. FWL_VKEY_Menu = 0x12
  1919. # ./fpdf_fwlevent.h: 201
  1920. FWL_VKEY_Pause = 0x13
  1921. # ./fpdf_fwlevent.h: 201
  1922. FWL_VKEY_Capital = 0x14
  1923. # ./fpdf_fwlevent.h: 201
  1924. FWL_VKEY_Kana = 0x15
  1925. # ./fpdf_fwlevent.h: 201
  1926. FWL_VKEY_Hangul = 0x15
  1927. # ./fpdf_fwlevent.h: 201
  1928. FWL_VKEY_Junja = 0x17
  1929. # ./fpdf_fwlevent.h: 201
  1930. FWL_VKEY_Final = 0x18
  1931. # ./fpdf_fwlevent.h: 201
  1932. FWL_VKEY_Hanja = 0x19
  1933. # ./fpdf_fwlevent.h: 201
  1934. FWL_VKEY_Kanji = 0x19
  1935. # ./fpdf_fwlevent.h: 201
  1936. FWL_VKEY_Escape = 0x1B
  1937. # ./fpdf_fwlevent.h: 201
  1938. FWL_VKEY_Convert = 0x1C
  1939. # ./fpdf_fwlevent.h: 201
  1940. FWL_VKEY_NonConvert = 0x1D
  1941. # ./fpdf_fwlevent.h: 201
  1942. FWL_VKEY_Accept = 0x1E
  1943. # ./fpdf_fwlevent.h: 201
  1944. FWL_VKEY_ModeChange = 0x1F
  1945. # ./fpdf_fwlevent.h: 201
  1946. FWL_VKEY_Space = 0x20
  1947. # ./fpdf_fwlevent.h: 201
  1948. FWL_VKEY_Prior = 0x21
  1949. # ./fpdf_fwlevent.h: 201
  1950. FWL_VKEY_Next = 0x22
  1951. # ./fpdf_fwlevent.h: 201
  1952. FWL_VKEY_End = 0x23
  1953. # ./fpdf_fwlevent.h: 201
  1954. FWL_VKEY_Home = 0x24
  1955. # ./fpdf_fwlevent.h: 201
  1956. FWL_VKEY_Left = 0x25
  1957. # ./fpdf_fwlevent.h: 201
  1958. FWL_VKEY_Up = 0x26
  1959. # ./fpdf_fwlevent.h: 201
  1960. FWL_VKEY_Right = 0x27
  1961. # ./fpdf_fwlevent.h: 201
  1962. FWL_VKEY_Down = 0x28
  1963. # ./fpdf_fwlevent.h: 201
  1964. FWL_VKEY_Select = 0x29
  1965. # ./fpdf_fwlevent.h: 201
  1966. FWL_VKEY_Print = 0x2A
  1967. # ./fpdf_fwlevent.h: 201
  1968. FWL_VKEY_Execute = 0x2B
  1969. # ./fpdf_fwlevent.h: 201
  1970. FWL_VKEY_Snapshot = 0x2C
  1971. # ./fpdf_fwlevent.h: 201
  1972. FWL_VKEY_Insert = 0x2D
  1973. # ./fpdf_fwlevent.h: 201
  1974. FWL_VKEY_Delete = 0x2E
  1975. # ./fpdf_fwlevent.h: 201
  1976. FWL_VKEY_Help = 0x2F
  1977. # ./fpdf_fwlevent.h: 201
  1978. FWL_VKEY_0 = 0x30
  1979. # ./fpdf_fwlevent.h: 201
  1980. FWL_VKEY_1 = 0x31
  1981. # ./fpdf_fwlevent.h: 201
  1982. FWL_VKEY_2 = 0x32
  1983. # ./fpdf_fwlevent.h: 201
  1984. FWL_VKEY_3 = 0x33
  1985. # ./fpdf_fwlevent.h: 201
  1986. FWL_VKEY_4 = 0x34
  1987. # ./fpdf_fwlevent.h: 201
  1988. FWL_VKEY_5 = 0x35
  1989. # ./fpdf_fwlevent.h: 201
  1990. FWL_VKEY_6 = 0x36
  1991. # ./fpdf_fwlevent.h: 201
  1992. FWL_VKEY_7 = 0x37
  1993. # ./fpdf_fwlevent.h: 201
  1994. FWL_VKEY_8 = 0x38
  1995. # ./fpdf_fwlevent.h: 201
  1996. FWL_VKEY_9 = 0x39
  1997. # ./fpdf_fwlevent.h: 201
  1998. FWL_VKEY_A = 0x41
  1999. # ./fpdf_fwlevent.h: 201
  2000. FWL_VKEY_B = 0x42
  2001. # ./fpdf_fwlevent.h: 201
  2002. FWL_VKEY_C = 0x43
  2003. # ./fpdf_fwlevent.h: 201
  2004. FWL_VKEY_D = 0x44
  2005. # ./fpdf_fwlevent.h: 201
  2006. FWL_VKEY_E = 0x45
  2007. # ./fpdf_fwlevent.h: 201
  2008. FWL_VKEY_F = 0x46
  2009. # ./fpdf_fwlevent.h: 201
  2010. FWL_VKEY_G = 0x47
  2011. # ./fpdf_fwlevent.h: 201
  2012. FWL_VKEY_H = 0x48
  2013. # ./fpdf_fwlevent.h: 201
  2014. FWL_VKEY_I = 0x49
  2015. # ./fpdf_fwlevent.h: 201
  2016. FWL_VKEY_J = 0x4A
  2017. # ./fpdf_fwlevent.h: 201
  2018. FWL_VKEY_K = 0x4B
  2019. # ./fpdf_fwlevent.h: 201
  2020. FWL_VKEY_L = 0x4C
  2021. # ./fpdf_fwlevent.h: 201
  2022. FWL_VKEY_M = 0x4D
  2023. # ./fpdf_fwlevent.h: 201
  2024. FWL_VKEY_N = 0x4E
  2025. # ./fpdf_fwlevent.h: 201
  2026. FWL_VKEY_O = 0x4F
  2027. # ./fpdf_fwlevent.h: 201
  2028. FWL_VKEY_P = 0x50
  2029. # ./fpdf_fwlevent.h: 201
  2030. FWL_VKEY_Q = 0x51
  2031. # ./fpdf_fwlevent.h: 201
  2032. FWL_VKEY_R = 0x52
  2033. # ./fpdf_fwlevent.h: 201
  2034. FWL_VKEY_S = 0x53
  2035. # ./fpdf_fwlevent.h: 201
  2036. FWL_VKEY_T = 0x54
  2037. # ./fpdf_fwlevent.h: 201
  2038. FWL_VKEY_U = 0x55
  2039. # ./fpdf_fwlevent.h: 201
  2040. FWL_VKEY_V = 0x56
  2041. # ./fpdf_fwlevent.h: 201
  2042. FWL_VKEY_W = 0x57
  2043. # ./fpdf_fwlevent.h: 201
  2044. FWL_VKEY_X = 0x58
  2045. # ./fpdf_fwlevent.h: 201
  2046. FWL_VKEY_Y = 0x59
  2047. # ./fpdf_fwlevent.h: 201
  2048. FWL_VKEY_Z = 0x5A
  2049. # ./fpdf_fwlevent.h: 201
  2050. FWL_VKEY_LWin = 0x5B
  2051. # ./fpdf_fwlevent.h: 201
  2052. FWL_VKEY_Command = 0x5B
  2053. # ./fpdf_fwlevent.h: 201
  2054. FWL_VKEY_RWin = 0x5C
  2055. # ./fpdf_fwlevent.h: 201
  2056. FWL_VKEY_Apps = 0x5D
  2057. # ./fpdf_fwlevent.h: 201
  2058. FWL_VKEY_Sleep = 0x5F
  2059. # ./fpdf_fwlevent.h: 201
  2060. FWL_VKEY_NumPad0 = 0x60
  2061. # ./fpdf_fwlevent.h: 201
  2062. FWL_VKEY_NumPad1 = 0x61
  2063. # ./fpdf_fwlevent.h: 201
  2064. FWL_VKEY_NumPad2 = 0x62
  2065. # ./fpdf_fwlevent.h: 201
  2066. FWL_VKEY_NumPad3 = 0x63
  2067. # ./fpdf_fwlevent.h: 201
  2068. FWL_VKEY_NumPad4 = 0x64
  2069. # ./fpdf_fwlevent.h: 201
  2070. FWL_VKEY_NumPad5 = 0x65
  2071. # ./fpdf_fwlevent.h: 201
  2072. FWL_VKEY_NumPad6 = 0x66
  2073. # ./fpdf_fwlevent.h: 201
  2074. FWL_VKEY_NumPad7 = 0x67
  2075. # ./fpdf_fwlevent.h: 201
  2076. FWL_VKEY_NumPad8 = 0x68
  2077. # ./fpdf_fwlevent.h: 201
  2078. FWL_VKEY_NumPad9 = 0x69
  2079. # ./fpdf_fwlevent.h: 201
  2080. FWL_VKEY_Multiply = 0x6A
  2081. # ./fpdf_fwlevent.h: 201
  2082. FWL_VKEY_Add = 0x6B
  2083. # ./fpdf_fwlevent.h: 201
  2084. FWL_VKEY_Separator = 0x6C
  2085. # ./fpdf_fwlevent.h: 201
  2086. FWL_VKEY_Subtract = 0x6D
  2087. # ./fpdf_fwlevent.h: 201
  2088. FWL_VKEY_Decimal = 0x6E
  2089. # ./fpdf_fwlevent.h: 201
  2090. FWL_VKEY_Divide = 0x6F
  2091. # ./fpdf_fwlevent.h: 201
  2092. FWL_VKEY_F1 = 0x70
  2093. # ./fpdf_fwlevent.h: 201
  2094. FWL_VKEY_F2 = 0x71
  2095. # ./fpdf_fwlevent.h: 201
  2096. FWL_VKEY_F3 = 0x72
  2097. # ./fpdf_fwlevent.h: 201
  2098. FWL_VKEY_F4 = 0x73
  2099. # ./fpdf_fwlevent.h: 201
  2100. FWL_VKEY_F5 = 0x74
  2101. # ./fpdf_fwlevent.h: 201
  2102. FWL_VKEY_F6 = 0x75
  2103. # ./fpdf_fwlevent.h: 201
  2104. FWL_VKEY_F7 = 0x76
  2105. # ./fpdf_fwlevent.h: 201
  2106. FWL_VKEY_F8 = 0x77
  2107. # ./fpdf_fwlevent.h: 201
  2108. FWL_VKEY_F9 = 0x78
  2109. # ./fpdf_fwlevent.h: 201
  2110. FWL_VKEY_F10 = 0x79
  2111. # ./fpdf_fwlevent.h: 201
  2112. FWL_VKEY_F11 = 0x7A
  2113. # ./fpdf_fwlevent.h: 201
  2114. FWL_VKEY_F12 = 0x7B
  2115. # ./fpdf_fwlevent.h: 201
  2116. FWL_VKEY_F13 = 0x7C
  2117. # ./fpdf_fwlevent.h: 201
  2118. FWL_VKEY_F14 = 0x7D
  2119. # ./fpdf_fwlevent.h: 201
  2120. FWL_VKEY_F15 = 0x7E
  2121. # ./fpdf_fwlevent.h: 201
  2122. FWL_VKEY_F16 = 0x7F
  2123. # ./fpdf_fwlevent.h: 201
  2124. FWL_VKEY_F17 = 0x80
  2125. # ./fpdf_fwlevent.h: 201
  2126. FWL_VKEY_F18 = 0x81
  2127. # ./fpdf_fwlevent.h: 201
  2128. FWL_VKEY_F19 = 0x82
  2129. # ./fpdf_fwlevent.h: 201
  2130. FWL_VKEY_F20 = 0x83
  2131. # ./fpdf_fwlevent.h: 201
  2132. FWL_VKEY_F21 = 0x84
  2133. # ./fpdf_fwlevent.h: 201
  2134. FWL_VKEY_F22 = 0x85
  2135. # ./fpdf_fwlevent.h: 201
  2136. FWL_VKEY_F23 = 0x86
  2137. # ./fpdf_fwlevent.h: 201
  2138. FWL_VKEY_F24 = 0x87
  2139. # ./fpdf_fwlevent.h: 201
  2140. FWL_VKEY_NunLock = 0x90
  2141. # ./fpdf_fwlevent.h: 201
  2142. FWL_VKEY_Scroll = 0x91
  2143. # ./fpdf_fwlevent.h: 201
  2144. FWL_VKEY_LShift = 0xA0
  2145. # ./fpdf_fwlevent.h: 201
  2146. FWL_VKEY_RShift = 0xA1
  2147. # ./fpdf_fwlevent.h: 201
  2148. FWL_VKEY_LControl = 0xA2
  2149. # ./fpdf_fwlevent.h: 201
  2150. FWL_VKEY_RControl = 0xA3
  2151. # ./fpdf_fwlevent.h: 201
  2152. FWL_VKEY_LMenu = 0xA4
  2153. # ./fpdf_fwlevent.h: 201
  2154. FWL_VKEY_RMenu = 0xA5
  2155. # ./fpdf_fwlevent.h: 201
  2156. FWL_VKEY_BROWSER_Back = 0xA6
  2157. # ./fpdf_fwlevent.h: 201
  2158. FWL_VKEY_BROWSER_Forward = 0xA7
  2159. # ./fpdf_fwlevent.h: 201
  2160. FWL_VKEY_BROWSER_Refresh = 0xA8
  2161. # ./fpdf_fwlevent.h: 201
  2162. FWL_VKEY_BROWSER_Stop = 0xA9
  2163. # ./fpdf_fwlevent.h: 201
  2164. FWL_VKEY_BROWSER_Search = 0xAA
  2165. # ./fpdf_fwlevent.h: 201
  2166. FWL_VKEY_BROWSER_Favorites = 0xAB
  2167. # ./fpdf_fwlevent.h: 201
  2168. FWL_VKEY_BROWSER_Home = 0xAC
  2169. # ./fpdf_fwlevent.h: 201
  2170. FWL_VKEY_VOLUME_Mute = 0xAD
  2171. # ./fpdf_fwlevent.h: 201
  2172. FWL_VKEY_VOLUME_Down = 0xAE
  2173. # ./fpdf_fwlevent.h: 201
  2174. FWL_VKEY_VOLUME_Up = 0xAF
  2175. # ./fpdf_fwlevent.h: 201
  2176. FWL_VKEY_MEDIA_NEXT_Track = 0xB0
  2177. # ./fpdf_fwlevent.h: 201
  2178. FWL_VKEY_MEDIA_PREV_Track = 0xB1
  2179. # ./fpdf_fwlevent.h: 201
  2180. FWL_VKEY_MEDIA_Stop = 0xB2
  2181. # ./fpdf_fwlevent.h: 201
  2182. FWL_VKEY_MEDIA_PLAY_Pause = 0xB3
  2183. # ./fpdf_fwlevent.h: 201
  2184. FWL_VKEY_MEDIA_LAUNCH_Mail = 0xB4
  2185. # ./fpdf_fwlevent.h: 201
  2186. FWL_VKEY_MEDIA_LAUNCH_MEDIA_Select = 0xB5
  2187. # ./fpdf_fwlevent.h: 201
  2188. FWL_VKEY_MEDIA_LAUNCH_APP1 = 0xB6
  2189. # ./fpdf_fwlevent.h: 201
  2190. FWL_VKEY_MEDIA_LAUNCH_APP2 = 0xB7
  2191. # ./fpdf_fwlevent.h: 201
  2192. FWL_VKEY_OEM_1 = 0xBA
  2193. # ./fpdf_fwlevent.h: 201
  2194. FWL_VKEY_OEM_Plus = 0xBB
  2195. # ./fpdf_fwlevent.h: 201
  2196. FWL_VKEY_OEM_Comma = 0xBC
  2197. # ./fpdf_fwlevent.h: 201
  2198. FWL_VKEY_OEM_Minus = 0xBD
  2199. # ./fpdf_fwlevent.h: 201
  2200. FWL_VKEY_OEM_Period = 0xBE
  2201. # ./fpdf_fwlevent.h: 201
  2202. FWL_VKEY_OEM_2 = 0xBF
  2203. # ./fpdf_fwlevent.h: 201
  2204. FWL_VKEY_OEM_3 = 0xC0
  2205. # ./fpdf_fwlevent.h: 201
  2206. FWL_VKEY_OEM_4 = 0xDB
  2207. # ./fpdf_fwlevent.h: 201
  2208. FWL_VKEY_OEM_5 = 0xDC
  2209. # ./fpdf_fwlevent.h: 201
  2210. FWL_VKEY_OEM_6 = 0xDD
  2211. # ./fpdf_fwlevent.h: 201
  2212. FWL_VKEY_OEM_7 = 0xDE
  2213. # ./fpdf_fwlevent.h: 201
  2214. FWL_VKEY_OEM_8 = 0xDF
  2215. # ./fpdf_fwlevent.h: 201
  2216. FWL_VKEY_OEM_102 = 0xE2
  2217. # ./fpdf_fwlevent.h: 201
  2218. FWL_VKEY_ProcessKey = 0xE5
  2219. # ./fpdf_fwlevent.h: 201
  2220. FWL_VKEY_Packet = 0xE7
  2221. # ./fpdf_fwlevent.h: 201
  2222. FWL_VKEY_Attn = 0xF6
  2223. # ./fpdf_fwlevent.h: 201
  2224. FWL_VKEY_Crsel = 0xF7
  2225. # ./fpdf_fwlevent.h: 201
  2226. FWL_VKEY_Exsel = 0xF8
  2227. # ./fpdf_fwlevent.h: 201
  2228. FWL_VKEY_Ereof = 0xF9
  2229. # ./fpdf_fwlevent.h: 201
  2230. FWL_VKEY_Play = 0xFA
  2231. # ./fpdf_fwlevent.h: 201
  2232. FWL_VKEY_Zoom = 0xFB
  2233. # ./fpdf_fwlevent.h: 201
  2234. FWL_VKEY_NoName = 0xFC
  2235. # ./fpdf_fwlevent.h: 201
  2236. FWL_VKEY_PA1 = 0xFD
  2237. # ./fpdf_fwlevent.h: 201
  2238. FWL_VKEY_OEM_Clear = 0xFE
  2239. # ./fpdf_fwlevent.h: 201
  2240. FWL_VKEY_Unknown = 0
  2241. # ./fpdf_fwlevent.h: 201
  2242. FWL_VKEYCODE = enum_anon_8
  2243. # ./fpdf_javascript.h: 22
  2244. FPDFDoc_GetJavaScriptActionCount = _libs['pdfium']['FPDFDoc_GetJavaScriptActionCount']
  2245. FPDFDoc_GetJavaScriptActionCount.argtypes = (FPDF_DOCUMENT, )
  2246. FPDFDoc_GetJavaScriptActionCount.restype = c_int
  2247. # ./fpdf_javascript.h: 34
  2248. FPDFDoc_GetJavaScriptAction = _libs['pdfium']['FPDFDoc_GetJavaScriptAction']
  2249. FPDFDoc_GetJavaScriptAction.argtypes = (FPDF_DOCUMENT, c_int)
  2250. FPDFDoc_GetJavaScriptAction.restype = FPDF_JAVASCRIPT_ACTION
  2251. # ./fpdf_javascript.h: 41
  2252. FPDFDoc_CloseJavaScriptAction = _libs['pdfium']['FPDFDoc_CloseJavaScriptAction']
  2253. FPDFDoc_CloseJavaScriptAction.argtypes = (FPDF_JAVASCRIPT_ACTION, )
  2254. FPDFDoc_CloseJavaScriptAction.restype = None
  2255. # ./fpdf_javascript.h: 54
  2256. FPDFJavaScriptAction_GetName = _libs['pdfium']['FPDFJavaScriptAction_GetName']
  2257. FPDFJavaScriptAction_GetName.argtypes = (FPDF_JAVASCRIPT_ACTION, POINTER(FPDF_WCHAR), c_ulong)
  2258. FPDFJavaScriptAction_GetName.restype = c_ulong
  2259. # ./fpdf_javascript.h: 69
  2260. FPDFJavaScriptAction_GetScript = _libs['pdfium']['FPDFJavaScriptAction_GetScript']
  2261. FPDFJavaScriptAction_GetScript.argtypes = (FPDF_JAVASCRIPT_ACTION, POINTER(FPDF_WCHAR), c_ulong)
  2262. FPDFJavaScriptAction_GetScript.restype = c_ulong
  2263. # ./fpdf_ppo.h: 32
  2264. FPDF_ImportPagesByIndex = _libs['pdfium']['FPDF_ImportPagesByIndex']
  2265. FPDF_ImportPagesByIndex.argtypes = (FPDF_DOCUMENT, FPDF_DOCUMENT, POINTER(c_int), c_ulong, c_int)
  2266. FPDF_ImportPagesByIndex.restype = FPDF_BOOL
  2267. # ./fpdf_ppo.h: 49
  2268. FPDF_ImportPages = _libs['pdfium']['FPDF_ImportPages']
  2269. FPDF_ImportPages.argtypes = (FPDF_DOCUMENT, FPDF_DOCUMENT, FPDF_BYTESTRING, c_int)
  2270. FPDF_ImportPages.restype = FPDF_BOOL
  2271. # ./fpdf_ppo.h: 72
  2272. FPDF_ImportNPagesToOne = _libs['pdfium']['FPDF_ImportNPagesToOne']
  2273. FPDF_ImportNPagesToOne.argtypes = (FPDF_DOCUMENT, c_float, c_float, c_size_t, c_size_t)
  2274. FPDF_ImportNPagesToOne.restype = FPDF_DOCUMENT
  2275. # ./fpdf_ppo.h: 85
  2276. FPDF_NewXObjectFromPage = _libs['pdfium']['FPDF_NewXObjectFromPage']
  2277. FPDF_NewXObjectFromPage.argtypes = (FPDF_DOCUMENT, FPDF_DOCUMENT, c_int)
  2278. FPDF_NewXObjectFromPage.restype = FPDF_XOBJECT
  2279. # ./fpdf_ppo.h: 92
  2280. FPDF_CloseXObject = _libs['pdfium']['FPDF_CloseXObject']
  2281. FPDF_CloseXObject.argtypes = (FPDF_XOBJECT, )
  2282. FPDF_CloseXObject.restype = None
  2283. # ./fpdf_ppo.h: 100
  2284. FPDF_NewFormObjectFromXObject = _libs['pdfium']['FPDF_NewFormObjectFromXObject']
  2285. FPDF_NewFormObjectFromXObject.argtypes = (FPDF_XOBJECT, )
  2286. FPDF_NewFormObjectFromXObject.restype = FPDF_PAGEOBJECT
  2287. # ./fpdf_ppo.h: 109
  2288. FPDF_CopyViewerPreferences = _libs['pdfium']['FPDF_CopyViewerPreferences']
  2289. FPDF_CopyViewerPreferences.argtypes = (FPDF_DOCUMENT, FPDF_DOCUMENT)
  2290. FPDF_CopyViewerPreferences.restype = FPDF_BOOL
  2291. # ./fpdf_progressive.h: 20
  2292. class struct__IFSDK_PAUSE (Structure):
  2293. __slots__ = ('version', 'NeedToPauseNow', 'user')
  2294. struct__IFSDK_PAUSE._fields_ = (
  2295. ('version', c_int),
  2296. ('NeedToPauseNow', CFUNCTYPE(UNCHECKED(FPDF_BOOL), POINTER(struct__IFSDK_PAUSE))),
  2297. ('user', POINTER(None)),
  2298. )
  2299. # ./fpdf_progressive.h: 43
  2300. IFSDK_PAUSE = struct__IFSDK_PAUSE
  2301. # ./fpdf_progressive.h: 79
  2302. FPDF_RenderPageBitmapWithColorScheme_Start = _libs['pdfium']['FPDF_RenderPageBitmapWithColorScheme_Start']
  2303. 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))
  2304. FPDF_RenderPageBitmapWithColorScheme_Start.restype = c_int
  2305. # ./fpdf_progressive.h: 117
  2306. FPDF_RenderPageBitmap_Start = _libs['pdfium']['FPDF_RenderPageBitmap_Start']
  2307. FPDF_RenderPageBitmap_Start.argtypes = (FPDF_BITMAP, FPDF_PAGE, c_int, c_int, c_int, c_int, c_int, c_int, POINTER(IFSDK_PAUSE))
  2308. FPDF_RenderPageBitmap_Start.restype = c_int
  2309. # ./fpdf_progressive.h: 138
  2310. FPDF_RenderPage_Continue = _libs['pdfium']['FPDF_RenderPage_Continue']
  2311. FPDF_RenderPage_Continue.argtypes = (FPDF_PAGE, POINTER(IFSDK_PAUSE))
  2312. FPDF_RenderPage_Continue.restype = c_int
  2313. # ./fpdf_progressive.h: 149
  2314. FPDF_RenderPage_Close = _libs['pdfium']['FPDF_RenderPage_Close']
  2315. FPDF_RenderPage_Close.argtypes = (FPDF_PAGE, )
  2316. FPDF_RenderPage_Close.restype = None
  2317. # ./fpdf_save.h: 19
  2318. class struct_FPDF_FILEWRITE_ (Structure):
  2319. __slots__ = ('version', 'WriteBlock')
  2320. struct_FPDF_FILEWRITE_._fields_ = (
  2321. ('version', c_int),
  2322. ('WriteBlock', CFUNCTYPE(UNCHECKED(c_int), POINTER(struct_FPDF_FILEWRITE_), POINTER(None), c_ulong)),
  2323. )
  2324. # ./fpdf_save.h: 42
  2325. FPDF_FILEWRITE = struct_FPDF_FILEWRITE_
  2326. # ./fpdf_save.h: 60
  2327. FPDF_SaveAsCopy = _libs['pdfium']['FPDF_SaveAsCopy']
  2328. FPDF_SaveAsCopy.argtypes = (FPDF_DOCUMENT, POINTER(FPDF_FILEWRITE), FPDF_DWORD)
  2329. FPDF_SaveAsCopy.restype = FPDF_BOOL
  2330. # ./fpdf_save.h: 77
  2331. FPDF_SaveWithVersion = _libs['pdfium']['FPDF_SaveWithVersion']
  2332. FPDF_SaveWithVersion.argtypes = (FPDF_DOCUMENT, POINTER(FPDF_FILEWRITE), FPDF_DWORD, c_int)
  2333. FPDF_SaveWithVersion.restype = FPDF_BOOL
  2334. # ./fpdf_searchex.h: 24
  2335. FPDFText_GetCharIndexFromTextIndex = _libs['pdfium']['FPDFText_GetCharIndexFromTextIndex']
  2336. FPDFText_GetCharIndexFromTextIndex.argtypes = (FPDF_TEXTPAGE, c_int)
  2337. FPDFText_GetCharIndexFromTextIndex.restype = c_int
  2338. # ./fpdf_searchex.h: 33
  2339. FPDFText_GetTextIndexFromCharIndex = _libs['pdfium']['FPDFText_GetTextIndexFromCharIndex']
  2340. FPDFText_GetTextIndexFromCharIndex.argtypes = (FPDF_TEXTPAGE, c_int)
  2341. FPDFText_GetTextIndexFromCharIndex.restype = c_int
  2342. # ./fpdf_signature.h: 22
  2343. FPDF_GetSignatureCount = _libs['pdfium']['FPDF_GetSignatureCount']
  2344. FPDF_GetSignatureCount.argtypes = (FPDF_DOCUMENT, )
  2345. FPDF_GetSignatureCount.restype = c_int
  2346. # ./fpdf_signature.h: 35
  2347. FPDF_GetSignatureObject = _libs['pdfium']['FPDF_GetSignatureObject']
  2348. FPDF_GetSignatureObject.argtypes = (FPDF_DOCUMENT, c_int)
  2349. FPDF_GetSignatureObject.restype = FPDF_SIGNATURE
  2350. # ./fpdf_signature.h: 52
  2351. FPDFSignatureObj_GetContents = _libs['pdfium']['FPDFSignatureObj_GetContents']
  2352. FPDFSignatureObj_GetContents.argtypes = (FPDF_SIGNATURE, POINTER(None), c_ulong)
  2353. FPDFSignatureObj_GetContents.restype = c_ulong
  2354. # ./fpdf_signature.h: 74
  2355. FPDFSignatureObj_GetByteRange = _libs['pdfium']['FPDFSignatureObj_GetByteRange']
  2356. FPDFSignatureObj_GetByteRange.argtypes = (FPDF_SIGNATURE, POINTER(c_int), c_ulong)
  2357. FPDFSignatureObj_GetByteRange.restype = c_ulong
  2358. # ./fpdf_signature.h: 93
  2359. FPDFSignatureObj_GetSubFilter = _libs['pdfium']['FPDFSignatureObj_GetSubFilter']
  2360. FPDFSignatureObj_GetSubFilter.argtypes = (FPDF_SIGNATURE, POINTER(c_char), c_ulong)
  2361. FPDFSignatureObj_GetSubFilter.restype = c_ulong
  2362. # ./fpdf_signature.h: 112
  2363. FPDFSignatureObj_GetReason = _libs['pdfium']['FPDFSignatureObj_GetReason']
  2364. FPDFSignatureObj_GetReason.argtypes = (FPDF_SIGNATURE, POINTER(None), c_ulong)
  2365. FPDFSignatureObj_GetReason.restype = c_ulong
  2366. # ./fpdf_signature.h: 136
  2367. FPDFSignatureObj_GetTime = _libs['pdfium']['FPDFSignatureObj_GetTime']
  2368. FPDFSignatureObj_GetTime.argtypes = (FPDF_SIGNATURE, POINTER(c_char), c_ulong)
  2369. FPDFSignatureObj_GetTime.restype = c_ulong
  2370. # ./fpdf_signature.h: 149
  2371. FPDFSignatureObj_GetDocMDPPermission = _libs['pdfium']['FPDFSignatureObj_GetDocMDPPermission']
  2372. FPDFSignatureObj_GetDocMDPPermission.argtypes = (FPDF_SIGNATURE, )
  2373. FPDFSignatureObj_GetDocMDPPermission.restype = c_uint
  2374. # ./fpdf_structtree.h: 27
  2375. FPDF_StructTree_GetForPage = _libs['pdfium']['FPDF_StructTree_GetForPage']
  2376. FPDF_StructTree_GetForPage.argtypes = (FPDF_PAGE, )
  2377. FPDF_StructTree_GetForPage.restype = FPDF_STRUCTTREE
  2378. # ./fpdf_structtree.h: 37
  2379. FPDF_StructTree_Close = _libs['pdfium']['FPDF_StructTree_Close']
  2380. FPDF_StructTree_Close.argtypes = (FPDF_STRUCTTREE, )
  2381. FPDF_StructTree_Close.restype = None
  2382. # ./fpdf_structtree.h: 47
  2383. FPDF_StructTree_CountChildren = _libs['pdfium']['FPDF_StructTree_CountChildren']
  2384. FPDF_StructTree_CountChildren.argtypes = (FPDF_STRUCTTREE, )
  2385. FPDF_StructTree_CountChildren.restype = c_int
  2386. # ./fpdf_structtree.h: 63
  2387. FPDF_StructTree_GetChildAtIndex = _libs['pdfium']['FPDF_StructTree_GetChildAtIndex']
  2388. FPDF_StructTree_GetChildAtIndex.argtypes = (FPDF_STRUCTTREE, c_int)
  2389. FPDF_StructTree_GetChildAtIndex.restype = FPDF_STRUCTELEMENT
  2390. # ./fpdf_structtree.h: 81
  2391. FPDF_StructElement_GetAltText = _libs['pdfium']['FPDF_StructElement_GetAltText']
  2392. FPDF_StructElement_GetAltText.argtypes = (FPDF_STRUCTELEMENT, POINTER(None), c_ulong)
  2393. FPDF_StructElement_GetAltText.restype = c_ulong
  2394. # ./fpdf_structtree.h: 102
  2395. FPDF_StructElement_GetActualText = _libs['pdfium']['FPDF_StructElement_GetActualText']
  2396. FPDF_StructElement_GetActualText.argtypes = (FPDF_STRUCTELEMENT, POINTER(None), c_ulong)
  2397. FPDF_StructElement_GetActualText.restype = c_ulong
  2398. # ./fpdf_structtree.h: 122
  2399. FPDF_StructElement_GetID = _libs['pdfium']['FPDF_StructElement_GetID']
  2400. FPDF_StructElement_GetID.argtypes = (FPDF_STRUCTELEMENT, POINTER(None), c_ulong)
  2401. FPDF_StructElement_GetID.restype = c_ulong
  2402. # ./fpdf_structtree.h: 143
  2403. FPDF_StructElement_GetLang = _libs['pdfium']['FPDF_StructElement_GetLang']
  2404. FPDF_StructElement_GetLang.argtypes = (FPDF_STRUCTELEMENT, POINTER(None), c_ulong)
  2405. FPDF_StructElement_GetLang.restype = c_ulong
  2406. # ./fpdf_structtree.h: 165
  2407. FPDF_StructElement_GetStringAttribute = _libs['pdfium']['FPDF_StructElement_GetStringAttribute']
  2408. FPDF_StructElement_GetStringAttribute.argtypes = (FPDF_STRUCTELEMENT, FPDF_BYTESTRING, POINTER(None), c_ulong)
  2409. FPDF_StructElement_GetStringAttribute.restype = c_ulong
  2410. # ./fpdf_structtree.h: 182
  2411. FPDF_StructElement_GetMarkedContentID = _libs['pdfium']['FPDF_StructElement_GetMarkedContentID']
  2412. FPDF_StructElement_GetMarkedContentID.argtypes = (FPDF_STRUCTELEMENT, )
  2413. FPDF_StructElement_GetMarkedContentID.restype = c_int
  2414. # ./fpdf_structtree.h: 200
  2415. FPDF_StructElement_GetType = _libs['pdfium']['FPDF_StructElement_GetType']
  2416. FPDF_StructElement_GetType.argtypes = (FPDF_STRUCTELEMENT, POINTER(None), c_ulong)
  2417. FPDF_StructElement_GetType.restype = c_ulong
  2418. # ./fpdf_structtree.h: 221
  2419. FPDF_StructElement_GetObjType = _libs['pdfium']['FPDF_StructElement_GetObjType']
  2420. FPDF_StructElement_GetObjType.argtypes = (FPDF_STRUCTELEMENT, POINTER(None), c_ulong)
  2421. FPDF_StructElement_GetObjType.restype = c_ulong
  2422. # ./fpdf_structtree.h: 241
  2423. FPDF_StructElement_GetTitle = _libs['pdfium']['FPDF_StructElement_GetTitle']
  2424. FPDF_StructElement_GetTitle.argtypes = (FPDF_STRUCTELEMENT, POINTER(None), c_ulong)
  2425. FPDF_StructElement_GetTitle.restype = c_ulong
  2426. # ./fpdf_structtree.h: 252
  2427. FPDF_StructElement_CountChildren = _libs['pdfium']['FPDF_StructElement_CountChildren']
  2428. FPDF_StructElement_CountChildren.argtypes = (FPDF_STRUCTELEMENT, )
  2429. FPDF_StructElement_CountChildren.restype = c_int
  2430. # ./fpdf_structtree.h: 267
  2431. FPDF_StructElement_GetChildAtIndex = _libs['pdfium']['FPDF_StructElement_GetChildAtIndex']
  2432. FPDF_StructElement_GetChildAtIndex.argtypes = (FPDF_STRUCTELEMENT, c_int)
  2433. FPDF_StructElement_GetChildAtIndex.restype = FPDF_STRUCTELEMENT
  2434. # ./fpdf_structtree.h: 286
  2435. FPDF_StructElement_GetChildMarkedContentID = _libs['pdfium']['FPDF_StructElement_GetChildMarkedContentID']
  2436. FPDF_StructElement_GetChildMarkedContentID.argtypes = (FPDF_STRUCTELEMENT, c_int)
  2437. FPDF_StructElement_GetChildMarkedContentID.restype = c_int
  2438. # ./fpdf_structtree.h: 300
  2439. FPDF_StructElement_GetParent = _libs['pdfium']['FPDF_StructElement_GetParent']
  2440. FPDF_StructElement_GetParent.argtypes = (FPDF_STRUCTELEMENT, )
  2441. FPDF_StructElement_GetParent.restype = FPDF_STRUCTELEMENT
  2442. # ./fpdf_structtree.h: 309
  2443. FPDF_StructElement_GetAttributeCount = _libs['pdfium']['FPDF_StructElement_GetAttributeCount']
  2444. FPDF_StructElement_GetAttributeCount.argtypes = (FPDF_STRUCTELEMENT, )
  2445. FPDF_StructElement_GetAttributeCount.restype = c_int
  2446. # ./fpdf_structtree.h: 327
  2447. FPDF_StructElement_GetAttributeAtIndex = _libs['pdfium']['FPDF_StructElement_GetAttributeAtIndex']
  2448. FPDF_StructElement_GetAttributeAtIndex.argtypes = (FPDF_STRUCTELEMENT, c_int)
  2449. FPDF_StructElement_GetAttributeAtIndex.restype = FPDF_STRUCTELEMENT_ATTR
  2450. # ./fpdf_structtree.h: 337
  2451. FPDF_StructElement_Attr_GetCount = _libs['pdfium']['FPDF_StructElement_Attr_GetCount']
  2452. FPDF_StructElement_Attr_GetCount.argtypes = (FPDF_STRUCTELEMENT_ATTR, )
  2453. FPDF_StructElement_Attr_GetCount.restype = c_int
  2454. # ./fpdf_structtree.h: 357
  2455. FPDF_StructElement_Attr_GetName = _libs['pdfium']['FPDF_StructElement_Attr_GetName']
  2456. FPDF_StructElement_Attr_GetName.argtypes = (FPDF_STRUCTELEMENT_ATTR, c_int, POINTER(None), c_ulong, POINTER(c_ulong))
  2457. FPDF_StructElement_Attr_GetName.restype = FPDF_BOOL
  2458. # ./fpdf_structtree.h: 375
  2459. FPDF_StructElement_Attr_GetValue = _libs['pdfium']['FPDF_StructElement_Attr_GetValue']
  2460. FPDF_StructElement_Attr_GetValue.argtypes = (FPDF_STRUCTELEMENT_ATTR, FPDF_BYTESTRING)
  2461. FPDF_StructElement_Attr_GetValue.restype = FPDF_STRUCTELEMENT_ATTR_VALUE
  2462. # ./fpdf_structtree.h: 388
  2463. FPDF_StructElement_Attr_GetType = _libs['pdfium']['FPDF_StructElement_Attr_GetType']
  2464. FPDF_StructElement_Attr_GetType.argtypes = (FPDF_STRUCTELEMENT_ATTR_VALUE, )
  2465. FPDF_StructElement_Attr_GetType.restype = FPDF_OBJECT_TYPE
  2466. # ./fpdf_structtree.h: 403
  2467. FPDF_StructElement_Attr_GetBooleanValue = _libs['pdfium']['FPDF_StructElement_Attr_GetBooleanValue']
  2468. FPDF_StructElement_Attr_GetBooleanValue.argtypes = (FPDF_STRUCTELEMENT_ATTR_VALUE, POINTER(FPDF_BOOL))
  2469. FPDF_StructElement_Attr_GetBooleanValue.restype = FPDF_BOOL
  2470. # ./fpdf_structtree.h: 419
  2471. FPDF_StructElement_Attr_GetNumberValue = _libs['pdfium']['FPDF_StructElement_Attr_GetNumberValue']
  2472. FPDF_StructElement_Attr_GetNumberValue.argtypes = (FPDF_STRUCTELEMENT_ATTR_VALUE, POINTER(c_float))
  2473. FPDF_StructElement_Attr_GetNumberValue.restype = FPDF_BOOL
  2474. # ./fpdf_structtree.h: 441
  2475. FPDF_StructElement_Attr_GetStringValue = _libs['pdfium']['FPDF_StructElement_Attr_GetStringValue']
  2476. FPDF_StructElement_Attr_GetStringValue.argtypes = (FPDF_STRUCTELEMENT_ATTR_VALUE, POINTER(None), c_ulong, POINTER(c_ulong))
  2477. FPDF_StructElement_Attr_GetStringValue.restype = FPDF_BOOL
  2478. # ./fpdf_structtree.h: 463
  2479. FPDF_StructElement_Attr_GetBlobValue = _libs['pdfium']['FPDF_StructElement_Attr_GetBlobValue']
  2480. FPDF_StructElement_Attr_GetBlobValue.argtypes = (FPDF_STRUCTELEMENT_ATTR_VALUE, POINTER(None), c_ulong, POINTER(c_ulong))
  2481. FPDF_StructElement_Attr_GetBlobValue.restype = FPDF_BOOL
  2482. # ./fpdf_structtree.h: 476
  2483. FPDF_StructElement_Attr_CountChildren = _libs['pdfium']['FPDF_StructElement_Attr_CountChildren']
  2484. FPDF_StructElement_Attr_CountChildren.argtypes = (FPDF_STRUCTELEMENT_ATTR_VALUE, )
  2485. FPDF_StructElement_Attr_CountChildren.restype = c_int
  2486. # ./fpdf_structtree.h: 490
  2487. FPDF_StructElement_Attr_GetChildAtIndex = _libs['pdfium']['FPDF_StructElement_Attr_GetChildAtIndex']
  2488. FPDF_StructElement_Attr_GetChildAtIndex.argtypes = (FPDF_STRUCTELEMENT_ATTR_VALUE, c_int)
  2489. FPDF_StructElement_Attr_GetChildAtIndex.restype = FPDF_STRUCTELEMENT_ATTR_VALUE
  2490. # ./fpdf_structtree.h: 501
  2491. FPDF_StructElement_GetMarkedContentIdCount = _libs['pdfium']['FPDF_StructElement_GetMarkedContentIdCount']
  2492. FPDF_StructElement_GetMarkedContentIdCount.argtypes = (FPDF_STRUCTELEMENT, )
  2493. FPDF_StructElement_GetMarkedContentIdCount.restype = c_int
  2494. # ./fpdf_structtree.h: 517
  2495. FPDF_StructElement_GetMarkedContentIdAtIndex = _libs['pdfium']['FPDF_StructElement_GetMarkedContentIdAtIndex']
  2496. FPDF_StructElement_GetMarkedContentIdAtIndex.argtypes = (FPDF_STRUCTELEMENT, c_int)
  2497. FPDF_StructElement_GetMarkedContentIdAtIndex.restype = c_int
  2498. # ./fpdf_sysfontinfo.h: 48
  2499. class struct__FPDF_SYSFONTINFO (Structure):
  2500. __slots__ = ('version', 'Release', 'EnumFonts', 'MapFont', 'GetFont', 'GetFontData', 'GetFaceName', 'GetFontCharset', 'DeleteFont')
  2501. struct__FPDF_SYSFONTINFO._fields_ = (
  2502. ('version', c_int),
  2503. ('Release', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_SYSFONTINFO))),
  2504. ('EnumFonts', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_SYSFONTINFO), POINTER(None))),
  2505. ('MapFont', CFUNCTYPE(UNCHECKED(POINTER(None)), POINTER(struct__FPDF_SYSFONTINFO), c_int, FPDF_BOOL, c_int, c_int, POINTER(c_char), POINTER(FPDF_BOOL))),
  2506. ('GetFont', CFUNCTYPE(UNCHECKED(POINTER(None)), POINTER(struct__FPDF_SYSFONTINFO), POINTER(c_char))),
  2507. ('GetFontData', CFUNCTYPE(UNCHECKED(c_ulong), POINTER(struct__FPDF_SYSFONTINFO), POINTER(None), c_uint, POINTER(c_ubyte), c_ulong)),
  2508. ('GetFaceName', CFUNCTYPE(UNCHECKED(c_ulong), POINTER(struct__FPDF_SYSFONTINFO), POINTER(None), POINTER(c_char), c_ulong)),
  2509. ('GetFontCharset', CFUNCTYPE(UNCHECKED(c_int), POINTER(struct__FPDF_SYSFONTINFO), POINTER(None))),
  2510. ('DeleteFont', CFUNCTYPE(UNCHECKED(None), POINTER(struct__FPDF_SYSFONTINFO), POINTER(None))),
  2511. )
  2512. # ./fpdf_sysfontinfo.h: 214
  2513. FPDF_SYSFONTINFO = struct__FPDF_SYSFONTINFO
  2514. # ./fpdf_sysfontinfo.h: 221
  2515. class struct_FPDF_CharsetFontMap_ (Structure):
  2516. __slots__ = ('charset', 'fontname')
  2517. struct_FPDF_CharsetFontMap_._fields_ = (
  2518. ('charset', c_int),
  2519. ('fontname', POINTER(c_char)),
  2520. )
  2521. # ./fpdf_sysfontinfo.h: 221
  2522. FPDF_CharsetFontMap = struct_FPDF_CharsetFontMap_
  2523. # ./fpdf_sysfontinfo.h: 235
  2524. FPDF_GetDefaultTTFMap = _libs['pdfium']['FPDF_GetDefaultTTFMap']
  2525. FPDF_GetDefaultTTFMap.argtypes = ()
  2526. FPDF_GetDefaultTTFMap.restype = POINTER(FPDF_CharsetFontMap)
  2527. # ./fpdf_sysfontinfo.h: 246
  2528. FPDF_GetDefaultTTFMapCount = _libs['pdfium']['FPDF_GetDefaultTTFMapCount']
  2529. FPDF_GetDefaultTTFMapCount.argtypes = ()
  2530. FPDF_GetDefaultTTFMapCount.restype = c_size_t
  2531. # ./fpdf_sysfontinfo.h: 257
  2532. FPDF_GetDefaultTTFMapEntry = _libs['pdfium']['FPDF_GetDefaultTTFMapEntry']
  2533. FPDF_GetDefaultTTFMapEntry.argtypes = (c_size_t, )
  2534. FPDF_GetDefaultTTFMapEntry.restype = POINTER(FPDF_CharsetFontMap)
  2535. # ./fpdf_sysfontinfo.h: 271
  2536. FPDF_AddInstalledFont = _libs['pdfium']['FPDF_AddInstalledFont']
  2537. FPDF_AddInstalledFont.argtypes = (POINTER(None), POINTER(c_char), c_int)
  2538. FPDF_AddInstalledFont.restype = None
  2539. # ./fpdf_sysfontinfo.h: 289
  2540. FPDF_SetSystemFontInfo = _libs['pdfium']['FPDF_SetSystemFontInfo']
  2541. FPDF_SetSystemFontInfo.argtypes = (POINTER(FPDF_SYSFONTINFO), )
  2542. FPDF_SetSystemFontInfo.restype = None
  2543. # ./fpdf_sysfontinfo.h: 304
  2544. FPDF_GetDefaultSystemFontInfo = _libs['pdfium']['FPDF_GetDefaultSystemFontInfo']
  2545. FPDF_GetDefaultSystemFontInfo.argtypes = ()
  2546. FPDF_GetDefaultSystemFontInfo.restype = POINTER(FPDF_SYSFONTINFO)
  2547. # ./fpdf_sysfontinfo.h: 316
  2548. FPDF_FreeDefaultSystemFontInfo = _libs['pdfium']['FPDF_FreeDefaultSystemFontInfo']
  2549. FPDF_FreeDefaultSystemFontInfo.argtypes = (POINTER(FPDF_SYSFONTINFO), )
  2550. FPDF_FreeDefaultSystemFontInfo.restype = None
  2551. # ./fpdf_text.h: 31
  2552. FPDFText_LoadPage = _libs['pdfium']['FPDFText_LoadPage']
  2553. FPDFText_LoadPage.argtypes = (FPDF_PAGE, )
  2554. FPDFText_LoadPage.restype = FPDF_TEXTPAGE
  2555. # ./fpdf_text.h: 42
  2556. FPDFText_ClosePage = _libs['pdfium']['FPDFText_ClosePage']
  2557. FPDFText_ClosePage.argtypes = (FPDF_TEXTPAGE, )
  2558. FPDFText_ClosePage.restype = None
  2559. # ./fpdf_text.h: 60
  2560. FPDFText_CountChars = _libs['pdfium']['FPDFText_CountChars']
  2561. FPDFText_CountChars.argtypes = (FPDF_TEXTPAGE, )
  2562. FPDFText_CountChars.restype = c_int
  2563. # ./fpdf_text.h: 75
  2564. FPDFText_GetUnicode = _libs['pdfium']['FPDFText_GetUnicode']
  2565. FPDFText_GetUnicode.argtypes = (FPDF_TEXTPAGE, c_int)
  2566. FPDFText_GetUnicode.restype = c_uint
  2567. # ./fpdf_text.h: 90
  2568. FPDFText_GetTextObject = _libs['pdfium']['FPDFText_GetTextObject']
  2569. FPDFText_GetTextObject.argtypes = (FPDF_TEXTPAGE, c_int)
  2570. FPDFText_GetTextObject.restype = FPDF_PAGEOBJECT
  2571. # ./fpdf_text.h: 105
  2572. FPDFText_IsGenerated = _libs['pdfium']['FPDFText_IsGenerated']
  2573. FPDFText_IsGenerated.argtypes = (FPDF_TEXTPAGE, c_int)
  2574. FPDFText_IsGenerated.restype = c_int
  2575. # ./fpdf_text.h: 120
  2576. FPDFText_IsHyphen = _libs['pdfium']['FPDFText_IsHyphen']
  2577. FPDFText_IsHyphen.argtypes = (FPDF_TEXTPAGE, c_int)
  2578. FPDFText_IsHyphen.restype = c_int
  2579. # ./fpdf_text.h: 135
  2580. FPDFText_HasUnicodeMapError = _libs['pdfium']['FPDFText_HasUnicodeMapError']
  2581. FPDFText_HasUnicodeMapError.argtypes = (FPDF_TEXTPAGE, c_int)
  2582. FPDFText_HasUnicodeMapError.restype = c_int
  2583. # ./fpdf_text.h: 148
  2584. FPDFText_GetFontSize = _libs['pdfium']['FPDFText_GetFontSize']
  2585. FPDFText_GetFontSize.argtypes = (FPDF_TEXTPAGE, c_int)
  2586. FPDFText_GetFontSize.restype = c_double
  2587. # ./fpdf_text.h: 171
  2588. FPDFText_GetFontInfo = _libs['pdfium']['FPDFText_GetFontInfo']
  2589. FPDFText_GetFontInfo.argtypes = (FPDF_TEXTPAGE, c_int, POINTER(None), c_ulong, POINTER(c_int))
  2590. FPDFText_GetFontInfo.restype = c_ulong
  2591. # ./fpdf_text.h: 189
  2592. FPDFText_GetFontWeight = _libs['pdfium']['FPDFText_GetFontWeight']
  2593. FPDFText_GetFontWeight.argtypes = (FPDF_TEXTPAGE, c_int)
  2594. FPDFText_GetFontWeight.restype = c_int
  2595. # ./fpdf_text.h: 212
  2596. FPDFText_GetFillColor = _libs['pdfium']['FPDFText_GetFillColor']
  2597. FPDFText_GetFillColor.argtypes = (FPDF_TEXTPAGE, c_int, POINTER(c_uint), POINTER(c_uint), POINTER(c_uint), POINTER(c_uint))
  2598. FPDFText_GetFillColor.restype = FPDF_BOOL
  2599. # ./fpdf_text.h: 239
  2600. FPDFText_GetStrokeColor = _libs['pdfium']['FPDFText_GetStrokeColor']
  2601. FPDFText_GetStrokeColor.argtypes = (FPDF_TEXTPAGE, c_int, POINTER(c_uint), POINTER(c_uint), POINTER(c_uint), POINTER(c_uint))
  2602. FPDFText_GetStrokeColor.restype = FPDF_BOOL
  2603. # ./fpdf_text.h: 258
  2604. FPDFText_GetCharAngle = _libs['pdfium']['FPDFText_GetCharAngle']
  2605. FPDFText_GetCharAngle.argtypes = (FPDF_TEXTPAGE, c_int)
  2606. FPDFText_GetCharAngle.restype = c_float
  2607. # ./fpdf_text.h: 282
  2608. FPDFText_GetCharBox = _libs['pdfium']['FPDFText_GetCharBox']
  2609. FPDFText_GetCharBox.argtypes = (FPDF_TEXTPAGE, c_int, POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double))
  2610. FPDFText_GetCharBox.restype = FPDF_BOOL
  2611. # ./fpdf_text.h: 307
  2612. FPDFText_GetLooseCharBox = _libs['pdfium']['FPDFText_GetLooseCharBox']
  2613. FPDFText_GetLooseCharBox.argtypes = (FPDF_TEXTPAGE, c_int, POINTER(FS_RECTF))
  2614. FPDFText_GetLooseCharBox.restype = FPDF_BOOL
  2615. # ./fpdf_text.h: 323
  2616. FPDFText_GetMatrix = _libs['pdfium']['FPDFText_GetMatrix']
  2617. FPDFText_GetMatrix.argtypes = (FPDF_TEXTPAGE, c_int, POINTER(FS_MATRIX))
  2618. FPDFText_GetMatrix.restype = FPDF_BOOL
  2619. # ./fpdf_text.h: 343
  2620. FPDFText_GetCharOrigin = _libs['pdfium']['FPDFText_GetCharOrigin']
  2621. FPDFText_GetCharOrigin.argtypes = (FPDF_TEXTPAGE, c_int, POINTER(c_double), POINTER(c_double))
  2622. FPDFText_GetCharOrigin.restype = FPDF_BOOL
  2623. # ./fpdf_text.h: 366
  2624. FPDFText_GetCharIndexAtPos = _libs['pdfium']['FPDFText_GetCharIndexAtPos']
  2625. FPDFText_GetCharIndexAtPos.argtypes = (FPDF_TEXTPAGE, c_double, c_double, c_double, c_double)
  2626. FPDFText_GetCharIndexAtPos.restype = c_int
  2627. # ./fpdf_text.h: 392
  2628. FPDFText_GetText = _libs['pdfium']['FPDFText_GetText']
  2629. FPDFText_GetText.argtypes = (FPDF_TEXTPAGE, c_int, c_int, POINTER(c_ushort))
  2630. FPDFText_GetText.restype = c_int
  2631. # ./fpdf_text.h: 415
  2632. FPDFText_CountRects = _libs['pdfium']['FPDFText_CountRects']
  2633. FPDFText_CountRects.argtypes = (FPDF_TEXTPAGE, c_int, c_int)
  2634. FPDFText_CountRects.restype = c_int
  2635. # ./fpdf_text.h: 441
  2636. FPDFText_GetRect = _libs['pdfium']['FPDFText_GetRect']
  2637. FPDFText_GetRect.argtypes = (FPDF_TEXTPAGE, c_int, POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double))
  2638. FPDFText_GetRect.restype = FPDF_BOOL
  2639. # ./fpdf_text.h: 472
  2640. FPDFText_GetBoundedText = _libs['pdfium']['FPDFText_GetBoundedText']
  2641. FPDFText_GetBoundedText.argtypes = (FPDF_TEXTPAGE, c_double, c_double, c_double, c_double, POINTER(c_ushort), c_int)
  2642. FPDFText_GetBoundedText.restype = c_int
  2643. # ./fpdf_text.h: 502
  2644. FPDFText_FindStart = _libs['pdfium']['FPDFText_FindStart']
  2645. FPDFText_FindStart.argtypes = (FPDF_TEXTPAGE, FPDF_WIDESTRING, c_ulong, c_int)
  2646. FPDFText_FindStart.restype = FPDF_SCHHANDLE
  2647. # ./fpdf_text.h: 515
  2648. FPDFText_FindNext = _libs['pdfium']['FPDFText_FindNext']
  2649. FPDFText_FindNext.argtypes = (FPDF_SCHHANDLE, )
  2650. FPDFText_FindNext.restype = FPDF_BOOL
  2651. # ./fpdf_text.h: 525
  2652. FPDFText_FindPrev = _libs['pdfium']['FPDFText_FindPrev']
  2653. FPDFText_FindPrev.argtypes = (FPDF_SCHHANDLE, )
  2654. FPDFText_FindPrev.restype = FPDF_BOOL
  2655. # ./fpdf_text.h: 535
  2656. FPDFText_GetSchResultIndex = _libs['pdfium']['FPDFText_GetSchResultIndex']
  2657. FPDFText_GetSchResultIndex.argtypes = (FPDF_SCHHANDLE, )
  2658. FPDFText_GetSchResultIndex.restype = c_int
  2659. # ./fpdf_text.h: 545
  2660. FPDFText_GetSchCount = _libs['pdfium']['FPDFText_GetSchCount']
  2661. FPDFText_GetSchCount.argtypes = (FPDF_SCHHANDLE, )
  2662. FPDFText_GetSchCount.restype = c_int
  2663. # ./fpdf_text.h: 555
  2664. FPDFText_FindClose = _libs['pdfium']['FPDFText_FindClose']
  2665. FPDFText_FindClose.argtypes = (FPDF_SCHHANDLE, )
  2666. FPDFText_FindClose.restype = None
  2667. # ./fpdf_text.h: 577
  2668. FPDFLink_LoadWebLinks = _libs['pdfium']['FPDFLink_LoadWebLinks']
  2669. FPDFLink_LoadWebLinks.argtypes = (FPDF_TEXTPAGE, )
  2670. FPDFLink_LoadWebLinks.restype = FPDF_PAGELINK
  2671. # ./fpdf_text.h: 586
  2672. FPDFLink_CountWebLinks = _libs['pdfium']['FPDFLink_CountWebLinks']
  2673. FPDFLink_CountWebLinks.argtypes = (FPDF_PAGELINK, )
  2674. FPDFLink_CountWebLinks.restype = c_int
  2675. # ./fpdf_text.h: 607
  2676. FPDFLink_GetURL = _libs['pdfium']['FPDFLink_GetURL']
  2677. FPDFLink_GetURL.argtypes = (FPDF_PAGELINK, c_int, POINTER(c_ushort), c_int)
  2678. FPDFLink_GetURL.restype = c_int
  2679. # ./fpdf_text.h: 621
  2680. FPDFLink_CountRects = _libs['pdfium']['FPDFLink_CountRects']
  2681. FPDFLink_CountRects.argtypes = (FPDF_PAGELINK, c_int)
  2682. FPDFLink_CountRects.restype = c_int
  2683. # ./fpdf_text.h: 644
  2684. FPDFLink_GetRect = _libs['pdfium']['FPDFLink_GetRect']
  2685. FPDFLink_GetRect.argtypes = (FPDF_PAGELINK, c_int, c_int, POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double))
  2686. FPDFLink_GetRect.restype = FPDF_BOOL
  2687. # ./fpdf_text.h: 667
  2688. FPDFLink_GetTextRange = _libs['pdfium']['FPDFLink_GetTextRange']
  2689. FPDFLink_GetTextRange.argtypes = (FPDF_PAGELINK, c_int, POINTER(c_int), POINTER(c_int))
  2690. FPDFLink_GetTextRange.restype = FPDF_BOOL
  2691. # ./fpdf_text.h: 679
  2692. FPDFLink_CloseWebLinks = _libs['pdfium']['FPDFLink_CloseWebLinks']
  2693. FPDFLink_CloseWebLinks.argtypes = (FPDF_PAGELINK, )
  2694. FPDFLink_CloseWebLinks.restype = None
  2695. # ./fpdf_thumbnail.h: 28
  2696. FPDFPage_GetDecodedThumbnailData = _libs['pdfium']['FPDFPage_GetDecodedThumbnailData']
  2697. FPDFPage_GetDecodedThumbnailData.argtypes = (FPDF_PAGE, POINTER(None), c_ulong)
  2698. FPDFPage_GetDecodedThumbnailData.restype = c_ulong
  2699. # ./fpdf_thumbnail.h: 43
  2700. FPDFPage_GetRawThumbnailData = _libs['pdfium']['FPDFPage_GetRawThumbnailData']
  2701. FPDFPage_GetRawThumbnailData.argtypes = (FPDF_PAGE, POINTER(None), c_ulong)
  2702. FPDFPage_GetRawThumbnailData.restype = c_ulong
  2703. # ./fpdf_thumbnail.h: 53
  2704. FPDFPage_GetThumbnailAsBitmap = _libs['pdfium']['FPDFPage_GetThumbnailAsBitmap']
  2705. FPDFPage_GetThumbnailAsBitmap.argtypes = (FPDF_PAGE, )
  2706. FPDFPage_GetThumbnailAsBitmap.restype = FPDF_BITMAP
  2707. # ./fpdf_transformpage.h: 24
  2708. FPDFPage_SetMediaBox = _libs['pdfium']['FPDFPage_SetMediaBox']
  2709. FPDFPage_SetMediaBox.argtypes = (FPDF_PAGE, c_float, c_float, c_float, c_float)
  2710. FPDFPage_SetMediaBox.restype = None
  2711. # ./fpdf_transformpage.h: 37
  2712. FPDFPage_SetCropBox = _libs['pdfium']['FPDFPage_SetCropBox']
  2713. FPDFPage_SetCropBox.argtypes = (FPDF_PAGE, c_float, c_float, c_float, c_float)
  2714. FPDFPage_SetCropBox.restype = None
  2715. # ./fpdf_transformpage.h: 50
  2716. FPDFPage_SetBleedBox = _libs['pdfium']['FPDFPage_SetBleedBox']
  2717. FPDFPage_SetBleedBox.argtypes = (FPDF_PAGE, c_float, c_float, c_float, c_float)
  2718. FPDFPage_SetBleedBox.restype = None
  2719. # ./fpdf_transformpage.h: 63
  2720. FPDFPage_SetTrimBox = _libs['pdfium']['FPDFPage_SetTrimBox']
  2721. FPDFPage_SetTrimBox.argtypes = (FPDF_PAGE, c_float, c_float, c_float, c_float)
  2722. FPDFPage_SetTrimBox.restype = None
  2723. # ./fpdf_transformpage.h: 76
  2724. FPDFPage_SetArtBox = _libs['pdfium']['FPDFPage_SetArtBox']
  2725. FPDFPage_SetArtBox.argtypes = (FPDF_PAGE, c_float, c_float, c_float, c_float)
  2726. FPDFPage_SetArtBox.restype = None
  2727. # ./fpdf_transformpage.h: 92
  2728. FPDFPage_GetMediaBox = _libs['pdfium']['FPDFPage_GetMediaBox']
  2729. FPDFPage_GetMediaBox.argtypes = (FPDF_PAGE, POINTER(c_float), POINTER(c_float), POINTER(c_float), POINTER(c_float))
  2730. FPDFPage_GetMediaBox.restype = FPDF_BOOL
  2731. # ./fpdf_transformpage.h: 108
  2732. FPDFPage_GetCropBox = _libs['pdfium']['FPDFPage_GetCropBox']
  2733. FPDFPage_GetCropBox.argtypes = (FPDF_PAGE, POINTER(c_float), POINTER(c_float), POINTER(c_float), POINTER(c_float))
  2734. FPDFPage_GetCropBox.restype = FPDF_BOOL
  2735. # ./fpdf_transformpage.h: 124
  2736. FPDFPage_GetBleedBox = _libs['pdfium']['FPDFPage_GetBleedBox']
  2737. FPDFPage_GetBleedBox.argtypes = (FPDF_PAGE, POINTER(c_float), POINTER(c_float), POINTER(c_float), POINTER(c_float))
  2738. FPDFPage_GetBleedBox.restype = FPDF_BOOL
  2739. # ./fpdf_transformpage.h: 140
  2740. FPDFPage_GetTrimBox = _libs['pdfium']['FPDFPage_GetTrimBox']
  2741. FPDFPage_GetTrimBox.argtypes = (FPDF_PAGE, POINTER(c_float), POINTER(c_float), POINTER(c_float), POINTER(c_float))
  2742. FPDFPage_GetTrimBox.restype = FPDF_BOOL
  2743. # ./fpdf_transformpage.h: 156
  2744. FPDFPage_GetArtBox = _libs['pdfium']['FPDFPage_GetArtBox']
  2745. FPDFPage_GetArtBox.argtypes = (FPDF_PAGE, POINTER(c_float), POINTER(c_float), POINTER(c_float), POINTER(c_float))
  2746. FPDFPage_GetArtBox.restype = FPDF_BOOL
  2747. # ./fpdf_transformpage.h: 176
  2748. FPDFPage_TransFormWithClip = _libs['pdfium']['FPDFPage_TransFormWithClip']
  2749. FPDFPage_TransFormWithClip.argtypes = (FPDF_PAGE, POINTER(FS_MATRIX), POINTER(FS_RECTF))
  2750. FPDFPage_TransFormWithClip.restype = FPDF_BOOL
  2751. # ./fpdf_transformpage.h: 191
  2752. FPDFPageObj_TransformClipPath = _libs['pdfium']['FPDFPageObj_TransformClipPath']
  2753. FPDFPageObj_TransformClipPath.argtypes = (FPDF_PAGEOBJECT, c_double, c_double, c_double, c_double, c_double, c_double)
  2754. FPDFPageObj_TransformClipPath.restype = None
  2755. # ./fpdf_transformpage.h: 209
  2756. FPDFPageObj_GetClipPath = _libs['pdfium']['FPDFPageObj_GetClipPath']
  2757. FPDFPageObj_GetClipPath.argtypes = (FPDF_PAGEOBJECT, )
  2758. FPDFPageObj_GetClipPath.restype = FPDF_CLIPPATH
  2759. # ./fpdf_transformpage.h: 217
  2760. FPDFClipPath_CountPaths = _libs['pdfium']['FPDFClipPath_CountPaths']
  2761. FPDFClipPath_CountPaths.argtypes = (FPDF_CLIPPATH, )
  2762. FPDFClipPath_CountPaths.restype = c_int
  2763. # ./fpdf_transformpage.h: 227
  2764. FPDFClipPath_CountPathSegments = _libs['pdfium']['FPDFClipPath_CountPathSegments']
  2765. FPDFClipPath_CountPathSegments.argtypes = (FPDF_CLIPPATH, c_int)
  2766. FPDFClipPath_CountPathSegments.restype = c_int
  2767. # ./fpdf_transformpage.h: 240
  2768. FPDFClipPath_GetPathSegment = _libs['pdfium']['FPDFClipPath_GetPathSegment']
  2769. FPDFClipPath_GetPathSegment.argtypes = (FPDF_CLIPPATH, c_int, c_int)
  2770. FPDFClipPath_GetPathSegment.restype = FPDF_PATHSEGMENT
  2771. # ./fpdf_transformpage.h: 253
  2772. FPDF_CreateClipPath = _libs['pdfium']['FPDF_CreateClipPath']
  2773. FPDF_CreateClipPath.argtypes = (c_float, c_float, c_float, c_float)
  2774. FPDF_CreateClipPath.restype = FPDF_CLIPPATH
  2775. # ./fpdf_transformpage.h: 261
  2776. FPDF_DestroyClipPath = _libs['pdfium']['FPDF_DestroyClipPath']
  2777. FPDF_DestroyClipPath.argtypes = (FPDF_CLIPPATH, )
  2778. FPDF_DestroyClipPath.restype = None
  2779. # ./fpdf_transformpage.h: 271
  2780. FPDFPage_InsertClipPath = _libs['pdfium']['FPDFPage_InsertClipPath']
  2781. FPDFPage_InsertClipPath.argtypes = (FPDF_PAGE, FPDF_CLIPPATH)
  2782. FPDFPage_InsertClipPath.restype = None
  2783. # ./fpdfview.h: 36
  2784. FPDF_OBJECT_UNKNOWN = 0
  2785. # ./fpdfview.h: 37
  2786. FPDF_OBJECT_BOOLEAN = 1
  2787. # ./fpdfview.h: 38
  2788. FPDF_OBJECT_NUMBER = 2
  2789. # ./fpdfview.h: 39
  2790. FPDF_OBJECT_STRING = 3
  2791. # ./fpdfview.h: 40
  2792. FPDF_OBJECT_NAME = 4
  2793. # ./fpdfview.h: 41
  2794. FPDF_OBJECT_ARRAY = 5
  2795. # ./fpdfview.h: 42
  2796. FPDF_OBJECT_DICTIONARY = 6
  2797. # ./fpdfview.h: 43
  2798. FPDF_OBJECT_STREAM = 7
  2799. # ./fpdfview.h: 44
  2800. FPDF_OBJECT_NULLOBJ = 8
  2801. # ./fpdfview.h: 45
  2802. FPDF_OBJECT_REFERENCE = 9
  2803. # ./fpdfview.h: 324
  2804. FPDF_POLICY_MACHINETIME_ACCESS = 0
  2805. # ./fpdfview.h: 580
  2806. FPDF_ERR_SUCCESS = 0
  2807. # ./fpdfview.h: 581
  2808. FPDF_ERR_UNKNOWN = 1
  2809. # ./fpdfview.h: 582
  2810. FPDF_ERR_FILE = 2
  2811. # ./fpdfview.h: 583
  2812. FPDF_ERR_FORMAT = 3
  2813. # ./fpdfview.h: 584
  2814. FPDF_ERR_PASSWORD = 4
  2815. # ./fpdfview.h: 585
  2816. FPDF_ERR_SECURITY = 5
  2817. # ./fpdfview.h: 586
  2818. FPDF_ERR_PAGE = 6
  2819. # ./fpdfview.h: 790
  2820. FPDF_ANNOT = 0x01
  2821. # ./fpdfview.h: 791
  2822. FPDF_LCD_TEXT = 0x02
  2823. # ./fpdfview.h: 792
  2824. FPDF_NO_NATIVETEXT = 0x04
  2825. # ./fpdfview.h: 793
  2826. FPDF_GRAYSCALE = 0x08
  2827. # ./fpdfview.h: 794
  2828. FPDF_DEBUG_INFO = 0x80
  2829. # ./fpdfview.h: 795
  2830. FPDF_NO_CATCH = 0x100
  2831. # ./fpdfview.h: 796
  2832. FPDF_RENDER_LIMITEDIMAGECACHE = 0x200
  2833. # ./fpdfview.h: 797
  2834. FPDF_RENDER_FORCEHALFTONE = 0x400
  2835. # ./fpdfview.h: 798
  2836. FPDF_PRINTING = 0x800
  2837. # ./fpdfview.h: 799
  2838. FPDF_RENDER_NO_SMOOTHTEXT = 0x1000
  2839. # ./fpdfview.h: 800
  2840. FPDF_RENDER_NO_SMOOTHIMAGE = 0x2000
  2841. # ./fpdfview.h: 801
  2842. FPDF_RENDER_NO_SMOOTHPATH = 0x4000
  2843. # ./fpdfview.h: 802
  2844. FPDF_REVERSE_BYTE_ORDER = 0x10
  2845. # ./fpdfview.h: 803
  2846. FPDF_CONVERT_FILL_TO_STROKE = 0x20
  2847. # ./fpdfview.h: 1085
  2848. FPDFBitmap_Unknown = 0
  2849. # ./fpdfview.h: 1086
  2850. FPDFBitmap_Gray = 1
  2851. # ./fpdfview.h: 1087
  2852. FPDFBitmap_BGR = 2
  2853. # ./fpdfview.h: 1088
  2854. FPDFBitmap_BGRx = 3
  2855. # ./fpdfview.h: 1089
  2856. FPDFBitmap_BGRA = 4
  2857. # ./fpdfview.h: 1090
  2858. FPDFBitmap_BGRA_Premul = 5
  2859. # ./fpdf_formfill.h: 2
  2860. FORMTYPE_NONE = 0
  2861. # ./fpdf_formfill.h: 3
  2862. FORMTYPE_ACRO_FORM = 1
  2863. # ./fpdf_formfill.h: 4
  2864. FORMTYPE_XFA_FULL = 2
  2865. # ./fpdf_formfill.h: 5
  2866. FORMTYPE_XFA_FOREGROUND = 3
  2867. # ./fpdf_formfill.h: 6
  2868. FORMTYPE_COUNT = 4
  2869. # ./fpdf_formfill.h: 7
  2870. JSPLATFORM_ALERT_BUTTON_OK = 0
  2871. # ./fpdf_formfill.h: 8
  2872. JSPLATFORM_ALERT_BUTTON_OKCANCEL = 1
  2873. # ./fpdf_formfill.h: 9
  2874. JSPLATFORM_ALERT_BUTTON_YESNO = 2
  2875. # ./fpdf_formfill.h: 10
  2876. JSPLATFORM_ALERT_BUTTON_YESNOCANCEL = 3
  2877. # ./fpdf_formfill.h: 11
  2878. JSPLATFORM_ALERT_BUTTON_DEFAULT = JSPLATFORM_ALERT_BUTTON_OK
  2879. # ./fpdf_formfill.h: 12
  2880. JSPLATFORM_ALERT_ICON_ERROR = 0
  2881. # ./fpdf_formfill.h: 13
  2882. JSPLATFORM_ALERT_ICON_WARNING = 1
  2883. # ./fpdf_formfill.h: 14
  2884. JSPLATFORM_ALERT_ICON_QUESTION = 2
  2885. # ./fpdf_formfill.h: 15
  2886. JSPLATFORM_ALERT_ICON_STATUS = 3
  2887. # ./fpdf_formfill.h: 16
  2888. JSPLATFORM_ALERT_ICON_ASTERISK = 4
  2889. # ./fpdf_formfill.h: 17
  2890. JSPLATFORM_ALERT_ICON_DEFAULT = JSPLATFORM_ALERT_ICON_ERROR
  2891. # ./fpdf_formfill.h: 18
  2892. JSPLATFORM_ALERT_RETURN_OK = 1
  2893. # ./fpdf_formfill.h: 19
  2894. JSPLATFORM_ALERT_RETURN_CANCEL = 2
  2895. # ./fpdf_formfill.h: 20
  2896. JSPLATFORM_ALERT_RETURN_NO = 3
  2897. # ./fpdf_formfill.h: 21
  2898. JSPLATFORM_ALERT_RETURN_YES = 4
  2899. # ./fpdf_formfill.h: 22
  2900. JSPLATFORM_BEEP_ERROR = 0
  2901. # ./fpdf_formfill.h: 23
  2902. JSPLATFORM_BEEP_WARNING = 1
  2903. # ./fpdf_formfill.h: 24
  2904. JSPLATFORM_BEEP_QUESTION = 2
  2905. # ./fpdf_formfill.h: 25
  2906. JSPLATFORM_BEEP_STATUS = 3
  2907. # ./fpdf_formfill.h: 26
  2908. JSPLATFORM_BEEP_DEFAULT = 4
  2909. # ./fpdf_formfill.h: 284
  2910. FXCT_ARROW = 0
  2911. # ./fpdf_formfill.h: 285
  2912. FXCT_NESW = 1
  2913. # ./fpdf_formfill.h: 286
  2914. FXCT_NWSE = 2
  2915. # ./fpdf_formfill.h: 287
  2916. FXCT_VBEAM = 3
  2917. # ./fpdf_formfill.h: 288
  2918. FXCT_HBEAM = 4
  2919. # ./fpdf_formfill.h: 289
  2920. FXCT_HAND = 5
  2921. # ./fpdf_formfill.h: 1123
  2922. FPDFDOC_AACTION_WC = 0x10
  2923. # ./fpdf_formfill.h: 1124
  2924. FPDFDOC_AACTION_WS = 0x11
  2925. # ./fpdf_formfill.h: 1125
  2926. FPDFDOC_AACTION_DS = 0x12
  2927. # ./fpdf_formfill.h: 1126
  2928. FPDFDOC_AACTION_WP = 0x13
  2929. # ./fpdf_formfill.h: 1127
  2930. FPDFDOC_AACTION_DP = 0x14
  2931. # ./fpdf_formfill.h: 1151
  2932. FPDFPAGE_AACTION_OPEN = 0
  2933. # ./fpdf_formfill.h: 1152
  2934. FPDFPAGE_AACTION_CLOSE = 1
  2935. # ./fpdf_formfill.h: 1571
  2936. FPDF_FORMFIELD_UNKNOWN = 0
  2937. # ./fpdf_formfill.h: 1572
  2938. FPDF_FORMFIELD_PUSHBUTTON = 1
  2939. # ./fpdf_formfill.h: 1573
  2940. FPDF_FORMFIELD_CHECKBOX = 2
  2941. # ./fpdf_formfill.h: 1574
  2942. FPDF_FORMFIELD_RADIOBUTTON = 3
  2943. # ./fpdf_formfill.h: 1575
  2944. FPDF_FORMFIELD_COMBOBOX = 4
  2945. # ./fpdf_formfill.h: 1576
  2946. FPDF_FORMFIELD_LISTBOX = 5
  2947. # ./fpdf_formfill.h: 1577
  2948. FPDF_FORMFIELD_TEXTFIELD = 6
  2949. # ./fpdf_formfill.h: 1578
  2950. FPDF_FORMFIELD_SIGNATURE = 7
  2951. # ./fpdf_formfill.h: 1599
  2952. FPDF_FORMFIELD_COUNT = 8
  2953. # ./fpdf_annot.h: 15
  2954. FPDF_ANNOT_UNKNOWN = 0
  2955. # ./fpdf_annot.h: 16
  2956. FPDF_ANNOT_TEXT = 1
  2957. # ./fpdf_annot.h: 17
  2958. FPDF_ANNOT_LINK = 2
  2959. # ./fpdf_annot.h: 18
  2960. FPDF_ANNOT_FREETEXT = 3
  2961. # ./fpdf_annot.h: 19
  2962. FPDF_ANNOT_LINE = 4
  2963. # ./fpdf_annot.h: 20
  2964. FPDF_ANNOT_SQUARE = 5
  2965. # ./fpdf_annot.h: 21
  2966. FPDF_ANNOT_CIRCLE = 6
  2967. # ./fpdf_annot.h: 22
  2968. FPDF_ANNOT_POLYGON = 7
  2969. # ./fpdf_annot.h: 23
  2970. FPDF_ANNOT_POLYLINE = 8
  2971. # ./fpdf_annot.h: 24
  2972. FPDF_ANNOT_HIGHLIGHT = 9
  2973. # ./fpdf_annot.h: 25
  2974. FPDF_ANNOT_UNDERLINE = 10
  2975. # ./fpdf_annot.h: 26
  2976. FPDF_ANNOT_SQUIGGLY = 11
  2977. # ./fpdf_annot.h: 27
  2978. FPDF_ANNOT_STRIKEOUT = 12
  2979. # ./fpdf_annot.h: 28
  2980. FPDF_ANNOT_STAMP = 13
  2981. # ./fpdf_annot.h: 29
  2982. FPDF_ANNOT_CARET = 14
  2983. # ./fpdf_annot.h: 30
  2984. FPDF_ANNOT_INK = 15
  2985. # ./fpdf_annot.h: 31
  2986. FPDF_ANNOT_POPUP = 16
  2987. # ./fpdf_annot.h: 32
  2988. FPDF_ANNOT_FILEATTACHMENT = 17
  2989. # ./fpdf_annot.h: 33
  2990. FPDF_ANNOT_SOUND = 18
  2991. # ./fpdf_annot.h: 34
  2992. FPDF_ANNOT_MOVIE = 19
  2993. # ./fpdf_annot.h: 35
  2994. FPDF_ANNOT_WIDGET = 20
  2995. # ./fpdf_annot.h: 36
  2996. FPDF_ANNOT_SCREEN = 21
  2997. # ./fpdf_annot.h: 37
  2998. FPDF_ANNOT_PRINTERMARK = 22
  2999. # ./fpdf_annot.h: 38
  3000. FPDF_ANNOT_TRAPNET = 23
  3001. # ./fpdf_annot.h: 39
  3002. FPDF_ANNOT_WATERMARK = 24
  3003. # ./fpdf_annot.h: 40
  3004. FPDF_ANNOT_THREED = 25
  3005. # ./fpdf_annot.h: 41
  3006. FPDF_ANNOT_RICHMEDIA = 26
  3007. # ./fpdf_annot.h: 42
  3008. FPDF_ANNOT_XFAWIDGET = 27
  3009. # ./fpdf_annot.h: 43
  3010. FPDF_ANNOT_REDACT = 28
  3011. # ./fpdf_annot.h: 44
  3012. FPDF_ANNOT_FLAG_NONE = 0
  3013. # ./fpdf_annot.h: 45
  3014. FPDF_ANNOT_FLAG_INVISIBLE = (1 << 0)
  3015. # ./fpdf_annot.h: 46
  3016. FPDF_ANNOT_FLAG_HIDDEN = (1 << 1)
  3017. # ./fpdf_annot.h: 47
  3018. FPDF_ANNOT_FLAG_PRINT = (1 << 2)
  3019. # ./fpdf_annot.h: 48
  3020. FPDF_ANNOT_FLAG_NOZOOM = (1 << 3)
  3021. # ./fpdf_annot.h: 49
  3022. FPDF_ANNOT_FLAG_NOROTATE = (1 << 4)
  3023. # ./fpdf_annot.h: 50
  3024. FPDF_ANNOT_FLAG_NOVIEW = (1 << 5)
  3025. # ./fpdf_annot.h: 51
  3026. FPDF_ANNOT_FLAG_READONLY = (1 << 6)
  3027. # ./fpdf_annot.h: 52
  3028. FPDF_ANNOT_FLAG_LOCKED = (1 << 7)
  3029. # ./fpdf_annot.h: 53
  3030. FPDF_ANNOT_FLAG_TOGGLENOVIEW = (1 << 8)
  3031. # ./fpdf_annot.h: 54
  3032. FPDF_ANNOT_APPEARANCEMODE_NORMAL = 0
  3033. # ./fpdf_annot.h: 55
  3034. FPDF_ANNOT_APPEARANCEMODE_ROLLOVER = 1
  3035. # ./fpdf_annot.h: 56
  3036. FPDF_ANNOT_APPEARANCEMODE_DOWN = 2
  3037. # ./fpdf_annot.h: 57
  3038. FPDF_ANNOT_APPEARANCEMODE_COUNT = 3
  3039. # ./fpdf_annot.h: 58
  3040. FPDF_FORMFLAG_NONE = 0
  3041. # ./fpdf_annot.h: 59
  3042. FPDF_FORMFLAG_READONLY = (1 << 0)
  3043. # ./fpdf_annot.h: 60
  3044. FPDF_FORMFLAG_REQUIRED = (1 << 1)
  3045. # ./fpdf_annot.h: 61
  3046. FPDF_FORMFLAG_NOEXPORT = (1 << 2)
  3047. # ./fpdf_annot.h: 62
  3048. FPDF_FORMFLAG_TEXT_MULTILINE = (1 << 12)
  3049. # ./fpdf_annot.h: 63
  3050. FPDF_FORMFLAG_TEXT_PASSWORD = (1 << 13)
  3051. # ./fpdf_annot.h: 64
  3052. FPDF_FORMFLAG_CHOICE_COMBO = (1 << 17)
  3053. # ./fpdf_annot.h: 65
  3054. FPDF_FORMFLAG_CHOICE_EDIT = (1 << 18)
  3055. # ./fpdf_annot.h: 66
  3056. FPDF_FORMFLAG_CHOICE_MULTI_SELECT = (1 << 21)
  3057. # ./fpdf_annot.h: 67
  3058. FPDF_ANNOT_AACTION_KEY_STROKE = 12
  3059. # ./fpdf_annot.h: 68
  3060. FPDF_ANNOT_AACTION_FORMAT = 13
  3061. # ./fpdf_annot.h: 69
  3062. FPDF_ANNOT_AACTION_VALIDATE = 14
  3063. # ./fpdf_annot.h: 70
  3064. FPDF_ANNOT_AACTION_CALCULATE = 15
  3065. # ./fpdf_dataavail.h: 11
  3066. PDF_LINEARIZATION_UNKNOWN = (-1)
  3067. # ./fpdf_dataavail.h: 12
  3068. PDF_NOT_LINEARIZED = 0
  3069. # ./fpdf_dataavail.h: 13
  3070. PDF_LINEARIZED = 1
  3071. # ./fpdf_dataavail.h: 14
  3072. PDF_DATA_ERROR = (-1)
  3073. # ./fpdf_dataavail.h: 15
  3074. PDF_DATA_NOTAVAIL = 0
  3075. # ./fpdf_dataavail.h: 16
  3076. PDF_DATA_AVAIL = 1
  3077. # ./fpdf_dataavail.h: 17
  3078. PDF_FORM_ERROR = (-1)
  3079. # ./fpdf_dataavail.h: 18
  3080. PDF_FORM_NOTAVAIL = 0
  3081. # ./fpdf_dataavail.h: 19
  3082. PDF_FORM_AVAIL = 1
  3083. # ./fpdf_dataavail.h: 20
  3084. PDF_FORM_NOTEXIST = 2
  3085. # ./fpdf_doc.h: 18
  3086. PDFACTION_UNSUPPORTED = 0
  3087. # ./fpdf_doc.h: 19
  3088. PDFACTION_GOTO = 1
  3089. # ./fpdf_doc.h: 20
  3090. PDFACTION_REMOTEGOTO = 2
  3091. # ./fpdf_doc.h: 21
  3092. PDFACTION_URI = 3
  3093. # ./fpdf_doc.h: 22
  3094. PDFACTION_LAUNCH = 4
  3095. # ./fpdf_doc.h: 23
  3096. PDFACTION_EMBEDDEDGOTO = 5
  3097. # ./fpdf_doc.h: 24
  3098. PDFDEST_VIEW_UNKNOWN_MODE = 0
  3099. # ./fpdf_doc.h: 25
  3100. PDFDEST_VIEW_XYZ = 1
  3101. # ./fpdf_doc.h: 26
  3102. PDFDEST_VIEW_FIT = 2
  3103. # ./fpdf_doc.h: 27
  3104. PDFDEST_VIEW_FITH = 3
  3105. # ./fpdf_doc.h: 28
  3106. PDFDEST_VIEW_FITV = 4
  3107. # ./fpdf_doc.h: 29
  3108. PDFDEST_VIEW_FITR = 5
  3109. # ./fpdf_doc.h: 30
  3110. PDFDEST_VIEW_FITB = 6
  3111. # ./fpdf_doc.h: 31
  3112. PDFDEST_VIEW_FITBH = 7
  3113. # ./fpdf_doc.h: 32
  3114. PDFDEST_VIEW_FITBV = 8
  3115. # ./fpdf_edit.h: 11
  3116. def FPDF_ARGB(a, r, g, b):
  3117. 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
  3118. # ./fpdf_edit.h: 12
  3119. def FPDF_GetBValue(argb):
  3120. return uint8_t(argb).value
  3121. # ./fpdf_edit.h: 13
  3122. def FPDF_GetGValue(argb):
  3123. return uint8_t((uint16_t(argb).value >> 8)).value
  3124. # ./fpdf_edit.h: 14
  3125. def FPDF_GetRValue(argb):
  3126. return uint8_t((argb >> 16)).value
  3127. # ./fpdf_edit.h: 15
  3128. def FPDF_GetAValue(argb):
  3129. return uint8_t((argb >> 24)).value
  3130. # ./fpdf_edit.h: 16
  3131. FPDF_COLORSPACE_UNKNOWN = 0
  3132. # ./fpdf_edit.h: 17
  3133. FPDF_COLORSPACE_DEVICEGRAY = 1
  3134. # ./fpdf_edit.h: 18
  3135. FPDF_COLORSPACE_DEVICERGB = 2
  3136. # ./fpdf_edit.h: 19
  3137. FPDF_COLORSPACE_DEVICECMYK = 3
  3138. # ./fpdf_edit.h: 20
  3139. FPDF_COLORSPACE_CALGRAY = 4
  3140. # ./fpdf_edit.h: 21
  3141. FPDF_COLORSPACE_CALRGB = 5
  3142. # ./fpdf_edit.h: 22
  3143. FPDF_COLORSPACE_LAB = 6
  3144. # ./fpdf_edit.h: 23
  3145. FPDF_COLORSPACE_ICCBASED = 7
  3146. # ./fpdf_edit.h: 24
  3147. FPDF_COLORSPACE_SEPARATION = 8
  3148. # ./fpdf_edit.h: 25
  3149. FPDF_COLORSPACE_DEVICEN = 9
  3150. # ./fpdf_edit.h: 26
  3151. FPDF_COLORSPACE_INDEXED = 10
  3152. # ./fpdf_edit.h: 27
  3153. FPDF_COLORSPACE_PATTERN = 11
  3154. # ./fpdf_edit.h: 28
  3155. FPDF_PAGEOBJ_UNKNOWN = 0
  3156. # ./fpdf_edit.h: 29
  3157. FPDF_PAGEOBJ_TEXT = 1
  3158. # ./fpdf_edit.h: 30
  3159. FPDF_PAGEOBJ_PATH = 2
  3160. # ./fpdf_edit.h: 31
  3161. FPDF_PAGEOBJ_IMAGE = 3
  3162. # ./fpdf_edit.h: 32
  3163. FPDF_PAGEOBJ_SHADING = 4
  3164. # ./fpdf_edit.h: 33
  3165. FPDF_PAGEOBJ_FORM = 5
  3166. # ./fpdf_edit.h: 34
  3167. FPDF_SEGMENT_UNKNOWN = (-1)
  3168. # ./fpdf_edit.h: 35
  3169. FPDF_SEGMENT_LINETO = 0
  3170. # ./fpdf_edit.h: 36
  3171. FPDF_SEGMENT_BEZIERTO = 1
  3172. # ./fpdf_edit.h: 37
  3173. FPDF_SEGMENT_MOVETO = 2
  3174. # ./fpdf_edit.h: 38
  3175. FPDF_FILLMODE_NONE = 0
  3176. # ./fpdf_edit.h: 39
  3177. FPDF_FILLMODE_ALTERNATE = 1
  3178. # ./fpdf_edit.h: 40
  3179. FPDF_FILLMODE_WINDING = 2
  3180. # ./fpdf_edit.h: 41
  3181. FPDF_FONT_TYPE1 = 1
  3182. # ./fpdf_edit.h: 42
  3183. FPDF_FONT_TRUETYPE = 2
  3184. # ./fpdf_edit.h: 43
  3185. FPDF_LINECAP_BUTT = 0
  3186. # ./fpdf_edit.h: 44
  3187. FPDF_LINECAP_ROUND = 1
  3188. # ./fpdf_edit.h: 45
  3189. FPDF_LINECAP_PROJECTING_SQUARE = 2
  3190. # ./fpdf_edit.h: 46
  3191. FPDF_LINEJOIN_MITER = 0
  3192. # ./fpdf_edit.h: 47
  3193. FPDF_LINEJOIN_ROUND = 1
  3194. # ./fpdf_edit.h: 48
  3195. FPDF_LINEJOIN_BEVEL = 2
  3196. # ./fpdf_edit.h: 49
  3197. FPDF_PRINTMODE_EMF = 0
  3198. # ./fpdf_edit.h: 50
  3199. FPDF_PRINTMODE_TEXTONLY = 1
  3200. # ./fpdf_edit.h: 51
  3201. FPDF_PRINTMODE_POSTSCRIPT2 = 2
  3202. # ./fpdf_edit.h: 52
  3203. FPDF_PRINTMODE_POSTSCRIPT3 = 3
  3204. # ./fpdf_edit.h: 53
  3205. FPDF_PRINTMODE_POSTSCRIPT2_PASSTHROUGH = 4
  3206. # ./fpdf_edit.h: 54
  3207. FPDF_PRINTMODE_POSTSCRIPT3_PASSTHROUGH = 5
  3208. # ./fpdf_edit.h: 55
  3209. FPDF_PRINTMODE_EMF_IMAGE_MASKS = 6
  3210. # ./fpdf_edit.h: 56
  3211. FPDF_PRINTMODE_POSTSCRIPT3_TYPE42 = 7
  3212. # ./fpdf_edit.h: 57
  3213. FPDF_PRINTMODE_POSTSCRIPT3_TYPE42_PASSTHROUGH = 8
  3214. # ./fpdf_ext.h: 20
  3215. FPDF_UNSP_DOC_XFAFORM = 1
  3216. # ./fpdf_ext.h: 21
  3217. FPDF_UNSP_DOC_PORTABLECOLLECTION = 2
  3218. # ./fpdf_ext.h: 22
  3219. FPDF_UNSP_DOC_ATTACHMENT = 3
  3220. # ./fpdf_ext.h: 23
  3221. FPDF_UNSP_DOC_SECURITY = 4
  3222. # ./fpdf_ext.h: 24
  3223. FPDF_UNSP_DOC_SHAREDREVIEW = 5
  3224. # ./fpdf_ext.h: 25
  3225. FPDF_UNSP_DOC_SHAREDFORM_ACROBAT = 6
  3226. # ./fpdf_ext.h: 26
  3227. FPDF_UNSP_DOC_SHAREDFORM_FILESYSTEM = 7
  3228. # ./fpdf_ext.h: 27
  3229. FPDF_UNSP_DOC_SHAREDFORM_EMAIL = 8
  3230. # ./fpdf_ext.h: 28
  3231. FPDF_UNSP_ANNOT_3DANNOT = 11
  3232. # ./fpdf_ext.h: 29
  3233. FPDF_UNSP_ANNOT_MOVIE = 12
  3234. # ./fpdf_ext.h: 30
  3235. FPDF_UNSP_ANNOT_SOUND = 13
  3236. # ./fpdf_ext.h: 31
  3237. FPDF_UNSP_ANNOT_SCREEN_MEDIA = 14
  3238. # ./fpdf_ext.h: 32
  3239. FPDF_UNSP_ANNOT_SCREEN_RICHMEDIA = 15
  3240. # ./fpdf_ext.h: 33
  3241. FPDF_UNSP_ANNOT_ATTACHMENT = 16
  3242. # ./fpdf_ext.h: 34
  3243. FPDF_UNSP_ANNOT_SIG = 17
  3244. # ./fpdf_ext.h: 88
  3245. PAGEMODE_UNKNOWN = (-1)
  3246. # ./fpdf_ext.h: 89
  3247. PAGEMODE_USENONE = 0
  3248. # ./fpdf_ext.h: 90
  3249. PAGEMODE_USEOUTLINES = 1
  3250. # ./fpdf_ext.h: 91
  3251. PAGEMODE_USETHUMBS = 2
  3252. # ./fpdf_ext.h: 92
  3253. PAGEMODE_FULLSCREEN = 3
  3254. # ./fpdf_ext.h: 93
  3255. PAGEMODE_USEOC = 4
  3256. # ./fpdf_ext.h: 94
  3257. PAGEMODE_USEATTACHMENTS = 5
  3258. # ./fpdf_flatten.h: 2
  3259. FLATTEN_FAIL = 0
  3260. # ./fpdf_flatten.h: 3
  3261. FLATTEN_SUCCESS = 1
  3262. # ./fpdf_flatten.h: 4
  3263. FLATTEN_NOTHINGTODO = 2
  3264. # ./fpdf_flatten.h: 5
  3265. FLAT_NORMALDISPLAY = 0
  3266. # ./fpdf_flatten.h: 6
  3267. FLAT_PRINT = 1
  3268. # ./fpdf_progressive.h: 2
  3269. FPDF_RENDER_READY = 0
  3270. # ./fpdf_progressive.h: 3
  3271. FPDF_RENDER_TOBECONTINUED = 1
  3272. # ./fpdf_progressive.h: 4
  3273. FPDF_RENDER_DONE = 2
  3274. # ./fpdf_progressive.h: 5
  3275. FPDF_RENDER_FAILED = 3
  3276. # ./fpdf_save.h: 39
  3277. FPDF_INCREMENTAL = 1
  3278. # ./fpdf_save.h: 40
  3279. FPDF_NO_INCREMENTAL = 2
  3280. # ./fpdf_save.h: 41
  3281. FPDF_REMOVE_SECURITY = 3
  3282. # ./fpdf_sysfontinfo.h: 11
  3283. FXFONT_ANSI_CHARSET = 0
  3284. # ./fpdf_sysfontinfo.h: 12
  3285. FXFONT_DEFAULT_CHARSET = 1
  3286. # ./fpdf_sysfontinfo.h: 13
  3287. FXFONT_SYMBOL_CHARSET = 2
  3288. # ./fpdf_sysfontinfo.h: 14
  3289. FXFONT_SHIFTJIS_CHARSET = 128
  3290. # ./fpdf_sysfontinfo.h: 15
  3291. FXFONT_HANGEUL_CHARSET = 129
  3292. # ./fpdf_sysfontinfo.h: 16
  3293. FXFONT_GB2312_CHARSET = 134
  3294. # ./fpdf_sysfontinfo.h: 17
  3295. FXFONT_CHINESEBIG5_CHARSET = 136
  3296. # ./fpdf_sysfontinfo.h: 18
  3297. FXFONT_GREEK_CHARSET = 161
  3298. # ./fpdf_sysfontinfo.h: 19
  3299. FXFONT_VIETNAMESE_CHARSET = 163
  3300. # ./fpdf_sysfontinfo.h: 20
  3301. FXFONT_HEBREW_CHARSET = 177
  3302. # ./fpdf_sysfontinfo.h: 21
  3303. FXFONT_ARABIC_CHARSET = 178
  3304. # ./fpdf_sysfontinfo.h: 22
  3305. FXFONT_CYRILLIC_CHARSET = 204
  3306. # ./fpdf_sysfontinfo.h: 23
  3307. FXFONT_THAI_CHARSET = 222
  3308. # ./fpdf_sysfontinfo.h: 24
  3309. FXFONT_EASTERNEUROPEAN_CHARSET = 238
  3310. # ./fpdf_sysfontinfo.h: 25
  3311. FXFONT_FF_FIXEDPITCH = (1 << 0)
  3312. # ./fpdf_sysfontinfo.h: 26
  3313. FXFONT_FF_ROMAN = (1 << 4)
  3314. # ./fpdf_sysfontinfo.h: 27
  3315. FXFONT_FF_SCRIPT = (4 << 4)
  3316. # ./fpdf_sysfontinfo.h: 28
  3317. FXFONT_FW_NORMAL = 400
  3318. # ./fpdf_sysfontinfo.h: 29
  3319. FXFONT_FW_BOLD = 700
  3320. # ./fpdf_text.h: 472
  3321. FPDF_MATCHCASE = 0x00000001
  3322. # ./fpdf_text.h: 473
  3323. FPDF_MATCHWHOLEWORD = 0x00000002
  3324. # ./fpdf_text.h: 474
  3325. FPDF_CONSECUTIVE = 0x00000004
  3326. # ./fpdf_edit.h: 93
  3327. FPDF_IMAGEOBJ_METADATA = struct_FPDF_IMAGEOBJ_METADATA
  3328. # -- End header members --