bindings.py 134 KB

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