
    ,h Y#                    ,  d dl mZ esdev rddlmZ nd dlZ	 d dlZd Z
d Zd Zd	 Z G d
 de      Zd dlZdGdZd Z G d de      Z ej*                  e        G d de      Z ej.                  e        G d de      Z ej2                  e        G d de      Z ej6                  e        G d de      Z ej:                  e        G d de      Z ej>                  e        G d de      Z  ejB                  e         G d de      Z" ejF                  e"        G d de      Z$ ejJ                  e$        G d  d!e      Z& ejN                  e&        G d" d#e      Z( ejR                  e(        G d$ d%e      Z* ejV                  e*       d& Z,d' Z-d( Z.d) Z/d* Z0d+ Z1d, Z2d- Z3d. Z4ejj                  Z5	 ejl                  Z6ejn                  Z7ejp                  Z8ejr                  Z9	 ejt                  Z:ejv                  Z;ejx                  Z<ejz                  Z=ej|                  Z>ej~                  Z?ej                  Z@ej                  ZAej                  ZBej                  ZCej                  ZDej                  ZEej                  ZFej                  ZGej                  ZHej                  ZIej                  ZJej                  ZKej                  ZLej                  ZMej                  ZNej                  ZOej                  ZPej                  ZQej                  ZRej                  ZSd/ ZTd0 ZUd1 ZVd2 ZWd3 ZXd4 ZYd5 ZZd6 Z[d7 Z\d8 Z]d9 Z^d: Z_d; Z`d< Zad= Zbd> Zcd? Zdd@ ZedA ZfdB ZgdC ZhdD ZidE ZjdF ZkdG ZldH ZmdI ZndJ ZodK ZpdL ZqdM ZrdN ZsdO ZtdP ZudQ ZvdR ZwdS ZxdT ZydU ZzdV Z{dW Z|dX Z}dY Z~dZ Zd[ Zd\ Zd] Zd^ Zd_ Zd` Zda Zdb Zdc Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Z	 ej                   Zej"                  Z	 ej$                  Zej&                  Zej(                  Zej*                  Zej,                  Z G dd dee      Z ej0                  e        G df dge      Z ej4                  e        G dh die      Z ej8                  e        G dj dke      Z ej<                  e       ej>                  Zej@                  ZejB                  ZejD                  ZejF                  ZejH                  Z G dl dme      Z ejL                  e       ejN                  ZejP                  Z G dn doe      Z ejT                  e       ejV                  ZejX                  ZejZ                  Zej\                  Zej^                  Zej`                  Zejb                  Zejd                  Zejf                  Zejh                  Zejj                  Zejl                  Zejn                  Zejp                  Z G dp dqe      Z ejt                  e       ejv                  Zejx                  Zejz                  Zej|                  Zej~                  Zej                  Z G dr dse      Z ej                  e       ej                  Z G dt due      Z ej                  eī        G dv dwe      Z ej                  eƫ        G dx dye      Z ej                  eȫ        G dz d{e      Z ej                  eʫ        G d| d}e      Z ej                  e̫       ej                  Zej                  Z G d~ de      Z ej                  eЫ        G d de      Z ej                  eҫ        G d de      Z ej                  eԫ        G d de      Z ej                  e֫        G d de      Z ej                  eث        G d de      Z ej                  eګ        G d de      Z ej                  eܫ       ej                  Zej                  Z G d de      Z ej                  e       ej                  Zej                  Zej                  Zej                  Zej                  Zej                  Z G d de      Z ej                  e        G d de      Z ej                  e       ej                  Z G d de      Z ej                  e        G d de      Z ej                  e        G d de      Z ej                  e        G d de      Z ej                  e       ej                  Zej                  Zej                  Zej                  Z G d de      Z ej                  e       ej                  Zej                  Zej                  Zej                  Zej                  Zej                   Z  G d de      Z ej                  e       ej                  Z G d de      Z ej
                  e       ej                  Zej                  Zej                  Zej                  Z	 G d de      Z
 ej                  e
       ej                  Zej                  Zej                  Zej                  Zej                   Zej"                  Z G d de      Z ej&                  e        G d de      Z ej*                  e        G d de      Z ej.                  e       ej0                  Zej2                  Zej4                  Zej6                  Zej8                  Zej:                  Zej<                  Zej>                  Zej@                  Z ejB                  Z!ejD                  Z"ejF                  Z#ejH                  Z$ejJ                  Z%ejL                  Z&ejN                  Z' G d de      Z( ejR                  e(        G d de      Z* ejV                  e*       ejX                  Z,ejZ                  Z-ej\                  Z.ej^                  Z/ej`                  Z0ejb                  Z1ejd                  Z2 G d de      Z3 ejh                  e3        G d de      Z5 ejl                  e5        G d de      Z7 ejp                  e7       ejr                  Z9ejt                  Z:ejv                  Z;ejx                  Z<ejz                  Z=ej|                  Z>ej~                  Z?ej                  Z@ej                  ZAej                  ZBej                  ZC G d de      ZD ej                  eD        G d de      ZF ej                  eF        G d de      ZH ej                  eH       ej                  ZJej                  ZKej                  ZLej                  ZMej                  ZNej                  ZOej                  ZPej                  ZQ G d de      ZR ej                  eR        G d de      ZT ej                  eT        G d de      ZV ej                  eV       ej                  ZXej                  ZYej                  ZZej                  Z[ej                  Z\ej                  Z]ej                  Z^ej                  Z_ej                  Z` G d de      Za ej                  ea        G d de      Zc ej                  ec       ej                  Zeej                  Zfej                  Zgej                  Zhej                  Ziej                  Zjej                  Zkej                  Zlej                  Zmej                  Znej                  Zoej                  Zpej                  Zqej                  Zrej                  Zsej                  Ztej                  Zuej                  Zvej                  Zwej                  Zxej                  Zyej                  Zzej                  Z{ej                  Z|ej                  Z}ej                  Z~ej                  Zej                   Zej                  Zej                  Zej                  Zej                  Zej
                  Zej                  Z G d de      Z ej                  e        G dĄ de      Z ej                  e       ej                  Zej                  Zej                  Zej                  Zej                  Zej                   Zej"                  Zej$                  Zej&                  Zej(                  Zej*                  Zej,                  Zej.                  Zej0                  Zej2                  Zej4                  Zej6                  Zej8                  Zej:                  Zej<                  Zej>                  Zej@                  ZejB                  ZejD                  ZejF                  ZejH                  ZejJ                  ZejL                  ZejN                  ZejP                  ZejR                  ZejT                  ZejV                  ZejX                  ZejZ                  Zej\                  Zej^                  Zej`                  Zejb                  Zejd                  Zejf                  Zejh                  Zejj                  Zejl                  Zejn                  Zejp                  Zejr                  Zejt                  Zejv                  Zejx                  Zejz                  Zej|                  Zej~                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Z G dƄ de      Z ej                  eͫ       ej                  Zej                  Zej                  Z G dȄ de      Z ej                  eҫ       ej                  Zej                  Z G dʄ de      Z ej                  e֫        G d̄ de      Z ej                  eث        G d΄ de      Z ej                  eګ        G dЄ de      Z ej                  eܫ        G d҄ de      Z ej                  eޫ       ej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Z G dԄ de      Z ej                  e       ej                  Zej                  Zej                  Zej                  Zej                  Z G dք de      Z ej                  e        G d؄ de      Z ej                  e        G dڄ de      Z ej                  e       ej                  Zej                  Zej                  Zej                  Zej                  Zej                   Z  G d܄ de      Z ej                  e        G dބ de      Z ej                  e       ej
                  Zej                  Zej                  Z G d de      Z ej                  e       ej                  Z
ej                  Zej                  Zej                  Zej                  Zej                  Zej                   Zej"                  Zej$                  Zej&                  Zej(                  Zej*                  Z G d de      Z ej.                  e        G d de      Z ej2                  e       ej4                  Zej6                  Zej8                  Zej:                  Zej<                  Zej>                  Zej@                  Z ejB                  Z! G d de      Z" ejF                  e"        G d de      Z$ ejJ                  e$        G d de      Z& ejN                  e&        G d de      Z( ejR                  e(       ejT                  Z*ejV                  Z+ejX                  Z,ejZ                  Z-ej\                  Z.ej^                  Z/ej`                  Z0ejb                  Z1ejd                  Z2ejf                  Z3ejh                  Z4ejj                  Z5ejl                  Z6ejn                  Z7ejp                  Z8ejr                  Z9ejt                  Z:ejv                  Z;ejx                  Z<ejz                  Z=ej|                  Z>ej~                  Z?ej                  Z@ej                  ZAej                  ZBej                  ZCej                  ZDej                  ZEej                  ZFej                  ZGej                  ZHej                  ZIej                  ZJej                  ZKej                  ZLej                  ZMej                  ZNej                  ZOej                  ZPej                  ZQej                  ZRej                  ZSej                  ZTej                  ZUej                  ZVej                  ZWej                  ZXej                  ZYej                  ZZ G d de      Z[ ej                  e[        G d de      Z] ej                  e]        G d de      Z_ ej                  e_        G d de      Za ej                  ea        G d de      Zc ej                  ec        G d de      Ze ej                  ee        G d de      Zg ej                  eg        G d de      Zi ej                  ei        G d de      Zk ej                  ek       ej                  Zmej                  Znej                  Zoej                  Zpej                  Zq G d  de      Zr ej                  er        G d de      Zt ej                  et        G d de      Zv ej                  ev       ej                  Zxej                  Zyej                  Zzej                  Z{ej                  Z| G d de      Z} ej                  e}        G d d	e      Z ej                   e        G d
 de      Z ej                  e       ej                  Zej                  Zej
                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                   Zej"                  Zej$                  Zej&                  Zej(                  Zej*                  Zej,                  Zej.                  Zej0                  Zej2                  Zej4                  Zej6                  Zej8                  Zej:                  Zej<                  Zej>                  Zej@                  ZejB                  ZejD                  ZejF                  ZejH                  ZejJ                  ZejL                  ZejN                  ZejP                  ZejR                  ZejT                  ZejV                  ZejX                  ZejZ                  Zej\                  Zej^                  Zej`                  Zejb                  Zejd                  Zejf                  Zejh                  Zejj                  Zejl                  Zejn                  Zejp                  Zejr                  Zejt                  Zejv                  Zejx                  Zejz                  Zej|                  Zej~                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                   Z ej                  Zej                  Zej                  Zej                  Zej
                  Zej                  Zej                  Zej                  Zej                  Z	ej                  Z
ej                  Zej                  Zej                  Zej                  Zej                  Zej                   Zej"                  Zej$                  Zej&                  Zej(                  Zej*                  Zej,                  Zej.                  Zej0                  Zej2                  Zej4                  Zej6                  Zej8                  Zej:                  Zej<                  Zej>                  Zej@                  Z ejB                  Z!ejD                  Z"ejF                  Z#ejH                  Z$ejJ                  Z%ejL                  Z&ejN                  Z'ejP                  Z(ejR                  Z)ejT                  Z*ejV                  Z+ejX                  Z,ejZ                  Z-ej\                  Z.ej^                  Z/ej`                  Z0ejb                  Z1ejd                  Z2ejf                  Z3ejh                  Z4ejj                  Z5ejl                  Z6ejn                  Z7ejp                  Z8ejr                  Z9ejt                  Z:ejv                  Z;ejx                  Z<ejz                  Z=ej|                  Z>ej~                  Z?ej                  Z@ej                  ZAej                  ZBej                  ZCej                  ZDej                  ZEej                  ZFej                  ZGej                  ZHej                  ZIej                  ZJej                  ZKej                  ZLej                  ZMej                  ZNej                  ZOej                  ZPej                  ZQej                  ZRej                  ZSej                  ZTej                  ZUej                  ZVej                  ZWej                  ZXej                  ZYej                  ZZej                  Z[ej                  Z\ej                  Z]ej                  Z^ej                  Z_ej                  Z`ej                  Zaej                  Zbej                  Zcej                  Zdej                  Zeej                  Zfej                  Zgej                  Zhej                  Ziej                  Zjej                  Zkej                  Zlej                  Zmej                  Znej                  Zoej                  Zpej                  Zqej                  Zrej                  Zsej                  Ztej                  Zuej                  Zvej                  Zwej                  Zxej                  Zyej                  Zzej                  Z{ej                  Z|ej                  Z}ej                  Z~ej                  Zej                   Zej                  Zej                  Zej                  Zej                  Zej
                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                   Zej"                  Zej$                  Zej&                  Zej(                  Zej*                  Zej,                  Zej.                  Zej0                  Zej2                  Zej4                  Zej6                  Zej8                  Zej:                  Zej<                  Zej>                  Zej@                  ZejB                  ZejD                  ZejF                  ZejH                  ZejJ                  ZejL                  ZejN                  ZejP                  ZejR                  ZejT                  ZejV                  ZejX                  ZejZ                  Zej\                  Zej^                  Zej`                  Zejb                  Zejd                  Zejf                  Zejh                  Zejj                  Zejl                  Zejn                  Zejp                  Zejr                  Zejt                  Zejv                  Zejx                  Zejz                  Zej|                  Zej~                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                   Z ej                  Zej                  Zej                  Zej                  Zej
                  Zej                  Zej                  Zej                  Zej                  Z	ej                  Z
ej                  Zej                  Zej                  Zej                  Zej                  Zej                   Zej"                  Zej$                  Zej&                  Zej(                  Zej*                  Zej,                  Zej.                  Zej0                  Zej2                  Zej4                  Zej6                  Zej8                  Zej:                  Zej<                  Zej>                  Zej@                  Z ejB                  Z!ejD                  Z"ejF                  Z#ejH                  Z$ejJ                  Z%ejL                  Z&ejN                  Z'ejP                  Z(ejR                  Z)ejT                  Z*ejV                  Z+ejX                  Z,ejZ                  Z-ej\                  Z.ej^                  Z/ej`                  Z0ejb                  Z1ejd                  Z2ejf                  Z3ejh                  Z4ejj                  Z5ejl                  Z6ejn                  Z7ejp                  Z8ejr                  Z9ejt                  Z:ejv                  Z;ejx                  Z<ejz                  Z=ej|                  Z>ej~                  Z?ej                  Z@ej                  ZAej                  ZBej                  ZCej                  ZDej                  ZEej                  ZFej                  ZGej                  ZHej                  ZIej                  ZJej                  ZKej                  ZLej                  ZMej                  ZNej                  ZOej                  ZPej                  ZQej                  ZRej                  ZSej                  ZTej                  ZUej                  ZVej                  ZWej                  ZXej                  ZYej                  ZZej                  Z[ej                  Z\ej                  Z]ej                  Z^ej                  Z_ej                  Z`ej                  Zaej                  Zbej                  Zcej                  Zdej                  Zeej                  Zfej                  Zgej                  Zhej                  Ziej                  Zjej                  Zkej                  Zlej                  Zmej                  Znej                  Zoej                  Zpej                  Zqej                  Zrej                  Zsej                  Ztej                  Zuej                  Zvej                  Zwej                  Zxej                  Zyej                  Zzej                  Z{ej                  Z|ej                  Z}ej                  Z~ej                  Ze	j                   Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j
                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                   Ze	j"                  Ze	j$                  Ze	j&                  Ze	j(                  Ze	j*                  Ze	j,                  Ze	j.                  Ze	j0                  Ze	j2                  Ze	j4                  Ze	j6                  Ze	j8                  Ze	j:                  Ze	j<                  Ze	j>                  Ze	j@                  Ze	jB                  Ze	jD                  Ze	jF                  Ze	jH                  Ze	jJ                  Ze	jL                  Ze	jN                  Ze	jP                  Ze	jR                  Ze	jT                  Ze	jV                  Ze	jX                  Ze	jZ                  Ze	j\                  Ze	j^                  Ze	j`                  Ze	jb                  Ze	jd                  Ze	jf                  Ze	jh                  Ze	jj                  Ze	jl                  Ze	jn                  Ze	jp                  Ze	jr                  Ze	jt                  Ze	jv                  Ze	jx                  Ze	jz                  Ze	j|                  Ze	j~                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Z G d de      Z e	j                  e׫        G d de      Z e	j                  e٫        G d de      Z e	j                  e۫        G d de      Z e	j                  eݫ       e	j                  Ze	j                  Ze	j                  Z G d de      Z e	j                  e        G d de      Z e	j                  e        G d de      Z e	j                  e        G d de      Z e	j                  e        G d de      Z e	j                  e        G d de      Z e	j                  e       e	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Z G d  d!e      Z e	j                  e       e	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze	j                  Ze
j                   Z e
j                  Ze
j                  Ze
j                  Ze
j                  Ze
j
                  Ze
j                  Ze
j                  Ze
j                  Ze
j                  Z	e
j                  Z
e
j                  Ze
j                  Ze
j                  Ze
j                  Ze
j                  Z G d" d#e      Z e
j"                  e       e
j$                  Z G d$ d%e      Z e
j(                  e        G d& d'e      Z e
j,                  e       e
j.                  Ze
j0                  Ze
j2                  Ze
j4                  Ze
j6                  Ze
j8                  Ze
j:                  Ze
j<                  Ze
j>                  Ze
j@                  Z e
jB                  Z!e
jD                  Z"e
jF                  Z#e
jH                  Z$e
jJ                  Z%e
jL                  Z& G d( d)e      Z' e
jP                  e'        G d* d+e      Z) e
jT                  e)        G d, d-e      Z+ e
jX                  e+        G d. d/e      Z- e
j\                  e-       e
j^                  Z/e
j`                  Z0e
jb                  Z1e
jd                  Z2e
jf                  Z3e
jh                  Z4e
jj                  Z5e
jl                  Z6e
jn                  Z7 G d0 d1e      Z8 e
jr                  e8        G d2 d3e      Z: e
jv                  e:        G d4 d5e      Z< e
jz                  e<       e
j|                  Z>e
j~                  Z?e
j                  Z@e
j                  ZAe
j                  ZBe
j                  ZC G d6 d7e      ZD e
j                  eD        G d8 d9e      ZF e
j                  eF       e
j                  ZH G d: d;e      ZI e
j                  eI        G d< d=e      ZK e
j                  eK        G d> d?e      ZM e
j                  eM        G d@ dAe      ZO e
j                  eO       e
j                  ZQe
j                  ZRe
j                  ZSe
j                  ZTe
j                  ZUe
j                  ZVe
j                  ZWe
j                  ZXe
j                  ZYe
j                  ZZe
j                  Z[ G dB dCe      Z\ e
j                  e\        G dD dEe      Z^ e
j                  e^        G dF dGe      Z` e
j                  e`        G dH dIe      Zb e
j                  eb       e
j                  Zde
j                  Zee
j                  Zfe
j                  Zge
j                  Zhe
j                  Zie
j                  Zje
j                  Zke
j                  Zl G dJ dKe      Zm e
j                  em        G dL dMe      Zo e
j                  eo       e
j                  Zqe
j                  Zre
j                  Zse
j                  Zte
j                  Zue
j                  Zve
j                  Zwe
j                  Zxe
j                  Zye
j                  Zze
j                  Z{e
j                  Z|e
j                  Z}e
j                  Z~e
j                  Zej                   Zej                  Zej                  Zej                  Zej                  Zej
                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                   Zej"                  Zej$                  Zej&                  Zej(                  Zej*                  Zej,                  Zej.                  Zej0                  Zej2                  Zej4                  Zej6                  Zej8                  Zej:                  Zej<                  Zej>                  Zej@                  ZejB                  ZejD                  ZejF                  ZejH                  ZejJ                  ZejL                  ZejN                  ZejP                  ZejR                  ZejT                  ZejV                  ZejX                  ZejZ                  Zej\                  Zej^                  Zej`                  Zejb                  Zejd                  Zejf                  Zejh                  Zejj                  Zejl                  Z G dN dOe      Z ejp                  e       ejr                  Zejt                  Zejv                  Zejx                  Zejz                  Zej|                  Zej~                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Z G dP dQe      Z ej                  eګ       ej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Zej                  Z G dR dSe      Z ej                  e        G dT dUe      Z ej                  e       ej                  Zej                  Zej                  Zej                  Zej                  Zej                  Z G dV dWe      Z ej                  e        G dX dYe      Z ej                  e       ej                  Zej                  Zej                  Zej                  Zej                  Zej                  Z G dZ d[e      Z ej                  e       ej                  Zej                  Zej                  Zej                  Zej                  Zej                   Z ej                  Zej                  Zej                  Zej                  Zej
                  Zej                  Zej                  Z G d\ d]e      Z ej                  e        G d^ d_e      Z
 ej                  e
       ej                  Zej                  Zej                  Zej                  Zej                   Zej"                  Zej$                  Zej&                  Z G d` dae      Z ej*                  e       ej,                  Zej.                  Z G db dce      Z ej2                  e        G dd dee      Z ej6                  e       ej8                  Zej:                  Zej<                  Zej>                  Zej@                  Z ejB                  Z!ejD                  Z"ejF                  Z# G df dge      Z$ ejJ                  e$        G dh die      Z& ejN                  e&        G dj dke      Z( ejR                  e(       dl Z*dm Z+dn Z,do Z-dp Z.dq Z/dr Z0ds Z1dt Z2du Z3dv Z4dw Z5dx Z6dy Z7dz Z8d{ Z9d| Z:d} Z;d~ Z<d Z=d Z>d Z?d Z@d ZAd ZBd ZCd ZDd ZEd ZFd ZGd ZHd ZId ZJd ZKd ZLd ZMd ZNd ZOd ZPd ZQd ZRd ZSd ZTd ZUd ZVd ZWd ZXd ZYd ZZd Z[d Z\d Z]d Z^d Z_d Z`d Zad Zbd Zcd Zdd Zed Zfd Zgd Zhd Zid Zjd Zkd Zld Zmd Znd Zod Zpd Zqd Zrd Zsd Ztd Zud Zvd Zwd Zxd Zyd Zzd Z{d Z|d Z}d Z~d Zd ZdÄ ZdĄ Zdń ZdƄ ZdǄ ZdȄ ZdɄ Zdʄ Zd˄ Zd̄ Zd̈́ Zd΄ Zdτ ZdЄ Zdф Zd҄ Zdӄ ZdԄ ZdՄ Zdք Zdׄ Zd؄ Zdل Zdڄ Zdۄ Zd܄ Zd݄ Zdބ Zd߄ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd  Zd Zd Zd Zd Zd ZÐd ZĐd ZŐd ZƐd	 Zǐd
 ZȐd Zɐd Zʐd Zːd Z̐d Z͐d Zΐd Zϐd ZАd Zѐd ZҐd ZӐd ZԐd ZՐd Z֐d Zאd Zؐd Zِd Zڐd Zېd Zܐd Zݐd  Zސd! Zߐd" Zd# Zd$ Zd% Zd& Zd' Zd( Zd) Zd* Zd+ Zd, Zd- Zd. Zd/ Zd0 Zd1 Zd2 Zd3 Zd4 Zd5 Zd6 Zd7 Zd8 Zd9 Zd: Zd; Zd< Zd= Zd> Zd? Zd@ ZdA ZdB Z dC ZdD ZdE ZdF ZdG ZdH ZdI ZdJ ZdK Z	dL Z
dM ZdN ZdO ZdP ZdQ ZdR ZdS ZdT ZdU ZdV ZdW ZdX ZdY ZdZ Zd[ Zd\ Zd] Zd^ Zd_ Zd` Zda Zdb Z dc Z!dd Z"de Z#df Z$dg Z%dh Z&di Z'dj Z(dk Z)dl Z*dm Z+dn Z,do Z-dp Z.dq Z/dr Z0ds Z1dt Z2du Z3dv Z4dw Z5dx Z6dy Z7dz Z8d{ Z9d| Z:d} Z;d~ Z<d Z=d Z>d Z?d Z@d ZAd ZBd ZCd ZDd ZEd ZFd ZGd ZHd ZId ZJd ZKd ZLd ZMd ZNd ZOd ZPd ZQd ZRd ZSd ZTd ZUd ZVd ZWd ZXd ZYd ZZd Z[d Z\d Z]d Z^d Z_d Z`d Zad Zbd Zcd Zdd Zed Zfd Zgd Zhd Zid Zjd Zkd Zld Zmd Znd Zod Zpd Zqd Zrd Zsd Ztd Zud Zvd Zwd Zxd Zyd Zzd Z{d Z|d Z}d Z~d Zd ZdÄ ZdĄ Zdń ZdƄ ZdǄ ZdȄ ZdɄ Zdʄ Zd˄ Zd̄ Zd̈́ Zd΄ Zdτ ZdЄ Zdф Zd҄ Zdӄ ZdԄ ZdՄ Zdք Zdׄ Zd؄ Zdل Zdڄ Zdۄ Zd܄ Zd݄ Zdބ Zd߄ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd  Zd Zd Zd Zd Zd ZÐd ZĐd ZŐd ZƐd	 Zǐd
 ZȐd Zɐd Zʐd Zːd Z̐d Z͐d Zΐd Zϐd ZАd Zѐd ZҐd ZӐd ZԐd ZՐd Z֐d Zאd Zؐd Zِd Zڐd Zېd Zܐd Zݐd  Zސd! Zߐd" Zd# Zd$ Zd% Zd& Zd' Zd( Zd) Zd* Zd+ Zd, Zd- Zd. Zd/ Zd0 Zd1 Zd2 Zd3 Zd4 Zd5 Zd6 Zd7 Zd8 Zd9 Zd: Zd; Zd< Zd= Zd> Zd? Zd@ ZdA ZdB Z dC ZdD ZdE ZdF ZdG ZdH ZdI ZdJ ZdK Z	dL Z
dM ZdN ZdO ZdP ZdQ ZdR ZdS ZdT ZdU ZdV ZdW ZdX ZdY ZdZ Zd[ Zd\ Zd] Zd^ Zd_ Zd` Zda Zdb Z dc Z!dd Z"de Z#df Z$dg Z%dh Z&di Z'dj Z(dk Z)dl Z*dm Z+dn Z,do Z-dp Z.dq Z/dr Z0ds Z1dt Z2du Z3dv Z4dw Z5dx Z6dy Z7dz Z8d{ Z9d| Z:d} Z;d~ Z<d Z=d Z>d Z?d Z@d ZAd ZBd ZCd ZDd ZEd ZFd ZGd ZHd ZId ZJd ZKd ZLd ZMd ZNd ZOd ZPd ZQd ZRd ZSd ZTd ZUd ZVd ZWd ZXd ZYd ZZd Z[d Z\d Z]d Z^d Z_d Z`d Zad Zbd Zcd Zdd Zed Zfd Zgd Zhd Zid Zjd Zkd Zld Zmd Znd Zod Zpd Zqd Zrd Zsd Ztd Zud Zvd Zwd Zxd Zyd Zzd Z{d Z|d Z}d Z~d Zd ZdÄ ZdĄ Zdń ZdƄ ZdǄ ZdȄ ZdɄ Zdʄ Zd˄ Zd̄ Zd̈́ Zd΄ Zdτ ZdЄ Zdф Zd҄ Zdӄ ZdԄ ZdՄ Zdք Zdׄ Zd؄ Zdل Zdڄ Zdۄ Zd܄ Zd݄ Zdބ Zd߄ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd  Zd Zd Zd Zd Zd ZÐd ZĐd ZŐd ZƐd	 Zǐd
 ZȐd Zɐd Zʐd Zːd Z̐d Z͐d Zΐd Zϐd ZАd Zѐd ZҐd ZӐd ZԐd ZՐd Z֐d Zאd Zؐd Zِd Zڐd Zېd Zܐd Zݐd  Zސd! Zߐd" Zd# Zd$ Zd% Zd& Zd' Zd( Zd) Zd* Zd+ Zd, Zd- Zd. Zd/ Zd0 Zd1 Zd2 Zd3 Zd4 Zd5 Zd6 Zd7 Zd8 Zd9 Zd: Zd; Zd< Zd= Zd> Zd? Zd@ ZdA ZdB 	Z dC 	ZdD 	ZdE 	ZdF 	ZdG 	ZdH 	ZdI 	ZdJ 	ZdK 	Z	dL 	Z
dM 	ZdN 	ZdO 	ZdP 	ZdQ 	ZdR 	ZdS 	ZdT 	ZdU 	ZdV 	ZdW 	ZdX 	ZdY 	ZdZ 	Zd[ 	Zd\ 	Zd] 	Zd^ 	Zd_ 	Zd` 	Zda 	Zdb 	Z dc 	Z!dd 	Z"de 	Z#df 	Z$dg 	Z%dh 	Z&di 	Z'dj 	Z(dk 	Z)dl 	Z*dm 	Z+dn 	Z,do 	Z-dp 	Z.dq 	Z/dr 	Z0ds 	Z1dt 	Z2du 	Z3dv 	Z4dw 	Z5dx 	Z6dy 	Z7dz 	Z8d{ 	Z9d| 	Z:d} 	Z;d~ 	Z<d 	Z=d 	Z>d 	Z?d 	Z@d 	ZAd 	ZBd 	ZCd 	ZDd 	ZEd 	ZFd 	ZGd 	ZHd 	ZId 	ZJd 	ZKd 	ZLd 	ZMd 	ZNd 	ZOd 	ZPd 	ZQd 	ZRd 	ZSd 	ZTd 	ZUd 	ZVd 	ZWd 	ZXd 	ZYd 	ZZd 	Z[d 	Z\d 	Z]d 	Z^d 	Z_d 	Z`d 	Zad 	Zbd 	Zcd 	Zdd 	Zed 	Zfd 	Zgd 	Zhd 	Zid 	Zjd 	Zkd 	Zld 	Zmd 	Znd 	Zod 	Zpd 	Zqd 	Zrd 	Zsd 	Ztd 	Zud 	Zvd 	Zwd 	Zxd 	Zyd 	Zzd 	Z{d 	Z|d 	Z}d 	Z~d 	Zd 	ZdÄ 	ZdĄ 	Zdń 	ZdƄ 	ZdǄ 	ZdȄ 	ZdɄ 	Zdʄ 	Zd˄ 	Zd̄ 	Zd̈́ 	Zd΄ 	Zdτ 	ZdЄ 	Zdф 	Zd҄ 	Zdӄ 	ZdԄ 	ZdՄ 	Zdք 	Zdׄ 	Zd؄ 	Zdل 	Zdڄ 	Zdۄ 	Zd܄ 	Zd݄ 	Zdބ 	Zd߄ 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd 	Zd  	Zd 	Zd 	Zd 	Zd 	Zd 	ZÐd 	ZĐd 	ZŐd 	ZƐd	 	Zǐd
 	ZȐd 	Zɐd 	Zʐd 	Zːd 	Z̐d 	Z͐d 	Zΐd 	Zϐd 	ZАd 	Zѐd 	ZҐd 	ZӐd 	ZԐd 	ZՐd 	Z֐d 	Zאd 	Zؐd 	Zِd 	Zڐd 	Zېd 	Zܐd 	Zݐd  	Zސd! 	Zߐd" 	Zd# 	Zd$ 	Zd% 	Zd& 	Zd' 	Zd( 	Zd) 	Zd* 	Zd+ 	Zd, 	Zd- 	Zd. 	Zd/ 	Zd0 	Zd1 	Zd2 	Zd3 	Zd4 	Zd5 	Zd6 	Zd7 	Zd8 	Zd9 	Zd: 	Zd; 	Zd< 	Zd= 	Zd> 	Zd? 	Zd@ 	ZdA 	ZdB 
Z dC 
ZdD 
ZdE 
ZdF 
ZdG 
ZdH 
ZdI 
ZdJ 
ZdK 
Z	dL 
Z
dM 
ZdN 
ZdO 
ZdP 
ZdQ 
ZdR 
ZdS 
ZdT 
ZdU 
ZdV 
ZdW 
ZdX 
ZdY 
ZdZ 
Zd[ 
Zd\ 
Zd] 
Zd^ 
Zd_ 
Zd` 
Zda 
Zdb 
Z dc 
Z!dd 
Z"de 
Z#df 
Z$dg 
Z%dh 
Z&di 
Z'dj 
Z(dk 
Z)dl 
Z*dm 
Z+dn 
Z,do 
Z-dp 
Z.dq 
Z/dr 
Z0ds 
Z1dt 
Z2du 
Z3dv 
Z4dw 
Z5dx 
Z6dy 
Z7dz 
Z8d{ 
Z9d| 
Z:d} 
Z;d~ 
Z<d 
Z=d 
Z>d 
Z?d 
Z@d 
ZAd 
ZBd 
ZCd 
ZDd 
ZEd 
ZFd 
ZGd 
ZHd 
ZId 
ZJd 
ZKd 
ZLd 
ZMd 
ZNd 
ZOd 
ZPd 
ZQd 
ZRd 
ZSd 
ZTd 
ZUd 
ZVd 
ZWd 
ZXd 
ZYd 
ZZd 
Z[d 
Z\d 
Z]d 
Z^d 
Z_d 
Z`d 
Zad 
Zbd 
Zcd 
Zdd 
Zed 
Zfd 
Zgd 
Zhd 
Zid 
Zjd 
Zkd 
Zld 
Zmd 
Znd 
Zod 
Zpd 
Zqd 
Zrd 
Zsd 
Ztd 
Zud 
Zvd 
Zwd 
Zxd 
Zyd 
Zzd 
Z{d 
Z|d 
Z}d 
Z~d 
Zd 
ZdÄ 
ZdĄ 
Zdń 
ZdƄ 
ZdǄ 
ZdȄ 
ZdɄ 
Zdʄ 
Zd˄ 
Zd̄ 
Zd̈́ 
Zd΄ 
Zdτ 
ZdЄ 
Zdф 
Zd҄ 
Zdӄ 
ZdԄ 
ZdՄ 
Zdք 
Zdׄ 
Zd؄ 
Zdل 
Zdڄ 
Zdۄ 
Zd܄ 
Zd݄ 
Zdބ 
Zd߄ 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd 
Zd  
Zd 
Zd 
Zd 
Zd 
Zd 
ZÐd 
ZĐd 
ZŐd 
ZƐd	 
Zǐd
 
ZȐd 
Zɐd 
Zʐd 
Zːd 
Z̐d 
Z͐d 
Zΐd 
Zϐd 
ZАd 
Zѐd 
ZҐd 
ZӐd 
ZԐd 
ZՐd 
Z֐d 
Zאd 
Zؐd 
Zِd 
Zڐd 
Zېd 
Zܐd 
Zݐd  
Zސd! 
Zߐd" 
Zd# 
Zd$ 
Zd% 
Zd& 
Zd' 
Zd( 
Zd) 
Zd* 
Zd+ 
Zd, 
Zd- 
Zd. 
Zd/ 
Zd0 
Zd1 
Zd2 
Zd3 
Zd4 
Zd5 
Zd6 
Zd7 
Zd8 
Zd9 
Zd: 
Zd; 
Zd< 
Zd= 
Zd> 
Zd? 
Zd@ 
ZdA 
ZdB Z dC ZdD ZdE ZdF ZdG ZdH ZdI ZdJ ZdK Z	dL Z
dM ZdN ZdO ZdP ZdQ ZdR ZdS ZdT ZdU ZdV ZdW ZdX ZdY ZdZ Zd[ Zd\ Zd] Zd^ Zd_ Zd` Zda Zdb Z dc Z!dd Z"de Z#df Z$dg Z%dh Z&di Z'dj Z(dk Z)dl Z*dm Z+dn Z,do Z-dp Z.dq Z/dr Z0ds Z1dt Z2du Z3dv Z4dw Z5dx Z6dy Z7dz Z8d{ Z9d| Z:d} Z;d~ Z<d Z=d Z>d Z?d Z@d ZAd ZBd ZCd ZDd ZEd ZFd ZGd ZHd ZId ZJd ZKd ZLd ZMd ZNd ZOd ZPd ZQd ZRd ZSd ZTd ZUd ZVd ZWd ZXd ZYd ZZd Z[d Z\d Z]d Z^d Z_d Z`d Zad Zbd Zcd Zdd Zed Zfd Zgd Zhd Zid Zjd Zkd Zld Zmd Znd Zod Zpd Zqd Zrd Zsd Ztd Zud Zvd Zwd Zxd Zyd Zzd Z{d Z|d Z}d Z~d Zd ZdÄ ZdĄ Zdń ZdƄ ZdǄ ZdȄ ZdɄ Zdʄ Zd˄ Zd̄ Zd̈́ Zd΄ Zdτ ZdЄ Zdф Zd҄ Zdӄ ZdԄ ZdՄ Zdք Zdׄ Zd؄ Zdل Zdڄ Zdۄ Zd܄ Zd݄ Zdބ Zd߄ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd  Zd Zd Zd Zd Zd ZÐd ZĐd ZŐd ZƐd	 Zǐd
 ZȐd Zɐd Zʐd Zːd Z̐d Z͐d Zΐd Zϐd ZАd Zѐd ZҐd ZӐd ZԐd ZՐd Z֐d Zאd Zؐd Zِd Zڐd Zېd Zܐd Zݐd  Zސd! Zߐd" Zd# Zd$ Zd% Zd& Zd' Zd( Zd) Zd* Zd+ Zd, Zd- Zd. Zd/ Zd0 Zd1 Zd2 Zd3 Zd4 Zd5 Zd6 Zd7 Zd8 Zd9 Zd: Zd; Zd< Zd= Zd> Zd? Zd@ ZdA ZdB Z dC ZdD ZdE ZdF ZdG ZdH ZdI ZdJ ZdK Z	dL Z
dM ZdN ZdO ZdP ZdQ ZdR ZdS ZdT ZdU ZdV ZdW ZdX ZdY ZdZ Zd[ Zd\ Zd] Zd^ Zd_ Zd` Zda Zdb Z dc Z!dd Z"de Z#df Z$dg Z%dh Z&di Z'dj Z(dk Z)dl Z*dm Z+dn Z,do Z-dp Z.dq Z/dr Z0ds Z1dt Z2du Z3dv Z4dw Z5dx Z6dy Z7dz Z8d{ Z9d| Z:d} Z;d~ Z<d Z=d Z>d Z?d Z@d ZAd ZBd ZCd ZDd ZEd ZFd ZGd ZHd ZId ZJd ZKd ZLd ZMd ZNd ZOd ZPd ZQd ZRd ZSd ZTd ZUd ZVd ZWd ZXd ZYd ZZd Z[d Z\d Z]d Z^d Z_d Z`d Zad Zbd Zcd Zdd Zed Zfd Zgd Zhd Zid Zjd Zkd Zld Zmd Znd Zod Zpd Zqd Zrd Zsd Ztd Zud Zvd Zwd Zxd Zyd Zzd Z{d Z|d Z}d Z~d Zd ZdÄ ZdĄ Zdń ZdƄ ZdǄ ZdȄ ZdɄ Zdʄ Zd˄ Zd̄ Zd̈́ Zd΄ Zdτ ZdЄ Zdф Zd҄ Zdӄ ZdԄ ZdՄ Zdք Zdׄ Zd؄ Zdل Zdڄ Zdۄ Zd܄ Zd݄ Zdބ Zd߄ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd  Zd Zd Zd Zd Zd ZÐd ZĐd ZŐd ZƐd	 Zǐd
 ZȐd Zɐd Zʐd Zːd Z̐d Z͐d Zΐd Zϐd ZАd Zѐd ZҐd ZӐd ZԐd ZՐd Z֐d Zאd Zؐd Zِd Zڐd Zېd Zܐd Zݐd  Zސd! Zߐd" Zd# Zd$ Zd% Zd& Zd' Zd( Zd) Zd* Zd+ Zd, Zd- Zd. Zd/ Zd0 Zd1 Zd2 Zd3 Zd4 Zd5 Zd6 Zd7 Zd8 Zd9 Zd: Zd; Zd< Zd= Zd> Zd? Zd@ ZdA ZdB Z dC ZdD ZdE ZdF ZdG ZdH ZdI ZdJ ZdK Z	dL Z
dM ZdN ZdO ZdP ZdQ ZdR ZdS ZdT ZdU ZdV ZdW ZdX ZdY ZdZ Zd[ Zd\ Zd] Zd^ Zd_ Zd` Zda Zdb Z dc Z!dd Z"de Z#df Z$dg Z%dh Z&di Z'dj Z(dk Z)dl Z*dm Z+dn Z,do Z-dp Z.dq Z/dr Z0ds Z1dt Z2du Z3dv Z4dw Z5dx Z6dy Z7dz Z8d{ Z9d| Z:d} Z;d~ Z<d Z=d Z>d Z?d Z@d ZAd ZBd ZCd ZDd ZEd ZFd ZGd ZHd ZId ZJd ZKd ZLd ZMd ZNd ZOd ZPd ZQd ZRd ZSd ZTd ZUd ZVd ZWd ZXd ZYd ZZd Z[d Z\d Z]d Z^d Z_d Z`d Zad Zbd Zcd Zdd Zed Zfd Zgd Zhd Zid Zjd Zkd Zld Zmd Znd Zod Zpd Zqd Zrd Zsd Ztd Zud Zvd Zwd Zxd Zyd Zzd Z{d Z|d Z}d Z~d Zd ZdÄ ZdĄ Zdń ZdƄ ZdǄ ZdȄ ZdɄ Zdʄ Zd˄ Zd̄ Zd̈́ Zd΄ Zdτ ZdЄ Zdф Zd҄ Zdӄ ZdԄ ZdՄ Zdք Zdׄ Zd؄ Zdل Zdڄ Zdۄ Zd܄ Zd݄ Zdބ Zd߄ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z	d  Z	d Z	d Z	d Z	d Z	d ZÐ	d ZĐ	d ZŐ	d ZƐ	d	 Zǐ	d
 ZȐ	d Zɐ	d Zʐ	d Zː	d Z̐	d Z͐	d Zΐ	d Zϐ	d ZА	d Zѐ	d ZҐ	d ZӐ	d ZԐ	d ZՐ	d Z֐	d Zא	d Zؐ	d Zِ	d Zڐ	d Zې	d Zܐ	d Zݐ	d  Zސ	d! Zߐ	d" Z	d# Z	d$ Z	d% Z	d& Z	d' Z	d( Z	d) Z	d* Z	d+ Z	d, Z	d- Z	d. Z	d/ Z	d0 Z	d1 Z	d2 Z	d3 Z	d4 Z	d5 Z	d6 Z	d7 Z	d8 Z	d9 Z	d: Z	d; Z	d< Z	d= Z	d> Z	d? Z	d@ Z	dA Z	dB Z 	dC Z	dD Z	dE Z	dF Z	dG Z	dH Z	dI Z	dJ Z	dK Z		dL Z
	dM Z	dN Z	dO Z	dP Z	dQ Z	dR Z	dS Z	dT Z	dU Z	dV Z	dW Z	dX Z	dY Z	dZ Z	d[ Z	d\ Z	d] Z	d^ Z	d_ Z	d` Z	da Z	db Z 	dc Z!	dd Z"	de Z#	df Z$	dg Z%	dh Z&	di Z'	dj Z(	dk Z)	dl Z*	dm Z+	dn Z,	do Z-	dp Z.	dq Z/	dr Z0	ds Z1	dt Z2	du Z3	dv Z4	dw Z5	dx Z6	dy Z7	dz Z8	d{ Z9	d| Z:	d} Z;	d~ Z<	d Z=	d Z>	d Z?	d Z@	d ZA	d ZB	d ZC	d ZD	d ZE	d ZF G 	d 	de      ZG ej                  eG       ej                  ZI G 	d 	de      ZJ ej                  eJ        G 	d 	de      ZL ej                  eL        G 	d 	de      ZN ej                  eN        G 	d 	de      ZP ej                  eP        G 	d 	de      ZR ej                  eR        G 	d 	de      ZT ej                  eT        G 	d 	de      ZV ej                  eV        G 	d 	de      ZX ej                  eX        G 	d 	de      ZZ ej                  eZ        G 	d 	de      Z\ ej                  e\        G 	d 	de      Z^ ej                  e^        G 	d 	de      Z` ej                  e`        G 	d 	de      Zb ej                  eb        G 	d 	de      Zd ej                  ed        G 	d 	de      Zf ej                  ef        G 	d 	de      Zh ej                  eh        G 	d 	de      Zj ej                  ej        G 	d 	de      Zl ej                  el        G 	d 	de      Zn ej                  en        G 	d 	den      Zp ej                  ep        G 	d 	de      Zr ej                  er        G 	d 	de      Zt ej                  et        G 	d 	de      Zv ej                  ev        G 	d 	de      Zx ej                  ex        G 	d 	de      Zz ej                  ez        G 	d 	de      Z| ej                  e|        G 	d 	de      Z~ ej                  e~        G 	d 	de      Z ej                  e        G 	dÄ 	de      Z ej                  e        G 	dń 	de      Z ej
                  e        G 	dǄ 	de      Z ej                  e        G 	dɄ 	de      Z ej                  e        G 	d˄ 	de      Z ej                  e        G 	d̈́ 	de      Z ej                  e        G 	dτ 	de      Z ej                  e        G 	dф 	de      Z ej"                  e        G 	dӄ 	de      Z ej&                  e        G 	dՄ 	de      Z ej*                  e        G 	dׄ 	de      Z ej.                  e        G 	dل 	de      Z ej2                  e        G 	dۄ 	de      Z ej6                  e        G 	d݄ 	dސe      Z ej:                  e        G 	d߄ 	de      Z ej>                  e        G 	d 	de      Z ejB                  e        G 	d 	de      Z ejF                  e        G 	d 	de      Z ejJ                  e        G 	d 	de      Z ejN                  e        G 	d 	de      Z ejR                  e        G 	d 	de      Z ejV                  e        G 	d 	de      Z ejZ                  e        G 	d 	de      Z ej^                  e        G 	d 	de      Z ejb                  e        G 	d 	de      Z ejf                  e        G 	d 	de      Z ejj                  e        G 	d 	de      Z ejn                  e        G 	d 	de      Z ejr                  e        G 	d 	de      Z ejv                  e        G 	d 	de      Z ejz                  e        G 	d 
d e      Z ej~                  e        G 
d 
de      Z ej                  e        G 
d 
de      Z ej                  e«        G 
d 
de      Z ej                  eī        G 
d 
de      Z ej                  eƫ        G 
d	 
d
eƫ      Z ej                  eȫ        G 
d 
de      Z ej                  eʫ        G 
d 
de      Z ej                  e̫        G 
d 
de      Z ej                  eΫ        G 
d 
de      Z ej                  eЫ        G 
d 
deЫ      Z ej                  eҫ        G 
d 
de      Z ej                  eԫ        G 
d 
de      Z ej                  e֫        G 
d 
de      Z ej                  eث        G 
d 
de      Z ej                  eګ        G 
d 
de      Z ej                  eܫ        G 
d 
d e      Z ej                  eޫ        G 
d! 
d"e      Z ej                  e        G 
d# 
d$e      Z ej                  e        G 
d% 
d&e      Z ej                  e        G 
d' 
d(e      Z ej                  e        G 
d) 
d*e      Z ej                  e        G 
d+ 
d,e      Z ej                  e        G 
d- 
d.e      Z ej                  e        G 
d/ 
d0e      Z ej                  e        G 
d1 
d2e      Z ej                  e        G 
d3 
d4e      Z ej                  e        G 
d5 
d6e      Z ej                  e        G 
d7 
d8e      Z ej                  e        G 
d9 
d:e      Z ej                  e        G 
d; 
d<e      Z ej                  e        G 
d= 
d>e      Z ej                  e        G 
d? 
d@e      Z ej                  e        G 
dA 
dBe      Z  ej                  e         G 
dC 
dDe      Z ej                  e        G 
dE 
dFe      Z ej
                  e        G 
dG 
dHe      Z ej                  e        G 
dI 
dJe      Z ej                  e        G 
dK 
dLe      Z
 ej                  e
        G 
dM 
dNe      Z ej                  e        G 
dO 
dPe      Z ej                  e        G 
dQ 
dRe      Z ej"                  e        G 
dS 
dTe      Z ej&                  e        G 
dU 
dVe      Z ej*                  e        G 
dW 
dXe      Z ej.                  e        G 
dY 
dZe      Z ej2                  e        G 
d[ 
d\e      Z ej6                  e        G 
d] 
d^e      Z ej:                  e        G 
d_ 
d`e      Z ej>                  e        G 
da 
dbe      Z  ejB                  e         G 
dc 
dde      Z" ejF                  e"        G 
de 
dfe      Z$ ejJ                  e$        G 
dg 
dhe      Z& ejN                  e&        G 
di 
dje      Z( ejR                  e(        G 
dk 
dle      Z* ejV                  e*        G 
dm 
dne      Z, ejZ                  e,        G 
do 
dpe      Z. ej^                  e.        G 
dq 
dre      Z0 ejb                  e0        G 
ds 
dte      Z2 ejf                  e2        G 
du 
dve      Z4 ejj                  e4        G 
dw 
dxe      Z6 ejn                  e6        G 
dy 
dze      Z8 ejr                  e8        G 
d{ 
d|e      Z: ejv                  e:        G 
d} 
d~e      Z< ejz                  e<        G 
d 
de      Z> ej~                  e>        G 
d 
de      Z@ ej                  e@        G 
d 
de      ZB ej                  eB        G 
d 
de      ZD ej                  eD        G 
d 
de      ZF ej                  eF        G 
d 
de      ZH ej                  eH        G 
d 
de      ZJ ej                  eJ        G 
d 
de      ZL ej                  eL        G 
d 
de      ZN ej                  eN        G 
d 
de      ZP ej                  eP        G 
d 
deP      ZR ej                  eR        G 
d 
de      ZT ej                  eT        G 
d 
deT      ZV ej                  eV        G 
d 
de      ZX ej                  eX        G 
d 
de      ZZ ej                  eZ        G 
d 
de      Z\ ej                  e\        G 
d 
de      Z^ ej                  e^        G 
d 
de      Z` ej                  e`        G 
d 
de      Zb ej                  eb        G 
d 
de      Zd ej                  ed        G 
d 
de      Zf ej                  ef        G 
d 
de      Zh ej                  eh        G 
d 
de      Zj ej                  ej        G 
d 
de      Zl ej                  el        G 
d 
de      Zn ej                  en        G 
d 
de      Zp ej                  ep        G 
d 
de      Zr ej                  er        G 
d 
de      Zt ej                  et        G 
d 
de      Zv ej                  ev        G 
d 
de      Zx ej                  ex        G 
d 
de      Zz ej                  ez        G 
d 
de      Z| ej                  e|        G 
d 
de      Z~ ej                  e~        G 
d 
de      Z ej                  e        G 
dÄ 
de      Z ej                  e        G 
dń 
de      Z ej
                  e        G 
dǄ 
de      Z ej                  e        G 
dɄ 
de      Z ej                  e        G 
d˄ 
de      Z ej                  e        G 
d̈́ 
de      Z ej                  e        G 
dτ 
de      Z ej                  e        G 
dф 
de      Z ej"                  e        G 
dӄ 
de      Z ej&                  e        G 
dՄ 
de      Z ej*                  e        G 
dׄ 
dؐe      Z ej.                  e        G 
dل 
de      Z ej2                  e        G 
dۄ 
de      Z ej6                  e        G 
d݄ 
de      Z ej:                  e        G 
d߄ 
de      Z ej>                  e        G 
d 
de      Z ejB                  e        G 
d 
de      Z ejF                  e        G 
d 
de      Z ejJ                  e        G 
d 
de      Z ejN                  e        G 
d 
de      Z ejR                  e        G 
d 
de      Z ejV                  e        G 
d 
de      Z ejZ                  e        G 
d 
de      Z ej^                  e        G 
d 
de      Z ejb                  e        G 
d 
de      Z ejf                  e        G 
d 
de      Z ejj                  e       
d Z G 
d 
de      Z ejp                  e        G 
d 
de      Z ejt                  e        G 
d 
de      Z ejx                  e        G 
d 
de      Z ej|                  e       d  Zd Zd Zd Zd ZÐd ZĐd ZŐd ZƐd Zǐd	 ZȐd
 Zɐd Zʐd Zːd Z̐d Z͐d Zΐd Zϐd ZАd Zѐd ZҐd ZӐd ZԐd ZՐd Z֐d Zאd Zؐd Zِd Zڐd Zېd Zܐd Zݐd Zސd  Zߐd! Zd" Zd# Zd$ Zd% Zd& Zd' Zd( Zd) Zd* Zd+ Zd, Zd- Zd. Zd/ Zd0 Zd1 Zd2 Zd3 Zd4 Zd5 Zd6 Zd7 Zd8 Zd9 Zd: Zd; Zd< Zd= Zd> Zd? Zd@ ZdA Z dB ZdC ZdD ZdE ZdF ZdG ZdH ZdI ZdJ Z	dK Z
dL ZdM ZdN ZdO ZdP ZdQ ZdR ZdS ZdT ZdU ZdV ZdW ZdX ZdY ZdZ Zd[ Zd\ Zd] Zd^ Zd_ Zd` Zda Z db Z!dc Z"dd Z#de Z$df Z%dg Z&dh Z'di Z(dj Z)dk Z*dl Z+dm Z,dn Z-do Z.dp Z/dq Z0dr Z1ds Z2dt Z3du Z4dv Z5dw Z6dx Z7dy Z8dz Z9d{ Z:d| Z;d} Z<d~ Z=d Z>d Z?d Z@d ZAd ZBd ZCd ZDd ZEd ZFd ZGd ZHd ZId ZJd ZKd ZLd ZMd ZNd ZOd ZPd ZQd ZRd ZSd ZTd ZUd ZVd ZWd ZXd ZYd ZZd Z[d Z\d Z]d Z^d Z_d Z`d Zad Zbd Zcd Zdd Zed Zfd Zgd Zhd Zid Zjd Zkd Zld Zmd Znd Zod Zpd Zqd Zrd Zsd Ztd Zud Zvd Zwd Zxd Zyd Zzd Z{d Z|d Z}d Z~d Zd Zd ZdÄ ZdĄ Zdń ZdƄ ZdǄ ZdȄ ZdɄ Zdʄ Zd˄ Zd̄ Zd̈́ Zd΄ Zdτ ZdЄ Zdф Zd҄ Zdӄ ZdԄ ZdՄ Zdք Zdׄ Zd؄ Zdل Zdڄ Zdۄ Zd܄ Zd݄ Zdބ Zd߄ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd  Zd Zd Zd Zd ZÐd ZĐd ZŐd ZƐd Zǐd	 ZȐd
 Zɐd Zʐd Zːd Z̐d Z͐d Zΐd Zϐd ZАd Zѐd ZҐd ZӐd ZԐd ZՐd Z֐d Zאd Zؐd Zِd Zڐd Zېd Zܐd Zݐd Zސd  Zߐd! Zd" Zd# Zd$ Zd% Zd& Zd' Zd( Zd) Zd* Zd+ Zd, Zd- Zd. Zd/ Zd0 Zd1 Zd2 Zd3 Zd4 Zd5 Zd6 Zd7 Zd8 Zd9 Zd: Zd; Zd< Zd= Zd> Zd? Zd@ ZdA Z dB ZdC ZdD ZdE ZdF ZdG ZdH ZdI ZdJ Z	dK Z
dL ZdM ZdN ZdO ZdP ZdQ ZdR ZdS ZdT ZdU ZdV ZdW ZdX ZdY ZdZ Zd[ Zd\ Zd] Zd^ Zd_ Zd` Zda Z db Z!dc Z"dd Z#de Z$df Z%dg Z&dh Z'di Z(dj Z)dk Z*dl Z+dm Z,dn Z-do Z.dp Z/dq Z0dr Z1ds Z2dt Z3du Z4dv Z5dw Z6dx Z7dy Z8dz Z9d{ Z:d| Z;d} Z<d~ Z=d Z>d Z?d Z@d ZAd ZBd ZCd ZDd ZEd ZFd ZGd ZHd ZId ZJd ZKd ZLd ZMd ZNd ZOd ZPd ZQd ZRd ZSd ZTd ZUd ZVd ZWd ZXd ZYd ZZd Z[d Z\d Z]d Z^d Z_d Z`d Zad Zbd Zcd Zdd Zed Zfd Zgd Zhd Zid Zjd Zkd Zld Zmd Znd Zod Zpd Zqd Zrd Zsd Ztd Zud Zvd Zwd Zxd Zyd Zzd Z{d Z|d Z}d Z~d Zd Zd ZdÄ ZdĄ Zdń ZdƄ ZdǄ ZdȄ ZdɄ Zdʄ Zd˄ Zd̄ Zd̈́ Zd΄ Zdτ ZdЄ Zdф Zd҄ Zdӄ ZdԄ ZdՄ Zdք Zdׄ Zd؄ Zdل Zdڄ Zdۄ Zd܄ Zd݄ Zdބ Zd߄ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd  Zd Zd Zd Zd ZÐd ZĐd ZŐd ZƐd Zǐd	 ZȐd
 Zɐd Zʐd Zːd Z̐d Z͐d Zΐd Zϐd ZАd Zѐd ZҐd ZӐd ZԐd ZՐd Z֐d Zאd Zؐd Zِd Zڐd Zېd Zܐd Zݐd Zސd  Zߐd! Zd" Zd# Zd$ Zd% Zd& Zd' Zd( Zd) Zd* Zd+ Zd, Zd- Zd. Zd/ Zd0 Zd1 Zd2 Zd3 Zd4 Zd5 Zd6 Zd7 Zd8 Zd9 Zd: Zd; Zd< Zd= Zd> Zd? Zd@ ZdA Z dB ZdC ZdD ZdE ZdF ZdG ZdH ZdI ZdJ Z	dK Z
dL ZdM ZdN ZdO ZdP ZdQ ZdR ZdS ZdT ZdU ZdV ZdW ZdX ZdY ZdZ Zd[ Zd\ Zd] Zd^ Zd_ Zd` Zda Z db Z!dc Z"dd Z#de Z$df Z%dg Z&dh Z'di Z(dj Z)dk Z*dl Z+dm Z,dn Z-do Z.dp Z/dq Z0dr Z1ds Z2dt Z3du Z4dv Z5dw Z6dx Z7dy Z8dz Z9d{ Z:d| Z;d} Z<d~ Z=d Z>d Z?d Z@d ZAd ZBd ZCd ZDd ZEd ZFd ZGd ZHd ZId ZJd ZKd ZLd ZMd ZNd ZOd ZPd ZQd ZRd ZSd ZTd ZUd ZVd ZWd ZXd ZYd ZZd Z[d Z\d Z]d Z^d Z_d Z`d Zad Zbd Zcd Zdd Zed Zfd Zgd Zhd Zid Zjd Zkd Zld Zmd Znd Zod Zpd Zqd Zrd Zsd Ztd Zud Zvd Zwd Zxd Zyd Zzd Z{d Z|d Z}d Z~d Zd Zd ZdÄ ZdĄ Zdń ZdƄ ZdǄ ZdȄ ZdɄ Zdʄ Zd˄ Zd̄ Zd̈́ Zd΄ Zdτ ZdЄ Zdф Zd҄ Zdӄ ZdԄ ZdՄ Zdք Zdׄ Zd؄ Zdل Zdڄ Zdۄ Zd܄ Zd݄ Zdބ Zd߄ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd  Zd Zd Zd Zd ZÐd ZĐd ZŐd ZƐd Zǐd	 ZȐd
 Zɐd Zʐd Zːd Z̐d Z͐d Zΐd Zϐd ZАd Zѐd ZҐd ZӐd ZԐd ZՐd Z֐d Zאd Zؐd Zِd Zڐd Zېd Zܐd Zݐd Zސd  Zߐd! Zd" Zd# Zd$ Zd% Zd& Zd' Zd( Zd) Zd* Zd+ Zd, Zd- Zd. Zd/ Zd0 Zd1 Zd2 Zd3 Zd4 Zd5 Zd6 Zd7 Zd8 Zd9 Zd: Zd; Zd< Zd= Zd> Zd? Zd@ ZdA Z dB ZdC ZdD ZdE ZdF ZdG ZdH ZdI ZdJ Z	dK Z
dL ZdM ZdN ZdO ZdP ZdQ ZdR ZdS ZdT ZdU ZdV ZdW ZdX ZdY ZdZ Zd[ Zd\ Zd] Zd^ Zd_ Zd` Zda Z db Z!dc Z"dd Z#de Z$df Z%dg Z&dh Z'di Z(dj Z)dk Z*dl Z+dm Z,dn Z-do Z.dp Z/dq Z0dr Z1ds Z2dt Z3du Z4dv Z5dw Z6dx Z7dy Z8dz Z9d{ Z:d| Z;d} Z<d~ Z=d Z>d Z?d Z@d ZAd ZBd ZCd ZDd ZEd ZFd ZGd ZHd ZId ZJd ZKd ZLd ZMd ZNd ZOd ZPd ZQd ZRd ZSd ZTd ZUd ZVd ZWd ZXd ZYd ZZd Z[d Z\d Z]d Z^d Z_d Z`d Zad Zbd Zcd Zdd Zed Zfd Zgd Zhd Zid Zjd Zkd Zld Zmd Znd Zod Zpd Zqd Zrd Zsd Ztd Zud Zvd Zwd Zxd Zyd Zzd Z{d Z|d Z}d Z~d Zd Zd ZdÄ ZdĄ Zdń ZdƄ ZdǄ ZdȄ ZdɄ Zdʄ Zd˄ Zd̄ Zd̈́ Zd΄ Zdτ ZdЄ Zdф Zd҄ Zdӄ ZdԄ ZdՄ Zdք Zdׄ Zd؄ Zdل Zdڄ Zdۄ Zd܄ Zd݄ Zdބ Zd߄ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd  Zd Zd Zd Zd ZÐd ZĐd ZŐd ZƐd Zǐd	 ZȐd
 Zɐd Zʐd Zːd Z̐d Z͐d Zΐd Zϐd ZАd Zѐd ZҐd ZӐd ZԐd ZՐd Z֐d Zאd Zؐd Zِd Zڐd Zېd Zܐd Zݐd Zސd  Zߐd! Zd" Zd# Zd$ Zd% Zd& Zd' Zd( Zd) Zd* Zd+ Zd, Zd- Zd. Zd/ Zd0 Zd1 Zd2 Zd3 Zd4 Zd5 Zd6 Zd7 Zd8 Zd9 Zd: Zd; Zd< Zd= Zd> Zd? Zd@ ZdA Z dB ZdC ZdD ZdE ZdF ZdG ZdH ZdI ZdJ Z	dK Z
dL ZdM ZdN ZdO ZdP ZdQ ZdR ZdS ZdT ZdU ZdV ZdW ZdX ZdY ZdZ Zd[ Zd\ Zd] Zd^ Zd_ Zd` Zda Z db Z!dc Z"dd Z#de Z$df Z%dg Z&dh Z'di Z(dj Z)dk Z*dl Z+dm Z,dn Z-do Z.dp Z/dq Z0dr Z1ds Z2dt Z3du Z4dv Z5dw Z6dx Z7dy Z8dz Z9d{ Z:d| Z;d} Z<d~ Z=d Z>d Z?d Z@d ZAd ZBd ZCd ZDd ZEd ZFd ZGd ZHd ZId ZJd ZKd ZLd ZMd ZNd ZOd ZPd ZQd ZRd ZSd ZTd ZUd ZVd ZWd ZXd ZYd ZZd Z[d Z\d Z]d Z^d Z_d Z`d Zad Zbd Zcd Zdd Zed Zfd Zgd Zhd Zid Zjd Zkd Zld Zmd Znd Zod Zpd Zqd Zrd Zsd Ztd Zud Zvd Zwd Zxd Zyd Zzd Z{d Z|d Z}d Z~d Zd Zd ZdÄ ZdĄ Zdń ZdƄ ZdǄ ZdȄ ZdɄ Zdʄ Zd˄ Zd̄ Zd̈́ Zd΄ Zdτ ZdЄ Zdф Zd҄ Zdӄ ZdԄ ZdՄ Zdք Zdׄ Zd؄ Zdل Zdڄ Zdۄ Zd܄ Zd݄ Zdބ Zd߄ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd  Zd Zd Zd Zd ZÐd ZĐd ZŐd ZƐd Zǐd	 ZȐd
 Zɐd Zʐd Zːd Z̐d Z͐d Zΐd Zϐd ZАd Zѐd ZҐd ZӐd ZԐd ZՐd Z֐d Zאd Zؐd Zِd Zڐd Zېd Zܐd Zݐd Zސd  Zߐd! Zd" Zd# Zd$ Zd% Zd& Zd' Zd( Zd) Zd* Zd+ Zd, Zd- Zd. Zd/ Zd0 Zd1 Zd2 Zd3 Zd4 Zd5 Zd6 Zd7 Zd8 Zd9 Zd: Zd; Zd< Zd= Zd> Zd? Zd@ ZdA Z dB ZdC ZdD ZdE ZdF ZdG ZdH ZdI ZdJ Z	dK Z
dL ZdM ZdN ZdO ZdP ZdQ ZdR ZdS ZdT ZdU ZdV ZdW ZdX ZdY ZdZ Zd[ Zd\ Zd] Zd^ Zd_ Zd` Zda Z db Z!dc Z"dd Z#de Z$df Z%dg Z&dh Z'di Z(dj Z)dk Z*dl Z+dm Z,dn Z-do Z.dp Z/dq Z0dr Z1ds Z2dt Z3du Z4dv Z5dw Z6dx Z7dy Z8dz Z9d{ Z:d| Z;d} Z<d~ Z=d Z>d Z?d Z@d ZAd ZBd ZCd ZDd ZEd ZFd ZGd ZHd ZId ZJd ZKd ZLd ZMd ZNd ZOd ZPd ZQd ZRd ZSd ZTd ZUd ZVd ZWd ZXd ZYd ZZd Z[d Z\d Z]d Z^d Z_d Z`d Zad Zbd Zcd Zdd Zed Zfd Zgd Zhd Zid Zjd Zkd Zld Zmd Znd Zod Zpd Zqd Zrd Zsd Ztd Zud Zvd Zwd Zxd Zyd Zzd Z{d Z|d Z}d Z~d Zd Zd ZdÄ ZdĄ Zdń ZdƄ ZdǄ ZdȄ ZdɄ Zdʄ Zd˄ Zd̄ Zd̈́ Zd΄ Zdτ ZdЄ Zdф Zd҄ Zdӄ ZdԄ ZdՄ Zdք Zdׄ Zd؄ Zdل Zdڄ Zdۄ Zd܄ Zd݄ Zdބ Zd߄ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd  Zd Zd Zd Zd ZÐd ZĐd ZŐd ZƐd Zǐd	 ZȐd
 Zɐd Zʐd Zːd Z̐d Z͐d Zΐd Zϐd ZАd Zѐd ZҐd ZӐd ZԐd ZՐd Z֐d Zאd Zؐd Zِd Zڐd Zېd Zܐd Zݐd Zސd  Zߐd! Zd" Zd# Zd$ Zd% Zd& Zd' Zd( Zd) Zd* Zd+ Zd, Zd- Zd. Zd/ Zd0 Zd1 Zd2 Zd3 Zd4 Zd5 Zd6 Zd7 Zd8 Zd9 Zd: Zd; Zd< Zd= Zd> Zd? Zd@ ZdA Z dB ZdC ZdD ZdE ZdF ZdG ZdH ZdI ZdJ Z	dK Z
dL ZdM ZdN ZdO ZdP ZdQ ZdR ZdS ZdT ZdU ZdV ZdW ZdX ZdY ZdZ Zd[ Zd\ Zd] Zd^ Zd_ Zd` Zda Z db Z!dc Z"dd Z#de Z$df Z%dg Z&dh Z'di Z(dj Z)dk Z*dl Z+dm Z,dn Z-do Z.dp Z/dq Z0dr Z1ds Z2dt Z3du Z4dv Z5dw Z6dx Z7dy Z8dz Z9d{ Z:d| Z;d} Z<d~ Z=d Z>d Z?d Z@d ZAd ZBd ZCd ZDd ZEd ZFd ZGd ZHd ZId ZJd ZKd ZLd ZMd ZNd ZOd ZPd ZQd ZRd ZSd ZTd ZUd ZVd ZWd ZXd ZYd ZZd Z[d Z\d Z]d Z^d Z_d Z`d Zad Zbd Zcd Zdd Zed Zfd Zgd Zhd Zid Zjd Zkd Zld Zmd Znd Zod Zpd Zqd Zrd Zsd Ztd Zud Zvd Zwd Zxd Zyd Zzd Z{d Z|d Z}d Z~d Zd Zd ZdÄ ZdĄ Zdń ZdƄ ZdǄ ZdȄ ZdɄ Zdʄ Zd˄ Zd̄ Zd̈́ Zd΄ Zdτ ZdЄ Zdф Zd҄ Zdӄ ZdԄ ZdՄ Zdք Zdׄ Zd؄ Zdل Zdڄ Zdۄ Zd܄ Zd݄ Zdބ Zd߄ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd  Z G d de      Z e-j                  e        G d de      Z e-j                  eë        G d de      Z e-j                  eū        G d de      Z e-j                  eǫ        G d	 d
e      Z e-j                  eɫ        G d de      Z e-j                  e˫        G d de      Z e-j                  eͫ        G d de      Z e-j                  eϫ        G d de      Z e-j                  eѫ        G d de      Z e-j                  eӫ        G d de      Z e-j                  eի        G d de      Z e-j                  e׫        G d de      Z e-j                  e٫       d Zېd Zܐd Zݐd Zސd Zߐd  Zd! Zd" Zd# Zd$ Zd% Zd& Zd' Zd( Zd) Zd* Zd+ Zd, Zd- Zd. Z G d/ d0e      Z e-j                  e       d1 Z G d2 d3e      Z e-j                  e        G d4 d5e      Z e-j                  e       d6 Zd7 Zd8 Z G d9 d:e      Z e-j                  e       d; Z G d< d=e      Z e-j                  e       d> Z G d? d@e      Z e.j                   e       dA Z G dB dCe      Z e.j                  e       dD Z G dE dFe      Z e.j                  e       dG Z G dH dIe      Z e.j                  e       dJ Z
 G dK dLe      Z e.j                  e       dM Z G dN dOe      Z e.j                  e       dP Z G dQ dRe      Z e.j$                  e       dS Z G dT dUe      Z e.j*                  e       dV Z G dW dXe      Z e.j0                  e       dY Z G dZ d[e      Z e.j6                  e       d\ Z G d] d^e      Z e.j<                  e       d_ Z G d` dae      Z  e.jB                  e        db Z" G dc dde      Z# e.jH                  e#       de Z% G df dge      Z& e.jN                  e&       dh Z( G di dje      Z) e.jT                  e)       dk Z+ G dl dme      Z, e.jZ                  e,       dn Z. G do dpe      Z/ e.j`                  e/       dq Z1 G dr dse      Z2 e.jf                  e2       dt Z4 G du dve      Z5 e.jl                  e5       dw Z7 G dx dye      Z8 e.jr                  e8       dz Z: G d{ d|e      Z; e.jx                  e;       d} Z= G d~ de      Z> e.j~                  e>       d Z@ G d de      ZA e.j                  eA       d ZC G d de      ZD e.j                  eD       d ZF G d de      ZG e.j                  eG       d ZI G d de      ZJ e.j                  eJ       d ZL G d de      ZM e.j                  eM       d ZO G d de      ZP e.j                  eP       d ZR G d de      ZS e.j                  eS       d ZU G d de      ZV e.j                  eV       d ZX G d de      ZY e.j                  eY       d Z[ G d de      Z\ e.j                  e\       d Z^ G d de      Z_ e.j                  e_       d Za G d de      Zb e.j                  eb       d Zd G d de      Ze e.j                  ee       d Zg G d de      Zh e.j                  eh       d Zj G d de      Zk e.j                  ek       d Zm G d de      Zn e.j                  en       d Zp G d de      Zq e.j                  eq       d Zs G d de      Zt e.j                  et       d Zv G d de      Zw e.j                  ew       d Zy G d de      Zz e.j                  ez       d Z| G d de      Z} e.j                  e}       d Z G d de      Z e/j                  e       d Z G dÄ de      Z e/j                  e       dń Z G dƄ de      Z e/j                  e       dȄ Z G dɄ de      Z e/j                  e       d˄ Z G d̄ de      Z e/j                  e       d΄ Z G dτ de      Z e/j                   e       dф Z G d҄ de      Z e/j&                  e       dԄ Z G dՄ de      Z e/j,                  e       dׄ Z G d؄ de      Z e/j2                  e       dڄ Z G dۄ de      Z e/j8                  e       d݄ Z G dބ de      Z e/j>                  e       d Z G d de      Z e/jD                  e       d Z G d de      Z e/jJ                  e       d Z G d de      Z e/jP                  e       d Z G d de      Z e/jV                  e       d Z G d de      Z e/j\                  e       d Z G d de      Z e/jb                  e       d Z G d de      Z e/jh                  e       d Z G d de      Z e/jn                  e       d Z G d de      Z e/jt                  e       d Z G d de      Z e/jz                  e       d Z G d d e      Z e/j                  e       d Z G d de      Z e/j                  e«       d Z G d de      Z e/j                  eū       d Z G d d	e      Z e/j                  eȫ       d
 Z G d de      Z e/j                  e˫       d Z G d de      Z e/j                  eΫ       d Z G d de      Z e/j                  eѫ       d Z G d de      Z e/j                  eԫ       d Z G d de      Z e/j                  e׫       d Z G d de      Z e/j                  eګ       d Z G d de      Z e/j                  eݫ       d Z G d  d!e      Z e/j                  e       d" Z G d# d$e      Z e/j                  e       d% Z G d& d'e      Z e/j                  e       d( Z G d) d*e      Z e/j                  e       d+ Z G d, d-e      Z e/j                  e       d. Z G d/ d0e      Z e/j                  e       d1 Z G d2 d3e      Z e/j                  e       d4 Z G d5 d6e      Z e/j                  e       d7 Z G d8 d9e      Z e/j                  e       d: Z G d; d<e      Z e/j                  e       d= Z G d> d?e      Z e/j                  e       d@ Z  G dA dBe      Z e0j                  e       dC Z G dD dEe      Z e0j
                  e       dF Z G dG dHe      Z e0j                  e       dI Z	 G dJ dKe      Z
 e0j                  e
       dL Z G dM dNe      Z e0j                  e       dO Z G dP dQe      Z e0j"                  e       dR Z G dS dTe      Z e0j(                  e       dU Z G dV dWe      Z e0j.                  e       dX Z G dY dZe      Z e0j4                  e       d[ Z G d\ d]e      Z e0j:                  e       d^ Z G d_ d`e      Z e0j@                  e       da Z! G db dce      Z" e0jF                  e"       dd Z$ G de dfe      Z% e0jL                  e%       dg Z' G dh die      Z( e0jR                  e(       dj Z* G dk dle      Z+ e0jX                  e+       dm Z- G dn doe      Z. e0j^                  e.       dp Z0 G dq dre      Z1 e0jd                  e1       ds Z3 G dt due      Z4 e0jj                  e4       dv Z6 G dw dxe      Z7 e0jp                  e7       dy Z9 G dz d{e      Z: e0jv                  e:       d| Z< G d} d~e      Z= e0j|                  e=       d Z?e0j                  Z@e0j                  ZAe0j                  ZBe0j                  ZCe0j                  ZDe0j                  ZEe0j                  ZFe0j                  ZGe0j                  ZHe0j                  ZIe0j                  ZJe0j                  ZKe0j                  ZLe0j                  ZMe0j                  ZNe0j                  ZOe0j                  ZPe0j                  ZQe0j                  ZRe0j                  ZSe0j                  ZTe0j                  ZUe0j                  ZVe0j                  ZWe0j                  ZXe0j                  ZYe0j                  ZZe0j                  Z[e0j                  Z\e0j                  Z]e0j                  Z^e0j                  Z_e0j                  Z`e0j                  Zae0j                  Zbe0j                  Zce0j                  Zde0j                  Zee0j                  Zfe0j                  Zge0j                  Zhe0j                  Zie0j                  Zje0j                  Zke0j                  Zle0j                  Zme0j                  Zne0j                  Zoe0j                  Zpe0j                  Zqe0j                  Zre0j                  Zse0j                  Zte0j                  Zue0j                  Zve0j                  Zwe0j                  Zxe0j                  Zye0j                  Zze0j                  Z{e0j                  Z|e0j                  Z}e0j                  Z~e0j                  Ze1j                   Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j
                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                   Ze1j"                  Ze1j$                  Ze1j&                  Ze1j(                  Ze1j*                  Ze1j,                  Ze1j.                  Ze1j0                  Ze1j2                  Ze1j4                  Ze1j6                  Ze1j8                  Ze1j:                  Ze1j<                  Ze1j>                  Ze1j@                  Ze1jB                  Ze1jD                  Ze1jF                  Ze1jH                  Ze1jJ                  Ze1jL                  Ze1jN                  Ze1jP                  Ze1jR                  Ze1jT                  Ze1jV                  Ze1jX                  Ze1jZ                  Ze1j\                  Ze1j^                  Ze1j`                  Ze1jb                  Ze1jd                  Ze1jf                  Ze1jh                  Ze1jj                  Ze1jl                  Ze1jn                  Ze1jp                  Ze1jr                  Ze1jt                  Ze1jv                  Ze1jx                  Ze1jz                  Ze1j|                  Ze1j~                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze1j                  Ze2j                   Z e2j                  Ze2j                  Ze2j                  Ze2j                  Ze2j
                  Ze2j                  Ze2j                  Ze2j                  Ze2j                  Z	e2j                  Z
e2j                  Ze2j                  Ze2j                  Ze2j                  Ze2j                  Ze2j                   Ze2j"                  Ze2j$                  Ze2j&                  Ze2j(                  Ze2j*                  Ze2j,                  Ze2j.                  Ze2j0                  Ze2j2                  Ze2j4                  Ze2j6                  Ze2j8                  Ze2j:                  Ze2j<                  Ze2j>                  Ze2j@                  Z e2jB                  Z!e2jD                  Z"e2jF                  Z#e2jH                  Z$e2jJ                  Z%e2jL                  Z&e2jN                  Z'e2jP                  Z(e2jR                  Z)e2jT                  Z*e2jV                  Z+e2jX                  Z,e2jZ                  Z-e2j\                  Z.e2j^                  Z/e2j`                  Z0e2jb                  Z1e2jd                  Z2e2jf                  Z3e2jh                  Z4e2jj                  Z5e2jl                  Z6e2jn                  Z7e2jp                  Z8e2jr                  Z9e2jt                  Z:e2jv                  Z;e2jx                  Z<e2jz                  Z=e2j|                  Z>e2j~                  Z?e2j                  Z@e2j                  ZAe2j                  ZBe2j                  ZCe2j                  ZDe2j                  ZEe2j                  ZFe2j                  ZGe2j                  ZHe2j                  ZIe2j                  ZJe2j                  ZKe2j                  ZLe2j                  ZMd ZNd ZOd ZPd ZQd ZRd dlSZSd dlTZTd dlUZUd dl Z d dlVZVd ZWeT2j                  2j                  d      dk(  ZZd ZMeMev_M        d ZeeeeJ_e        d dlSZSd dl[Z[d dlTZTd dl Z d dlVZVd dl\Z\	 	 	 	 	 	 	 dHdZ]d Z\d Z^e^Zd Z]d Z_e_Zd Zgd Z`e`Zd Zhd ZaeaZd Znd ZbebZd Zqd ZcecZd Zd ZdedZ>d Zd ZeeeZ?d Zd ZfefZBd ZŐd ZgegZXd ZАd ZhehZcd Zd ZieiZd Zd Zd Z9d ZjejZd ZHd ZkekZd ZId ZlelZd ZRd ZmemZd Zsd ZnenZϐd Zud ZoeoZѐd Zvd ZpepZҐd Zd ZqeqZܐd Zd ZrerZߐd Zd ZsesZd Zݐd Zސd Zd Zd ZtetZEd Zd ZueuZHd Zd ZvevZId ZdÄ ZwewZJdĄ Zdń ZxexZOdƄ ZdǄ ZyeyZPdȄ ZdɄ ZzezZQdʄ Zd˄ Z{e{ZRd̄ Zd̈́ Z|e|ZSd΄ Zdτ Z}e}ZUdЄ Zdф Z~e~ZVd҄ Ztdӄ ZeZdԄ ZudՄ ZeZdք Z{dׄ ZeZd؄ Z|dل ZeZdڄ Zdۄ ZeZd܄ Zd݄ ZeZdބ Zd߄ ZeZd 	Zd ZeZd 	Zd ZeZd 	ZCd ZeZ,d 	ZFd ZeZ/d 	ZHd ZeZ0d 	Zd ZeZkd 	Zd ZeZd 	Zd ZeZd 	Zd ZeZÐd 	Zd ZeZŐd 	Zd ZeZȐd 	Zd ZeZʐd 	Zd ZeZАd 
Z$d ZeZd 
Z%d ZeZd 
Z7d ZeZd  
Z8d ZeZd 
Z=d ZeZd 
Z>d ZeZd 
Zrd ZeZOd 
Zڐd	 ZeZd
 
Zܐd ZeZd 
Zd ZeZd 
Zd ZeZĐd 
Zd ZeZǐd 
Zd ZeZȐd Zd ZeZd Z!d ZeZd ZHd ZeZ!d Zd ZeZed Zd ZeZd Zǐd ZeZd  ZАd! ZԐd" ZeZd# Zd$ ZeZԐd% Z(d& ZeZߐd' Z3d( ZeZd) Z~d* ZeZ.d+ Zd, ZeZ0d- Zd. ZeZGd/ Zd0 ZeZ^d1 Zd2 ZeZbd3 Zʐd4 ZeZid5 Z͐d6 ZeZld7 Zϐd8 ZeZmd9 Zd: ZeZd; Z2d< ZeZɐd= Z7d> ZeZΐd? Z:d@ ZeZѐdA Z;dB ZeZҐdC Z=dD ZeZԐdE Z>dF ZeZՐdG ZFdH ZeZݐdI ZJdJ ZeZdK Z]dL ZeZdM ZfdN ZeZdO ZtdP ZeZ	dQ ZdR ZeZWdS ZАdT ZeZcdU ZdV ZeZdW ZdX ZeZdY ZdZ ZeZd[ Zd\ ZÐeÐZd] Z&d^ ZĐeĐZd_ ZŐeŐeX_        d` ZƐeƐeZ_        da ZǐeǐeZ_        db ZȐeȐeZ_        dc ZɐeɐeZ_        dd ZʐeʐeZ_        de Zːeːe^_        df Z̐e̐e^_>        dg Z͐e͐e^_B        dh Zΐeΐeb_        di Zϐeϐet_        dj ZАeАev_        dk Zѐeѐev_        dl ZҐeҐev_        dm ZӐeӐe_        dn ZԐeԐe_        do ZՐeՐe_        dp Z֐e֐e_        dq ZאeאeƐ_        dr ZؐeؐeƐ_        ds Zِeِe̐_,        dt Zڐeڐe̐_        du Zېeېeڐ_        dv Zܐeܐe_        dw Zݐeݐe_/        dx Zސeސe_        dy Zߐeߐe_X        dz Zee_        d{ Zee_k        d| Zee2_        d} Zee2_        d~ Zee:_        d Zee:_        d Zee:_        d Zee:_        d Zee:_        d Zee:_        d Zee:_        d Zee:_        d Zee>_        d Zee>_b        d Zee>_m        d ZeeJ_e        d ZeeJ_        d ZeeJ_^        d ZeeJ_i        d ZeeJ_        d ZeeJ_        d ZeeJ_        d ZeeJ_        d ZeeJ_        d ZeeJ_W        d ZeeJ_        d ZeeJ_        d Zee\_        d Zeel_.        d Zeel_0        d Zee_!        d Zee_        d Z e e_        d Zee_        d Zee_        d Zee_        d Zee_        d Zee_        d Zee_        d e_        d eÐ_        d eŐ_        d eǐ_        d eɐ_        d eː_        d e͐_        d eϐ_        d eѐ_        d eӐ_        d eՐ_        d eא_        d eِ_         e4eÐeŐeǐeɐeːe͐eϐeѐeӐeՐeאeِeg       	eHZd 	ZH	eHZ0d ZhehZ G d d      Z	d Zgd ZeeZ_        d Z
d ZeeZ_        dIdZeeZ_        eTZd ZTd ZeeZ_        d Zd Zee_        d Zd Zee_        d Zee_        d Zd Zee:_        d Zd Z)e)e:_)        d ZTdÄ Zeen_        dĄ Zdń Z>e>e^_>        dada G dƄ dǐe      ZdȄ ZdɄ Zِdʄ Zd˄ Zd̄ Zeeڐ_        
eqZd̈́ 
Zq
eqZNeZeIZHeHe_H         G d΄ dϐe      Z
e'ZdЄ 
Z'dф Zee_        e|4j8                  Zd҄ Zee|_         G dӄ dԐe      Zda dJdՄZd֐Z!dׄ e_"        d؄ e_"        dل e _"        dڄ e_"        dۄ eȐ_        d܄ eȐ_#        d݄ e_        dބ e_#        d߄ eҐ_        d eҐ_#        d e֐_        d e֐_#        d e&_        d e&_#        d e_        d e_#        d eؐ_        d eؐ_#        d e_        d e_#        d eԐ_        d eԐ_#        d ei_        d ei_#        d e_        d e_#        d ek_        d ek_#        d e_        d e_#        d e_        d e_#        d e_        d e_#        d er_        d er_#        d e_        d e_#        d e_        d e_#        d eM_        d  eM_#        d eO_        d eO_#        d e_        d e_#        d eݐ_        d eݐ_#        d e_        d e_#        d	 e_        d
 e_#        d em_        d em_#        d e\_        d e\_#        d e_        d e_#        d eG_        d eG_#        d e\_        d e\_#        d ej_        d ej_#        d e~_        d e~_#        d e_        d e_#        d e_        d e_#        d e_        d e_#        d e_        d  e_#        d! e_        d" e_#        d# eؐ_        d$ eؐ_#        d% eސ_        d& eސ_#        d' e_        d( e_#        d) e_        d* e_#        d+ e_        d, e_#        d- e_        d. e_#        d/ e_        d0 e_#        d1 e$_        d2 e$_#        d3 e<_        d4 e<_#        d5 eP_        d6 eP_#        d7 eT_        d8 eT_#        d9 eh_        d: eh_#        d; et_        d< et_#        d= ev_        d> ev_#        d? e_        d@ e_#        dA e_        dB e_#        dC e_        dD e_#        dE e_        dF e_#         e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee«            Z e eeë            Z e eeī            Z e eeū            Z e eeƫ            Z e eeǫ            Z e eeȫ            Z e eeɫ            Z e eeʫ            Z e ee˫            Z e ee̫            Z e eeͫ            Z e eeΫ            Z e eeϫ            Z e eeЫ            Z e eeѫ            Z e eeҫ            Z e eeӫ            Z e eeԫ            Z e eeի            Z e ee֫            Z e ee׫            Z e eeث            Z e ee٫            Z e eeګ            Z e ee۫            Z e eeܫ            Z e eeݫ            Z e eeޫ            Z e ee߫            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee             Z  e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee	            Z	 e ee
            Z
 e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee             Z  e ee!            Z! e ee"            Z" e ee#            Z# e ee$            Z$ e ee%            Z% e ee&            Z& e ee'            Z' e ee(            Z( e ee)            Z) e ee*            Z* e ee+            Z+ e ee,            Z, e ee-            Z- e ee.            Z. e ee/            Z/ e ee0            Z0 e ee1            Z1 e ee2            Z2 e ee3            Z3 e ee4            Z4 e ee5            Z5 e ee6            Z6 e ee7            Z7 e ee8            Z8 e ee9            Z9 e ee:            Z: e ee;            Z; e ee<            Z< e ee=            Z= e ee>            Z> e ee?            Z? e ee@            Z@ e eeA            ZA e eeB            ZB e eeC            ZC e eeD            ZD e eeE            ZE e eeF            ZF e eeG            ZG e eeH            ZH e eeI            ZI e eeJ            ZJ e eeK            ZK e eeL            ZL e eeM            ZM e eeN            ZN e eeO            ZO e eeP            ZP e eeQ            ZQ e eeR            ZR e eeS            ZS e eeT            ZT e eeU            ZU e eeV            ZV e eeW            ZW e eeX            ZX e eeY            ZY e eeZ            ZZ e ee[            Z[ e ee\            Z\ e ee]            Z] e ee^            Z^ e ee_            Z_ e ee`            Z` e eea            Za e eeb            Zb e eec            Zc e eed            Zd e eee            Ze e eef            Zf e eeg            Zg e eeh            Zh e eei            Zi e eej            Zj e eek            Zk e eel            Zl e eem            Zm e een            Zn e eeo            Zo e eep            Zp e eeq            Zq e eer            Zr e ees            Zs e eet            Zt e eeu            Zu e eev            Zv e eew            Zw e eex            Zx e eey            Zy e eez            Zz e ee{            Z{ e ee|            Z| e ee}            Z} e ee~            Z~ e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee«            Z e eeë            Z e eeī            Z e eeū            Z e eeƫ            Z e eeǫ            Z e eeȫ            Z e eeɫ            Z e eeʫ            Z e ee˫            Z e ee̫            Z e eeͫ            Z e eeΫ            Z e eeϫ            Z e eeЫ            Z e eeѫ            Z e eeҫ            Z e eeӫ            Z e eeԫ            Z e eeի            Z e ee֫            Z e ee׫            Z e eeث            Z e ee٫            Z e eeګ            Z e ee۫            Z e eeܫ            Z e eeݫ            Z e eeޫ            Z e ee߫            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee             Z  e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee	            Z	 e ee
            Z
 e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee             Z  e ee!            Z! e ee"            Z" e ee#            Z# e ee$            Z$ e ee%            Z% e ee&            Z& e ee'            Z' e ee(            Z( e ee)            Z) e ee*            Z* e ee+            Z+ e ee,            Z, e ee-            Z- e ee.            Z. e ee/            Z/ e ee0            Z0 e ee1            Z1 e ee2            Z2 e ee3            Z3 e ee4            Z4 e ee5            Z5 e ee6            Z6 e ee7            Z7 e ee8            Z8 e ee9            Z9 e ee:            Z: e ee;            Z; e ee<            Z< e ee=            Z= e ee>            Z> e ee?            Z? e ee@            Z@ e eeA            ZA e eeB            ZB e eeC            ZC e eeD            ZD e eeE            ZE e eeF            ZF e eeG            ZG e eeH            ZH e eeI            ZI e eeJ            ZJ e eeK            ZK e eeL            ZL e eeM            ZM e eeN            ZN e eeO            ZO e eeP            ZP e eeQ            ZQ e eeR            ZR e eeS            ZS e eeT            ZT e eeU            ZU e eeV            ZV e eeW            ZW e eeX            ZX e eeY            ZY e eeZ            ZZ e ee[            Z[ e ee\            Z\ e ee]            Z] e ee^            Z^ e ee_            Z_ e ee`            Z` e eea            Za e eeb            Zb e eec            Zc e eed            Zd e eee            Ze e eef            Zf e eeg            Zg e eeh            Zh e eei            Zi e eej            Zj e eek            Zk e eel            Zl e eem            Zm e een            Zn e eeo            Zo e eep            Zp e eeq            Zq e eer            Zr e ees            Zs e eet            Zt e eeu            Zu e eev            Zv e eew            Zw e eex            Zx e eey            Zy e eez            Zz e ee{            Z{ e ee|            Z| e ee}            Z} e ee~            Z~ e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee            Z e ee«            Z e eeë            Z e eeī            Z e eeū            Z e eeƫ            Z e eeǫ            Z e eeȫ            Z e eeɫ            Z e eeʫ            Z e ee˫            Z e ee̫            Z e eeͫ            Z e eeΫ            Z e eeϫ            Z e eeЫ            Z e eeѫ            Z e eeҫ            Z e eeӫ            Z e ee            Z$ e ee            Z% e ee            Z&y# e	$ r	 d dlZY >w xY w(K      )version_info.   )_mupdfNc                     	 d| j                   j                         z   }d| j                  j
                  d| j                  j                  d|dS # t        j                  $ r d}Y Kw xY w)Nz	proxy of  <r   z; z >)this__repr____builtin__	Exception	__class__
__module____name__)selfstrthiss     O/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/pymupdf/mupdf.py
_swig_reprr      s_    		 2 2 44 "^^668O8OQXZZ    s   A A+*A+c                       fd}|S )Nc                     |dk(  r | ||       y |dk(  r| j                   j                  |       y t        | |      r.t        t	        t        |       |      t              r | ||       y t        d| z        )Nr
   thisownz(You cannot add instance attributes to %s)r
   ownhasattr
isinstancegetattrtypepropertyAttributeError)r   namevaluesets      r   set_instance_attrzE_swig_setattr_nondynamic_instance_variable.<locals>.set_instance_attr   si    6>dE"YIIMM% T4 ZT
D0I8%TdE" !Kd!RSS     )r!   r"   s   ` r   *_swig_setattr_nondynamic_instance_variabler%      s    T r#   c                       fd}|S )Nc                     t        | |      r%t        t        | |      t              s | ||       y t	        d| z        )Nz%You cannot add class attributes to %s)r   r   r   r   r   )clsr   r    r!   s      r   set_class_attrz?_swig_setattr_nondynamic_class_variable.<locals>.set_class_attr)   s:    3jd1CX&NT5! !H3!NOOr#   r$   )r!   r)   s   ` r   '_swig_setattr_nondynamic_class_variabler*   (   s    P
 r#   c                       fd}|S )zlClass decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclassc                 p     | j                   | j                  | j                  j                               S N)r   	__bases____dict__copy)r(   	metaclasss    r   wrapperz$_swig_add_metaclass.<locals>.wrapper3   s'    s}}cll6G6G6IJJr#   r$   )r1   r2   s   ` r   _swig_add_metaclassr3   1   s    KNr#   c                   4    e Zd ZdZ eej                        Zy)_SwigNonDynamicMetazKMeta class to enforce nondynamic attributes (no new attributes) for a classN)r   r   __qualname____doc__r*   r   __setattr__r$   r#   r   r5   r5   8   s    U9$:J:JKKr#   r5   c                 .    t        j                  | |      S r-   )r   cdata)ptr	nelementss     r   r:   r:   @   s    <<Y''r#   c                 .    t        j                  | |      S r-   )r   memmove)dataindatas     r   r>   r>   C   s    >>$''r#   c                       e Zd Z ed d d      Zd ZeZej                  Z
d ZddZddZd	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zy)SwigPyIteratorc                 6    | j                   j                         S r-   r
   r   xs    r   <lambda>zSwigPyIterator.<lambda>F        r#   c                 8    | j                   j                  |      S r-   rD   rF   vs     r   rG   zSwigPyIterator.<lambda>F       AFFJJqM r#   The membership flagdocc                     t        d      )Nz*No constructor defined - class is abstract)r   )r   argskwargss      r   __init__zSwigPyIterator.__init__H   s    IJJr#   c                 ,    t        j                  |       S r-   )r   SwigPyIterator_valuer   s    r   r    zSwigPyIterator.valueM       **400r#   c                 .    t        j                  | |      S r-   )r   SwigPyIterator_incrr   ns     r   incrzSwigPyIterator.incrP       ))$22r#   c                 .    t        j                  | |      S r-   )r   SwigPyIterator_decrrZ   s     r   decrzSwigPyIterator.decrS   r]   r#   c                 .    t        j                  | |      S r-   )r   SwigPyIterator_distancer   rF   s     r   distancezSwigPyIterator.distanceV       --dA66r#   c                 .    t        j                  | |      S r-   )r   SwigPyIterator_equalrc   s     r   equalzSwigPyIterator.equalY       **433r#   c                 ,    t        j                  |       S r-   )r   SwigPyIterator_copyrV   s    r   r0   zSwigPyIterator.copy\       ))$//r#   c                 ,    t        j                  |       S r-   )r   SwigPyIterator_nextrV   s    r   nextzSwigPyIterator.next_   rl   r#   c                 ,    t        j                  |       S r-   )r   SwigPyIterator___next__rV   s    r   __next__zSwigPyIterator.__next__b       --d33r#   c                 ,    t        j                  |       S r-   )r   SwigPyIterator_previousrV   s    r   previouszSwigPyIterator.previouse   rs   r#   c                 .    t        j                  | |      S r-   )r   SwigPyIterator_advancerZ   s     r   advancezSwigPyIterator.advanceh       ,,T155r#   c                 .    t        j                  | |      S r-   )r   SwigPyIterator___eq__rc   s     r   __eq__zSwigPyIterator.__eq__k       ++D!44r#   c                 .    t        j                  | |      S r-   )r   SwigPyIterator___ne__rc   s     r   __ne__zSwigPyIterator.__ne__n   r~   r#   c                 .    t        j                  | |      S r-   )r   SwigPyIterator___iadd__rZ   s     r   __iadd__zSwigPyIterator.__iadd__q   re   r#   c                 .    t        j                  | |      S r-   )r   SwigPyIterator___isub__rZ   s     r   __isub__zSwigPyIterator.__isub__t   re   r#   c                 .    t        j                  | |      S r-   )r   SwigPyIterator___add__rZ   s     r   __add__zSwigPyIterator.__add__w   rz   r#   c                 .    t        j                  | g| S r-   )r   SwigPyIterator___sub__r   rQ   s     r   __sub__zSwigPyIterator.__sub__z       ,,T9D99r#   c                     | S r-   r$   rV   s    r   __iter__zSwigPyIterator.__iter__|       r#   Nr   )r   r   r6   r   r   rS   r   r   r   delete_SwigPyIterator__swig_destroy__r    r\   r`   rd   rh   r0   ro   rr   rv   ry   r}   r   r   r   r   r   r   r$   r#   r   rB   rB   E   s    -/IOdeGKH33133740044655776:r#   rB   c                   j    e Zd Z ed d d      ZeZd Zej                  Z
d Zd Zd Zed	        Zy
)uchar_arrayc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zuchar_array.<lambda>   rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zuchar_array.<lambda>   rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   uchar_array_swiginitnew_uchar_array)r   r<   s     r   rS   zuchar_array.__init__   s    ##D&*@*@*KLr#   c                 .    t        j                  | |      S r-   )r   uchar_array___getitem__r   indexs     r   __getitem__zuchar_array.__getitem__       --dE::r#   c                 0    t        j                  | ||      S r-   )r   uchar_array___setitem__)r   r   r    s      r   __setitem__zuchar_array.__setitem__       --dE5AAr#   c                 ,    t        j                  |       S r-   )r   uchar_array_castrV   s    r   castzuchar_array.cast       &&t,,r#   c                 ,    t        j                  |       S r-   )r   uchar_array_frompointer)ts    r   frompointerzuchar_array.frompointer   s    --a00r#   N)r   r   r6   r   r   r   r   rS   r   delete_uchar_arrayr   r   r   r   staticmethodr   r$   r#   r   r   r      sN    -/IOdeGHM00;B- 1 1r#   r   c                      e Zd Z ed d d      ZeZd Zd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'e(jR                  Z*y&)'vectorucc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zvectoruc.<lambda>   rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zvectoruc.<lambda>   rL   r#   rM   rN   c                 ,    t        j                  |       S r-   )r   vectoruc_iteratorrV   s    r   iteratorzvectoruc.iterator       ''--r#   c                 "    | j                         S r-   r   rV   s    r   r   zvectoruc.__iter__       }}r#   c                 ,    t        j                  |       S r-   )r   vectoruc___nonzero__rV   s    r   __nonzero__zvectoruc.__nonzero__   rW   r#   c                 ,    t        j                  |       S r-   )r   vectoruc___bool__rV   s    r   __bool__zvectoruc.__bool__   r   r#   c                 ,    t        j                  |       S r-   )r   vectoruc___len__rV   s    r   __len__zvectoruc.__len__   r   r#   c                 0    t        j                  | ||      S r-   )r   vectoruc___getslice__r   ijs      r   __getslice__zvectoruc.__getslice__       ++D!Q77r#   c                 .    t        j                  | g| S r-   )r   vectoruc___setslice__r   s     r   __setslice__zvectoruc.__setslice__       ++D8488r#   c                 0    t        j                  | ||      S r-   )r   vectoruc___delslice__r   s      r   __delslice__zvectoruc.__delslice__   r   r#   c                 .    t        j                  | g| S r-   )r   vectoruc___delitem__r   s     r   __delitem__zvectoruc.__delitem__       **47$77r#   c                 .    t        j                  | g| S r-   )r   vectoruc___getitem__r   s     r   r   zvectoruc.__getitem__   r   r#   c                 .    t        j                  | g| S r-   )r   vectoruc___setitem__r   s     r   r   zvectoruc.__setitem__   r   r#   c                 ,    t        j                  |       S r-   )r   vectoruc_poprV   s    r   popzvectoruc.pop       ""4((r#   c                 .    t        j                  | |      S r-   )r   vectoruc_appendrc   s     r   appendzvectoruc.append       %%dA..r#   c                 ,    t        j                  |       S r-   )r   vectoruc_emptyrV   s    r   emptyzvectoruc.empty       $$T**r#   c                 ,    t        j                  |       S r-   )r   vectoruc_sizerV   s    r   sizezvectoruc.size       ##D))r#   c                 .    t        j                  | |      S r-   )r   vectoruc_swapr   rK   s     r   swapzvectoruc.swap   s    ##D!,,r#   c                 ,    t        j                  |       S r-   )r   vectoruc_beginrV   s    r   beginzvectoruc.begin   r   r#   c                 ,    t        j                  |       S r-   )r   vectoruc_endrV   s    r   endzvectoruc.end   r   r#   c                 ,    t        j                  |       S r-   )r   vectoruc_rbeginrV   s    r   rbeginzvectoruc.rbegin       %%d++r#   c                 ,    t        j                  |       S r-   )r   vectoruc_rendrV   s    r   rendzvectoruc.rend   r   r#   c                 ,    t        j                  |       S r-   )r   vectoruc_clearrV   s    r   clearzvectoruc.clear   r   r#   c                 ,    t        j                  |       S r-   )r   vectoruc_get_allocatorrV   s    r   get_allocatorzvectoruc.get_allocator       ,,T22r#   c                 ,    t        j                  |       S r-   )r   vectoruc_pop_backrV   s    r   pop_backzvectoruc.pop_back   r   r#   c                 .    t        j                  | g| S r-   )r   vectoruc_eraser   s     r   erasezvectoruc.erase       $$T1D11r#   c                 P    t        j                  | t        j                  |        y r-   )r   vectoruc_swiginitnew_vectorucr   s     r   rS   zvectoruc.__init__   s      v':':D'ABr#   c                 .    t        j                  | |      S r-   )r   vectoruc_push_backrc   s     r   	push_backzvectoruc.push_back   s    ((q11r#   c                 ,    t        j                  |       S r-   )r   vectoruc_frontrV   s    r   frontzvectoruc.front   r   r#   c                 ,    t        j                  |       S r-   )r   vectoruc_backrV   s    r   backzvectoruc.back   r   r#   c                 0    t        j                  | ||      S r-   )r   vectoruc_assignr   r[   rF   s      r   assignzvectoruc.assign   s    %%dAq11r#   c                 .    t        j                  | g| S r-   )r   vectoruc_resizer   s     r   resizezvectoruc.resize       %%d2T22r#   c                 .    t        j                  | g| S r-   )r   vectoruc_insertr   s     r   insertzvectoruc.insert   r  r#   c                 .    t        j                  | |      S r-   )r   vectoruc_reserverZ   s     r   reservezvectoruc.reserve   s    &&tQ//r#   c                 ,    t        j                  |       S r-   )r   vectoruc_capacityrV   s    r   capacityzvectoruc.capacity   r   r#   N)+r   r   r6   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  rS   r  r  r  r  r  r   r#  r&  r   delete_vectorucr   r$   r#   r   r   r      s    -/IOdeGH.1.-898888)/+*-+),*+3.2C2+*2330.--r#   r   c                      e Zd Z ed d d      ZeZd Zd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'e(jR                  Z*y&)'vectoric                 6    | j                   j                         S r-   rD   rE   s    r   rG   zvectori.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zvectori.<lambda>  rL   r#   rM   rN   c                 ,    t        j                  |       S r-   )r   vectori_iteratorrV   s    r   r   zvectori.iterator  r   r#   c                 "    | j                         S r-   r   rV   s    r   r   zvectori.__iter__  r   r#   c                 ,    t        j                  |       S r-   )r   vectori___nonzero__rV   s    r   r   zvectori.__nonzero__
  rl   r#   c                 ,    t        j                  |       S r-   )r   vectori___bool__rV   s    r   r   zvectori.__bool__  r   r#   c                 ,    t        j                  |       S r-   )r   vectori___len__rV   s    r   r   zvectori.__len__  r   r#   c                 0    t        j                  | ||      S r-   )r   vectori___getslice__r   s      r   r   zvectori.__getslice__      **4A66r#   c                 .    t        j                  | g| S r-   )r   vectori___setslice__r   s     r   r   zvectori.__setslice__  r   r#   c                 0    t        j                  | ||      S r-   )r   vectori___delslice__r   s      r   r   zvectori.__delslice__  r7  r#   c                 .    t        j                  | g| S r-   )r   vectori___delitem__r   s     r   r   zvectori.__delitem__      ))$666r#   c                 .    t        j                  | g| S r-   )r   vectori___getitem__r   s     r   r   zvectori.__getitem__  r>  r#   c                 .    t        j                  | g| S r-   )r   vectori___setitem__r   s     r   r   zvectori.__setitem__"  r>  r#   c                 ,    t        j                  |       S r-   )r   vectori_poprV   s    r   r   zvectori.pop%      !!$''r#   c                 .    t        j                  | |      S r-   )r   vectori_appendrc   s     r   r   zvectori.append(      $$T1--r#   c                 ,    t        j                  |       S r-   )r   vectori_emptyrV   s    r   r   zvectori.empty+  r   r#   c                 ,    t        j                  |       S r-   )r   vectori_sizerV   s    r   r   zvectori.size.  r   r#   c                 .    t        j                  | |      S r-   )r   vectori_swapr   s     r   r   zvectori.swap1      ""4++r#   c                 ,    t        j                  |       S r-   )r   vectori_beginrV   s    r   r   zvectori.begin4  r   r#   c                 ,    t        j                  |       S r-   )r   vectori_endrV   s    r   r   zvectori.end7  rE  r#   c                 ,    t        j                  |       S r-   )r   vectori_rbeginrV   s    r   r   zvectori.rbegin:  r   r#   c                 ,    t        j                  |       S r-   )r   vectori_rendrV   s    r   r   zvectori.rend=  r   r#   c                 ,    t        j                  |       S r-   )r   vectori_clearrV   s    r   r   zvectori.clear@  r   r#   c                 ,    t        j                  |       S r-   )r   vectori_get_allocatorrV   s    r   r  zvectori.get_allocatorC      ++D11r#   c                 ,    t        j                  |       S r-   )r   vectori_pop_backrV   s    r   r  zvectori.pop_backF  r   r#   c                 .    t        j                  | g| S r-   )r   vectori_eraser   s     r   r  zvectori.eraseI      ##D0400r#   c                 P    t        j                  | t        j                  |        y r-   )r   vectori_swiginitnew_vectorir   s     r   rS   zvectori.__init__L      f&8&8$&?@r#   c                 .    t        j                  | |      S r-   )r   vectori_push_backrc   s     r   r  zvectori.push_backO      ''a00r#   c                 ,    t        j                  |       S r-   )r   vectori_frontrV   s    r   r  zvectori.frontR  r   r#   c                 ,    t        j                  |       S r-   )r   vectori_backrV   s    r   r  zvectori.backU  r   r#   c                 0    t        j                  | ||      S r-   )r   vectori_assignr  s      r   r  zvectori.assignX      $$T1a00r#   c                 .    t        j                  | g| S r-   )r   vectori_resizer   s     r   r  zvectori.resize[  r	  r#   c                 .    t        j                  | g| S r-   )r   vectori_insertr   s     r   r   zvectori.insert^  r	  r#   c                 .    t        j                  | |      S r-   )r   vectori_reserverZ   s     r   r#  zvectori.reservea  r   r#   c                 ,    t        j                  |       S r-   )r   vectori_capacityrV   s    r   r&  zvectori.capacityd  r   r#   N)+r   r   r6   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  rS   r  r  r  r  r  r   r#  r&  r   delete_vectorir   r$   r#   r   r)  r)        -/IOdeGH-0-,787777(.*),*(+)*2-1A1*)122/-,,r#   r)  c                      e Zd Z ed d d      ZeZd Zd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'e(jR                  Z*y&)'vectorfc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zvectorf.<lambda>k  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zvectorf.<lambda>k  rL   r#   rM   rN   c                 ,    t        j                  |       S r-   )r   vectorf_iteratorrV   s    r   r   zvectorf.iteratorn  r   r#   c                 "    | j                         S r-   r   rV   s    r   r   zvectorf.__iter__p  r   r#   c                 ,    t        j                  |       S r-   )r   vectorf___nonzero__rV   s    r   r   zvectorf.__nonzero__s  rl   r#   c                 ,    t        j                  |       S r-   )r   vectorf___bool__rV   s    r   r   zvectorf.__bool__v  r   r#   c                 ,    t        j                  |       S r-   )r   vectorf___len__rV   s    r   r   zvectorf.__len__y  r   r#   c                 0    t        j                  | ||      S r-   )r   vectorf___getslice__r   s      r   r   zvectorf.__getslice__|  r7  r#   c                 .    t        j                  | g| S r-   )r   vectorf___setslice__r   s     r   r   zvectorf.__setslice__  r   r#   c                 0    t        j                  | ||      S r-   )r   vectorf___delslice__r   s      r   r   zvectorf.__delslice__  r7  r#   c                 .    t        j                  | g| S r-   )r   vectorf___delitem__r   s     r   r   zvectorf.__delitem__  r>  r#   c                 .    t        j                  | g| S r-   )r   vectorf___getitem__r   s     r   r   zvectorf.__getitem__  r>  r#   c                 .    t        j                  | g| S r-   )r   vectorf___setitem__r   s     r   r   zvectorf.__setitem__  r>  r#   c                 ,    t        j                  |       S r-   )r   vectorf_poprV   s    r   r   zvectorf.pop  rE  r#   c                 .    t        j                  | |      S r-   )r   vectorf_appendrc   s     r   r   zvectorf.append  rH  r#   c                 ,    t        j                  |       S r-   )r   vectorf_emptyrV   s    r   r   zvectorf.empty  r   r#   c                 ,    t        j                  |       S r-   )r   vectorf_sizerV   s    r   r   zvectorf.size  r   r#   c                 .    t        j                  | |      S r-   )r   vectorf_swapr   s     r   r   zvectorf.swap  rO  r#   c                 ,    t        j                  |       S r-   )r   vectorf_beginrV   s    r   r   zvectorf.begin  r   r#   c                 ,    t        j                  |       S r-   )r   vectorf_endrV   s    r   r   zvectorf.end  rE  r#   c                 ,    t        j                  |       S r-   )r   vectorf_rbeginrV   s    r   r   zvectorf.rbegin  r   r#   c                 ,    t        j                  |       S r-   )r   vectorf_rendrV   s    r   r   zvectorf.rend  r   r#   c                 ,    t        j                  |       S r-   )r   vectorf_clearrV   s    r   r   zvectorf.clear  r   r#   c                 ,    t        j                  |       S r-   )r   vectorf_get_allocatorrV   s    r   r  zvectorf.get_allocator  r\  r#   c                 ,    t        j                  |       S r-   )r   vectorf_pop_backrV   s    r   r  zvectorf.pop_back  r   r#   c                 .    t        j                  | g| S r-   )r   vectorf_eraser   s     r   r  zvectorf.erase  ra  r#   c                 P    t        j                  | t        j                  |        y r-   )r   vectorf_swiginitnew_vectorfr   s     r   rS   zvectorf.__init__  re  r#   c                 .    t        j                  | |      S r-   )r   vectorf_push_backrc   s     r   r  zvectorf.push_back  rh  r#   c                 ,    t        j                  |       S r-   )r   vectorf_frontrV   s    r   r  zvectorf.front  r   r#   c                 ,    t        j                  |       S r-   )r   vectorf_backrV   s    r   r  zvectorf.back  r   r#   c                 0    t        j                  | ||      S r-   )r   vectorf_assignr  s      r   r  zvectorf.assign  ro  r#   c                 .    t        j                  | g| S r-   )r   vectorf_resizer   s     r   r  zvectorf.resize  r	  r#   c                 .    t        j                  | g| S r-   )r   vectorf_insertr   s     r   r   zvectorf.insert  r	  r#   c                 .    t        j                  | |      S r-   )r   vectorf_reserverZ   s     r   r#  zvectorf.reserve  r   r#   c                 ,    t        j                  |       S r-   )r   vectorf_capacityrV   s    r   r&  zvectorf.capacity  r   r#   N)+r   r   r6   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  rS   r  r  r  r  r  r   r#  r&  r   delete_vectorfr   r$   r#   r   r{  r{  j  ry  r#   r{  c                      e Zd Z ed d d      ZeZd Zd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'e(jR                  Z*y&)'vectordc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zvectord.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zvectord.<lambda>  rL   r#   rM   rN   c                 ,    t        j                  |       S r-   )r   vectord_iteratorrV   s    r   r   zvectord.iterator  r   r#   c                 "    | j                         S r-   r   rV   s    r   r   zvectord.__iter__  r   r#   c                 ,    t        j                  |       S r-   )r   vectord___nonzero__rV   s    r   r   zvectord.__nonzero__  rl   r#   c                 ,    t        j                  |       S r-   )r   vectord___bool__rV   s    r   r   zvectord.__bool__  r   r#   c                 ,    t        j                  |       S r-   )r   vectord___len__rV   s    r   r   zvectord.__len__  r   r#   c                 0    t        j                  | ||      S r-   )r   vectord___getslice__r   s      r   r   zvectord.__getslice__  r7  r#   c                 .    t        j                  | g| S r-   )r   vectord___setslice__r   s     r   r   zvectord.__setslice__  r   r#   c                 0    t        j                  | ||      S r-   )r   vectord___delslice__r   s      r   r   zvectord.__delslice__  r7  r#   c                 .    t        j                  | g| S r-   )r   vectord___delitem__r   s     r   r   zvectord.__delitem__  r>  r#   c                 .    t        j                  | g| S r-   )r   vectord___getitem__r   s     r   r   zvectord.__getitem__  r>  r#   c                 .    t        j                  | g| S r-   )r   vectord___setitem__r   s     r   r   zvectord.__setitem__  r>  r#   c                 ,    t        j                  |       S r-   )r   vectord_poprV   s    r   r   zvectord.pop  rE  r#   c                 .    t        j                  | |      S r-   )r   vectord_appendrc   s     r   r   zvectord.append  rH  r#   c                 ,    t        j                  |       S r-   )r   vectord_emptyrV   s    r   r   zvectord.empty  r   r#   c                 ,    t        j                  |       S r-   )r   vectord_sizerV   s    r   r   zvectord.size   r   r#   c                 .    t        j                  | |      S r-   )r   vectord_swapr   s     r   r   zvectord.swap  rO  r#   c                 ,    t        j                  |       S r-   )r   vectord_beginrV   s    r   r   zvectord.begin  r   r#   c                 ,    t        j                  |       S r-   )r   vectord_endrV   s    r   r   zvectord.end	  rE  r#   c                 ,    t        j                  |       S r-   )r   vectord_rbeginrV   s    r   r   zvectord.rbegin  r   r#   c                 ,    t        j                  |       S r-   )r   vectord_rendrV   s    r   r   zvectord.rend  r   r#   c                 ,    t        j                  |       S r-   )r   vectord_clearrV   s    r   r   zvectord.clear  r   r#   c                 ,    t        j                  |       S r-   )r   vectord_get_allocatorrV   s    r   r  zvectord.get_allocator  r\  r#   c                 ,    t        j                  |       S r-   )r   vectord_pop_backrV   s    r   r  zvectord.pop_back  r   r#   c                 .    t        j                  | g| S r-   )r   vectord_eraser   s     r   r  zvectord.erase  ra  r#   c                 P    t        j                  | t        j                  |        y r-   )r   vectord_swiginitnew_vectordr   s     r   rS   zvectord.__init__  re  r#   c                 .    t        j                  | |      S r-   )r   vectord_push_backrc   s     r   r  zvectord.push_back!  rh  r#   c                 ,    t        j                  |       S r-   )r   vectord_frontrV   s    r   r  zvectord.front$  r   r#   c                 ,    t        j                  |       S r-   )r   vectord_backrV   s    r   r  zvectord.back'  r   r#   c                 0    t        j                  | ||      S r-   )r   vectord_assignr  s      r   r  zvectord.assign*  ro  r#   c                 .    t        j                  | g| S r-   )r   vectord_resizer   s     r   r  zvectord.resize-  r	  r#   c                 .    t        j                  | g| S r-   )r   vectord_insertr   s     r   r   zvectord.insert0  r	  r#   c                 .    t        j                  | |      S r-   )r   vectord_reserverZ   s     r   r#  zvectord.reserve3  r   r#   c                 ,    t        j                  |       S r-   )r   vectord_capacityrV   s    r   r&  zvectord.capacity6  r   r#   N)+r   r   r6   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  rS   r  r  r  r  r  r   r#  r&  r   delete_vectordr   r$   r#   r   r  r    ry  r#   r  c                      e Zd Z ed d d      ZeZd Zd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'e(jR                  Z*y&)'vectorsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zvectors.<lambda>=  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zvectors.<lambda>=  rL   r#   rM   rN   c                 ,    t        j                  |       S r-   )r   vectors_iteratorrV   s    r   r   zvectors.iterator@  r   r#   c                 "    | j                         S r-   r   rV   s    r   r   zvectors.__iter__B  r   r#   c                 ,    t        j                  |       S r-   )r   vectors___nonzero__rV   s    r   r   zvectors.__nonzero__E  rl   r#   c                 ,    t        j                  |       S r-   )r   vectors___bool__rV   s    r   r   zvectors.__bool__H  r   r#   c                 ,    t        j                  |       S r-   )r   vectors___len__rV   s    r   r   zvectors.__len__K  r   r#   c                 0    t        j                  | ||      S r-   )r   vectors___getslice__r   s      r   r   zvectors.__getslice__N  r7  r#   c                 .    t        j                  | g| S r-   )r   vectors___setslice__r   s     r   r   zvectors.__setslice__Q  r   r#   c                 0    t        j                  | ||      S r-   )r   vectors___delslice__r   s      r   r   zvectors.__delslice__T  r7  r#   c                 .    t        j                  | g| S r-   )r   vectors___delitem__r   s     r   r   zvectors.__delitem__W  r>  r#   c                 .    t        j                  | g| S r-   )r   vectors___getitem__r   s     r   r   zvectors.__getitem__Z  r>  r#   c                 .    t        j                  | g| S r-   )r   vectors___setitem__r   s     r   r   zvectors.__setitem__]  r>  r#   c                 ,    t        j                  |       S r-   )r   vectors_poprV   s    r   r   zvectors.pop`  rE  r#   c                 .    t        j                  | |      S r-   )r   vectors_appendrc   s     r   r   zvectors.appendc  rH  r#   c                 ,    t        j                  |       S r-   )r   vectors_emptyrV   s    r   r   zvectors.emptyf  r   r#   c                 ,    t        j                  |       S r-   )r   vectors_sizerV   s    r   r   zvectors.sizei  r   r#   c                 .    t        j                  | |      S r-   )r   vectors_swapr   s     r   r   zvectors.swapl  rO  r#   c                 ,    t        j                  |       S r-   )r   vectors_beginrV   s    r   r   zvectors.begino  r   r#   c                 ,    t        j                  |       S r-   )r   vectors_endrV   s    r   r   zvectors.endr  rE  r#   c                 ,    t        j                  |       S r-   )r   vectors_rbeginrV   s    r   r   zvectors.rbeginu  r   r#   c                 ,    t        j                  |       S r-   )r   vectors_rendrV   s    r   r   zvectors.rendx  r   r#   c                 ,    t        j                  |       S r-   )r   vectors_clearrV   s    r   r   zvectors.clear{  r   r#   c                 ,    t        j                  |       S r-   )r   vectors_get_allocatorrV   s    r   r  zvectors.get_allocator~  r\  r#   c                 ,    t        j                  |       S r-   )r   vectors_pop_backrV   s    r   r  zvectors.pop_back  r   r#   c                 .    t        j                  | g| S r-   )r   vectors_eraser   s     r   r  zvectors.erase  ra  r#   c                 P    t        j                  | t        j                  |        y r-   )r   vectors_swiginitnew_vectorsr   s     r   rS   zvectors.__init__  re  r#   c                 .    t        j                  | |      S r-   )r   vectors_push_backrc   s     r   r  zvectors.push_back  rh  r#   c                 ,    t        j                  |       S r-   )r   vectors_frontrV   s    r   r  zvectors.front  r   r#   c                 ,    t        j                  |       S r-   )r   vectors_backrV   s    r   r  zvectors.back  r   r#   c                 0    t        j                  | ||      S r-   )r   vectors_assignr  s      r   r  zvectors.assign  ro  r#   c                 .    t        j                  | g| S r-   )r   vectors_resizer   s     r   r  zvectors.resize  r	  r#   c                 .    t        j                  | g| S r-   )r   vectors_insertr   s     r   r   zvectors.insert  r	  r#   c                 .    t        j                  | |      S r-   )r   vectors_reserverZ   s     r   r#  zvectors.reserve  r   r#   c                 ,    t        j                  |       S r-   )r   vectors_capacityrV   s    r   r&  zvectors.capacity  r   r#   N)+r   r   r6   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  rS   r  r  r  r  r  r   r#  r&  r   delete_vectorsr   r$   r#   r   r	  r	  <  ry  r#   r	  c                      e Zd Z ed d d      ZeZd Zd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d  Z!d! Z"d" Z#d# Z$d$ Z%d% Z&d& Z'd' Z(e)jT                  Z+y())map_string_intc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zmap_string_int.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zmap_string_int.<lambda>  rL   r#   rM   rN   c                 ,    t        j                  |       S r-   )r   map_string_int_iteratorrV   s    r   r   zmap_string_int.iterator  rs   r#   c                 "    | j                         S r-   r   rV   s    r   r   zmap_string_int.__iter__  r   r#   c                 ,    t        j                  |       S r-   )r   map_string_int___nonzero__rV   s    r   r   zmap_string_int.__nonzero__      0066r#   c                 ,    t        j                  |       S r-   )r   map_string_int___bool__rV   s    r   r   zmap_string_int.__bool__  rs   r#   c                 ,    t        j                  |       S r-   )r   map_string_int___len__rV   s    r   r   zmap_string_int.__len__  r  r#   c                 "    | j                         S r-   key_iteratorrV   s    r   r   zmap_string_int.__iter__        ""r#   c                 "    | j                         S r-   r^  rV   s    r   iterkeyszmap_string_int.iterkeys  r`  r#   c                 "    | j                         S r-   )value_iteratorrV   s    r   
itervalueszmap_string_int.itervalues  s    ""$$r#   c                 "    | j                         S r-   r   rV   s    r   	iteritemszmap_string_int.iteritems  r   r#   c                 .    t        j                  | |      S r-   )r   map_string_int___getitem__r   keys     r   r   zmap_string_int.__getitem__      00s;;r#   c                 .    t        j                  | |      S r-   )r   map_string_int___delitem__rj  s     r   r   zmap_string_int.__delitem__  rl  r#   c                 .    t        j                  | |      S r-   )r   map_string_int_has_keyrj  s     r   has_keyzmap_string_int.has_key  s    ,,T377r#   c                 ,    t        j                  |       S r-   )r   map_string_int_keysrV   s    r   keyszmap_string_int.keys  rl   r#   c                 ,    t        j                  |       S r-   )r   map_string_int_valuesrV   s    r   valueszmap_string_int.values  r\  r#   c                 ,    t        j                  |       S r-   )r   map_string_int_itemsrV   s    r   itemszmap_string_int.items  rW   r#   c                 .    t        j                  | |      S r-   )r   map_string_int___contains__rj  s     r   __contains__zmap_string_int.__contains__      11$<<r#   c                 ,    t        j                  |       S r-   )r   map_string_int_key_iteratorrV   s    r   r_  zmap_string_int.key_iterator      11$77r#   c                 ,    t        j                  |       S r-   )r   map_string_int_value_iteratorrV   s    r   rd  zmap_string_int.value_iterator      33D99r#   c                 .    t        j                  | g| S r-   )r   map_string_int___setitem__r   s     r   r   zmap_string_int.__setitem__  s    00===r#   c                 ,    t        j                  |       S r-   )r   map_string_int_asdictrV   s    r   asdictzmap_string_int.asdict  r\  r#   c                 P    t        j                  | t        j                  |        y r-   )r   map_string_int_swiginitnew_map_string_intr   s     r   rS   zmap_string_int.__init__  s    &&tV-F-F-MNr#   c                 ,    t        j                  |       S r-   )r   map_string_int_emptyrV   s    r   r   zmap_string_int.empty  rW   r#   c                 ,    t        j                  |       S r-   )r   map_string_int_sizerV   s    r   r   zmap_string_int.size  rl   r#   c                 .    t        j                  | |      S r-   )r   map_string_int_swapr   s     r   r   zmap_string_int.swap  r]   r#   c                 ,    t        j                  |       S r-   )r   map_string_int_beginrV   s    r   r   zmap_string_int.begin  rW   r#   c                 ,    t        j                  |       S r-   )r   map_string_int_endrV   s    r   r   zmap_string_int.end      ((..r#   c                 ,    t        j                  |       S r-   )r   map_string_int_rbeginrV   s    r   r   zmap_string_int.rbegin  r\  r#   c                 ,    t        j                  |       S r-   )r   map_string_int_rendrV   s    r   r   zmap_string_int.rend  rl   r#   c                 ,    t        j                  |       S r-   )r   map_string_int_clearrV   s    r   r   zmap_string_int.clear  rW   r#   c                 ,    t        j                  |       S r-   )r   map_string_int_get_allocatorrV   s    r   r  zmap_string_int.get_allocator      22488r#   c                 .    t        j                  | |      S r-   )r   map_string_int_countrc   s     r   countzmap_string_int.count  ri   r#   c                 .    t        j                  | g| S r-   )r   map_string_int_eraser   s     r   r  zmap_string_int.erase  r   r#   c                 .    t        j                  | |      S r-   )r   map_string_int_findrc   s     r   findzmap_string_int.find  r]   r#   c                 .    t        j                  | |      S r-   )r   map_string_int_lower_boundrc   s     r   lower_boundzmap_string_int.lower_bound      00q99r#   c                 .    t        j                  | |      S r-   )r   map_string_int_upper_boundrc   s     r   upper_boundzmap_string_int.upper_bound
  r  r#   N),r   r   r6   r   r   r   r   r   r   r   r   r   rb  re  rg  r   r   rq  rt  rw  rz  r}  r_  rd  r   r  rS   r   r   r   r   r   r   r   r   r  r  r  r  r  r  r   delete_map_string_intr   r$   r#   r   rP  rP    s    -/IOdeGH4743##%<<8021=8:>2O1031/2019483::33r#   rP  c                      e Zd Z ed d d      ZeZd Zd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'e(jR                  Z*y&)'vectorqc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zvectorq.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zvectorq.<lambda>  rL   r#   rM   rN   c                 ,    t        j                  |       S r-   )r   vectorq_iteratorrV   s    r   r   zvectorq.iterator  r   r#   c                 "    | j                         S r-   r   rV   s    r   r   zvectorq.__iter__  r   r#   c                 ,    t        j                  |       S r-   )r   vectorq___nonzero__rV   s    r   r   zvectorq.__nonzero__  rl   r#   c                 ,    t        j                  |       S r-   )r   vectorq___bool__rV   s    r   r   zvectorq.__bool__  r   r#   c                 ,    t        j                  |       S r-   )r   vectorq___len__rV   s    r   r   zvectorq.__len__  r   r#   c                 0    t        j                  | ||      S r-   )r   vectorq___getslice__r   s      r   r   zvectorq.__getslice__"  r7  r#   c                 .    t        j                  | g| S r-   )r   vectorq___setslice__r   s     r   r   zvectorq.__setslice__%  r   r#   c                 0    t        j                  | ||      S r-   )r   vectorq___delslice__r   s      r   r   zvectorq.__delslice__(  r7  r#   c                 .    t        j                  | g| S r-   )r   vectorq___delitem__r   s     r   r   zvectorq.__delitem__+  r>  r#   c                 .    t        j                  | g| S r-   )r   vectorq___getitem__r   s     r   r   zvectorq.__getitem__.  r>  r#   c                 .    t        j                  | g| S r-   )r   vectorq___setitem__r   s     r   r   zvectorq.__setitem__1  r>  r#   c                 ,    t        j                  |       S r-   )r   vectorq_poprV   s    r   r   zvectorq.pop4  rE  r#   c                 .    t        j                  | |      S r-   )r   vectorq_appendrc   s     r   r   zvectorq.append7  rH  r#   c                 ,    t        j                  |       S r-   )r   vectorq_emptyrV   s    r   r   zvectorq.empty:  r   r#   c                 ,    t        j                  |       S r-   )r   vectorq_sizerV   s    r   r   zvectorq.size=  r   r#   c                 .    t        j                  | |      S r-   )r   vectorq_swapr   s     r   r   zvectorq.swap@  rO  r#   c                 ,    t        j                  |       S r-   )r   vectorq_beginrV   s    r   r   zvectorq.beginC  r   r#   c                 ,    t        j                  |       S r-   )r   vectorq_endrV   s    r   r   zvectorq.endF  rE  r#   c                 ,    t        j                  |       S r-   )r   vectorq_rbeginrV   s    r   r   zvectorq.rbeginI  r   r#   c                 ,    t        j                  |       S r-   )r   vectorq_rendrV   s    r   r   zvectorq.rendL  r   r#   c                 ,    t        j                  |       S r-   )r   vectorq_clearrV   s    r   r   zvectorq.clearO  r   r#   c                 ,    t        j                  |       S r-   )r   vectorq_get_allocatorrV   s    r   r  zvectorq.get_allocatorR  r\  r#   c                 ,    t        j                  |       S r-   )r   vectorq_pop_backrV   s    r   r  zvectorq.pop_backU  r   r#   c                 .    t        j                  | g| S r-   )r   vectorq_eraser   s     r   r  zvectorq.eraseX  ra  r#   c                 P    t        j                  | t        j                  |        y r-   )r   vectorq_swiginitnew_vectorqr   s     r   rS   zvectorq.__init__[  re  r#   c                 .    t        j                  | |      S r-   )r   vectorq_push_backrc   s     r   r  zvectorq.push_back^  rh  r#   c                 ,    t        j                  |       S r-   )r   vectorq_frontrV   s    r   r  zvectorq.fronta  r   r#   c                 ,    t        j                  |       S r-   )r   vectorq_backrV   s    r   r  zvectorq.backd  r   r#   c                 0    t        j                  | ||      S r-   )r   vectorq_assignr  s      r   r  zvectorq.assigng  ro  r#   c                 .    t        j                  | g| S r-   )r   vectorq_resizer   s     r   r  zvectorq.resizej  r	  r#   c                 .    t        j                  | g| S r-   )r   vectorq_insertr   s     r   r   zvectorq.insertm  r	  r#   c                 .    t        j                  | |      S r-   )r   vectorq_reserverZ   s     r   r#  zvectorq.reservep  r   r#   c                 ,    t        j                  |       S r-   )r   vectorq_capacityrV   s    r   r&  zvectorq.capacitys  r   r#   N)+r   r   r6   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  rS   r  r  r  r  r  r   r#  r&  r   delete_vectorqr   r$   r#   r   r  r    ry  r#   r  c                      e Zd Z ed d d      ZeZd Zd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'e(jR                  Z*y&)'vector_search_page2_hitc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z vector_search_page2_hit.<lambda>z  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z vector_search_page2_hit.<lambda>z  rL   r#   rM   rN   c                 ,    t        j                  |       S r-   )r    vector_search_page2_hit_iteratorrV   s    r   r   z vector_search_page2_hit.iterator}      66t<<r#   c                 "    | j                         S r-   r   rV   s    r   r   z vector_search_page2_hit.__iter__  r   r#   c                 ,    t        j                  |       S r-   )r   #vector_search_page2_hit___nonzero__rV   s    r   r   z#vector_search_page2_hit.__nonzero__      99$??r#   c                 ,    t        j                  |       S r-   )r    vector_search_page2_hit___bool__rV   s    r   r   z vector_search_page2_hit.__bool__  r  r#   c                 ,    t        j                  |       S r-   )r   vector_search_page2_hit___len__rV   s    r   r   zvector_search_page2_hit.__len__      55d;;r#   c                 0    t        j                  | ||      S r-   )r   $vector_search_page2_hit___getslice__r   s      r   r   z$vector_search_page2_hit.__getslice__      ::4AFFr#   c                 .    t        j                  | g| S r-   )r   $vector_search_page2_hit___setslice__r   s     r   r   z$vector_search_page2_hit.__setslice__  s    ::4G$GGr#   c                 0    t        j                  | ||      S r-   )r   $vector_search_page2_hit___delslice__r   s      r   r   z$vector_search_page2_hit.__delslice__  r
  r#   c                 .    t        j                  | g| S r-   )r   #vector_search_page2_hit___delitem__r   s     r   r   z#vector_search_page2_hit.__delitem__      99$FFFr#   c                 .    t        j                  | g| S r-   )r   #vector_search_page2_hit___getitem__r   s     r   r   z#vector_search_page2_hit.__getitem__  r  r#   c                 .    t        j                  | g| S r-   )r   #vector_search_page2_hit___setitem__r   s     r   r   z#vector_search_page2_hit.__setitem__  r  r#   c                 ,    t        j                  |       S r-   )r   vector_search_page2_hit_poprV   s    r   r   zvector_search_page2_hit.pop  r  r#   c                 .    t        j                  | |      S r-   )r   vector_search_page2_hit_appendrc   s     r   r   zvector_search_page2_hit.append      44T1==r#   c                 ,    t        j                  |       S r-   )r   vector_search_page2_hit_emptyrV   s    r   r   zvector_search_page2_hit.empty  r  r#   c                 ,    t        j                  |       S r-   )r   vector_search_page2_hit_sizerV   s    r   r   zvector_search_page2_hit.size  r  r#   c                 .    t        j                  | |      S r-   )r   vector_search_page2_hit_swapr   s     r   r   zvector_search_page2_hit.swap  s    224;;r#   c                 ,    t        j                  |       S r-   )r   vector_search_page2_hit_beginrV   s    r   r   zvector_search_page2_hit.begin  r  r#   c                 ,    t        j                  |       S r-   )r   vector_search_page2_hit_endrV   s    r   r   zvector_search_page2_hit.end  r  r#   c                 ,    t        j                  |       S r-   )r   vector_search_page2_hit_rbeginrV   s    r   r   zvector_search_page2_hit.rbegin      44T::r#   c                 ,    t        j                  |       S r-   )r   vector_search_page2_hit_rendrV   s    r   r   zvector_search_page2_hit.rend  r  r#   c                 ,    t        j                  |       S r-   )r   vector_search_page2_hit_clearrV   s    r   r   zvector_search_page2_hit.clear  r  r#   c                 ,    t        j                  |       S r-   )r   %vector_search_page2_hit_get_allocatorrV   s    r   r  z%vector_search_page2_hit.get_allocator      ;;DAAr#   c                 ,    t        j                  |       S r-   )r    vector_search_page2_hit_pop_backrV   s    r   r  z vector_search_page2_hit.pop_back  r  r#   c                 .    t        j                  | g| S r-   )r   vector_search_page2_hit_eraser   s     r   r  zvector_search_page2_hit.erase      33D@4@@r#   c                 P    t        j                  | t        j                  |        y r-   )r    vector_search_page2_hit_swiginitnew_vector_search_page2_hitr   s     r   rS   z vector_search_page2_hit.__init__  s    //f6X6XZ^6_`r#   c                 .    t        j                  | |      S r-   )r   !vector_search_page2_hit_push_backrc   s     r   r  z!vector_search_page2_hit.push_back  s    77a@@r#   c                 ,    t        j                  |       S r-   )r   vector_search_page2_hit_frontrV   s    r   r  zvector_search_page2_hit.front  r  r#   c                 ,    t        j                  |       S r-   )r   vector_search_page2_hit_backrV   s    r   r  zvector_search_page2_hit.back  r  r#   c                 0    t        j                  | ||      S r-   )r   vector_search_page2_hit_assignr  s      r   r  zvector_search_page2_hit.assign  s    44T1a@@r#   c                 .    t        j                  | g| S r-   )r   vector_search_page2_hit_resizer   s     r   r  zvector_search_page2_hit.resize      44TADAAr#   c                 .    t        j                  | g| S r-   )r   vector_search_page2_hit_insertr   s     r   r   zvector_search_page2_hit.insert  rA  r#   c                 .    t        j                  | |      S r-   )r   vector_search_page2_hit_reserverZ   s     r   r#  zvector_search_page2_hit.reserve  s    55dA>>r#   c                 ,    t        j                  |       S r-   )r    vector_search_page2_hit_capacityrV   s    r   r&  z vector_search_page2_hit.capacity  r  r#   N)+r   r   r6   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  rS   r  r  r  r  r  r   r#  r&  r   delete_vector_search_page2_hitr   r$   r#   r   r  r  y  s    -/IOdeGH=@=<GHGGGG8>:9<:8;9:B=AaA:9ABB?=<<r#   r  c                      e Zd Z ed d d      ZeZd Zd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'e(jR                  Z*y&)'vector_fz_font_ucs_gidc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zvector_fz_font_ucs_gid.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zvector_fz_font_ucs_gid.<lambda>  rL   r#   rM   rN   c                 ,    t        j                  |       S r-   )r   vector_fz_font_ucs_gid_iteratorrV   s    r   r   zvector_fz_font_ucs_gid.iterator  r  r#   c                 "    | j                         S r-   r   rV   s    r   r   zvector_fz_font_ucs_gid.__iter__  r   r#   c                 ,    t        j                  |       S r-   )r   "vector_fz_font_ucs_gid___nonzero__rV   s    r   r   z"vector_fz_font_ucs_gid.__nonzero__      88>>r#   c                 ,    t        j                  |       S r-   )r   vector_fz_font_ucs_gid___bool__rV   s    r   r   zvector_fz_font_ucs_gid.__bool__  r  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_font_ucs_gid___len__rV   s    r   r   zvector_fz_font_ucs_gid.__len__  r'  r#   c                 0    t        j                  | ||      S r-   )r   #vector_fz_font_ucs_gid___getslice__r   s      r   r   z#vector_fz_font_ucs_gid.__getslice__      99$1EEr#   c                 .    t        j                  | g| S r-   )r   #vector_fz_font_ucs_gid___setslice__r   s     r   r   z#vector_fz_font_ucs_gid.__setslice__  r  r#   c                 0    t        j                  | ||      S r-   )r   #vector_fz_font_ucs_gid___delslice__r   s      r   r   z#vector_fz_font_ucs_gid.__delslice__  rY  r#   c                 .    t        j                  | g| S r-   )r   "vector_fz_font_ucs_gid___delitem__r   s     r   r   z"vector_fz_font_ucs_gid.__delitem__      88EEEr#   c                 .    t        j                  | g| S r-   )r   "vector_fz_font_ucs_gid___getitem__r   s     r   r   z"vector_fz_font_ucs_gid.__getitem__   r`  r#   c                 .    t        j                  | g| S r-   )r   "vector_fz_font_ucs_gid___setitem__r   s     r   r   z"vector_fz_font_ucs_gid.__setitem__  r`  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_font_ucs_gid_poprV   s    r   r   zvector_fz_font_ucs_gid.pop  rX  r#   c                 .    t        j                  | |      S r-   )r   vector_fz_font_ucs_gid_appendrc   s     r   r   zvector_fz_font_ucs_gid.append	  s    33D!<<r#   c                 ,    t        j                  |       S r-   )r   vector_fz_font_ucs_gid_emptyrV   s    r   r   zvector_fz_font_ucs_gid.empty  r  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_font_ucs_gid_sizerV   s    r   r   zvector_fz_font_ucs_gid.size  r  r#   c                 .    t        j                  | |      S r-   )r   vector_fz_font_ucs_gid_swapr   s     r   r   zvector_fz_font_ucs_gid.swap  s    11$::r#   c                 ,    t        j                  |       S r-   )r   vector_fz_font_ucs_gid_beginrV   s    r   r   zvector_fz_font_ucs_gid.begin  r  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_font_ucs_gid_endrV   s    r   r   zvector_fz_font_ucs_gid.end  rX  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_font_ucs_gid_rbeginrV   s    r   r   zvector_fz_font_ucs_gid.rbegin  r  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_font_ucs_gid_rendrV   s    r   r   zvector_fz_font_ucs_gid.rend  r  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_font_ucs_gid_clearrV   s    r   r   zvector_fz_font_ucs_gid.clear!  r  r#   c                 ,    t        j                  |       S r-   )r   $vector_fz_font_ucs_gid_get_allocatorrV   s    r   r  z$vector_fz_font_ucs_gid.get_allocator$      ::4@@r#   c                 ,    t        j                  |       S r-   )r   vector_fz_font_ucs_gid_pop_backrV   s    r   r  zvector_fz_font_ucs_gid.pop_back'  r  r#   c                 .    t        j                  | g| S r-   )r   vector_fz_font_ucs_gid_eraser   s     r   r  zvector_fz_font_ucs_gid.erase*      224?$??r#   c                 P    t        j                  | t        j                  |        y r-   )r   vector_fz_font_ucs_gid_swiginitnew_vector_fz_font_ucs_gidr   s     r   rS   zvector_fz_font_ucs_gid.__init__-  s    ..tV5V5VX\5]^r#   c                 .    t        j                  | |      S r-   )r    vector_fz_font_ucs_gid_push_backrc   s     r   r  z vector_fz_font_ucs_gid.push_back0  s    66tQ??r#   c                 ,    t        j                  |       S r-   )r   vector_fz_font_ucs_gid_frontrV   s    r   r  zvector_fz_font_ucs_gid.front3  r  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_font_ucs_gid_backrV   s    r   r  zvector_fz_font_ucs_gid.back6  r  r#   c                 0    t        j                  | ||      S r-   )r   vector_fz_font_ucs_gid_assignr  s      r   r  zvector_fz_font_ucs_gid.assign9  s    33D!Q??r#   c                 .    t        j                  | g| S r-   )r   vector_fz_font_ucs_gid_resizer   s     r   r  zvector_fz_font_ucs_gid.resize<  r3  r#   c                 .    t        j                  | g| S r-   )r   vector_fz_font_ucs_gid_insertr   s     r   r   zvector_fz_font_ucs_gid.insert?  r3  r#   c                 .    t        j                  | |      S r-   )r   vector_fz_font_ucs_gid_reserverZ   s     r   r#  zvector_fz_font_ucs_gid.reserveB  r  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_font_ucs_gid_capacityrV   s    r   r&  zvector_fz_font_ucs_gid.capacityE  r  r#   N)+r   r   r6   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  rS   r  r  r  r  r  r   r#  r&  r   delete_vector_fz_font_ucs_gidr   r$   r#   r   rJ  rJ    s    -/IOdeGH<?<;FGFFFF7=98;97:89A<@_@98@AA><;;r#   rJ  c                      e Zd Z ed d d      ZeZd Zd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'e(jR                  Z*y&)'vector_fz_pointc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zvector_fz_point.<lambda>L  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zvector_fz_point.<lambda>L  rL   r#   rM   rN   c                 ,    t        j                  |       S r-   )r   vector_fz_point_iteratorrV   s    r   r   zvector_fz_point.iteratorO      ..t44r#   c                 "    | j                         S r-   r   rV   s    r   r   zvector_fz_point.__iter__Q  r   r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point___nonzero__rV   s    r   r   zvector_fz_point.__nonzero__T  r  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point___bool__rV   s    r   r   zvector_fz_point.__bool__W  r  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point___len__rV   s    r   r   zvector_fz_point.__len__Z  rs   r#   c                 0    t        j                  | ||      S r-   )r   vector_fz_point___getslice__r   s      r   r   zvector_fz_point.__getslice__]      224A>>r#   c                 .    t        j                  | g| S r-   )r   vector_fz_point___setslice__r   s     r   r   zvector_fz_point.__setslice__`  r  r#   c                 0    t        j                  | ||      S r-   )r   vector_fz_point___delslice__r   s      r   r   zvector_fz_point.__delslice__c  r  r#   c                 .    t        j                  | g| S r-   )r   vector_fz_point___delitem__r   s     r   r   zvector_fz_point.__delitem__f      11$>>>r#   c                 .    t        j                  | g| S r-   )r   vector_fz_point___getitem__r   s     r   r   zvector_fz_point.__getitem__i  r  r#   c                 .    t        j                  | g| S r-   )r   vector_fz_point___setitem__r   s     r   r   zvector_fz_point.__setitem__l  r  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point_poprV   s    r   r   zvector_fz_point.popo  rl   r#   c                 .    t        j                  | |      S r-   )r   vector_fz_point_appendrc   s     r   r   zvector_fz_point.appendr  rz   r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point_emptyrV   s    r   r   zvector_fz_point.emptyu  r\  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point_sizerV   s    r   r   zvector_fz_point.sizex  rW   r#   c                 .    t        j                  | |      S r-   )r   vector_fz_point_swapr   s     r   r   zvector_fz_point.swap{  ri   r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point_beginrV   s    r   r   zvector_fz_point.begin~  r\  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point_endrV   s    r   r   zvector_fz_point.end  rl   r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point_rbeginrV   s    r   r   zvector_fz_point.rbegin  r  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point_rendrV   s    r   r   zvector_fz_point.rend  rW   r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point_clearrV   s    r   r   zvector_fz_point.clear  r\  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point_get_allocatorrV   s    r   r  zvector_fz_point.get_allocator  r  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point_pop_backrV   s    r   r  zvector_fz_point.pop_back  r  r#   c                 .    t        j                  | g| S r-   )r   vector_fz_point_eraser   s     r   r  zvector_fz_point.erase  r   r#   c                 P    t        j                  | t        j                  |        y r-   )r   vector_fz_point_swiginitnew_vector_fz_pointr   s     r   rS   zvector_fz_point.__init__  s    ''f.H.H$.OPr#   c                 .    t        j                  | |      S r-   )r   vector_fz_point_push_backrc   s     r   r  zvector_fz_point.push_back  s    //a88r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point_frontrV   s    r   r  zvector_fz_point.front  r\  r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point_backrV   s    r   r  zvector_fz_point.back  rW   r#   c                 0    t        j                  | ||      S r-   )r   vector_fz_point_assignr  s      r   r  zvector_fz_point.assign  s    ,,T1a88r#   c                 .    t        j                  | g| S r-   )r   vector_fz_point_resizer   s     r   r  zvector_fz_point.resize  r   r#   c                 .    t        j                  | g| S r-   )r   vector_fz_point_insertr   s     r   r   zvector_fz_point.insert  r   r#   c                 .    t        j                  | |      S r-   )r   vector_fz_point_reserverZ   s     r   r#  zvector_fz_point.reserve  re   r#   c                 ,    t        j                  |       S r-   )r   vector_fz_point_capacityrV   s    r   r&  zvector_fz_point.capacity  r  r#   N)+r   r   r6   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  rS   r  r  r  r  r  r   r#  r&  r   delete_vector_fz_pointr   r$   r#   r   r  r  K  s    -/IOdeGH5854?@????0621420312:59Q9219::7544r#   r  c                 ,    t        j                  |       S r-   )r   	new_bytesr<   s    r   r  r    s    I&&r#   c                 ,    t        j                  |       S r-   )r   delete_bytesarys    r   r  r    s    s##r#   c                 .    t        j                  | |      S r-   )r   bytes_getitemr  r   s     r   r  r    s    U++r#   c                 0    t        j                  | ||      S r-   )r   bytes_setitemr  r   r    s      r   r  r    s    UE22r#   c                 ,    t        j                  |       S r-   )r   
new_floatsr  s    r   r  r    s    Y''r#   c                 ,    t        j                  |       S r-   )r   delete_floatsr  s    r   r  r    s    $$r#   c                 .    t        j                  | |      S r-   )r   floats_getitemr  s     r   r  r    s      e,,r#   c                 0    t        j                  | ||      S r-   )r   floats_setitemr  s      r   r  r    s      eU33r#   c                 ,    t        j                  |       S r-   )r   internal_set_error_classes)classess    r   r  r    s    ,,W55r#   c                 ,    t        j                  |       S r-   )r   Memento_checkBlockarg1s    r   r  r        $$T**r#   c                  *    t        j                         S r-   )r   Memento_checkAllMemoryr$   r#   r   r  r    s    ((**r#   c                  *    t        j                         S r-   )r   Memento_checkr$   r#   r   r  r        !!r#   c                 ,    t        j                  |       S r-   )r   Memento_setParanoiar  s    r   r  r  "      %%d++r#   c                 ,    t        j                  |       S r-   )r   Memento_paranoidAtr  s    r   r  r  %  r  r#   c                 ,    t        j                  |       S r-   )r   Memento_breakAtr  s    r   r  r  (  s    !!$''r#   c                 ,    t        j                  |       S r-   )r   Memento_breakOnFreeas    r   r	  r	  +  s    %%a((r#   c                 ,    t        j                  |       S r-   )r   Memento_breakOnReallocr
  s    r   r  r  .  s    ((++r#   c                 ,    t        j                  |       S r-   )r   Memento_getBlockNumr  s    r   r  r  1  r  r#   c                 ,    t        j                  |       S r-   )r   Memento_findr
  s    r   r  r  4      q!!r#   c                  *    t        j                         S r-   )r   Memento_breakpointr$   r#   r   r  r  7      $$&&r#   c                 ,    t        j                  |       S r-   )r   Memento_failAtr  s    r   r  r  :        &&r#   c                  *    t        j                         S r-   )r   Memento_failThisEventr$   r#   r   r  r  =      ''))r#   c                  *    t        j                         S r-   )r   Memento_listBlocksr$   r#   r   r  r  @  r  r#   c                  *    t        j                         S r-   )r   Memento_listNewBlocksr$   r#   r   r  r  C  r  r#   c                  *    t        j                         S r-   )r   Memento_listLargeBlocksr$   r#   r   r!  r!  F  s    ))++r#   c                  *    t        j                         S r-   )r   Memento_listPhasedBlocksr$   r#   r   r#  r#  I  s    **,,r#   c                 ,    t        j                  |       S r-   )r   Memento_setMaxr  s    r   r%  r%  L  r  r#   c                  *    t        j                         S r-   )r   Memento_statsr$   r#   r   r'  r'  O  r   r#   c                 .    t        j                  | |      S r-   )r   Memento_labelr  arg2s     r   r)  r)  R  s    d++r#   c                  *    t        j                         S r-   )r   Memento_tickr$   r#   r   r-  r-  U  s      r#   c                 ,    t        j                  |       S r-   )r   Memento_setVerboser  s    r   r/  r/  X  r  r#   c                 ,    t        j                  |       S r-   )r   Memento_addBacktraceLimitFnname)fnnames    r   r1  r1  [  s    11&99r#   c                 ,    t        j                  |       S r-   )r   Memento_setAtexitFin)	atexitfins    r   r4  r4  ^  s    &&y11r#   c                 ,    t        j                  |       S r-   )r   Memento_setIgnoreNewDelete)ignores    r   r7  r7  a  s    ,,V44r#   c                 ,    t        j                  |       S r-   )r   Memento_mallocss    r   r:  r:  d  s      ##r#   c                 .    t        j                  | |      S r-   )r   Memento_realloc)r  r<  s     r   r>  r>  g  s    !!$**r#   c                 ,    t        j                  |       S r-   )r   Memento_freer  s    r   r@  r@  j      t$$r#   c                 .    t        j                  | |      S r-   )r   Memento_callocr*  s     r   rC  rC  m  s      t,,r#   c                 ,    t        j                  |       S r-   )r   Memento_strdupr  s    r   rE  rE  p  r  r#   c                 ,    t        j                  |       S r-   )r   Memento_info)addrs    r   rG  rG  s  rA  r#   c                  *    t        j                         S r-   )r   Memento_listBlockInfor$   r#   r   rJ  rJ  v  r  r#   c                 ,    t        j                  |       S r-   )r   Memento_blockInfoblks    r   rL  rL  y      ##C((r#   c                 ,    t        j                  |       S r-   )r   Memento_takeByteRefrM  s    r   rQ  rQ  |      %%c**r#   c                 ,    t        j                  |       S r-   )r   Memento_dropByteRefrM  s    r   rT  rT    rR  r#   c                 ,    t        j                  |       S r-   )r   Memento_takeShortRefrM  s    r   rV  rV        &&s++r#   c                 ,    t        j                  |       S r-   )r   Memento_dropShortRefrM  s    r   rY  rY    rW  r#   c                 ,    t        j                  |       S r-   )r   Memento_takeIntRefrM  s    r   r[  r[        $$S))r#   c                 ,    t        j                  |       S r-   )r   Memento_dropIntRefrM  s    r   r^  r^    r\  r#   c                 ,    t        j                  |       S r-   )r   Memento_takeRefrM  s    r   r`  r`        !!#&&r#   c                 ,    t        j                  |       S r-   )r   Memento_dropRefrM  s    r   rc  rc    ra  r#   c                 .    t        j                  | |      S r-   )r   Memento_adjustRef)rN  adjusts     r   re  re    s    ##C00r#   c                 ,    t        j                  |       S r-   )r   Memento_referencerM  s    r   rh  rh    rO  r#   c                 ,    t        j                  |       S r-   )r   Memento_checkPointerOrNullrM  s    r   rj  rj    s    ,,S11r#   c                 ,    t        j                  |       S r-   )r   Memento_checkBytePointerOrNullrM  s    r   rl  rl    s    0055r#   c                 ,    t        j                  |       S r-   )r   Memento_checkShortPointerOrNullrM  s    r   rn  rn    s    11#66r#   c                 ,    t        j                  |       S r-   )r   Memento_checkIntPointerOrNullrM  s    r   rp  rp    s    //44r#   c                  *    t        j                         S r-   )r   Memento_startLeakingr$   r#   r   rr  rr    s    &&((r#   c                  *    t        j                         S r-   )r   Memento_stopLeakingr$   r#   r   rt  rt    s    %%''r#   c                  *    t        j                         S r-   )r   Memento_sequencer$   r#   r   rv  rv    s    ""$$r#   c                  *    t        j                         S r-   )r   Memento_squeezingr$   r#   r   rx  rx    s    ##%%r#   c                  *    t        j                         S r-   )r   Memento_finr$   r#   r   rz  rz    s    r#   c                  *    t        j                         S r-   )r   
Memento_btr$   r#   r   r|  r|    s    r#   c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Zd Zej                   Zy)fz_pointz/fz_point is a point in a two-dimensional space.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_point.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_point.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_point_swiginitnew_fz_pointrV   s    r   rS   zfz_point.__init__        v':':'<=r#   N)r   r   r6   r7   r   r   r   r   r   fz_point_x_getfz_point_x_setrF   fz_point_y_getfz_point_y_setyrS   delete_fz_pointr   r$   r#   r   r~  r~    s\    :-/IOdeGH&&(=(=>A&&(=(=>A>--r#   r~  c                   4   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Zd Zej,                  Zy)fz_recta  
    fz_rect is a rectangle represented by two diagonally opposite
    corners at arbitrary coordinates.

    Rectangles are always axis-aligned with the X- and Y- axes. We
    wish to distinguish rectangles in 3 categories; infinite, finite,
    and invalid. Zero area rectangles are a sub-category of finite
    ones.

    For all valid rectangles, x0 <= x1 and y0 <= y1 in all cases.
    Infinite rectangles have x0 = y0 = FZ_MIN_INF_RECT,
    x1 = y1 = FZ_MAX_INF_RECT. For any non infinite valid rectangle,
    the area is defined as (x1 - x0) * (y1 - y0).

    To check for empty or infinite rectangles use fz_is_empty_rect
    and fz_is_infinite_rect. To check for valid rectangles use
    fz_is_valid_rect.

    We choose this representation, so that we can easily distinguish
    the difference between intersecting 2 valid rectangles and
    getting an invalid one, as opposed to getting a zero area one
    (which nonetheless has valid bounds within the plane).

    x0, y0: The top left corner.

    x1, y1: The bottom right corner.

    We choose FZ_{MIN,MAX}_INF_RECT to be the largest 32bit signed
    integer values that survive roundtripping to floats.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_rect.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_rect.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_rect_swiginitnew_fz_rectrV   s    r   rS   zfz_rect.__init__      f&8&8&:;r#   N)r   r   r6   r7   r   r   r   r   r   fz_rect_x0_getfz_rect_x0_setx0fz_rect_y0_getfz_rect_y0_sety0fz_rect_x1_getfz_rect_x1_setx1fz_rect_y1_getfz_rect_y1_sety1rS   delete_fz_rectr   r$   r#   r   r  r    s    > -/IOdeGH	&'')>)>	?B	&'')>)>	?B	&'')>)>	?B	&'')>)>	?B<,,r#   r  c                   4   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Zd Zej,                  Zy)fz_irectz
    fz_irect is a rectangle using integers instead of floats.

    It's used in the draw device and for pixmap dimensions.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_irect.<lambda>	  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_irect.<lambda>	  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_irect_swiginitnew_fz_irectrV   s    r   rS   zfz_irect.__init__  r  r#   N)r   r   r6   r7   r   r   r   r   r   fz_irect_x0_getfz_irect_x0_setr  fz_irect_y0_getfz_irect_y0_setr  fz_irect_x1_getfz_irect_x1_setr  fz_irect_y1_getfz_irect_y1_setr  rS   delete_fz_irectr   r$   r#   r   r  r    s     -/IOdeGH	&((&*@*@	AB	&((&*@*@	AB	&((&*@*@	AB	&((&*@*@	AB>--r#   r  c                      e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Zd Zej8                  Zy)	fz_matrixa  
    	fz_matrix is a row-major 3x3 matrix used for representing
    	transformations of coordinates throughout MuPDF.

    	Since all points reside in a two-dimensional space, one vector
    	is always a constant unit vector; hence only some elements may
    	vary in a matrix. Below is how the elements map between
    	different representations.

    a b 0
    	| c d 0 | normally represented as [ a b c d e f ].
    	\ e f 1 /
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_matrix.<lambda>%  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_matrix.<lambda>%  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_matrix_swiginitnew_fz_matrixrV   s    r   rS   zfz_matrix.__init__.      !!$(<(<(>?r#   N)r   r   r6   r7   r   r   r   r   r   fz_matrix_a_getfz_matrix_a_setr  fz_matrix_b_getfz_matrix_b_setbfz_matrix_c_getfz_matrix_c_setcfz_matrix_d_getfz_matrix_d_setdfz_matrix_e_getfz_matrix_e_setefz_matrix_f_getfz_matrix_f_setfrS   delete_fz_matrixr   r$   r#   r   r  r    s     -/IOdeGH'')?)?@A'')?)?@A'')?)?@A'')?)?@A'')?)?@A'')?)?@A@..r#   r  c                   4   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Zd Zej,                  Zy)fz_quadz
    A representation for a region defined by 4 points.

    The significant difference between quads and rects is that
    the edges of quads are not axis aligned.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_quad.<lambda>C  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_quad.<lambda>C  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_quad_swiginitnew_fz_quadrV   s    r   rS   zfz_quad.__init__J  r  r#   N)r   r   r6   r7   r   r   r   r   r   fz_quad_ul_getfz_quad_ul_setulfz_quad_ur_getfz_quad_ur_seturfz_quad_ll_getfz_quad_ll_setllfz_quad_lr_getfz_quad_lr_setlrrS   delete_fz_quadr   r$   r#   r   r  r  ;  s     -/IOdeGH	&'')>)>	?B	&'')>)>	?B	&'')>)>	?B	&'')>)>	?B<,,r#   r  c                   4   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Zd Zej,                  Zy)fz_alloc_contextz>Allocator structure; holds callbacks and private data pointer.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_alloc_context.<lambda>V  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_alloc_context.<lambda>V  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_alloc_context_swiginitnew_fz_alloc_contextrV   s    r   rS   zfz_alloc_context.__init__]      ((v/J/J/LMr#   N)r   r   r6   r7   r   r   r   r   r   fz_alloc_context_user_getfz_alloc_context_user_setuserfz_alloc_context_malloc_getfz_alloc_context_malloc_setmallocfz_alloc_context_realloc_getfz_alloc_context_realloc_setreallocfz_alloc_context_free_getfz_alloc_context_free_setfreerS   delete_fz_alloc_contextr   r$   r#   r   r  r  S  s    I-/IOdeGHF44f6V6VWDf88&:\:\]Fv::F<_<_`GF44f6V6VWDN55r#   r  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Zd Zej&                  Zy)fz_locks_contexta&  
    Locking functions

    MuPDF is kept deliberately free of any knowledge of particular
    threading systems. As such, in order for safe multi-threaded
    operation, we rely on callbacks to client provided functions.

    A client is expected to provide FZ_LOCK_MAX number of mutexes,
    and a function to lock/unlock each of them. These may be
    recursive mutexes, but do not have to be.

    If a client does not intend to use multiple threads, then it
    may pass NULL instead of a lock structure.

    In order to avoid deadlocks, we have one simple rule
    internally as to how we use locks: We can never take lock n
    when we already hold any lock i, where 0 <= i <= n. In order
    to verify this, we have some debugging code, that can be
    enabled by defining FITZ_DEBUG_LOCKING.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_locks_context.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_locks_context.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_locks_context_swiginitnew_fz_locks_contextrV   s    r   rS   zfz_locks_context.__init__  r  r#   N)r   r   r6   r7   r   r   r   r   r   fz_locks_context_user_getfz_locks_context_user_setr  fz_locks_context_lock_getfz_locks_context_lock_setlockfz_locks_context_unlock_getfz_locks_context_unlock_setunlockrS   delete_fz_locks_contextr   r$   r#   r   r  r  r  sy    * -/IOdeGHF44f6V6VWDF44f6V6VWDf88&:\:\]FN55r#   r  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)	fz_stringc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_string.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_string.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_string_swiginitnew_fz_stringrV   s    r   rS   zfz_string.__init__  r  r#   N)r   r   r6   r   r   r   r   r   fz_string_refs_getfz_string_refs_setrefsfz_string_str_getfz_string_str_setstrrS   delete_fz_stringr   r$   r#   r   r  r    sZ    -/IOdeGHF--v/H/HID
6++V-E-E
FC@..r#   r  c                   R   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z"d Z#ejH                  Z%y)fz_error_contextc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_error_context.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_error_context.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_error_context_swiginitnew_fz_error_contextrV   s    r   rS   zfz_error_context.__init__  r  r#   N)&r   r   r6   r   r   r   r   r   fz_error_context_top_getfz_error_context_top_settopfz_error_context_stack_getfz_error_context_stack_setstackfz_error_context_padding_getfz_error_context_padding_setpaddingfz_error_context_stack_base_getfz_error_context_stack_base_set
stack_basefz_error_context_errcode_getfz_error_context_errcode_seterrcodefz_error_context_errnum_getfz_error_context_errnum_seterrnumfz_error_context_print_user_getfz_error_context_print_user_set
print_userfz_error_context__print_getfz_error_context__print_set_printfz_error_context_message_getfz_error_context_message_setmessagerS   delete_fz_error_contextr   r$   r#   r   r  r    s   -/IOdeGH
622F4S4S
TCV668Y8YZEv::F<_<_`G&@@&BhBhiJv::F<_<_`Gf88&:\:\]F&@@&BhBhiJf88&:\:\]Fv::F<_<_`GN55r#   r  c                   0   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Zd Zej*                  Zy)fz_warn_contextc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_warn_context.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_warn_context.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_warn_context_swiginitnew_fz_warn_contextrV   s    r   rS   zfz_warn_context.__init__      ''f.H.H.JKr#   N)r   r   r6   r   r   r   r   r   fz_warn_context_print_user_getfz_warn_context_print_user_setr,  fz_warn_context__print_getfz_warn_context__print_setr/  fz_warn_context_count_getfz_warn_context_count_setr  fz_warn_context_message_getfz_warn_context_message_setr2  rS   delete_fz_warn_contextr   r$   r#   r   r5  r5    s    -/IOdeGH&??AfAfgJf779Z9Z[FV55v7W7WXEv996;];]^GL44r#   r5  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Zd Zej6                  Zy)fz_aa_contextc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_aa_context.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_aa_context.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_aa_context_swiginitnew_fz_aa_contextrV   s    r   rS   zfz_aa_context.__init__      %%dF,D,D,FGr#   N)r   r   r6   r   r   r   r   r   fz_aa_context_hscale_getfz_aa_context_hscale_sethscalefz_aa_context_vscale_getfz_aa_context_vscale_setvscalefz_aa_context_scale_getfz_aa_context_scale_setscalefz_aa_context_bits_getfz_aa_context_bits_setbitsfz_aa_context_text_bits_getfz_aa_context_text_bits_set	text_bits fz_aa_context_min_line_width_get fz_aa_context_min_line_width_setmin_line_widthrS   delete_fz_aa_contextr   r$   r#   r   rF  rF    s    -/IOdeGHf55v7V7VWFf55v7V7VWFV33V5S5STEF1163P3PQD;;V=_=_`IfEEvGnGnoNH22r#   rF  c                   \   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z( eejR                  ejT                        Z+ eejX                  ejZ                        Z. eej^                  ej`                        Z1 eejd                  ejf                        Z4 eejj                  ejl                        Z7 eejp                  ejr                        Z: eejv                  ejx                        Z=d Z>ej~                  Z@y)
fz_contextc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_context.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_context.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_context_swiginitnew_fz_contextrV   s    r   rS   zfz_context.__init__      ""4)>)>)@Ar#   N)Ar   r   r6   r   r   r   r   r   fz_context_user_getfz_context_user_setr  fz_context_alloc_getfz_context_alloc_setallocfz_context_locks_getfz_context_locks_setlocksfz_context_error_getfz_context_error_seterrorfz_context_warn_getfz_context_warn_setwarnfz_context_aa_getfz_context_aa_setaafz_context_seed48_getfz_context_seed48_setseed48fz_context_icc_enabled_getfz_context_icc_enabled_seticc_enabledfz_context_throw_on_repair_getfz_context_throw_on_repair_setthrow_on_repairfz_context_handler_getfz_context_handler_sethandlerfz_context_archive_getfz_context_archive_setarchivefz_context_style_getfz_context_style_setstylefz_context_tuning_getfz_context_tuning_settuningfz_context_stddbg_getfz_context_stddbg_setstddbgfz_context_font_getfz_context_font_setfontfz_context_colorspace_getfz_context_colorspace_set
colorspacefz_context_store_getfz_context_store_setstorefz_context_glyph_cache_getfz_context_glyph_cache_setglyph_cacherS   delete_fz_contextr   r$   r#   r   ra  ra    s   -/IOdeGHF..0J0JKDV00&2M2MNEV00&2M2MNEV00&2M2MNEF..0J0JKD	&**F,D,D	EBf22F4P4PQF6<<f>_>_`KvDDfFkFklOv44f6S6STGv44f6S6STGV00&2M2MNEf22F4P4PQFf22F4P4PQFF..0J0JKD&::F<\<\]JV00&2M2MNE6<<f>_>_`KB//r#   ra  c                      e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Zd Zej8                  Zy)	fz_buffera_  
    fz_buffer is a wrapper around a dynamically allocated array of
    bytes.

    Buffers have a capacity (the number of bytes storage immediately
    available) and a current size.

    The contents of the structure are considered implementation
    details and are subject to change. Users should use the accessor
    functions in preference.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_buffer.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_buffer.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_buffer_swiginitnew_fz_bufferrV   s    r   rS   zfz_buffer.__init__
  r  r#   N)r   r   r6   r7   r   r   r   r   r   fz_buffer_refs_getfz_buffer_refs_setr  fz_buffer_data_getfz_buffer_data_setr?   fz_buffer_cap_getfz_buffer_cap_setcapfz_buffer_len_getfz_buffer_len_setlenfz_buffer_unused_bits_getfz_buffer_unused_bits_setunused_bitsfz_buffer_shared_getfz_buffer_shared_setsharedrS   delete_fz_bufferr   r$   r#   r   r  r    s    
 -/IOdeGHF--v/H/HIDF--v/H/HID
6++V-E-E
FC
6++V-E-E
FC6;;V=]=]^Kf1163N3NOF@..r#   r  c                   :   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z( eejR                  ejT                        Z+ eejX                  ejZ                        Z.d Z/ej`                  Z1y)	fz_streamc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_stream.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_stream.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_stream_swiginitnew_fz_streamrV   s    r   rS   zfz_stream.__init__#  r  r#   N)2r   r   r6   r   r   r   r   r   fz_stream_refs_getfz_stream_refs_setr  fz_stream_error_getfz_stream_error_setrr  fz_stream_eof_getfz_stream_eof_seteoffz_stream_progressive_getfz_stream_progressive_setprogressivefz_stream_pos_getfz_stream_pos_setposfz_stream_avail_getfz_stream_avail_setavailfz_stream_bits_getfz_stream_bits_setrX  fz_stream_rp_getfz_stream_rp_setrpfz_stream_wp_getfz_stream_wp_setwpfz_stream_state_getfz_stream_state_setstatefz_stream_next_getfz_stream_next_setro   fz_stream_drop_getfz_stream_drop_setdropfz_stream_seek_getfz_stream_seek_setseekrS   delete_fz_streamr   r$   r#   r   r  r    sb   -/IOdeGHF--v/H/HIDV//1K1KLE
6++V-E-E
FC6;;V=]=]^K
6++V-E-E
FCV//1K1KLEF--v/H/HID	&))6+B+B	CB	&))6+B+B	CBV//1K1KLEF--v/H/HIDF--v/H/HIDF--v/H/HID@..r#   r  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z( eejR                  ejT                        Z+ eejX                  ejZ                        Z. eej^                  ej`                        Z1 eejd                  ejf                        Z4d Z5ejl                  Z7y)	fz_outputc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_output.<lambda>*  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_output.<lambda>*  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_output_swiginitnew_fz_outputrV   s    r   rS   zfz_output.__init__<  r  r#   N)8r   r   r6   r   r   r   r   r   fz_output_state_getfz_output_state_setr  fz_output_write_getfz_output_write_setwritefz_output_seek_getfz_output_seek_setr  fz_output_tell_getfz_output_tell_settellfz_output_close_getfz_output_close_setclosefz_output_drop_getfz_output_drop_setr  fz_output_reset_getfz_output_reset_setresetfz_output_as_stream_getfz_output_as_stream_set	as_streamfz_output_truncate_getfz_output_truncate_settruncatefz_output_closed_getfz_output_closed_setclosedfz_output_bp_getfz_output_bp_setbpfz_output_wp_getfz_output_wp_setr  fz_output_ep_getfz_output_ep_setepfz_output_buffered_getfz_output_buffered_setbufferedfz_output_bits_getfz_output_bits_setrX  rS   delete_fz_outputr   r$   r#   r   r  r  )  s   -/IOdeGHV//1K1KLEV//1K1KLEF--v/H/HIDF--v/H/HIDV//1K1KLEF--v/H/HIDV//1K1KLE779W9WXI55v7T7TUHf1163N3NOF	&))6+B+B	CB	&))6+B+B	CB	&))6+B+B	CB55v7T7TUHF--v/H/HID@..r#   r  c                      e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Zd Zej>                  Z y)fz_md5r
    Structure definition is public to enable stack
    based allocation. Do not access the members directly.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_md5.<lambda>H  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_md5.<lambda>H  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_md5_swiginit
new_fz_md5rV   s    r   rS   zfz_md5.__init__R      tV%6%6%89r#   N)!r   r   r6   r7   r   r   r   r   r   fz_md5_lo_getfz_md5_lo_setlofz_md5_hi_getfz_md5_hi_sethifz_md5_a_getfz_md5_a_setr  fz_md5_b_getfz_md5_b_setr  fz_md5_c_getfz_md5_c_setr  fz_md5_d_getfz_md5_d_setr  fz_md5_buffer_getfz_md5_buffer_setbufferrS   delete_fz_md5r   r$   r#   r   r  r  B  s    
 -/IOdeGH	&&&(<(<	=B	&&&(<(<	=B$$f&9&9:A$$f&9&9:A$$f&9&9:A$$f&9&9:Af..0H0HIF:++r#   r  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Zd Zej                   Zy)	fz_sha256r  c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_sha256.<lambda>^  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_sha256.<lambda>^  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_sha256_swiginitnew_fz_sha256rV   s    r   rS   zfz_sha256.__init__c  r  r#   N)r   r   r6   r7   r   r   r   r   r   fz_sha256_state_getfz_sha256_state_setr  fz_sha256_count_getfz_sha256_count_setr  rS   delete_fz_sha256r   r$   r#   r   r-  r-  X  a    
 -/IOdeGHV//1K1KLEV//1K1KLE@..r#   r-  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Zd Zej                   Zy)	fz_sha512r  c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_sha512.<lambda>o  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_sha512.<lambda>o  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_sha512_swiginitnew_fz_sha512rV   s    r   rS   zfz_sha512.__init__t  r  r#   N)r   r   r6   r7   r   r   r   r   r   fz_sha512_state_getfz_sha512_state_setr  fz_sha512_count_getfz_sha512_count_setr  rS   delete_fz_sha512r   r$   r#   r   r:  r:  i  r8  r#   r:  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Zd Zej&                  Zy)fz_arc4r  c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_arc4.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_arc4.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_arc4_swiginitnew_fz_arc4rV   s    r   rS   zfz_arc4.__init__  r  r#   N)r   r   r6   r7   r   r   r   r   r   fz_arc4_x_getfz_arc4_x_setrF   fz_arc4_y_getfz_arc4_y_setr  fz_arc4_state_getfz_arc4_state_setr  rS   delete_fz_arc4r   r$   r#   r   rF  rF  z  sx    
 -/IOdeGH%%v';';<A%%v';';<AV--v/G/GHE<,,r#   rF  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Zd Zej&                  Zy)fz_aeszt
    Structure definitions are public to enable stack
    based allocation. Do not access the members directly.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_aes.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_aes.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_aes_swiginit
new_fz_aesrV   s    r   rS   zfz_aes.__init__  r  r#   N)r   r   r6   r7   r   r   r   r   r   fz_aes_nr_getfz_aes_nr_setnrfz_aes_rk_getfz_aes_rk_setrkfz_aes_buf_getfz_aes_buf_setbufrS   delete_fz_aesr   r$   r#   r   rT  rT    sx    
 -/IOdeGH	&&&(<(<	=B	&&&(<(<	=B
6((&*?*?
@C:++r#   rT  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Zd Zej$                  Zy)fz_getopt_long_optionsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_getopt_long_options.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_getopt_long_options.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_getopt_long_options_swiginitnew_fz_getopt_long_optionsrV   s    r   rS   zfz_getopt_long_options.__init__      ..tV5V5V5XYr#   N)r   r   r6   r   r   r   r   r   !fz_getopt_long_options_option_get!fz_getopt_long_options_option_setoptionfz_getopt_long_options_flag_getfz_getopt_long_options_flag_setflag!fz_getopt_long_options_opaque_get!fz_getopt_long_options_opaque_setopaquerS   delete_fz_getopt_long_optionsr   r$   r#   r   re  re    sr    -/IOdeGHf>>@h@hiFF::F<b<bcDf>>@h@hiFZ;;r#   re  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)fz_archive_handlerc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_archive_handler.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_archive_handler.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_archive_handler_swiginitnew_fz_archive_handlerrV   s    r   rS   zfz_archive_handler.__init__      **41N1N1PQr#   N)r   r   r6   r   r   r   r   r    fz_archive_handler_recognize_get fz_archive_handler_recognize_set	recognizefz_archive_handler_open_getfz_archive_handler_open_setopenrS   delete_fz_archive_handlerr   r$   r#   r   rw  rw    sZ    -/IOdeGH@@&BiBijIF668Z8Z[DR77r#   rw  c                   V   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Z eej<                  ej>                        Z  eejB                  ejD                        Z#d Z$ejJ                  Z&y)
fz_archivez*Implementation details: Subject to change.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_archive.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_archive.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_archive_swiginitnew_fz_archiverV   s    r   rS   zfz_archive.__init__  rg  r#   N)'r   r   r6   r7   r   r   r   r   r   fz_archive_refs_getfz_archive_refs_setr  fz_archive_file_getfz_archive_file_setfilefz_archive_format_getfz_archive_format_setformatfz_archive_drop_archive_getfz_archive_drop_archive_setdrop_archivefz_archive_count_entries_getfz_archive_count_entries_setcount_entriesfz_archive_list_entry_getfz_archive_list_entry_set
list_entryfz_archive_has_entry_getfz_archive_has_entry_set	has_entryfz_archive_read_entry_getfz_archive_read_entry_set
read_entryfz_archive_open_entry_getfz_archive_open_entry_set
open_entryrS   delete_fz_archiver   r$   r#   r   r  r    s   5-/IOdeGHF..0J0JKDF..0J0JKDf22F4P4PQFF>>@b@bcLV@@&BeBefM&::F<\<\]J88&:Y:YZI&::F<\<\]J&::F<\<\]JB//r#   r  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Zd Zej&                  Zy)fz_storablez
    Any storable object should include an fz_storable structure
    at the start (by convention at least) of their structure.
    (Unless it starts with an fz_key_storable, see below).
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_storable.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_storable.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_storable_swiginitnew_fz_storablerV   s    r   rS   zfz_storable.__init__      ##D&*@*@*BCr#   N)r   r   r6   r7   r   r   r   r   r   fz_storable_refs_getfz_storable_refs_setr  fz_storable_drop_getfz_storable_drop_setr  fz_storable_droppable_getfz_storable_droppable_set	droppablerS   delete_fz_storabler   r$   r#   r   r  r    sy     -/IOdeGHF//1L1LMDF//1L1LMD996;[;[\ID00r#   r  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Zd Zej                   Zy)fz_key_storablez
    Any storable object that can appear in the key of another
    storable object should include an fz_key_storable structure
    at the start (by convention at least) of their structure.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_key_storable.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_key_storable.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_key_storable_swiginitnew_fz_key_storablerV   s    r   rS   zfz_key_storable.__init__  r;  r#   N)r   r   r6   r7   r   r   r   r   r   fz_key_storable_storable_getfz_key_storable_storable_setstorable"fz_key_storable_store_key_refs_get"fz_key_storable_store_key_refs_setstore_key_refsrS   delete_fz_key_storabler   r$   r#   r   r  r    sa     -/IOdeGH;;V=`=`aHfGGIrIrsNL44r#   r  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Zd Zej                  Zy)fz_store_hasha-
  
    The store can be seen as a dictionary that maps keys to
    fz_storable values. In order to allow keys of different types to
    be stored, we have a structure full of functions for each key
    'type'; this fz_store_type pointer is stored with each key, and
    tells the store how to perform certain operations (like taking/
    dropping a reference, comparing two keys, outputting details for
    debugging etc).

    The store uses a hash table internally for speed where possible.
    In order for this to work, we need a mechanism for turning a
    generic 'key' into 'a hashable string'. For this purpose the
    type structure contains a make_hash_key function pointer that
    maps from a void * to a fz_store_hash structure. If
    make_hash_key function returns 0, then the key is determined not
    to be hashable, and the value is not stored in the hash table.

    Some objects can be used both as values within the store, and as
    a component of keys within the store. We refer to these objects
    as "key storable" objects. In this case, we need to take
    additional care to ensure that we do not end up keeping an item
    within the store, purely because its value is referred to by
    another key in the store.

    An example of this are fz_images in PDF files. Each fz_image is
    placed into the	store to enable it to be easily reused. When the
    image is rendered, a pixmap is generated from the image, and the
    pixmap is placed into the store so it can be reused on
    subsequent renders. The image forms part of the key for the
    pixmap.

    When we close the pdf document (and any associated pages/display
    lists etc), we drop the images from the store. This may leave us
    in the position of the images having non-zero reference counts
    purely because they are used as part of the keys for the
    pixmaps.

    We therefore use special reference counting functions to keep
    track of these "key storable" items, and hence store the number
    of references to these items that are used in keys.

    When the number of references to an object == the number of
    references to an object from keys in the store, we know that we
    can remove all the items which have that object as part of the
    key. This is done by running a pass over the store, 'reaping'
    those items.

    Reap passes are slower than we would like as they touch every
    item in the store. We therefore provide a way to 'batch' such
    reap passes together, using fz_defer_reap_start/
    fz_defer_reap_end to bracket a region in which many may be
    triggered.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_store_hash.<lambda>2  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_store_hash.<lambda>2  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_store_hash_swiginitnew_fz_store_hashrV   s    r   rS   zfz_store_hash.__init__6  rL  r#   N)r   r   r6   r7   r   r   r   r   r   fz_store_hash_drop_getfz_store_hash_drop_setr  rS   delete_fz_store_hashr   r$   r#   r   r  r    sJ    4l -/IOdeGHF1163P3PQDH22r#   r  c                      e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Zd Zej>                  Z y)fz_store_typez
    Every type of object to be placed into the store defines an
    fz_store_type. This contains the pointers to functions to
    make hashes, manipulate keys, and check for needing reaping.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_store_type.<lambda>C  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_store_type.<lambda>C  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_store_type_swiginitnew_fz_store_typerV   s    r   rS   zfz_store_type.__init__M  rL  r#   N)!r   r   r6   r7   r   r   r   r   r   fz_store_type_name_getfz_store_type_name_setr   fz_store_type_make_hash_key_getfz_store_type_make_hash_key_setmake_hash_keyfz_store_type_keep_key_getfz_store_type_keep_key_setkeep_keyfz_store_type_drop_key_getfz_store_type_drop_key_setdrop_keyfz_store_type_cmp_key_getfz_store_type_cmp_key_setcmp_keyfz_store_type_format_key_getfz_store_type_format_key_set
format_keyfz_store_type_needs_reap_getfz_store_type_needs_reap_set
needs_reaprS   delete_fz_store_typer   r$   r#   r   r  r  <  s     -/IOdeGHF1163P3PQDVCCVEkEklM996;\;\]H996;\;\]Hv779Y9YZG&==v?b?bcJ&==v?b?bcJH22r#   r  c                   0   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Zd Zej*                  Zy)fz_color_paramsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_color_params.<lambda>X  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_color_params.<lambda>X  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_color_params_swiginitnew_fz_color_paramsrV   s    r   rS   zfz_color_params.__init___  r;  r#   N)r   r   r6   r   r   r   r   r   fz_color_params_ri_getfz_color_params_ri_setrifz_color_params_bp_getfz_color_params_bp_setr  fz_color_params_op_getfz_color_params_op_setopfz_color_params_opm_getfz_color_params_opm_setopmrS   delete_fz_color_paramsr   r$   r#   r   r  r  W  s    -/IOdeGH	&//1N1N	OB	&//1N1N	OB	&//1N1N	OB
61163Q3Q
RCL44r#   r  c                   n   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Zd Zej2                  Zy)fz_default_colorspacesz&Structure to hold default colorspaces.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_default_colorspaces.<lambda>n  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_default_colorspaces.<lambda>n  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_default_colorspaces_swiginitnew_fz_default_colorspacesrV   s    r   rS   zfz_default_colorspaces.__init__v  rk  r#   N)r   r   r6   r7   r   r   r   r   r   fz_default_colorspaces_refs_getfz_default_colorspaces_refs_setr  fz_default_colorspaces_gray_getfz_default_colorspaces_gray_setgrayfz_default_colorspaces_rgb_getfz_default_colorspaces_rgb_setrgbfz_default_colorspaces_cmyk_getfz_default_colorspaces_cmyk_setcmykfz_default_colorspaces_oi_getfz_default_colorspaces_oi_setoirS   delete_fz_default_colorspacesr   r$   r#   r   r  r  k  s    1-/IOdeGHF::F<b<bcDF::F<b<bcD
688&:_:_
`CF::F<b<bcD	&668\8\	]BZ;;r#   r  c                   j   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Zd Zej0                  Zy)fz_colorspacec                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_colorspace.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_colorspace.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_colorspace_swiginitnew_fz_colorspacerV   s    r   rS   zfz_colorspace.__init__  rL  r#   N)r   r   r6   r   r   r   r   r   fz_colorspace_key_storable_getfz_colorspace_key_storable_setkey_storablefz_colorspace_type_getfz_colorspace_type_setr   fz_colorspace_flags_getfz_colorspace_flags_setflagsfz_colorspace_n_getfz_colorspace_n_setr[   fz_colorspace_name_getfz_colorspace_name_setr   rS   delete_fz_colorspacer   r$   r#   r   r  r  ~  s    -/IOdeGHFAA6ChChiLF1163P3PQDV33V5S5STE++V-G-GHAF1163P3PQDH22r#   r  c                      e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Z eej<                  ej>                        Z  eejB                  ejD                        Z# eejH                  ejJ                        Z& eejN                  ejP                        Z) eejT                  ejV                        Z, eejZ                  ej\                        Z/ eej`                  ejb                        Z2 eejf                  ejh                        Z5 eejl                  ejn                        Z8d Z9ejt                  Z;y)	fz_pixmapa+  
    Pixmaps represent a set of pixels for a 2 dimensional region of
    a plane. Each pixel has n components per pixel. The components
    are in the order process-components, spot-colors, alpha, where
    there can be 0 of any of those types. The data is in
    premultiplied alpha when rendering, but non-premultiplied for
    colorspace conversions and rescaling.

    x, y: The minimum x and y coord of the region in pixels.

    w, h: The width and height of the region in pixels.

    n: The number of color components in the image.
    	n = num composite colors + num spots + num alphas

    s: The number of spot channels in the image.

    alpha: 0 for no alpha, 1 for alpha present.

    flags: flag bits.
    	Bit 0: If set, draw the image with linear interpolation.
    	Bit 1: If set, free the samples buffer when the pixmap
    	is destroyed.

    stride: The byte offset from the data for any given pixel
    to the data for the same pixel on the row below.

    seps: NULL, or a pointer to a separations structure. If NULL,
    s should be 0.

    xres, yres: Image resolution in dpi. Default is 96 dpi.

    colorspace: Pointer to a colorspace object describing the
    colorspace the pixmap is in. If NULL, the image is a mask.

    samples: Pointer to the first byte of the pixmap sample data.
    This is typically a simple block of memory w * h * n bytes of
    memory in which the components are stored linearly, but with the
    use of appropriate stride values, scanlines can be stored in
    different orders, and have different amounts of padding. The
    first n bytes are components 0 to n-1 for the pixel at (x,y).
    Each successive n bytes gives another pixel in scanline order
    as we move across the line. The start of each scanline is offset
    the start of the previous one by stride bytes.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_pixmap.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_pixmap.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_pixmap_swiginitnew_fz_pixmaprV   s    r   rS   zfz_pixmap.__init__  r  r#   N)<r   r   r6   r7   r   r   r   r   r   fz_pixmap_storable_getfz_pixmap_storable_setr  fz_pixmap_x_getfz_pixmap_x_setrF   fz_pixmap_y_getfz_pixmap_y_setr  fz_pixmap_w_getfz_pixmap_w_setwfz_pixmap_h_getfz_pixmap_h_sethfz_pixmap_n_getfz_pixmap_n_setr[   fz_pixmap_s_getfz_pixmap_s_setr<  fz_pixmap_alpha_getfz_pixmap_alpha_setalphafz_pixmap_flags_getfz_pixmap_flags_setr"  fz_pixmap_stride_getfz_pixmap_stride_setstridefz_pixmap_seps_getfz_pixmap_seps_setsepsfz_pixmap_xres_getfz_pixmap_xres_setxresfz_pixmap_yres_getfz_pixmap_yres_setyresfz_pixmap_colorspace_getfz_pixmap_colorspace_setr  fz_pixmap_samples_getfz_pixmap_samples_setsamplesfz_pixmap_underlying_getfz_pixmap_underlying_set
underlyingrS   delete_fz_pixmapr   r$   r#   r   r)  r)    s   ,\ -/IOdeGH55v7T7TUH'')?)?@A'')?)?@A'')?)?@A'')?)?@A'')?)?@A'')?)?@AV//1K1KLEV//1K1KLEf1163N3NOFF--v/H/HIDF--v/H/HIDF--v/H/HID&996;Z;Z[Jv33V5Q5QRG&996;Z;Z[J@..r#   r)  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)fz_rangec                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_range.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_range.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_range_swiginitnew_fz_rangerV   s    r   rS   zfz_range.__init__  r  r#   N)r   r   r6   r   r   r   r   r   fz_range_offset_getfz_range_offset_setoffsetfz_range_length_getfz_range_length_setlengthrS   delete_fz_ranger   r$   r#   r   rZ  rZ    sY    -/IOdeGHf00&2L2LMFf00&2L2LMF>--r#   rZ  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Zd Zej                  Zy)fz_compression_paramszs
    Compression parameters used for buffers of compressed data;
    typically for the source data for images.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_compression_params.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_compression_params.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_compression_params_swiginitnew_fz_compression_paramsrV   s    r   rS   zfz_compression_params.__init__      --dF4T4T4VWr#   N)r   r   r6   r7   r   r   r   r   r   fz_compression_params_type_getfz_compression_params_type_setr   rS   delete_fz_compression_paramsr   r$   r#   r   rh  rh    sI    
 -/IOdeGHF996;`;`aDX::r#   rh  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Zd Zej&                  Zy)fz_compressed_bufferzS
    Buffers of compressed data; typically for the source data
    for images.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_compressed_buffer.<lambda>	  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_compressed_buffer.<lambda>	  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_compressed_buffer_swiginitnew_fz_compressed_bufferrV   s    r   rS   zfz_compressed_buffer.__init__	      ,,T63R3R3TUr#   N)r   r   r6   r7   r   r   r   r   r   fz_compressed_buffer_refs_getfz_compressed_buffer_refs_setr  fz_compressed_buffer_params_getfz_compressed_buffer_params_setparamsfz_compressed_buffer_buffer_getfz_compressed_buffer_buffer_setr*  rS   delete_fz_compressed_bufferr   r$   r#   r   rs  rs    sy    
 -/IOdeGHF88&:^:^_Df<<f>d>deFf<<f>d>deFV99r#   rs  c                      e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Z eej<                  ej>                        Z d Z!ejD                  Z#y)	fz_bitmapaU  
    Bitmaps have 1 bit per component. Only used for creating
    halftoned versions of contone buffers, and saving out. Samples
    are stored msb first, akin to pbms.

    The internals of this struct are considered implementation
    details and subject to change. Where possible, accessor
    functions should be used in preference.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_bitmap.<lambda>(	  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_bitmap.<lambda>(	  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_bitmap_swiginitnew_fz_bitmaprV   s    r   rS   zfz_bitmap.__init__3	  r  r#   N)$r   r   r6   r7   r   r   r   r   r   fz_bitmap_refs_getfz_bitmap_refs_setr  fz_bitmap_w_getfz_bitmap_w_setr7  fz_bitmap_h_getfz_bitmap_h_setr:  fz_bitmap_stride_getfz_bitmap_stride_setrF  fz_bitmap_n_getfz_bitmap_n_setr[   fz_bitmap_xres_getfz_bitmap_xres_setrL  fz_bitmap_yres_getfz_bitmap_yres_setrO  fz_bitmap_samples_getfz_bitmap_samples_setrT  rS   delete_fz_bitmapr   r$   r#   r   r  r  	  s     -/IOdeGHF--v/H/HID'')?)?@A'')?)?@Af1163N3NOF'')?)?@AF--v/H/HIDF--v/H/HIDv33V5Q5QRG@..r#   r  c                      e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Z eej<                  ej>                        Z  eejB                  ejD                        Z# eejH                  ejJ                        Z& eejN                  ejP                        Z) eejT                  ejV                        Z, eejZ                  ej\                        Z/ eej`                  ejb                        Z2 eejf                  ejh                        Z5 eejl                  ejn                        Z8 eejr                  ejt                        Z; eejx                  ejz                        Z> eej~                  ej                        ZA eej                  ej                        ZD eej                  ej                        ZGd ZHej                  ZJy)fz_imager
    Structure is public to allow other structures to
    be derived from it. Do not access members directly.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_image.<lambda>?	  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_image.<lambda>?	  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_image_swiginitnew_fz_imagerV   s    r   rS   zfz_image.__init__W	  r  r#   N)Kr   r   r6   r7   r   r   r   r   r   fz_image_key_storable_getfz_image_key_storable_setr  fz_image_w_getfz_image_w_setr7  fz_image_h_getfz_image_h_setr:  fz_image_n_getfz_image_n_setr[   fz_image_bpc_getfz_image_bpc_setbpcfz_image_imagemask_getfz_image_imagemask_set	imagemaskfz_image_interpolate_getfz_image_interpolate_setinterpolatefz_image_use_colorkey_getfz_image_use_colorkey_setuse_colorkeyfz_image_use_decode_getfz_image_use_decode_set
use_decodefz_image_decoded_getfz_image_decoded_setdecodedfz_image_scalable_getfz_image_scalable_setscalablefz_image_orientation_getfz_image_orientation_setorientationfz_image_mask_getfz_image_mask_setmaskfz_image_xres_getfz_image_xres_setrL  fz_image_yres_getfz_image_yres_setrO  fz_image_colorspace_getfz_image_colorspace_setr  fz_image_drop_image_getfz_image_drop_image_set
drop_imagefz_image_get_pixmap_getfz_image_get_pixmap_set
get_pixmapfz_image_get_size_getfz_image_get_size_setget_sizefz_image_colorkey_getfz_image_colorkey_setcolorkeyfz_image_decode_getfz_image_decode_setdecoderS   delete_fz_imager   r$   r#   r   r  r  9	  s(   
 -/IOdeGHF<<f>^>^_L&&(=(=>A&&(=(=>A&&(=(=>A
6**F,C,C
DC668U8UVI6::F<[<[\KF<<f>^>^_L&88&:X:XYJv22F4O4OPG44f6R6RSH6::F<[<[\KF,,f.F.FGDF,,f.F.FGDF,,f.F.FGD&88&:X:XYJ&88&:X:XYJ&88&:X:XYJ44f6R6RSH44f6R6RSHf00&2L2LMF>--r#   r  c                      e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Z eej<                  ej>                        Z  eejB                  ejD                        Z# eejH                  ejJ                        Z&d Z'ejP                  Z)y)fz_shadez_
    Structure is public to allow derived classes. Do not
    access the members directly.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_shade.<lambda>j	  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_shade.<lambda>j	  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_shade_swiginitnew_fz_shaderV   s    r   rS   zfz_shade.__init__w	  r  r#   N)*r   r   r6   r7   r   r   r   r   r   fz_shade_storable_getfz_shade_storable_setr  fz_shade_bbox_getfz_shade_bbox_setbboxfz_shade_colorspace_getfz_shade_colorspace_setr  fz_shade_matrix_getfz_shade_matrix_setmatrixfz_shade_use_background_getfz_shade_use_background_setuse_backgroundfz_shade_background_getfz_shade_background_set
backgroundfz_shade_function_stride_getfz_shade_function_stride_setfunction_stridefz_shade_function_getfz_shade_function_setfunctionfz_shade_type_getfz_shade_type_setr   fz_shade_buffer_getfz_shade_buffer_setr*  rS   delete_fz_shader   r$   r#   r   r  r  d	  s    
 -/IOdeGH44f6R6RSHF,,f.F.FGD&88&:X:XYJf00&2L2LMFf@@&BdBdeN&88&:X:XYJvBBFDgDghO44f6R6RSHF,,f.F.FGDf00&2L2LMF>--r#   r  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Zd Zej                   Zy)	fz_vertexz.Handy routine for processing mesh based shadesc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_vertex.<lambda>	  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_vertex.<lambda>	  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_vertex_swiginitnew_fz_vertexrV   s    r   rS   zfz_vertex.__init__	  r  r#   N)r   r   r6   r7   r   r   r   r   r   fz_vertex_p_getfz_vertex_p_setpfz_vertex_c_getfz_vertex_c_setr  rS   delete_fz_vertexr   r$   r#   r   r  r  }	  s]    9-/IOdeGH'')?)?@A'')?)?@A@..r#   r  c                   j   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Zd Zej0                  Zy)fz_text_decoderc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_text_decoder.<lambda>	  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_text_decoder.<lambda>	  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_text_decoder_swiginitnew_fz_text_decoderrV   s    r   rS   zfz_text_decoder.__init__	  r;  r#   N)r   r   r6   r   r   r   r   r    fz_text_decoder_decode_bound_get fz_text_decoder_decode_bound_setdecode_boundfz_text_decoder_decode_size_getfz_text_decoder_decode_size_setdecode_sizefz_text_decoder_decode_getfz_text_decoder_decode_setr  fz_text_decoder_table1_getfz_text_decoder_table1_settable1fz_text_decoder_table2_getfz_text_decoder_table2_settable2rS   delete_fz_text_decoderr   r$   r#   r   r  r  	  s    -/IOdeGHFCCVElElmL6AA6CiCijKf779Z9Z[Ff779Z9Z[Ff779Z9Z[FL44r#   r  c                   x   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Z eej<                  ej>                        Z  eejB                  ejD                        Z# eejH                  ejJ                        Z& eejN                  ejP                        Z) eejT                  ejV                        Z, eejZ                  ej\                        Z/ eej`                  ejb                        Z2d Z3ejh                  Z5y)fz_font_flags_tz]
    Every fz_font carries a set of flags
    within it, in a fz_font_flags_t structure.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_font_flags_t.<lambda>	  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_font_flags_t.<lambda>	  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_font_flags_t_swiginitnew_fz_font_flags_trV   s    r   rS   zfz_font_flags_t.__init__	  r;  r#   N)6r   r   r6   r7   r   r   r   r   r   fz_font_flags_t_is_mono_getfz_font_flags_t_is_mono_setis_monofz_font_flags_t_is_serif_getfz_font_flags_t_is_serif_setis_seriffz_font_flags_t_is_bold_getfz_font_flags_t_is_bold_setis_boldfz_font_flags_t_is_italic_getfz_font_flags_t_is_italic_set	is_italic!fz_font_flags_t_ft_substitute_get!fz_font_flags_t_ft_substitute_setft_substitutefz_font_flags_t_ft_stretch_getfz_font_flags_t_ft_stretch_set
ft_stretchfz_font_flags_t_fake_bold_getfz_font_flags_t_fake_bold_set	fake_boldfz_font_flags_t_fake_italic_getfz_font_flags_t_fake_italic_setfake_italic fz_font_flags_t_has_opentype_get fz_font_flags_t_has_opentype_sethas_opentype fz_font_flags_t_invalid_bbox_get fz_font_flags_t_invalid_bbox_setinvalid_bboxfz_font_flags_t_cjk_getfz_font_flags_t_cjk_setcjkfz_font_flags_t_cjk_lang_getfz_font_flags_t_cjk_lang_setcjk_langfz_font_flags_t_embed_getfz_font_flags_t_embed_setembedfz_font_flags_t_never_embed_getfz_font_flags_t_never_embed_setnever_embedrS   delete_fz_font_flags_tr   r$   r#   r   r!  r!  	  s   
 -/IOdeGHv996;];]^G;;V=`=`aHv996;];]^G==v?c?cdIVEEvGoGopM&??AfAfgJ==v?c?cdI6AA6CiCijKFCCVElElmLFCCVElElmL
61163Q3Q
RC;;V=`=`aHV55v7W7WXE6AA6CiCijKL44r#   r!  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Zd Zej                   Zy)fz_shaper_data_ta  
    In order to shape a given font, we need to
    declare it to a shaper library (harfbuzz, by default, but others
    are possible). To avoid redeclaring it every time we need to
    shape, we hold a shaper handle and the destructor for it within
    the font itself. The handle is initialised by the caller when
    first required and the destructor is called when the fz_font is
    destroyed.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_shaper_data_t.<lambda>	  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_shaper_data_t.<lambda>	  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_shaper_data_t_swiginitnew_fz_shaper_data_trV   s    r   rS   zfz_shaper_data_t.__init__	  r  r#   N)r   r   r6   r7   r   r   r   r   r   "fz_shaper_data_t_shaper_handle_get"fz_shaper_data_t_shaper_handle_setshaper_handlefz_shaper_data_t_destroy_getfz_shaper_data_t_destroy_setdestroyrS   delete_fz_shaper_data_tr   r$   r#   r   rS  rS  	  sa     -/IOdeGHVFFHqHqrMv::F<_<_`GN55r#   rS  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z( eejR                  ejT                        Z+ eejX                  ejZ                        Z. eej^                  ej`                        Z1 eejd                  ejf                        Z4 eejj                  ejl                        Z7 eejp                  ejr                        Z: eejv                  ejx                        Z= eej|                  ej~                        Z@ eej                  ej                        ZC eej                  ej                        ZF eej                  ej                        ZI eej                  ej                        ZL eej                  ej                        ZO eej                  ej                        ZR eej                  ej                        ZU eej                  ej                        ZX eej                  ej                        Z[ eej                  ej                        Z^d Z_ej                  Zay)fz_fontc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_font.<lambda>	  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_font.<lambda>	  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_font_swiginitnew_fz_fontrV   s    r   rS   zfz_font.__init__	  r  r#   N)br   r   r6   r   r   r   r   r   fz_font_refs_getfz_font_refs_setr  fz_font_name_getfz_font_name_setr   fz_font_buffer_getfz_font_buffer_setr*  fz_font_flags_getfz_font_flags_setr"  fz_font_ft_face_getfz_font_ft_face_setft_facefz_font_shaper_data_getfz_font_shaper_data_setshaper_datafz_font_t3matrix_getfz_font_t3matrix_sett3matrixfz_font_t3resources_getfz_font_t3resources_sett3resourcesfz_font_t3procs_getfz_font_t3procs_sett3procsfz_font_t3lists_getfz_font_t3lists_sett3listsfz_font_t3widths_getfz_font_t3widths_sett3widthsfz_font_t3flags_getfz_font_t3flags_sett3flagsfz_font_t3doc_getfz_font_t3doc_sett3docfz_font_t3run_getfz_font_t3run_sett3runfz_font_t3freeres_getfz_font_t3freeres_set	t3freeresfz_font_bbox_getfz_font_bbox_setr  fz_font_ascender_getfz_font_ascender_setascenderfz_font_descender_getfz_font_descender_set	descenderfz_font_glyph_count_getfz_font_glyph_count_setglyph_countfz_font_bbox_table_getfz_font_bbox_table_set
bbox_tablefz_font_use_glyph_bbox_getfz_font_use_glyph_bbox_setuse_glyph_bboxfz_font_width_count_getfz_font_width_count_setwidth_countfz_font_width_default_getfz_font_width_default_setwidth_defaultfz_font_width_table_getfz_font_width_table_setwidth_tablefz_font_advance_cache_getfz_font_advance_cache_setadvance_cachefz_font_encoding_cache_getfz_font_encoding_cache_setencoding_cachefz_font_has_digest_getfz_font_has_digest_set
has_digestfz_font_digest_getfz_font_digest_setdigestfz_font_subfont_getfz_font_subfont_setsubfontrS   delete_fz_fontr   r$   r#   r   ra  ra  	  s   -/IOdeGHF++V-D-DEDF++V-D-DEDf//1J1JKFV--v/G/GHEv1163M3MNG6996;Y;YZK33V5P5PQH6996;Y;YZKv1163M3MNGv1163M3MNG33V5P5PQHv1163M3MNGV--v/G/GHEV--v/G/GHE55v7S7STIF++V-D-DED33V5P5PQH55v7S7STI6996;Y;YZK&779V9VWJf??AbAbcN6996;Y;YZKV==v?_?_`M6996;Y;YZKV==v?_?_`Mf??AbAbcN&779V9VWJf//1J1JKFv1163M3MNG<,,r#   ra  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z%d Z&ejN                  Z(y)fz_stroke_statec                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_stroke_state.<lambda>	
  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_stroke_state.<lambda>	
  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_stroke_state_swiginitnew_fz_stroke_staterV   s    r   rS   zfz_stroke_state.__init__
  r;  r#   N))r   r   r6   r   r   r   r   r   fz_stroke_state_refs_getfz_stroke_state_refs_setr  fz_stroke_state_start_cap_getfz_stroke_state_start_cap_set	start_capfz_stroke_state_dash_cap_getfz_stroke_state_dash_cap_setdash_capfz_stroke_state_end_cap_getfz_stroke_state_end_cap_setend_capfz_stroke_state_linejoin_getfz_stroke_state_linejoin_setlinejoinfz_stroke_state_linewidth_getfz_stroke_state_linewidth_set	linewidthfz_stroke_state_miterlimit_getfz_stroke_state_miterlimit_set
miterlimitfz_stroke_state_dash_phase_getfz_stroke_state_dash_phase_set
dash_phasefz_stroke_state_dash_len_getfz_stroke_state_dash_len_setdash_lenfz_stroke_state_dash_list_getfz_stroke_state_dash_list_set	dash_listrS   delete_fz_stroke_stater   r$   r#   r   r  r  
  s   -/IOdeGHF33V5T5TUD==v?c?cdI;;V=`=`aHv996;];]^G;;V=`=`aH==v?c?cdI&??AfAfgJ&??AfAfgJ;;V=`=`aH==v?c?cdIL44r#   r  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Zd Z ejB                  Z"y)fz_path_walkerc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_path_walker.<lambda>
  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_path_walker.<lambda>
  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_path_walker_swiginitnew_fz_path_walkerrV   s    r   rS   zfz_path_walker.__init__(
      &&tV-F-F-HIr#   N)#r   r   r6   r   r   r   r   r   fz_path_walker_moveto_getfz_path_walker_moveto_setmovetofz_path_walker_lineto_getfz_path_walker_lineto_setlinetofz_path_walker_curveto_getfz_path_walker_curveto_setcurvetofz_path_walker_closepath_getfz_path_walker_closepath_set	closepathfz_path_walker_quadto_getfz_path_walker_quadto_setquadtofz_path_walker_curvetov_getfz_path_walker_curvetov_setcurvetovfz_path_walker_curvetoy_getfz_path_walker_curvetoy_setcurvetoyfz_path_walker_rectto_getfz_path_walker_rectto_setrecttorS   delete_fz_path_walkerr   r$   r#   r   r  r  
  s    -/IOdeGHf668X8XYFf668X8XYFv88&:[:[\G<<f>a>abIf668X8XYF::F<^<^_H::F<^<^_Hf668X8XYFJ33r#   r  c                      e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Zd Zej8                  Zy)fz_text_itemaX  
    Text buffer.

    The trm field contains the a, b, c and d coefficients.
    The e and f coefficients come from the individual elements,
    together they form the transform matrix for the glyph.

    Glyphs are referenced by glyph ID.
    The Unicode text equivalent is kept in a separate array
    with indexes into the glyph array.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_text_item.<lambda>;
  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_text_item.<lambda>;
  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_text_item_swiginitnew_fz_text_itemrV   s    r   rS   zfz_text_item.__init__D
      $$T6+B+B+DEr#   N)r   r   r6   r7   r   r   r   r   r   fz_text_item_x_getfz_text_item_x_setrF   fz_text_item_y_getfz_text_item_y_setr  fz_text_item_adv_getfz_text_item_adv_setadvfz_text_item_gid_getfz_text_item_gid_setgidfz_text_item_ucs_getfz_text_item_ucs_setucsfz_text_item_cid_getfz_text_item_cid_setcidrS   delete_fz_text_itemr   r$   r#   r   r	  r	  .
  s    
 -/IOdeGH**F,E,EFA**F,E,EFA
6..0K0K
LC
6..0K0K
LC
6..0K0K
LC
6..0K0K
LCF11r#   r	  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z%d Z&ejN                  Z(y)fz_text_spanc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_text_span.<lambda>U
  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_text_span.<lambda>U
  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_text_span_swiginitnew_fz_text_spanrV   s    r   rS   zfz_text_span.__init__b
  r	  r#   N))r   r   r6   r   r   r   r   r   fz_text_span_font_getfz_text_span_font_setr  fz_text_span_trm_getfz_text_span_trm_settrmfz_text_span_wmode_getfz_text_span_wmode_setwmodefz_text_span_bidi_level_getfz_text_span_bidi_level_set
bidi_levelfz_text_span_markup_dir_getfz_text_span_markup_dir_set
markup_dirfz_text_span_language_getfz_text_span_language_setlanguagefz_text_span_len_getfz_text_span_len_setr  fz_text_span_cap_getfz_text_span_cap_setr  fz_text_span_items_getfz_text_span_items_setrz  fz_text_span_next_getfz_text_span_next_setro   rS   delete_fz_text_spanr   r$   r#   r   r	  r	  T
  s   -/IOdeGHF00&2N2NOD
6..0K0K
LCV22F4Q4QRE&<<f>`>`aJ&<<f>`>`aJ88&:Z:Z[H
6..0K0K
LC
6..0K0K
LCV22F4Q4QREF00&2N2NODF11r#   r	  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Zd Zej$                  Zy)fz_textc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_text.<lambda>i
  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_text.<lambda>i
  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_text_swiginitnew_fz_textrV   s    r   rS   zfz_text.__init__o
  r  r#   N)r   r   r6   r   r   r   r   r   fz_text_refs_getfz_text_refs_setr  fz_text_head_getfz_text_head_setheadfz_text_tail_getfz_text_tail_settailrS   delete_fz_textr   r$   r#   r   r;	  r;	  h
  sq    -/IOdeGHF++V-D-DEDF++V-D-DEDF++V-D-DED<,,r#   r;	  c                   j   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Zd Zej0                  Zy)fz_functionc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_function.<lambda>
  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_function.<lambda>
  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_function_swiginitnew_fz_functionrV   s    r   rS   zfz_function.__init__
  r  r#   N)r   r   r6   r   r   r   r   r   fz_function_storable_getfz_function_storable_setr  fz_function_size_getfz_function_size_setr   fz_function_m_getfz_function_m_setmfz_function_n_getfz_function_n_setr[   fz_function_eval_getfz_function_eval_setevalrS   delete_fz_functionr   r$   r#   r   rK	  rK	  
  s    -/IOdeGH779X9XYHF//1L1LMD))6+C+CDA))6+C+CDAF//1L1LMDD00r#   rK	  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Zd Zej&                  Zy)fz_device_container_stackaZ  
    The device structure is public to allow devices to be
    implemented outside of fitz.

    Device methods should always be called using e.g.
    fz_fill_path(ctx, dev, ...) rather than
    dev->fill_path(ctx, dev, ...)

    Devices can keep track of containers (clips/masks/groups/tiles)
    as they go to save callers having to do it.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   z"fz_device_container_stack.<lambda>
  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z"fz_device_container_stack.<lambda>
  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   "fz_device_container_stack_swiginitnew_fz_device_container_stackrV   s    r   rS   z"fz_device_container_stack.__init__
      11$8\8\8^_r#   N)r   r   r6   r7   r   r   r   r   r   %fz_device_container_stack_scissor_get%fz_device_container_stack_scissor_setscissor"fz_device_container_stack_type_get"fz_device_container_stack_type_setr   "fz_device_container_stack_user_get"fz_device_container_stack_user_setr  rS    delete_fz_device_container_stackr   r$   r#   r   r_	  r_	  
  sy    
 -/IOdeGHvCCVEqEqrGF==v?h?hiDF==v?h?hiD`>>r#   r_	  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z( eejR                  ejT                        Z+ eejX                  ejZ                        Z. eej^                  ej`                        Z1 eejd                  ejf                        Z4 eejj                  ejl                        Z7 eejp                  ejr                        Z: eejv                  ejx                        Z= eej|                  ej~                        Z@ eej                  ej                        ZC eej                  ej                        ZF eej                  ej                        ZI eej                  ej                        ZL eej                  ej                        ZO eej                  ej                        ZR eej                  ej                        ZU eej                  ej                        ZX eej                  ej                        Z[ eej                  ej                        Z^ eej                  ej                        Za eej                  ej                        Zd eej                  ej                        Zg eej                  ej                        Zj eej                  ej                        Zm eej                  ej                        Zp eej                  ej                        Zs eej                  ej                        Zvd Zwej                  Zyy)	fz_devicec                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_device.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_device.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_device_swiginitnew_fz_devicerV   s    r   rS   zfz_device.__init__*  r  r#   N)zr   r   r6   r   r   r   r   r   fz_device_refs_getfz_device_refs_setr  fz_device_hints_getfz_device_hints_sethintsfz_device_flags_getfz_device_flags_setr"  fz_device_close_device_getfz_device_close_device_setclose_devicefz_device_drop_device_getfz_device_drop_device_setdrop_devicefz_device_fill_path_getfz_device_fill_path_set	fill_pathfz_device_stroke_path_getfz_device_stroke_path_setstroke_pathfz_device_clip_path_getfz_device_clip_path_set	clip_pathfz_device_clip_stroke_path_getfz_device_clip_stroke_path_setclip_stroke_pathfz_device_fill_text_getfz_device_fill_text_set	fill_textfz_device_stroke_text_getfz_device_stroke_text_setstroke_textfz_device_clip_text_getfz_device_clip_text_set	clip_textfz_device_clip_stroke_text_getfz_device_clip_stroke_text_setclip_stroke_textfz_device_ignore_text_getfz_device_ignore_text_setignore_textfz_device_fill_shade_getfz_device_fill_shade_set
fill_shadefz_device_fill_image_getfz_device_fill_image_set
fill_imagefz_device_fill_image_mask_getfz_device_fill_image_mask_setfill_image_maskfz_device_clip_image_mask_getfz_device_clip_image_mask_setclip_image_maskfz_device_pop_clip_getfz_device_pop_clip_setpop_clipfz_device_begin_mask_getfz_device_begin_mask_set
begin_maskfz_device_end_mask_getfz_device_end_mask_setend_maskfz_device_begin_group_getfz_device_begin_group_setbegin_groupfz_device_end_group_getfz_device_end_group_set	end_groupfz_device_begin_tile_getfz_device_begin_tile_set
begin_tilefz_device_end_tile_getfz_device_end_tile_setend_tilefz_device_render_flags_getfz_device_render_flags_setrender_flags%fz_device_set_default_colorspaces_get%fz_device_set_default_colorspaces_setset_default_colorspacesfz_device_begin_layer_getfz_device_begin_layer_setbegin_layerfz_device_end_layer_getfz_device_end_layer_set	end_layerfz_device_begin_structure_getfz_device_begin_structure_setbegin_structurefz_device_end_structure_getfz_device_end_structure_setend_structurefz_device_begin_metatext_getfz_device_begin_metatext_setbegin_metatextfz_device_end_metatext_getfz_device_end_metatext_setend_metatextfz_device_d1_rect_getfz_device_d1_rect_setd1_rectfz_device_container_len_getfz_device_container_len_setcontainer_lenfz_device_container_cap_getfz_device_container_cap_setcontainer_capfz_device_container_getfz_device_container_set	containerrS   delete_fz_devicer   r$   r#   r   ro	  ro	    s   -/IOdeGHF--v/H/HIDV//1K1KLEV//1K1KLEF==v?`?`aL6;;V=]=]^K779W9WXI6;;V=]=]^K779W9WXI E EvGlGlm779W9WXI6;;V=]=]^K779W9WXI E EvGlGlm6;;V=]=]^K&996;Z;Z[J&996;Z;Z[JvCCVEiEijOvCCVEiEijO55v7T7TUH&996;Z;Z[J55v7T7TUH6;;V=]=]^K779W9WXI&996;Z;Z[J55v7T7TUHF==v?`?`aL&v'S'SU[  VB  VB  C6;;V=]=]^K779W9WXIvCCVEiEijOV??AcAcdMfAA6CfCfgNF==v?`?`aLv33V5Q5QRGV??AcAcdMV??AcAcdM779W9WXI@..r#   ro	  c                   n   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Zd Zej2                  Zy)	fz_cookiea  
    Cookie support - simple communication channel between app/library.

    Provide two-way communication between application and library.
    Intended for multi-threaded applications where one thread is
    rendering pages and another thread wants to read progress
    feedback or abort a job that takes a long time to finish. The
    communication is unsynchronized without locking.

    abort: The application should set this field to 0 before
    calling fz_run_page to render a page. At any point when the
    page is being rendered the application my set this field to 1
    which will cause the rendering to finish soon. This field is
    checked periodically when the page is rendered, but exactly
    when is not known, therefore there is no upper bound on
    exactly when the rendering will abort. If the application
    did not provide a set of locks to fz_new_context, it must also
    await the completion of fz_run_page before issuing another
    call to fz_run_page. Note that once the application has set
    this field to 1 after it called fz_run_page it may not change
    the value again.

    progress: Communicates rendering progress back to the
    application and is read only. Increments as a page is being
    rendered. The value starts out at 0 and is limited to less
    than or equal to progress_max, unless progress_max is -1.

    progress_max: Communicates the known upper bound of rendering
    back to the application and is read only. The maximum value
    that the progress field may take. If there is no known upper
    bound on how long the rendering may take this value is -1 and
    progress is not limited. Note that the value of progress_max
    may change from -1 to a positive value once an upper bound is
    known, so take this into consideration when comparing the
    value of progress to that of progress_max.

    errors: count of errors during current rendering.

    incomplete: Initially should be set to 0. Will be set to
    non-zero if a TRYLATER error is thrown during rendering.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_cookie.<lambda>^  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_cookie.<lambda>^  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_cookie_swiginitnew_fz_cookierV   s    r   rS   zfz_cookie.__init__f  r  r#   N)r   r   r6   r7   r   r   r   r   r   fz_cookie_abort_getfz_cookie_abort_setabortfz_cookie_progress_getfz_cookie_progress_setprogressfz_cookie_progress_max_getfz_cookie_progress_max_setprogress_maxfz_cookie_errors_getfz_cookie_errors_seterrorsfz_cookie_incomplete_getfz_cookie_incomplete_set
incompleterS   delete_fz_cookier   r$   r#   r   r	  r	  3  s    (T -/IOdeGHV//1K1KLE55v7T7TUHF==v?`?`aLf1163N3NOF&996;Z;Z[J@..r#   r	  c                   V   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Z eej<                  ej>                        Z  eejB                  ejD                        Z#d Z$ejJ                  Z&y)fz_draw_optionszT
    struct fz_draw_options: Options for creating a pixmap and draw
    device.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_draw_options.<lambda>t  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_draw_options.<lambda>t  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_draw_options_swiginitnew_fz_draw_optionsrV   s    r   rS   zfz_draw_options.__init__  r;  r#   N)'r   r   r6   r7   r   r   r   r   r   fz_draw_options_rotate_getfz_draw_options_rotate_setrotate fz_draw_options_x_resolution_get fz_draw_options_x_resolution_setx_resolution fz_draw_options_y_resolution_get fz_draw_options_y_resolution_sety_resolutionfz_draw_options_width_getfz_draw_options_width_setwidthfz_draw_options_height_getfz_draw_options_height_setheightfz_draw_options_colorspace_getfz_draw_options_colorspace_setr  fz_draw_options_alpha_getfz_draw_options_alpha_setrA  fz_draw_options_graphics_getfz_draw_options_graphics_setgraphicsfz_draw_options_text_getfz_draw_options_text_settextrS   delete_fz_draw_optionsr   r$   r#   r   r	  r	  n  s	   
 -/IOdeGHf779Z9Z[FFCCVElElmLFCCVElElmLV55v7W7WXEf779Z9Z[F&??AfAfgJV55v7W7WXE;;V=`=`aHF33V5T5TUDL44r#   r	  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Zd Zej                   Zy)fz_locationaH  
    Locations within the document are referred to in terms of
    chapter and page, rather than just a page number. For some
    documents (such as epub documents with large numbers of pages
    broken into many chapters) this can make navigation much faster
    as only the required chapter needs to be decoded at a time.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_location.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_location.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_location_swiginitnew_fz_locationrV   s    r   rS   zfz_location.__init__  r  r#   N)r   r   r6   r7   r   r   r   r   r   fz_location_chapter_getfz_location_chapter_setchapterfz_location_page_getfz_location_page_setpagerS   delete_fz_locationr   r$   r#   r   r
  r
    sa     -/IOdeGHv55v7U7UVGF//1L1LMDD00r#   r
  c                   4   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Zd Zej,                  Zy)fz_layout_charz?Simple text layout (for use with annotation editing primarily).c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_layout_char.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_layout_char.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_layout_char_swiginitnew_fz_layout_charrV   s    r   rS   zfz_layout_char.__init__  r  r#   N)r   r   r6   r7   r   r   r   r   r   fz_layout_char_x_getfz_layout_char_x_setrF   fz_layout_char_advance_getfz_layout_char_advance_setry   fz_layout_char_p_getfz_layout_char_p_setr  fz_layout_char_next_getfz_layout_char_next_setro   rS   delete_fz_layout_charr   r$   r#   r   r*
  r*
    s    J-/IOdeGH,,f.I.IJAv88&:[:[\G,,f.I.IJAF22F4R4RSDJ33r#   r*
  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Zd Zej6                  Zy)fz_layout_linec                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_layout_line.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_layout_line.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_layout_line_swiginitnew_fz_layout_linerV   s    r   rS   zfz_layout_line.__init__  r  r#   N)r   r   r6   r   r   r   r   r   fz_layout_line_x_getfz_layout_line_x_setrF   fz_layout_line_y_getfz_layout_line_y_setr  fz_layout_line_font_size_getfz_layout_line_font_size_set	font_sizefz_layout_line_p_getfz_layout_line_p_setr  fz_layout_line_text_getfz_layout_line_text_setr
  fz_layout_line_next_getfz_layout_line_next_setro   rS   delete_fz_layout_liner   r$   r#   r   r:
  r:
    s    -/IOdeGH,,f.I.IJA,,f.I.IJA<<f>a>abI,,f.I.IJAF22F4R4RSDF22F4R4RSDJ33r#   r:
  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Zd Zej6                  Zy)fz_layout_blockc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_layout_block.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_layout_block.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_layout_block_swiginitnew_fz_layout_blockrV   s    r   rS   zfz_layout_block.__init__  r;  r#   N)r   r   r6   r   r   r   r   r   fz_layout_block_pool_getfz_layout_block_pool_setpoolfz_layout_block_matrix_getfz_layout_block_matrix_setr  fz_layout_block_inv_matrix_getfz_layout_block_inv_matrix_set
inv_matrixfz_layout_block_head_getfz_layout_block_head_setrE	  fz_layout_block_tailp_getfz_layout_block_tailp_settailpfz_layout_block_text_tailp_getfz_layout_block_text_tailp_set
text_tailprS   delete_fz_layout_blockr   r$   r#   r   rO
  rO
    s    -/IOdeGHF33V5T5TUDf779Z9Z[F&??AfAfgJF33V5T5TUDV55v7W7WXE&??AfAfgJL44r#   rO
  c                   n   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Zd Zej2                  Zy)fz_stext_pagea  
    A note on stext's handling of structure.

    A PDF document can contain a structure tree. This gives the
    structure of a document in its entirety as a tree. e.g.

    Tree			MCID	INDEX
    -------------------------------------
    DOC			0	0
     TOC			1	0
      TOC_ITEM		2	0
      TOC_ITEM		3	1
      TOC_ITEM		4	2
      ...
     STORY			100	1
      SECTION		101	0
       HEADING		102	0
       SUBSECTION		103	1
        PARAGRAPH		104	0
        PARAGRAPH		105	1
        PARAGRAPH		106	2
       SUBSECTION		107	2
        PARAGRAPH		108	0
        PARAGRAPH		109	1
        PARAGRAPH		110	2
       ...
      SECTION		200	1
        ...

    Each different section of the tree is identified as part of an
    MCID by a number (this is a slight simplification, but makes the
    explanation easier).

    The PDF document contains markings that say "Entering MCID 0"
    and "Leaving MCID 0". Any content within that region is therefore
    identified as appearing in that particular structural region.

    This means that content can be sent in the document in a different
    order to which it appears 'logically' in the tree.

    MuPDF converts this tree form into a nested series of calls to
    begin_structure and end_structure.

    For instance, if the document started out with MCID 100, then
    we'd send:
    	begin_structure("DOC")
    	begin_structure("STORY")

    The problem with this is that if we send:
    	begin_structure("DOC")
    	begin_structure("STORY")
    	begin_structure("SECTION")
    	begin_structure("SUBSECTION")

    or
    	begin_structure("DOC")
    	begin_structure("STORY")
    	begin_structure("SECTION")
    	begin_structure("HEADING")

    How do I know what order the SECTION and HEADING should appear in?
    Are they even in the same STORY? Or the same DOC?

    Accordingly, every begin_structure is accompanied not only with the
    node type, but with an index. The index is the number of this node
    within this level of the tree. Hence:

    	begin_structure("DOC", 0)
    	begin_structure("STORY", 0)
    	begin_structure("SECTION", 0)
    	begin_structure("HEADING", 0)
    and
    	begin_structure("DOC", 0)
    	begin_structure("STORY", 0)
    	begin_structure("SECTION", 0)
    	begin_structure("SUBSECTION", 1)

    are now unambiguous in their describing of the tree.

    MuPDF automatically sends the minimal end_structure/begin_structure
    pairs to move us between nodes in the tree.

    In order to accomodate this information within the structured text
    data structures an additional block type is used. Previously a
    "page" was just a list of blocks, either text or images. e.g.

    [BLOCK:TEXT] <-> [BLOCK:IMG] <-> [BLOCK:TEXT] <-> [BLOCK:TEXT] ...

    We now introduce a new type of block, STRUCT, that turns this into
    a tree:

    [BLOCK:TEXT] <-> [BLOCK:STRUCT(IDX=0)] <-> [BLOCK:TEXT] <-> ...
                          /|
    [STRUCT:TYPE=DOC] <----
        |
    [BLOCK:TEXT] <-> [BLOCK:STRUCT(IDX=0)] <-> [BLOCK:TEXT] <-> ...
                          /|
    [STRUCT:TYPE=STORY] <--
        |
       ...

    Rather than doing a simple linear traversal of the list to extract
    the logical data, a caller now has to do a depth-first traversal.

    A text page is a list of blocks, together with an overall
    bounding box.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_stext_page.<lambda>E  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_stext_page.<lambda>E  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_stext_page_swiginitnew_fz_stext_pagerV   s    r   rS   zfz_stext_page.__init__M  rL  r#   N)r   r   r6   r7   r   r   r   r   r   fz_stext_page_pool_getfz_stext_page_pool_setrW
  fz_stext_page_mediabox_getfz_stext_page_mediabox_setmediaboxfz_stext_page_first_block_getfz_stext_page_first_block_setfirst_blockfz_stext_page_last_block_getfz_stext_page_last_block_set
last_blockfz_stext_page_last_struct_getfz_stext_page_last_struct_setlast_structrS   delete_fz_stext_pager   r$   r#   r   rg
  rg
    s    jX -/IOdeGHF1163P3PQD996;\;\]H6??AeAefK&==v?b?bcJ6??AeAefKH22r#   rg
  c                   4   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Zd Zej,                  Zy)fz_stext_blockz[
    A text block is a list of lines of text (typically a paragraph),
    or an image.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_stext_block.<lambda>^  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_stext_block.<lambda>^  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_stext_block_swiginitnew_fz_stext_blockrV   s    r   rS   zfz_stext_block.__init__e  r  r#   N)r   r   r6   r7   r   r   r   r   r   fz_stext_block_type_getfz_stext_block_type_setr   fz_stext_block_bbox_getfz_stext_block_bbox_setr  fz_stext_block_prev_getfz_stext_block_prev_setprevfz_stext_block_next_getfz_stext_block_next_setro   rS   delete_fz_stext_blockr   r$   r#   r   r}
  r}
  X  s    
 -/IOdeGHF22F4R4RSDF22F4R4RSDF22F4R4RSDF22F4R4RSDJ33r#   r}
  c                      e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Zd Zej>                  Z y)fz_stext_linezAA text line is a list of characters that share a common baseline.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_stext_line.<lambda>n  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_stext_line.<lambda>n  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_stext_line_swiginitnew_fz_stext_linerV   s    r   rS   zfz_stext_line.__init__x  rL  r#   N)!r   r   r6   r7   r   r   r   r   r   fz_stext_line_wmode_getfz_stext_line_wmode_setr'	  fz_stext_line_dir_getfz_stext_line_dir_setdirfz_stext_line_bbox_getfz_stext_line_bbox_setr  fz_stext_line_first_char_getfz_stext_line_first_char_set
first_charfz_stext_line_last_char_getfz_stext_line_last_char_set	last_charfz_stext_line_prev_getfz_stext_line_prev_setr
  fz_stext_line_next_getfz_stext_line_next_setro   rS   delete_fz_stext_liner   r$   r#   r   r
  r
  k  s    L-/IOdeGHV33V5S5STE
6//1M1M
NCF1163P3PQD&==v?b?bcJ;;V=_=_`IF1163P3PQDF1163P3PQDH22r#   r
  c                   V   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Z eej<                  ej>                        Z  eejB                  ejD                        Z#d Z$ejJ                  Z&y)fz_stext_charzy
    A text char is a unicode character, the style in which is
    appears, and the point at which it is positioned.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_stext_char.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_stext_char.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_stext_char_swiginitnew_fz_stext_charrV   s    r   rS   zfz_stext_char.__init__  rL  r#   N)'r   r   r6   r7   r   r   r   r   r   fz_stext_char_c_getfz_stext_char_c_setr  fz_stext_char_bidi_getfz_stext_char_bidi_setbidifz_stext_char_flags_getfz_stext_char_flags_setr"  fz_stext_char_argb_getfz_stext_char_argb_setargbfz_stext_char_origin_getfz_stext_char_origin_setoriginfz_stext_char_quad_getfz_stext_char_quad_setquadfz_stext_char_size_getfz_stext_char_size_setr   fz_stext_char_font_getfz_stext_char_font_setr  fz_stext_char_next_getfz_stext_char_next_setro   rS   delete_fz_stext_charr   r$   r#   r   r
  r
  ~  s	   
 -/IOdeGH++V-G-GHAF1163P3PQDV33V5S5STEF1163P3PQDf55v7V7VWFF1163P3PQDF1163P3PQDF1163P3PQDF1163P3PQDH22r#   r
  c                      e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Zd Zej8                  Zy)fz_stext_structa{  
    When we are collecting the structure information from
    PDF structure trees/tags, we end up with a tree of
    nodes. The structure should be walked in depth-first
    traversal order to extract the content.

    An fz_stext_struct pointer can be NULL to indicate that
    we know there is a child there within the complete tree,
    but we don't know what it is yet.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_stext_struct.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_stext_struct.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_stext_struct_swiginitnew_fz_stext_structrV   s    r   rS   zfz_stext_struct.__init__  r;  r#   N)r   r   r6   r7   r   r   r   r   r   fz_stext_struct_up_getfz_stext_struct_up_setupfz_stext_struct_parent_getfz_stext_struct_parent_setparentfz_stext_struct_first_block_getfz_stext_struct_first_block_setrt
  fz_stext_struct_last_block_getfz_stext_struct_last_block_setrw
  fz_stext_struct_standard_getfz_stext_struct_standard_setstandardfz_stext_struct_raw_getfz_stext_struct_raw_setrawrS   delete_fz_stext_structr   r$   r#   r   r
  r
    s    	 -/IOdeGH	&//1N1N	OBf779Z9Z[F6AA6CiCijK&??AfAfgJ;;V=`=`aH
61163Q3Q
RCL44r#   r
  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)fz_stext_grid_positionsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z fz_stext_grid_positions.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z fz_stext_grid_positions.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r    fz_stext_grid_positions_swiginitnew_fz_stext_grid_positionsrV   s    r   rS   z fz_stext_grid_positions.__init__      //f6X6X6Z[r#   N)r   r   r6   r   r   r   r   r   fz_stext_grid_positions_len_getfz_stext_grid_positions_len_setr  +fz_stext_grid_positions_max_uncertainty_get+fz_stext_grid_positions_max_uncertainty_setmax_uncertaintyrS   delete_fz_stext_grid_positionsr   r$   r#   r   r
  r
    sf    -/IOdeGH
6996;a;a
bCvQQSY  TF  TF  GO\<<r#   r
  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Zd Zej                   Zy)fz_stext_optionsz%Options for creating structured text.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_stext_options.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_stext_options.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_stext_options_swiginitnew_fz_stext_optionsrV   s    r   rS   zfz_stext_options.__init__  r  r#   N)r   r   r6   r7   r   r   r   r   r   fz_stext_options_flags_getfz_stext_options_flags_setr"  fz_stext_options_scale_getfz_stext_options_scale_setrU  rS   delete_fz_stext_optionsr   r$   r#   r   r
  r
    s]    0-/IOdeGHV668Y8YZEV668Y8YZEN55r#   r
  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Zd Zej<                  Zy)fz_transitionc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_transition.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_transition.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_transition_swiginitnew_fz_transitionrV   s    r   rS   zfz_transition.__init__  rL  r#   N) r   r   r6   r   r   r   r   r   fz_transition_type_getfz_transition_type_setr   fz_transition_duration_getfz_transition_duration_setdurationfz_transition_vertical_getfz_transition_vertical_setverticalfz_transition_outwards_getfz_transition_outwards_setoutwardsfz_transition_direction_getfz_transition_direction_set	directionfz_transition_state0_getfz_transition_state0_setstate0fz_transition_state1_getfz_transition_state1_setstate1rS   delete_fz_transitionr   r$   r#   r   r
  r
    s    -/IOdeGHF1163P3PQD996;\;\]H996;\;\]H996;\;\]H;;V=_=_`If55v7V7VWFf55v7V7VWFH22r#   r
  c                      e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Zd Zej>                  Z y)fz_linka  
    fz_link is a list of interactive links on a page.

    There is no relation between the order of the links in the
    list and the order they appear on the page. The list of links
    for a given page can be obtained from fz_load_links.

    A link is reference counted. Dropping a reference to a link is
    done by calling fz_drop_link.

    rect: The hot zone. The area that can be clicked in
    untransformed coordinates.

    uri: Link destinations come in two forms: internal and external.
    Internal links refer to other pages in the same document.
    External links are URLs to other documents.

    next: A pointer to the next link on the same page.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_link.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_link.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_link_swiginitnew_fz_linkrV   s    r   rS   zfz_link.__init__  r  r#   N)!r   r   r6   r7   r   r   r   r   r   fz_link_refs_getfz_link_refs_setr  fz_link_next_getfz_link_next_setro   fz_link_rect_getfz_link_rect_setrectfz_link_uri_getfz_link_uri_seturifz_link_set_rect_fn_getfz_link_set_rect_fn_setset_rect_fnfz_link_set_uri_fn_getfz_link_set_uri_fn_set
set_uri_fnfz_link_drop_getfz_link_drop_setr  rS   delete_fz_linkr   r$   r#   r   r  r    s    ( -/IOdeGHF++V-D-DEDF++V-D-DEDF++V-D-DED
6))6+A+A
BC6996;Y;YZK&779V9VWJF++V-D-DED<,,r#   r  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Zd Zej<                  Zy)fz_link_destc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_link_dest.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_link_dest.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_link_dest_swiginitnew_fz_link_destrV   s    r   rS   zfz_link_dest.__init__)  r	  r#   N) r   r   r6   r   r   r   r   r   fz_link_dest_loc_getfz_link_dest_loc_setlocfz_link_dest_type_getfz_link_dest_type_setr   fz_link_dest_x_getfz_link_dest_x_setrF   fz_link_dest_y_getfz_link_dest_y_setr  fz_link_dest_w_getfz_link_dest_w_setr7  fz_link_dest_h_getfz_link_dest_h_setr:  fz_link_dest_zoom_getfz_link_dest_zoom_setzoomrS   delete_fz_link_destr   r$   r#   r   r-  r-    s    -/IOdeGH
6..0K0K
LCF00&2N2NOD**F,E,EFA**F,E,EFA**F,E,EFA**F,E,EFAF00&2N2NODF11r#   r-  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Zd Zej$                  Zy)fz_outline_itemc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_outline_item.<lambda>0  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_outline_item.<lambda>0  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_outline_item_swiginitnew_fz_outline_itemrV   s    r   rS   zfz_outline_item.__init__6  r;  r#   N)r   r   r6   r   r   r   r   r   fz_outline_item_title_getfz_outline_item_title_settitlefz_outline_item_uri_getfz_outline_item_uri_setr"  fz_outline_item_is_open_getfz_outline_item_is_open_setis_openrS   delete_fz_outline_itemr   r$   r#   r   rE  rE  /  sr    -/IOdeGHV55v7W7WXE
61163Q3Q
RCv996;];]^GL44r#   rE  c                   V   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Z eej<                  ej>                        Z  eejB                  ejD                        Z#d Z$ejJ                  Z&y)
fz_outlinea  
    Structure based API
    fz_outline is a tree of the outline of a document (also known
    as table of contents).

    title: Title of outline item using UTF-8 encoding. May be NULL
    if the outline item has no text string.

    uri: Destination in the document to be displayed when this
    outline item is activated. May be an internal or external
    link, or NULL if the outline item does not have a destination.

    page: The page number of an internal link, or -1 for external
    links or links with no destination.

    next: The next outline item at the same level as this outline
    item. May be NULL if no more outline items exist at this level.

    down: The outline items immediate children in the hierarchy.
    May be NULL if no children exist.

    is_open: If zero, the outline element is closed in the UI. If
    1, it should be open, showing any child elements. All other
    values reserved.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_outline.<lambda>W  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_outline.<lambda>W  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_outline_swiginitnew_fz_outlinerV   s    r   rS   zfz_outline.__init__c  rg  r#   N)'r   r   r6   r7   r   r   r   r   r   fz_outline_refs_getfz_outline_refs_setr  fz_outline_title_getfz_outline_title_setrM  fz_outline_uri_getfz_outline_uri_setr"  fz_outline_page_getfz_outline_page_setr'
  fz_outline_x_getfz_outline_x_setrF   fz_outline_y_getfz_outline_y_setr  fz_outline_next_getfz_outline_next_setro   fz_outline_down_getfz_outline_down_setdownfz_outline_is_open_getfz_outline_is_open_setrR  rS   delete_fz_outliner   r$   r#   r   rU  rU  <  s	   4 -/IOdeGHF..0J0JKDV00&2M2MNE
6,,f.G.G
HCF..0J0JKD((&*A*ABA((&*A*ABAF..0J0JKDF..0J0JKDv44f6S6STGB//r#   rU  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z%d Z&ejN                  Z(y)fz_outline_iteratorc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_outline_iterator.<lambda>j  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_outline_iterator.<lambda>j  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_outline_iterator_swiginitnew_fz_outline_iteratorrV   s    r   rS   zfz_outline_iterator.__init__w      ++D&2P2P2RSr#   N))r   r   r6   r   r   r   r   r   fz_outline_iterator_drop_getfz_outline_iterator_drop_setr  fz_outline_iterator_item_getfz_outline_iterator_item_setitemfz_outline_iterator_next_getfz_outline_iterator_next_setro   fz_outline_iterator_prev_getfz_outline_iterator_prev_setr
  fz_outline_iterator_up_getfz_outline_iterator_up_setr
  fz_outline_iterator_down_getfz_outline_iterator_down_setrk  fz_outline_iterator_insert_getfz_outline_iterator_insert_setr   fz_outline_iterator_update_getfz_outline_iterator_update_setupdatefz_outline_iterator__del_getfz_outline_iterator__del_set_delfz_outline_iterator_doc_getfz_outline_iterator_doc_setrO   rS   delete_fz_outline_iteratorr   r$   r#   r   rp  rp  i  s   -/IOdeGHF779\9\]DF779\9\]DF779\9\]DF779\9\]D	&33V5V5V	WBF779\9\]Df;;V=b=bcFf;;V=b=bcFF779\9\]D
655v7Y7Y
ZCT88r#   rp  c                      e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Z eej<                  ej>                        Z  eejB                  ejD                        Z# eejH                  ejJ                        Z& eejN                  ejP                        Z) eejT                  ejV                        Z, eejZ                  ej\                        Z/ eej`                  ejb                        Z2 eejf                  ejh                        Z5 eejl                  ejn                        Z8 eejr                  ejt                        Z; eejx                  ejz                        Z> eej~                  ej                        ZA eej                  ej                        ZD eej                  ej                        ZGd ZHej                  ZJy)fz_pagezu
    Structure definition is public so other classes can
    derive from it. Do not access the members directly.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_page.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_page.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_page_swiginitnew_fz_pagerV   s    r   rS   zfz_page.__init__  r  r#   N)Kr   r   r6   r7   r   r   r   r   r   fz_page_refs_getfz_page_refs_setr  fz_page_doc_getfz_page_doc_setrO   fz_page_chapter_getfz_page_chapter_setr$
  fz_page_number_getfz_page_number_setnumberfz_page_incomplete_getfz_page_incomplete_setr	  fz_page_in_doc_getfz_page_in_doc_setin_docfz_page_drop_page_getfz_page_drop_page_set	drop_pagefz_page_bound_page_getfz_page_bound_page_set
bound_pagefz_page_run_page_contents_getfz_page_run_page_contents_setrun_page_contentsfz_page_run_page_annots_getfz_page_run_page_annots_setrun_page_annotsfz_page_run_page_widgets_getfz_page_run_page_widgets_setrun_page_widgetsfz_page_load_links_getfz_page_load_links_set
load_linksfz_page_page_presentation_getfz_page_page_presentation_setpage_presentationfz_page_control_separation_getfz_page_control_separation_setcontrol_separationfz_page_separation_disabled_getfz_page_separation_disabled_setseparation_disabledfz_page_separations_getfz_page_separations_setseparationsfz_page_overprint_getfz_page_overprint_set	overprintfz_page_create_link_getfz_page_create_link_setcreate_linkfz_page_delete_link_getfz_page_delete_link_setdelete_linkfz_page_prev_getfz_page_prev_setr
  fz_page_next_getfz_page_next_setro   rS   delete_fz_pager   r$   r#   r   r  r    s-   
 -/IOdeGHF++V-D-DED
6))6+A+A
BCv1163M3MNGf//1J1JKF&779V9VWJf//1J1JKF55v7S7STI&779V9VWJ !E!EvGkGklvAA6CeCefO C CVEhEhi&779V9VWJ !E!EvGkGkl!&"G"GInIno"6#I#I6KqKqr6996;Y;YZK55v7S7STI6996;Y;YZK6996;Y;YZKF++V-D-DEDF++V-D-DED<,,r#   r  c                      e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Z eej<                  ej>                        Z  eejB                  ejD                        Z# eejH                  ejJ                        Z& eejN                  ejP                        Z) eejT                  ejV                        Z, eejZ                  ej\                        Z/ eej`                  ejb                        Z2 eejf                  ejh                        Z5 eejl                  ejn                        Z8 eejr                  ejt                        Z; eejx                  ejz                        Z> eej~                  ej                        ZA eej                  ej                        ZD eej                  ej                        ZG eej                  ej                        ZJ eej                  ej                        ZM eej                  ej                        ZP eej                  ej                        ZSd ZTej                  ZVy)fz_documentz
    Structure definition is public so other classes can
    derive from it. Callers should not access the members
    directly, though implementations will need initialize
    functions directly.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_document.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_document.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_document_swiginitnew_fz_documentrV   s    r   rS   zfz_document.__init__  r  r#   N)Wr   r   r6   r7   r   r   r   r   r   fz_document_refs_getfz_document_refs_setr  fz_document_drop_document_getfz_document_drop_document_setdrop_documentfz_document_needs_password_getfz_document_needs_password_setneeds_password%fz_document_authenticate_password_get%fz_document_authenticate_password_setauthenticate_passwordfz_document_has_permission_getfz_document_has_permission_sethas_permissionfz_document_load_outline_getfz_document_load_outline_setload_outline fz_document_outline_iterator_get fz_document_outline_iterator_setoutline_iteratorfz_document_layout_getfz_document_layout_setlayoutfz_document_make_bookmark_getfz_document_make_bookmark_setmake_bookmarkfz_document_lookup_bookmark_getfz_document_lookup_bookmark_setlookup_bookmark!fz_document_resolve_link_dest_get!fz_document_resolve_link_dest_setresolve_link_destfz_document_format_link_uri_getfz_document_format_link_uri_setformat_link_urifz_document_count_chapters_getfz_document_count_chapters_setcount_chaptersfz_document_count_pages_getfz_document_count_pages_setcount_pagesfz_document_load_page_getfz_document_load_page_set	load_pagefz_document_page_label_getfz_document_page_label_set
page_labelfz_document_lookup_metadata_getfz_document_lookup_metadata_setlookup_metadatafz_document_set_metadata_getfz_document_set_metadata_setset_metadata!fz_document_get_output_intent_get!fz_document_get_output_intent_setget_output_intent"fz_document_output_accelerator_get"fz_document_output_accelerator_setoutput_acceleratorfz_document_run_structure_getfz_document_run_structure_setrun_structurefz_document_as_pdf_getfz_document_as_pdf_setas_pdffz_document_did_layout_getfz_document_did_layout_set
did_layoutfz_document_is_reflowable_getfz_document_is_reflowable_setis_reflowablefz_document_open_getfz_document_open_setr  rS   delete_fz_documentr   r$   r#   r   r  r    s    -/IOdeGHF//1L1LMDVAA6CgCghMfCCVEjEjkN$V%Q%QSYSS  AfCCVEjEjkNF??AdAdeL G GIpIpqf33V5R5RSFVAA6CgCghMvEEvGmGmnO !I!I6KsKstvEEvGmGmnOfCCVEjEjkN6==v?a?abK996;[;[\I&;;V=^=^_JvEEvGmGmnOF??AdAdeL !I!I6KsKst!&"K"KVMvMvwVAA6CgCghMf33V5R5RSF&;;V=^=^_JVAA6CgCghMF//1L1LMDD00r#   r  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Zd Z ejB                  Z"y)fz_document_handlerc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_document_handler.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_document_handler.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_document_handler_swiginitnew_fz_document_handlerrV   s    r   rS   zfz_document_handler.__init__  rv  r#   N)#r   r   r6   r   r   r   r   r   !fz_document_handler_recognize_get!fz_document_handler_recognize_setr  fz_document_handler_open_getfz_document_handler_open_setr  "fz_document_handler_extensions_get"fz_document_handler_extensions_set
extensions!fz_document_handler_mimetypes_get!fz_document_handler_mimetypes_set	mimetypes)fz_document_handler_recognize_content_get)fz_document_handler_recognize_content_setrecognize_content!fz_document_handler_wants_dir_get!fz_document_handler_wants_dir_set	wants_dir"fz_document_handler_wants_file_get"fz_document_handler_wants_file_set
wants_filefz_document_handler_fin_getfz_document_handler_fin_setfinrS   delete_fz_document_handlerr   r$   r#   r   r"  r"    s    -/IOdeGHAA6CkCklIF779\9\]D&CCVEnEnoJAA6CkCklI !Q!QSY  TD  TD  EAA6CkCklI&CCVEnEnoJ
655v7Y7Y
ZCT88r#   r"  c                   n   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Zd Zej2                  Zy)fz_document_writerr  c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_document_writer.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_document_writer.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_document_writer_swiginitnew_fz_document_writerrV   s    r   rS   zfz_document_writer.__init__  r}  r#   N)r   r   r6   r7   r   r   r   r   r   !fz_document_writer_begin_page_get!fz_document_writer_begin_page_set
begin_pagefz_document_writer_end_page_getfz_document_writer_end_page_setend_page#fz_document_writer_close_writer_get#fz_document_writer_close_writer_setclose_writer"fz_document_writer_drop_writer_get"fz_document_writer_drop_writer_setdrop_writerfz_document_writer_dev_getfz_document_writer_dev_setdevrS   delete_fz_document_writerr   r$   r#   r   r@  r@    s    
 -/IOdeGH&BBFDlDlmJ>>@f@fgHFFFHrHrsL6DDfFoFopK
644f6W6W
XCR77r#   r@  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z( eejR                  ejT                        Z+ eejX                  ejZ                        Z. eej^                  ej`                        Z1 eejd                  ejf                        Z4 eejj                  ejl                        Z7d Z8ejr                  Z:y)fz_band_writerc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_band_writer.<lambda>#  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_band_writer.<lambda>#  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_band_writer_swiginitnew_fz_band_writerrV   s    r   rS   zfz_band_writer.__init__6  r  r#   N);r   r   r6   r   r   r   r   r   fz_band_writer_drop_getfz_band_writer_drop_setr  fz_band_writer_close_getfz_band_writer_close_setr  fz_band_writer_header_getfz_band_writer_header_setheaderfz_band_writer_band_getfz_band_writer_band_setbandfz_band_writer_trailer_getfz_band_writer_trailer_settrailerfz_band_writer_out_getfz_band_writer_out_setoutfz_band_writer_w_getfz_band_writer_w_setr7  fz_band_writer_h_getfz_band_writer_h_setr:  fz_band_writer_n_getfz_band_writer_n_setr[   fz_band_writer_s_getfz_band_writer_s_setr<  fz_band_writer_alpha_getfz_band_writer_alpha_setrA  fz_band_writer_xres_getfz_band_writer_xres_setrL  fz_band_writer_yres_getfz_band_writer_yres_setrO  fz_band_writer_pagenum_getfz_band_writer_pagenum_setpagenumfz_band_writer_line_getfz_band_writer_line_setlinefz_band_writer_seps_getfz_band_writer_seps_setrI  rS   delete_fz_band_writerr   r$   r#   r   rW  rW  "  s   -/IOdeGHF22F4R4RSDV44f6U6UVEf668X8XYFF22F4R4RSDv88&:[:[\G
600&2O2O
PC,,f.I.IJA,,f.I.IJA,,f.I.IJA,,f.I.IJAV44f6U6UVEF22F4R4RSDF22F4R4RSDv88&:[:[\GF22F4R4RSDF22F4R4RSDJ33r#   rW  c                   >   e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Z eej<                  ej>                        Z  eejB                  ejD                        Z# eejH                  ejJ                        Z& eejN                  ejP                        Z) eejT                  ejV                        Z, eejZ                  ej\                        Z/d Z0ejb                  Z2y)fz_pcl_optionsz
PCL outputc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_pcl_options.<lambda>?  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_pcl_options.<lambda>?  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_pcl_options_swiginitnew_fz_pcl_optionsrV   s    r   rS   zfz_pcl_options.__init__O  r  r#   N)3r   r   r6   r7   r   r   r   r   r   fz_pcl_options_features_getfz_pcl_options_features_setfeatures fz_pcl_options_odd_page_init_get fz_pcl_options_odd_page_init_setodd_page_init!fz_pcl_options_even_page_init_get!fz_pcl_options_even_page_init_seteven_page_initfz_pcl_options_tumble_getfz_pcl_options_tumble_settumblefz_pcl_options_duplex_set_getfz_pcl_options_duplex_set_set
duplex_setfz_pcl_options_duplex_getfz_pcl_options_duplex_setduplexfz_pcl_options_paper_size_getfz_pcl_options_paper_size_set
paper_size"fz_pcl_options_manual_feed_set_get"fz_pcl_options_manual_feed_set_setmanual_feed_setfz_pcl_options_manual_feed_getfz_pcl_options_manual_feed_setmanual_feed%fz_pcl_options_media_position_set_get%fz_pcl_options_media_position_set_setmedia_position_set!fz_pcl_options_media_position_get!fz_pcl_options_media_position_setmedia_positionfz_pcl_options_orientation_getfz_pcl_options_orientation_setr  fz_pcl_options_page_count_getfz_pcl_options_page_count_set
page_countrS   delete_fz_pcl_optionsr   r$   r#   r   r  r  <  sg   -/IOdeGH::F<^<^_HVDDfFmFmnMfFFHpHpqNf668X8XYF&>>@d@deJf668X8XYF&>>@d@deJvHH&JsJstO6@@&BgBghK!&"N"NPVP|P|}fFFHpHpqN6@@&BgBghK&>>@d@deJJ33r#   r  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Zd Zej&                  Zy)fz_pclm_optionszPCLm outputc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_pclm_options.<lambda>X  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_pclm_options.<lambda>X  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_pclm_options_swiginitnew_fz_pclm_optionsrV   s    r   rS   zfz_pclm_options.__init__^  r;  r#   N)r   r   r6   r7   r   r   r   r   r   fz_pclm_options_compress_getfz_pclm_options_compress_setcompress fz_pclm_options_strip_height_get fz_pclm_options_strip_height_setstrip_heightfz_pclm_options_page_count_getfz_pclm_options_page_count_setr  rS   delete_fz_pclm_optionsr   r$   r#   r   r  r  U  su    -/IOdeGH;;V=`=`aHFCCVElElmL&??AfAfgJL44r#   r  c                      e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Z eej<                  ej>                        Z d Z!ejD                  Z#y)fz_pdfocr_optionszPDFOCR outputc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_pdfocr_options.<lambda>g  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_pdfocr_options.<lambda>g  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_pdfocr_options_swiginitnew_fz_pdfocr_optionsrV   s    r   rS   zfz_pdfocr_options.__init__r      ))$0L0L0NOr#   N)$r   r   r6   r7   r   r   r   r   r   fz_pdfocr_options_compress_getfz_pdfocr_options_compress_setr  "fz_pdfocr_options_strip_height_get"fz_pdfocr_options_strip_height_setr  fz_pdfocr_options_language_getfz_pdfocr_options_language_setr0	  fz_pdfocr_options_datadir_getfz_pdfocr_options_datadir_setdatadir"fz_pdfocr_options_skew_correct_get"fz_pdfocr_options_skew_correct_setskew_correct fz_pdfocr_options_skew_angle_get fz_pdfocr_options_skew_angle_set
skew_angle!fz_pdfocr_options_skew_border_get!fz_pdfocr_options_skew_border_setskew_border fz_pdfocr_options_page_count_get fz_pdfocr_options_page_count_setr  rS   delete_fz_pdfocr_optionsr   r$   r#   r   r  r  d  s    -/IOdeGH==v?d?deHFEEvGpGpqL==v?d?deHv;;V=a=abGFEEvGpGpqL&AA6CjCjkJ6CCVEmEmnK&AA6CjCjkJP66r#   r  c                   N   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z( eejR                  ejT                        Z+ eejX                  ejZ                        Z. eej^                  ej`                        Z1 eejd                  ejf                        Z4 eejj                  ejl                        Z7 eejp                  ejr                        Z: eejv                  ejx                        Z= eej|                  ej~                        Z@ eej                  ej                        ZC eej                  ej                        ZF eej                  ej                        ZI eej                  ej                        ZL eej                  ej                        ZO eej                  ej                        ZR eej                  ej                        ZU eej                  ej                        ZX eej                  ej                        Z[ eej                  ej                        Z^ eej                  ej                        Za eej                  ej                        Zdd Zeej                  Zgy)fz_pwg_optionsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_pwg_options.<lambda>y  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_pwg_options.<lambda>y  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_pwg_options_swiginitnew_fz_pwg_optionsrV   s    r   rS   zfz_pwg_options.__init__  r  r#   N)hr   r   r6   r   r   r   r   r   fz_pwg_options_media_class_getfz_pwg_options_media_class_setmedia_classfz_pwg_options_media_color_getfz_pwg_options_media_color_setmedia_colorfz_pwg_options_media_type_getfz_pwg_options_media_type_set
media_typefz_pwg_options_output_type_getfz_pwg_options_output_type_setoutput_type#fz_pwg_options_advance_distance_get#fz_pwg_options_advance_distance_setadvance_distance fz_pwg_options_advance_media_get fz_pwg_options_advance_media_setadvance_mediafz_pwg_options_collate_getfz_pwg_options_collate_setcollatefz_pwg_options_cut_media_getfz_pwg_options_cut_media_set	cut_mediafz_pwg_options_duplex_getfz_pwg_options_duplex_setr  fz_pwg_options_insert_sheet_getfz_pwg_options_insert_sheet_setinsert_sheetfz_pwg_options_jog_getfz_pwg_options_jog_setjogfz_pwg_options_leading_edge_getfz_pwg_options_leading_edge_setleading_edgefz_pwg_options_manual_feed_getfz_pwg_options_manual_feed_setr  !fz_pwg_options_media_position_get!fz_pwg_options_media_position_setr  fz_pwg_options_media_weight_getfz_pwg_options_media_weight_setmedia_weightfz_pwg_options_mirror_print_getfz_pwg_options_mirror_print_setmirror_print!fz_pwg_options_negative_print_get!fz_pwg_options_negative_print_setnegative_printfz_pwg_options_num_copies_getfz_pwg_options_num_copies_set
num_copiesfz_pwg_options_orientation_getfz_pwg_options_orientation_setr  !fz_pwg_options_output_face_up_get!fz_pwg_options_output_face_up_setoutput_face_upfz_pwg_options_PageSize_getfz_pwg_options_PageSize_setPageSizefz_pwg_options_separations_getfz_pwg_options_separations_setr  fz_pwg_options_tray_switch_getfz_pwg_options_tray_switch_settray_switchfz_pwg_options_tumble_getfz_pwg_options_tumble_setr  !fz_pwg_options_media_type_num_get!fz_pwg_options_media_type_num_setmedia_type_numfz_pwg_options_compression_getfz_pwg_options_compression_setcompressionfz_pwg_options_row_count_getfz_pwg_options_row_count_set	row_countfz_pwg_options_row_feed_getfz_pwg_options_row_feed_setrow_feedfz_pwg_options_row_step_getfz_pwg_options_row_step_setrow_step#fz_pwg_options_rendering_intent_get#fz_pwg_options_rendering_intent_setrendering_intent!fz_pwg_options_page_size_name_get!fz_pwg_options_page_size_name_setpage_size_namerS   delete_fz_pwg_optionsr   r$   r#   r   r  r  x  s   -/IOdeGH6@@&BgBghK6@@&BgBghK&>>@d@deJ6@@&BgBghK J JFLvLvwVDDfFmFmnMv88&:[:[\G<<f>a>abIf668X8XYFFBBFDjDjkL
600&2O2O
PCFBBFDjDjkL6@@&BgBghKfFFHpHpqNFBBFDjDjkLFBBFDjDjkLfFFHpHpqN&>>@d@deJ6@@&BgBghKfFFHpHpqN::F<^<^_H6@@&BgBghK6@@&BgBghKf668X8XYFfFFHpHpqN6@@&BgBghK<<f>a>abI::F<^<^_H::F<^<^_H J JFLvLvwfFFHpHpqNJ33r#   r  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Zd Z ejB                  Z"y)fz_story_element_positionc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z"fz_story_element_position.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z"fz_story_element_position.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   "fz_story_element_position_swiginitnew_fz_story_element_positionrV   s    r   rS   z"fz_story_element_position.__init__  re	  r#   N)#r   r   r6   r   r   r   r   r   #fz_story_element_position_depth_get#fz_story_element_position_depth_setdepth%fz_story_element_position_heading_get%fz_story_element_position_heading_setheading fz_story_element_position_id_get fz_story_element_position_id_setid"fz_story_element_position_href_get"fz_story_element_position_href_sethref"fz_story_element_position_rect_get"fz_story_element_position_rect_setr  "fz_story_element_position_text_get"fz_story_element_position_text_setr
  (fz_story_element_position_open_close_get(fz_story_element_position_open_close_set
open_close+fz_story_element_position_rectangle_num_get+fz_story_element_position_rectangle_num_setrectangle_numrS    delete_fz_story_element_positionr   r$   r#   r   r?  r?    s    -/IOdeGHV??AkAklEvCCVEqEqrG	&996;b;b	cBF==v?h?hiDF==v?h?hiDF==v?h?hiD&II6KzKz{JVOOQW  RD  RD  EM`>>r#   r?  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)fz_write_story_positionc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z fz_write_story_position.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z fz_write_story_position.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r    fz_write_story_position_swiginitnew_fz_write_story_positionrV   s    r   rS   z fz_write_story_position.__init__  r
  r#   N)r   r   r6   r   r   r   r   r   #fz_write_story_position_element_get#fz_write_story_position_element_setelement$fz_write_story_position_page_num_get$fz_write_story_position_page_num_setpage_numrS   delete_fz_write_story_positionr   r$   r#   r   r]  r]    sZ    -/IOdeGHvAA6CmCmnGCCVEpEpqH\<<r#   r]  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)fz_write_story_positionsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z!fz_write_story_positions.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z!fz_write_story_positions.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   !fz_write_story_positions_swiginitnew_fz_write_story_positionsrV   s    r   rS   z!fz_write_story_positions.__init__      00v7Z7Z7\]r#   N)r   r   r6   r   r   r   r   r   &fz_write_story_positions_positions_get&fz_write_story_positions_positions_set	positions fz_write_story_positions_num_get fz_write_story_positions_num_setnumrS   delete_fz_write_story_positionsr   r$   r#   r   rk  rk    sZ    -/IOdeGHFFHuHuvI
6::F<c<c
dC^==r#   rk  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)pdf_cycle_listc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_cycle_list.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_cycle_list.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_cycle_list_swiginitnew_pdf_cycle_listrV   s    r   rS   zpdf_cycle_list.__init__  r  r#   N)r   r   r6   r   r   r   r   r   pdf_cycle_list_up_getpdf_cycle_list_up_setr
  pdf_cycle_list_num_getpdf_cycle_list_num_setrw  rS   delete_pdf_cycle_listr   r$   r#   r   rz  rz    sZ    -/IOdeGH	&..0L0L	MB
600&2O2O
PCJ33r#   rz  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)pdf_mark_bitsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_mark_bits.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_mark_bits.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_mark_bits_swiginitnew_pdf_mark_bitsrV   s    r   rS   zpdf_mark_bits.__init__  rL  r#   N)r   r   r6   r   r   r   r   r   pdf_mark_bits_len_getpdf_mark_bits_len_setr  pdf_mark_bits_bits_getpdf_mark_bits_bits_setrX  rS   delete_pdf_mark_bitsr   r$   r#   r   r  r    sZ    -/IOdeGH
6//1M1M
NCF1163P3PQDH22r#   r  c                   0   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Zd Zej*                  Zy)pdf_mark_listc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_mark_list.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_mark_list.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_mark_list_swiginitnew_pdf_mark_listrV   s    r   rS   zpdf_mark_list.__init__  rL  r#   N)r   r   r6   r   r   r   r   r   pdf_mark_list_len_getpdf_mark_list_len_setr  pdf_mark_list_max_getpdf_mark_list_max_setmaxpdf_mark_list_list_getpdf_mark_list_list_setlistpdf_mark_list_local_list_getpdf_mark_list_local_list_set
local_listrS   delete_pdf_mark_listr   r$   r#   r   r  r    s    -/IOdeGH
6//1M1M
NC
6//1M1M
NCF1163P3PQD&==v?b?bcJH22r#   r  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Zd Zej<                  Zy)
pdf_lexbufc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_lexbuf.<lambda>P  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_lexbuf.<lambda>P  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_lexbuf_swiginitnew_pdf_lexbufrV   s    r   rS   zpdf_lexbuf.__init__Z  rg  r#   N) r   r   r6   r   r   r   r   r   pdf_lexbuf_size_getpdf_lexbuf_size_setr   pdf_lexbuf_base_size_getpdf_lexbuf_base_size_set	base_sizepdf_lexbuf_len_getpdf_lexbuf_len_setr  pdf_lexbuf_i_getpdf_lexbuf_i_setr   pdf_lexbuf_f_getpdf_lexbuf_f_setr  pdf_lexbuf_scratch_getpdf_lexbuf_scratch_setscratchpdf_lexbuf_buffer_getpdf_lexbuf_buffer_setr*  rS   delete_pdf_lexbufr   r$   r#   r   r  r  O  s    -/IOdeGHF..0J0JKD88&:Y:YZI
6,,f.G.G
HC((&*A*ABA((&*A*ABAv44f6S6STGf22F4P4PQFB//r#   r  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)pdf_lexbuf_largec                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_lexbuf_large.<lambda>a  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_lexbuf_large.<lambda>a  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_lexbuf_large_swiginitnew_pdf_lexbuf_largerV   s    r   rS   zpdf_lexbuf_large.__init__f  r  r#   N)r   r   r6   r   r   r   r   r   pdf_lexbuf_large_base_getpdf_lexbuf_large_base_setbasepdf_lexbuf_large_buffer_getpdf_lexbuf_large_buffer_setr*  rS   delete_pdf_lexbuf_larger   r$   r#   r   r  r  `  Z    -/IOdeGHF44f6V6VWDf88&:\:\]FN55r#   r  c                   j   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Zd Zej0                  Zy)pdf_js_consolec                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_js_console.<lambda>m  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_js_console.<lambda>m  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_js_console_swiginitnew_pdf_js_consolerV   s    r   rS   zpdf_js_console.__init__u  r  r#   N)r   r   r6   r   r   r   r   r   pdf_js_console_drop_getpdf_js_console_drop_setr  pdf_js_console_show_getpdf_js_console_show_setshowpdf_js_console_hide_getpdf_js_console_hide_sethidepdf_js_console_clear_getpdf_js_console_clear_setr   pdf_js_console_write_getpdf_js_console_write_setr  rS   delete_pdf_js_consoler   r$   r#   r   r  r  l  s    -/IOdeGHF22F4R4RSDF22F4R4RSDF22F4R4RSDV44f6U6UVEV44f6U6UVEJ33r#   r  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)pdf_layer_configc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_layer_config.<lambda>|  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_layer_config.<lambda>|  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_layer_config_swiginitnew_pdf_layer_configrV   s    r   rS   zpdf_layer_config.__init__  r  r#   N)r   r   r6   r   r   r   r   r   pdf_layer_config_name_getpdf_layer_config_name_setr   pdf_layer_config_creator_getpdf_layer_config_creator_setcreatorrS   delete_pdf_layer_configr   r$   r#   r   r  r  {  sZ    -/IOdeGHF44f6V6VWDv::F<_<_`GN55r#   r  c                   j   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Zd Zej0                  Zy)pdf_layer_config_uic                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_layer_config_ui.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_layer_config_ui.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_layer_config_ui_swiginitnew_pdf_layer_config_uirV   s    r   rS   zpdf_layer_config_ui.__init__  rv  r#   N)r   r   r6   r   r   r   r   r   pdf_layer_config_ui_text_getpdf_layer_config_ui_text_setr
  pdf_layer_config_ui_depth_getpdf_layer_config_ui_depth_setrG  pdf_layer_config_ui_type_getpdf_layer_config_ui_type_setr    pdf_layer_config_ui_selected_get pdf_layer_config_ui_selected_setselectedpdf_layer_config_ui_locked_getpdf_layer_config_ui_locked_setlockedrS   delete_pdf_layer_config_uir   r$   r#   r   r  r    s    -/IOdeGHF779\9\]DV996;_;_`EF779\9\]D??AhAhiHf;;V=b=bcFT88r#   r  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Zd Zej<                  Zy)pdf_unsaved_sigc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_unsaved_sig.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_unsaved_sig.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_unsaved_sig_swiginitnew_pdf_unsaved_sigrV   s    r   rS   zpdf_unsaved_sig.__init__  r;  r#   N) r   r   r6   r   r   r   r   r   pdf_unsaved_sig_field_getpdf_unsaved_sig_field_setfield$pdf_unsaved_sig_byte_range_start_get$pdf_unsaved_sig_byte_range_start_setbyte_range_start"pdf_unsaved_sig_byte_range_end_get"pdf_unsaved_sig_byte_range_end_setbyte_range_end"pdf_unsaved_sig_contents_start_get"pdf_unsaved_sig_contents_start_setcontents_start pdf_unsaved_sig_contents_end_get pdf_unsaved_sig_contents_end_setcontents_endpdf_unsaved_sig_signer_getpdf_unsaved_sig_signer_setsignerpdf_unsaved_sig_next_getpdf_unsaved_sig_next_setro   rS   delete_pdf_unsaved_sigr   r$   r#   r   r   r     s    -/IOdeGHV55v7W7WXE K KVMxMxyfGGIrIrsNfGGIrIrsNFCCVElElmLf779Z9Z[FF33V5T5TUDL44r#   r   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)pdf_rev_page_mapc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_rev_page_map.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_rev_page_map.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_rev_page_map_swiginitnew_pdf_rev_page_maprV   s    r   rS   zpdf_rev_page_map.__init__  r  r#   N)r   r   r6   r   r   r   r   r   pdf_rev_page_map_page_getpdf_rev_page_map_page_setr'
  pdf_rev_page_map_object_getpdf_rev_page_map_object_setobjectrS   delete_pdf_rev_page_mapr   r$   r#   r   r  r    r  r#   r  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Zd Zej$                  Zy)pdf_hint_pagec                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_hint_page.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_hint_page.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_hint_page_swiginitnew_pdf_hint_pagerV   s    r   rS   zpdf_hint_page.__init__  rL  r#   N)r   r   r6   r   r   r   r   r   pdf_hint_page_number_getpdf_hint_page_number_setr  pdf_hint_page_offset_getpdf_hint_page_offset_setrb  pdf_hint_page_index_getpdf_hint_page_index_setr   rS   delete_pdf_hint_pager   r$   r#   r   r)  r)    sr    -/IOdeGHf55v7V7VWFf55v7V7VWFV33V5S5STEH22r#   r)  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)pdf_hint_sharedc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_hint_shared.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_hint_shared.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_hint_shared_swiginitnew_pdf_hint_sharedrV   s    r   rS   zpdf_hint_shared.__init__  r;  r#   N)r   r   r6   r   r   r   r   r   pdf_hint_shared_number_getpdf_hint_shared_number_setr  pdf_hint_shared_offset_getpdf_hint_shared_offset_setrb  rS   delete_pdf_hint_sharedr   r$   r#   r   r7  r7    sZ    -/IOdeGHf779Z9Z[Ff779Z9Z[FL44r#   r7  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z( eejR                  ejT                        Z+ eejX                  ejZ                        Z. eej^                  ej`                        Z1 eejd                  ejf                        Z4 eejj                  ejl                        Z7 eejp                  ejr                        Z: eejv                  ejx                        Z= eej|                  ej~                        Z@ eej                  ej                        ZC eej                  ej                        ZF eej                  ej                        ZI eej                  ej                        ZL eej                  ej                        ZO eej                  ej                        ZR eej                  ej                        ZU eej                  ej                        ZX eej                  ej                        Z[ eej                  ej                        Z^ eej                  ej                        Za eej                  ej                        Zd eej                  ej                        Zg eej                  ej                        Zj eej                  ej                        Zm eej                  ej                        Zp eej                  ej                        Zs eej                  ej                        Zv eej                  ej                        Zy eej                  ej                        Z| eej                  ej                        Z eej                   ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Z eej<                  ej>                        Z eejB                  ejD                        Z eejH                  ejJ                        Z eejN                  ejP                        Z eejT                  ejV                        Z eejZ                  ej\                        Z eej`                  ejb                        Z eejf                  ejh                        Z eejl                  ejn                        Z eejr                  ejt                        Z eejx                  ejz                        Z eej~                  ej                        Z eej                  ej                        Zd Zej                  Zy)pdf_documentc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_document.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_document.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_document_swiginitnew_pdf_documentrV   s    r   rS   zpdf_document.__init__  r	  r#   N)r   r   r6   r   r   r   r   r   pdf_document_super_getpdf_document_super_setsuperpdf_document_file_getpdf_document_file_setr  pdf_document_version_getpdf_document_version_setversionpdf_document_is_fdf_getpdf_document_is_fdf_setis_fdfpdf_document_startxref_getpdf_document_startxref_set	startxrefpdf_document_file_size_getpdf_document_file_size_set	file_sizepdf_document_crypt_getpdf_document_crypt_setcryptpdf_document_ocg_getpdf_document_ocg_setocgpdf_document_oi_getpdf_document_oi_setr  pdf_document_max_xref_len_getpdf_document_max_xref_len_setmax_xref_len"pdf_document_num_xref_sections_get"pdf_document_num_xref_sections_setnum_xref_sections(pdf_document_saved_num_xref_sections_get(pdf_document_saved_num_xref_sections_setsaved_num_xref_sections)pdf_document_num_incremental_sections_get)pdf_document_num_incremental_sections_setnum_incremental_sectionspdf_document_xref_base_getpdf_document_xref_base_set	xref_base(pdf_document_disallow_new_increments_get(pdf_document_disallow_new_increments_setdisallow_new_incrementspdf_document_local_xref_getpdf_document_local_xref_set
local_xref#pdf_document_local_xref_nesting_get#pdf_document_local_xref_nesting_setlocal_xref_nestingpdf_document_xref_sections_getpdf_document_xref_sections_setxref_sections$pdf_document_saved_xref_sections_get$pdf_document_saved_xref_sections_setsaved_xref_sectionspdf_document_xref_index_getpdf_document_xref_index_set
xref_index!pdf_document_save_in_progress_get!pdf_document_save_in_progress_setsave_in_progress(pdf_document_last_xref_was_old_style_get(pdf_document_last_xref_was_old_style_setlast_xref_was_old_style)pdf_document_has_linearization_object_get)pdf_document_has_linearization_object_sethas_linearization_objectpdf_document_map_page_count_getpdf_document_map_page_count_setmap_page_countpdf_document_rev_page_map_getpdf_document_rev_page_map_setrev_page_mappdf_document_fwd_page_map_getpdf_document_fwd_page_map_setfwd_page_map!pdf_document_page_tree_broken_get!pdf_document_page_tree_broken_setpage_tree_broken!pdf_document_repair_attempted_get!pdf_document_repair_attempted_setrepair_attempted#pdf_document_repair_in_progress_get#pdf_document_repair_in_progress_setrepair_in_progress&pdf_document_non_structural_change_get&pdf_document_non_structural_change_setnon_structural_change&pdf_document_file_reading_linearly_get&pdf_document_file_reading_linearly_setfile_reading_linearlypdf_document_file_length_getpdf_document_file_length_setfile_length"pdf_document_linear_page_count_get"pdf_document_linear_page_count_setlinear_page_countpdf_document_linear_obj_getpdf_document_linear_obj_set
linear_obj!pdf_document_linear_page_refs_get!pdf_document_linear_page_refs_setlinear_page_refs%pdf_document_linear_page1_obj_num_get%pdf_document_linear_page1_obj_num_setlinear_page1_obj_numpdf_document_linear_pos_getpdf_document_linear_pos_set
linear_pos pdf_document_linear_page_num_get pdf_document_linear_page_num_setlinear_page_num#pdf_document_hint_object_offset_get#pdf_document_hint_object_offset_sethint_object_offset#pdf_document_hint_object_length_get#pdf_document_hint_object_length_sethint_object_lengthpdf_document_hints_loaded_getpdf_document_hints_loaded_sethints_loadedpdf_document_hint_page_getpdf_document_hint_page_set	hint_page pdf_document_hint_shared_ref_get pdf_document_hint_shared_ref_sethint_shared_refpdf_document_hint_shared_getpdf_document_hint_shared_sethint_shared%pdf_document_hint_obj_offsets_max_get%pdf_document_hint_obj_offsets_max_sethint_obj_offsets_max!pdf_document_hint_obj_offsets_get!pdf_document_hint_obj_offsets_sethint_obj_offsets$pdf_document_resources_localised_get$pdf_document_resources_localised_setresources_localisedpdf_document_lexbuf_getpdf_document_lexbuf_setlexbufpdf_document_js_getpdf_document_js_setjspdf_document_recalculate_getpdf_document_recalculate_setrecalculatepdf_document_redacted_getpdf_document_redacted_setredacted!pdf_document_resynth_required_get!pdf_document_resynth_required_setresynth_requiredpdf_document_event_cb_getpdf_document_event_cb_setevent_cb#pdf_document_free_event_data_cb_get#pdf_document_free_event_data_cb_setfree_event_data_cbpdf_document_event_cb_data_getpdf_document_event_cb_data_setevent_cb_data pdf_document_num_type3_fonts_get pdf_document_num_type3_fonts_setnum_type3_fonts pdf_document_max_type3_fonts_get pdf_document_max_type3_fonts_setmax_type3_fontspdf_document_type3_fonts_getpdf_document_type3_fonts_settype3_fontspdf_document_orphans_max_getpdf_document_orphans_max_setorphans_maxpdf_document_orphans_count_getpdf_document_orphans_count_setorphans_countpdf_document_orphans_getpdf_document_orphans_setorphanspdf_document_xfa_getpdf_document_xfa_setxfapdf_document_journal_getpdf_document_journal_setjournalrS   delete_pdf_documentr   r$   r#   r   rC  rC    s   -/IOdeGHV22F4Q4QREF00&2N2NODv668W8WXGf44f6T6TUF::F<]<]^I::F<]<]^IV22F4Q4QRE
6..0K0K
LC	&,,f.H.H	IBF@@&BfBfgL !J!JFLuLuv&v'V'VX^  YH  YH  I'(X(XZ`  [K  [K   L::F<]<]^I&v'V'VX^  YH  YH  I&<<f>`>`aJ!&"L"LfNxNxyVBBFDiDijM"6#N#NPVP{P{|&<<f>`>`aJ H H&JrJrs&v'V'VX^  YH  YH  I'(X(XZ`  [K  [K   LfDDfFlFlmNF@@&BfBfgLF@@&BfBfgL H H&JrJrs H H&JrJrs!&"L"LfNxNxy$V%R%RTZ  UB  UB  C$V%R%RTZ  UB  UB  C6>>@c@cdK !J!JFLuLuv&<<f>`>`aJ H H&JrJrs#F$P$PRXR~R~&<<f>`>`aJvFFHoHopO!&"L"LfNxNxy!&"L"LfNxNxyF@@&BfBfgL::F<]<]^IvFFHoHopO6>>@c@cdK#F$P$PRXR~R~ H H&JrJrs"6#N#NPVP{P{|f44f6T6TUF	&,,f.H.H	IB6>>@c@cdK88&:Z:Z[H H H&JrJrs88&:Z:Z[H!&"L"LfNxNxyVBBFDiDijMvFFHoHopOvFFHoHopO6>>@c@cdK6>>@c@cdKVBBFDiDijMv668W8WXG
6..0K0K
LCv668W8WXGF11r#   rC  c                   
   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z( eejR                  ejT                        Z+ eejX                  ejZ                        Z. eej^                  ej`                        Z1 eejd                  ejf                        Z4 eejj                  ejl                        Z7 eejp                  ejr                        Z: eejv                  ejx                        Z= eej|                  ej~                        Z@ eej                  ej                        ZC eej                  ej                        ZFd ZGej                  ZIy)pdf_write_optionsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_write_options.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_write_options.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_write_options_swiginitnew_pdf_write_optionsrV   s    r   rS   zpdf_write_options.__init__7  r  r#   N)Jr   r   r6   r   r   r   r   r   $pdf_write_options_do_incremental_get$pdf_write_options_do_incremental_setdo_incrementalpdf_write_options_do_pretty_getpdf_write_options_do_pretty_set	do_prettypdf_write_options_do_ascii_getpdf_write_options_do_ascii_setdo_ascii!pdf_write_options_do_compress_get!pdf_write_options_do_compress_setdo_compress(pdf_write_options_do_compress_images_get(pdf_write_options_do_compress_images_setdo_compress_images'pdf_write_options_do_compress_fonts_get'pdf_write_options_do_compress_fonts_setdo_compress_fonts#pdf_write_options_do_decompress_get#pdf_write_options_do_decompress_setdo_decompress pdf_write_options_do_garbage_get pdf_write_options_do_garbage_set
do_garbagepdf_write_options_do_linear_getpdf_write_options_do_linear_set	do_linearpdf_write_options_do_clean_getpdf_write_options_do_clean_setdo_clean!pdf_write_options_do_sanitize_get!pdf_write_options_do_sanitize_setdo_sanitize#pdf_write_options_do_appearance_get#pdf_write_options_do_appearance_setdo_appearance pdf_write_options_do_encrypt_get pdf_write_options_do_encrypt_set
do_encrypt(pdf_write_options_dont_regenerate_id_get(pdf_write_options_dont_regenerate_id_setdont_regenerate_id!pdf_write_options_permissions_get!pdf_write_options_permissions_setpermissionspdf_write_options_opwd_utf8_getpdf_write_options_opwd_utf8_set	opwd_utf8pdf_write_options_upwd_utf8_getpdf_write_options_upwd_utf8_set	upwd_utf8!pdf_write_options_do_snapshot_get!pdf_write_options_do_snapshot_setdo_snapshot*pdf_write_options_do_preserve_metadata_get*pdf_write_options_do_preserve_metadata_setdo_preserve_metadata$pdf_write_options_do_use_objstms_get$pdf_write_options_do_use_objstms_setdo_use_objstms(pdf_write_options_compression_effort_get(pdf_write_options_compression_effort_setcompression_effortrS   delete_pdf_write_optionsr   r$   r#   r   r  r    s[   -/IOdeGHfII6KvKvwN??AgAghI==v?d?deH6CCVEmEmnK!&"Q"QSY  TC  TC  D !O!OQWQQ  AVGGIsIstM&AA6CjCjkJ??AgAghI==v?d?deH6CCVEmEmnKVGGIsIstM&AA6CjCjkJ!&"Q"QSY  TC  TC  D6CCVEmEmnK??AgAghI??AgAghI6CCVEmEmnK#F$U$UW]  XI  XI  JfII6KvKvwN!&"Q"QSY  TC  TC  DP66r#   r  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Zd Z ejB                  Z"y)pdf_xref_entryc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_xref_entry.<lambda>X  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_xref_entry.<lambda>X  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_xref_entry_swiginitnew_pdf_xref_entryrV   s    r   rS   zpdf_xref_entry.__init__c  r  r#   N)#r   r   r6   r   r   r   r   r   pdf_xref_entry_type_getpdf_xref_entry_type_setr   pdf_xref_entry_marked_getpdf_xref_entry_marked_setmarkedpdf_xref_entry_gen_getpdf_xref_entry_gen_setgenpdf_xref_entry_num_getpdf_xref_entry_num_setrw  pdf_xref_entry_ofs_getpdf_xref_entry_ofs_setofspdf_xref_entry_stm_ofs_getpdf_xref_entry_stm_ofs_setstm_ofspdf_xref_entry_stm_buf_getpdf_xref_entry_stm_buf_setstm_bufpdf_xref_entry_obj_getpdf_xref_entry_obj_setobjrS   delete_pdf_xref_entryr   r$   r#   r   rM  rM  W  s    -/IOdeGHF22F4R4RSDf668X8XYF
600&2O2O
PC
600&2O2O
PC
600&2O2O
PCv88&:[:[\Gv88&:[:[\G
600&2O2O
PCJ33r#   rM  c                   0   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Zd Zej*                  Zy)pdf_xref_subsecc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_xref_subsec.<lambda>l  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_xref_subsec.<lambda>l  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_xref_subsec_swiginitnew_pdf_xref_subsecrV   s    r   rS   zpdf_xref_subsec.__init__s  r;  r#   N)r   r   r6   r   r   r   r   r   pdf_xref_subsec_next_getpdf_xref_subsec_next_setro   pdf_xref_subsec_len_getpdf_xref_subsec_len_setr  pdf_xref_subsec_start_getpdf_xref_subsec_start_setstartpdf_xref_subsec_table_getpdf_xref_subsec_table_settablerS   delete_pdf_xref_subsecr   r$   r#   r   rk  rk  k  s    -/IOdeGHF33V5T5TUD
61163Q3Q
RCV55v7W7WXEV55v7W7WXEL44r#   rk  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Zd Zej<                  Zy)pdf_xrefc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_xref.<lambda>z  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_xref.<lambda>z  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_xref_swiginitnew_pdf_xrefrV   s    r   rS   zpdf_xref.__init__  r  r#   N) r   r   r6   r   r   r   r   r   pdf_xref_num_objects_getpdf_xref_num_objects_setnum_objectspdf_xref_subsec_getpdf_xref_subsec_setsubsecpdf_xref_trailer_getpdf_xref_trailer_setri  pdf_xref_pre_repair_trailer_getpdf_xref_pre_repair_trailer_setpre_repair_trailerpdf_xref_unsaved_sigs_getpdf_xref_unsaved_sigs_setunsaved_sigspdf_xref_unsaved_sigs_end_getpdf_xref_unsaved_sigs_end_setunsaved_sigs_endpdf_xref_end_ofs_getpdf_xref_end_ofs_setend_ofsrS   delete_pdf_xrefr   r$   r#   r   r}  r}  y  s    -/IOdeGH6::F<[<[\Kf00&2L2LMFv22F4O4OPG!&"H"H&JpJpqF<<f>^>^_L D DfFjFjkv22F4O4OPG>--r#   r}  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Zd Zej$                  Zy)	pdf_rangec                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_range.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_range.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_range_swiginitnew_pdf_rangerV   s    r   rS   zpdf_range.__init__  r  r#   N)r   r   r6   r   r   r   r   r   pdf_range_low_getpdf_range_low_setlowpdf_range_high_getpdf_range_high_sethighpdf_range_out_getpdf_range_out_setrl  rS   delete_pdf_ranger   r$   r#   r   r  r    sr    -/IOdeGH
6++V-E-E
FCF--v/H/HID
6++V-E-E
FC@..r#   r  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Zd Zej$                  Zy)
pdf_xrangec                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_xrange.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_xrange.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_xrange_swiginitnew_pdf_xrangerV   s    r   rS   zpdf_xrange.__init__  rg  r#   N)r   r   r6   r   r   r   r   r   pdf_xrange_low_getpdf_xrange_low_setr  pdf_xrange_high_getpdf_xrange_high_setr  pdf_xrange_out_getpdf_xrange_out_setrl  rS   delete_pdf_xranger   r$   r#   r   r  r    sr    -/IOdeGH
6,,f.G.G
HCF..0J0JKD
6,,f.G.G
HCB//r#   r  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)
pdf_mrangec                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_mrange.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_mrange.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_mrange_swiginitnew_pdf_mrangerV   s    r   rS   zpdf_mrange.__init__  rg  r#   N)r   r   r6   r   r   r   r   r   pdf_mrange_low_getpdf_mrange_low_setr  pdf_mrange_out_getpdf_mrange_out_setrl  rS   delete_pdf_mranger   r$   r#   r   r  r    sZ    -/IOdeGH
6,,f.G.G
HC
6,,f.G.G
HCB//r#   r  c                   D   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z( eejR                  ejT                        Z+ eejX                  ejZ                        Z. eej^                  ej`                        Z1 eejd                  ejf                        Z4 eejj                  ejl                        Z7 eejp                  ejr                        Z: eejv                  ejx                        Z= eej|                  ej~                        Z@ eej                  ej                        ZC eej                  ej                        ZF eej                  ej                        ZId ZJej                  ZLy)pdf_cmapc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_cmap.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_cmap.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_cmap_swiginitnew_pdf_cmaprV   s    r   rS   zpdf_cmap.__init__  r  r#   N)Mr   r   r6   r   r   r   r   r   pdf_cmap_storable_getpdf_cmap_storable_setr  pdf_cmap_cmap_name_getpdf_cmap_cmap_name_set	cmap_namepdf_cmap_usecmap_name_getpdf_cmap_usecmap_name_setusecmap_namepdf_cmap_usecmap_getpdf_cmap_usecmap_setusecmappdf_cmap_wmode_getpdf_cmap_wmode_setr'	  pdf_cmap_codespace_len_getpdf_cmap_codespace_len_setcodespace_lenpdf_cmap_rlen_getpdf_cmap_rlen_setrlenpdf_cmap_rcap_getpdf_cmap_rcap_setrcappdf_cmap_ranges_getpdf_cmap_ranges_setrangespdf_cmap_xlen_getpdf_cmap_xlen_setxlenpdf_cmap_xcap_getpdf_cmap_xcap_setxcappdf_cmap_xranges_getpdf_cmap_xranges_setxrangespdf_cmap_mlen_getpdf_cmap_mlen_setmlenpdf_cmap_mcap_getpdf_cmap_mcap_setmcappdf_cmap_mranges_getpdf_cmap_mranges_setmrangespdf_cmap_dlen_getpdf_cmap_dlen_setdlenpdf_cmap_dcap_getpdf_cmap_dcap_setdcappdf_cmap_dict_getpdf_cmap_dict_setdictpdf_cmap_tlen_getpdf_cmap_tlen_settlenpdf_cmap_tcap_getpdf_cmap_tcap_settcappdf_cmap_ttop_getpdf_cmap_ttop_setttoppdf_cmap_tree_getpdf_cmap_tree_settreerS   delete_pdf_cmapr   r$   r#   r   r  r    s9   -/IOdeGH44f6R6RSH668U8UVIF<<f>^>^_Lv22F4O4OPGV..0I0IJEV>>@a@abMF,,f.F.FGDF,,f.F.FGDf00&2L2LMFF,,f.F.FGDF,,f.F.FGDv22F4O4OPGF,,f.F.FGDF,,f.F.FGDv22F4O4OPGF,,f.F.FGDF,,f.F.FGDF,,f.F.FGDF,,f.F.FGDF,,f.F.FGDF,,f.F.FGDF,,f.F.FGD>--r#   r  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Zd Zej$                  Zy)pdf_hmtxc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_hmtx.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_hmtx.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_hmtx_swiginitnew_pdf_hmtxrV   s    r   rS   zpdf_hmtx.__init__  r  r#   N)r   r   r6   r   r   r   r   r   pdf_hmtx_lo_getpdf_hmtx_lo_setr  pdf_hmtx_hi_getpdf_hmtx_hi_setr  pdf_hmtx_w_getpdf_hmtx_w_setr7  rS   delete_pdf_hmtxr   r$   r#   r   r  r    sq    -/IOdeGH	&((&*@*@	AB	&((&*@*@	AB&&(=(=>A>--r#   r  c                   j   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Zd Zej0                  Zy)pdf_vmtxc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_vmtx.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_vmtx.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_vmtx_swiginitnew_pdf_vmtxrV   s    r   rS   zpdf_vmtx.__init__  r  r#   N)r   r   r6   r   r   r   r   r   pdf_vmtx_lo_getpdf_vmtx_lo_setr  pdf_vmtx_hi_getpdf_vmtx_hi_setr  pdf_vmtx_x_getpdf_vmtx_x_setrF   pdf_vmtx_y_getpdf_vmtx_y_setr  pdf_vmtx_w_getpdf_vmtx_w_setr7  rS   delete_pdf_vmtxr   r$   r#   r   r  r    s    -/IOdeGH	&((&*@*@	AB	&((&*@*@	AB&&(=(=>A&&(=(=>A&&(=(=>A>--r#   r  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z( eejR                  ejT                        Z+ eejX                  ejZ                        Z. eej^                  ej`                        Z1 eejd                  ejf                        Z4 eejj                  ejl                        Z7 eejp                  ejr                        Z: eejv                  ejx                        Z= eej|                  ej~                        Z@ eej                  ej                        ZC eej                  ej                        ZF eej                  ej                        ZI eej                  ej                        ZL eej                  ej                        ZO eej                  ej                        ZR eej                  ej                        ZU eej                  ej                        ZX eej                  ej                        Z[d Z\ej                  Z^y)pdf_font_descc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_font_desc.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_font_desc.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_font_desc_swiginitnew_pdf_font_descrV   s    r   rS   zpdf_font_desc.__init__%  rL  r#   N)_r   r   r6   r   r   r   r   r   pdf_font_desc_storable_getpdf_font_desc_storable_setr  pdf_font_desc_size_getpdf_font_desc_size_setr   pdf_font_desc_font_getpdf_font_desc_font_setr  pdf_font_desc_flags_getpdf_font_desc_flags_setr"  pdf_font_desc_italic_angle_getpdf_font_desc_italic_angle_setitalic_anglepdf_font_desc_ascent_getpdf_font_desc_ascent_setascentpdf_font_desc_descent_getpdf_font_desc_descent_setdescentpdf_font_desc_cap_height_getpdf_font_desc_cap_height_set
cap_heightpdf_font_desc_x_height_getpdf_font_desc_x_height_setx_heightpdf_font_desc_missing_width_getpdf_font_desc_missing_width_setmissing_widthpdf_font_desc_encoding_getpdf_font_desc_encoding_setencodingpdf_font_desc_to_ttf_cmap_getpdf_font_desc_to_ttf_cmap_setto_ttf_cmap pdf_font_desc_cid_to_gid_len_get pdf_font_desc_cid_to_gid_len_setcid_to_gid_lenpdf_font_desc_cid_to_gid_getpdf_font_desc_cid_to_gid_set
cid_to_gidpdf_font_desc_to_unicode_getpdf_font_desc_to_unicode_set
to_unicode pdf_font_desc_cid_to_ucs_len_get pdf_font_desc_cid_to_ucs_len_setcid_to_ucs_lenpdf_font_desc_cid_to_ucs_getpdf_font_desc_cid_to_ucs_set
cid_to_ucspdf_font_desc_wmode_getpdf_font_desc_wmode_setr'	  pdf_font_desc_hmtx_len_getpdf_font_desc_hmtx_len_sethmtx_lenpdf_font_desc_hmtx_cap_getpdf_font_desc_hmtx_cap_sethmtx_cappdf_font_desc_dhmtx_getpdf_font_desc_dhmtx_setdhmtxpdf_font_desc_hmtx_getpdf_font_desc_hmtx_sethmtxpdf_font_desc_vmtx_len_getpdf_font_desc_vmtx_len_setvmtx_lenpdf_font_desc_vmtx_cap_getpdf_font_desc_vmtx_cap_setvmtx_cappdf_font_desc_dvmtx_getpdf_font_desc_dvmtx_setdvmtxpdf_font_desc_vmtx_getpdf_font_desc_vmtx_setvmtxpdf_font_desc_is_embedded_getpdf_font_desc_is_embedded_setis_embeddedpdf_font_desc_t3loading_getpdf_font_desc_t3loading_set	t3loadingrS   delete_pdf_font_descr   r$   r#   r   r+  r+    s   -/IOdeGH996;\;\]HF1163P3PQDF1163P3PQDV33V5S5STEFAA6ChChiLf55v7V7VWFv779Y9YZG&==v?b?bcJ996;\;\]HVCCVEkEklM996;\;\]H6??AeAefKfEEvGnGnoN&==v?b?bcJ&==v?b?bcJfEEvGnGnoN&==v?b?bcJV33V5S5STE996;\;\]H996;\;\]HV33V5S5STEF1163P3PQD996;\;\]H996;\;\]HV33V5S5STEF1163P3PQD6??AeAefK;;V=_=_`IH22r#   r+  c                   0   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Zd Zej*                  Zy)pdf_font_resource_keyc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_font_resource_key.<lambda>2  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_font_resource_key.<lambda>2  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_font_resource_key_swiginitnew_pdf_font_resource_keyrV   s    r   rS   zpdf_font_resource_key.__init__9  rn  r#   N)r   r   r6   r   r   r   r   r    pdf_font_resource_key_digest_get pdf_font_resource_key_digest_setr  pdf_font_resource_key_type_getpdf_font_resource_key_type_setr   "pdf_font_resource_key_encoding_get"pdf_font_resource_key_encoding_setrM  $pdf_font_resource_key_local_xref_get$pdf_font_resource_key_local_xref_setrv  rS   delete_pdf_font_resource_keyr   r$   r#   r   r  r  1  s    -/IOdeGHf==v?f?fgFF996;`;`aDAA6ClClmH&EEvGrGrsJX::r#   r  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z%d Z&ejN                  Z(y)pdf_patternc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_pattern.<lambda>@  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_pattern.<lambda>@  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_pattern_swiginitnew_pdf_patternrV   s    r   rS   zpdf_pattern.__init__M  r  r#   N))r   r   r6   r   r   r   r   r   pdf_pattern_storable_getpdf_pattern_storable_setr  pdf_pattern_ismask_getpdf_pattern_ismask_setismaskpdf_pattern_xstep_getpdf_pattern_xstep_setxsteppdf_pattern_ystep_getpdf_pattern_ystep_setysteppdf_pattern_matrix_getpdf_pattern_matrix_setr  pdf_pattern_bbox_getpdf_pattern_bbox_setr  pdf_pattern_document_getpdf_pattern_document_setdocumentpdf_pattern_resources_getpdf_pattern_resources_set	resourcespdf_pattern_contents_getpdf_pattern_contents_setcontentspdf_pattern_id_getpdf_pattern_id_setrM  rS   delete_pdf_patternr   r$   r#   r   r  r  ?  s   -/IOdeGH779X9XYHf33V5R5RSFV1163O3OPEV1163O3OPEf33V5R5RSFF//1L1LMD779X9XYH996;[;[\I779X9XYH	&++V-F-F	GBD00r#   r  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z( eejR                  ejT                        Z+ eejX                  ejZ                        Z. eej^                  ej`                        Z1 eejd                  ejf                        Z4 eejj                  ejl                        Z7 eejp                  ejr                        Z: eejv                  ejx                        Z= eej|                  ej~                        Z@ eej                  ej                        ZC eej                  ej                        ZF eej                  ej                        ZI eej                  ej                        ZL eej                  ej                        ZO eej                  ej                        ZR eej                  ej                        ZU eej                  ej                        ZX eej                  ej                        Z[ eej                  ej                        Z^ eej                  ej                        Za eej                  ej                        Zd eej                  ej                        Zg eej                  ej                        Zj eej                  ej                        Zm eej                  ej                        Zp eej                  ej                        Zs eej                  ej                        Zv eej                  ej                        Zy eej                  ej                        Z| eej                  ej                        Z eej                   ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Z eej<                  ej>                        Z eejB                  ejD                        Z eejH                  ejJ                        Z eejN                  ejP                        Z eejT                  ejV                        Z eejZ                  ej\                        Z eej`                  ejb                        Z eejf                  ejh                        Z eejl                  ejn                        Z eejr                  ejt                        Z eejx                  ejz                        Z eej~                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z eej                  ej                        Z  eej                  ej                        Z eej                  ej
                        Z eej                  ej                        Z	 eej                  ej                        Z eej                  ej                        Z eej                   ej"                        Z eej&                  ej(                        Z eej,                  ej.                        Z eej2                  ej4                        Z eej8                  ej:                        Z eej>                  ej@                        Z! eejD                  ejF                        Z$d Z%ejL                  Z'y)pdf_processorc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_processor.<lambda>U  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_processor.<lambda>U  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_processor_swiginitnew_pdf_processorrV   s    r   rS   zpdf_processor.__init__  rL  r#   N((  r   r   r6   r   r   r   r   r   pdf_processor_refs_getpdf_processor_refs_setr  pdf_processor_closed_getpdf_processor_closed_setr  !pdf_processor_close_processor_get!pdf_processor_close_processor_setclose_processor pdf_processor_drop_processor_get pdf_processor_drop_processor_setdrop_processor!pdf_processor_reset_processor_get!pdf_processor_reset_processor_setreset_processor pdf_processor_push_resources_get pdf_processor_push_resources_setpush_resourcespdf_processor_pop_resources_getpdf_processor_pop_resources_setpop_resourcespdf_processor_op_w_getpdf_processor_op_w_setop_wpdf_processor_op_j_getpdf_processor_op_j_setop_jpdf_processor_op_J_getpdf_processor_op_J_setop_Jpdf_processor_op_M_getpdf_processor_op_M_setop_Mpdf_processor_op_d_getpdf_processor_op_d_setop_dpdf_processor_op_ri_getpdf_processor_op_ri_setop_ripdf_processor_op_i_getpdf_processor_op_i_setop_ipdf_processor_op_gs_begin_getpdf_processor_op_gs_begin_setop_gs_beginpdf_processor_op_gs_BM_getpdf_processor_op_gs_BM_setop_gs_BMpdf_processor_op_gs_ca_getpdf_processor_op_gs_ca_setop_gs_capdf_processor_op_gs_CA_getpdf_processor_op_gs_CA_setop_gs_CApdf_processor_op_gs_SMask_getpdf_processor_op_gs_SMask_setop_gs_SMaskpdf_processor_op_gs_end_getpdf_processor_op_gs_end_set	op_gs_endpdf_processor_op_q_getpdf_processor_op_q_setop_qpdf_processor_op_Q_getpdf_processor_op_Q_setop_Qpdf_processor_op_cm_getpdf_processor_op_cm_setop_cmpdf_processor_op_m_getpdf_processor_op_m_setop_mpdf_processor_op_l_getpdf_processor_op_l_setop_lpdf_processor_op_c_getpdf_processor_op_c_setop_cpdf_processor_op_v_getpdf_processor_op_v_setop_vpdf_processor_op_y_getpdf_processor_op_y_setop_ypdf_processor_op_h_getpdf_processor_op_h_setop_hpdf_processor_op_re_getpdf_processor_op_re_setop_repdf_processor_op_S_getpdf_processor_op_S_setop_Spdf_processor_op_s_getpdf_processor_op_s_setop_spdf_processor_op_F_getpdf_processor_op_F_setop_Fpdf_processor_op_f_getpdf_processor_op_f_setop_fpdf_processor_op_fstar_getpdf_processor_op_fstar_setop_fstarpdf_processor_op_B_getpdf_processor_op_B_setop_Bpdf_processor_op_Bstar_getpdf_processor_op_Bstar_setop_Bstarpdf_processor_op_b_getpdf_processor_op_b_setop_bpdf_processor_op_bstar_getpdf_processor_op_bstar_setop_bstarpdf_processor_op_n_getpdf_processor_op_n_setop_npdf_processor_op_W_getpdf_processor_op_W_setop_Wpdf_processor_op_Wstar_getpdf_processor_op_Wstar_setop_Wstarpdf_processor_op_BT_getpdf_processor_op_BT_setop_BTpdf_processor_op_ET_getpdf_processor_op_ET_setop_ETpdf_processor_op_Tc_getpdf_processor_op_Tc_setop_Tcpdf_processor_op_Tw_getpdf_processor_op_Tw_setop_Twpdf_processor_op_Tz_getpdf_processor_op_Tz_setop_Tzpdf_processor_op_TL_getpdf_processor_op_TL_setop_TLpdf_processor_op_Tf_getpdf_processor_op_Tf_setop_Tfpdf_processor_op_Tr_getpdf_processor_op_Tr_setop_Trpdf_processor_op_Ts_getpdf_processor_op_Ts_setop_Tspdf_processor_op_Td_getpdf_processor_op_Td_setop_Tdpdf_processor_op_TD_getpdf_processor_op_TD_setop_TDpdf_processor_op_Tm_getpdf_processor_op_Tm_setop_Tmpdf_processor_op_Tstar_getpdf_processor_op_Tstar_setop_Tstarpdf_processor_op_TJ_getpdf_processor_op_TJ_setop_TJpdf_processor_op_Tj_getpdf_processor_op_Tj_setop_Tjpdf_processor_op_squote_getpdf_processor_op_squote_set	op_squotepdf_processor_op_dquote_getpdf_processor_op_dquote_set	op_dquotepdf_processor_op_d0_getpdf_processor_op_d0_setop_d0pdf_processor_op_d1_getpdf_processor_op_d1_setop_d1pdf_processor_op_CS_getpdf_processor_op_CS_setop_CSpdf_processor_op_cs_getpdf_processor_op_cs_setop_cspdf_processor_op_SC_pattern_getpdf_processor_op_SC_pattern_setop_SC_patternpdf_processor_op_sc_pattern_getpdf_processor_op_sc_pattern_setop_sc_patternpdf_processor_op_SC_shade_getpdf_processor_op_SC_shade_setop_SC_shadepdf_processor_op_sc_shade_getpdf_processor_op_sc_shade_setop_sc_shadepdf_processor_op_SC_color_getpdf_processor_op_SC_color_setop_SC_colorpdf_processor_op_sc_color_getpdf_processor_op_sc_color_setop_sc_colorpdf_processor_op_G_getpdf_processor_op_G_setop_Gpdf_processor_op_g_getpdf_processor_op_g_setop_gpdf_processor_op_RG_getpdf_processor_op_RG_setop_RGpdf_processor_op_rg_getpdf_processor_op_rg_setop_rgpdf_processor_op_K_getpdf_processor_op_K_setop_Kpdf_processor_op_k_getpdf_processor_op_k_setop_kpdf_processor_op_BI_getpdf_processor_op_BI_setop_BIpdf_processor_op_sh_getpdf_processor_op_sh_setop_shpdf_processor_op_Do_image_getpdf_processor_op_Do_image_setop_Do_imagepdf_processor_op_Do_form_getpdf_processor_op_Do_form_set
op_Do_formpdf_processor_op_MP_getpdf_processor_op_MP_setop_MPpdf_processor_op_DP_getpdf_processor_op_DP_setop_DPpdf_processor_op_BMC_getpdf_processor_op_BMC_setop_BMCpdf_processor_op_BDC_getpdf_processor_op_BDC_setop_BDCpdf_processor_op_EMC_getpdf_processor_op_EMC_setop_EMCpdf_processor_op_BX_getpdf_processor_op_BX_setop_BXpdf_processor_op_EX_getpdf_processor_op_EX_setop_EXpdf_processor_op_gs_OP_getpdf_processor_op_gs_OP_setop_gs_OPpdf_processor_op_gs_op_getpdf_processor_op_gs_op_setop_gs_oppdf_processor_op_gs_OPM_getpdf_processor_op_gs_OPM_set	op_gs_OPM&pdf_processor_op_gs_UseBlackPtComp_get&pdf_processor_op_gs_UseBlackPtComp_setop_gs_UseBlackPtComppdf_processor_op_EOD_getpdf_processor_op_EOD_setop_EODpdf_processor_op_END_getpdf_processor_op_END_setop_ENDpdf_processor_usage_getpdf_processor_usage_setusagepdf_processor_hidden_getpdf_processor_hidden_sethiddenpdf_processor_requirements_getpdf_processor_requirements_setrequirementsrS   delete_pdf_processorr   r$   r#   r   r  r  T  s	   -/IOdeGHF1163P3PQDf55v7V7VWFvGGIqIqrOfEEvGnGnoNvGGIqIqrOfEEvGnGnoNVCCVEkEklMF1163P3PQDF1163P3PQDF1163P3PQDF1163P3PQDF1163P3PQDV33V5S5STEF1163P3PQD6??AeAefK996;\;\]H996;\;\]H996;\;\]H6??AeAefK;;V=_=_`IF1163P3PQDF1163P3PQDV33V5S5STEF1163P3PQDF1163P3PQDF1163P3PQDF1163P3PQDF1163P3PQDF1163P3PQDV33V5S5STEF1163P3PQDF1163P3PQDF1163P3PQDF1163P3PQD996;\;\]HF1163P3PQD996;\;\]HF1163P3PQD996;\;\]HF1163P3PQDF1163P3PQD996;\;\]HV33V5S5STEV33V5S5STEV33V5S5STEV33V5S5STEV33V5S5STEV33V5S5STEV33V5S5STEV33V5S5STEV33V5S5STEV33V5S5STEV33V5S5STEV33V5S5STE996;\;\]HV33V5S5STEV33V5S5STE;;V=_=_`I;;V=_=_`IV33V5S5STEV33V5S5STEV33V5S5STEV33V5S5STEVCCVEkEklMVCCVEkEklM6??AeAefK6??AeAefK6??AeAefK6??AeAefKF1163P3PQDF1163P3PQDV33V5S5STEV33V5S5STEF1163P3PQDF1163P3PQDV33V5S5STEV33V5S5STE6??AeAefK&==v?b?bcJV33V5S5STEV33V5S5STEf55v7V7VWFf55v7V7VWFf55v7V7VWFV33V5S5STEV33V5S5STE996;\;\]H996;\;\]H;;V=_=_`I#F$Q$QSY  TA  TA  Bf55v7V7VWFf55v7V7VWFV33V5S5STEf55v7V7VWFFAA6ChChiLH22r#   r  c                   t   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z( eejR                  ejT                        Z+ eejX                  ejZ                        Z. eej^                  ej`                        Z1d Z2ejf                  Z4y)pdf_csic                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_csi.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_csi.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_csi_swiginitnew_pdf_csirV   s    r   rS   zpdf_csi.__init__  r  r#   N)5r   r   r6   r   r   r   r   r   pdf_csi_doc_getpdf_csi_doc_setrO   pdf_csi_rdb_getpdf_csi_rdb_setrdbpdf_csi_buf_getpdf_csi_buf_setrb  pdf_csi_cookie_getpdf_csi_cookie_setcookiepdf_csi_gstate_getpdf_csi_gstate_setgstatepdf_csi_xbalance_getpdf_csi_xbalance_setxbalancepdf_csi_in_text_getpdf_csi_in_text_setin_textpdf_csi_d1_rect_getpdf_csi_d1_rect_setr	  pdf_csi_obj_getpdf_csi_obj_setrh  pdf_csi_name_getpdf_csi_name_setr   pdf_csi_string_getpdf_csi_string_setstringpdf_csi_string_len_getpdf_csi_string_len_set
string_lenpdf_csi_top_getpdf_csi_top_setr  pdf_csi_stack_getpdf_csi_stack_setr  rS   delete_pdf_csir   r$   r#   r   r  r    sy   -/IOdeGH
6))6+A+A
BC
6))6+A+A
BC
6))6+A+A
BCf//1J1JKFf//1J1JKF33V5P5PQHv1163M3MNGv1163M3MNG
6))6+A+A
BCF++V-D-DEDf//1J1JKF&779V9VWJ
6))6+A+A
BCV--v/G/GHE<,,r#   r  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)pdf_filter_factoryc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_filter_factory.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_filter_factory.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_filter_factory_swiginitnew_pdf_filter_factoryrV   s    r   rS   zpdf_filter_factory.__init__  r}  r#   N)r   r   r6   r   r   r   r   r   pdf_filter_factory_filter_getpdf_filter_factory_filter_setfilterpdf_filter_factory_options_getpdf_filter_factory_options_setoptionsrS   delete_pdf_filter_factoryr   r$   r#   r   r  r    sZ    -/IOdeGHf::F<`<`aFv<<f>c>cdGR77r#   r  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Zd Z ejB                  Z"y)pdf_filter_optionsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_filter_options.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_filter_options.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_filter_options_swiginitnew_pdf_filter_optionsrV   s    r   rS   zpdf_filter_options.__init__  r}  r#   N)#r   r   r6   r   r   r   r   r   pdf_filter_options_recurse_getpdf_filter_options_recurse_setrecurse%pdf_filter_options_instance_forms_get%pdf_filter_options_instance_forms_setinstance_formspdf_filter_options_ascii_getpdf_filter_options_ascii_setascii pdf_filter_options_no_update_get pdf_filter_options_no_update_set	no_updatepdf_filter_options_opaque_getpdf_filter_options_opaque_setrt  pdf_filter_options_complete_getpdf_filter_options_complete_setcompletepdf_filter_options_filters_getpdf_filter_options_filters_setfilterspdf_filter_options_newlines_getpdf_filter_options_newlines_setnewlinesrS   delete_pdf_filter_optionsr   r$   r#   r   r  r    s    -/IOdeGHv<<f>c>cdGfJJFLxLxyNV88&:]:]^E@@&BiBijIf::F<`<`aF>>@f@fgHv<<f>c>cdG>>@f@fgHR77r#   r  c                   j   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Zd Zej0                  Zy)pdf_sanitize_filter_optionsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z$pdf_sanitize_filter_options.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z$pdf_sanitize_filter_options.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   $pdf_sanitize_filter_options_swiginitnew_pdf_sanitize_filter_optionsrV   s    r   rS   z$pdf_sanitize_filter_options.__init__      33D&:`:`:bcr#   N)r   r   r6   r   r   r   r   r   &pdf_sanitize_filter_options_opaque_get&pdf_sanitize_filter_options_opaque_setrt  ,pdf_sanitize_filter_options_image_filter_get,pdf_sanitize_filter_options_image_filter_setimage_filter+pdf_sanitize_filter_options_text_filter_get+pdf_sanitize_filter_options_text_filter_settext_filter1pdf_sanitize_filter_options_after_text_object_get1pdf_sanitize_filter_options_after_text_object_setafter_text_object&pdf_sanitize_filter_options_culler_get&pdf_sanitize_filter_options_culler_setcullerrS   "delete_pdf_sanitize_filter_optionsr   r$   r#   r   r/  r/    s    -/IOdeGHfCCVErErsFFOOQW  RE  RE  FL6MMv  PB  PB  CK !Y!Y[a  \T  \T  UfCCVErErsFd@@r#   r/  c                   j   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Zd Zej0                  Zy)pdf_color_filter_optionsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z!pdf_color_filter_options.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z!pdf_color_filter_options.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   !pdf_color_filter_options_swiginitnew_pdf_color_filter_optionsrV   s    r   rS   z!pdf_color_filter_options.__init__  rq  r#   N)r   r   r6   r   r   r   r   r   #pdf_color_filter_options_opaque_get#pdf_color_filter_options_opaque_setrt  *pdf_color_filter_options_color_rewrite_get*pdf_color_filter_options_color_rewrite_setcolor_rewrite*pdf_color_filter_options_image_rewrite_get*pdf_color_filter_options_image_rewrite_setimage_rewrite*pdf_color_filter_options_shade_rewrite_get*pdf_color_filter_options_shade_rewrite_setshade_rewrite3pdf_color_filter_options_repeated_image_rewrite_get3pdf_color_filter_options_repeated_image_rewrite_setrepeated_image_rewriterS   delete_pdf_color_filter_optionsr   r$   r#   r   rF  rF    s    -/IOdeGHf@@&BlBlmFVNNPV  QB  QB  CMVNNPV  QB  QB  CMVNNPV  QB  QB  CM%f&`&`bh  c]  c]  ^^==r#   rF  c                   R   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z"d Z#ejH                  Z%y)pdf_text_statec                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_text_state.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_text_state.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_text_state_swiginitnew_pdf_text_staterV   s    r   rS   zpdf_text_state.__init__)  r  r#   N)&r   r   r6   r   r   r   r   r   pdf_text_state_char_space_getpdf_text_state_char_space_set
char_spacepdf_text_state_word_space_getpdf_text_state_word_space_set
word_spacepdf_text_state_scale_getpdf_text_state_scale_setrU  pdf_text_state_leading_getpdf_text_state_leading_setleadingpdf_text_state_font_getpdf_text_state_font_setr  pdf_text_state_fontname_getpdf_text_state_fontname_setfontnamepdf_text_state_size_getpdf_text_state_size_setr   pdf_text_state_render_getpdf_text_state_render_setrenderpdf_text_state_rise_getpdf_text_state_rise_setriserS   delete_pdf_text_stater   r$   r#   r   r\  r\    s   -/IOdeGH&>>@d@deJ&>>@d@deJV44f6U6UVEv88&:[:[\GF22F4R4RSD::F<^<^_HF22F4R4RSDf668X8XYFF22F4R4RSDJ33r#   r\  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z(d Z)ejT                  Z+y)pdf_text_object_statec                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_text_object_state.<lambda>0  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_text_object_state.<lambda>0  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_text_object_state_swiginitnew_pdf_text_object_staterV   s    r   rS   zpdf_text_object_state.__init__>  rn  r#   N),r   r   r6   r   r   r   r   r   pdf_text_object_state_text_getpdf_text_object_state_text_setr
  #pdf_text_object_state_text_bbox_get#pdf_text_object_state_text_bbox_set	text_bboxpdf_text_object_state_tlm_getpdf_text_object_state_tlm_settlmpdf_text_object_state_tm_getpdf_text_object_state_tm_settm#pdf_text_object_state_text_mode_get#pdf_text_object_state_text_mode_set	text_modepdf_text_object_state_cid_getpdf_text_object_state_cid_setr	  pdf_text_object_state_gid_getpdf_text_object_state_gid_setr	  #pdf_text_object_state_char_bbox_get#pdf_text_object_state_char_bbox_set	char_bbox"pdf_text_object_state_fontdesc_get"pdf_text_object_state_fontdesc_setfontdesc!pdf_text_object_state_char_tx_get!pdf_text_object_state_char_tx_setchar_tx!pdf_text_object_state_char_ty_get!pdf_text_object_state_char_ty_setchar_tyrS   delete_pdf_text_object_stater   r$   r#   r   r|  r|  /  s2   -/IOdeGHF996;`;`aDCCVEoEopI
6779]9]
^C	&55v7Z7Z	[BCCVEoEopI
6779]9]
^C
6779]9]
^CCCVEoEopIAA6ClClmHv??AiAijGv??AiAijGX::r#   r|  c                   0   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Zd Zej*                  Zy)pdf_redact_optionsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_redact_options.<lambda>N  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_redact_options.<lambda>N  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_redact_options_swiginitnew_pdf_redact_optionsrV   s    r   rS   zpdf_redact_options.__init__U  r}  r#   N)r   r   r6   r   r   r   r   r   "pdf_redact_options_black_boxes_get"pdf_redact_options_black_boxes_setblack_boxes#pdf_redact_options_image_method_get#pdf_redact_options_image_method_setimage_methodpdf_redact_options_line_art_getpdf_redact_options_line_art_setline_artpdf_redact_options_text_getpdf_redact_options_text_setr
  rS   delete_pdf_redact_optionsr   r$   r#   r   r  r  M  s    -/IOdeGH6DDfFoFopKFFFHrHrsL>>@f@fgHF668Z8Z[DR77r#   r  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z%d Z&ejN                  Z(y)pdf_pagec                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_page.<lambda>\  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_page.<lambda>\  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_page_swiginitnew_pdf_pagerV   s    r   rS   zpdf_page.__init__i  r  r#   N))r   r   r6   r   r   r   r   r   pdf_page_super_getpdf_page_super_setrK  pdf_page_doc_getpdf_page_doc_setrO   pdf_page_obj_getpdf_page_obj_setrh  pdf_page_transparency_getpdf_page_transparency_settransparencypdf_page_overprint_getpdf_page_overprint_setr  pdf_page_links_getpdf_page_links_setlinkspdf_page_annots_getpdf_page_annots_setannotspdf_page_annot_tailp_getpdf_page_annot_tailp_setannot_tailppdf_page_widgets_getpdf_page_widgets_setwidgetspdf_page_widget_tailp_getpdf_page_widget_tailp_setwidget_tailprS   delete_pdf_pager   r$   r#   r   r  r  [  s   -/IOdeGHV..0I0IJE
6**F,C,C
DC
6**F,C,C
DCF<<f>^>^_L668U8UVIV..0I0IJEf00&2L2LMF6::F<[<[\Kv22F4O4OPGF<<f>^>^_L>--r#   r  c                   j   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Zd Zej0                  Zy)pdf_filespec_paramsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_filespec_params.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_filespec_params.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_filespec_params_swiginitnew_pdf_filespec_paramsrV   s    r   rS   zpdf_filespec_params.__init__  rv  r#   N)r   r   r6   r   r   r   r   r    pdf_filespec_params_filename_get pdf_filespec_params_filename_setfilename pdf_filespec_params_mimetype_get pdf_filespec_params_mimetype_setmimetypepdf_filespec_params_size_getpdf_filespec_params_size_setr   pdf_filespec_params_created_getpdf_filespec_params_created_setcreated pdf_filespec_params_modified_get pdf_filespec_params_modified_setmodifiedrS   delete_pdf_filespec_paramsr   r$   r#   r   r  r    s    -/IOdeGH??AhAhiH??AhAhiHF779\9\]Dv==v?e?efG??AhAhiHT88r#   r  c                   j   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Zd Zej0                  Zy)pdf_pkcs7_distinguished_namec                 6    | j                   j                         S r-   rD   rE   s    r   rG   z%pdf_pkcs7_distinguished_name.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z%pdf_pkcs7_distinguished_name.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   %pdf_pkcs7_distinguished_name_swiginit new_pdf_pkcs7_distinguished_namerV   s    r   rS   z%pdf_pkcs7_distinguished_name.__init__      44T6;b;b;der#   N)r   r   r6   r   r   r   r   r   #pdf_pkcs7_distinguished_name_cn_get#pdf_pkcs7_distinguished_name_cn_setcn"pdf_pkcs7_distinguished_name_o_get"pdf_pkcs7_distinguished_name_o_seto#pdf_pkcs7_distinguished_name_ou_get#pdf_pkcs7_distinguished_name_ou_setou&pdf_pkcs7_distinguished_name_email_get&pdf_pkcs7_distinguished_name_email_setemail"pdf_pkcs7_distinguished_name_c_get"pdf_pkcs7_distinguished_name_c_setr  rS   #delete_pdf_pkcs7_distinguished_namer   r$   r#   r   r  r    s    -/IOdeGH	&<<f>h>h	iB::F<e<efA	&<<f>h>h	iBVBBFDqDqrE::F<e<efAfAAr#   r  c                   j   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Zd Zej0                  Zy)pdf_pkcs7_signerc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_pkcs7_signer.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_pkcs7_signer.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_pkcs7_signer_swiginitnew_pdf_pkcs7_signerrV   s    r   rS   zpdf_pkcs7_signer.__init__  r  r#   N)r   r   r6   r   r   r   r   r   pdf_pkcs7_signer_keep_getpdf_pkcs7_signer_keep_setkeeppdf_pkcs7_signer_drop_getpdf_pkcs7_signer_drop_setr  %pdf_pkcs7_signer_get_signing_name_get%pdf_pkcs7_signer_get_signing_name_setget_signing_name$pdf_pkcs7_signer_max_digest_size_get$pdf_pkcs7_signer_max_digest_size_setmax_digest_size"pdf_pkcs7_signer_create_digest_get"pdf_pkcs7_signer_create_digest_setcreate_digestrS   delete_pdf_pkcs7_signerr   r$   r#   r   r  r    s    -/IOdeGHF44f6V6VWDF44f6V6VWD L LfNzNz{vJJFLwLwxOVFFHqHqrMN55r#   r  c                   0   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Zd Zej*                  Zy)pdf_pkcs7_verifierc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_pkcs7_verifier.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_pkcs7_verifier.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_pkcs7_verifier_swiginitnew_pdf_pkcs7_verifierrV   s    r   rS   zpdf_pkcs7_verifier.__init__  r}  r#   N)r   r   r6   r   r   r   r   r   pdf_pkcs7_verifier_drop_getpdf_pkcs7_verifier_drop_setr  (pdf_pkcs7_verifier_check_certificate_get(pdf_pkcs7_verifier_check_certificate_setcheck_certificate#pdf_pkcs7_verifier_check_digest_get#pdf_pkcs7_verifier_check_digest_setcheck_digest$pdf_pkcs7_verifier_get_signatory_get$pdf_pkcs7_verifier_get_signatory_setget_signatoryrS   delete_pdf_pkcs7_verifierr   r$   r#   r   r  r    s    -/IOdeGHF668Z8Z[D !P!PRX  SB  SB  CFFFHrHrsLVHH&JuJuvMR77r#   r  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Zd Zej<                  Zy)pdf_keystroke_eventc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_keystroke_event.<lambda>!  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_keystroke_event.<lambda>!  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_keystroke_event_swiginitnew_pdf_keystroke_eventrV   s    r   rS   zpdf_keystroke_event.__init__+  rv  r#   N) r   r   r6   r   r   r   r   r   pdf_keystroke_event_value_getpdf_keystroke_event_value_setr    pdf_keystroke_event_change_getpdf_keystroke_event_change_setchange pdf_keystroke_event_selStart_get pdf_keystroke_event_selStart_setselStartpdf_keystroke_event_selEnd_getpdf_keystroke_event_selEnd_setselEnd"pdf_keystroke_event_willCommit_get"pdf_keystroke_event_willCommit_set
willCommit!pdf_keystroke_event_newChange_get!pdf_keystroke_event_newChange_set	newChange pdf_keystroke_event_newValue_get pdf_keystroke_event_newValue_setnewValuerS   delete_pdf_keystroke_eventr   r$   r#   r   r-  r-     s    -/IOdeGHV996;_;_`Ef;;V=b=bcF??AhAhiHf;;V=b=bcF&CCVEnEnoJAA6CkCklI??AhAhiHT88r#   r-  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)pdf_doc_eventc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_doc_event.<lambda>2  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_doc_event.<lambda>2  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_doc_event_swiginitnew_pdf_doc_eventrV   s    r   rS   zpdf_doc_event.__init__6  rL  r#   N)r   r   r6   r   r   r   r   r   pdf_doc_event_type_getpdf_doc_event_type_setr   rS   delete_pdf_doc_eventr   r$   r#   r   rI  rI  1  sB    -/IOdeGHF1163P3PQDH22r#   rI  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z%d Z&ejN                  Z(y)pdf_alert_eventc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_alert_event.<lambda>C  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_alert_event.<lambda>C  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_alert_event_swiginitnew_pdf_alert_eventrV   s    r   rS   zpdf_alert_event.__init__P  r;  r#   N))r   r   r6   r   r   r   r   r   pdf_alert_event_doc_getpdf_alert_event_doc_setrO   pdf_alert_event_message_getpdf_alert_event_message_setr2  pdf_alert_event_icon_type_getpdf_alert_event_icon_type_set	icon_type%pdf_alert_event_button_group_type_get%pdf_alert_event_button_group_type_setbutton_group_typepdf_alert_event_title_getpdf_alert_event_title_setrM  !pdf_alert_event_has_check_box_get!pdf_alert_event_has_check_box_sethas_check_box%pdf_alert_event_check_box_message_get%pdf_alert_event_check_box_message_setcheck_box_message%pdf_alert_event_initially_checked_get%pdf_alert_event_initially_checked_setinitially_checked#pdf_alert_event_finally_checked_get#pdf_alert_event_finally_checked_setfinally_checked"pdf_alert_event_button_pressed_get"pdf_alert_event_button_pressed_setbutton_pressedrS   delete_pdf_alert_eventr   r$   r#   r   rS  rS  B  s   -/IOdeGH
61163Q3Q
RCv996;];]^G==v?c?cdI !M!MvO{O{|V55v7W7WXEVEEvGoGopM !M!MvO{O{| !M!MvO{O{|vII6KuKuvOfGGIrIrsNL44r#   rS  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)pdf_launch_url_eventc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_launch_url_event.<lambda>d  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_launch_url_event.<lambda>d  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_launch_url_event_swiginitnew_pdf_launch_url_eventrV   s    r   rS   zpdf_launch_url_event.__init__i  ry  r#   N)r   r   r6   r   r   r   r   r   pdf_launch_url_event_url_getpdf_launch_url_event_url_seturl"pdf_launch_url_event_new_frame_get"pdf_launch_url_event_new_frame_set	new_framerS   delete_pdf_launch_url_eventr   r$   r#   r   rv  rv  c  sZ    -/IOdeGH
6668[8[
\CBBFDmDmnIV99r#   rv  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Zd Zej6                  Zy)pdf_mail_doc_eventc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_mail_doc_event.<lambda>p  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_mail_doc_event.<lambda>p  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_mail_doc_event_swiginitnew_pdf_mail_doc_eventrV   s    r   rS   zpdf_mail_doc_event.__init__y  r}  r#   N)r   r   r6   r   r   r   r   r   pdf_mail_doc_event_ask_user_getpdf_mail_doc_event_ask_user_setask_userpdf_mail_doc_event_to_getpdf_mail_doc_event_to_settopdf_mail_doc_event_cc_getpdf_mail_doc_event_cc_setccpdf_mail_doc_event_bcc_getpdf_mail_doc_event_bcc_setbccpdf_mail_doc_event_subject_getpdf_mail_doc_event_subject_setsubjectpdf_mail_doc_event_message_getpdf_mail_doc_event_message_setr2  rS   delete_pdf_mail_doc_eventr   r$   r#   r   r  r  o  s    -/IOdeGH>>@f@fgH	&22F4T4T	UB	&22F4T4T	UB
644f6W6W
XCv<<f>c>cdGv<<f>c>cdGR77r#   r  c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z( eejR                  ejT                        Z+ eejX                  ejZ                        Z. eej^                  ej`                        Z1 eejd                  ejf                        Z4 eejj                  ejl                        Z7 eejp                  ejr                        Z: eejv                  ejx                        Z= eej|                  ej~                        Z@ eej                  ej                        ZC eej                  ej                        ZF eej                  ej                        ZI eej                  ej                        ZL eej                  ej                        ZO eej                  ej                        ZRd ZSej                  ZUy)pdf_image_rewriter_optionsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z#pdf_image_rewriter_options.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z#pdf_image_rewriter_options.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   #pdf_image_rewriter_options_swiginitnew_pdf_image_rewriter_optionsrV   s    r   rS   z#pdf_image_rewriter_options.__init__      2249^9^9`ar#   N)Vr   r   r6   r   r   r   r   r   Dpdf_image_rewriter_options_color_lossless_image_subsample_method_getDpdf_image_rewriter_options_color_lossless_image_subsample_method_set%color_lossless_image_subsample_methodApdf_image_rewriter_options_color_lossy_image_subsample_method_getApdf_image_rewriter_options_color_lossy_image_subsample_method_set"color_lossy_image_subsample_methodGpdf_image_rewriter_options_color_lossless_image_subsample_threshold_getGpdf_image_rewriter_options_color_lossless_image_subsample_threshold_set(color_lossless_image_subsample_threshold@pdf_image_rewriter_options_color_lossless_image_subsample_to_get@pdf_image_rewriter_options_color_lossless_image_subsample_to_set!color_lossless_image_subsample_toDpdf_image_rewriter_options_color_lossy_image_subsample_threshold_getDpdf_image_rewriter_options_color_lossy_image_subsample_threshold_set%color_lossy_image_subsample_threshold=pdf_image_rewriter_options_color_lossy_image_subsample_to_get=pdf_image_rewriter_options_color_lossy_image_subsample_to_setcolor_lossy_image_subsample_toEpdf_image_rewriter_options_color_lossless_image_recompress_method_getEpdf_image_rewriter_options_color_lossless_image_recompress_method_set&color_lossless_image_recompress_methodBpdf_image_rewriter_options_color_lossy_image_recompress_method_getBpdf_image_rewriter_options_color_lossy_image_recompress_method_set#color_lossy_image_recompress_methodCpdf_image_rewriter_options_color_lossy_image_recompress_quality_getCpdf_image_rewriter_options_color_lossy_image_recompress_quality_set$color_lossy_image_recompress_qualityFpdf_image_rewriter_options_color_lossless_image_recompress_quality_getFpdf_image_rewriter_options_color_lossless_image_recompress_quality_set'color_lossless_image_recompress_qualityCpdf_image_rewriter_options_gray_lossless_image_subsample_method_getCpdf_image_rewriter_options_gray_lossless_image_subsample_method_set$gray_lossless_image_subsample_method@pdf_image_rewriter_options_gray_lossy_image_subsample_method_get@pdf_image_rewriter_options_gray_lossy_image_subsample_method_set!gray_lossy_image_subsample_methodFpdf_image_rewriter_options_gray_lossless_image_subsample_threshold_getFpdf_image_rewriter_options_gray_lossless_image_subsample_threshold_set'gray_lossless_image_subsample_threshold?pdf_image_rewriter_options_gray_lossless_image_subsample_to_get?pdf_image_rewriter_options_gray_lossless_image_subsample_to_set gray_lossless_image_subsample_toCpdf_image_rewriter_options_gray_lossy_image_subsample_threshold_getCpdf_image_rewriter_options_gray_lossy_image_subsample_threshold_set$gray_lossy_image_subsample_threshold<pdf_image_rewriter_options_gray_lossy_image_subsample_to_get<pdf_image_rewriter_options_gray_lossy_image_subsample_to_setgray_lossy_image_subsample_toDpdf_image_rewriter_options_gray_lossless_image_recompress_method_getDpdf_image_rewriter_options_gray_lossless_image_recompress_method_set%gray_lossless_image_recompress_methodApdf_image_rewriter_options_gray_lossy_image_recompress_method_getApdf_image_rewriter_options_gray_lossy_image_recompress_method_set"gray_lossy_image_recompress_methodBpdf_image_rewriter_options_gray_lossy_image_recompress_quality_getBpdf_image_rewriter_options_gray_lossy_image_recompress_quality_set#gray_lossy_image_recompress_qualityEpdf_image_rewriter_options_gray_lossless_image_recompress_quality_getEpdf_image_rewriter_options_gray_lossless_image_recompress_quality_set&gray_lossless_image_recompress_quality=pdf_image_rewriter_options_bitonal_image_subsample_method_get=pdf_image_rewriter_options_bitonal_image_subsample_method_setbitonal_image_subsample_method@pdf_image_rewriter_options_bitonal_image_subsample_threshold_get@pdf_image_rewriter_options_bitonal_image_subsample_threshold_set!bitonal_image_subsample_threshold9pdf_image_rewriter_options_bitonal_image_subsample_to_get9pdf_image_rewriter_options_bitonal_image_subsample_to_setbitonal_image_subsample_to>pdf_image_rewriter_options_bitonal_image_recompress_method_get>pdf_image_rewriter_options_bitonal_image_recompress_method_setbitonal_image_recompress_method?pdf_image_rewriter_options_bitonal_image_recompress_quality_get?pdf_image_rewriter_options_bitonal_image_recompress_quality_set bitonal_image_recompress_qualityrS   !delete_pdf_image_rewriter_optionsr   r$   r#   r   r  r    s?   -/IOdeGH,4V  6A  6A  CI  CN  CN  -O))1&2z2z  }C  }E  }E  *F&/7  9G  9G  IO  IW  IW  0X,(01x1x  {A  {B  {B  )C%,4V  6A  6A  CI  CN  CN  -O)%-f.r.rtz  uy  uy  &z"-5f  7C  7C  EK  EQ  EQ  .R**263|3|  E  H  H  +I'+3F4~4~  AG  AK  AK  ,L(.6v  8E  8E  GM  GT  GT  /U++3F4~4~  AG  AK  AK  ,L((01x1x  {A  {B  {B  )C%.6v  8E  8E  GM  GT  GT  /U+'/0v0vx~  y  y  (@$+3F4~4~  AG  AK  AK  ,L($,V-p-prx  sv  sv  %w!,4V  6A  6A  CI  CN  CN  -O))1&2z2z  }C  }E  }E  *F&*263|3|  E  H  H  +I'-5f  7C  7C  EK  EQ  EQ  .R*%-f.r.rtz  uy  uy  &z"(01x1x  {A  {B  {B  )C%!)&*j*jlr  mm  mm  "n&.v/t/tv|  w|  w|  '}#'/0v0vx~  y  y  (@$b??r#   r  c                   0   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Zd Zej*                  Zy)pdf_clean_optionsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_clean_options.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_clean_options.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_clean_options_swiginitnew_pdf_clean_optionsrV   s    r   rS   zpdf_clean_options.__init__  r  r#   N)r   r   r6   r   r   r   r   r   pdf_clean_options_write_getpdf_clean_options_write_setr  pdf_clean_options_image_getpdf_clean_options_image_setimage"pdf_clean_options_subset_fonts_get"pdf_clean_options_subset_fonts_setsubset_fontspdf_clean_options_structure_getpdf_clean_options_structure_set	structurerS   delete_pdf_clean_optionsr   r$   r#   r   r  r    s    -/IOdeGHV779[9[\EV779[9[\EFEEvGpGpqL??AgAghIP66r#   r  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)pdf_recolor_optionsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zpdf_recolor_options.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zpdf_recolor_options.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   pdf_recolor_options_swiginitnew_pdf_recolor_optionsrV   s    r   rS   zpdf_recolor_options.__init__  rv  r#   N)r   r   r6   r   r   r   r   r    pdf_recolor_options_num_comp_get pdf_recolor_options_num_comp_setnum_comprS   delete_pdf_recolor_optionsr   r$   r#   r   r  r    sB    -/IOdeGH??AhAhiHT88r#   r  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)fz_search_page2_hitc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_search_page2_hit.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_search_page2_hit.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_search_page2_hit_swiginitnew_fz_search_page2_hitrV   s    r   rS   zfz_search_page2_hit.__init__  rv  r#   N)r   r   r6   r   r   r   r   r   fz_search_page2_hit_quad_getfz_search_page2_hit_quad_setr
  fz_search_page2_hit_mark_getfz_search_page2_hit_mark_setmarkrS   delete_fz_search_page2_hitr   r$   r#   r   r  r    sZ    -/IOdeGHF779\9\]DF779\9\]DT88r#   r  c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Zd Zej&                  Zy)&fz_install_load_system_font_funcs_argsz
    Extra struct containing fz_install_load_system_font_funcs()'s args,
    which we wrap with virtual_fnptrs set to allow use from Python/C# via
    Swig Directors.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   z/fz_install_load_system_font_funcs_args.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z/fz_install_load_system_font_funcs_args.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   /fz_install_load_system_font_funcs_args_swiginit*new_fz_install_load_system_font_funcs_argsrV   s    r   rS   z/fz_install_load_system_font_funcs_args.__init__      >>tVEvEvExyr#   N)r   r   r6   r7   r   r   r   r   r   ,fz_install_load_system_font_funcs_args_f_get,fz_install_load_system_font_funcs_args_f_setr  0fz_install_load_system_font_funcs_args_f_cjk_get0fz_install_load_system_font_funcs_args_f_cjk_setf_cjk5fz_install_load_system_font_funcs_args_f_fallback_get5fz_install_load_system_font_funcs_args_f_fallback_set
f_fallbackrS   -delete_fz_install_load_system_font_funcs_argsr   r$   r#   r   r  r    s     -/IOdeGHDDfFyFyzAVLLf  OF  OF  GE&VVX^  YU  YU  VJzKKr#   r  c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)fz_font_ucs_gidc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_font_ucs_gid.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_font_ucs_gid.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_font_ucs_gid_swiginitnew_fz_font_ucs_gidrV   s    r   rS   zfz_font_ucs_gid.__init__  r;  r#   N)r   r   r6   r   r   r   r   r   fz_font_ucs_gid_ucs_getfz_font_ucs_gid_ucs_setr	  fz_font_ucs_gid_gid_getfz_font_ucs_gid_gid_setr	  rS   delete_fz_font_ucs_gidr   r$   r#   r   r-  r-    sZ    -/IOdeGH
61163Q3Q
RC
61163Q3Q
RCL44r#   r-  c                  *    t        j                         S )z
    Low-level wrapper for `::fz_aa_level()`.
    Get the number of bits of antialiasing we are
    using (for graphics). Between 0 and 8.
    )r   ll_fz_aa_levelr$   r#   r   r9  r9           ""r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_abs()`.
    Some standard math functions, done as static inlines for speed.
    People with compilers that do not adequately implement inline
    may like to reimplement these using macros.
    )r   	ll_fz_absr  s    r   r<  r<    s     Ar#   c                 ,    t        j                  |       S )z$Low-level wrapper for `::fz_absi()`.)r   
ll_fz_absir   s    r   r?  r?  
      Qr#   c                 2    t        j                  | |||      S )zx
    Low-level wrapper for `::fz_add_layout_char()`.
    Add a new char to the line at the end of the layout block.
    )r   ll_fz_add_layout_charblockrF   r7  r  s       r   rC  rC    s    
 ''q!Q77r#   c                 4    t        j                  | ||||      S )zl
    Low-level wrapper for `::fz_add_layout_line()`.
    Add a new line to the end of the layout block.
    )r   ll_fz_add_layout_linerE  rF   r  r:  r  s        r   rG  rG    s    
 ''q!Q::r#   c                 2    t        j                  | |||      S )zp
    Low-level wrapper for `::fz_add_separation()`.
    Add a separation (null terminated name, colorspace)
    )r   ll_fz_add_separationsepr   cs
cs_channels       r   rJ  rJ    s    
 &&sD"jAAr#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_add_separation_equivalents()`.
    Add a separation with equivalents (null terminated name,
    colorspace)

    (old, deprecated)
    )r    ll_fz_add_separation_equivalentsrL  rgbar  r   s       r   rP  rP  #  s     223dDIIr#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_adjust_rect_for_stroke()`.
    Given a rectangle (assumed to be the bounding box for a path),
    expand it to allow for the expansion of the bbox that would be
    seen by stroking the path with the given stroke state and
    transform.
    )r   ll_fz_adjust_rect_for_stroker  strokectms      r   rT  rT  -  s     ..tVSAAr#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_advance_glyph()`.
    Return the advance for a given glyph.

    font: The font to look for the glyph in.

    glyph: The glyph to find the advance for.

    wmode: 1 for vertical mode, 0 for horizontal.

    Returns the advance for the glyph.
    )r   ll_fz_advance_glyphr  glyphr'	  s      r   rY  rY  7  s     %%dE599r#   c                 6    t        j                  | |||||      S )a[  
    Low-level wrapper for `::fz_aes_crypt_cbc()`.
    AES block processing. Encrypts or Decrypts (according to mode,
    which must match what was initially set up) length bytes (which
    must be a multiple of 16), using (and modifying) the insertion
    vector iv, reading from input, and writing to output.

    Never throws an exception.
    )r   ll_fz_aes_crypt_cbcctxmodere  ivinputoutputs         r   r]  r]  F  s     %%c4UFKKr#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_aes_setkey_dec()`.
    AES decryption intialisation. Fills in the supplied context
    and prepares for decryption using the given key.

    Returns non-zero for error (key size other than 128/192/256).

    Never throws an exception.
    )r   ll_fz_aes_setkey_decr_  rk  keysizes      r   re  re  R       &&sC99r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_aes_setkey_enc()`.
    AES encryption intialisation. Fills in the supplied context
    and prepares for encryption using the given key.

    Returns non-zero for error (key size other than 128/192/256).

    Never throws an exception.
    )r   ll_fz_aes_setkey_encrf  s      r   rj  rj  ^  rh  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::fz_alpha_from_gray()`.)r   ll_fz_alpha_from_grayr	  s    r   rl  rl  j      ''--r#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_append_base64()`.
    Write a base64 encoded data block, optionally with periodic newlines.
    )r   ll_fz_append_base64rl  r?   r   newlines       r   rp  rp  n  s    
 %%c4w??r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_append_base64_buffer()`.
    Append a base64 encoded fz_buffer, optionally with periodic newlines.
    )r   ll_fz_append_base64_bufferrl  r?   rr  s      r   rt  rt  u  s    
 ,,S$@@r#   c                 0    t        j                  | ||      S )z+Low-level wrapper for `::fz_append_bits()`.)r   ll_fz_append_bitsrb  r    r  s      r   rw  rw  |  s    ##C66r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::fz_append_bits_pad()`.)r   ll_fz_append_bits_padrb  s    r   rz  rz        '',,r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_append_buffer()`.
    Append the contents of the source buffer onto the end of the
    destination buffer, extending automatically as required.

    Ownership of buffers does not change.
    )r   ll_fz_append_bufferdestinationsources     r   r~  r~    s     %%k6::r#   c                 .    t        j                  | |      S )z+Low-level wrapper for `::fz_append_byte()`.)r   ll_fz_append_byterb  r  s     r   r  r        ##C++r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_append_data()`.
    fz_append_*: Append data to a buffer.

    The buffer will automatically grow as required.
    )r   ll_fz_append_datarb  r?   r  s      r   r  r    s     ##Cs33r#   c                 .    t        j                  | |      S )z8Low-level wrapper for `::fz_append_image_as_data_uri()`.)r   ll_fz_append_image_as_data_urirl  r  s     r   r  r    s    00e<<r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::fz_append_int16_be()`.)r   ll_fz_append_int16_berb  rF   s     r   r  r        ''Q//r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::fz_append_int16_le()`.)r   ll_fz_append_int16_ler  s     r   r  r    r  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::fz_append_int32_be()`.)r   ll_fz_append_int32_ber  s     r   r  r    r  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::fz_append_int32_le()`.)r   ll_fz_append_int32_ler  s     r   r  r    r  r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_append_pdf_string()`.
    fz_append_pdf_string: Append a string with PDF syntax quotes and
    escapes.

    The buffer will automatically grow as required.
    )r   ll_fz_append_pdf_stringr*  r
  s     r   r  r    s     ))&$77r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::fz_append_pixmap_as_data_uri()`.)r   ll_fz_append_pixmap_as_data_urirl  pixmaps     r   r  r    s    11#v>>r#   c                 .    t        j                  | |      S )z+Low-level wrapper for `::fz_append_rune()`.)r   ll_fz_append_runer  s     r   r  r    r  r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::fz_append_string()`.)r   ll_fz_append_stringrb  r?   s     r   r  r        %%c400r#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_arc4_encrypt()`.
    RC4 block encrypt operation; encrypt src into dst (both of
    length len) updating the RC4 state as we go.

    Never throws an exception.
    )r   ll_fz_arc4_encryptr  destsrcr  s       r   r  r    s     $$UD#s;;r#   c                 ,    t        j                  |       S )z|
    Low-level wrapper for `::fz_arc4_final()`.
    RC4 finalization. Zero the context.

    Never throws an exception.
    )r   ll_fz_arc4_finalr  s    r   r  r    s     ""5))r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_arc4_init()`.
    RC4 initialization. Begins an RC4 operation, writing a new
    context.

    Never throws an exception.
    )r   ll_fz_arc4_initr  rk  r  s      r   r  r    s     !!%c22r#   c                 ,    t        j                  |       S )a(  
    Low-level wrapper for `::fz_archive_format()`.
    Return a pointer to a string describing the format of the
    archive.

    The lifetime of the string is unspecified (in current
    implementations the string will persist until the archive
    is closed, but this is not guaranteed).
    )r   ll_fz_archive_formatarchs    r   r  r    s     &&t,,r#   c                 ,    t        j                  |       S )zF
    Low-level wrapper for `::fz_atof()`.
    Range checking atof
    )r   
ll_fz_atofr;  s    r   r  r        
 Qr#   c                 ,    t        j                  |       S )zL
    Low-level wrapper for `::fz_atoi()`.
    atoi that copes with NULL
    )r   
ll_fz_atoir;  s    r   r  r    r  r#   c                 ,    t        j                  |       S )zT
    Low-level wrapper for `::fz_atoi64()`.
    64bit atoi that copes with NULL
    )r   ll_fz_atoi64r;  s    r   r  r        
 q!!r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_atoz()`.
    size_t atoi that copes with NULL.

    NOTE: limited to 63bits. Negative numbers
    are returned as 0.
    )r   
ll_fz_atozr;  s    r   r  r    s     Qr#   c                 .    t        j                  | |      S )a0  
    Low-level wrapper for `::fz_authenticate_password()`.
    Test if the given password can decrypt the document.

    password: The password string to be checked. Some document
    specifications do not specify any particular text encoding, so
    neither do we.

    Returns 0 for failure to authenticate, non-zero for success.

    For PDF documents, further information can be given by examining
    the bits in the return code.

    	Bit 0 => No password required
    	Bit 1 => User password authenticated
    	Bit 2 => Owner password authenticated
    )r   ll_fz_authenticate_passwordrO   passwords     r   r  r    s    $ --c8<<r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::fz_autowarp_pixmap()`.)r   ll_fz_autowarp_pixmapr  pointss     r   r  r  !  s    ''V44r#   c                 .    t        j                  | |      S )aF  
    Low-level wrapper for `::fz_available()`.
    Ask how many bytes are available immediately from
    a given stream.

    stm: The stream to read from.

    max: A hint for the underlying stream; the maximum number of
    bytes that we are sure we will want to read. If you do not know
    this number, give 1.

    Returns the number of bytes immediately available between the
    read and write pointers. This number is guaranteed only to be 0
    if we have hit EOF. The number of bytes returned here need have
    no relation to max (could be larger, could be smaller).
    )r   ll_fz_availablestmr  s     r   r  r  %  s    " !!#s++r#   c                 ,    t        j                  |       S )a[  
    Low-level wrapper for `::fz_base_colorspace()`.
    Get the 'base' colorspace for a colorspace.

    For indexed colorspaces, this is the colorspace the index
    decodes into. For all other colorspaces, it is the colorspace
    itself.

    The returned colorspace is 'borrowed' (i.e. no additional
    references are taken or dropped).
    )r   ll_fz_base_colorspacerM  s    r   r  r  8  s     ''++r#   c                 ,    t        j                  |       S )z]
    Low-level wrapper for `::fz_basename()`.
    Find the filename component in a path.
    )r   ll_fz_basenamepaths    r   r  r  F      
   &&r#   c           	      8    t        j                  | ||||||      S )z+Low-level wrapper for `::fz_begin_group()`.)r   ll_fz_begin_grouprT  arearM  isolatedknockout	blendmoderA  s          r   r  r  M  s     ##Cr8XyRWXXr#   c                 .    t        j                  | |      S )z+Low-level wrapper for `::fz_begin_layer()`.)r   ll_fz_begin_layerrT  
layer_names     r   r  r  Q  s    ##C44r#   c                 6    t        j                  | |||||      S )z*Low-level wrapper for `::fz_begin_mask()`.)r   ll_fz_begin_maskrT  r  
luminosityr  bccolor_paramss         r   r  r  U  s    ""3j*b,WWr#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::fz_begin_metatext()`.)r   ll_fz_begin_metatextrT  metar
  s      r   r  r  Y  s    &&sD$77r#   c                 .    t        j                  | |      S )a*  
    Low-level wrapper for `::fz_begin_page()`.
    Called to start the process of writing a page to
    a document.

    mediabox: page size rectangle in points.

    Returns a borrowed fz_device to write page contents to. This
    should be kept if required, and only dropped if it was kept.
    )r   ll_fz_begin_pagewrirq
  s     r   r  r  ]  s     ""311r#   c                 2    t        j                  | |||      S )z/Low-level wrapper for `::fz_begin_structure()`.)r   ll_fz_begin_structurerT  r
  r
  idxs       r   r  r  j  s    ''XsC@@r#   c                 6    t        j                  | |||||      S )z*Low-level wrapper for `::fz_begin_tile()`.)r   ll_fz_begin_tilerT  r  viewr  r  rW  s         r   r  r  n  s    ""3dE5#FFr#   c           	      8    t        j                  | ||||||      S )z-Low-level wrapper for `::fz_begin_tile_id()`.)r   ll_fz_begin_tile_idrT  r  r  r  r  rW  rM  s          r   r  r  r  s    %%c4ueS"MMr#   c                 6    t        j                  | |||||      S )a  
     Low-level wrapper for `::fz_bidi_fragment_text()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_bidi_fragment_text(const uint32_t *text, size_t textlen, ::fz_bidi_fragment_fn *callback, void *arg, int flags)` => ::fz_bidi_direction baseDir

    	Partitions the given Unicode sequence into one or more
    	unidirectional fragments and invokes the given callback
    	function for each fragment.

    	For example, if directionality of text is:
    			0123456789
    			rrlllrrrrr,
    	we'll invoke callback with:
    			&text[0], length == 2
    			&text[2], length == 3
    			&text[5], length == 5

    	:type text: int, in
    :param text:	start of Unicode sequence
        	:type textlen: int, in
    :param textlen:   number of Unicodes to analyse
        	:type baseDir: int, in
    :param baseDir:   direction of paragraph (specify FZ_BIDI_NEUTRAL to force auto-detection)
        	:type callback: ::fz_bidi_fragment_fn, in
    :param callback:  function to be called for each fragment
        	:type arg: void, in
    :param arg:	data to be passed to the callback function
        	:type flags: int, in
    :param flags:     flags to control operation (see fz_bidi_flags above)
    )r   ll_fz_bidi_fragment_textr
  textlenbaseDircallbackargr"  s         r   r  r  v  s!    @ **4'8SRWXXr#   c                 4    t        j                  | ||||      S )a+  
     Low-level wrapper for `::fz_bitmap_details()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_bitmap_details(::fz_bitmap *bitmap)` => `(int w, int h, int n, int stride)`

    	Retrieve details of a given bitmap.

    	bitmap: The bitmap to query.

    	w: Pointer to storage to retrieve width (or NULL).

    	h: Pointer to storage to retrieve height (or NULL).

    	n: Pointer to storage to retrieve number of color components (or
    	NULL).

    	stride: Pointer to storage to retrieve bitmap stride (or NULL).
    )r   ll_fz_bitmap_detailsbitmapr7  r:  r[   rF  s        r   r  r    s    ( &&vq!Q??r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_blendmode_name()`.
    Map from enumeration to blend mode string.

    The string is static, with arbitrary lifespan.
    )r   ll_fz_blendmode_namer  s    r   r   r     s     &&y11r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_bound_display_list()`.
    Return the bounding box of the page recorded in a display list.
    )r   ll_fz_bound_display_listr  s    r   r  r        
 **400r#   c                 0    t        j                  | ||      S )a:  
    Low-level wrapper for `::fz_bound_glyph()`.
    Return a bbox for a given glyph in a font.

    font: The font to look for the glyph in.

    gid: The glyph to bound.

    trm: The matrix to apply to the glyph before bounding.

    Returns rectangle by value containing the bounds of the given
    glyph.
    )r   ll_fz_bound_glyphr  r	  r$	  s      r   r  r    s     ##D#s33r#   c                 ,    t        j                  |       S )z`
    Low-level wrapper for `::fz_bound_page()`.
    Determine the size of a page at 72 dpi.
    )r   ll_fz_bound_pager'
  s    r   r
  r
        
 ""4((r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::fz_bound_page_box()`.)r   ll_fz_bound_page_boxr'
  boxs     r   r  r        &&tS11r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_bound_path()`.
    Return a bounding rectangle for a path.

    path: The path to bound.

    stroke: If NULL, the bounding rectangle given is for
    the filled path. If non-NULL the bounding rectangle
    given is for the path stroked with the given attributes.

    ctm: The matrix to apply to the path during stroking.

    r: Pointer to a fz_rect which will be used to hold
    the result.

    Returns r, updated to contain the bounding rectangle.
    )r   ll_fz_bound_pathr  rV  rW  s      r   r  r    s    $ ""455r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_bound_shade()`.
    Bound a given shading.

    shade: The shade to bound.

    ctm: The transform to apply to the shade before bounding.

    r: Pointer to storage to put the bounds in.

    Returns r, updated to contain the bounds for the shading.
    )r   ll_fz_bound_shadeshaderW  s     r   r  r    s     ##E3//r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_bound_text()`.
    Find the bounds of a given text object.

    text: The text object to find the bounds of.

    stroke: Pointer to the stroke attributes (for stroked
    text), or NULL (for filled text).

    ctm: The matrix in use.

    r: pointer to storage for the bounds.

    Returns a pointer to r, which is updated to contain the
    bounding box for the text object.
    )r   ll_fz_bound_textr
  rV  rW  s      r   r  r    s    " ""455r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::fz_box_type_from_string()`.)r   ll_fz_box_type_from_stringr   s    r   r  r        ,,T22r#   c                 .    t        j                  | |      S )ac  
     Low-level wrapper for `::fz_buffer_extract()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_buffer_extract(::fz_buffer *buf)` => `(size_t, unsigned char *data)`

    	Take ownership of buffer contents.

    	Performs the same task as fz_buffer_storage, but ownership of
    	the data buffer returns with this call. The buffer is left
    	empty.

    	Note: Bad things may happen if this is called on a buffer with
    	multiple references that is being used from multiple threads.

    	data: Pointer to place to retrieve data pointer.

    	Returns length of stream.
    )r   ll_fz_buffer_extractr  s     r   r!  r!    s    ( &&sD11r#   c                 .    t        j                  | |      S )ak  
     Low-level wrapper for `::fz_buffer_storage()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_buffer_storage(::fz_buffer *buf)` => `(size_t, unsigned char *datap)`

    	Retrieve internal memory of buffer.

    	datap: Output parameter that will be pointed to the data.

    	Returns the current size of the data in bytes.
    )r   ll_fz_buffer_storagerb  dataps     r   r#  r#  )  s     &&sE22r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_calloc()`.
    Allocate array of memory of count entries of size bytes.
    Clears the memory to zero.

    Throws exception in the event of failure to allocate.
    )r   ll_fz_callocr  r   s     r   r'  r'  8  s     ud++r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_calloc_no_throw()`.
    fz_calloc equivalent that returns NULL rather than throwing
    exceptions.
    )r   ll_fz_calloc_no_throwr(  s     r   r*  r*  B  s     ''t44r#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_caught()`.
    Within an fz_catch() block, retrieve the error code for
    the current exception.

    This assumes no intervening use of fz_try/fz_catch.
    )r   ll_fz_caughtr$   r#   r   r,  r,  J  s       r#   c                  *    t        j                         S )z,Low-level wrapper for `::fz_caught_errno()`.)r   ll_fz_caught_errnor$   r#   r   r.  r.  T      $$&&r#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_caught_message()`.
    Within an fz_catch() block, retrieve the formatted message
    string for the current exception.

    This assumes no intervening use of fz_try/fz_catch.
    )r   ll_fz_caught_messager$   r#   r   r1  r1  X  s     &&((r#   c                 .    t        j                  | |      S )a  
     Low-level wrapper for `::fz_chartorune()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_chartorune(const char *str)` => `(int, int rune)`

    	UTF8 decode a single rune from a sequence of chars.

    	rune: Pointer to an int to assign the decoded 'rune' to.

    	str: Pointer to a UTF8 encoded string.

    	Returns the number of bytes consumed.
    )r   ll_fz_chartoruneruner  s     r   r3  r3  b  s     ""4--r#   c                 0    t        j                  | ||      S )z%Low-level wrapper for `::fz_clamp()`.)r   ll_fz_clamprF   minr  s      r   r7  r7  s  s    ac**r#   c                 0    t        j                  | ||      S )z'Low-level wrapper for `::fz_clamp64()`.)r   ll_fz_clamp64r8  s      r   r;  r;  w  s    3,,r#   c                 0    t        j                  | ||      S )a  
     Low-level wrapper for `::fz_clamp_color()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_clamp_color(::fz_colorspace *cs, const float *in)` => float out

    	Clamp the samples in a color to the correct ranges for a
    	given colorspace.
    )r   ll_fz_clamp_colorrM  _inrl  s      r   r=  r=  {  s     ##BS11r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_clamp_location()`.
    Clamps a location into valid chapter/page range. (First clamps
    the chapter into range, then the page into range).
    )r   ll_fz_clamp_locationrO   r5  s     r   rA  rA         &&sC00r#   c                 0    t        j                  | ||      S )z&Low-level wrapper for `::fz_clampd()`.)r   ll_fz_clampdr8  s      r   rE  rE        q#s++r#   c                 0    t        j                  | ||      S )z&Low-level wrapper for `::fz_clampi()`.)r   ll_fz_clampir8  s      r   rH  rH    rF  r#   c                 0    t        j                  | ||      S )z&Low-level wrapper for `::fz_clampp()`.)r   ll_fz_clamppr8  s      r   rJ  rJ    rF  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_cleanname()`.
    rewrite path to the shortest string that names the same path.

    Eliminates multiple and trailing slashes, interprets "." and
    "..". Overwrites the string in place.
    )r   ll_fz_cleannamer  s    r   rL  rL         !!$''r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_cleanname_strdup()`.
    rewrite path to the shortest string that names the same path.

    Eliminates multiple and trailing slashes, interprets "." and
    "..". Allocates a new string that the caller must free.
    )r   ll_fz_cleanname_strdupr  s    r   rO  rO         ((..r#   c                 ,    t        j                  |       S )zt
    Low-level wrapper for `::fz_clear_bitmap()`.
    Set the entire bitmap to 0.

    Never throws exceptions.
    )r   ll_fz_clear_bitmapbits    r   rR  rR         $$S))r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_clear_buffer()`.
    Empties the buffer. Storage is not freed, but is held ready
    to be reused as the buffer is refilled.

    Never throws exceptions.
    )r   ll_fz_clear_bufferr{  s    r   rW  rW         $$S))r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_clear_pixmap()`.
    Sets all components (including alpha) of
    all pixels in a pixmap to 0.

    pix: The pixmap to clear.
    )r   ll_fz_clear_pixmappixs    r   rZ  rZ    rX  r#   c                 0    t        j                  | ||      S )av  
    Low-level wrapper for `::fz_clear_pixmap_rect_with_value()`.
    Clears a subrect of a pixmap with the given value.

    pix: The pixmap to clear.

    value: Values in the range 0 to 255 are valid. Each component
    sample for each pixel in the pixmap will be set to this value,
    while alpha will always be set to 255 (non-transparent).

    r: the rectangle.
    )r   "ll_fz_clear_pixmap_rect_with_valuer\  r    rs      r   r^  r^    s     44S%CCr#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_clear_pixmap_with_value()`.
    Clears a pixmap with the given value.

    pix: The pixmap to clear.

    value: Values in the range 0 to 255 are valid. Each component
    sample for each pixel in the pixmap will be set to this value,
    while alpha will always be set to 255 (non-transparent).

    This function is horrible, and should be removed from the
    API and replaced with a less magic one.
    )r   ll_fz_clear_pixmap_with_valuer\  r    s     r   rb  rb    s     //U;;r#   c                 2    t        j                  | |||      S )z/Low-level wrapper for `::fz_clip_image_mask()`.)r   ll_fz_clip_image_maskrT  r  rW  rh	  s       r   re  re    s    ''UCAAr#   c                 4    t        j                  | ||||      S )z)Low-level wrapper for `::fz_clip_path()`.)r   ll_fz_clip_pathrT  r  even_oddrW  rh	  s        r   rh  rh    s    !!#tXsGDDr#   c                 4    t        j                  | ||||      S )z0Low-level wrapper for `::fz_clip_stroke_path()`.)r   ll_fz_clip_stroke_pathrT  r  rV  rW  rh	  s        r   rl  rl        ((dFCIIr#   c                 4    t        j                  | ||||      S )z0Low-level wrapper for `::fz_clip_stroke_text()`.)r   ll_fz_clip_stroke_textrT  r
  rV  rW  rh	  s        r   rp  rp    rn  r#   c                 2    t        j                  | |||      S )z)Low-level wrapper for `::fz_clip_text()`.)r   ll_fz_clip_textrT  r
  rW  rh	  s       r   rs  rs    s    !!#tS'::r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_clone_buffer()`.
    Make a new buffer, containing a copy of the data used in
    the original.
    )r   ll_fz_clone_bufferr{  s    r   rv  rv         $$S))r#   c                  *    t        j                         S )a[  
    Low-level wrapper for `::fz_clone_context()`.
    Make a clone of an existing context.

    This function is meant to be used in multi-threaded
    applications where each thread requires its own context, yet
    parts of the global state, for example caching, are shared.

    ctx: Context obtained from fz_new_context to make a copy of.
    ctx must have had locks and lock/functions setup when created.
    The two contexts will share the memory allocator, resource
    store, locks and lock/unlock functions. They will each have
    their own exception stacks though.

    May return NULL.
    )r   ll_fz_clone_contextr$   r#   r   ry  ry    s    " %%''r#   c                 ,    t        j                  |       S )a	  
    Low-level wrapper for `::fz_clone_default_colorspaces()`.
    Returns a reference to a newly cloned default colorspaces
    structure.

    The new clone may safely be altered without fear of race
    conditions as the caller is the only reference holder.
    )r   ll_fz_clone_default_colorspacesr  s    r   r{  r{         11$77r#   c                 ,    t        j                  |       S )ag  
    Low-level wrapper for `::fz_clone_path()`.
    Clone the data for a path.

    This is used in preference to fz_keep_path when a whole
    new copy of a path is required, rather than just a shared
    pointer. This probably indicates that the path is about to
    be modified.

    path: path to clone.

    Throws exceptions on failure to allocate.
    )r   ll_fz_clone_pathr  s    r   r  r  %  s     ""4((r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_clone_pixmap()`.
    Clone a pixmap, copying the pixels and associated data to new
    storage.

    The reference count of 'old' is unchanged.
    )r   ll_fz_clone_pixmapolds    r   r  r  5  rX  r#   c                 6    t        j                  | |||||      S )zELow-level wrapper for `::fz_clone_pixmap_area_with_different_seps()`.)r   +ll_fz_clone_pixmap_area_with_different_sepsr  r  dcsrI  r  
default_css         r   r  r  ?  s    ==c4dT`blmmr#   c                 ,    t        j                  |       S )az  
    Low-level wrapper for `::fz_clone_separations_for_overprint()`.
    Return a separations object with all the spots in the input
    separations object that are set to composite, reset to be
    enabled. If there ARE no spots in the object, this returns
    NULL. If the object already has all its spots enabled, then
    just returns another handle on the same object.
    )r   %ll_fz_clone_separations_for_overprintrI  s    r   r  r  C  s     77==r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_clone_stroke_state()`.
    Create an identical stroke_state structure and return a
    reference to it.

    stroke: The stroke state reference to clone.

    Exceptions may be thrown in the event of a failure to
    allocate.
    )r   ll_fz_clone_stroke_staterV  s    r   r  r  N  s     **622r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_close_band_writer()`.
    Finishes up the output and closes the band writer. After this
    call no more headers or bands may be written.
    )r   ll_fz_close_band_writerwriters    r   r  r  [       ))&11r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_close_device()`.
    Signal the end of input, and flush any buffered output.
    This is NOT called implicitly on fz_drop_device. This
    may throw exceptions.
    )r   ll_fz_close_devicerT  s    r   r  r  c  rU  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_close_document_writer()`.
    Called to end the process of writing
    pages to a document.

    This writes any file level trailers required. After this
    completes successfully the file is up to date and complete.
    )r   ll_fz_close_document_writerr  s    r   r  r  l  s     --c22r#   c                 ,    t        j                  |       S )zk
    Low-level wrapper for `::fz_close_output()`.
    Flush pending output and close an output stream.
    )r   ll_fz_close_outputarg_1s    r   r  r  w      
 $$U++r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_close_zip_writer()`.
    Close the zip file for writing.

    This flushes any pending data to the file. This can throw
    exceptions.
    )r   ll_fz_close_zip_writerzips    r   r  r  ~       ((--r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_closepath()`.
    Close the current subpath.

    path: The path to modify.

    Throws exceptions on failure to allocate, attempting to modify
    a packed path, and illegal path closes (i.e. closing a non open
    path).
    )r   ll_fz_closepathr  s    r   r  r         !!$''r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_colorspace_colorant()`.
    Retrieve a the name for a colorant.

    Returns a pointer with the same lifespan as the colorspace.
    )r   ll_fz_colorspace_colorantrM  r[   s     r   r  r    s     ++B22r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_colorspace_device_n_has_cmyk()`.
    True if DeviceN color space has cyan magenta yellow or black as
    one of its colorants.
    )r   "ll_fz_colorspace_device_n_has_cmykr  s    r   r  r    s     44R88r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_colorspace_device_n_has_only_cmyk()`.
    True if DeviceN color space has only colorants from the CMYK set.
    )r   'll_fz_colorspace_device_n_has_only_cmykr  s    r   r  r    s    
 99"==r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::fz_colorspace_is_cmyk()`.)r   ll_fz_colorspace_is_cmykr  s    r   r  r        **2..r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::fz_colorspace_is_device()`.)r   ll_fz_colorspace_is_devicer  s    r   r  r        ,,R00r#   c                 ,    t        j                  |       S )z9Low-level wrapper for `::fz_colorspace_is_device_cmyk()`.)r   ll_fz_colorspace_is_device_cmykr  s    r   r  r        11"55r#   c                 ,    t        j                  |       S )z9Low-level wrapper for `::fz_colorspace_is_device_gray()`.)r   ll_fz_colorspace_is_device_grayr  s    r   r  r    r  r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::fz_colorspace_is_device_n()`.)r   ll_fz_colorspace_is_device_nr  s    r   r  r        ..r22r#   c                 ,    t        j                  |       S )zj
    Low-level wrapper for `::fz_colorspace_is_gray()`.
    Tests for particular types of colorspaces
    )r   ll_fz_colorspace_is_grayr  s    r   r  r    s    
 **2..r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::fz_colorspace_is_indexed()`.)r   ll_fz_colorspace_is_indexedr  s    r   r  r        --b11r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::fz_colorspace_is_lab()`.)r   ll_fz_colorspace_is_labr  s    r   r  r        ))"--r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::fz_colorspace_is_lab_icc()`.)r   ll_fz_colorspace_is_lab_iccr  s    r   r  r    r  r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::fz_colorspace_is_rgb()`.)r   ll_fz_colorspace_is_rgbr  s    r   r  r    r  r#   c                 ,    t        j                  |       S )zz
    Low-level wrapper for `::fz_colorspace_is_subtractive()`.
    True for CMYK, Separation and DeviceN colorspaces.
    )r   ll_fz_colorspace_is_subtractiver  s    r   r  r    s    
 11"55r#   c                 ,    t        j                  |       S )zi
    Low-level wrapper for `::fz_colorspace_n()`.
    Query the number of colorants in a colorspace.
    )r   ll_fz_colorspace_nr  s    r   r  r        
 $$R((r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_colorspace_name()`.
    Query the name of a colorspace.

    The returned string has the same lifespan as the colorspace
    does. Caller should not free it.
    )r   ll_fz_colorspace_namer  s    r   r  r    s     ''++r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_colorspace_name_colorant()`.
    Assign a name for a given colorant in a colorspace.

    Used while initially setting up a colorspace. The string is
    copied into local storage, so need not be retained by the
    caller.
    )r   ll_fz_colorspace_name_colorantrM  r[   r   s      r   r  r    s     00Q==r#   c                 ,    t        j                  |       S )z[
    Low-level wrapper for `::fz_colorspace_type()`.
    Query the type of colorspace.
    )r   ll_fz_colorspace_typer  s    r   r  r        
 ''++r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_compare_separations()`.
    Compare 2 separations structures (or NULLs).

    Return 0 if identical, non-zero if not identical.
    )r   ll_fz_compare_separationssep1sep2s     r   r  r    s     ++D$77r#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_compress_ccitt_fax_g3()`.
    Compress bitmap data as CCITT Group 3 1D fax image.
    Creates a stream assuming the default PDF parameters,
    except the number of columns.
    )r   ll_fz_compress_ccitt_fax_g3r?   columnsrowsrF  s       r   r  r         --dGT6JJr#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_compress_ccitt_fax_g4()`.
    Compress bitmap data as CCITT Group 4 2D fax image.
    Creates a stream assuming the default PDF parameters, except
    K=-1 and the number of columns.
    )r   ll_fz_compress_ccitt_fax_g4r  s       r   r  r    r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_compressed_buffer_size()`.
    Return the storage size used for a buffer and its data.
    Used in implementing store handling.

    Never throws exceptions.
    )r   ll_fz_compressed_buffer_sizer*  s    r   r  r    s     ..v66r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_compressed_image_buffer()`.
    Retrieve the underlying compressed data for an image.

    Returns a pointer to the underlying data buffer for an image,
    or NULL if this image is not based upon a compressed data
    buffer.

    This is not a reference counted structure, so no reference is
    returned. Lifespan is limited to that of the image itself.
    )r   ll_fz_compressed_image_bufferr  s    r   r  r  '  s     //66r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_compressed_image_type()`.
    Return the type of a compressed image.

    Any non-compressed image will have the type returned as UNKNOWN.
    )r   ll_fz_compressed_image_typer  s    r   r  r  5  s     --e44r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_concat()`.
    Multiply two matrices.

    The order of the two matrices are important since matrix
    multiplication is not commutative.

    Returns result.
    )r   ll_fz_concatleftrights     r   r  r  >  s     tU++r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_concat_push_drop()`.
    Add a chained stream to the end of the concatenate filter.

    Ownership of chain is passed in.
    )r   ll_fz_concat_push_drop)concatchains     r   r  r  J  s     ((77r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_contains_rect()`.
    Test rectangle inclusion.

    Return true if a entirely contains b.
    )r   ll_fz_contains_rectr  r  s     r   r  r  S  s     %%a++r#   c                 6    t        j                  | |||||      S )a  
     Low-level wrapper for `::fz_convert_color()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_convert_color(::fz_colorspace *ss, const float *sv, ::fz_colorspace *ds, ::fz_colorspace *is, ::fz_color_params params)` => float dv

    	Convert color values sv from colorspace ss into colorvalues dv
    	for colorspace ds, via an optional intervening space is,
    	respecting the given color_params.
    )r   ll_fz_convert_colorsssvdsdv_isr~  s         r   r  r  \  s     %%b"b"c6BBr#   c                 ,    t        j                  |       S )z
     Low-level wrapper for `::fz_convert_error()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_convert_error()` => `(const char *, int code)`
    )r   ll_fz_convert_errorcodes    r   r  r  i  s     %%d++r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_convert_indexed_pixmap_to_base()`.
    Convert pixmap from indexed to base colorspace.

    This creates a new bitmap containing the converted pixmap data.
    )r   $ll_fz_convert_indexed_pixmap_to_baser  s    r   r  r  r       66s;;r#   c                 6    t        j                  | |||||      S )a  
    Low-level wrapper for `::fz_convert_pixmap()`.
    Convert an existing pixmap to a desired
    colorspace. Other properties of the pixmap, such as resolution
    and position are copied to the converted pixmap.

    pix: The pixmap to convert.

    default_cs: If NULL pix->colorspace is used. It is possible that
    the data may need to be interpreted as one of the color spaces
    in default_cs.

    cs_des: Desired colorspace, may be NULL to denote alpha-only.

    prf: Proofing color space through which we need to convert.

    color_params: Parameters that may be used in conversion (e.g.
    ri).

    keep_alpha: If 0 any alpha component is removed, otherwise
    alpha is kept if present in the pixmap.
    )r   ll_fz_convert_pixmapr\  cs_desprfr  r  
keep_alphas         r   r  r  {  s     . &&sFC\S]^^r#   c                 6    t        j                  | |||||      S )a  
     Low-level wrapper for `::fz_convert_separation_colors()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_convert_separation_colors(::fz_colorspace *src_cs, const float *src_color, ::fz_separations *dst_seps, ::fz_colorspace *dst_cs, ::fz_color_params color_params)` => float dst_color

    	Convert a color given in terms of one colorspace,
    	to a color in terms of another colorspace/separations.
    )r   ll_fz_convert_separation_colorssrc_cs	src_colordst_sepsdst_cs	dst_colorr  s         r   r  r    s!     11&)XvW`bnoor#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_convert_separation_pixmap_to_base()`.
    Convert pixmap from DeviceN/Separation to base colorspace.

    This creates a new bitmap containing the converted pixmap data.
    )r   'll_fz_convert_separation_pixmap_to_baser  s    r   r  r    s     99#>>r#   c                 0    t        j                  | ||      S )a   
    Low-level wrapper for `::fz_copy_option()`.
    Copy an option (val) into a destination buffer (dest), of maxlen
    bytes.

    Returns the number of bytes (including terminator) that did not
    fit. If val is maxlen or greater bytes in size, it will be left
    unterminated.
    )r   ll_fz_copy_optionvalr  maxlens      r   r  r    s     ##Cv66r#   c                 2    t        j                  | |||      S )z0Low-level wrapper for `::fz_copy_pixmap_rect()`.)r   ll_fz_copy_pixmap_rectr  r  r`  r  s       r   r  r    s    ((sAzBBr#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_copy_rectangle()`.
    Return a newly allocated UTF-8 string with the text for a given
    selection rectangle.

    crlf: If true, write "\r\n" style line endings (otherwise "\n"
    only).
    )r   ll_fz_copy_rectangler'
  r  crlfs      r   r  r    s     &&tT488r#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_copy_selection()`.
    Return a newly allocated UTF-8 string with the text for a given
    selection.

    crlf: If true, write "\r\n" style line endings (otherwise "\n"
    only).
    )r   ll_fz_copy_selectionr'
  r  r  r!  s       r   r#  r#    s     &&tQ488r#   c                 ,    t        j                  |       S )zo
    Low-level wrapper for `::fz_count_active_separations()`.
    Return the number of active separations.
    )r   ll_fz_count_active_separationsr  s    r   r&  r&    s    
 0066r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_count_archive_entries()`.
    Number of entries in archive.

    Will always return a value >= 0.

    May throw an exception if this type of archive cannot count the
    entries (such as a directory).
    )r   ll_fz_count_archive_entriesr  s    r   r(  r(    s     --d33r#   c                 .    t        j                  | |      S )z|
    Low-level wrapper for `::fz_count_chapter_pages()`.
    Return the number of pages in a chapter.
    May return 0.
    )r   ll_fz_count_chapter_pagesrO   r$
  s     r   r*  r*    s     ++C99r#   c                 ,    t        j                  |       S )z{
    Low-level wrapper for `::fz_count_chapters()`.
    Return the number of chapters in the document.
    At least 1.
    )r   ll_fz_count_chaptersrN   s    r   r-  r-         &&s++r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_count_pages()`.
    Return the number of pages in document

    May return 0 for documents with no pages.
    )r   ll_fz_count_pagesrN   s    r   r0  r0         ##C((r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::fz_count_separations()`.)r   ll_fz_count_separationsrL  s    r   r3  r3        ))#..r#   c                 0    t        j                  | ||      S )zV
    Low-level wrapper for `::fz_create_link()`.
    Create a new link on a page.
    )r   ll_fz_create_linkr'
  r  r"  s      r   r7  r7    s    
 ##D$44r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_currentpoint()`.
    Return the current point that a path has
    reached or (0,0) if empty.

    path: path to return the current point of.
    )r   ll_fz_currentpointr  s    r   r:  r:         $$T**r#   c           	      8    t        j                  | ||||||      S )a  
    Low-level wrapper for `::fz_curveto()`.
    Append a 'curveto' command to an open path. (For a
    cubic bezier).

    path: The path to modify.

    x0, y0: The coordinates of the first control point for the
    curve.

    x1, y1: The coordinates of the second control point for the
    curve.

    x2, y2: The end coordinates for the curve.

    Throws exceptions on failure to allocate, or attempting to
    modify a packed path.
    )r   ll_fz_curvetor  r  r  r  r  x2y2s          r   r=  r=    s!    & b"b"b"==r#   c                 4    t        j                  | ||||      S )a  
    Low-level wrapper for `::fz_curvetov()`.
    Append a 'curvetov' command to an open path. (For a
    cubic bezier with the first control coordinate equal to
    the start point).

    path: The path to modify.

    x1, y1: The coordinates of the second control point for the
    curve.

    x2, y2: The end coordinates for the curve.

    Throws exceptions on failure to allocate, or attempting to
    modify a packed path.
    )r   ll_fz_curvetovr  r  r  r?  r@  s        r   rB  rB  %  s    "   r2r266r#   c                 4    t        j                  | ||||      S )a  
    Low-level wrapper for `::fz_curvetoy()`.
    Append a 'curvetoy' command to an open path. (For a
    cubic bezier with the second control coordinate equal to
    the end point).

    path: The path to modify.

    x0, y0: The coordinates of the first control point for the
    curve.

    x2, y2: The end coordinates for the curve (and the second
    control coordinate).

    Throws exceptions on failure to allocate, or attempting to
    modify a packed path.
    )r   ll_fz_curvetoyr  r  r  r?  r@  s        r   rE  rE  8  s    $   r2r266r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_debug_store()`.
    Output debugging information for the current state of the store
    to the given output channel.
    )r   ll_fz_debug_storerl  s    r   rH  rH  L       ##C((r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_debug_xml()`.
    Pretty-print an XML tree to stdout. (Deprecated, use
    fz_output_xml in preference).
    )r   ll_fz_debug_xmlr{  levels     r   rL  rL  T  s     !!$..r#   c                 .    t        j                  | |      S )z+Low-level wrapper for `::fz_decode_tile()`.)r   ll_fz_decode_tiler\  r  s     r   rP  rP  \  s    ##C00r#   c                 ,    t        j                  |       S )a  
     Low-level wrapper for `::fz_decode_uri()`.
    Return a new string representing the unencoded version of the given URI.
    This decodes all escape sequences except those that would result in a reserved
    character that are part of the URI syntax (; / ? : @ & = + $ , #).
    )r   ll_fz_decode_urir;  s    r   rS  rS  `  s     ""1%%r#   c                 ,    t        j                  |       S )z
     Low-level wrapper for `::fz_decode_uri_component()`.
    Return a new string representing the unencoded version of the given URI component.
    This decodes all escape sequences!
    )r   ll_fz_decode_uri_componentr;  s    r   rU  rU  i       ,,Q//r#   c                 6    t        j                  | |||||      S )a  
     Low-level wrapper for `::fz_decomp_image_from_stream()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_decomp_image_from_stream(::fz_stream *stm, ::fz_compressed_image *image, ::fz_irect *subarea, int indexed, int l2factor)` => `(fz_pixmap *, int l2extra)`

    	Decode a subarea of a compressed image. l2factor is the amount
    	of subsampling inbuilt to the stream (i.e. performed by the
    	decoder). If non NULL, l2extra is the extra amount of
    	subsampling that should be performed by this routine. This will
    	be updated on exit to the amount of subsampling that is still
    	required to be done.

    	Returns a kept reference.
    )r   ll_fz_decomp_image_from_streamr  r  subareaindexedl2factorl2extras         r   rX  rX  q  s       00eWgxY`aar#   c                 .    t        j                  | |      S )z3Low-level wrapper for `::fz_decouple_type3_font()`.)r   ll_fz_decouple_type3_fontr  r  s     r   r_  r_    s    ++D%88r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::fz_default_cmyk()`.)r   ll_fz_default_cmykr  s    r   rb  rb    s    $$Z00r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_default_error_callback()`.
    FIXME: Better not to expose fz_default_error_callback, and
    fz_default_warning callback and to allow 'NULL' to be used
    int fz_set_xxxx_callback to mean "defaults".

    FIXME: Do we need/want functions like
    fz_error_callback(ctx, message) to allow callers to inject
    stuff into the error/warning streams?

    The default error callback. Declared publicly just so that the
    error callback can be set back to this after it has been
    overridden.
    )r   ll_fz_default_error_callbackr  r2  s     r   re  re    s     ..tW==r#   c                 ,    t        j                  |       S )aE  
    Low-level wrapper for `::fz_default_gray()`.
    Retrieve default colorspaces (typically page local).

    If default_cs is non NULL, the default is retrieved from there,
    otherwise the global default is retrieved.

    These return borrowed references that should not be dropped,
    unless they are kept first.
    )r   ll_fz_default_grayrc  s    r   rh  rh    s     $$Z00r#   c                 ,    t        j                  |       S )aW  
    Low-level wrapper for `::fz_default_halftone()`.
    Create a 'default' halftone structure
    for the given number of components.

    num_comps: The number of components to use.

    Returns a simple default halftone. The default halftone uses
    the same halftone tile for each plane, which may not be ideal
    for all purposes.
    )r   ll_fz_default_halftone	num_compss    r   rj  rj    s     ((33r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::fz_default_output_intent()`.)r   ll_fz_default_output_intentrc  s    r   rn  rn    s    --j99r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::fz_default_rgb()`.)r   ll_fz_default_rgbrc  s    r   rp  rp    s    ##J//r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_default_warning_callback()`.
    The default warning callback. Declared publicly just so that
    the warning callback can be set back to this after it has been
    overridden.
    )r   ll_fz_default_warning_callbackrf  s     r   rr  rr         00w??r#   c                  *    t        j                         S )a  
    Low-level wrapper for `::fz_defer_reap_end()`.
    Decrement the defer reap count.

    If the defer reap count returns to 0, and the store
    has reapable objects in, a reap pass will begin.

    Call this at the end of a process during which you
    potentially might drop many reapable objects.

    It is vital that every fz_defer_reap_start is matched
    by a fz_defer_reap_end call.
    )r   ll_fz_defer_reap_endr$   r#   r   ru  ru    s     &&((r#   c                  *    t        j                         S )a  
    Low-level wrapper for `::fz_defer_reap_start()`.
    Increment the defer reap count.

    No reap operations will take place (except for those
    triggered by an immediate failed malloc) until the
    defer reap count returns to 0.

    Call this at the start of a process during which you
    potentially might drop many reapable objects.

    It is vital that every fz_defer_reap_start is matched
    by a fz_defer_reap_end call.
    )r   ll_fz_defer_reap_startr$   r#   r   rw  rw    s     ((**r#   c                 4    t        j                  | ||||      S )a  
     Low-level wrapper for `::fz_deflate()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_deflate(unsigned char *dest, const unsigned char *source, size_t source_length, ::fz_deflate_level level)` => size_t compressed_length

    	Compress source_length bytes of data starting
    	at source, into a buffer of length *destLen, starting at dest.
    compressed_length will be updated on exit to contain the size
    	actually used.
    )r   ll_fz_deflater  compressed_lengthr  source_lengthrN  s        r   ry  ry    s     &7PUVVr#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_deflate_bound()`.
    Returns the upper bound on the
    size of flated data of length size.
    )r   ll_fz_deflate_boundr   s    r   r~  r~    s     %%d++r#   c                 .    t        j                  | |      S )z\
    Low-level wrapper for `::fz_delete_link()`.
    Delete an existing link on a page.
    )r   ll_fz_delete_linkr'
  links     r   r  r    s    
 ##D$//r#   c                 0    t        j                  | ||      S )z-Low-level wrapper for `::fz_deskew_pixmap()`.)r   ll_fz_deskew_pixmapr  degreesborders      r   r  r    s    %%c7F;;r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_detach_xml()`.
    Detach a node from the tree, unlinking it from its parent,
    and setting the document root to the node.
    )r   ll_fz_detach_xmlnodes    r   r  r  
       ""4((r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::fz_detect_document()`.)r   ll_fz_detect_documentr  r  s     r   r  r    s    ''44r#   c                  *    t        j                         S )z*Low-level wrapper for `::fz_device_bgr()`.)r   ll_fz_device_bgrr$   r#   r   r  r        ""$$r#   c                  *    t        j                         S )z+Low-level wrapper for `::fz_device_cmyk()`.)r   ll_fz_device_cmykr$   r#   r   r  r    s    ##%%r#   c                 ,    t        j                  |       S )zz
    Low-level wrapper for `::fz_device_current_scissor()`.
    Find current scissor region as tracked by the device.
    )r   ll_fz_device_current_scissorr  s    r   r  r        
 ..s33r#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_device_gray()`.
    Retrieve global default colorspaces.

    These return borrowed references that should not be dropped,
    unless they are kept first.
    )r   ll_fz_device_grayr$   r#   r   r  r  %       ##%%r#   c                  *    t        j                         S )z*Low-level wrapper for `::fz_device_lab()`.)r   ll_fz_device_labr$   r#   r   r  r  /  r  r#   c                  *    t        j                         S )z*Low-level wrapper for `::fz_device_rgb()`.)r   ll_fz_device_rgbr$   r#   r   r  r  3  r  r#   c                 0    t        j                  | ||      S )zb
    Low-level wrapper for `::fz_dirname()`.
    extract the directory component from a path.
    )r   ll_fz_dirnamer
  r  dirsizes      r   r  r  7  s    
 T733r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_disable_device_hints()`.
    Disable (clear) hint bits within the hint bitfield for a device.
    )r   ll_fz_disable_device_hintsrT  ry	  s     r   r  r  >      
 ,,S%88r#   c                  *    t        j                         S )z^
    Low-level wrapper for `::fz_disable_icc()`.
    Disable icc profile based operation.
    )r   ll_fz_disable_iccr$   r#   r   r  r  E      
 ##%%r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_display_list_is_empty()`.
    Check for a display list being empty

    list: The list to check.

    Returns true if empty, false otherwise.
    )r   ll_fz_display_list_is_emptyr  s    r   r  r  L       --d33r#   c                 .    t        j                  | |      S )zR
    Low-level wrapper for `::fz_div255()`.
    Undo alpha premultiplication.
    )r   ll_fz_div255r  r  s     r   r  r  W      
 q!$$r#   c                  *    t        j                         S )z)Low-level wrapper for `::fz_do_always()`.)r   ll_fz_do_alwaysr$   r#   r   r  r  ^      !!##r#   c                  *    t        j                         S )z(Low-level wrapper for `::fz_do_catch()`.)r   ll_fz_do_catchr$   r#   r   r  r  b        ""r#   c                  *    t        j                         S )z&Low-level wrapper for `::fz_do_try()`.)r   ll_fz_do_tryr$   r#   r   r  r  f        r#   c                 4    t        j                  | ||||      S )z
     Low-level wrapper for `::fz_document_handler_open()`.  Helper for calling `fz_document_handler::open` function pointer via
    Swig from Python/C#.
    )r   ll_fz_document_handler_openr  streamaccelr
  recognize_states        r   r  r  j  s    
 --gvuc?[[r#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::fz_document_handler_recognize()`.  Helper for calling a `fz_document_handler::recognize` function
    pointer via Swig from Python/C#.
    )r    ll_fz_document_handler_recognizer  magics     r   r  r  q  s    
 227EBBr#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_document_output_intent()`.
    Find the output intent colorspace if the document has defined
    one.

    Returns a borrowed reference that should not be dropped, unless
    it is kept first.
    )r   ll_fz_document_output_intentrN   s    r   r  r  x  s     ..s33r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_document_supports_accelerator()`.
    Query if the document supports the saving of accelerator data.
    )r   #ll_fz_document_supports_acceleratorrN   s    r   r  r    s    
 55c::r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_dom_add_attribute()`.
    Add an attribute to an element.

    Ownership of att and value remain with the caller.
    )r   ll_fz_dom_add_attributeeltattr    s      r   r  r    s     ))#sE::r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_dom_append_child()`.
    Insert an element as the last child of a parent, unlinking the
    child from its current position if required.
    )r   ll_fz_dom_append_childr
  childs     r   r  r    s     ((77r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_dom_attribute()`.
    Retrieve the value of a given attribute from a given element.

    Returns a borrowed pointer to the value or NULL if not found.
    )r   ll_fz_dom_attributer  r  s     r   r  r         %%c3//r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_dom_body()`.
    Return a borrowed reference for the 'body' element of
    the given DOM.
    )r   ll_fz_dom_bodydoms    r   r  r           %%r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_dom_clone()`.
    Clone an element (and its children).

    A borrowed reference to the clone is returned. The clone is not
    yet linked into the DOM.
    )r   ll_fz_dom_cloner  s    r   r  r         !!#&&r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_dom_create_element()`.
    Create an element of a given tag type for the given DOM.

    The element is not linked into the DOM yet.
    )r   ll_fz_dom_create_elementr  tags     r   r  r    s     **344r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_dom_create_text_node()`.
    Create a text node for the given DOM.

    The element is not linked into the DOM yet.
    )r   ll_fz_dom_create_text_noder  r
  s     r   r  r    s     ,,S$77r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_dom_document_element()`.
    Return a borrowed reference for the document (the top
    level element) of the DOM.
    )r   ll_fz_dom_document_elementr  s    r   r  r         ,,S11r#   c                 2    t        j                  | |||      S )a-  
    Low-level wrapper for `::fz_dom_find()`.
    Find the first element matching the requirements in a depth first traversal from elt.

    The tagname must match tag, unless tag is NULL, when all tag names are considered to match.

    If att is NULL, then all tags match.
    Otherwise:
    	If match is NULL, then only nodes that have an att attribute match.
    	If match is non-NULL, then only nodes that have an att attribute that matches match match.

    Returns NULL (if no match found), or a borrowed reference to the first matching element.
    )r   ll_fz_dom_findr  r  r  matchs       r   r  r    s       c366r#   c                 2    t        j                  | |||      S )zl
    Low-level wrapper for `::fz_dom_find_next()`.
    Find the next element matching the requirements.
    )r   ll_fz_dom_find_nextr  s       r   r  r    s    
 %%c3U;;r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_dom_first_child()`.
    Return a borrowed reference to the first child of a node,
    or NULL if there isn't one.
    )r   ll_fz_dom_first_childr  s    r   r  r         '',,r#   c                 0    t        j                  | ||      S )aG  
     Low-level wrapper for `::fz_dom_get_attribute()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_dom_get_attribute(::fz_xml *elt, int i)` => `(const char *, const char *att)`

    	Enumerate through the attributes of an element.

    	Call with i=0,1,2,3... to enumerate attributes.

    	On return *att and the return value will be NULL if there are not
    	that many attributes to read. Otherwise, *att will be filled in
    	with a borrowed pointer to the attribute name, and the return
    	value will be a borrowed pointer to the value.
    )r   ll_fz_dom_get_attributer  r   r  s      r   r  r    s      ))#q#66r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_dom_insert_after()`.
    Insert an element (new_elt), after another element (node),
    unlinking the new_elt from its current position if required.
    )r   ll_fz_dom_insert_afterr  new_elts     r   r  r    s     ((w77r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_dom_insert_before()`.
    Insert an element (new_elt), before another element (node),
    unlinking the new_elt from its current position if required.
    )r   ll_fz_dom_insert_beforer  s     r   r  r  	  s     ))$88r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_dom_next()`.
    Return a borrowed reference to the next sibling of a node,
    or NULL if there isn't one.
    )r   ll_fz_dom_nextr  s    r   r  r    r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_dom_parent()`.
    Return a borrowed reference to the parent of a node,
    or NULL if there isn't one.
    )r   ll_fz_dom_parentr  s    r   r  r         ""3''r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_dom_previous()`.
    Return a borrowed reference to the previous sibling of a node,
    or NULL if there isn't one.
    )r   ll_fz_dom_previousr  s    r   r  r  !  rw  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_dom_remove()`.
    Remove an element from the DOM. The element can be added back elsewhere
    if required.

    No reference counting changes for the element.
    )r   ll_fz_dom_remover  s    r   r  r  )       ""3''r#   c                 .    t        j                  | |      S )zg
    Low-level wrapper for `::fz_dom_remove_attribute()`.
    Remove an attribute from an element.
    )r   ll_fz_dom_remove_attributer  s     r   r  r  3  s    
 ,,S#66r#   c                 0    t        j                  | ||      S )z*Low-level wrapper for `::fz_draw_story()`.)r   ll_fz_draw_storystoryrT  rW  s      r   r  r  :  s    ""5#s33r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_archive()`.
    Drop a reference to an archive.

    When the last reference is dropped, this closes and releases
    any memory or filehandles associated with the archive.
    )r   ll_fz_drop_archiver  s    r   r  r  >  r;  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_band_writer()`.
    Drop the reference to the band writer, causing it to be
    destroyed.

    Never throws an exception.
    )r   ll_fz_drop_band_writerr  s    r   r  r  H  s     ((00r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_bitmap()`.
    Drop a reference to the bitmap. When the reference count reaches
    zero, the bitmap will be destroyed.

    Never throws exceptions.
    )r   ll_fz_drop_bitmaprS  s    r   r  r  R       ##C((r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_buffer()`.
    Drop a reference to the buffer. When the reference count reaches
    zero, the buffer is destroyed.

    Never throws exceptions.
    )r   ll_fz_drop_bufferr{  s    r   r  r  \  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_colorspace()`.
    Drops a reference to the colorspace.

    When the reference count reaches zero, the colorspace is
    destroyed.
    )r   ll_fz_drop_colorspacer  s    r   r  r  f  s     ''
33r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::fz_drop_colorspace_imp()`.)r   ll_fz_drop_colorspace_imp)cs_s    r   r  r  p      ++C00r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_compressed_buffer()`.
    Drop a reference to a compressed buffer. Destroys the buffer
    and frees any storage/other references held by it.

    Never throws exceptions.
    )r   ll_fz_drop_compressed_bufferr{  s    r   r  r  t       ..s33r#   c                  *    t        j                         S )a|  
    Low-level wrapper for `::fz_drop_context()`.
    Free a context and its global state.

    The context and all of its global state is freed, and any
    buffered warnings are flushed (see fz_flush_warnings). If NULL
    is passed in nothing will happen.

    Must not be called for a context that is being used in an active
    fz_try(), fz_always() or fz_catch() block.
    )r   ll_fz_drop_contextr$   r#   r   r  r  ~  s     $$&&r#   c                 ,    t        j                  |       S )aB  
    Low-level wrapper for `::fz_drop_default_colorspaces()`.
    Drop a reference to the default colorspaces structure. When the
    reference count reaches 0, the references it holds internally
    to the underlying colorspaces will be dropped, and the structure
    will be destroyed.

    Never throws exceptions.
    )r   ll_fz_drop_default_colorspacesrc  s    r   r!  r!    s     00<<r#   c                 ,    t        j                  |       S )aA  
    Low-level wrapper for `::fz_drop_device()`.
    Reduce the reference count on a device. When the reference count
    reaches zero, the device and its resources will be freed.
    Don't forget to call fz_close_device before dropping the device,
    or you may get incomplete output!

    Never throws exceptions.
    )r   ll_fz_drop_devicer  s    r   r#  r#         ##C((r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_drop_display_list()`.
    Decrement the reference count for a display list. When the
    reference count reaches zero, all the references in the display
    list itself are dropped, and the display list is freed.

    Never throws exceptions.
    )r   ll_fz_drop_display_listr  s    r   r&  r&         ))$//r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_document()`.
    Decrement the document reference count. When the reference
    count reaches 0, the document and all it's references are
    freed.

    Never throws exceptions.
    )r   ll_fz_drop_documentrN   s    r   r)  r)    s     %%c**r#   c                 ,    t        j                  |       S )a@  
    Low-level wrapper for `::fz_drop_document_writer()`.
    Called to discard a fz_document_writer.
    This may be called at any time during the process to release all
    the resources owned by the writer.

    Calling drop without having previously called close may leave
    the file in an inconsistent state.
    )r   ll_fz_drop_document_writerr  s    r   r+  r+         ,,S11r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_font()`.
    Drop a reference to a fz_font, destroying the
    font when the last reference is dropped.

    font: The font to drop a reference to.
    )r   ll_fz_drop_fontr  s    r   r.  r.    rM  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::fz_drop_function()`.)r   ll_fz_drop_functionfuncs    r   r1  r1        %%d++r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_glyph()`.
    Drop a reference and free a glyph.

    Decrement the reference count for the glyph. When no
    references remain the glyph will be freed.
    )r   ll_fz_drop_glyphr[  s    r   r6  r6    r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_halftone()`.
    Drop a reference to the halftone. When the reference count
    reaches zero, the halftone is destroyed.

    Never throws exceptions.
    )r   ll_fz_drop_halftone)hts    r   r8  r8    s     %%b))r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_hash_table()`.
    Destroy the hash table.

    Values are dropped using the drop function.
    )r   ll_fz_drop_hash_table)rz  s    r   r;  r;         ''..r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_image()`.
    Decrement the (normal) reference count for an image. When the
    total (normal + key) reference count reaches zero, the image and
    its resources are freed.

    Never throws exceptions.
    )r   ll_fz_drop_imager  s    r   r>  r>    s     ""5))r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_image_base()`.
    Internal destructor for the base image class members.

    Exposed to allow derived image classes to be written.
    )r   ll_fz_drop_image_baser  s    r   r@  r@    r<  r#   c                 ,    t        j                  |       S )zr
    Low-level wrapper for `::fz_drop_image_imp()`.
    Internal destructor exposed for fz_store integration.
    )r   ll_fz_drop_image_impr  s    r   rB  rB    s    
 &&u--r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_drop_image_store_key()`.
    Decrement the store key reference count for an image. When the
    total (normal + key) reference count reaches zero, the image and
    its resources are freed.

    Never throws exceptions.
    )r   ll_fz_drop_image_store_keyr  s    r   rD  rD         ,,U33r#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::fz_drop_imp()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_drop_imp(void *p)` => `(int, int refs)`
    )r   ll_fz_drop_impr  r  s     r   rG  rG           D))r#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::fz_drop_imp16()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_drop_imp16(void *p)` => `(int, int16_t refs)`
    )r   ll_fz_drop_imp16rH  s     r   rK  rK          ""1d++r#   c                 .    t        j                  | |      S )z)Low-level wrapper for `::fz_drop_imp8()`.)r   ll_fz_drop_imp8rH  s     r   rN  rN  )      !!!T**r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_jbig2_globals()`.
    Decrement the reference count for a jbig2 globals record.
    When the reference count hits zero, the record is freed.

    Never throws an exception.
    )r   ll_fz_drop_jbig2_globalsglobalss    r   rQ  rQ  -  s     **733r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_jbig2_globals_imp()`.
    Special jbig2 globals drop function for use in implementing
    store support.
    )r   ll_fz_drop_jbig2_globals_imprR  s    r   rU  rU  7  s     ..w77r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_drop_key_storable()`.
    Decrement the (normal) reference count for a storable object.
    When the total reference count hits zero, the drop function for
    that object is called to free the object.

    Never throws exceptions.
    )r   ll_fz_drop_key_storabler  s    r   rW  rW  ?  s     ))%00r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_drop_key_storable_key()`.
    Decrement the (key) reference count for a storable object.
    When the total reference count hits zero, the drop function for
    that object is called to free the object.

    Never throws exceptions.
    )r   ll_fz_drop_key_storable_keyr  s    r   rY  rY  J  s     --e44r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_layout()`.
    Drop layout block. Free the pool, and linked blocks.

    Never throws exceptions.
    )r   ll_fz_drop_layout)rE  s    r   r[  r[  U  s     ##E**r#   c                 ,    t        j                  |       S )aO  
    Low-level wrapper for `::fz_drop_link()`.
    Decrement the reference count for a link. When the reference
    count reaches zero, the link is destroyed.

    When a link is freed, the reference for any linked link (next)
    is dropped too, thus an entire linked list of fz_link's can be
    freed by just dropping the head.
    )r   ll_fz_drop_linkr  s    r   r]  r]  ^       !!$''r#   c                 ,    t        j                  |       S )aT  
    Low-level wrapper for `::fz_drop_outline()`.
    Decrements the reference count. When the reference point
    reaches zero, the outline is freed.

    When freed, it will drop linked	outline entries (next and down)
    too, thus a whole outline structure can be dropped by dropping
    the top entry.

    Never throws exceptions.
    )r   ll_fz_drop_outlineoutlines    r   ra  ra  j       $$W--r#   c                 ,    t        j                  |       S )z^
    Low-level wrapper for `::fz_drop_outline_iterator()`.
    Drop the current iterator.
    )r   ll_fz_drop_outline_iteratoriters    r   rf  rf  x      
 --d33r#   c                 ,    t        j                  |       S )zp
    Low-level wrapper for `::fz_drop_output()`.
    Free an output stream. Don't forget to close it first!
    )r   ll_fz_drop_outputr  s    r   rk  rk        
 ##E**r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_page()`.
    Decrements the reference count for the page. When the reference
    count hits 0, the page and its references are freed.

    Never throws exceptions.
    )r   ll_fz_drop_pager  s    r   rn  rn    rM  r#   c                 ,    t        j                  |       S )a_  
    Low-level wrapper for `::fz_drop_path()`.
    Decrement the reference count. When the reference count hits
    zero, free the path.

    All paths can be dropped, regardless of their packing type.
    Packed paths do not own the blocks into which they are packed
    so dropping them does not free those blocks.

    Never throws exceptions.
    )r   ll_fz_drop_pathr  s    r   rp  rp         !!$''r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_pixmap()`.
    Decrement the reference count for the pixmap. When the
    reference count hits 0, the pixmap is freed.

    Never throws exceptions.
    )r   ll_fz_drop_pixmapr[  s    r   rs  rs    r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_pool()`.
    Drop a pool, freeing and invalidating all storage returned from
    the pool.
    )r   ll_fz_drop_poolrW
  s    r   ru  ru    s     !!$''r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_separations()`.
    Decrement the reference count for a separations structure.
    When the reference count hits zero, the separations structure
    is freed.

    Never throws exceptions.
    )r   ll_fz_drop_separationsr4  s    r   rx  rx    s     ((--r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_shade()`.
    Decrement the reference count for the shade structure. When
    the reference count hits zero, the structure is freed.

    Never throws exceptions.
    )r   ll_fz_drop_shader  s    r   rz  rz         ""5))r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::fz_drop_shade_color_cache()`.)r   ll_fz_drop_shade_color_cache)caches    r   r~  r~        ..u55r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_shade_imp()`.
    Internal function to destroy a
    shade. Only exposed for use with the fz_store.

    shade: The reference to destroy.
    )r   ll_fz_drop_shade_impr{  s    r   r  r    s     &&u--r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::fz_drop_stext_page()`.)r   ll_fz_drop_stext_pager  s    r   r  r    rn  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_storable()`.
    Decrement the reference count for a storable object. When the
    reference count hits zero, the drop function for that object
    is called to free the object.

    Never throws exceptions.
    )r   ll_fz_drop_storabler  s    r   r  r         %%e,,r#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_drop_store_context()`.
    Decrement the reference count for the store context. When the
    reference count hits zero, the store context is freed.

    Never throws exceptions.
    )r   ll_fz_drop_store_contextr$   r#   r   r  r         **,,r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::fz_drop_story()`.)r   ll_fz_drop_storyr
  s    r   r  r        ""5))r#   c                 ,    t        j                  |       S )ad  
    Low-level wrapper for `::fz_drop_stream()`.
    Decrements the reference count for a stream.

    When the reference count for the stream hits zero, frees the
    storage used for the fz_stream itself, and (usually)
    releases the underlying resources that the stream is based upon
    (depends on the method used to open the stream initially).
    )r   ll_fz_drop_streamr  s    r   r  r    r$  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::fz_drop_string()`.)r   ll_fz_drop_stringr  s    r   r  r        ##C((r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_stroke_state()`.
    Drop a reference to a stroke state structure, destroying the
    structure if it is the last reference.
    )r   ll_fz_drop_stroke_stater  s    r   r  r     r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_text()`.
    Decrement the reference count for the text object. When the
    reference count hits zero, the text object is freed.

    Never throws exceptions.
    )r   ll_fz_drop_textr
  s    r   r  r    rM  r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_drop_tree()`.
    Drop the tree.

    The storage used by the tree is freed, and each value has
    dropfunc called on it.
    )r   ll_fz_drop_tree)r  dropfuncs     r   r  r    s     !!$11r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_xml()`.
    Drop a reference to the XML. When the last reference is
    dropped, the node and all its children and siblings will
    be freed.
    )r   ll_fz_drop_xmlxmls    r   r  r           %%r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_drop_zip_writer()`.
    Drop the reference to the zipfile.

    In common with other 'drop' methods, this will never throw an
    exception.
    )r   ll_fz_drop_zip_writerr  s    r   r  r  %       '',,r#   c                 ,    t        j                  |       S )zo
    Low-level wrapper for `::fz_dump_glyph_cache_stats()`.
    Dump debug statistics for the glyph cache.
    )r   ll_fz_dump_glyph_cache_statsrI  s    r   r  r  /  r  r#   c                 ,    t        j                  |       S )zBLow-level wrapper for `::fz_duplicate_glyph_names_from_unicode()`.)r   (ll_fz_duplicate_glyph_names_from_unicodeunicodes    r   r  r  6  s    ::7CCr#   c                  *    t        j                         S )zZ
    Low-level wrapper for `::fz_empty_store()`.
    Evict every item from the store.
    )r   ll_fz_empty_storer$   r#   r   r  r  :  r  r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_enable_device_hints()`.
    Enable (set) hint bits within the hint bitfield for a device.
    )r   ll_fz_enable_device_hintsr  s     r   r  r  A  s    
 ++C77r#   c                  *    t        j                         S )z\
    Low-level wrapper for `::fz_enable_icc()`.
    Enable icc profile based operation.
    )r   ll_fz_enable_iccr$   r#   r   r  r  H  s    
 ""$$r#   c                 .    t        j                  | |      S )a6  
    Low-level wrapper for `::fz_encode_character()`.
    Find the glyph id for a given unicode
    character within a font.

    font: The font to look for the unicode character in.

    unicode: The unicode character to encode.

    Returns the glyph id for the given unicode value, or 0 if
    unknown.
    )r   ll_fz_encode_characterr  r  s     r   r  r  O  s     ((w77r#   c                 .    t        j                  | |      S )a)  
    Low-level wrapper for `::fz_encode_character_by_glyph_name()`.
    Encode character.

    Either by direct lookup of glyphname within a font, or, failing
    that, by mapping glyphname to unicode and thence to the glyph
    index within the given font.

    Returns zero for type3 fonts.
    )r   $ll_fz_encode_character_by_glyph_namer  	glyphnames     r   r  r  ^  s     66tYGGr#   c                 .    t        j                  | |      S )a4  
    Low-level wrapper for `::fz_encode_character_sc()`.
    Encode character, preferring small-caps variant if available.

    font: The font to look for the unicode character in.

    unicode: The unicode character to encode.

    Returns the glyph id for the given unicode value, or 0 if
    unknown.
    )r   ll_fz_encode_character_scr  s     r   r  r  k  s     ++D'::r#   c                 4    t        j                  | ||||      S )a  
     Low-level wrapper for `::fz_encode_character_with_fallback()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_encode_character_with_fallback(::fz_font *font, int unicode, int script, int language, ::fz_font **out_font)` => `(int)`

    	Find the glyph id for
    	a given unicode character within a font, falling back to
    	an alternative if not found.

    	font: The font to look for the unicode character in.

    	unicode: The unicode character to encode.

    	script: The script in use.

    	language: The language in use.

    	out_font: The font handle in which the given glyph represents
    	the requested unicode character. The caller does not own the
    	reference it is passed, so should call fz_keep_font if it is
    	not simply to be used immediately.

    	Returns the glyph id for the given unicode value in the supplied
    	font (and sets *out_font to font) if it is present. Otherwise
    	an alternative fallback font (based on script/language) is
    	searched for. If the glyph is found therein, *out_font is set
    	to this reference, and the glyph reference is returned. If it
    	cannot be found anywhere, the function returns 0.
    )r   $ll_fz_encode_character_with_fallbackr  r  scriptr0	  out_fonts        r   r  r  y  s    > 66tWfhX`aar#   c                 ,    t        j                  |       S )z
     Low-level wrapper for `::fz_encode_uri()`.
    Return a new string representing the provided string encoded as a URI.
    )r   ll_fz_encode_urir;  s    r   r  r        
 ""1%%r#   c                 ,    t        j                  |       S )z
     Low-level wrapper for `::fz_encode_uri_component()`.
    Return a new string representing the provided string encoded as an URI component.
    This also encodes the special reserved characters (; / ? : @ & = + $ , #).
    )r   ll_fz_encode_uri_componentr;  s    r   r  r    rV  r#   c                 ,    t        j                  |       S )z
     Low-level wrapper for `::fz_encode_uri_pathname()`.
    Return a new string representing the provided string encoded as an URI path name.
    This also encodes the special reserved characters except /.
    )r   ll_fz_encode_uri_pathnamer;  s    r   r  r         ++A..r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::fz_end_group()`.)r   ll_fz_end_groupr  s    r   r  r        !!#&&r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::fz_end_layer()`.)r   ll_fz_end_layerr  s    r   r  r    r  r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::fz_end_mask()`.)r   ll_fz_end_maskr  s    r   r  r          %%r#   c                 .    t        j                  | |      S )z+Low-level wrapper for `::fz_end_mask_tr()`.)r   ll_fz_end_mask_trrT  fns     r   r  r    s    ##C,,r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::fz_end_metatext()`.)r   ll_fz_end_metatextr  s    r   r  r        $$S))r#   c                 ,    t        j                  |       S )zu
    Low-level wrapper for `::fz_end_page()`.
    Called to end the process of writing a page to a
    document.
    )r   ll_fz_end_pager  s    r   r  r    r  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::fz_end_structure()`.)r   ll_fz_end_structurer  s    r   r  r        %%c**r#   c                  *    t        j                         S )z3Low-level wrapper for `::fz_end_throw_on_repair()`.)r   ll_fz_end_throw_on_repairr$   r#   r   r  r        ++--r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::fz_end_tile()`.)r   ll_fz_end_tiler  s    r   r  r    r  r#   c                 0    t        j                  | ||      S )zd
    Low-level wrapper for `::fz_enumerate_font_cmap()`.
    Enumerate a cmap using a callback.
    )r   ll_fz_enumerate_font_cmapr  cbrt  s      r   r  r    s    
 ++D"f==r#   c                 ,    t        j                  |       S )ziLow-level wrapper for `::fz_enumerate_font_cmap2()`.  SWIG-friendly wrapper for fz_enumerate_font_cmap().)r   ll_fz_enumerate_font_cmap2r/  s    r   r  r    r  r#   c                 ,    t        j                  |       S )a  
     Low-level wrapper for `::fz_error_callback()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_error_callback()` => `(fz_error_cb *, void *user)`

    	Retrieve the currently set error callback, or NULL if none
    	has been set. Optionally, if user is non-NULL, the user pointer
    	given when the warning callback was set is also passed back to
    	the caller.
    )r   ll_fz_error_callbackr  s    r   r  r         &&t,,r#   c                 4    t        j                  | ||||      S )z
     Low-level wrapper for `::fz_eval_function()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_eval_function(::fz_function *func, const float *in, int inlen, int outlen)` => float out
    )r   ll_fz_eval_functionr3  r?  inlenrl  outlens        r   r  r    s     %%dCVDDr#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::fz_expand_irect()`.)r   ll_fz_expand_irectr  expands     r   r  r    s    $$Q//r#   c                 .    t        j                  | |      S )zl
    Low-level wrapper for `::fz_expand_rect()`.
    Expand a bbox by a given amount in all directions.
    )r   ll_fz_expand_rectr  r  s     r   r  r    s    
 ##Av..r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::fz_extract_ttf_from_ttc()`.)r   ll_fz_extract_ttf_from_ttcr/  s    r   r  r     r  r#   c                 ,    t        j                  |       S )zo
    Low-level wrapper for `::fz_file_exists()`.
    Return true if the named file exists and is readable.
    )r   ll_fz_file_existsr  s    r   r  r  
       
 ##D))r#   c                 4    t        j                  | ||||      S )z*Low-level wrapper for `::fz_fill_image()`.)r   ll_fz_fill_imagerT  r  rW  rA  r  s        r   r  r         ""3sE<HHr#   c           	      8    t        j                  | ||||||      S )z/Low-level wrapper for `::fz_fill_image_mask()`.)r   ll_fz_fill_image_maskrT  r  rW  r  colorrA  r  s          r   r  r     s     ''UCUES_``r#   c           
      :    t        j                  | |||||||      S )zi
    Low-level wrapper for `::fz_fill_path()`.
    Device calls; graphics primitives and containers.
    )r   ll_fz_fill_pathrT  r  rj  rW  r  r  rA  r  s           r   r  r     s$    
 !!#tXsJuVbccr#   c                 0    t        j                  | ||      S )z=Low-level wrapper for `::fz_fill_pixmap_from_display_list()`.)r   #ll_fz_fill_pixmap_from_display_listr  rW  r\  s      r   r  r      s    55dCEEr#   c                 2    t        j                  | |||      S )a(  
     Low-level wrapper for `::fz_fill_pixmap_with_color()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_fill_pixmap_with_color(::fz_pixmap *pix, ::fz_colorspace *colorspace, ::fz_color_params color_params)` => float color

    	Fill pixmap with solid color.
    )r   ll_fz_fill_pixmap_with_colorr\  r  r  r  s       r   r  r  $   s     ..sJ|TTr#   c                 4    t        j                  | ||||      S )z*Low-level wrapper for `::fz_fill_shade()`.)r   ll_fz_fill_shaderT  r  rW  rA  r  s        r   r  r  /   r  r#   c           	      8    t        j                  | ||||||      S )z)Low-level wrapper for `::fz_fill_text()`.)r   ll_fz_fill_textrT  r
  rW  r  r  rA  r  s          r   r  r  3   s    !!#tS*eULYYr#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_filter_store()`.
    Filter every element in the store with a matching type with the
    given function.

    If the function returns 1 for an element, drop the element.
    )r   ll_fz_filter_storer  r  r   s      r   r  r  7   s     $$Rd33r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_find_item()`.
    Find an item within the store.

    drop: The function used to free the value (to ensure we get a
    value of the correct type).

    key: The key used to index the item.

    type: Functions used to manipulate the key.

    Returns NULL for not found, otherwise returns a pointer to the
    value indexed by key to which a reference has been taken.
    )r   ll_fz_find_itemr  rk  r   s      r   r  r  A   s     !!$T22r#   c                 ,    t        j                  |       S )zP
    Low-level wrapper for `::fz_flush_output()`.
    Flush unwritten data.
    )r   ll_fz_flush_outputrI  s    r   r  r  R       
 $$S))r#   c                  *    t        j                         S )a  
    Low-level wrapper for `::fz_flush_warnings()`.
    Flush any repeated warnings.

    Repeated warnings are buffered, counted and eventually printed
    along with the number of repetitions. Call fz_flush_warnings
    to force printing of the latest buffered warning and the
    number of repetitions, for example to make sure that all
    warnings are printed before exiting an application.
    )r   ll_fz_flush_warningsr$   r#   r   r  r  Y   s     &&((r#   c                 ,    t        j                  |       S )zZ
    Low-level wrapper for `::fz_font_ascender()`.
    Retrieve font ascender in ems.
    )r   ll_fz_font_ascenderr/  s    r   r  r  f       
 %%d++r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_font_bbox()`.
    Retrieve the font bbox.

    font: The font to query.

    Returns the font bbox by value; it is valid only if
    fz_font_flags(font)->invalid_bbox is zero.
    )r   ll_fz_font_bboxr/  s    r   r"  r"  m   r_  r#   c                 ,    t        j                  |       S )z\
    Low-level wrapper for `::fz_font_descender()`.
    Retrieve font descender in ems.
    )r   ll_fz_font_descenderr/  s    r   r$  r$  y       
 &&t,,r#   c                 .    t        j                  | |      S )zf
    Low-level wrapper for `::fz_font_digest()`.
    Retrieve the MD5 digest for the font's data.
    )r   ll_fz_font_digestr  r  s     r   r'  r'     s    
 ##D&11r#   c                 ,    t        j                  |       S )a	  
    Low-level wrapper for `::fz_font_flags()`.
    Retrieve a pointer to the font flags
    for a given font. These can then be updated as required.

    font: The font to query

    Returns a pointer to the flags structure (or NULL, if
    the font is NULL).
    )r   ll_fz_font_flagsr/  s    r   r*  r*          ""4((r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_font_ft_face()`.
    Retrieve the FT_Face handle
    for the font.

    font: The font to query

    Returns the FT_Face handle for the font, or NULL
    if not a freetype handled font. (Cast to void *
    to avoid nasty header exposure).
    )r   ll_fz_font_ft_facer/  s    r   r-  r-     s     $$T**r#   c                 ,    t        j                  |       S )zs
    Low-level wrapper for `::fz_font_is_bold()`.
    Query whether the font flags say that this font is bold.
    )r   ll_fz_font_is_boldr/  s    r   r/  r/         
 $$T**r#   c                 ,    t        j                  |       S )zw
    Low-level wrapper for `::fz_font_is_italic()`.
    Query whether the font flags say that this font is italic.
    )r   ll_fz_font_is_italicr/  s    r   r2  r2     r%  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_font_is_monospaced()`.
    Query whether the font flags say that this font is monospaced.
    )r   ll_fz_font_is_monospacedr/  s    r   r4  r4     r  r#   c                 ,    t        j                  |       S )zu
    Low-level wrapper for `::fz_font_is_serif()`.
    Query whether the font flags say that this font is serif.
    )r   ll_fz_font_is_serifr/  s    r   r6  r6     r   r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_font_name()`.
    Retrieve a pointer to the name of the font.

    font: The font to query.

    Returns a pointer to an internal copy of the font name.
    Will never be NULL, but may be the empty string.
    )r   ll_fz_font_namer/  s    r   r8  r8     r_  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_font_shaper_data()`.
    Retrieve a pointer to the shaper data
    structure for the given font.

    font: The font to query.

    Returns a pointer to the shaper data structure (or NULL if
    font is NULL).
    )r   ll_fz_font_shaper_datar/  s    r   r:  r:          ((..r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_font_t3_procs()`.
    Retrieve the Type3 procs
    for a font.

    font: The font to query

    Returns the t3_procs pointer. Will be NULL for a
    non type-3 font.
    )r   ll_fz_font_t3_procsr/  s    r   r=  r=          %%d++r#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::fz_format_double()`.  Swig-friendly and typesafe way to do fz_snprintf(fmt, value). `fmt`
    must end with one of 'efg' otherwise we throw an exception.
    )r   ll_fz_format_doublefmtr    s     r   r@  r@         
 %%c511r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_format_link_uri()`.
    Format an internal link to a page number, location, and possible viewing parameters,
    suitable for use with fz_create_link.

    Returns a newly allocated string that the caller must free.
    )r   ll_fz_format_link_urirO   r  s     r   rE  rE     s     ''T22r#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_format_output_path()`.
    create output file name using a template.

    If the path contains %[0-9]*d, the first such pattern will be
    replaced with the page number. If the template does not contain
    such a pattern, the page number will be inserted before the
    filename extension. If the template does not have a filename
    extension, the page number will be added to the end.
    )r   ll_fz_format_output_pathr  r   rB  r'
  s       r   rH  rH     s     **4sDAAr#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_free()`.
    Free a previously allocated block of memory.

    fz_free(ctx, NULL) does nothing.

    Never throws exceptions.
    )r   
ll_fz_freer  s    r   rK  rK  !  s     Qr#   c                 ,    t        j                  |       S )zz
    Low-level wrapper for `::fz_free_aligned()`.
    fz_free equivalent, for blocks allocated via fz_malloc_aligned.
    )r   ll_fz_free_alignedrL  s    r   rN  rN  !      
 $$Q''r#   c                  *    t        j                         S )z'Low-level wrapper for `::fz_ft_lock()`.)r   ll_fz_ft_lockr$   r#   r   rQ  rQ  !      !!r#   c                  *    t        j                         S )z,Low-level wrapper for `::fz_ft_lock_held()`.)r   ll_fz_ft_lock_heldr$   r#   r   rT  rT  !  r/  r#   c                  *    t        j                         S )z)Low-level wrapper for `::fz_ft_unlock()`.)r   ll_fz_ft_unlockr$   r#   r   rV  rV  !  r  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::fz_function_size()`.)r   ll_fz_function_sizer2  s    r   rX  rX   !  r4  r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_gamma_pixmap()`.
    Apply gamma correction to a pixmap. All components
    of all pixels are modified (except alpha, which is unchanged).

    gamma: The gamma value to apply; 1.0 for no change.
    )r   ll_fz_gamma_pixmapr\  gammas     r   rZ  rZ  $!  s     $$S%00r#   c                 4    t        j                  | ||||      S )aQ  
    Low-level wrapper for `::fz_generate_transition()`.
    Generate a frame of a transition.

    tpix: Target pixmap
    opix: Old pixmap
    npix: New pixmap
    time: Position within the transition (0 to 256)
    trans: Transition details

    Returns 1 if successfully generated a frame.

    Note: Pixmaps must include alpha.
    )r   ll_fz_generate_transitiontpixopixnpixtimetranss        r   r^  r^  .!  s     ++D$dEJJr#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_get_glyph_name()`.
    Find the name of a glyph

    font: The font to look for the glyph in.

    glyph: The glyph id to look for.

    buf: Pointer to a buffer for the name to be inserted into.

    size: The size of the buffer.

    If a font contains a name table, then the name of the glyph
    will be returned in the supplied buffer. Otherwise a name
    is synthesised. The name will be truncated to fit in
    the buffer.
    )r   ll_fz_get_glyph_namer  r[  rb  r   s       r   rf  rf  ?!  s    $ &&tUC>>r#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::fz_get_glyph_name2()`.
    C++ alternative to fz_get_glyph_name() that returns information in a std::string.
    )r   ll_fz_get_glyph_name2r  r[  s     r   ri  ri  S!      
 ''e44r#   c                 4    t        j                  | ||||      S )a`  
     Low-level wrapper for `::fz_get_pixmap_from_image()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_get_pixmap_from_image(::fz_image *image, const ::fz_irect *subarea, ::fz_matrix *ctm)` => `(fz_pixmap *, int w, int h)`

    	Called to get a handle to a pixmap from an image.

    	image: The image to retrieve a pixmap from.

    	subarea: The subarea of the image that we actually care about
    	(or NULL to indicate the whole image).

    	ctm: Optional, unless subarea is given. If given, then on
    	entry this is the transform that will be applied to the complete
    	image. It should be updated on exit to the transform to apply to
    	the given subarea of the image. This is used to calculate the
    	desired width/height for subsampling.

    	w: If non-NULL, a pointer to an int to be updated on exit to the
    	width (in pixels) that the scaled output will cover.

    	h: If non-NULL, a pointer to an int to be updated on exit to the
    	height (in pixels) that the scaled output will cover.

    	Returns a non NULL kept pixmap pointer. May throw exceptions.
    )r   ll_fz_get_pixmap_from_imager  rZ  rW  r7  r:  s        r   rm  rm  Z!  s    8 --eWc1aHHr#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_get_unscaled_pixmap_from_image()`.
    Calls fz_get_pixmap_from_image() with ctm, subarea, w and h all set to NULL.
    )r   $ll_fz_get_unscaled_pixmap_from_imager  s    r   rp  rp  x!  s    
 66u==r#   c                 0    t        j                  | ||      S )a  
     Low-level wrapper for `::fz_getopt()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_getopt(int nargc, const char *ostr)` => `(int, char *nargv)`

    	Identical to fz_getopt_long, but with a NULL longopts field, signifying no long
    	options.
    )r   ll_fz_getoptnargcnargvostrs      r   rr  rr  !  s     ueT22r#   c                 2    t        j                  | |||      S )a  
     Low-level wrapper for `::fz_getopt_long()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_getopt_long(int nargc, const char *ostr, const ::fz_getopt_long_options *longopts)` => `(int, char *nargv)`

    	Simple functions/variables for use in tools.

    	ostr = option string. Comprises single letter options, followed by : if there
    	is an argument to the option.

    	longopts: NULL (indicating no long options), or a pointer to an array of
    	longoptions, terminated by an entry with option == NULL.

    	In the event of matching a single char option, this function will normally
    	return the char. The exception to this is when the option requires an
    	argument and none is supplied; in this case we return ':'.

    	In the event of matching a long option, this function returns 0, with fz_optlong
    	set to point to the matching option.

    	A long option entry may be followed with : to indicate there is an argument to the
    	option. If the need for an argument is specified in this way, and no argument is
    	given, an error will be displayed and argument processing will stop. If an argument
    	is given, and the long option record contains a non-null flag pointer, then the code
    	will decode the argument and fill in that flag pointer. Specifically,
    	case-insensitive matches to 'yes', 'no', 'true' and 'false' will cause a value of 0
    	or 1 as appropriate to be written; failing this the arg will be interpreted as a
    	decimal integer using atoi.

    	A long option entry may be followed by an list of options (e.g. myoption=foo|bar|baz)
    	and the option will be passed to fz_opt_from_list. The return value of that will be
    	placed in fz_optitem. If the return value of that function is -1, then an error will
    	be displayed and argument processing will stop.

    	In the event of reaching the end of the arg list or '--', this function returns EOF.

    	In the event of failing to match anything, an error is printed, and we return '?'.

    	If an argument is expected for the option, then fz_optarg will be returned pointing
    	at the start of the argument. Examples of supported argument formats: '-r500', '-r 500',
    	'--resolution 500', '--resolution=500'.
    )r   ll_fz_getopt_longrt  ru  rv  longoptss       r   rx  rx  !  s    X ##E5$AAr#   c                 ,    t        j                  |       S )zh
    Low-level wrapper for `::fz_glyph_bbox()`.
    Return the bounding box of the glyph in pixels.
    )r   ll_fz_glyph_bboxr[  s    r   r|  r|  !  s    
 ""5))r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::fz_glyph_bbox_no_ctx()`.)r   ll_fz_glyph_bbox_no_ctxr  s    r   r  r  !  r5  r#   c                 .    t        j                  | |      S )ak  
    Low-level wrapper for `::fz_glyph_cacheable()`.
    Determine if a given glyph in a font
    is cacheable. Certain glyphs in a type 3 font cannot safely
    be cached, as their appearance depends on the enclosing
    graphic state.

    font: The font to look for the glyph in.

    gif: The glyph to query.

    Returns non-zero if cacheable, 0 if not.
    )r   ll_fz_glyph_cacheabler  r	  s     r   r  r  !  s     ''c22r#   c                 ,    t        j                  |       S )zd
    Low-level wrapper for `::fz_glyph_height()`.
    Return the height of the glyph in pixels.
    )r   ll_fz_glyph_heightr}  s    r   r  r  !  r  r#   c                 ,    t        j                  |       S )z:Low-level wrapper for `::fz_glyph_name_from_unicode_sc()`.)r    ll_fz_glyph_name_from_unicode_scr  s    r   r  r  !      227;;r#   c                 ,    t        j                  |       S )zb
    Low-level wrapper for `::fz_glyph_width()`.
    Return the width of the glyph in pixels.
    )r   ll_fz_glyph_widthr}  s    r   r  r  !  rl  r#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_graphics_aa_level()`.
    Get the number of bits of antialiasing we are
    using for graphics. Between 0 and 8.
    )r   ll_fz_graphics_aa_levelr$   r#   r   r  r  !  s     ))++r#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_graphics_min_line_width()`.
    Get the minimum line width to be
    used for stroked lines.

    min_line_width: The minimum line width to use (in pixels).
    )r   ll_fz_graphics_min_line_widthr$   r#   r   r  r  !  s     //11r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_gridfit_matrix()`.
    Grid fit a matrix.

    as_tiled = 0 => adjust the matrix so that the image of the unit
    square completely covers any pixel that was touched by the
    image of the unit square under the original matrix.

    as_tiled = 1 => adjust the matrix so that the corners of the
    image of the unit square align with the closest integer corner
    of the image of the unit square under the original matrix.
    )r   ll_fz_gridfit_matrixas_tiledrW	  s     r   r  r  !  s     &&x33r#   c                 0    t        j                  | ||      S )z
     Low-level wrapper for `::fz_grisu()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_grisu(float f, char *s)` => `(int, int exp)`
    )r   ll_fz_grisur  r<  exps      r   r  r  "  s     aC((r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_grow_buffer()`.
    Make some space within a buffer (i.e. ensure that
    capacity > size).
    )r   ll_fz_grow_bufferr{  s    r   r  r  "  rJ  r#   c                 .    t        j                  | |      S )a$  
    Low-level wrapper for `::fz_has_archive_entry()`.
    Check if entry by given name exists.

    If named entry does not exist 0 will be returned, if it does
    exist 1 is returned.

    name: Entry name to look for, this must be an exact match to
    the entry name in the archive.
    )r   ll_fz_has_archive_entryr  r   s     r   r  r  "  s     ))$55r#   c                 0    t        j                  | ||      S )aT  
     Low-level wrapper for `::fz_has_option()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_has_option(const char *opts, const char *key)` => `(int, const char *val)`

    	Look for a given option (key) in the opts string. Return 1 if
    	it has it, and update *val to point to the value within opts.
    )r   ll_fz_has_optionoptsrk  r  s      r   r  r  %"  s     ""4c22r#   c                 .    t        j                  | |      S )z`
    Low-level wrapper for `::fz_has_permission()`.
    Check permission flags on document.
    )r   ll_fz_has_permissionrO   r  s     r   r  r  1"      
 &&sA..r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_hash_filter()`.
    Iterate over the entries in a hash table, removing all the ones where callback returns true.
    Does NOT free the value of the entry, so the caller is expected to take care of this.
    )r   ll_fz_hash_filterrz  r  r  s      r   r  r  8"  s     ##E5(;;r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_hash_find()`.
    Search for a matching hash within the table, and return the
    associated value.
    )r   ll_fz_hash_findrz  rk  s     r   r  r  @"  s     !!%--r#   c                 0    t        j                  | ||      S )ze
    Low-level wrapper for `::fz_hash_for_each()`.
    Iterate over the entries in a hash table.
    )r   ll_fz_hash_for_eachr  s      r   r  r  H"  s    
 %%eUH==r#   c                 0    t        j                  | ||      S )ay  
    Low-level wrapper for `::fz_hash_insert()`.
    Insert a new key/value pair into the hash table.

    If an existing entry with the same key is found, no change is
    made to the hash table, and a pointer to the existing value is
    returned.

    If no existing entry with the same key is found, ownership of
    val passes in, key is copied, and NULL is returned.
    )r   ll_fz_hash_insertrz  rk  r  s      r   r  r  O"  s     ##E344r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_hash_remove()`.
    Remove the entry for a given key.

    The value is NOT freed, so the caller is expected to take care
    of this.
    )r   ll_fz_hash_remover  s     r   r  r  ]"  s     ##E3//r#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_hb_lock()`.
    Lock against Harfbuzz being called
    simultaneously in several threads. This reuses
    FZ_LOCK_FREETYPE.
    )r   ll_fz_hb_lockr$   r#   r   r  r  g"  s     !!r#   c                  *    t        j                         S )zw
    Low-level wrapper for `::fz_hb_unlock()`.
    Unlock after a Harfbuzz call. This reuses
    FZ_LOCK_FREETYPE.
    )r   ll_fz_hb_unlockr$   r#   r   r  r  p"  s     !!##r#   c                 4    t        j                  | ||||      S )z
    Low-level wrapper for `::fz_highlight_selection()`.
    Return a list of quads to highlight lines inside the selection
    points.
    )r   ll_fz_highlight_selectionr'
  r  r  quads	max_quadss        r   r  r  x"  s     ++D!QyIIr#   c                 2    t        j                  | |||      S )z
     Low-level wrapper for `::fz_highlight_selection2()`.
    C++ alternative to fz_highlight_selection() that returns quads in a
    std::vector.
    )r   ll_fz_highlight_selection2r'
  r  r  r  s       r   r  r  "  s     ,,T1aCCr#   c                  *    t        j                         S )z,Low-level wrapper for `::fz_ignore_error()`.)r   ll_fz_ignore_errorr$   r#   r   r  r  "  r/  r#   c                 0    t        j                  | ||      S )z+Low-level wrapper for `::fz_ignore_text()`.)r   ll_fz_ignore_textrT  r
  rW  s      r   r  r  "  s    ##Cs33r#   c                 ,    t        j                  |       S )a}  
    Low-level wrapper for `::fz_image_orientation()`.
    Request the natural orientation of an image.

    This is for images (such as JPEG) that can contain internal
    specifications of rotation/flips. This is ignored by all the
    internal decode/rendering routines, but can be used by callers
    (such as the image document handler) to respect such
    specifications.

    The values used by MuPDF are as follows, with the equivalent
    Exif specifications given for information:

    0: Undefined
    1: 0 degree ccw rotation. (Exif = 1)
    2: 90 degree ccw rotation. (Exif = 8)
    3: 180 degree ccw rotation. (Exif = 3)
    4: 270 degree ccw rotation. (Exif = 6)
    5: flip on X. (Exif = 2)
    6: flip on X, then rotate ccw by 90 degrees. (Exif = 5)
    7: flip on X, then rotate ccw by 180 degrees. (Exif = 4)
    8: flip on X, then rotate ccw by 270 degrees. (Exif = 7)
    )r   ll_fz_image_orientationr  s    r   r  r  "  s    0 ))%00r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::fz_image_orientation_matrix()`.)r   ll_fz_image_orientation_matrixr  s    r   r  r  "      0077r#   c                 0    t        j                  | ||      S )a  
     Low-level wrapper for `::fz_image_resolution()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_image_resolution(::fz_image *image)` => `(int xres, int yres)`

    	Request the natural resolution
    	of an image.

    	xres, yres: Pointers to ints to be updated with the
    	natural resolution of an image (or a sensible default
    	if not encoded).
    )r   ll_fz_image_resolutionr  rL  rO  s      r   r  r  "  s     ((d;;r#   c                 ,    t        j                  |       S )zi
    Low-level wrapper for `::fz_image_size()`.
    Return the size of the storage used by an image.
    )r   ll_fz_image_sizeims    r   r  r  "  s    
 ""2&&r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_image_type_name()`.
    Map from FZ_IMAGE_* value to string.

    The returned string is static and therefore must not be freed.
    )r   ll_fz_image_type_namer   s    r   r  r  "  s     ''--r#   c                 .    t        j                  | |      S )a   
    Low-level wrapper for `::fz_include_point_in_rect()`.
    Expand a bbox to include a given point.
    To create a rectangle that encompasses a sequence of points, the
    rectangle must first be set to be the empty rectangle at one of
    the points before including the others.
    )r   ll_fz_include_point_in_rectr`  r  s     r   r  r  "  s     --a33r#   c                 .    t        j                  | |      S )z1Low-level wrapper for `::fz_init_text_decoder()`.)r   ll_fz_init_text_decoderdecrM  s     r   r  r  "  s    ))#x88r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_install_load_system_font_funcs()`.
    Install functions to allow MuPDF to request fonts from the
    system.

    Only one set of hooks can be in use at a time.
    )r   $ll_fz_install_load_system_font_funcsr  r'  r*  s      r   r  r  "  s     66q%LLr#   c                 ,    t        j                  |       S )z
     Low-level wrapper for `::fz_install_load_system_font_funcs2()`.
    Alternative to fz_install_load_system_font_funcs() that takes args in a
    struct, to allow use from Python/C# via Swig Directors.
    )r   %ll_fz_install_load_system_font_funcs2rQ   s    r   r  r  "       77==r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::fz_int2_heap_insert()`.)r   ll_fz_int2_heap_insertheaprK   s     r   r  r  "  s    ((q11r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::fz_int2_heap_sort()`.)r   ll_fz_int2_heap_sortr  s    r   r  r  "      &&t,,r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::fz_int2_heap_uniq()`.)r   ll_fz_int2_heap_uniqr  s    r   r  r  "  r  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::fz_int_heap_insert()`.)r   ll_fz_int_heap_insertr  s     r   r  r  "      ''a00r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::fz_int_heap_sort()`.)r   ll_fz_int_heap_sortr  s    r   r  r  "  r4  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::fz_int_heap_uniq()`.)r   ll_fz_int_heap_uniqr  s    r   r  r  #  r4  r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_intersect_irect()`.
    Compute intersection of two bounding boxes.

    Similar to fz_intersect_rect but operates on two bounding
    boxes instead of two rectangles.
    )r   ll_fz_intersect_irectr  s     r   r  r  #  s     ''1--r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_intersect_rect()`.
    Compute intersection of two rectangles.

    Given two rectangles, update the first to be the smallest
    axis-aligned rectangle that covers the area covered by both
    given rectangles. If either rectangle is empty then the
    intersection is also empty. If either rectangle is infinite
    then the intersection is simply the non-infinite rectangle.
    Should both rectangles be infinite, then the intersection is
    also infinite.
    )r   ll_fz_intersect_rectr  s     r   r  r  #  s     &&q!,,r#   c                 .    t        j                  | |      S )z2Low-level wrapper for `::fz_intptr_heap_insert()`.)r   ll_fz_intptr_heap_insertr  s     r   r  r  #  s    **433r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::fz_intptr_heap_sort()`.)r   ll_fz_intptr_heap_sortr  s    r   r  r  ##      ((..r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::fz_intptr_heap_uniq()`.)r   ll_fz_intptr_heap_uniqr  s    r   r  r  '#  r  r#   c                 ,    t        j                  |       S )zh
    Low-level wrapper for `::fz_invert_bitmap()`.
    Invert bitmap.

    Never throws exceptions.
    )r   ll_fz_invert_bitmapbmps    r   r  r  +#       %%c**r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_invert_matrix()`.
    Create an inverse matrix.

    matrix: Matrix to invert. A degenerate matrix, where the
    determinant is equal to zero, can not be inverted and the
    original matrix is returned instead.

    Returns inverse.
    )r   ll_fz_invert_matrixr  s    r   r   r   4#  s     %%f--r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_invert_pixmap()`.
    Invert all the pixels in a pixmap. All components (process and
    spots) of all pixels are inverted (except alpha, which is
    unchanged).
    )r   ll_fz_invert_pixmapr[  s    r   r  r  A#  r  r#   c                 ,    t        j                  |       S )zq
    Low-level wrapper for `::fz_invert_pixmap_alpha()`.
    Invert the alpha fo all the pixels in a pixmap.
    )r   ll_fz_invert_pixmap_alphar[  s    r   r  r  J#      
 ++C00r#   c                 ,    t        j                  |       S )aZ  
    Low-level wrapper for `::fz_invert_pixmap_luminance()`.
    Transform the pixels in a pixmap so that luminance of each
    pixel is inverted, and the chrominance remains unchanged (as
    much as accuracy allows).

    All components of all pixels are inverted (except alpha, which
    is unchanged). Only supports Grey and RGB bitmaps.
    )r   ll_fz_invert_pixmap_luminancer[  s    r   r  r  Q#  s     //44r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_invert_pixmap_raw()`.
    Invert all the pixels in a non-premultiplied pixmap in a
    very naive manner.
    )r   ll_fz_invert_pixmap_rawr[  s    r   r
  r
  ]#       ))#..r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_invert_pixmap_rect()`.
    Invert all the pixels in a given rectangle of a (premultiplied)
    pixmap. All components of all pixels in the rectangle are
    inverted (except alpha, which is unchanged).
    )r   ll_fz_invert_pixmap_rectr  r  s     r   r  r  e#  s     **5$77r#   c                 ,    t        j                  |       S )am  
    Low-level wrapper for `::fz_irect_from_rect()`.
    Convert a rect into the minimal bounding box
    that covers the rectangle.

    Coordinates in a bounding box are integers, so rounding of the
    rects coordinates takes place. The top left corner is rounded
    upwards and left while the bottom right corner is rounded
    downwards and to the right.
    )r   ll_fz_irect_from_rectr  s    r   r  r  n#  s     ''--r#   c                 ,    t        j                  |       S )zr
    Low-level wrapper for `::fz_irect_height()`.
    Return the height of an irect. Invalid irects return 0.
    )r   ll_fz_irect_heightr`  s    r   r  r  {#  rO  r#   c                 ,    t        j                  |       S )zp
    Low-level wrapper for `::fz_irect_width()`.
    Return the width of an irect. Invalid irects return 0.
    )r   ll_fz_irect_widthr  s    r   r  r  #      
 ##A&&r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_is_cfb_archive()`.
    Detect if stream object is a cfb archive.

    Assumes that the stream object is seekable.
    )r   ll_fz_is_cfb_archiver  s    r   r  r  #       &&t,,r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_is_directory()`.
    Determine if a given path is a directory.

    In the case of the path not existing, or having no access
    we will return 0.
    )r   ll_fz_is_directoryr  s    r   r  r  #  r;  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_is_document_reflowable()`.
    Is the document reflowable.

    Returns 1 to indicate reflowable documents, otherwise 0.
    )r   ll_fz_is_document_reflowablerN   s    r   r  r  #       ..s33r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::fz_is_empty_irect()`.)r   ll_fz_is_empty_irectr  s    r   r"  r"  #  s    &&q))r#   c                 ,    t        j                  |       S )zL
    Low-level wrapper for `::fz_is_empty_quad()`.
    Is a quad empty?
    )r   ll_fz_is_empty_quadqs    r   r$  r$  #      
 %%a((r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_is_empty_rect()`.
    Check if rectangle is empty.

    An empty rectangle is defined as one whose area is zero.
    All invalid rectangles are empty.
    )r   ll_fz_is_empty_rectr  s    r   r)  r)  #  s     %%a((r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_is_eof()`.
    Query if the stream has reached EOF (during normal bytewise
    reading).

    See fz_is_eof_bits for the equivalent function for bitwise
    reading.
    )r   ll_fz_is_eofr  s    r   r+  r+  #       s##r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_is_eof_bits()`.
    Query if the stream has reached EOF (during bitwise
    reading).

    See fz_is_eof for the equivalent function for bytewise
    reading.
    )r   ll_fz_is_eof_bitsr  s    r   r.  r.  #       ##C((r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_is_external_link()`.
    Query whether a link is external to a document (determined by
    uri containing a ':', intended to match with '://' which
    separates the scheme from the scheme specific parts in URIs).
    )r   ll_fz_is_external_linkr"  s    r   r1  r1  #  s     ((--r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::fz_is_identity()`.)r   ll_fz_is_identityrW	  s    r   r4  r4  #      ##A&&r#   c                 ,    t        j                  |       S )zn
    Low-level wrapper for `::fz_is_infinite_irect()`.
    Check if an integer rectangle
    is infinite.
    )r   ll_fz_is_infinite_irectr  s    r   r8  r8  #       ))!,,r#   c                 ,    t        j                  |       S )zR
    Low-level wrapper for `::fz_is_infinite_quad()`.
    Is a quad infinite?
    )r   ll_fz_is_infinite_quadr%  s    r   r;  r;  #      
 ((++r#   c                 ,    t        j                  |       S )z^
    Low-level wrapper for `::fz_is_infinite_rect()`.
    Check if rectangle is infinite.
    )r   ll_fz_is_infinite_rectr  s    r   r>  r>  #  r<  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_is_libarchive_archive()`.
    Detect if stream object is an archive supported by libarchive.

    Assumes that the stream object is seekable.
    )r   ll_fz_is_libarchive_archiver  s    r   r@  r@  #       --d33r#   c                 ,    t        j                  |       S )z
     Low-level wrapper for `::fz_is_page_range()`.
    	Check and parse string into page ranges:
    ,?(-?+|N)(-(-?+|N))?/
    )r   ll_fz_is_page_ranger;  s    r   rC  rC  #  s     %%a((r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_is_pixmap_monochrome()`.
    Check if the pixmap is a 1-channel image containing samples with
    only values 0 and 255
    )r   ll_fz_is_pixmap_monochromer  s    r   rE  rE  $  s     ,,V44r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_is_point_inside_irect()`.
    Inclusion test for irects. (Rect is assumed to be open, i.e.
    top right corner is not included).
    )r   ll_fz_is_point_inside_irectrF   r  r`  s      r   rH  rH  $  s     --aA66r#   c                 .    t        j                  | |      S )z\
    Low-level wrapper for `::fz_is_point_inside_quad()`.
    Inclusion test for quads.
    )r   ll_fz_is_point_inside_quadr  r&  s     r   rK  rK  $  s    
 ,,Q22r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_is_point_inside_rect()`.
    Inclusion test for rects. (Rect is assumed to be open, i.e.
    top right corner is not included).
    )r   ll_fz_is_point_inside_rectr  r`  s     r   rN  rN  $  s     ,,Q22r#   c                 ,    t        j                  |       S )z'Low-level wrapper for `::fz_is_pow2()`.)r   ll_fz_is_pow2r
  s    r   rQ  rQ  #$      ""r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_is_quad_inside_quad()`.
    Inclusion test for quad in quad.

    This may break down if quads are not 'well formed'.
    )r   ll_fz_is_quad_inside_quadneedlehaystacks     r   rT  rT  '$  s     ++FH==r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_is_quad_intersecting_quad()`.
    Intersection test for quads.

    This may break down if quads are not 'well formed'.
    )r   ll_fz_is_quad_intersecting_quadr  s     r   rY  rY  0$  s     11!Q77r#   c                 ,    t        j                  |       S )ai  
    Low-level wrapper for `::fz_is_rectilinear()`.
    Check if a transformation is rectilinear.

    Rectilinear means that no shearing is present and that any
    rotations present are a multiple of 90 degrees. Usually this
    is used to make sure that axis-aligned rectangles before the
    transformation are still axis-aligned rectangles afterwards.
    )r   ll_fz_is_rectilinearr5  s    r   r[  r[  9$  s     &&q))r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_is_tar_archive()`.
    Detect if stream object is a tar archive.

    Assumes that the stream object is seekable.
    )r   ll_fz_is_tar_archiver  s    r   r]  r]  E$  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_is_valid_blend_colorspace()`.
    Check to see that a colorspace is appropriate to be used as
    a blending space (i.e. only grey, rgb or cmyk).
    )r   ll_fz_is_valid_blend_colorspacer  s    r   r_  r_  N$       11"55r#   c                 ,    t        j                  |       S )zd
    Low-level wrapper for `::fz_is_valid_irect()`.
    Check if an integer rectangle is valid.
    )r   ll_fz_is_valid_irectr  s    r   rb  rb  V$      
 &&q))r#   c                 ,    t        j                  |       S )zL
    Low-level wrapper for `::fz_is_valid_quad()`.
    Is a quad valid?
    )r   ll_fz_is_valid_quadr%  s    r   re  re  ]$  r'  r#   c                 ,    t        j                  |       S )zX
    Low-level wrapper for `::fz_is_valid_rect()`.
    Check if rectangle is valid.
    )r   ll_fz_is_valid_rectr  s    r   rg  rg  d$  r'  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_is_zip_archive()`.
    Detect if stream object is a zip archive.

    Assumes that the stream object is seekable.
    )r   ll_fz_is_zip_archiver  s    r   ri  ri  k$  r  r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::fz_iso8859_1_from_unicode()`.)r   ll_fz_iso8859_1_from_unicodeus    r   rk  rk  t$      ..q11r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::fz_iso8859_7_from_unicode()`.)r   ll_fz_iso8859_7_from_unicoderl  s    r   rp  rp  x$  rn  r#   c                 ,    t        j                  |       S )zt
    Low-level wrapper for `::fz_jbig2_globals_data()`.
    Return buffer containing jbig2 globals data stream.
    )r   ll_fz_jbig2_globals_datarR  s    r   rr  rr  |$  s    
 **733r#   c                 ,    t        j                  |       S )zZ
    Low-level wrapper for `::fz_keep_archive()`.
    Keep a reference to an archive.
    )r   ll_fz_keep_archiver  s    r   rt  rt  $  r0  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_bitmap()`.
    Take an additional reference to the bitmap. The same pointer
    is returned.

    Never throws exceptions.
    )r   ll_fz_keep_bitmaprS  s    r   rv  rv  $  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_buffer()`.
    Take an additional reference to the buffer. The same pointer
    is returned.

    Never throws exceptions.
    )r   ll_fz_keep_bufferr{  s    r   rx  rx  $  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_colorspace()`.
    Increment the reference count for the colorspace.

    Returns the same pointer. Never throws an exception.
    )r   ll_fz_keep_colorspacer  s    r   rz  rz  $  s     ''
33r#   c                 ,    t        j                  |       S )zq
    Low-level wrapper for `::fz_keep_compressed_buffer()`.
    Take a reference to an fz_compressed_buffer.
    )r   ll_fz_keep_compressed_buffer)cbufs    r   r|  r|  $  s    
 ..t44r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_default_colorspaces()`.
    Keep an additional reference to the default colorspaces
    structure.

    Never throws exceptions.
    )r   ll_fz_keep_default_colorspacesrc  s    r   r  r  $  s     00<<r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_device()`.
    Increment the reference count for a device. Returns the same
    pointer.

    Never throws exceptions.
    )r   ll_fz_keep_devicer  s    r   r  r  $  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_display_list()`.
    Increment the reference count for a display list. Returns the
    same pointer.

    Never throws exceptions.
    )r   ll_fz_keep_display_listr  s    r   r  r  $  s     ))$//r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_document()`.
    Increment the document reference count. The same pointer is
    returned.

    Never throws exceptions.
    )r   ll_fz_keep_documentrN   s    r   r  r  $       %%c**r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_font()`.
    Add a reference to an existing fz_font.

    font: The font to add a reference to.

    Returns the same font.
    )r   ll_fz_keep_fontr/  s    r   r  r  $       !!$''r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::fz_keep_function()`.)r   ll_fz_keep_functionr2  s    r   r  r  $  r4  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_glyph()`.
    Take a reference to a glyph.

    pix: The glyph to increment the reference for.

    Returns pix.
    )r   ll_fz_keep_glyphr[  s    r   r  r  $  s     ""3''r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_halftone()`.
    Take an additional reference to the halftone. The same pointer
    is returned.

    Never throws exceptions.
    )r   ll_fz_keep_halftone)halfs    r   r  r  $       %%d++r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_image()`.
    Increment the (normal) reference count for an image. Returns the
    same pointer.

    Never throws exceptions.
    )r   ll_fz_keep_imager  s    r   r  r  $  r|  r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_keep_image_store_key()`.
    Increment the store key reference for an image. Returns the same
    pointer. (This is the count of references for an image held by
    keys in the image store).

    Never throws exceptions.
    )r   ll_fz_keep_image_store_keyr  s    r   r  r  %  rE  r#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::fz_keep_imp()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_keep_imp(void *p)` => `(void *, int refs)`
    )r   ll_fz_keep_imprH  s     r   r  r  %  rI  r#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::fz_keep_imp16()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_keep_imp16(void *p)` => `(void *, int16_t refs)`
    )r   ll_fz_keep_imp16rH  s     r   r  r  %  rL  r#   c                 .    t        j                  | |      S )z)Low-level wrapper for `::fz_keep_imp8()`.)r   ll_fz_keep_imp8rH  s     r   r  r  !%  rO  r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::fz_keep_imp8_locked()`.)r   ll_fz_keep_imp8_lockedrH  s     r   r  r  %%  s    ((D11r#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::fz_keep_imp_locked()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_keep_imp_locked(void *p)` => `(void *, int refs)`
    )r   ll_fz_keep_imp_lockedrH  s     r   r  r  )%  s     ''400r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_jbig2_globals()`.
    Increment the reference count for a jbig2 globals record.

    Never throws an exception.
    )r   ll_fz_keep_jbig2_globalsrR  s    r   r  r  2%  s     **733r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_key_storable()`.
    Increment the (normal) reference count for a key storable
    object. Returns the same pointer.

    Never throws exceptions.
    )r   ll_fz_keep_key_storabler  s    r   r  r  ;%  s     ))%00r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_key_storable_key()`.
    Increment the (key) reference count for a key storable
    object. Returns the same pointer.

    Never throws exceptions.
    )r   ll_fz_keep_key_storable_keyr  s    r   r  r  E%  s     --e44r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_link()`.
    Increment the reference count for a link. The same pointer is
    returned.

    Never throws exceptions.
    )r   ll_fz_keep_linkr^  s    r   r  r  O%  rM  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_outline()`.
    Increment the reference count. Returns the same pointer.

    Never throws exceptions.
    )r   ll_fz_keep_outlinerb  s    r   r  r  Y%  s     $$W--r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_page()`.
    Increment the reference count for the page. Returns the same
    pointer.

    Never throws exceptions.
    )r   ll_fz_keep_pager  s    r   r  r  b%  rM  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_path()`.
    Increment the reference count. Returns the same pointer.

    All paths can be kept, regardless of their packing type.

    Never throws exceptions.
    )r   ll_fz_keep_pathr  s    r   r  r  l%  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_pixmap()`.
    Increment the reference count for the pixmap. The same pointer
    is returned.

    Never throws exceptions.
    )r   ll_fz_keep_pixmapr[  s    r   r  r  w%  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_separations()`.
    Increment the reference count for a separations structure.
    Returns the same pointer.

    Never throws exceptions.
    )r   ll_fz_keep_separationsr4  s    r   r  r  %  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_shade()`.
    Increment the reference count for the shade structure. The
    same pointer is returned.

    Never throws exceptions.
    )r   ll_fz_keep_shader{  s    r   r  r  %  r|  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_storable()`.
    Increment the reference count for a storable object.
    Returns the same pointer.

    Never throws exceptions.
    )r   ll_fz_keep_storabler  s    r   r  r  %  s     %%e,,r#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_keep_store_context()`.
    Increment the reference count for the store context. Returns
    the same pointer.

    Never throws exceptions.
    )r   ll_fz_keep_store_contextr$   r#   r   r  r  %  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_stream()`.
    Increments the reference count for a stream. Returns the same
    pointer.

    Never throws exceptions.
    )r   ll_fz_keep_streamr  s    r   r  r  %  r  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::fz_keep_string()`.)r   ll_fz_keep_stringr  s    r   r  r  %  r  r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_keep_stroke_state()`.
    Take an additional reference to a stroke state structure.

    No modifications should be carried out on a stroke
    state to which more than one reference is held, as
    this can cause race conditions.
    )r   ll_fz_keep_stroke_stater  s    r   r  r  %  s     ))&11r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_keep_text()`.
    Increment the reference count for the text object. The same
    pointer is returned.

    Never throws exceptions.
    )r   ll_fz_keep_textr  s    r   r  r  %  rM  r#   c                 ,    t        j                  |       S )zR
    Low-level wrapper for `::fz_keep_xml()`.
    Add a reference to the XML.
    )r   ll_fz_keep_xmlr  s    r   r  r  %      
   %%r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::fz_koi8u_from_unicode()`.)r   ll_fz_koi8u_from_unicoderl  s    r   r  r  %      **1--r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_last_page()`.
    Function to get the location for the last page in the document.
    Using this can be far more efficient in some cases than calling
    fz_count_pages and using the page number.
    )r   ll_fz_last_pagerN   s    r   r  r  %       !!#&&r#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_layout_document()`.
    Layout reflowable document types.

    w, h: Page size in points.
    em: Default font size in points.
    )r   ll_fz_layout_documentrO   r7  r:  ems       r   r  r  %  s     ''Q266r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_lineto()`.
    Append a 'lineto' command to an open path.

    path: The path to modify.

    x, y: The coordinate to line to.

    Throws exceptions on failure to allocate, or attempting to
    modify a packed path.
    )r   ll_fz_linetor  rF   r  s      r   r  r  %  s     tQ**r#   c                 .    t        j                  | |      S )aJ  
    Low-level wrapper for `::fz_list_archive_entry()`.
    Get listed name of entry position idx.

    idx: Must be a value >= 0 < return value from
    fz_count_archive_entries. If not in range NULL will be
    returned.

    May throw an exception if this type of archive cannot list the
    entries (such as a directory).
    )r   ll_fz_list_archive_entryr  r  s     r   r  r  %  s     **455r#   c                 0    t        j                  | ||      S )z1Low-level wrapper for `::fz_load_bmp_subimage()`.)r   ll_fz_load_bmp_subimagerb  r  subimages      r   r  r  &      ))#sH==r#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::fz_load_bmp_subimage_count()`.)r   ll_fz_load_bmp_subimage_countrb  r  s     r   r  r  
&      //S99r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_load_chapter_page()`.
    Load a page.

    After fz_load_page is it possible to retrieve the size of the
    page using fz_bound_page, or to render the page using
    fz_run_page_*. Free the page by calling fz_drop_page.

    chapter: chapter number, 0 is the first chapter of the document.
    number: page number, 0 is the first page of the chapter.
    )r   ll_fz_load_chapter_pagerO   r$
  r'
  s      r   r  r  &  s     ))#w==r#   c                 4    t        j                  | ||||      S )a&  
    Low-level wrapper for `::fz_load_fallback_font()`.
    Try to load a fallback font for the
    given combination of font attributes. Whether a font is
    present or not will depend on the configuration in which
    MuPDF is built.

    script: The script desired (e.g. UCDN_SCRIPT_KATAKANA).

    language: The language desired (e.g. FZ_LANG_ja).

    serif: 1 if serif desired, 0 otherwise.

    bold: 1 if bold desired, 0 otherwise.

    italic: 1 if italic desired, 0 otherwise.

    Returns a new font handle, or NULL if not available.
    )r   ll_fz_load_fallback_fontr  r0	  serifbolditalics        r   r  r  &  s    ( **68UD&QQr#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_load_jbig2_globals()`.
    Create a jbig2 globals record from a buffer.

    Immutable once created.
    )r   ll_fz_load_jbig2_globalsr{  s    r   r  r  2&  s     **3//r#   c                 0    t        j                  | ||      S )z3Low-level wrapper for `::fz_load_jbig2_subimage()`.)r   ll_fz_load_jbig2_subimager  s      r   r  r  ;&  s    ++Ch??r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::fz_load_jbig2_subimage_count()`.)r   ll_fz_load_jbig2_subimage_countr  s     r   r  r  ?&      11#s;;r#   c                 0    t        j                  | ||      S )zG
    Low-level wrapper for `::fz_load_jpx()`.
    Exposed for PDF.
    )r   ll_fz_load_jpxr?   r   rM  s      r   r  r  C&  s    
   tR00r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_load_links()`.
    Load the list of links for a page.

    Returns a linked list of all the links on the page, each with
    its clickable region and link destination. Each link is
    reference counted so drop and free the list of links by
    calling fz_drop_link on the pointer return from fz_load_links.

    page: Page obtained from fz_load_page.
    )r   ll_fz_load_linksr  s    r   r  r  J&  s     ""4((r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_load_outline()`.
    Load the hierarchical document outline.

    Should be freed by fz_drop_outline.
    )r   ll_fz_load_outlinerN   s    r   r  r  X&  rU  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_load_outline_from_iterator()`.
    Routine to implement the old Structure based API from an iterator.
    )r    ll_fz_load_outline_from_iteratorrg  s    r   r  r  a&      
 22488r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_load_page()`.
    Load a given page number from a document. This may be much less
    efficient than loading by location (chapter+page) for some
    document types.
    )r   ll_fz_load_pagerO   r  s     r   r  r  h&  s     !!#v..r#   c                 0    t        j                  | ||      S )z1Low-level wrapper for `::fz_load_pnm_subimage()`.)r   ll_fz_load_pnm_subimager  s      r   r  r  q&  r  r#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::fz_load_pnm_subimage_count()`.)r   ll_fz_load_pnm_subimage_countr  s     r   r  r  u&  r  r#   c                 0    t        j                  | ||      S )ak  
    Low-level wrapper for `::fz_load_system_cjk_font()`.
    Attempt to load a given font from
    the system.

    name: The name of the desired font.

    ordering: The ordering to load the font from (e.g. FZ_ADOBE_KOREA)

    serif: 1 if serif desired, 0 otherwise.

    Returns a new font handle, or NULL if no matching font was found
    (or on error).
    )r   ll_fz_load_system_cjk_fontr   orderingr  s      r   r  r  y&  s     ,,T8UCCr#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_load_system_font()`.
    Attempt to load a given font from the system.

    name: The name of the desired font.

    bold: 1 if bold desired, 0 otherwise.

    italic: 1 if italic desired, 0 otherwise.

    needs_exact_metrics: 1 if an exact metrical match is required,
    0 otherwise.

    Returns a new font handle, or NULL if no matching font was found
    (or on error).
    )r   ll_fz_load_system_fontr   r  r  needs_exact_metricss       r   r  r  &  s    " ((tV=PQQr#   c                 0    t        j                  | ||      S )z2Low-level wrapper for `::fz_load_tiff_subimage()`.)r   ll_fz_load_tiff_subimager  s      r   r  r  &  s    **3X>>r#   c                 .    t        j                  | |      S )zW
    Low-level wrapper for `::fz_load_tiff_subimage_count()`.
    Exposed for CBZ.
    )r   ll_fz_load_tiff_subimage_countr  s     r   r  r  &      
 00c::r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_load_user_css()`.
    Set the user stylesheet by loading the source from a file.
    If the file is missing, do nothing.
    )r   ll_fz_load_user_cssr  s    r   r  r  &  s     %%h//r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_location_from_page_number()`.
    Converts from page number to chapter+page. This may cause many
    chapters to be laid out in order to calculate the number of
    pages within those chapters.
    )r   ll_fz_location_from_page_numberr  s     r   r  r  &  s     11#v>>r#   c                 ,    t        j                  |       S )zY
    Low-level wrapper for `::fz_lock()`.
    Lock one of the user supplied mutexes.
    )r   
ll_fz_lockr  s    r   r  r  &      
 T""r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_log_error()`.
    Log a (preformatted) string to the registered
    error stream (stderr by default).
    )r   ll_fz_log_errorr  s    r   r  r  &       !!#&&r#   c                 .    t        j                  | |      S )a=  
     Low-level wrapper for `::fz_lookup_base14_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_lookup_base14_font(const char *name)` => `(const unsigned char *, int len)`

    	Search the builtin base14 fonts for a match.
    	Whether a given font is present or not will depend on the
    	configuration in which MuPDF is built.

    	name: The name of the font desired.

    	len: Pointer to a place to receive the length of the discovered
    	font buffer.

    	Returns a pointer to the font file data, or NULL if not present.
    )r   ll_fz_lookup_base14_fontr   r  s     r   r  r  &  s    $ **455r#   c                 ,    t        j                  |       S )zz
    Low-level wrapper for `::fz_lookup_blendmode()`.
    Map from (case sensitive) blend mode string to enumeration.
    )r   ll_fz_lookup_blendmoder  s    r   r  r  &      
 ((..r#   c                 .    t        j                  | |      S )zi
    Low-level wrapper for `::fz_lookup_bookmark()`.
    Find a bookmark and return its page number.
    )r   ll_fz_lookup_bookmarkrO   r  s     r   r  r  &  s    
 ''T22r#   c                 2    t        j                  | |||      S )a  
     Low-level wrapper for `::fz_lookup_builtin_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_lookup_builtin_font(const char *name, int bold, int italic)` => `(const unsigned char *, int len)`

    	Search the builtin fonts for a match.
    	Whether a given font is present or not will depend on the
    	configuration in which MuPDF is built.

    	name: The name of the font desired.

    	bold: 1 if bold desired, 0 otherwise.

    	italic: 1 if italic desired, 0 otherwise.

    	len: Pointer to a place to receive the length of the discovered
    	font buffer.

    	Returns a pointer to the font file data, or NULL if not present.
    )r   ll_fz_lookup_builtin_fontr   r  r  r  s       r   r   r   &  s    , ++D$DDr#   c                 0    t        j                  | ||      S )aS  
     Low-level wrapper for `::fz_lookup_cjk_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_lookup_cjk_font(int ordering)` => `(const unsigned char *, int len, int index)`

    	Search the builtin cjk fonts for a match.
    	Whether a font is present or not will depend on the
    	configuration in which MuPDF is built.

    	ordering: The desired ordering of the font (e.g. FZ_ADOBE_KOREA).

    	len: Pointer to a place to receive the length of the discovered
    	font buffer.

    	Returns a pointer to the font file data, or NULL if not present.
    )r   ll_fz_lookup_cjk_fontr   r  r   s      r   r#  r#  '  s    $ ''#u==r#   c                 0    t        j                  | ||      S )a  
     Low-level wrapper for `::fz_lookup_cjk_font_by_language()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_lookup_cjk_font_by_language(const char *lang)` => `(const unsigned char *, int len, int subfont)`

    	Search the builtin cjk fonts for a match for a given language.
    	Whether a font is present or not will depend on the
    	configuration in which MuPDF is built.

    	lang: Pointer to a (case sensitive) language string (e.g.
    	"ja", "ko", "zh-Hant" etc).

    	len: Pointer to a place to receive the length of the discovered
    	font buffer.

    	subfont: Pointer to a place to store the subfont index of the
    	discovered font.

    	Returns a pointer to the font file data, or NULL if not present.
    )r   !ll_fz_lookup_cjk_font_by_languagelangr  r  s      r   r&  r&  '  s    , 33D#wGGr#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_lookup_cjk_ordering_by_language()`.
    Return the matching FZ_ADOBE_* ordering
    for the given language tag, such as "zh-Hant", "zh-Hans", "ja", or "ko".
    )r   %ll_fz_lookup_cjk_ordering_by_languager  s    r   r*  r*  .'  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_lookup_image_type()`.
    Map from (case sensitive) image type string to FZ_IMAGE_*
    type value.
    )r   ll_fz_lookup_image_typer  s    r   r,  r,  6'  s     ))$//r#   c                 2    t        j                  | |||      S )a#  
    Low-level wrapper for `::fz_lookup_metadata()`.
    Retrieve document meta data strings.

    doc: The document to query.

    key: Which meta data key to retrieve...

    Basic information:
    	'format'	-- Document format and version.
    	'encryption'	-- Description of the encryption used.

    From the document information dictionary:
    	'info:Title'
    	'info:Author'
    	'info:Subject'
    	'info:Keywords'
    	'info:Creator'
    	'info:Producer'
    	'info:CreationDate'
    	'info:ModDate'

    buf: The buffer to hold the results (a nul-terminated UTF-8
    string).

    size: Size of 'buf'.

    Returns the number of bytes need to store the string plus terminator
    (will be larger than 'size' if the output was truncated), or -1 if the
    key is not recognized or found.
    )r   ll_fz_lookup_metadatarO   rk  rb  r   s       r   r.  r.  >'  s    @ ''S#t<<r#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::fz_lookup_metadata2()`.
    C++ alternative to `fz_lookup_metadata()` that returns a `std::string`
    or calls `fz_throw()` if not found.
    )r   ll_fz_lookup_metadata2rO   rk  s     r   r1  r1  `'  s     ((c22r#   c                 ,    t        j                  |       S )z
     Low-level wrapper for `::fz_lookup_noto_boxes_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_lookup_noto_boxes_font()` => `(const unsigned char *, int len)`
    )r   ll_fz_lookup_noto_boxes_fontr  s    r   r4  r4  h'  r   r#   c                 ,    t        j                  |       S )z
     Low-level wrapper for `::fz_lookup_noto_emoji_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_lookup_noto_emoji_font()` => `(const unsigned char *, int len)`
    )r   ll_fz_lookup_noto_emoji_fontr5  s    r   r7  r7  q'  r   r#   c                 2    t        j                  | |||      S )a  
     Low-level wrapper for `::fz_lookup_noto_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_lookup_noto_font(int script, int lang)` => `(const unsigned char *, int len, int subfont)`

    	Search the builtin noto fonts for a match.
    	Whether a font is present or not will depend on the
    	configuration in which MuPDF is built.

    	script: The script desired (e.g. UCDN_SCRIPT_KATAKANA).

    	lang: The language desired (e.g. FZ_LANG_ja).

    	len: Pointer to a place to receive the length of the discovered
    	font buffer.

    	Returns a pointer to the font file data, or NULL if not present.
    )r   ll_fz_lookup_noto_fontr  r(  r  r  s       r   r9  r9  z'  s    ( ((sGDDr#   c                 ,    t        j                  |       S )al  
     Low-level wrapper for `::fz_lookup_noto_math_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_lookup_noto_math_font()` => `(const unsigned char *, int len)`

    	Search the builtin noto fonts specific symbol fonts.
    	Whether a font is present or not will depend on the
    	configuration in which MuPDF is built.
    )r   ll_fz_lookup_noto_math_fontr5  s    r   r<  r<  '  s     --c22r#   c                 ,    t        j                  |       S )z
     Low-level wrapper for `::fz_lookup_noto_music_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_lookup_noto_music_font()` => `(const unsigned char *, int len)`
    )r   ll_fz_lookup_noto_music_fontr5  s    r   r>  r>  '  r   r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_lookup_noto_stem_from_script()`.
    Look up the Noto font file name for a given script.
    From the returned font stem, you can look for Noto fonts on the system in the form:
    	Noto(Sans|Serif)${STEM}-Regular.(otf|ttf)
    )r   "ll_fz_lookup_noto_stem_from_scriptr  r0	  s     r   r@  r@  '  s     44VXFFr#   c                 ,    t        j                  |       S )z
     Low-level wrapper for `::fz_lookup_noto_symbol1_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_lookup_noto_symbol1_font()` => `(const unsigned char *, int len)`
    )r   ll_fz_lookup_noto_symbol1_fontr5  s    r   rC  rC  '       0055r#   c                 ,    t        j                  |       S )z
     Low-level wrapper for `::fz_lookup_noto_symbol2_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_lookup_noto_symbol2_font()` => `(const unsigned char *, int len)`
    )r   ll_fz_lookup_noto_symbol2_fontr5  s    r   rF  rF  '  rD  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_lookup_rendering_intent()`.
    Map from (case sensitive) rendering intent string to enumeration
    value.
    )r   ll_fz_lookup_rendering_intentr  s    r   rH  rH  '  s     //55r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_make_bookmark()`.
    Create a bookmark for the given page, which can be used to find
    the same location after the document has been laid out with
    different parameters.
    )r   ll_fz_make_bookmarkrB  s     r   rJ  rJ  '  r  r#   c                 2    t        j                  | |||      S )z*Low-level wrapper for `::fz_make_irect()`.)r   ll_fz_make_irectr  r  r  r  s       r   rL  rL  '  s    ""2r2r22r#   c                  *    t        j                         S )z3Low-level wrapper for `::fz_make_link_dest_none()`.)r   ll_fz_make_link_dest_noner$   r#   r   rO  rO  '  r  r#   c                 4    t        j                  | ||||      S )z2Low-level wrapper for `::fz_make_link_dest_xyz()`.)r   ll_fz_make_link_dest_xyz)r$
  r'
  rF   r  zs        r   rQ  rQ  '  s    **7D!QBBr#   c                 .    t        j                  | |      S )z`
    Low-level wrapper for `::fz_make_location()`.
    Simple constructor for fz_locations.
    )r   ll_fz_make_locationr$
  r'
  s     r   rT  rT  '  s    
 %%gt44r#   c                 6    t        j                  | |||||      S )z+Low-level wrapper for `::fz_make_matrix()`.)r   ll_fz_make_matrixr  r  r  r  r  r  s         r   rW  rW  '  s    ##Aq!Q155r#   c                 .    t        j                  | |      S )z*Low-level wrapper for `::fz_make_point()`.)r   ll_fz_make_pointrF   r  s     r   rZ  rZ  '  s    ""1a((r#   c           
      :    t        j                  | |||||||      S )za
    Low-level wrapper for `::fz_make_quad()`.
    Inline convenience construction function.
    )r   ll_fz_make_quadul_xul_yur_xur_yll_xll_ylr_xlr_ys           r   r]  r]  '  s#    
 !!$dD$dDQQr#   c                 2    t        j                  | |||      S )z)Low-level wrapper for `::fz_make_rect()`.)r   ll_fz_make_rectrM  s       r   rh  rh  '  s    !!"b"b11r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_malloc()`.
    Allocate uninitialized memory of a given size.
    Does NOT clear the memory!

    May return NULL for size = 0.

    Throws exception in the event of failure to allocate.
    )r   ll_fz_mallocr  s    r   rj  rj  '       t$$r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_malloc_aligned()`.
    fz_malloc equivalent, except that the block is guaranteed aligned.
    Block must be freed later using fz_free_aligned.
    )r   ll_fz_malloc_alignedr   aligns     r   rm  rm  (  s     &&tU33r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_malloc_no_throw()`.
    fz_malloc equivalent that returns NULL rather than throwing
    exceptions.
    )r   ll_fz_malloc_no_throwr  s    r   rq  rq  (  s     ''--r#   c                 ,    t        j                  |       S )zj
    Low-level wrapper for `::fz_matrix_expansion()`.
    Calculate average scaling factor of matrix.
    )r   ll_fz_matrix_expansionr5  s    r   rs  rs  (  r<  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_matrix_max_expansion()`.
    Find the largest expansion performed by this matrix.
    (i.e. max(abs(m.a),abs(m.b),abs(m.c),abs(m.d))
    )r   ll_fz_matrix_max_expansionr5  s    r   ru  ru  (  rV  r#   c                 .    t        j                  | |      S )z#Low-level wrapper for `::fz_max()`.)r   	ll_fz_maxr  s     r   rw  rw  #(      Aq!!r#   c                 .    t        j                  | |      S )z$Low-level wrapper for `::fz_maxi()`.)r   
ll_fz_maxir  s     r   rz  rz  '(      Q""r#   c                 .    t        j                  | |      S )z&Low-level wrapper for `::fz_maxi64()`.)r   ll_fz_maxi64r  s     r   r}  r}  +(      q!$$r#   c                 .    t        j                  | |      S )z$Low-level wrapper for `::fz_maxz()`.)r   
ll_fz_maxzr  s     r   r  r  /(  r{  r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_md5_buffer()`.
    Create an MD5 digest from buffer contents.

    Never throws exceptions.
    )r   ll_fz_md5_bufferr*  r  s     r   r  r  3(  s     ""6622r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_md5_final()`.
    MD5 finalization. Ends an MD5 message-digest operation, writing
    the message digest and zeroizing the context.

    Never throws an exception.
    )r   ll_fz_md5_finalr  r  s     r   r  r  <(       !!%00r#   c                 ,    t        j                  |       S )z}
     Low-level wrapper for `::fz_md5_final2()`.
    C++ alternative to fz_md5_final() that returns the digest by value.
    )r   ll_fz_md5_final2md5s    r   r  r  F(      
 ""3''r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_md5_init()`.
    MD5 initialization. Begins an MD5 operation, writing a new
    context.

    Never throws an exception.
    )r   ll_fz_md5_initr  s    r   r  r  M(         ''r#   c                 .    t        j                  | |      S )z*Low-level wrapper for `::fz_md5_pixmap()`.)r   ll_fz_md5_pixmapr  r  s     r   r  r  W(  s    ""6622r#   c                 ,    t        j                  |       S )z
     Low-level wrapper for `::fz_md5_pixmap2()`.
    C++ alternative to `fz_md5_pixmap()` that returns the digest by value.
    )r   ll_fz_md5_pixmap2rF  s    r   r  r  [(  s    
 ##F++r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_md5_update()`.
    MD5 block update operation. Continues an MD5 message-digest
    operation, processing another message block, and updating the
    context.

    Never throws an exception.
    )r   ll_fz_md5_updater  rb  r  s      r   r  r  b(       ""5%77r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_md5_update_int64()`.
    MD5 block update operation. Continues an MD5 message-digest
    operation, processing an int64, and updating the context.

    Never throws an exception.
    )r   ll_fz_md5_update_int64r  r   s     r   r  r  m(  s     ((22r#   c           	      8    t        j                  | ||||||      S )a  
    Low-level wrapper for `::fz_measure_string()`.
    Measure the advance width of a UTF8 string should it be added to a text object.

    This uses the same layout algorithms as fz_show_string, and can be used
    to calculate text alignment adjustments.
    )r   ll_fz_measure_string	user_fontr$	  r<  r'	  r*	  r-	  r0	  s          r   r  r  w(  s"     &&y#q%ZYabbr#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_memmem()`.
    Find the start of the first occurrence of the substring needle in haystack.
    )r   ll_fz_memmemrW  haystacklenrV  	needlelens       r   r  r  (  s    
 xfiHHr#   c                 .    t        j                  | |      S )zd
    Low-level wrapper for `::fz_memrnd()`.
    Fill block with len bytes of pseudo-randomness.
    )r   ll_fz_memrndrE  r  s     r   r  r  (  s    
 uc**r#   c                 .    t        j                  | |      S )z#Low-level wrapper for `::fz_min()`.)r   	ll_fz_minr  s     r   r  r  (  rx  r#   c                 .    t        j                  | |      S )z$Low-level wrapper for `::fz_mini()`.)r   
ll_fz_minir  s     r   r  r  (  r{  r#   c                 .    t        j                  | |      S )z&Low-level wrapper for `::fz_mini64()`.)r   ll_fz_mini64r  s     r   r  r  (  r~  r#   c                 .    t        j                  | |      S )z$Low-level wrapper for `::fz_minz()`.)r   
ll_fz_minzr  s     r   r  r  (  r{  r#   c                 ,    t        j                  |       S )z%Low-level wrapper for `::fz_mkdir()`.)r   ll_fz_mkdirr  s    r   r  r  (      d##r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_morph_error()`.
    Called within a catch block this modifies the current
    exception's code. If it's of type 'fromcode' it is
    modified to 'tocode'. Typically used for 'downgrading'
    exception severity.
    )r   ll_fz_morph_errorfromcodetocodes     r   r  r  (  s     ##Hf55r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_mount_multi_archive()`.
    Add an archive to the set of archives handled by a multi
    archive.

    If path is NULL, then the archive contents will appear at the
    top level, otherwise, the archives contents will appear prefixed
    by path.
    )r   ll_fz_mount_multi_archivearch_subr  s      r   r  r  (  s     ++E3==r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_moveto()`.
    Append a 'moveto' command to a path.
    This 'opens' a path.

    path: The path to modify.

    x, y: The coordinate to move to.

    Throws exceptions on failure to allocate, or attempting to
    modify a packed path.
    )r   ll_fz_movetor  s      r   r  r  (  s     tQ**r#   c                 .    t        j                  | |      S )ze
    Low-level wrapper for `::fz_mul255()`.
    Multiply scaled two integers in the 0..255 range
    )r   ll_fz_mul255r  s     r   r  r  (  r  r#   c                 ,    t        j                  |       S )z|
    Low-level wrapper for `::fz_needs_password()`.
    Check if a document is encrypted with a
    non-blank password.
    )r   ll_fz_needs_passwordrN   s    r   r  r  (  r.  r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::fz_new_arc4_output()`.)r   ll_fz_new_arc4_outputr  rk  keylens      r   r  r  (  s    ''sF;;r#   c                 .    t        j                  | |      S )z3Low-level wrapper for `::fz_new_archive_of_size()`.)r   ll_fz_new_archive_of_sizer  r   s     r   r  r  (      ++D$77r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::fz_new_ascii85_output()`.)r   ll_fz_new_ascii85_outputr  s    r   r  r  (      **511r#   c                 ,    t        j                  |       S )a/  
    Low-level wrapper for `::fz_new_asciihex_output()`.
    Compression and other filtering outputs.

    These outputs write encoded data to another output. Create a
    filter output with the destination, write to the filter, then
    close and drop it when you're done. These can also be chained
    together, for example to write ASCII Hex encoded, Deflate
    compressed, and RC4 encrypted data to a buffer output.

    Output streams don't use reference counting, so make sure to
    close all of the filters in the reverse order of creation so
    that data is flushed properly.

    Accordingly, ownership of 'chain' is never passed into the
    following functions, but remains with the caller, whose
    responsibility it is to ensure they exist at least until
    the returned fz_output is dropped.
    )r   ll_fz_new_asciihex_outputr  s    r   r  r  (  s    ( ++E22r#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::fz_new_band_writer_of_size()`.)r   ll_fz_new_band_writer_of_size)r   rl  s     r   r  r  (      //c::r#   c                 ,    t        j                  |       S )zo
    Low-level wrapper for `::fz_new_base14_font()`.
    Create a new font from one of the built-in fonts.
    )r   ll_fz_new_base14_fontr  s    r   r  r  (      
 ''--r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_bbox_device()`.
    Create a device to compute the bounding
    box of all marks on a page.

    The returned bounding box will be the union of all bounding
    boxes of all objects on a page.
    )r   ll_fz_new_bbox_devicerectps    r   r  r  )  s     ''..r#   c                 4    t        j                  | ||||      S )aM  
    Low-level wrapper for `::fz_new_bitmap()`.
    Create a new bitmap.

    w, h: Width and Height for the bitmap

    n: Number of color components (assumed to be a divisor of 8)

    xres, yres: X and Y resolutions (in pixels per inch).

    Returns pointer to created bitmap structure. The bitmap
    data is uninitialised.
    )r   ll_fz_new_bitmapr7  r:  r[   rL  rO  s        r   r  r  )  s     ""1aD$77r#   c                 .    t        j                  | |      S )as  
    Low-level wrapper for `::fz_new_bitmap_from_pixmap()`.
    Make a bitmap from a pixmap and a halftone.

    pix: The pixmap to generate from. Currently must be a single
    color component with no alpha.

    ht: The halftone to use. NULL implies the default halftone.

    Returns the resultant bitmap. Throws exceptions in the case of
    failure to allocate.
    )r   ll_fz_new_bitmap_from_pixmapr\  r9  s     r   r  r  )  s     ..sB77r#   c                 0    t        j                  | ||      S )a!  
    Low-level wrapper for `::fz_new_bitmap_from_pixmap_band()`.
    Make a bitmap from a pixmap and a
    halftone, allowing for the position of the pixmap within an
    overall banded rendering.

    pix: The pixmap to generate from. Currently must be a single
    color component with no alpha.

    ht: The halftone to use. NULL implies the default halftone.

    band_start: Vertical offset within the overall banded rendering
    (in pixels)

    Returns the resultant bitmap. Throws exceptions in the case of
    failure to allocate.
    )r   !ll_fz_new_bitmap_from_pixmap_bandr\  r9  
band_starts      r   r  r  .)  s    $ 33CZHHr#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::fz_new_buffer()`.)r   ll_fz_new_bufferr&  s    r   r  r  B)      ""8,,r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_new_buffer_from_base64()`.
    Create a new buffer with data decoded from a base64 input string.
    )r   ll_fz_new_buffer_from_base64r?   r   s     r   r  r  F)  s    
 ..tT::r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_new_buffer_from_copied_data()`.
    Create a new buffer containing a copy of the passed data.
    )r   !ll_fz_new_buffer_from_copied_datar  s     r   r  r  M)      
 33D$??r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_new_buffer_from_data()`.
    Create a new buffer with existing data.

    data: Pointer to existing data.
    size: Size of existing data.

    Takes ownership of data. Does not make a copy. Calls fz_free on
    the data when the buffer is deallocated. Do not use 'data' after
    passing to this function.

    Returns pointer to new buffer. Throws exception on allocation
    failure.
    )r   ll_fz_new_buffer_from_datar  s     r   r  r  T)  s     ,,T488r#   c                 .    t        j                  | |      S )z<Low-level wrapper for `::fz_new_buffer_from_display_list()`.)r   "ll_fz_new_buffer_from_display_listr  r  s     r   r  r  e)  s    44T7CCr#   c                 2    t        j                  | |||      S )z=Low-level wrapper for `::fz_new_buffer_from_image_as_jpeg()`.)r   #ll_fz_new_buffer_from_image_as_jpegr  r  qualityinvert_cmyks       r   r  r  i)  s    55e\7T_``r#   c                 0    t        j                  | ||      S )z<Low-level wrapper for `::fz_new_buffer_from_image_as_jpx()`.)r   "ll_fz_new_buffer_from_image_as_jpxr  r  r  s      r   r  r  m)  s    44UL'RRr#   c                 .    t        j                  | |      S )z<Low-level wrapper for `::fz_new_buffer_from_image_as_pam()`.)r   "ll_fz_new_buffer_from_image_as_pamr  r  s     r   r  r  q)      44ULIIr#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_new_buffer_from_image_as_png()`.
    Reencode a given image as a PNG into a buffer.

    Ownership of the buffer is returned.
    )r   "ll_fz_new_buffer_from_image_as_pngr  s     r   r  r  u)  s     44ULIIr#   c                 .    t        j                  | |      S )z<Low-level wrapper for `::fz_new_buffer_from_image_as_pnm()`.)r   "ll_fz_new_buffer_from_image_as_pnmr  s     r   r  r  ~)  r  r#   c                 .    t        j                  | |      S )z<Low-level wrapper for `::fz_new_buffer_from_image_as_psd()`.)r   "ll_fz_new_buffer_from_image_as_psdr  s     r   r  r  )  r  r#   c                 .    t        j                  | |      S )z4Low-level wrapper for `::fz_new_buffer_from_page()`.)r   ll_fz_new_buffer_from_pager'
  r  s     r   r  r  )  s    ,,T7;;r#   c                 0    t        j                  | ||      S )z;Low-level wrapper for `::fz_new_buffer_from_page_number()`.)r   !ll_fz_new_buffer_from_page_numberrO   r  r  s      r   r
  r
  )  s    33CIIr#   c                 4    t        j                  | ||||      S )aF  
    Low-level wrapper for `::fz_new_buffer_from_page_with_format()`.
    Returns an fz_buffer containing a page after conversion to specified format.

    page: The page to convert.
    format, options: Passed to fz_new_document_writer_with_output() internally.
    transform, cookie: Passed to fz_run_page() internally.
    )r   &ll_fz_new_buffer_from_page_with_formatr'
  r  r  	transformr  s        r   r  r  )  s     88vwPY[abbr#   c                 2    t        j                  | |||      S )z>Low-level wrapper for `::fz_new_buffer_from_pixmap_as_jpeg()`.)r   $ll_fz_new_buffer_from_pixmap_as_jpegr  r  r  r  s       r   r  r  )  s    66v|WVabbr#   c                 0    t        j                  | ||      S )z=Low-level wrapper for `::fz_new_buffer_from_pixmap_as_jpx()`.)r   #ll_fz_new_buffer_from_pixmap_as_jpxr\  r  r  s      r   r  r  )  s    55c<QQr#   c                 .    t        j                  | |      S )z=Low-level wrapper for `::fz_new_buffer_from_pixmap_as_pam()`.)r   #ll_fz_new_buffer_from_pixmap_as_pamr  r  s     r   r  r  )      55flKKr#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_new_buffer_from_pixmap_as_png()`.
    Reencode a given pixmap as a PNG into a buffer.

    Ownership of the buffer is returned.
    )r   #ll_fz_new_buffer_from_pixmap_as_pngr  s     r   r  r  )  s     55flKKr#   c                 .    t        j                  | |      S )z=Low-level wrapper for `::fz_new_buffer_from_pixmap_as_pnm()`.)r   #ll_fz_new_buffer_from_pixmap_as_pnmr  s     r   r  r  )  r  r#   c                 .    t        j                  | |      S )z=Low-level wrapper for `::fz_new_buffer_from_pixmap_as_psd()`.)r   #ll_fz_new_buffer_from_pixmap_as_psdr\  r  s     r   r  r  )  s    55c<HHr#   c                 .    t        j                  | |      S )zz
    Low-level wrapper for `::fz_new_buffer_from_shared_data()`.
    Like fz_new_buffer, but does not take ownership.
    )r   !ll_fz_new_buffer_from_shared_datar  s     r   r"  r"  )  r  r#   c                 ,    t        j                  |       S )zq
    Low-level wrapper for `::fz_new_buffer_from_stext_page()`.
    Convert structured text into plain text.
    )r    ll_fz_new_buffer_from_stext_pager  s    r   r$  r$  )  r  r#   c                 0    t        j                  | ||      S )z0Low-level wrapper for `::fz_new_builtin_font()`.)r   ll_fz_new_builtin_fontr   r/  r2  s      r   r&  r&  )  s    ((w	BBr#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_new_cal_gray_colorspace()`.
    Create a calibrated gray colorspace.

    The returned reference should be dropped when it is finished
    with.

    Colorspaces are immutable once created.
    )r   ll_fz_new_cal_gray_colorspacer  r  r\  s      r   r)  r)  )  s     //B>>r#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_new_cal_rgb_colorspace()`.
    Create a calibrated rgb colorspace.

    The returned reference should be dropped when it is finished
    with.

    Colorspaces are immutable once created.
    )r   ll_fz_new_cal_rgb_colorspacer  r  r\  r  s       r   r,  r,  )  s     ..r2ufEEr#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::fz_new_cbz_writer()`.)r   ll_fz_new_cbz_writerr  r  s     r   r/  r/  )      &&tW55r#   c                 .    t        j                  | |      S )z:Low-level wrapper for `::fz_new_cbz_writer_with_output()`.)r    ll_fz_new_cbz_writer_with_outputrl  r  s     r   r3  r3  )      223@@r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::fz_new_cjk_font()`.)r   ll_fz_new_cjk_fontr   s    r   r7  r7  )      $$X..r#   c                 .    t        j                  | |      S )zv
    Low-level wrapper for `::fz_new_color_pcl_band_writer()`.
    Create a new band writer, outputing color pcl.
    )r   ll_fz_new_color_pcl_band_writerr4  s     r   r;  r;  )  s    
 11#w??r#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_new_colorspace()`.
    Creates a new colorspace instance and returns a reference.

    No internal checking is done that the colorspace type (e.g.
    CMYK) matches with the flags (e.g. FZ_COLORSPACE_HAS_CMYK) or
    colorant count (n) or name.

    The reference should be dropped when it is finished with.

    Colorspaces are immutable once created (with the exception of
    setting up colorant names for separation spaces).
    )r   ll_fz_new_colorspacer   r"  r[   r   s       r   r=  r=  )  s     &&tUAt<<r#   c                  *    t        j                         S )zt
    Low-level wrapper for `::fz_new_compressed_buffer()`.
    Create a new, UNKNOWN format, compressed_buffer.
    )r   ll_fz_new_compressed_bufferr$   r#   r   r@  r@  *  s    
 --//r#   c                 2    t        j                  | |||      S )z/Low-level wrapper for `::fz_new_context_imp()`.)r   ll_fz_new_context_imp)rl  ro  	max_storerP  s       r   rB  rB  
*  s    ''uiIIr#   c                  *    t        j                         S )a  
    Low-level wrapper for `::fz_new_default_colorspaces()`.
    Create a new default colorspace structure with values inherited
    from the context, and return a reference to it.

    These can be overridden using fz_set_default_xxxx.

    These should not be overridden while more than one caller has
    the reference for fear of race conditions.

    The caller should drop this reference once finished with it.
    )r   ll_fz_new_default_colorspacesr$   r#   r   rE  rE  *  s     //11r#   c                 0    t        j                  | ||      S )z2Low-level wrapper for `::fz_new_deflate_output()`.)r   ll_fz_new_deflate_output)r  effortr
  s      r   rG  rG  *  s    **5&#>>r#   c                 2    t        j                  | |||      S )a  
     Low-level wrapper for `::fz_new_deflated_data()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_new_deflated_data(const unsigned char *source, size_t source_length, ::fz_deflate_level level)` => `(unsigned char *, size_t compressed_length)`

    	Compress source_length bytes of data starting
    	at source, into a new memory block malloced for that purpose.
    compressed_length is updated on exit to contain the size used.
    	Ownership of the block is returned from this function, and the
    	caller is therefore responsible for freeing it. The block may be
    	considerably larger than is actually required. The caller is
    	free to fz_realloc it down if it wants to.
    )r   ll_fz_new_deflated_datar{  r  r|  rN  s       r   rJ  rJ  !*  s     ))*;V]TYZZr#   c                 0    t        j                  | ||      S )a  
     Low-level wrapper for `::fz_new_deflated_data_from_buffer()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_new_deflated_data_from_buffer(::fz_buffer *buffer, ::fz_deflate_level level)` => `(unsigned char *, size_t compressed_length)`

    	Compress the contents of a fz_buffer into a
    	new block malloced for that purpose. *compressed_length is
    	updated on exit to contain the size used. Ownership of the block
    	is returned from this function, and the caller is therefore
    	responsible for freeing it. The block may be considerably larger
    	than is actually required. The caller is free to fz_realloc it
    	down if it wants to.
    )r   #ll_fz_new_deflated_data_from_bufferr{  r*  rN  s      r   rM  rM  2*  s     556GQVWWr#   c                 ,    t        j                  |       S )aw  
    Low-level wrapper for `::fz_new_device_of_size()`.
    Devices are created by calls to device implementations, for
    instance: foo_new_device(). These will be implemented by calling
    fz_new_derived_device(ctx, foo_device) where foo_device is a
    structure "derived from" fz_device, for instance
    typedef struct { fz_device base;  ...extras...} foo_device;
    )r   ll_fz_new_device_of_sizer  s    r   rP  rP  C*       **400r#   c                 ,    t        j                  |       S )a'  
    Low-level wrapper for `::fz_new_display_list()`.
    Create an empty display list.

    A display list contains drawing commands (text, images, etc.).
    Use fz_new_list_device for populating the list.

    mediabox: Bounds of the page (in points) represented by the
    display list.
    )r   ll_fz_new_display_listrq
  s    r   rS  rS  N*       ((22r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_display_list_from_page()`.
    Create a display list.

    Ownership of the display list is returned to the caller.
    )r    ll_fz_new_display_list_from_pager  s    r   rW  rW  [*  s     22488r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_display_list_from_page_contents()`.
    Create a display list from page contents (no annotations).

    Ownership of the display list is returned to the caller.
    )r   )ll_fz_new_display_list_from_page_contentsr  s    r   rY  rY  d*  s     ;;DAAr#   c                 .    t        j                  | |      S )zALow-level wrapper for `::fz_new_display_list_from_page_number()`.)r   'll_fz_new_display_list_from_page_numberr  s     r   r[  r[  m*  s    99#vFFr#   c                 4    t        j                  | ||||      S )aC  
     Low-level wrapper for `::fz_new_display_list_from_svg()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_new_display_list_from_svg(::fz_buffer *buf, const char *base_uri, ::fz_archive *dir)` => `(fz_display_list *, float w, float h)`

    	Parse an SVG document into a display-list.
    )r   ll_fz_new_display_list_from_svgrb  base_urir
  r7  r:  s        r   r]  r]  q*  s     11#xaKKr#   c                 6    t        j                  | |||||      S )a^  
     Low-level wrapper for `::fz_new_display_list_from_svg_xml()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_new_display_list_from_svg_xml(::fz_xml_doc *xmldoc, ::fz_xml *xml, const char *base_uri, ::fz_archive *dir)` => `(fz_display_list *, float w, float h)`

    	Parse an SVG document into a display-list.
    )r   #ll_fz_new_display_list_from_svg_xmlxmldocr  r_  r
  r7  r:  s         r   ra  ra  |*  s!     55fc8SRSUVWWr#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_new_document_of_size()`.
    New documents are typically created by calls like
    foo_new_document(fz_context *ctx, ...). These work by
    deriving a new document type from fz_document, for instance:
    typedef struct { fz_document base; ...extras... } foo_document;
    These are allocated by calling
    fz_new_derived_document(ctx, foo_document)
    )r   ll_fz_new_document_of_sizer  s    r   re  re  *  s     ,,T22r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_new_document_writer()`.
    Create a new fz_document_writer, for a
    file of the given type.

    path: The document name to write (or NULL for default)

    format: Which format to write (currently cbz, html, pdf, pam,
    pbm, pgm, pkm, png, ppm, pnm, svg, text, xhtml, docx, odt)

    options: NULL, or pointer to comma separated string to control
    file generation.
    )r   ll_fz_new_document_writer)r  r  r  s      r   rg  rg  *  s     ++D&'BBr#   c                 4    t        j                  | ||||      S )a  
    Low-level wrapper for `::fz_new_document_writer_of_size()`.
    Internal function to allocate a
    block for a derived document_writer structure, with the base
    structure's function pointers populated correctly, and the extra
    space zero initialised.
    )r   !ll_fz_new_document_writer_of_size)r   rH  rK  r  r  s        r   ri  ri  *  s     33D*hPUW[\\r#   c                 0    t        j                  | ||      S )z?Low-level wrapper for `::fz_new_document_writer_with_buffer()`.)r   %ll_fz_new_document_writer_with_buffer)rb  r  r  s      r   rk  rk  *      77VWMMr#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_new_document_writer_with_output()`.
    Like fz_new_document_writer but takes a fz_output for writing
    the result. Only works for multi-page formats.
    )r   %ll_fz_new_document_writer_with_output)rl  r  r  s      r   rn  rn  *  s     77VWMMr#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::fz_new_docx_writer()`.)r   ll_fz_new_docx_writerr0  s     r   rp  rp  *      ''g66r#   c                 .    t        j                  | |      S )z;Low-level wrapper for `::fz_new_docx_writer_with_output()`.)r   !ll_fz_new_docx_writer_with_outputr4  s     r   rs  rs  *      33CAAr#   c                 ,    t        j                  |       S )zT
    Low-level wrapper for `::fz_new_dom()`.
    Make new xml dom root element.
    )r   ll_fz_new_domr  s    r   rv  rv  *      
 $$r#   c                 .    t        j                  | |      S )zv
    Low-level wrapper for `::fz_new_dom_node()`.
    Create a new dom node.

    This will NOT be linked in yet.
    )r   ll_fz_new_dom_noder  s     r   rz  rz  *  s     $$S#..r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_new_dom_text_node()`.
    Create a new dom text node.

    This will NOT be linked in yet.
    )r   ll_fz_new_dom_text_noder  s     r   r|  r|  *       ))#t44r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_new_draw_device()`.
    Create a device to draw on a pixmap.

    dest: Target pixmap for the draw device. See fz_new_pixmap*
    for how to obtain a pixmap. The pixmap is not cleared by the
    draw device, see fz_clear_pixmap* for how to clear it prior to
    calling fz_new_draw_device. Free the device by calling
    fz_drop_device.

    transform: Transform from user space in points to device space
    in pixels.
    )r   ll_fz_new_draw_devicer  r  s     r   r  r  *  s     ''	488r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::fz_new_draw_device_type3()`.)r   ll_fz_new_draw_device_type3r  s     r   r  r  *  s    --i>>r#   c                 0    t        j                  | ||      S )a&  
    Low-level wrapper for `::fz_new_draw_device_with_bbox()`.
    Create a device to draw on a pixmap.

    dest: Target pixmap for the draw device. See fz_new_pixmap*
    for how to obtain a pixmap. The pixmap is not cleared by the
    draw device, see fz_clear_pixmap* for how to clear it prior to
    calling fz_new_draw_device. Free the device by calling
    fz_drop_device.

    transform: Transform from user space in points to device space
    in pixels.

    clip: Bounding box to restrict any marking operations of the
    draw device.
    )r   ll_fz_new_draw_device_with_bboxr  r  clips      r   r  r  *  s    " 11)T4HHr#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_new_draw_device_with_bbox_proof()`.
    Create a device to draw on a pixmap.

    dest: Target pixmap for the draw device. See fz_new_pixmap*
    for how to obtain a pixmap. The pixmap is not cleared by the
    draw device, see fz_clear_pixmap* for how to clear it prior to
    calling fz_new_draw_device. Free the device by calling
    fz_drop_device.

    transform: Transform from user space in points to device space
    in pixels.

    clip: Bounding box to restrict any marking operations of the
    draw device.

    proof_cs: Color space to render to prior to mapping to color
    space defined by pixmap.
    )r   %ll_fz_new_draw_device_with_bbox_proofr  r  r  rM  s       r   r  r  +  s    ( 77	4rRRr#   c                 0    t        j                  | ||      S )a3  
     Low-level wrapper for `::fz_new_draw_device_with_options()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_new_draw_device_with_options(const ::fz_draw_options *options, ::fz_rect mediabox, ::fz_pixmap **pixmap)` => `(fz_device *)`

    	Create a new pixmap and draw device, using the specified options.

    	options: Options to configure the draw device, and choose the
    	resolution and colorspace.

    	mediabox: The bounds of the page in points.

    	pixmap: An out parameter containing the newly created pixmap.
    )r   "ll_fz_new_draw_device_with_optionsr  rq
  r  s      r   r  r  +  s      44WhOOr#   c                 0    t        j                  | ||      S )a=  
    Low-level wrapper for `::fz_new_draw_device_with_proof()`.
    Create a device to draw on a pixmap.

    dest: Target pixmap for the draw device. See fz_new_pixmap*
    for how to obtain a pixmap. The pixmap is not cleared by the
    draw device, see fz_clear_pixmap* for how to clear it prior to
    calling fz_new_draw_device. Free the device by calling
    fz_drop_device.

    transform: Transform from user space in points to device space
    in pixels.

    proof_cs: Intermediate color space to map though when mapping to
    color space defined by pixmap.
    )r    ll_fz_new_draw_device_with_proofr  r  proof_css      r   r  r  )+  s    " 229dHMMr#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_new_font_from_buffer()`.
    Create a new font from a font file in a fz_buffer.

    Fonts created in this way, will be eligible for embedding by default.

    name: Name of font (leave NULL to use name from font).

    buffer: Buffer to load from.

    index: Which font from the file to load (0 for default).

    use_glyph_box: 1 if we should use the glyph bbox, 0 otherwise.

    Returns new font handle, or throws exception on error.
    )r   ll_fz_new_font_from_bufferr   r*  r   r  s       r   r  r  <+  s    " ,,T65.QQr#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_new_font_from_file()`.
    Create a new font from a font file.

    Fonts created in this way, will be eligible for embedding by default.

    name: Name of font (leave NULL to use name from font).

    path: File path to load from.

    index: Which font from the file to load (0 for default).

    use_glyph_box: 1 if we should use the glyph bbox, 0 otherwise.

    Returns new font handle, or throws exception on error.
    )r   ll_fz_new_font_from_filer   r  r   r  s       r   r  r  O+  s    " **4unMMr#   c                 4    t        j                  | ||||      S )a  
    Low-level wrapper for `::fz_new_font_from_memory()`.
    Create a new font from a font file in memory.

    Fonts created in this way, will be eligible for embedding by default.

    name: Name of font (leave NULL to use name from font).

    data: Pointer to the font file data.

    len: Length of the font file data.

    index: Which font from the file to load (0 for default).

    use_glyph_box: 1 if we should use the glyph bbox, 0 otherwise.

    Returns new font handle, or throws exception on error.
    )r   ll_fz_new_font_from_memoryr   r?   r  r   r  s        r   r  r  b+  s    & ,,T4e^TTr#   c                 6    t        j                  | |||||      S )z4Low-level wrapper for `::fz_new_function_of_size()`.)r   ll_fz_new_function_of_sizer   size2rW	  r[   r\	  r  s         r   r  r  w+  s    ,,T5!QdKKr#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_new_hash_table()`.
    Create a new hash table.

    initialsize: The initial size of the hashtable. The hashtable
    may grow (double in size) if it starts to get crowded (80%
    full).

    keylen: byte length for each key.

    lock: -1 for no lock, otherwise the FZ_LOCK to use to protect
    this table.

    drop_val: Function to use to destroy values on table drop.
    )r   ll_fz_new_hash_table)initialsizer  r  drop_vals       r   r  r  {+  s      &&{FD(KKr#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_new_icc_colorspace()`.
    Create a colorspace from an ICC profile supplied in buf.

    Limited checking is done to ensure that the colorspace type is
    appropriate for the supplied ICC profile.

    An additional reference is taken to buf, which will be dropped
    on destruction. Ownership is NOT passed in.

    The returned reference should be dropped when it is finished
    with.

    Colorspaces are immutable once created.
    )r   ll_fz_new_icc_colorspacer   r"  r   rb  s       r   r  r  +  s      **4cBBr#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_image_from_buffer()`.
    Create a new image from a
    buffer of data, inferring its type from the format
    of the data.
    )r   ll_fz_new_image_from_bufferr  s    r   r  r  +  s     --f55r#   c                 B    t        j                  | |||||||||	|
|      S )a  
    Low-level wrapper for `::fz_new_image_from_compressed_buffer()`.
    Create an image based on
    the data in the supplied compressed buffer.

    w,h: Width and height of the created image.

    bpc: Bits per component.

    colorspace: The colorspace (determines the number of components,
    and any color conversions required while decoding).

    xres, yres: The X and Y resolutions respectively.

    interpolate: 1 if interpolation should be used when decoding
    this image, 0 otherwise.

    imagemask: 1 if this is an imagemask (i.e. transparency bitmap
    mask), 0 otherwise.

    decode: NULL, or a pointer to to a decode array. The default
    decode array is [0 1] (repeated n times, for n color components).

    colorkey: NULL, or a pointer to a colorkey array. The default
    colorkey array is [0 255] (repeated n times, for n color
    components).

    buffer: Buffer of compressed data and compression parameters.
    Ownership of this reference is passed in.

    mask: NULL, or another image to use as a mask for this one.
    A new reference is taken to this image. Supplying a masked
    image as a mask to another image is illegal!
    )r   &ll_fz_new_image_from_compressed_bufferr7  r:  r  r  rL  rO  r  r  r  r  r*  r  s               r   r  r  +  sF    F 88AsJPTVZ\girtz  }E  GM  OS  T  Tr#   c                 B    t        j                  | |||||||||	|
|      S )a!  
     Low-level wrapper for `::fz_new_image_from_compressed_buffer2()`.  Swig-friendly wrapper for fz_new_image_from_compressed_buffer(),
    uses specified `decode` and `colorkey` if they are not null (in which
    case we assert that they have size `2*fz_colorspace_n(colorspace)`).
    )r   'll_fz_new_image_from_compressed_buffer2r  s               r   r  r  +  sE     99!QZQUW[]hjsu{  ~F  HN  PT  U  Ur#   c                 0    t        j                  | ||      S )a3  
    Low-level wrapper for `::fz_new_image_from_display_list()`.
    Create a new image from a display list.

    w, h: The conceptual width/height of the image.

    transform: The matrix that needs to be applied to the given
    list to make it render to the unit square.

    list: The display list.
    )r   !ll_fz_new_image_from_display_listr7  r:  r  s      r   r  r  +  s     33Aq$??r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_image_from_file()`.
    Create a new image from the contents
    of a file, inferring its type from the format of the
    data.
    )r   ll_fz_new_image_from_filer  s    r   r  r  +  s     ++D11r#   c                 .    t        j                  | |      S )au  
    Low-level wrapper for `::fz_new_image_from_pixmap()`.
    Create an image from the given
    pixmap.

    pixmap: The pixmap to base the image upon. A new reference
    to this is taken.

    mask: NULL, or another image to use as a mask for this one.
    A new reference is taken to this image. Supplying a masked
    image as a mask to another image is illegal!
    )r   ll_fz_new_image_from_pixmapr  r  s     r   r  r  +  s     --fd;;r#   c                 0    t        j                  | ||      S )zn
    Low-level wrapper for `::fz_new_image_from_svg()`.
    Create a scalable image from an SVG document.
    )r   ll_fz_new_image_from_svgrb  r_  r
  s      r   r  r  +  s    
 **3#>>r#   c                 2    t        j                  | |||      S )zr
    Low-level wrapper for `::fz_new_image_from_svg_xml()`.
    Create a scalable image from an SVG document.
    )r   ll_fz_new_image_from_svg_xmlrc  r  r_  r
  s       r   r  r  ,  s    
 ..vsHcJJr#   c                 H    t        j                  | |||||||||	|
||||      S )a:  
    Low-level wrapper for `::fz_new_image_of_size()`.
    Internal function to make a new fz_image structure
    for a derived class.

    w,h: Width and height of the created image.

    bpc: Bits per component.

    colorspace: The colorspace (determines the number of components,
    and any color conversions required while decoding).

    xres, yres: The X and Y resolutions respectively.

    interpolate: 1 if interpolation should be used when decoding
    this image, 0 otherwise.

    imagemask: 1 if this is an imagemask (i.e. transparent), 0
    otherwise.

    decode: NULL, or a pointer to to a decode array. The default
    decode array is [0 1] (repeated n times, for n color components).

    colorkey: NULL, or a pointer to a colorkey array. The default
    colorkey array is [0 255] (repeated n times, for n color
    components).

    mask: NULL, or another image to use as a mask for this one.
    A new reference is taken to this image. Supplying a masked
    image as a mask to another image is illegal!

    size: The size of the required allocated structure (the size of
    the derived structure).

    get: The function to be called to obtain a decoded pixmap.

    get_size: The function to be called to return the storage size
    used by this image.

    drop: The function to be called to dispose of this image once
    the last reference is dropped.

    Returns a pointer to an allocated structure of the required size,
    with the first sizeof(fz_image) bytes initialised as appropriate
    given the supplied parameters, and the other bytes set to zero.
    )r   ll_fz_new_image_of_sizer7  r:  r  r  rL  rO  r  r  r  r  r  r   r  r  r  s                  r   r  r  	,  sP    ^ ))!QZt[Zcekmuw{  ~B  DN  PX  Z^  _  _r#   c                 0    t        j                  | ||      S )at  
    Low-level wrapper for `::fz_new_indexed_colorspace()`.
    Create an indexed colorspace.

    The supplied lookup table is high palette entries long. Each
    entry is n bytes long, where n is given by the number of
    colorants in the base colorspace, one byte per colorant.

    Ownership of lookup is passed it; it will be freed on
    destruction, so must be heap allocated.

    The colorspace will keep an additional reference to the base
    colorspace that will be dropped on destruction.

    The returned reference should be dropped when it is finished
    with.

    Colorspaces are immutable once created.
    )r   ll_fz_new_indexed_colorspacer  r  lookups      r   r  r  :,  s    ( ..tT6BBr#   c                 .    t        j                  | |      S )z6Low-level wrapper for `::fz_new_jpeg_pixmap_writer()`.)r   ll_fz_new_jpeg_pixmap_writerr0  s     r   r  r  P,  s    ..tW==r#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_new_layout()`.
    Create a new layout block, with new allocation pool, zero
    matrices, and initialise linked pointers.
    )r   ll_fz_new_layoutr$   r#   r   r  r  T,       ""$$r#   c                 0    t        j                  | ||      S )au  
    Low-level wrapper for `::fz_new_link_of_size()`.
    Create a new link record.

    next is set to NULL with the expectation that the caller will
    handle the linked list setup. Internal function.

    Different document types will be implemented by deriving from
    fz_link. This macro allocates such derived structures, and
    initialises the base sections.
    )r   ll_fz_new_link_of_sizer   r  r"  s      r   r  r  \,  s     ((tS99r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_new_list_device()`.
    Create a rendering device for a display list.

    When the device is rendering a page it will populate the
    display list with drawing commands (text, images, etc.). The
    display list can later be reused to render a page many times
    without having to re-interpret the page from the document file
    for each rendering. Once the device is no longer needed, free
    it with fz_drop_device.

    list: A display list that the list device takes a reference to.
    )r   ll_fz_new_list_devicer  s    r   r  r  j,       ''--r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_log_for_module()`.
    Internal function to actually do the opening of the logfile.

    Caller should close/drop the output when finished with it.
    )r   ll_fz_new_log_for_module)modules    r   r  r  z,       **622r#   c                 .    t        j                  | |      S )zz
    Low-level wrapper for `::fz_new_mono_pcl_band_writer()`.
    Create a new band writer, outputing monochrome pcl.
    )r   ll_fz_new_mono_pcl_band_writerr4  s     r   r  r  ,  s    
 00g>>r#   c                 .    t        j                  | |      S )zo
    Low-level wrapper for `::fz_new_mono_pwg_band_writer()`.
    Create a new monochrome pwg band writer.
    )r   ll_fz_new_mono_pwg_band_writerrl  pwgs     r   r  r  ,  r	  r#   c                  *    t        j                         S )zm
    Low-level wrapper for `::fz_new_multi_archive()`.
    Create a new multi archive (initially empty).
    )r   ll_fz_new_multi_archiver$   r#   r   r  r  ,      
 ))++r#   c           
      :    t        j                  | |||||||      S )a  
    Low-level wrapper for `::fz_new_ocr_device()`.
    Create a device to OCR the text on the page.

    Renders the page internally to a bitmap that is then OCRd. Text
    is then forwarded onto the target device.

    target: The target device to receive the OCRd text.

    ctm: The transform to apply to the mediabox to get the size for
    the rendered page image. Also used to calculate the resolution
    for the page image. In general, this will be the same as the CTM
    that you pass to fz_run_page (or fz_run_display_list) to feed
    this device.

    mediabox: The mediabox (in points). Combined with the CTM to get
    the bounds of the pixmap used internally for the rendered page
    image.

    with_list: If with_list is false, then all non-text operations
    are forwarded instantly to the target device. This results in
    the target device seeing all NON-text operations, followed by
    all the text operations (derived from OCR).

    If with_list is true, then all the marking operations are
    collated into a display list which is then replayed to the
    target device at the end.

    language: NULL (for "eng"), or a pointer to a string to describe
    the languages/scripts that should be used for OCR (e.g.
    "eng,ara").

    datadir: NULL (for ""), or a pointer to a path string otherwise
    provided to Tesseract in the TESSDATA_PREFIX environment variable.

    progress: NULL, or function to be called periodically to indicate
    progress. Return 0 to continue, or 1 to cancel. progress_arg is
    returned as the void *. The int is a value between 0 and 100 to
    indicate progress.

    progress_arg: A void * value to be parrotted back to the progress
    function.
    )r   ll_fz_new_ocr_devicetargetrW  rq
  	with_listr0	  r  r	  progress_args           r   r  r  ,  s'    X &&vsHiSZ\dfrssr#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::fz_new_odt_writer()`.)r   ll_fz_new_odt_writerr0  s     r   r  r  ,  r1  r#   c                 .    t        j                  | |      S )z:Low-level wrapper for `::fz_new_odt_writer_with_output()`.)r    ll_fz_new_odt_writer_with_outputr4  s     r   r  r  ,  r5  r#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_new_outline()`.
    Create a new outline entry with zeroed fields for the caller
    to fill in.
    )r   ll_fz_new_outliner$   r#   r   r  r  ,  s     ##%%r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_outline_iterator()`.
    Get an iterator for the document outline.

    Should be freed by fz_drop_outline_iterator.
    )r   ll_fz_new_outline_iteratorrN   s    r   r  r  ,  s     ,,S11r#   c                 .    t        j                  | |      S )z<Low-level wrapper for `::fz_new_outline_iterator_of_size()`.)r   "ll_fz_new_outline_iterator_of_sizer   rO   s     r   r  r  ,      44T3??r#   c                 4    t        j                  | ||||      S )a`  
    Low-level wrapper for `::fz_new_output()`.
    Create a new output object with the given
    internal state and function pointers.

    state: Internal state (opaque to everything but implementation).

    write: Function to output a given buffer.

    close: Cleanup function to destroy state when output closed.
    May permissibly be null.
    )r   ll_fz_new_output)bufsizr  r  r  r  s        r   r  r  ,  s     ""65%EEr#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_output_with_buffer()`.
    Open an output stream that appends
    to a buffer.

    buf: The buffer to append to.
    )r   ll_fz_new_output_with_bufferr{  s    r   r  r  ,  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_output_with_file_ptr()`.
    Open an output stream that writes to a
    given FILE *.

    file: The file pointers to write to. NULL is interpreted as effectively
    meaning /dev/null or similar.
    )r   ll_fz_new_output_with_file_ptrr  s    r   r  r  ,  s     0066r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_new_output_with_path()`.
    Open an output stream that writes to a
    given path.

    filename: The filename to write to (specified in UTF-8).

    append: non-zero if we should append to the file, rather than
    overwriting it.
    )r   ll_fz_new_output_with_path)r  r   s     r   r  r  -  s     ,,Xv>>r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_new_page_of_size()`.
    Different document types will be implemented by deriving from
    fz_page. This macro allocates such derived structures, and
    initialises the base sections.
    )r   ll_fz_new_page_of_sizer  s     r   r  r  -  s     ((s33r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_pam_band_writer()`.
    Create a band writer targetting pnm (greyscale, rgb or cmyk,
    with or without alpha).
    )r   ll_fz_new_pam_band_writerrI  s    r   r  r  -       ++C00r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::fz_new_pam_pixmap_writer()`.)r   ll_fz_new_pam_pixmap_writerr0  s     r   r  r  %-      --dG<<r#   c                  *    t        j                         S )z[
    Low-level wrapper for `::fz_new_path()`.
    Create a new (empty) path structure.
    )r   ll_fz_new_pathr$   r#   r   r  r  )-      
   ""r#   c                 ,    t        j                  |       S )zk
    Low-level wrapper for `::fz_new_pbm_band_writer()`.
    Create a new band writer, targetting pbm.
    )r   ll_fz_new_pbm_band_writerrI  s    r   r   r   0-  r  r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::fz_new_pbm_pixmap_writer()`.)r   ll_fz_new_pbm_pixmap_writerr0  s     r   r  r  7-  r  r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::fz_new_pcl_writer()`.)r   ll_fz_new_pcl_writerr0  s     r   r  r  ;-  r1  r#   c                 .    t        j                  | |      S )z:Low-level wrapper for `::fz_new_pcl_writer_with_output()`.)r    ll_fz_new_pcl_writer_with_outputr4  s     r   r  r  ?-  r5  r#   c                 .    t        j                  | |      S )zk
    Low-level wrapper for `::fz_new_pclm_band_writer()`.
    Create a new band writer, outputing pclm
    )r   ll_fz_new_pclm_band_writerr4  s     r   r  r  C-  s    
 ,,S'::r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::fz_new_pclm_writer()`.)r   ll_fz_new_pclm_writerr0  s     r   r
  r
  J-  rq  r#   c                 .    t        j                  | |      S )z;Low-level wrapper for `::fz_new_pclm_writer_with_output()`.)r   !ll_fz_new_pclm_writer_with_outputr4  s     r   r  r  N-  rt  r#   c                 ,    t        j                  |       S )zALow-level wrapper for `::fz_new_pdf_document_from_fz_document()`.)r   'll_fz_new_pdf_document_from_fz_documentr;   s    r   r  r  R-  s    99#>>r#   c                 .    t        j                  | |      S )af  
    Low-level wrapper for `::fz_new_pdf_writer()`.
    Document writers for various possible output formats.

    All of the "_with_output" variants pass the ownership of out in
    immediately upon calling. The writers are responsible for
    dropping the fz_output when they are finished with it (even
    if they throw an exception during creation).
    )r   ll_fz_new_pdf_writerr0  s     r   r  r  V-  s     &&tW55r#   c                 .    t        j                  | |      S )z:Low-level wrapper for `::fz_new_pdf_writer_with_output()`.)r    ll_fz_new_pdf_writer_with_outputr4  s     r   r  r  b-  r5  r#   c                 .    t        j                  | |      S )aC  
    Low-level wrapper for `::fz_new_pdfocr_band_writer()`.
    Create a new band writer, outputing pdfocr.

    Ownership of output stays with the caller, the band writer
    borrows the reference. The caller must keep the output around
    for the duration of the band writer, and then close/drop as
    appropriate.
    )r   ll_fz_new_pdfocr_band_writerr4  s     r   r  r  f-  s     ..sG<<r#   c                 .    t        j                  | |      S )z1Low-level wrapper for `::fz_new_pdfocr_writer()`.)r   ll_fz_new_pdfocr_writerr0  s     r   r  r  r-      ))$88r#   c                 .    t        j                  | |      S )z=Low-level wrapper for `::fz_new_pdfocr_writer_with_output()`.)r   #ll_fz_new_pdfocr_writer_with_outputr4  s     r   r  r  v-  s    55c7CCr#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::fz_new_pgm_pixmap_writer()`.)r   ll_fz_new_pgm_pixmap_writerr0  s     r   r  r  z-  r  r#   c                 4    t        j                  | ||||      S )a  
    Low-level wrapper for `::fz_new_pixmap()`.
    Create a new pixmap, with its origin at (0,0)

    cs: The colorspace to use for the pixmap, or NULL for an alpha
    plane/mask.

    w: The width of the pixmap (in pixels)

    h: The height of the pixmap (in pixels)

    seps: Details of separations.

    alpha: 0 for no alpha, 1 for alpha.

    Returns a pointer to the new pixmap. Throws exception on failure
    to allocate.
    )r   ll_fz_new_pixmaprM  r7  r:  rI  rA  s        r   r  r  ~-  s    & ""2q!T599r#   c                 ,    t        j                  |       S )z=Low-level wrapper for `::fz_new_pixmap_from_alpha_channel()`.)r   #ll_fz_new_pixmap_from_alpha_channelr  s    r   r!  r!  -      55c::r#   c                 .    t        j                  | |      S )z>Low-level wrapper for `::fz_new_pixmap_from_color_and_mask()`.)r   $ll_fz_new_pixmap_from_color_and_maskr  r  s     r   r$  r$  -  s    66udCCr#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_new_pixmap_from_display_list()`.
    Render the page to a pixmap using the transform and colorspace.

    Ownership of the pixmap is returned to the caller.
    )r   "ll_fz_new_pixmap_from_display_listr  rW  rM  rA  s       r   r'  r'  -  s     44T3EJJr#   c                 4    t        j                  | ||||      S )z
    Low-level wrapper for `::fz_new_pixmap_from_display_list_with_separations()`.
    Render the page contents with control over spot colors.

    Ownership of the pixmap is returned to the caller.
    )r   3ll_fz_new_pixmap_from_display_list_with_separationsr  rW  rM  rI  rA  s        r   r*  r*  -  s      EEdCQSUY[`aar#   c                 2    t        j                  | |||      S )z4Low-level wrapper for `::fz_new_pixmap_from_page()`.)r   ll_fz_new_pixmap_from_pager'
  rW  rM  rA  s       r   r-  r-  -  s    ,,T3EBBr#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_new_pixmap_from_page_contents()`.
    Render the page contents without annotations.

    Ownership of the pixmap is returned to the caller.
    )r   #ll_fz_new_pixmap_from_page_contentsr.  s       r   r0  r0  -  s     55dCUKKr#   c                 4    t        j                  | ||||      S )zNLow-level wrapper for `::fz_new_pixmap_from_page_contents_with_separations()`.)r   4ll_fz_new_pixmap_from_page_contents_with_separationsr'
  rW  rM  rI  rA  s        r   r2  r2  -  s    FFtSRTVZ\abbr#   c                 4    t        j                  | ||||      S )z;Low-level wrapper for `::fz_new_pixmap_from_page_number()`.)r   !ll_fz_new_pixmap_from_page_numberrO   r  rW  rM  rA  s        r   r5  r5  -  s    33Cb%PPr#   c                 6    t        j                  | |||||      S )zLLow-level wrapper for `::fz_new_pixmap_from_page_number_with_separations()`.)r   2ll_fz_new_pixmap_from_page_number_with_separationsrO   r  rW  rM  rI  rA  s         r   r8  r8  -  s!    DDS&RUWY[_afggr#   c                 4    t        j                  | ||||      S )zELow-level wrapper for `::fz_new_pixmap_from_page_with_separations()`.)r   +ll_fz_new_pixmap_from_page_with_separationsr3  s        r   r;  r;  -  s    ==dCTSXYYr#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_new_pixmap_from_pixmap()`.
    Create a new pixmap that represents a subarea of the specified
    pixmap. A reference is taken to this pixmap that will be dropped
    on destruction.

    The supplied rectangle must be wholly contained within the
    original pixmap.

    Returns a pointer to the new pixmap. Throws exception on failure
    to allocate.
    )r   ll_fz_new_pixmap_from_pixmapr  r  s     r   r=  r=  -  s     ..vt<<r#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_new_pixmap_with_bbox()`.
    Create a pixmap of a given size, location and pixel format.

    The bounding box specifies the size of the created pixmap and
    where it will be located. The colorspace determines the number
    of components per pixel. Alpha is always present. Pixmaps are
    reference counted, so drop references using fz_drop_pixmap.

    colorspace: Colorspace format used for the created pixmap. The
    pixmap will keep a reference to the colorspace.

    bbox: Bounding box specifying location/size of created pixmap.

    seps: Details of separations.

    alpha: 0 for no alpha, 1 for alpha.

    Returns a pointer to the new pixmap. Throws exception on failure
    to allocate.
    )r   ll_fz_new_pixmap_with_bboxr  r  rI  rA  s       r   r@  r@  -  s    , ,,ZtUKKr#   c                 4    t        j                  | ||||      S )aJ  
    Low-level wrapper for `::fz_new_pixmap_with_bbox_and_data()`.
    Create a pixmap of a given size, location and pixel format,
    using the supplied data block.

    The bounding box specifies the size of the created pixmap and
    where it will be located. The colorspace determines the number
    of components per pixel. Alpha is always present. Pixmaps are
    reference counted, so drop references using fz_drop_pixmap.

    colorspace: Colorspace format used for the created pixmap. The
    pixmap will keep a reference to the colorspace.

    rect: Bounding box specifying location/size of created pixmap.

    seps: Details of separations.

    alpha: Number of alpha planes (0 or 1).

    samples: The data block to keep the samples in.

    Returns a pointer to the new pixmap. Throws exception on failure
    to allocate.
    )r   #ll_fz_new_pixmap_with_bbox_and_datar  r  rI  rA  rT  s        r   rC  rC  -  s    2 55j$eU\]]r#   c           	      8    t        j                  | ||||||      S )ay  
    Low-level wrapper for `::fz_new_pixmap_with_data()`.
    Create a new pixmap, with its origin at
    (0,0) using the supplied data block.

    cs: The colorspace to use for the pixmap, or NULL for an alpha
    plane/mask.

    w: The width of the pixmap (in pixels)

    h: The height of the pixmap (in pixels)

    seps: Details of separations.

    alpha: 0 for no alpha, 1 for alpha.

    stride: The byte offset from the pixel data in a row to the
    pixel data in the next row.

    samples: The data block to keep the samples in.

    Returns a pointer to the new pixmap. Throws exception on failure to
    allocate.
    )r   ll_fz_new_pixmap_with_datar  r7  r:  rI  rA  rF  rT  s          r   rF  rF  .  s"    2 ,,ZAtUFT[\\r#   c                 4    t        j                  | ||||      S )z1Low-level wrapper for `::fz_new_pixmap_writer()`.)r   ll_fz_new_pixmap_writer)r  r  default_pathr[   saves        r   rI  rI  '.  s    ))$q$OOr#   c                 ,    t        j                  |       S )zp
    Low-level wrapper for `::fz_new_pkm_band_writer()`.
    Create a new pkm band writer for CMYK pixmaps.
    )r   ll_fz_new_pkm_band_writerrI  s    r   rM  rM  +.  r  r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::fz_new_pkm_pixmap_writer()`.)r   ll_fz_new_pkm_pixmap_writerr0  s     r   rO  rO  2.  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_png_band_writer()`.
    Create a new png band writer (greyscale or RGB, with or without
    alpha).
    )r   ll_fz_new_png_band_writerrI  s    r   rQ  rQ  6.  r  r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::fz_new_png_pixmap_writer()`.)r   ll_fz_new_png_pixmap_writerr0  s     r   rS  rS  >.  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_pnm_band_writer()`.
    Create a band writer targetting pnm (greyscale or rgb, no
    alpha).
    )r   ll_fz_new_pnm_band_writerrI  s    r   rU  rU  B.  r  r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::fz_new_pnm_pixmap_writer()`.)r   ll_fz_new_pnm_pixmap_writerr0  s     r   rW  rW  J.  r  r#   c                  *    t        j                         S )zZ
    Low-level wrapper for `::fz_new_pool()`.
    Create a new pool to allocate from.
    )r   ll_fz_new_poolr$   r#   r   rY  rY  N.  r  r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::fz_new_ppm_pixmap_writer()`.)r   ll_fz_new_ppm_pixmap_writerr0  s     r   r[  r[  U.  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_ps_band_writer()`.
    Create a postscript band writer for gray, rgb, or cmyk, no
    alpha.
    )r   ll_fz_new_ps_band_writerrI  s    r   r]  r]  Y.       **3//r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::fz_new_ps_writer()`.)r   ll_fz_new_ps_writerr0  s     r   r`  r`  a.  s    %%dG44r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::fz_new_ps_writer_with_output()`.)r   ll_fz_new_ps_writer_with_outputr4  s     r   rb  rb  e.      11#w??r#   c                 ,    t        j                  |       S )zY
    Low-level wrapper for `::fz_new_psd_band_writer()`.
    Open a PSD band writer.
    )r   ll_fz_new_psd_band_writerrI  s    r   re  re  i.  r  r#   c                 .    t        j                  | |      S )ze
    Low-level wrapper for `::fz_new_pwg_band_writer()`.
    Create a new color pwg band writer.
    )r   ll_fz_new_pwg_band_writerr  s     r   rg  rg  p.  s    
 ++C55r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::fz_new_pwg_writer()`.)r   ll_fz_new_pwg_writerr0  s     r   ri  ri  w.  r1  r#   c                 .    t        j                  | |      S )z:Low-level wrapper for `::fz_new_pwg_writer_with_output()`.)r    ll_fz_new_pwg_writer_with_outputr4  s     r   rk  rk  {.  r5  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::fz_new_rle_output()`.)r   ll_fz_new_rle_outputr  s    r   rm  rm  .      &&u--r#   c                 ,    t        j                  |       S )zr
    Low-level wrapper for `::fz_new_separations()`.
    Create a new separations structure (initially empty)
    )r   ll_fz_new_separationscontrollables    r   rp  rp  .  s    
 ''55r#   c                 .    t        j                  | |      S )a.  
    Low-level wrapper for `::fz_new_stext_device()`.
    Create a device to extract the text on a page.

    Gather the text on a page into blocks and lines.

    The reading order is taken from the order the text is drawn in
    the source file, so may not be accurate.

    page: The text page to which content should be added. This will
    usually be a newly created (empty) text page, but it can be one
    containing data already (for example when merging multiple
    pages, or watermarking).

    options: Options to configure the stext device.
    )r   ll_fz_new_stext_devicer  s     r   rt  rt  .  s    " ((w77r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_stext_page()`.
    Create an empty text page.

    The text page is filled out by the text device to contain the
    blocks and lines of text on the page.

    mediabox: optional mediabox information.
    )r   ll_fz_new_stext_pagerT  s    r   rv  rv  .  s     &&x00r#   c                 2    t        j                  | |||      S )zGLow-level wrapper for `::fz_new_stext_page_from_chapter_page_number()`.)r   -ll_fz_new_stext_page_from_chapter_page_number)rO   r$
  r  r  s       r   rx  rx  .  s    ??WfV]^^r#   c                 .    t        j                  | |      S )z@Low-level wrapper for `::fz_new_stext_page_from_display_list()`.)r   &ll_fz_new_stext_page_from_display_listr  s     r   rz  rz  .  s    88wGGr#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_new_stext_page_from_page()`.
    Extract text from page.

    Ownership of the fz_stext_page is returned to the caller.
    )r   ll_fz_new_stext_page_from_pager  s     r   r|  r|  .  rs  r#   c                 0    t        j                  | ||      S )z?Low-level wrapper for `::fz_new_stext_page_from_page_number()`.)r   %ll_fz_new_stext_page_from_page_numberr  s      r   r~  r~  .  rl  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_store_context()`.
    Create a new store inside the context

    max: The maximum size (in bytes) that the store is allowed to
    grow to. FZ_STORE_UNLIMITED means no limit.
    )r   ll_fz_new_store_contextr  s    r   r  r  .  s     ))#..r#   c                 2    t        j                  | |||      S )z)Low-level wrapper for `::fz_new_story()`.)r   ll_fz_new_story)rb  user_cssr  r
  s       r   r  r  .  s    !!#xS99r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_new_stream()`.
    Create a new stream object with the given
    internal state and function pointers.

    state: Internal state (opaque to everything but implementation).

    next: Should provide the next set of bytes (up to max) of stream
    data. Return the number of bytes read, or EOF when there is no
    more data.

    drop: Should clean up and free the internal state. May not
    throw exceptions.
    )r   ll_fz_new_streamr  ro   r  s      r   r  r  .  s     ""5$55r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::fz_new_string()`.)r   ll_fz_new_stringr  s    r   r  r  .      ""3''r#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_new_stroke_state()`.
    Create a new (empty) stroke state structure (with no dash
    data) and return a reference to it.

    Throws exception on failure to allocate.
    )r   ll_fz_new_stroke_stater$   r#   r   r  r  .  s     ((**r#   c                 ,    t        j                  |       S )a/  
    Low-level wrapper for `::fz_new_stroke_state_with_dash_len()`.
    Create a new (empty) stroke state structure, with room for
    dash data of the given length, and return a reference to it.

    len: The number of dash elements to allow room for.

    Throws exception on failure to allocate.
    )r   $ll_fz_new_stroke_state_with_dash_lenr5  s    r   r  r  .  s     66s;;r#   c                 4    t        j                  | ||||      S )z
    Low-level wrapper for `::fz_new_svg_device()`.
    Create a device that outputs (single page) SVG files to
    the given output stream.

    Equivalent to fz_new_svg_device_with_id passing id = NULL.
    )r   ll_fz_new_svg_devicerl  
page_widthpage_heighttext_formatreuse_imagess        r   r  r  .  s     &&sJ[R^__r#   c                 6    t        j                  | |||||      S )a  
     Low-level wrapper for `::fz_new_svg_device_with_id()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_new_svg_device_with_id(::fz_output *out, float page_width, float page_height, int text_format, int reuse_images)` => `(fz_device *, int id)`

    	Create a device that outputs (single page) SVG files to
    	the given output stream.

    	output: The output stream to send the constructed SVG page to.

    	page_width, page_height: The page dimensions to use (in points).

    	text_format: How to emit text. One of the following values:
    		FZ_SVG_TEXT_AS_TEXT: As <text> elements with possible
    		layout errors and mismatching fonts.
    		FZ_SVG_TEXT_AS_PATH: As <path> elements with exact
    		visual appearance.

    	reuse_images: Share image resources using <symbol> definitions.

    	id: ID parameter to keep generated IDs unique across SVG files.
    )r   ll_fz_new_svg_device_with_idrl  r  r  r  r  rM  s         r   r  r  /  s!    0 ..sJ[Zfhjkkr#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::fz_new_svg_writer()`.)r   ll_fz_new_svg_writerr0  s     r   r  r  /  r1  r#   c                 .    t        j                  | |      S )z:Low-level wrapper for `::fz_new_svg_writer_with_output()`.)r    ll_fz_new_svg_writer_with_outputr4  s     r   r  r  /  r5  r#   c                 2    t        j                  | |||      S )a  
     Low-level wrapper for `::fz_new_test_device()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_new_test_device(float threshold, int options, ::fz_device *passthrough)` => `(fz_device *, int is_color)`

    	Create a device to test for features.

    	Currently only tests for the presence of non-grayscale colors.

    	is_color: Possible values returned:
    		0: Definitely greyscale
    		1: Probably color (all colors were grey, but there
    		were images or shadings in a non grey colorspace).
    		2: Definitely color

    	threshold: The difference from grayscale that will be tolerated.
    	Typical values to use are either 0 (be exact) and 0.02 (allow an
    	imperceptible amount of slop).

    	options: A set of bitfield options, from the FZ_TEST_OPT set.

    	passthrough: A device to pass all calls through to, or NULL.
    	If set, then the test device can both test and pass through to
    	an underlying device (like, say, the display list device). This
    	means that a display list can be created and at the end we'll
    	know if it's colored or not.

    	In the absence of a passthrough device, the device will throw
    	an exception to stop page interpretation when color is found.
    )r   ll_fz_new_test_deviceis_color	thresholdr  passthroughs       r   r  r  #/  s    @ '')WkRRr#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_new_text()`.
    Create a new empty fz_text object.

    Throws exception on failure to allocate.
    )r   ll_fz_new_textr$   r#   r   r  r  E/  s       ""r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::fz_new_text_writer()`.)r   ll_fz_new_text_writer)r  r  r  s      r   r  r  N/  s    ''g>>r#   c                 0    t        j                  | ||      S )z;Low-level wrapper for `::fz_new_text_writer_with_output()`.)r   !ll_fz_new_text_writer_with_output)r  rl  r  s      r   r  r  R/  s    33FCIIr#   c                 ,    t        j                  |       S )zz
    Low-level wrapper for `::fz_new_trace_device()`.
    Create a device to print a debug trace of all device calls.
    )r   ll_fz_new_trace_devicerI  s    r   r  r  V/      
 ((--r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_tree_archive()`.
    Create an archive that holds named buffers.

    tree can either be a preformed tree with fz_buffers as values,
    or it can be NULL for an empty tree.
    )r   ll_fz_new_tree_archiver  s    r   r  r  ]/  rP  r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_new_type3_font()`.
    Create a new (empty) type3 font.

    name: Name of font (or NULL).

    matrix: Font matrix.

    Returns a new font handle, or throws exception on
    allocation failure.
    )r   ll_fz_new_type3_fontr   r  s     r   r  r  g/  s     &&tV44r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_new_xhtml_document_from_document()`.
    Use text extraction to convert the input document into XHTML,
    then open the result as a new document that can be reflowed.
    )r   &ll_fz_new_xhtml_document_from_documentold_docr  s     r   r  r  u/  s     88$GGr#   c                 ,    t        j                  |       S )zk
    Low-level wrapper for `::fz_new_xmltext_device()`.
    Create a device to output raw information.
    )r   ll_fz_new_xmltext_devicerI  s    r   r  r  }/      
 **3//r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_new_zip_writer()`.
    Create a new zip writer that writes to a given file.

    Open an archive using a seekable stream object rather than
    opening a file or directory on disk.
    )r   ll_fz_new_zip_writerr  s    r   r  r  /  s     &&x00r#   c                 ,    t        j                  |       S )a-  
    Low-level wrapper for `::fz_new_zip_writer_with_output()`.
    Create a new zip writer that writes to a given output stream.

    Ownership of out passes in immediately upon calling this function.
    The caller should never drop the fz_output, even if this function throws
    an exception.
    )r    ll_fz_new_zip_writer_with_outputrI  s    r   r  r  /  s     22377r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_next_page()`.
    Function to get the location of the next page (allowing for the
    end of chapters etc). If at the end of the document, returns the
    current location.
    )r   ll_fz_next_pagerB  s     r   r  r  /       !!#s++r#   c                 ,    t        j                  |       S )z`
    Low-level wrapper for `::fz_normalize_vector()`.
    Normalize a vector to length one.
    )r   ll_fz_normalize_vectorrL  s    r   r  r  /  r<  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_open_a85d()`.
    a85d filter performs ASCII 85 Decoding of data read
    from the chained filter.
    )r   ll_fz_open_a85dr  s    r   r  r  /       !!%((r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_open_accelerated_document()`.
    Open a document file and read its basic structure so pages and
    objects can be located. MuPDF will try to repair broken
    documents (without actually changing the file contents).

    The returned fz_document is used when calling most other
    document related functions.

    filename: a path to a file as it would be given to open(2).
    )r   ll_fz_open_accelerated_documentr  r  s     r   r  r  /  s     11(EBBr#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_open_accelerated_document_with_stream()`.
    Open a document using the specified stream object rather than
    opening a file on disk.

    magic: a string used to detect document type; either a file name
    or mime-type.

    stream: a stream of the document contents.

    accel: NULL, or a stream of the 'accelerator' contents for this document.

    NOTE: The caller retains ownership of 'stream' and 'accel' - the document will
    take its own references if required.
    )r   +ll_fz_open_accelerated_document_with_streamr  r  r  s      r   r  r  /  s      ==eVUSSr#   c                 2    t        j                  | |||      S )aT  
    Low-level wrapper for `::fz_open_accelerated_document_with_stream_and_dir()`.
    Open a document using the specified stream object rather than
    opening a file on disk.

    magic: a string used to detect document type; either a file name
    or mime-type.

    stream: a stream of the document contents.

    accel: NULL, or a stream of the 'accelerator' contents for this document.

    dir: NULL, or the 'directory context' for the stream contents.

    NOTE: The caller retains ownership of 'stream', 'accel' and 'dir' - the document will
    take its own references if required.
    )r   3ll_fz_open_accelerated_document_with_stream_and_dirr  r  r  r
  s       r   r  r  /  s    $ EEeVUZ\_``r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_open_aesd()`.
    aesd filter performs AES decoding of data read from the chained
    filter using the supplied key.
    )r   ll_fz_open_aesdr  s      r   r  r  /       !!%f55r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_open_ahxd()`.
    ahxd filter performs ASCII Hex decoding of data read
    from the chained filter.
    )r   ll_fz_open_ahxdr  s    r   r  r  /  r  r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_open_arc4()`.
    arc4 filter performs RC4 decoding of data read from the chained
    filter using the supplied key.
    )r   ll_fz_open_arc4r  s      r   r  r  /  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_open_archive()`.
    Open a zip or tar archive

    Open a file and identify its archive type based on the archive
    signature contained inside.

    filename: a path to a file as it would be given to open(2).
    )r   ll_fz_open_archiver  s    r   r  r  /  s     $$X..r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_open_archive_entry()`.
    Opens an archive entry as a stream.

    name: Entry name to look for, this must be an exact match to
    the entry name in the archive.

    Throws an exception if a matching entry cannot be found.
    )r   ll_fz_open_archive_entryr  s     r   r  r  	0  s     **466r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_open_archive_with_stream()`.
    Open zip or tar archive stream.

    Open an archive using a seekable stream object rather than
    opening a file or directory on disk.
    )r   ll_fz_open_archive_with_streamr  s    r   r  r  0  s     0066r#   c                 ,    t        j                  |       S )a'  
    Low-level wrapper for `::fz_open_buffer()`.
    Open a buffer as a stream.

    buf: The buffer to open. Ownership of the buffer is NOT passed
    in (this function takes its own reference).

    Returns pointer to newly created stream. May throw exceptions on
    failure to allocate.
    )r   ll_fz_open_bufferr{  s    r   r  r  0  s     ##C((r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_open_cfb_archive()`.
    Open a cfb file as an archive.

    An exception is thrown if the file is not recognised as a cfb.

    filename: a path to an archive file as it would be given to
    open(2).
    )r   ll_fz_open_cfb_archiver  s    r   r  r  ,0  s     ((22r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_open_cfb_archive_with_stream()`.
    Open a cfb file as an archive.

    Open an archive using a seekable stream object rather than
    opening a file or directory on disk.

    An exception is thrown if the file is not recognised as a chm.
    )r   "ll_fz_open_cfb_archive_with_streamr  s    r   r  r  80  s     44T::r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_open_compressed_buffer()`.
    Open a stream to read the decompressed version of a buffer.
    )r   ll_fz_open_compressed_bufferr  s    r   r  r  D0  s    
 ..u55r#   c                 .    t        j                  | |      S )zn
    Low-level wrapper for `::fz_open_concat()`.
    Concat filter concatenates several streams into one.
    )r   ll_fz_open_concatr  pads     r   r  r  K0  s    
 ##C--r#   c                 4    t        j                  | ||||      S )a  
    Low-level wrapper for `::fz_open_dctd()`.
    dctd filter performs DCT (JPEG) decoding of data read
    from the chained filter.

    color_transform implements the PDF color_transform option
    	use -1 for default behavior
    	use 0 to disable YUV-RGB / YCCK-CMYK transforms
    	use 1 to enable YUV-RGB / YCCK-CMYK transforms

    invert_cmyk implements the necessary inversion for Photoshop CMYK images
    	use 0 if embedded in PDF
    	use 1 if not embedded in PDF

    For subsampling on decode, set l2factor to the log2 of the
    reduction required (therefore 0 = full size decode).

    jpegtables is an optional stream from which the JPEG tables
    can be read. Use NULL if not required.
    )r   ll_fz_open_dctdr  color_transformr  r\  
jpegtabless        r   r  r  R0  s    * !!%+xQ[\\r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_open_directory()`.
    Open a directory as if it was an archive.

    A special case where a directory is opened as if it was an
    archive.

    Note that for directories it is not possible to retrieve the
    number of entries or list the entries. It is however possible
    to check if the archive has a particular entry.

    path: a path to a directory as it would be given to opendir(3).
    )r   ll_fz_open_directoryr  s    r   r  r  i0  s     &&t,,r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_open_document()`.
    Open a document file and read its basic structure so pages and
    objects can be located. MuPDF will try to repair broken
    documents (without actually changing the file contents).

    The returned fz_document is used when calling most other
    document related functions.

    filename: a path to a file as it would be given to open(2).
    )r   ll_fz_open_documentr  s    r   r  r  y0  s     %%h//r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_open_document_with_buffer()`.
    Open a document using a buffer rather than opening a file on disk.
    )r   ll_fz_open_document_with_bufferr  r*  s     r   r  r  0  s    
 11%@@r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_open_document_with_stream()`.
    Open a document using the specified stream object rather than
    opening a file on disk.

    magic: a string used to detect document type; either a file name
    or mime-type.

    stream: a stream representing the contents of the document file.

    NOTE: The caller retains ownership of 'stream' - the document will take its
    own reference if required.
    )r   ll_fz_open_document_with_streamr  r  s     r   r  r  0  s     11%@@r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_open_document_with_stream_and_dir()`.
    Open a document using the specified stream object rather than
    opening a file on disk.

    magic: a string used to detect document type; either a file name
    or mime-type.

    stream: a stream representing the contents of the document file.

    dir: a 'directory context' for those filetypes that need it.

    NOTE: The caller retains ownership of 'stream' and 'dir' - the document will
    take its own references if required.
    )r   'll_fz_open_document_with_stream_and_dirr  r  r
  s      r   r  r  0  s      99%MMr#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_open_endstream_filter()`.
    The endstream filter reads a PDF substream, and starts to look
    for an 'endstream' token after the specified length.
    )r   ll_fz_open_endstream_filterr  r  rb  s      r   r  r  0  s     --eS&AAr#   c           
      :    t        j                  | |||||||      S )a  
    Low-level wrapper for `::fz_open_faxd()`.
    faxd filter performs FAX decoding of data read from
    the chained filter.

    k: see fax specification (fax default is 0).

    end_of_line: whether we expect end of line markers (fax default
    is 0).

    encoded_byte_align: whether we align to bytes after each line
    (fax default is 0).

    columns: how many columns in the image (fax default is 1728).

    rows: 0 for unspecified or the number of rows of data to expect.

    end_of_block: whether we expect end of block markers (fax
    default is 1).

    black_is_1: determines the polarity of the image (fax default is
    0).
    )r   ll_fz_open_faxdr  kend_of_lineencoded_byte_alignr  r  end_of_block
black_is_1s           r   r  r  0  s'    0 !!%K9KWVZ\hjtuur#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_open_file()`.
    Open the named file and wrap it in a stream.

    filename: Path to a file. On non-Windows machines the filename
    should be exactly as it would be passed to fopen(2). On Windows
    machines, the path should be UTF-8 encoded so that non-ASCII
    characters can be represented. Other platforms do the encoding
    as standard anyway (and in most cases, particularly for MacOS
    and Linux, the encoding they use is UTF-8 anyway).
    )r   ll_fz_open_filer  s    r   r  r  0  s     !!(++r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_open_file_autodelete()`.
    Do the same as fz_open_file, but delete the file upon close.
    )r   ll_fz_open_file_autodeleter  s    r   r  r  0  s    
 ,,X66r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_open_file_ptr_no_close()`.
    Create a stream from a FILE * that will not be closed
    when the stream is dropped.
    )r   ll_fz_open_file_ptr_no_closer  s    r   r	  r	  0  s     ..t44r#   c                 .    t        j                  | |      S )a8  
    Low-level wrapper for `::fz_open_flated()`.
    flated filter performs LZ77 decoding (inflating) of data read
    from the chained filter.

    window_bits: How large a decompression window to use. Typically
    15. A negative number, -n, means to use n bits, but to expect
    raw data with no header.
    )r   ll_fz_open_flatedr  window_bitss     r   r  r  0  s     ##E;77r#   c                 0    t        j                  | ||      S )ak  
     Low-level wrapper for `::fz_open_image_decomp_stream()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_open_image_decomp_stream(::fz_stream *arg_0, ::fz_compression_params *arg_1)` => `(fz_stream *, int l2factor)`

    	Open a stream to read the decompressed version of another stream
    	with optional log2 subsampling.
    )r   ll_fz_open_image_decomp_stream)r  arg_2r\  s      r   r  r  0  s     00xHHr#   c                 .    t        j                  | |      S )a  
     Low-level wrapper for `::fz_open_image_decomp_stream_from_buffer()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_open_image_decomp_stream_from_buffer(::fz_compressed_buffer *arg_0)` => `(fz_stream *, int l2factor)`

    	Open a stream to read the decompressed version of a buffer,
    	with optional log2 subsampling.

    	l2factor = NULL for no subsampling, or a pointer to an integer
    	containing the maximum log2 subsample factor acceptable (0 =
    	none, 1 = halve dimensions, 2 = quarter dimensions etc). If
    	non-NULL, then *l2factor will be updated on exit with the actual
    	log2 subsample factor achieved.
    )r   *ll_fz_open_image_decomp_stream_from_buffer)r  r\  s     r   r  r  1  s      <<UHMMr#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_open_jbig2d()`.
    Open a filter that performs jbig2 decompression on the chained
    stream, using the optional globals record.
    )r   ll_fz_open_jbig2dr  rS  embeddeds      r   r  r  1  s     ##E7H==r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_open_leecher()`.
    Attach a filter to a stream that will store any
    characters read from the stream into the supplied buffer.

    chain: The underlying stream to leech from.

    buf: The buffer into which the read data should be appended.
    The buffer will be resized as required.

    Returns pointer to newly created stream. May throw exceptions on
    failure to allocate.
    )r   ll_fz_open_leecherr  rb  s     r   r  r  !1  s     $$UC00r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_open_libarchive_archive()`.
    Open an archive using libarchive.

    An exception is thrown if the file is not supported by libarchive.

    filename: a path to an archive file as it would be given to
    open(2).
    )r   ll_fz_open_libarchive_archiver  s    r   r  r  11  s     //99r#   c                 ,    t        j                  |       S )a&  
    Low-level wrapper for `::fz_open_libarchive_archive_with_stream()`.
    Open an archive using libarchive.

    Open an archive using a seekable stream object rather than
    opening a file or directory on disk.

    An exception is thrown if the stream is not supported by libarchive.
    )r   )ll_fz_open_libarchive_archive_with_streamr  s    r   r  r  =1  s     ;;DAAr#   c                 ,    t        j                  |       S )a7  
    Low-level wrapper for `::fz_open_libarchived()`.
    libarchived filter performs generic compressed decoding of data
    in any format understood by libarchive from the chained filter.

    This will throw an exception if libarchive is not built in, or
    if the compression format is not recognised.
    )r   ll_fz_open_libarchivedr  s    r   r  r  I1  s     ((//r#   c                 4    t        j                  | ||||      S )a  
    Low-level wrapper for `::fz_open_lzwd()`.
    lzwd filter performs LZW decoding of data read from the chained
    filter.

    early_change: (Default 1) specifies whether to change codes 1
    bit early.

    min_bits: (Default 9) specifies the minimum number of bits to
    use.

    reverse_bits: (Default 0) allows for compatibility with gif and
    old style tiffs (1).

    old_tiff: (Default 0) allows for different handling of the clear
    code, as found in old style tiffs.
    )r   ll_fz_open_lzwdr  early_changemin_bitsreverse_bitsold_tiffs        r   r!  r!  T1  s    $ !!%xxXXr#   c                 .    t        j                  | |      S )aB  
    Low-level wrapper for `::fz_open_memory()`.
    Open a block of memory as a stream.

    data: Pointer to start of data block. Ownership of the data
    block is NOT passed in.

    len: Number of bytes in data block.

    Returns pointer to newly created stream. May throw exceptions on
    failure to allocate.
    )r   ll_fz_open_memoryr?   r  s     r   r(  r(  h1  s     ##D#..r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_open_null_filter()`.
    The null filter reads a specified amount of data from the
    substream.
    )r   ll_fz_open_null_filterr  s      r   r+  r+  w1  s     ((V<<r#   c                 4    t        j                  | ||||      S )aC  
    Low-level wrapper for `::fz_open_predict()`.
    predict filter performs pixel prediction on data read from
    the chained filter.

    predictor: 1 = copy, 2 = tiff, other = inline PNG predictor

    columns: width of image in pixels

    colors: number of components.

    bpc: bits per component (typically 8)
    )r   ll_fz_open_predictr  	predictorr  colorsr  s        r   r-  r-  1  s     $$UIwLLr#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_open_range_filter()`.
    The range filter copies data from specified ranges of the
    chained stream.
    )r   ll_fz_open_range_filterr  r  nrangess      r   r2  r2  1  s     ))%AAr#   c                 .    t        j                  | |      S )z6Low-level wrapper for `::fz_open_reflowed_document()`.)r   ll_fz_open_reflowed_documentunderdocr  s     r   r6  r6  1  s    ..x>>r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_open_rld()`.
    rld filter performs Run Length Decoding of data read
    from the chained filter.
    )r   ll_fz_open_rldr  s    r   r:  r:  1  s       ''r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_open_sgilog16()`.
    SGI Log 16bit (greyscale) decode from the chained filter.
    Decodes lines of w pixels to 8bpp greyscale.
    )r   ll_fz_open_sgilog16r  r7  s     r   r<  r<  1       %%eQ//r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_open_sgilog24()`.
    SGI Log 24bit (LUV) decode from the chained filter.
    Decodes lines of w pixels to 8bpc rgb.
    )r   ll_fz_open_sgilog24r=  s     r   r@  r@  1  r>  r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_open_sgilog32()`.
    SGI Log 32bit (LUV) decode from the chained filter.
    Decodes lines of w pixels to 8bpc rgb.
    )r   ll_fz_open_sgilog32r=  s     r   rB  rB  1  r>  r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_open_tar_archive()`.
    Open a tar archive file.

    An exception is thrown if the file is not a tar archive as
    indicated by the presence of a tar signature.

    filename: a path to a tar archive file as it would be given to
    open(2).
    )r   ll_fz_open_tar_archiver  s    r   rD  rD  1  rU  r#   c                 ,    t        j                  |       S )aC  
    Low-level wrapper for `::fz_open_tar_archive_with_stream()`.
    Open a tar archive stream.

    Open an archive using a seekable stream object rather than
    opening a file or directory on disk.

    An exception is thrown if the stream is not a tar archive as
    indicated by the presence of a tar signature.

    )r   "ll_fz_open_tar_archive_with_streamr  s    r   rF  rF  1       44T::r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_open_thunder()`.
    4bit greyscale Thunderscan decoding from the chained filter.
    Decodes lines of w pixels to 8bpp greyscale.
    )r   ll_fz_open_thunderr=  s     r   rI  rI  1  s     $$UA..r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_open_zip_archive()`.
    Open a zip archive file.

    An exception is thrown if the file is not a zip archive as
    indicated by the presence of a zip signature.

    filename: a path to a zip archive file as it would be given to
    open(2).
    )r   ll_fz_open_zip_archiver  s    r   rK  rK  1  r;  r#   c                 ,    t        j                  |       S )aC  
    Low-level wrapper for `::fz_open_zip_archive_with_stream()`.
    Open a zip archive stream.

    Open an archive using a seekable stream object rather than
    opening a file or directory on disk.

    An exception is thrown if the stream is not a zip archive as
    indicated by the presence of a zip signature.

    )r   "ll_fz_open_zip_archive_with_streamr  s    r   rM  rM  1  rG  r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_opt_from_list()`.
    Return the index of a (case-insensitive) option within an optlist.

    For instance for optlist = "Foo|Bar|Baz", and  opt = "bar",
    this would return 1.

    If the optlist ends with "|*" then that is a catch all case and
    matches all options allowing the caller to process it itself.
    fz_optarg will be set to point to the option, and the return
    value will be the index of the '*' option within that list.

    If an optlist entry ends with ':' (e.g. "Foo:") then that option
    may have suboptions appended to it (for example "JPG:80") and
    fz_optarg will be set to point at "80". Otherwise fz_optarg will
    be set to NULL.

    In the event of no-match found, prints an error and returns -1.
    )r   ll_fz_opt_from_listoptoptlists     r   rO  rO  1  s    ( %%c733r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_option_eq()`.
    Check to see if an option, a, from a string matches a reference
    option, b.

    (i.e. a could be 'foo' or 'foo,bar...' etc, but b can only be
    'foo'.)
    )r   ll_fz_option_eqr  s     r   rT  rT  2  s     !!!Q''r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_outline_glyph()`.
    Look a glyph up from a font, and return the outline of the
    glyph using the given transform.

    The caller owns the returned path, and so is responsible for
    ensuring that it eventually gets dropped.
    )r   ll_fz_outline_glyphr  r	  rW  s      r   rV  rV  2  s     %%dC55r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_outline_iterator_delete()`.
    Delete the current item.

    This implicitly moves us to the 'next' item, and the return code is as for fz_outline_iterator_next.
    )r   ll_fz_outline_iterator_deleterg  s    r   rY  rY  %2       //55r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::fz_outline_iterator_down()`.)r   ll_fz_outline_iterator_downrg  s    r   r\  r\  .2      --d33r#   c                 ,    t        j                  |       S )z=Low-level wrapper for `::fz_outline_iterator_from_outline()`.)r   #ll_fz_outline_iterator_from_outlinerb  s    r   r_  r_  22  s    55g>>r#   c                 .    t        j                  | |      S )a]  
    Low-level wrapper for `::fz_outline_iterator_insert()`.
    Call to insert a new item BEFORE the current point.

    Ownership of pointers are retained by the caller. The item data will be copied.

    After an insert, we do not change where we are pointing.
    The return code is the same as for next, it indicates the current iterator position.

    Note that for PDF documents at least, the is_open field is ignored. All childless
    nodes are considered closed by PDF, hence (given every newly inserted node is
    childless by definition) all new nodes are inserted with is_open == false.
    )r   ll_fz_outline_iterator_insertrh  r{  s     r   ra  ra  62  s     //d;;r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_outline_iterator_item()`.
    Call to get the current outline item.

    Can return NULL. The item is only valid until the next call.
    )r   ll_fz_outline_iterator_itemrg  s    r   rd  rd  F2  rA  r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_outline_iterator_next()`.
    Calls to move the iterator position.

    A negative return value means we could not move as requested. Otherwise:
    0 = the final position has a valid item.
    1 = not a valid item, but we can insert an item here.
    )r   ll_fz_outline_iterator_nextrg  s    r   rf  rf  O2  r  r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::fz_outline_iterator_prev()`.)r   ll_fz_outline_iterator_prevrg  s    r   rh  rh  Z2  r]  r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::fz_outline_iterator_up()`.)r   ll_fz_outline_iterator_uprg  s    r   rj  rj  ^2      ++D11r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_outline_iterator_update()`.
    Update the current item properties according to the given item.
    )r   ll_fz_outline_iterator_updaterb  s     r   rm  rm  b2  s    
 //d;;r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_output_accelerator()`.
    Output accelerator data for the document to a given output
    stream.
    )r   ll_fz_output_acceleratorrO   r  s     r   ro  ro  i2  s     **366r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_output_supports_stream()`.
    Query whether a given fz_output supports fz_stream_from_output.
    )r   ll_fz_output_supports_streamrI  s    r   rr  rr  q2  r  r#   c                 0    t        j                  | ||      S )zb
    Low-level wrapper for `::fz_output_xml()`.
    Pretty-print an XML tree to given output.
    )r   ll_fz_output_xmlrl  r{  rN  s      r   rt  rt  x2  s    
 ""3e44r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_pack_path()`.
    Pack a path into the given block.
    To minimise the size of paths, this function allows them to be
    packed into a buffer with other information. Paths can be used
    interchangeably regardless of how they are packed.

    pack: Pointer to a block of data to pack the path into. Should
    be aligned by the caller to the same alignment as required for
    a fz_path pointer.

    path: The path to pack.

    Returns the number of bytes within the block used. Callers can
    access the packed path data by casting the value of pack on
    entry to be a fz_path *.

    Throws exceptions on failure to allocate.

    Implementation details: Paths can be 'unpacked', 'flat', or
    'open'. Standard paths, as created are 'unpacked'. Paths
    will be packed as 'flat', unless they are too large
    (where large indicates that they exceed some private
    implementation defined limits, currently including having
    more than 256 coordinates or commands).

    Large paths are 'open' packed as a header into the given block,
    plus pointers to other data blocks.

    Users should not have to care about whether paths are 'open'
    or 'flat' packed. Simply pack a path (if required), and then
    forget about the details.
    )r   ll_fz_pack_pathpackr  s     r   rw  rw  2  s    D !!$--r#   c                 ,    t        j                  |       S )zr
    Low-level wrapper for `::fz_packed_path_size()`.
    Return the number of bytes required to pack a path.
    )r   ll_fz_packed_path_sizer  s    r   r{  r{  2  r  r#   c                 0    t        j                  | ||      S )zY
    Low-level wrapper for `::fz_page_label()`.
    Get page label for a given page.
    )r   ll_fz_page_labelr'
  rb  r   s      r   r}  r}  2  s    
 ""4d33r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_page_number_from_location()`.
    Converts from chapter+page to page number. This may cause many
    chapters to be laid out in order to calculate the number of
    pages within those chapters.
    )r   ll_fz_page_number_from_locationrB  s     r   r  r  2  s     11#s;;r#   c                 0    t        j                  | ||      S )al  
     Low-level wrapper for `::fz_page_presentation()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_page_presentation(::fz_page *page, ::fz_transition *transition)` => `(fz_transition *, float duration)`

    	Get the presentation details for a given page.

    	transition: A pointer to a transition struct to fill out.

    	duration: A pointer to a place to set the page duration in
    	seconds. Will be set to 0 if no transition is specified for the
    	page.

    	Returns: a pointer to the transition structure, or NULL if there
    	is no transition specified for the page.
    )r   ll_fz_page_presentationr'
  
transitionr  s      r   r  r  2  s    $ ))$
HEEr#   c                 ,    t        j                  |       S )a9  
    Low-level wrapper for `::fz_page_separations()`.
    Get the separations details for a page.
    This will be NULL, unless the format specifically supports
    separations (such as PDF files). May be NULL even
    so, if there are no separations on a page.

    Returns a reference that must be dropped.
    )r   ll_fz_page_separationsr  s    r   r  r  2  s     ((..r#   c                 ,    t        j                  |       S )zk
    Low-level wrapper for `::fz_page_uses_overprint()`.
    Query if a given page requires overprint.
    )r   ll_fz_page_uses_overprintr  s    r   r  r  2  s    
 ++D11r#   c           
      :    t        j                  | |||||||      S )a  
     Low-level wrapper for `::fz_paint_shade()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_paint_shade(::fz_shade *shade, ::fz_colorspace *override_cs, ::fz_matrix ctm, ::fz_pixmap *dest, ::fz_color_params color_params, ::fz_irect bbox, const ::fz_overprint *eop, ::fz_shade_color_cache **cache)` =>

    	Render a shade to a given pixmap.

    	shade: The shade to paint.

    	override_cs: NULL, or colorspace to override the shades
    	inbuilt colorspace.

    	ctm: The transform to apply.

    	dest: The pixmap to render into.

    	color_params: The color rendering settings

    	bbox: Pointer to a bounding box to limit the rendering
    	of the shade.

    	eop: NULL, or pointer to overprint bitmap.

    	cache: *cache is used to cache color information. If *cache is NULL it
    	is set to point to a new fz_shade_color_cache. If cache is NULL it is
    	ignored.
    )r   ll_fz_paint_shader  override_csrW  r  r  r  eopr  s           r   r  r  2  s&    : ##E;T<QUWZ\abbr#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_parse_draw_options()`.
    Parse draw device options from a comma separated key-value string.
    )r   ll_fz_parse_draw_options)r  r  s     r   r  r   3  s    
 **7F;;r#   c                 2    t        j                  | |||      S )z
     Low-level wrapper for `::fz_parse_page_range()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_parse_page_range(const char *s, int n)` => `(const char *, int a, int b)`
    )r   ll_fz_parse_page_ranger<  r  r  r[   s       r   r  r  3  s     ((Aq!44r#   c                 .    t        j                  | |      S )a{  
    Low-level wrapper for `::fz_parse_pcl_options()`.
    Parse PCL options.

    Currently defined options and values are as follows:

    	preset=X	Either "generic" or one of the presets as for fz_pcl_preset.
    	spacing=0	No vertical spacing capability
    	spacing=1	PCL 3 spacing (<ESC>*p+<n>Y)
    	spacing=2	PCL 4 spacing (<ESC>*b<n>Y)
    	spacing=3	PCL 5 spacing (<ESC>*b<n>Y and clear seed row)
    	mode2		Disable/Enable mode 2 graphics compression
    	mode3		Disable/Enable mode 3 graphics compression
    	eog_reset	End of graphics (<ESC>*rB) resets all parameters
    	has_duplex	Duplex supported (<ESC>&l<duplex>S)
    	has_papersize	Papersize setting supported (<ESC>&l<sizecode>A)
    	has_copies	Number of copies supported (<ESC>&l<copies>X)
    	is_ljet4pjl	Disable/Enable HP 4PJL model-specific output
    	is_oce9050	Disable/Enable Oce 9050 model-specific output
    )r   ll_fz_parse_pcl_optionsr  rQ   s     r   r  r  3  s    * ))$55r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_parse_pclm_options()`.
    Parse PCLm options.

    Currently defined options and values are as follows:

    	compression=none: No compression
    	compression=flate: Flate compression
    	strip-height=n: Strip height (default 16)
    )r   ll_fz_parse_pclm_optionsr  s     r   r  r  '3       **466r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_parse_pdfocr_options()`.
    Parse PDFOCR options.

    Currently defined options and values are as follows:

    	compression=none: No compression
    	compression=flate: Flate compression
    	strip-height=n: Strip height (default 16)
    	ocr-language=<lang>: OCR Language (default eng)
    	ocr-datadir=<datadir>: OCR data path (default rely on TESSDATA_PREFIX)
    )r   ll_fz_parse_pdfocr_optionsr  s     r   r  r  43  s     ,,T488r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_parse_stext_options()`.
    Parse stext device options from a comma separated key-value
    string.
    )r   ll_fz_parse_stext_optionsr  r  s     r   r  r  C3  s     ++D&99r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_parse_xml()`.
    Parse the contents of buffer into a tree of xml nodes.

    preserve_white: whether to keep or delete all-whitespace nodes.
    )r   ll_fz_parse_xmlrb  preserve_whites     r   r  r  K3  s     !!#~66r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_parse_xml_archive_entry()`.
    Parse the contents of an archive entry into a tree of xml nodes.

    preserve_white: whether to keep or delete all-whitespace nodes.
    )r   ll_fz_parse_xml_archive_entryr
  r  r  s      r   r  r  T3  s     //X~NNr#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_parse_xml_from_html5()`.
    Parse the contents of a buffer into a tree of XML nodes,
    using the HTML5 parsing algorithm.
    )r   ll_fz_parse_xml_from_html5r{  s    r   r  r  ]3  r  r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_parse_xml_stream()`.
    Parse the contents of buffer into a tree of xml nodes.

    preserve_white: whether to keep or delete all-whitespace nodes.
    )r   ll_fz_parse_xml_streamr  r  s     r   r  r  e3  s     ((@@r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_pcl_preset()`.
    Initialize PCL option struct for a given preset.

    Currently defined presets include:

    	generic	Generic PCL printer
    	ljet4	HP DeskJet
    	dj500	HP DeskJet 500
    	fs600	Kyocera FS-600
    	lj	HP LaserJet, HP LaserJet Plus
    	lj2	HP LaserJet IIp, HP LaserJet IId
    	lj3	HP LaserJet III
    	lj3d	HP LaserJet IIId
    	lj4	HP LaserJet 4
    	lj4pl	HP LaserJet 4 PL
    	lj4d	HP LaserJet 4d
    	lp2563b	HP 2563B line printer
    	oce9050	Oce 9050 Line printer
    )r   ll_fz_pcl_presetr  presets     r   r  r  n3  s    * ""400r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_pdfocr_band_writer_set_progress()`.
    Set the progress callback for a pdfocr bandwriter.
    )r   %ll_fz_pdfocr_band_writer_set_progressr  progress_fnr  s      r   r  r  3  s    
 77\ZZr#   c                 0    t        j                  | ||      S )z:Low-level wrapper for `::fz_pdfocr_writer_set_progress()`.)r    ll_fz_pdfocr_writer_set_progress)r  r	  arg_3s      r   r  r  3  s    2268UKKr#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_peek_byte()`.
    Peek at the next byte in a stream.

    stm: The stream to peek at.

    Returns -1 for EOF, or the next byte that will be read.
    )r   ll_fz_peek_byter  s    r   r  r  3  s     !!#&&r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_pixmap_alpha()`.
    Return the number of alpha planes in a pixmap.

    Returns the number of alphas. Does not throw exceptions.
    )r   ll_fz_pixmap_alphar[  s    r   r  r  3  rU  r#   c                 ,    t        j                  |       S )z_
    Low-level wrapper for `::fz_pixmap_bbox()`.
    Return the bounding box for a pixmap.
    )r   ll_fz_pixmap_bboxr[  s    r   r  r  3      
 ##C((r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_pixmap_colorants()`.
    Return the number of colorants in a pixmap.

    Returns the number of colorants (components, less any spots and
    alpha).
    )r   ll_fz_pixmap_colorantsr[  s    r   r  r  3  r  r#   c                 ,    t        j                  |       S )zz
    Low-level wrapper for `::fz_pixmap_colorspace()`.
    Return the colorspace of a pixmap

    Returns colorspace.
    )r   ll_fz_pixmap_colorspacer[  s    r   r  r  3       ))#..r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_pixmap_components()`.
    Return the number of components in a pixmap.

    Returns the number of components (including spots and alpha).
    )r   ll_fz_pixmap_componentsr[  s    r   r  r  3  r  r#   c                 ,    t        j                  |       S )zf
    Low-level wrapper for `::fz_pixmap_height()`.
    Return the height of the pixmap in pixels.
    )r   ll_fz_pixmap_heightr[  s    r   r  r  3      
 %%c**r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_pixmap_image_tile()`.
    Retrieve the underlying fz_pixmap for an image.

    Returns a pointer to the underlying fz_pixmap for an image,
    or NULL if this image is not based upon an fz_pixmap.

    No reference is returned. Lifespan is limited to that of
    the image itself. If required, use fz_keep_pixmap to take
    a reference to keep it longer.
    )r   ll_fz_pixmap_image_tilecimgs    r   r  r  3  s     ))$//r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_pixmap_samples()`.
    Returns a pointer to the pixel data of a pixmap.

    Returns the pointer.
    )r   ll_fz_pixmap_samplesr[  s    r   r  r  3       &&s++r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::fz_pixmap_samples_int()`.)r   ll_fz_pixmap_samples_intrF  s    r   r  r  3      **622r#   c                 ,    t        j                  |       S )zn
    Low-level wrapper for `::fz_pixmap_size()`.
    Return sizeof fz_pixmap plus size of data, in bytes.
    )r   ll_fz_pixmap_sizer[  s    r   r  r  3  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_pixmap_spots()`.
    Return the number of spots in a pixmap.

    Returns the number of spots (components, less colorants and
    alpha). Does not throw exceptions.
    )r   ll_fz_pixmap_spotsr[  s    r   r  r  3  rX  r#   c                 ,    t        j                  |       S )zn
    Low-level wrapper for `::fz_pixmap_stride()`.
    Return the number of bytes in a row in the pixmap.
    )r   ll_fz_pixmap_strider[  s    r   r  r  3  r  r#   c                 ,    t        j                  |       S )zd
    Low-level wrapper for `::fz_pixmap_width()`.
    Return the width of the pixmap in pixels.
    )r   ll_fz_pixmap_widthr[  s    r   r  r  4  r  r#   c                 ,    t        j                  |       S )zb
    Low-level wrapper for `::fz_pixmap_x()`.
    Return the x value of the pixmap in pixels.
    )r   ll_fz_pixmap_xr[  s    r   r  r  4  r  r#   c                 ,    t        j                  |       S )zb
    Low-level wrapper for `::fz_pixmap_y()`.
    Return the y value of the pixmap in pixels.
    )r   ll_fz_pixmap_yr[  s    r   r  r  4  r  r#   c                 0    t        j                  | ||      S )z+Low-level wrapper for `::fz_place_story()`.)r   ll_fz_place_storyr
  wherefilleds      r   r  r  4  s    ##E5&99r#   c                 2    t        j                  | |||      S )z1Low-level wrapper for `::fz_place_story_flags()`.)r   ll_fz_place_story_flagsr
  r  r  r"  s       r   r  r  4  s    ))%FFr#   c                 .    t        j                  | |      S )zf
    Low-level wrapper for `::fz_pool_alloc()`.
    Allocate a block of size bytes from the pool.
    )r   ll_fz_pool_allocrW
  r   s     r   r  r  4      
 ""4..r#   c                 ,    t        j                  |       S )av  
    Low-level wrapper for `::fz_pool_size()`.
    The current size of the pool.

    The number of bytes of storage currently allocated to the pool.
    This is the total of the storage used for the blocks making
    up the pool, rather then total of the allocated blocks so far,
    so it will increase in 'lumps'.
    from the pool, then the pool size may still be X
    )r   ll_fz_pool_sizerv  s    r   r  r  %4  r  r#   c                 .    t        j                  | |      S )ze
    Low-level wrapper for `::fz_pool_strdup()`.
    strdup equivalent allocating from the pool.
    )r   ll_fz_pool_strduprW
  r<  s     r   r  r  24  s    
 ##D!,,r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::fz_pop_clip()`.)r   ll_fz_pop_clipr  s    r   r  r  94  r  r#   c                 0    t        j                  | ||      S )a)  
    Low-level wrapper for `::fz_post_scale()`.
    Scale a matrix by postmultiplication.

    m: Pointer to the matrix to scale

    sx, sy: Scaling factors along the X- and Y-axes. A scaling
    factor of 1.0 will not cause any scaling along the relevant
    axis.

    Returns m (updated).
    )r   ll_fz_post_scalerW	  sxsys      r   r  r  =4       ""1b"--r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_pre_rotate()`.
    Rotate a transformation by premultiplying.

    The premultiplied matrix is of the form
    [ cos(deg) sin(deg) -sin(deg) cos(deg) 0 0 ].

    m: Pointer to matrix to premultiply.

    degrees: Degrees of counter clockwise rotation. Values less
    than zero and greater than 360 are handled as expected.

    Returns m (updated).
    )r   ll_fz_pre_rotaterW	  r  s     r   r  r  L4  s     ""1g..r#   c                 0    t        j                  | ||      S )a'  
    Low-level wrapper for `::fz_pre_scale()`.
    Scale a matrix by premultiplication.

    m: Pointer to the matrix to scale

    sx, sy: Scaling factors along the X- and Y-axes. A scaling
    factor of 1.0 will not cause any scaling along the relevant
    axis.

    Returns m (updated).
    )r   ll_fz_pre_scaler  s      r   r  r  ]4  s     !!!R,,r#   c                 0    t        j                  | ||      S )aS  
    Low-level wrapper for `::fz_pre_shear()`.
    Premultiply a matrix with a shearing matrix.

    The shearing matrix is of the form [ 1 sy sx 1 0 0 ].

    m: pointer to matrix to premultiply

    sx, sy: Shearing factors. A shearing factor of 0.0 will not
    cause any shearing along the relevant axis.

    Returns m (updated).
    )r   ll_fz_pre_shearr  s      r   r  r  l4  s     !!!R,,r#   c                 0    t        j                  | ||      S )a#  
    Low-level wrapper for `::fz_pre_translate()`.
    Translate a matrix by premultiplication.

    m: The matrix to translate

    tx, ty: Translation distances along the X- and Y-axes. A
    translation of 0 will not cause any translation along the
    relevant axis.

    Returns m.
    )r   ll_fz_pre_translaterW	  txtys      r   r  r  |4  s     %%aR00r#   c                 .    t        j                  | |      S )a5  
    Low-level wrapper for `::fz_prepare_t3_glyph()`.
    Force a type3 font to cache the displaylist for a given glyph
    id.

    This caching can involve reading the underlying file, so must
    happen ahead of time, so we aren't suddenly forced to read the
    file while playing a displaylist back.
    )r   ll_fz_prepare_t3_glyphr  s     r   r  r  4  s     ((s33r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_previous_page()`.
    Function to get the location of the previous page (allowing for
    the end of chapters etc). If already at the start of the
    document, returns the current page.
    )r   ll_fz_previous_pagerB  s     r   r  r  4  r  r#   c                 ,    t        j                  |       S )z:Low-level wrapper for `::fz_print_stext_header_as_html()`.)r    ll_fz_print_stext_header_as_htmlrI  s    r   r  r  4      22377r#   c                 ,    t        j                  |       S )z;Low-level wrapper for `::fz_print_stext_header_as_xhtml()`.)r   !ll_fz_print_stext_header_as_xhtmlrI  s    r   r	  r	  4      33C88r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_print_stext_page_as_html()`.
    Output structured text to a file in HTML (visual) format.
    )r   ll_fz_print_stext_page_as_htmlrl  r'
  rM  s      r   r  r  4  s    
 00dB??r#   c                 0    t        j                  | ||      S )zw
    Low-level wrapper for `::fz_print_stext_page_as_json()`.
    Output structured text to a file in JSON format.
    )r   ll_fz_print_stext_page_as_jsonrl  r'
  rU  s      r   r  r  4  s    
 00dEBBr#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_print_stext_page_as_text()`.
    Output structured text to a file in plain-text UTF-8 format.
    )r   ll_fz_print_stext_page_as_textrl  r'
  s     r   r  r  4  s    
 00d;;r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_print_stext_page_as_xhtml()`.
    Output structured text to a file in XHTML (semantic) format.
    )r   ll_fz_print_stext_page_as_xhtmlr  s      r   r  r  4  s    
 11#tR@@r#   c                 0    t        j                  | ||      S )zu
    Low-level wrapper for `::fz_print_stext_page_as_xml()`.
    Output structured text to a file in XML format.
    )r   ll_fz_print_stext_page_as_xmlr  s      r   r  r  4  s    
 //T2>>r#   c                 ,    t        j                  |       S )z;Low-level wrapper for `::fz_print_stext_trailer_as_html()`.)r   !ll_fz_print_stext_trailer_as_htmlrI  s    r   r  r  4  r
  r#   c                 ,    t        j                  |       S )z<Low-level wrapper for `::fz_print_stext_trailer_as_xhtml()`.)r   "ll_fz_print_stext_trailer_as_xhtmlrI  s    r   r  r  4      44S99r#   c                 0    t        j                  | ||      S )a5  
    Low-level wrapper for `::fz_process_opened_pages()`.
    Iterates over all opened pages of the document, calling the
    provided callback for each page for processing. If the callback
    returns non-NULL then the iteration stops and that value is returned
    to the called of fz_process_opened_pages().

    The state pointer provided to fz_process_opened_pages() is
    passed on to the callback but is owned by the caller.

    Returns the first non-NULL value returned by the callback,
    or NULL if the callback returned NULL for all opened pages.
    )r   ll_fz_process_opened_pagesrO   process_openend_pager  s      r   r  r  4  s     ,,S2FNNr#   c                 6    t        j                  | |||||      S )a  
    Low-level wrapper for `::fz_process_shade()`.
    Process a shade, using supplied callback functions. This
    decomposes the shading to a mesh (even ones that are not
    natively meshes, such as linear or radial shadings), and
    processes triangles from those meshes.

    shade: The shade to process.

    ctm: The transform to use

    prepare: Callback function to 'prepare' each vertex.
    This function is passed an array of floats, and populates
    a fz_vertex structure.

    process: This function is passed 3 pointers to vertex
    structures, and actually performs the processing (typically
    filling the area between the vertexes).

    process_arg: An opaque argument passed through from caller
    to callback functions.
    )r   ll_fz_process_shader  rW  rh	  prepareprocessprocess_args         r   r"  r"  4  s    . %%eS'7G[YYr#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::fz_ptr_heap_insert()`.)r   ll_fz_ptr_heap_insertr  rK   HEAP_CMPs      r   r(  r(  4  s    ''a::r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::fz_ptr_heap_sort()`.)r   ll_fz_ptr_heap_sortr  r*  s     r   r,  r,   5      %%dH55r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::fz_ptr_heap_uniq()`.)r   ll_fz_ptr_heap_uniqr-  s     r   r0  r0  5  r.  r#   c                  *    t        j                         S )zd
    Low-level wrapper for `::fz_purge_glyph_cache()`.
    Purge all the glyphs from the cache.
    )r   ll_fz_purge_glyph_cacher$   r#   r   r2  r2  5  r  r#   c                 ,    t        j                  |       S )zc
    Low-level wrapper for `::fz_quad_from_rect()`.
    Convert a rect to a quad (losslessly).
    )r   ll_fz_quad_from_rectr  s    r   r4  r4  5  rc  r#   c                 4    t        j                  | ||||      S )an  
    Low-level wrapper for `::fz_quadto()`.
    Append a 'quadto' command to an open path. (For a
    quadratic bezier).

    path: The path to modify.

    x0, y0: The control coordinates for the quadratic curve.

    x1, y1: The end coordinates for the quadratic curve.

    Throws exceptions on failure to allocate, or attempting to
    modify a packed path.
    )r   ll_fz_quadtor  r  r  r  r  s        r   r6  r6  5  s     tRR44r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_read()`.
    Read from a stream into a given data block.

    stm: The stream to read from.

    data: The data block to read into.

    len: The length of the data block (in bytes).

    Returns the number of bytes read. May throw exceptions.
    )r   
ll_fz_readr  r?   r  s      r   r9  r9  '5  s     S$,,r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_read_all()`.
    Read all of a stream into a buffer.

    stm: The stream to read from

    initial: Suggested initial size for the buffer.

    Returns a buffer created from reading from the stream. May throw
    exceptions on failure to allocate.
    )r   ll_fz_read_allr  initials     r   r<  r<  65  s       g..r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_read_archive_entry()`.
    Reads all bytes in an archive entry
    into a buffer.

    name: Entry name to look for, this must be an exact match to
    the entry name in the archive.

    Throws an exception if a matching entry cannot be found.
    )r   ll_fz_read_archive_entryr  s     r   r@  r@  D5  r  r#   c                 2    t        j                  | |||      S )a  
     Low-level wrapper for `::fz_read_best()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_read_best(::fz_stream *stm, size_t initial, size_t worst_case)` => `(fz_buffer *, int truncated)`

    	Attempt to read a stream into a buffer. If truncated
    	is NULL behaves as fz_read_all, sets a truncated flag in case of
    	error.

    	stm: The stream to read from.

    	initial: Suggested initial size for the buffer.

    	truncated: Flag to store success/failure indication in.

    	worst_case: 0 for unknown, otherwise an upper bound for the
    	size of the stream.

    	Returns a buffer created from reading from the stream.
    )r   ll_fz_read_bestr  r>  	truncated
worst_cases       r   rB  rB  Q5  s    , !!#w	:FFr#   c                 .    t        j                  | |      S )a<  
    Low-level wrapper for `::fz_read_bits()`.
    Read the next n bits from a stream (assumed to
    be packed most significant bit first).

    stm: The stream to read from.

    n: The number of bits to read, between 1 and 8*sizeof(int)
    inclusive.

    Returns -1 for EOF, or the required number of bits.
    )r   ll_fz_read_bitsr  r[   s     r   rG  rG  i5  s     !!#q))r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_read_byte()`.
    Read the next byte from a stream.

    stm: The stream t read from.

    Returns -1 for end of stream, or the next byte. May
    throw exceptions.
    )r   ll_fz_read_byter  s    r   rJ  rJ  x5       !!#&&r#   c                 ,    t        j                  |       S )zf
    Low-level wrapper for `::fz_read_file()`.
    Read all the contents of a file into a buffer.
    )r   ll_fz_read_filer  s    r   rM  rM  5  s    
 !!(++r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::fz_read_float()`.)r   ll_fz_read_floatr  s    r   rO  rO  5  r  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::fz_read_float_le()`.)r   ll_fz_read_float_ler  s    r   rQ  rQ  5  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::fz_read_int16()`.)r   ll_fz_read_int16r  s    r   rS  rS  5  r  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::fz_read_int16_le()`.)r   ll_fz_read_int16_ler  s    r   rU  rU  5  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::fz_read_int32()`.)r   ll_fz_read_int32r  s    r   rW  rW  5  r  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::fz_read_int32_le()`.)r   ll_fz_read_int32_ler  s    r   rY  rY  5  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::fz_read_int64()`.)r   ll_fz_read_int64r  s    r   r[  r[  5  r  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::fz_read_int64_le()`.)r   ll_fz_read_int64_ler  s    r   r]  r]  5  r  r#   c                 0    t        j                  | ||      S )a!  
    Low-level wrapper for `::fz_read_line()`.
    Read a line from stream into the buffer until either a
    terminating newline or EOF, which it replaces with a null byte
    ('').

    Returns buf on success, and NULL when end of file occurs while
    no characters have been read.
    )r   ll_fz_read_liner  rb  r  s      r   r_  r_  5  s     !!#sC00r#   c                 .    t        j                  | |      S )aL  
    Low-level wrapper for `::fz_read_rbits()`.
    Read the next n bits from a stream (assumed to
    be packed least significant bit first).

    stm: The stream to read from.

    n: The number of bits to read, between 1 and 8*sizeof(int)
    inclusive.

    Returns (unsigned int)-1 for EOF, or the required number of bits.
    )r   ll_fz_read_rbitsrH  s     r   rb  rb  5  s     ""3**r#   c                 ,    t        j                  |       S )a+  
    Low-level wrapper for `::fz_read_rune()`.
    Read a utf-8 rune from a stream.

    In the event of encountering badly formatted utf-8 codes
    (such as a leading code with an unexpected number of following
    codes) no error/exception is given, but undefined values may be
    returned.
    )r   ll_fz_read_runer?  s    r   rd  rd  5  rK  r#   c                 0    t        j                  | ||      S )a%  
    Low-level wrapper for `::fz_read_string()`.
    Read a null terminated string from the stream into
    a buffer of a given length. The buffer will be null terminated.
    Throws on failure (including the failure to fit the entire
    string including the terminator into the buffer).
    )r   ll_fz_read_stringr  r*  r  s      r   rg  rg  5  s     ##C55r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_read_uint16()`.
    fz_read_[u]int(16|24|32|64)(_le)?

    Read a 16/32/64 bit signed/unsigned integer from stream,
    in big or little-endian byte orders.

    Throws an exception if EOF is encountered.
    )r   ll_fz_read_uint16r  s    r   rj  rj  5  r$  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::fz_read_uint16_le()`.)r   ll_fz_read_uint16_ler  s    r   rl  rl  5      &&s++r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::fz_read_uint24()`.)r   ll_fz_read_uint24r  s    r   ro  ro  5  r  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::fz_read_uint24_le()`.)r   ll_fz_read_uint24_ler  s    r   rq  rq  5  rm  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::fz_read_uint32()`.)r   ll_fz_read_uint32r  s    r   rs  rs  5  r  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::fz_read_uint32_le()`.)r   ll_fz_read_uint32_ler  s    r   ru  ru  5  rm  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::fz_read_uint64()`.)r   ll_fz_read_uint64r  s    r   rw  rw  5  r  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::fz_read_uint64_le()`.)r   ll_fz_read_uint64_ler  s    r   ry  ry   6  rm  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::fz_read_utf16_be()`.)r   ll_fz_read_utf16_ber  s    r   r{  r{  6  r  r#   c                 ,    t        j                  |       S )a0  
    Low-level wrapper for `::fz_read_utf16_le()`.
    Read a utf-16 rune from a stream. (little endian and
    big endian respectively).

    In the event of encountering badly formatted utf-16 codes
    (mismatched surrogates) no error/exception is given, but
    undefined values may be returned.
    )r   ll_fz_read_utf16_ler  s    r   r}  r}  6  s     %%c**r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_realloc()`.
    Reallocates a block of memory to given size. Existing contents
    up to min(old_size,new_size) are maintained. The rest of the
    block is uninitialised.

    fz_realloc(ctx, NULL, size) behaves like fz_malloc(ctx, size).

    fz_realloc(ctx, p, 0); behaves like fz_free(ctx, p).

    Throws exception in the event of failure to allocate.
    )r   ll_fz_reallocr  r   s     r   r  r  6  s     4((r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_realloc_no_throw()`.
    fz_realloc equivalent that returns NULL rather than throwing
    exceptions.
    )r   ll_fz_realloc_no_throwr  s     r   r  r  #6  s     ((D11r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_realpath()`.
    Resolve a path to an absolute file name.
    The resolved path buffer must be of at least PATH_MAX size.
    )r   ll_fz_realpathr  resolved_paths     r   r  r  +6  s       }55r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_recognize_document()`.
    Given a magic find a document handler that can handle a
    document of this type.

    magic: Can be a filename extension (including initial period) or
    a mimetype.
    )r   ll_fz_recognize_document)r  s    r   r  r  36  s     **511r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_recognize_document_content()`.
    Given a filename find a document handler that can handle a
    document of this type.

    filename: The filename of the document. This will be opened and sampled
    to check data.
    )r    ll_fz_recognize_document_contentr  s    r   r  r  >6  s     228<<r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_recognize_document_stream_and_dir_content()`.
    Given a magic find a document handler that can handle a
    document of this type.

    stream: the file stream to sample. May be NULL if the document is
    a directory.

    dir: an fz_archive representing the directory from which the
    stream was opened (or NULL).

    magic: Can be a filename extension (including initial period) or
    a mimetype.
    )r   /ll_fz_recognize_document_stream_and_dir_content)r  r
  r  s      r   r  r  I6  s     AA&#uUUr#   c                 .    t        j                  | |      S )aP  
    Low-level wrapper for `::fz_recognize_document_stream_content()`.
    Given a magic find a document handler that can handle a
    document of this type.

    stream: the file stream to sample. May be NULL if the document is
    a directory.

    magic: Can be a filename extension (including initial period) or
    a mimetype.
    )r   'll_fz_recognize_document_stream_content)r  r  s     r   r  r  Z6  s     99&%HHr#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_recognize_image_format()`.
    Recognise image format strings in the first 8 bytes from image
    data.
    )r   ll_fz_recognize_image_formatrL  s    r   r  r  h6  s     ..q11r#   c                 ,    t        j                  |       S )a6  
    Low-level wrapper for `::fz_rect_from_irect()`.
    Convert a bbox into a rect.

    For our purposes, a rect can represent all the values we meet in
    a bbox, so nothing can go wrong.

    rect: A place to store the generated rectangle.

    bbox: The bbox to convert.

    Returns rect (updated).
    )r   ll_fz_rect_from_irectr  s    r   r  r  p6  r  r#   c                 ,    t        j                  |       S )zp
    Low-level wrapper for `::fz_rect_from_quad()`.
    Convert a quad to the smallest rect that covers it.
    )r   ll_fz_rect_from_quadr%  s    r   r  r  6  rc  r#   c                 4    t        j                  | ||||      S )a  
    Low-level wrapper for `::fz_rectto()`.
    Append a 'rectto' command to an open path.

    The rectangle is equivalent to:
    	moveto x0 y0
    	lineto x1 y0
    	lineto x1 y1
    	lineto x0 y1
    	closepath

    path: The path to modify.

    x0, y0: First corner of the rectangle.

    x1, y1: Second corner of the rectangle.

    Throws exceptions on failure to allocate, or attempting to
    modify a packed path.
    )r   ll_fz_recttor7  s        r   r  r  6  s    * tRR44r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::fz_register_archive_handler()`.)r   ll_fz_register_archive_handlerr  s    r   r  r  6  s    0099r#   c                 ,    t        j                  |       S )a9  
    Low-level wrapper for `::fz_register_document_handler()`.
    Register a handler for a document type.

    handler: The handler to register. This must live on for the duration of the
    use of this handler. It will be passed back to the handler for calls so
    the caller can use it to retrieve state.
    )r   ll_fz_register_document_handlerr  s    r   r  r  6  s     11'::r#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_register_document_handlers()`.
    Register handlers for all the standard document types supported in
    this build.
    )r    ll_fz_register_document_handlersr$   r#   r   r  r  6  s     2244r#   c                 0    t        j                  | ||      S )al  
    Low-level wrapper for `::fz_remove_item()`.
    Remove an item from the store.

    If an item indexed by the given key exists in the store, remove
    it.

    drop: The function used to free the value (to ensure we get a
    value of the correct type).

    key: The key used to find the item to remove.

    type: Functions used to manipulate the key.
    )r   ll_fz_remove_itemr  s      r   r  r  6  s     ##D#t44r#   c                 0    t        j                  | ||      S )z,Low-level wrapper for `::fz_render_flags()`.)r   ll_fz_render_flagsrT  r!   r   s      r   r  r  6      $$S#u55r#   c                 4    t        j                  | ||||      S )a  
    Low-level wrapper for `::fz_render_glyph_pixmap()`.
    Create a pixmap containing a rendered glyph.

    Lookup gid from font, clip it with scissor, and rendering it
    with aa bits of antialiasing into a new pixmap.

    The caller takes ownership of the pixmap and so must free it.

    Note: This function is no longer used for normal rendering
    operations, and is kept around just because we use it in the
    app. It should be considered "at risk" of removal from the API.
    )r   ll_fz_render_glyph_pixmapr  r	  rW  rh	  rx  s        r   r  r  6  s     ++D#sGRHHr#   c                 6    t        j                  | |||||      S )ai  
    Low-level wrapper for `::fz_render_t3_glyph_direct()`.
    Nasty PDF interpreter specific hernia, required to allow the
    interpreter to replay glyphs from a type3 font directly into
    the target device.

    This is only used in exceptional circumstances (such as type3
    glyphs that inherit current graphics state, or nested type3
    glyphs).
    )r   ll_fz_render_t3_glyph_directrT  r  r	  r$	  r  def_css         r   r  r  6  s     ..sD#sFFSSr#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_rendering_intent_name()`.
    Map from enumerated rendering intent to string.

    The returned string is static and therefore must not be freed.
    )r   ll_fz_rendering_intent_namer  s    r   r  r  6  s     --b11r#   c                  *    t        j                         S )z,Low-level wrapper for `::fz_report_error()`.)r   ll_fz_report_errorr$   r#   r   r  r  6  r/  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_reset_output()`.
    Reset a closed output stream. Returns state to
    (broadly) that which it was in when opened. Not
    all outputs can be reset, so this may throw an
    exception.
    )r   ll_fz_reset_outputr  s    r   r  r  6       $$U++r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::fz_reset_story()`.)r   ll_fz_reset_storyr  s    r   r  r  6      ##E**r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_resize_buffer()`.
    Ensure that a buffer has a given capacity,
    truncating data if required.

    capacity: The desired capacity for the buffer. If the current
    size of the buffer contents is smaller than capacity, it is
    truncated.
    )r   ll_fz_resize_bufferrb  r&  s     r   r  r  7  s     %%c844r#   c                 2    t        j                  | |||      S )a  
     Low-level wrapper for `::fz_resolve_link()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_resolve_link(::fz_document *doc, const char *uri)` => `(fz_location, float xp, float yp)`

    	Resolve an internal link to a page number.

    	xp, yp: Pointer to store coordinate of destination on the page.

    	Returns (-1,-1) if the URI cannot be resolved.
    )r   ll_fz_resolve_linkrO   r"  xpyps       r   r  r  7  s     $$S#r266r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_resolve_link_dest()`.
    Resolve an internal link to a page number, location, and possible viewing parameters.

    Returns location (-1,-1) if the URI cannot be resolved.
    )r   ll_fz_resolve_link_destrO   r"  s     r   r  r  7  s     ))#s33r#   c                  *    t        j                         S )z'Low-level wrapper for `::fz_rethrow()`.)r   ll_fz_rethrowr$   r#   r   r  r  &7  rR  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_rethrow_if()`.
    Within an fz_catch() block, rethrow the current exception
    if the errcode of the current exception matches.

    This assumes no intervening use of fz_try/fz_catch.
    )r   ll_fz_rethrow_ifr&  s    r   r  r  *7  s     ""7++r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::fz_rethrow_unless()`.)r   ll_fz_rethrow_unlessr  s    r   r  r  47  s    &&w//r#   c                 ,    t        j                  |       S )a^  
    Low-level wrapper for `::fz_rotate()`.
    Create a rotation matrix.

    The returned matrix is of the form
    [ cos(deg) sin(deg) -sin(deg) cos(deg) 0 0 ].

    m: Pointer to place to store matrix

    degrees: Degrees of counter clockwise rotation. Values less
    than zero and greater than 360 are handled as expected.

    Returns m.
    )r   ll_fz_rotater  s    r   r  r  87  s     w''r#   c                 ,    t        j                  |       S )aU  
    Low-level wrapper for `::fz_round_rect()`.
    Round rectangle coordinates.

    Coordinates in a bounding box are integers, so rounding of the
    rects coordinates takes place. The top left corner is rounded
    upwards and left while the bottom right corner is rounded
    downwards and to the right.

    This differs from fz_irect_from_rect, in that fz_irect_from_rect
    slavishly follows the numbers (i.e any slight over/under
    calculations can cause whole extra pixels to be added).
    fz_round_rect allows for a small amount of rounding error when
    calculating the bbox.
    )r   ll_fz_round_rectr  s    r   r  r  I7  s      ""4((r#   c                 4    t        j                  | ||||      S )aD  
    Low-level wrapper for `::fz_run_display_list()`.
    (Re)-run a display list through a device.

    list: A display list, created by fz_new_display_list and
    populated with objects from a page by running fz_run_page on a
    device obtained from fz_new_list_device.

    ctm: Transform to apply to display list contents. May include
    for example scaling and rotation, see fz_scale, fz_rotate and
    fz_concat. Set to fz_identity if no transformation is desired.

    scissor: Only the part of the contents of the display list
    visible within this area will be considered when the list is
    run through the device. This does not imply for tile objects
    contained in the display list.

    cookie: Communication mechanism between caller and library
    running the page. Intended for multi-threaded applications,
    while single-threaded applications set cookie to NULL. The
    caller may abort an ongoing page run. Cookie also communicates
    progress information back to the caller. The fields inside
    cookie are continually updated while the page is being run.
    )r   ll_fz_run_display_listr  rT  rW  rh	  r  s        r   r  r  [7  s    2 ((sC&IIr#   c                 0    t        j                  | ||      S )a@  
    Low-level wrapper for `::fz_run_document_structure()`.
    Run the document structure through a device.

    doc: Document in question.

    dev: Device obtained from fz_new_*_device.

    cookie: Communication mechanism between caller and library.
    Intended for multi-threaded applications, while
    single-threaded applications set cookie to NULL. The
    caller may abort an ongoing rendering of a page. Cookie also
    communicates progress information back to the caller. The
    fields inside cookie are continually updated while the page is
    rendering.
    )r   ll_fz_run_document_structurerO   rT  r  s      r   r  r  v7  s    " ..sC@@r#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_run_page()`.
    Run a page through a device.

    page: Page obtained from fz_load_page.

    dev: Device obtained from fz_new_*_device.

    transform: Transform to apply to page. May include for example
    scaling and rotation, see fz_scale, fz_rotate and fz_concat.
    Set to fz_identity if no transformation is desired.

    cookie: Communication mechanism between caller and library
    rendering the page. Intended for multi-threaded applications,
    while single-threaded applications set cookie to NULL. The
    caller may abort an ongoing rendering of a page. Cookie also
    communicates progress information back to the caller. The
    fields inside cookie are continually updated while the page is
    rendering.
    )r   ll_fz_run_pager'
  rT  r  r  s       r   r  r  7  s    *   sIv>>r#   c                 2    t        j                  | |||      S )zm
    Low-level wrapper for `::fz_run_page_annots()`.
    Run the annotations on a page through a device.
    )r   ll_fz_run_page_annotsr  s       r   r  r  7  s    
 ''c9fEEr#   c                 2    t        j                  | |||      S )aH  
    Low-level wrapper for `::fz_run_page_contents()`.
    Run a page through a device. Just the main
    page content, without the annotations, if any.

    page: Page obtained from fz_load_page.

    dev: Device obtained from fz_new_*_device.

    transform: Transform to apply to page. May include for example
    scaling and rotation, see fz_scale, fz_rotate and fz_concat.
    Set to fz_identity if no transformation is desired.

    cookie: Communication mechanism between caller and library
    rendering the page. Intended for multi-threaded applications,
    while single-threaded applications set cookie to NULL. The
    caller may abort an ongoing rendering of a page. Cookie also
    communicates progress information back to the caller. The
    fields inside cookie are continually updated while the page is
    rendering.
    )r   ll_fz_run_page_contentsr  s       r   r  r  7  s    , ))$YGGr#   c                 2    t        j                  | |||      S )zj
    Low-level wrapper for `::fz_run_page_widgets()`.
    Run the widgets on a page through a device.
    )r   ll_fz_run_page_widgetsr  s       r   r  r  7  s    
 ((sIvFFr#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_run_t3_glyph()`.
    Run a glyph from a Type3 font to
    a given device.

    font: The font to find the glyph in.

    gid: The glyph to run.

    trm: The transform to apply.

    dev: The device to render onto.
    )r   ll_fz_run_t3_glyphr  r	  r$	  rT  s       r   r  r  7  s     $$T3S99r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_runeidx()`.
    Compute the index of a rune in a string.

    str: Pointer to beginning of a string.

    p: Pointer to a char in str.

    Returns the index of the rune pointed to by p in str.
    )r   ll_fz_runeidxr  r  s     r   r  r  7  s     Q''r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_runelen()`.
    Count how many chars are required to represent a rune.

    rune: The rune to encode.

    Returns the number of bytes required to represent this run in
    UTF8.
    )r   ll_fz_runelenr5  s    r   r  r  7  s     %%r#   c                 .    t        j                  | |      S )a_  
    Low-level wrapper for `::fz_runeptr()`.
    Obtain a pointer to the char representing the rune
    at a given index.

    str: Pointer to beginning of a string.

    idx: Index of a rune to return a char pointer to.

    Returns a pointer to the char where the desired rune starts,
    or NULL if the string ends before the index is reached.
    )r   ll_fz_runeptrr  r  s     r   r  r  7  s     S))r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_runetochar()`.
    UTF8 encode a rune to a sequence of chars.

    str: Pointer to a place to put the UTF8 encoded character.

    rune: Pointer to a 'rune'.

    Returns the number of bytes the rune took to output.
    )r   ll_fz_runetocharr  r5  s     r   r  r  7  s     ""3--r#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::fz_samples_get()`.
    Provides simple (but slow) access to pixmap data from Python and C#.
    )r   ll_fz_samples_getr  rb  s     r   r  r  8  s    
 ##FF33r#   c                 0    t        j                  | ||      S )z
     Low-level wrapper for `::fz_samples_set()`.
    Provides simple (but slow) write access to pixmap data from Python and
    C#.
    )r   ll_fz_samples_setr  rb  r    s      r   r  r  8  s     ##FFE::r#   c                 .    t        j                  | |      S )zv
    Low-level wrapper for `::fz_save_accelerator()`.
    Save accelerator data for the document to a given file.
    )r   ll_fz_save_acceleratorrp  s     r   r  r  8      
 ((e44r#   c                 .    t        j                  | |      S )zX
    Low-level wrapper for `::fz_save_bitmap_as_pbm()`.
    Save a bitmap as a pbm.
    )r   ll_fz_save_bitmap_as_pbmr  r  s     r   r  r  !8      
 **68<<r#   c                 2    t        j                  | |||      S )z[
    Low-level wrapper for `::fz_save_bitmap_as_pcl()`.
    Save a bitmap as mono PCL.
    )r   ll_fz_save_bitmap_as_pclr  r  r   pcls       r   r  r  (8      
 **68VSIIr#   c                 .    t        j                  | |      S )z]
    Low-level wrapper for `::fz_save_bitmap_as_pkm()`.
    Save a CMYK bitmap as a pkm.
    )r   ll_fz_save_bitmap_as_pkmr  s     r   r  r  /8  r  r#   c                 2    t        j                  | |||      S )zX
    Low-level wrapper for `::fz_save_bitmap_as_pwg()`.
    Save a bitmap as a PWG.
    )r   ll_fz_save_bitmap_as_pwgr  r  r   r  s       r   r  r  68  r  r#   c                 .    t        j                  | |      S )zb
    Low-level wrapper for `::fz_save_buffer()`.
    Save the contents of a buffer to a file.
    )r   ll_fz_save_bufferrb  r  s     r   r  r  =8  s    
 ##C22r#   c                 0    t        j                  | ||      S )zZ
    Low-level wrapper for `::fz_save_pixmap_as_jpeg()`.
    Save a pixmap as a JPEG.
    )r   ll_fz_save_pixmap_as_jpegr  r  r  s      r   r  r  D8  s    
 ++FHgFFr#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_save_pixmap_as_jpx()`.
    Save pixmap data as JP2K with no subsampling.

    quality = 100 = lossless
    otherwise for a factor of x compression use 100-x. (so 80 is 1:20 compression)
    )r   ll_fz_save_pixmap_as_jpxr  r  r&  s      r   r
  r
  K8  s     **68Q??r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_save_pixmap_as_pam()`.
    Save a pixmap as a pnm (greyscale, rgb or cmyk, with or without
    alpha).
    )r   ll_fz_save_pixmap_as_pamr  r  s     r   r  r  U8  s     **68<<r#   c                 .    t        j                  | |      S )zq
    Low-level wrapper for `::fz_save_pixmap_as_pbm()`.
    Save a pixmap as a pbm. (Performing halftoning).
    )r   ll_fz_save_pixmap_as_pbmr  s     r   r  r  ]8  r  r#   c                 2    t        j                  | |||      S )zc
    Low-level wrapper for `::fz_save_pixmap_as_pcl()`.
    Save an (RGB) pixmap as color PCL.
    )r   ll_fz_save_pixmap_as_pclr  r  r   r  s       r   r  r  d8  r  r#   c                 2    t        j                  | |||      S )zk
    Low-level wrapper for `::fz_save_pixmap_as_pclm()`.
    Save a (Greyscale or RGB) pixmap as pclm.
    )r   ll_fz_save_pixmap_as_pclmr  r  r   r  s       r   r  r  k8  s    
 ++FHfgNNr#   c                 2    t        j                  | |||      S )zo
    Low-level wrapper for `::fz_save_pixmap_as_pdfocr()`.
    Save a (Greyscale or RGB) pixmap as pdfocr.
    )r   ll_fz_save_pixmap_as_pdfocrr  s       r   r  r  r8  s    
 --fhPPr#   c                 .    t        j                  | |      S )zv
    Low-level wrapper for `::fz_save_pixmap_as_pkm()`.
    Save a CMYK pixmap as a pkm. (Performing halftoning).
    )r   ll_fz_save_pixmap_as_pkmr  s     r   r  r  y8  r  r#   c                 .    t        j                  | |      S )zk
    Low-level wrapper for `::fz_save_pixmap_as_png()`.
    Save a (Greyscale or RGB) pixmap as a png.
    )r   ll_fz_save_pixmap_as_pngr  s     r   r  r  8  r  r#   c                 .    t        j                  | |      S )zu
    Low-level wrapper for `::fz_save_pixmap_as_pnm()`.
    Save a pixmap as a pnm (greyscale or rgb, no alpha).
    )r   ll_fz_save_pixmap_as_pnmr  s     r   r  r  8  r  r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_save_pixmap_as_ps()`.
    Save a (gray, rgb, or cmyk, no alpha) pixmap out as postscript.
    )r   ll_fz_save_pixmap_as_psr  r  r   s      r   r   r   8  s    
 ))&(FCCr#   c                 .    t        j                  | |      S )z]
    Low-level wrapper for `::fz_save_pixmap_as_psd()`.
    Save a pixmap as a PSD file.
    )r   ll_fz_save_pixmap_as_psdr  s     r   r#  r#  8  r  r#   c                 2    t        j                  | |||      S )zX
    Low-level wrapper for `::fz_save_pixmap_as_pwg()`.
    Save a pixmap as a PWG.
    )r   ll_fz_save_pixmap_as_pwgr  r  r   r  s       r   r%  r%  8  r  r#   c                 0    t        j                  | ||      S )za
    Low-level wrapper for `::fz_save_xml()`.
    As for fz_write_xml, but direct to a file.
    )r   ll_fz_save_xmlrootr  indenteds      r   r(  r(  8  s    
   tX66r#   c                 .    t        j                  | |      S )aK  
    Low-level wrapper for `::fz_scale()`.
    Create a scaling matrix.

    The returned matrix is of the form [ sx 0 0 sy 0 0 ].

    m: Pointer to the matrix to populate

    sx, sy: Scaling factors along the X- and Y-axes. A scaling
    factor of 1.0 will not cause any scaling along the relevant
    axis.

    Returns m.
    )r   ll_fz_scaler  r  s     r   r-  r-  8  s     b"%%r#   c                 6    t        j                  | |||||      S )z,Low-level wrapper for `::fz_scale_pixmap()`.)r   ll_fz_scale_pixmapr  rF   r  r7  r:  r  s         r   r0  r0  8  s    $$S!Q1d;;r#   c           	      8    t        j                  | ||||||      S )a(  
     Low-level wrapper for `::fz_search_chapter_page_number()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_search_chapter_page_number(::fz_document *doc, int chapter, int page, const char *needle, ::fz_quad *hit_bbox, int hit_max)` => `(int, int hit_mark)`
    )r    ll_fz_search_chapter_page_numberrO   r$
  r'
  rV  hit_markhit_bboxhit_maxs          r   r3  r3  8  s#     223vxYacjkkr#   c                 6    t        j                  | |||||      S )z=Low-level wrapper for `::fz_search_chapter_page_number_cb()`.)r   #ll_fz_search_chapter_page_number_cbrO   r$
  r'
  rV  r  rt  s         r   r9  r9  8  s    55c7D&RTV\]]r#   c                 4    t        j                  | ||||      S )a  
     Low-level wrapper for `::fz_search_display_list()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_search_display_list(::fz_display_list *list, const char *needle, ::fz_quad *hit_bbox, int hit_max)` => `(int, int hit_mark)`
    )r   ll_fz_search_display_listr  rV  r5  r6  r7  s        r   r<  r<  8  s     ++D&(HgVVr#   c                 2    t        j                  | |||      S )z6Low-level wrapper for `::fz_search_display_list_cb()`.)r   ll_fz_search_display_list_cbr  rV  r  rt  s       r   r?  r?  8  s    ..tVRHHr#   c                 4    t        j                  | ||||      S )a  
     Low-level wrapper for `::fz_search_page()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_search_page(::fz_page *page, const char *needle, ::fz_quad *hit_bbox, int hit_max)` => `(int, int hit_mark)`

    	Search for the 'needle' text on the page.
    	Record the hits in the hit_bbox array and return the number of
    	hits. Will stop looking once it has filled hit_max rectangles.
    )r   ll_fz_search_pager'
  rV  r5  r6  r7  s        r   rB  rB  8  s     ##D&(HgNNr#   c                 2    t        j                  | |||      S )z
     Low-level wrapper for `::fz_search_page2()`.
    C++ alternative to fz_search_page() that returns information in a std::vector.
    )r   ll_fz_search_page2rO   r  rV  r7  s       r   rE  rE  8  s    
 $$S&&'BBr#   c                 2    t        j                  | |||      S )zf
    Low-level wrapper for `::fz_search_page_cb()`.
    Search for the 'needle' text on the page.
    )r   ll_fz_search_page_cbr'
  rV  r  rt  s       r   rH  rH  8  s    
 &&tVR@@r#   c                 6    t        j                  | |||||      S )a  
     Low-level wrapper for `::fz_search_page_number()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_search_page_number(::fz_document *doc, int number, const char *needle, ::fz_quad *hit_bbox, int hit_max)` => `(int, int hit_mark)`
    )r   ll_fz_search_page_numberrO   r  rV  r5  r6  r7  s         r   rK  rK  8  s      **3(T[\\r#   c                 4    t        j                  | ||||      S )z5Low-level wrapper for `::fz_search_page_number_cb()`.)r   ll_fz_search_page_number_cbrO   r  rV  r  rt  s        r   rN  rN  8  s    --c662vNNr#   c                 4    t        j                  | ||||      S )a  
     Low-level wrapper for `::fz_search_stext_page()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_search_stext_page(::fz_stext_page *text, const char *needle, ::fz_quad *hit_bbox, int hit_max)` => `(int, int hit_mark)`

    	Search for occurrence of 'needle' in text page.

    	Return the number of quads and store hit quads in the passed in
    	array.

    	NOTE: This is an experimental interface and subject to change
    	without notice.
    )r   ll_fz_search_stext_pager
  rV  r5  r6  r7  s        r   rQ  rQ  9  s     ))$(GTTr#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_search_stext_page_cb()`.
    Search for occurrence of 'needle' in text page.

    Call callback once for each hit. This callback will receive
    (potentially) multiple quads for each hit.

    Returns the number of hits - note that this is potentially
    different from (i.e. is not greater than) the number of quads
    as returned by the non callback API.

    NOTE: This is an experimental interface and subject to change
    without notice.
    )r   ll_fz_search_stext_page_cbr
  rV  r  rt  s       r   rT  rT  9  s     ,,T62vFFr#   c                 0    t        j                  | ||      S )a-  
    Low-level wrapper for `::fz_seek()`.
    Seek within a stream.

    stm: The stream to seek within.

    offset: The offset to seek to.

    whence: From where the offset is measured (see fseek).
    SEEK_SET - start of stream.
    SEEK_CUR - current position.
    SEEK_END - end of stream.

    )r   
ll_fz_seekr  rb  whences      r   rW  rW  #9  s     S&&11r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_seek_output()`.
    Seek to the specified file position.
    See fseek for arguments.

    Throw an error on unseekable outputs.
    )r   ll_fz_seek_outputrl  offrY  s      r   r[  r[  49  s     ##Cf55r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_segment_stext_page()`.
    Perform segmentation analysis on an (unstructured) page to look for
    recursive subdivisions.

    Essentially this code attempts to split the page horizontally and/or
    vertically repeatedly into smaller and smaller "segments" (divisions).

    Returns 0 if no changes were made to the document.

    This is experimental code, and may change (or be removed) in future
    versions!
    )r   ll_fz_segment_stext_pager  s    r   r_  r_  >9  s     **400r#   c                 .    t        j                  | |      S )zx
    Low-level wrapper for `::fz_separation_current_behavior()`.
    Test for the current behavior of a separation.
    )r   !ll_fz_separation_current_behaviorrL  
separations     r   ra  ra  N9  s    
 33CDDr#   c                 6    t        j                  | |||||      S )an  
     Low-level wrapper for `::fz_separation_equivalent()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_separation_equivalent(const ::fz_separations *seps, int idx, ::fz_colorspace *dst_cs, ::fz_colorspace *prf, ::fz_color_params color_params)` => float dst_color

    	Get the equivalent separation color in a given colorspace.
    )r   ll_fz_separation_equivalentrI  r  r  r  r
  r  s         r   re  re  U9  s      --dCCQ]^^r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::fz_separation_name()`.)r   ll_fz_separation_namerb  s     r   rh  rh  `9  s    ''Z88r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_set_aa_level()`.
    Set the number of bits of antialiasing we should
    use (for both text and graphics).

    bits: The number of bits of antialiasing to use (values are
    clamped to within the 0 to 8 range).
    )r   ll_fz_set_aa_levelrX  s    r   rj  rj  d9  s     $$T**r#   c                 .    t        j                  | |      S )z;Low-level wrapper for `::fz_set_compressed_image_buffer()`.)r   !ll_fz_set_compressed_image_bufferr  rb  s     r   rm  rm  o9      33D#>>r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::fz_set_default_cmyk()`.)r   ll_fz_set_default_cmykr  rM  s     r   rq  rq  s9  s    ((R88r#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::fz_set_default_colorspaces()`.)r   ll_fz_set_default_colorspacesrT  r  s     r   rt  rt  w9  s    //Z@@r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_set_default_gray()`.
    Set new defaults within the default colorspace structure.

    New references are taken to the new default, and references to
    the old defaults dropped.

    Never throws exceptions.
    )r   ll_fz_set_default_grayrr  s     r   rw  rw  {9  s     ((R88r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::fz_set_default_output_intent()`.)r   ll_fz_set_default_output_intentrr  s     r   ry  ry  9  s    11*bAAr#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::fz_set_default_rgb()`.)r   ll_fz_set_default_rgbrr  s     r   r{  r{  9  s    ''
B77r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_set_error_callback()`.
    Set the error callback. This will be called as part of the
    exception handling.

    The callback must not throw exceptions!
    )r   ll_fz_set_error_callbackerror_cbr  s     r   r}  r}  9  s     **8T::r#   c                 4    t        j                  | ||||      S )z
    Low-level wrapper for `::fz_set_font_bbox()`.
    Set the font bbox.

    font: The font to set the bbox for.

    xmin, ymin, xmax, ymax: The bounding box.
    )r   ll_fz_set_font_bboxr  xminyminxmaxymaxs        r   r  r  9  s     %%dD$dCCr#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_set_font_embedding()`.
    Control whether a given font should be embedded or not when writing.
    )r   ll_fz_set_font_embeddingr  rM  s     r   r  r  9  s    
 **477r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_set_graphics_aa_level()`.
    Set the number of bits of antialiasing we
    should use for graphics.

    bits: The number of bits of antialiasing to use (values are
    clamped to within the 0 to 8 range).
    )r   ll_fz_set_graphics_aa_levelrk  s    r   r  r  9  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_set_graphics_min_line_width()`.
    Set the minimum line width to be
    used for stroked lines.

    min_line_width: The minimum line width to use (in pixels).
    )r   !ll_fz_set_graphics_min_line_widthr^  s    r   r  r  9  s     33NCCr#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::fz_set_link_rect()`.)r   ll_fz_set_link_rectr  r  s     r   r  r  9      %%dD11r#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::fz_set_link_uri()`.)r   ll_fz_set_link_urir  r"  s     r   r  r  9      $$T3//r#   c                 0    t        j                  | ||      S )z,Low-level wrapper for `::fz_set_metadata()`.)r   ll_fz_set_metadatarO   rk  r    s      r   r  r  9  r  r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::fz_set_pixmap_image_tile()`.)r   ll_fz_set_pixmap_image_tiler  r\  s     r   r  r  9      --dC88r#   c                 0    t        j                  | ||      S )zu
    Low-level wrapper for `::fz_set_pixmap_resolution()`.
    Set the pixels per inch resolution of the pixmap.
    )r   ll_fz_set_pixmap_resolutionr\  rL  rO  s      r   r  r  9  s    
 --c4>>r#   c                 0    t        j                  | ||      S )zr
    Low-level wrapper for `::fz_set_separation_behavior()`.
    Control the rendering of a given separation.
    )r   ll_fz_set_separation_behaviorrL  rc  behaviors      r   r  r  9  s    
 //ZJJr#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_set_stddbg()`.
    Set the output stream to be used for fz_stddbg. Set to NULL to
    reset to default (stderr).
    )r   ll_fz_set_stddbgrI  s    r   r  r  9  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_set_text_aa_level()`.
    Set the number of bits of antialiasing we
    should use for text.

    bits: The number of bits of antialiasing to use (values are
    clamped to within the 0 to 8 range).
    )r   ll_fz_set_text_aa_levelrk  s    r   r  r  9  r'  r#   c                 ,    t        j                  |       S )z~
    Low-level wrapper for `::fz_set_use_document_css()`.
    Toggle whether to respect document styles in HTML and EPUB.
    )r   ll_fz_set_use_document_cssuses    r   r  r  9      
 ,,S11r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_set_user_context()`.
    Set the user field in the context.

    NULL initially, this field can be set to any opaque value
    required by the user. It is copied on clones.
    )r   ll_fz_set_user_contextr  s    r   r  r  9  rP  r#   c                 ,    t        j                  |       S )zz
    Low-level wrapper for `::fz_set_user_css()`.
    Set the user stylesheet source text for use with HTML and EPUB.
    )r   ll_fz_set_user_cssr  s    r   r  r  :  r0  r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_set_warning_callback()`.
    Set the warning callback. This will be called as part of the
    exception handling.

    The callback must not throw exceptions!
    )r   ll_fz_set_warning_callback
warning_cbr  s     r   r  r  	:  s     ,,Z>>r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_sha256_final()`.
    MD5 finalization. Ends an MD5 message-digest operation, writing
    the message digest and zeroizing the context.

    Never throws an exception.
    )r   ll_fz_sha256_finalr  s     r   r  r  :       $$UF33r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_sha256_init()`.
    SHA256 initialization. Begins an SHA256 operation, initialising
    the supplied context.

    Never throws an exception.
    )r   ll_fz_sha256_initr  s    r   r  r  :       ##E**r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_sha256_update()`.
    SHA256 block update operation. Continues an SHA256 message-
    digest operation, processing another message block, and updating
    the context.

    Never throws an exception.
    )r   ll_fz_sha256_updater  s      r   r  r  ':       %%eUE::r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_sha384_final()`.
    SHA384 finalization. Ends an SHA384 message-digest operation,
    writing the message digest and zeroizing the context.

    Never throws an exception.
    )r   ll_fz_sha384_finalr  s     r   r  r  2:  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_sha384_init()`.
    SHA384 initialization. Begins an SHA384 operation, initialising
    the supplied context.

    Never throws an exception.
    )r   ll_fz_sha384_initr  s    r   r  r  <:  r  r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_sha384_update()`.
    SHA384 block update operation. Continues an SHA384 message-
    digest operation, processing another message block, and updating
    the context.

    Never throws an exception.
    )r   ll_fz_sha384_updater  s      r   r  r  F:  r  r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_sha512_final()`.
    SHA512 finalization. Ends an SHA512 message-digest operation,
    writing the message digest and zeroizing the context.

    Never throws an exception.
    )r   ll_fz_sha512_finalr  s     r   r  r  Q:  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_sha512_init()`.
    SHA512 initialization. Begins an SHA512 operation, initialising
    the supplied context.

    Never throws an exception.
    )r   ll_fz_sha512_initr  s    r   r  r  [:  r  r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_sha512_update()`.
    SHA512 block update operation. Continues an SHA512 message-
    digest operation, processing another message block, and updating
    the context.

    Never throws an exception.
    )r   ll_fz_sha512_updater  s      r   r  r  e:  r  r#   c                 .    t        j                  | |      S )a;  
    Low-level wrapper for `::fz_shear()`.
    Create a shearing matrix.

    The returned matrix is of the form [ 1 sy sx 1 0 0 ].

    m: pointer to place to store returned matrix

    sx, sy: Shearing factors. A shearing factor of 0.0 will not
    cause any shearing along the relevant axis.

    Returns m.
    )r   ll_fz_shearr.  s     r   r  r  p:  s     b"%%r#   c	                 <    t        j                  | ||||||||	      S )a  
    Low-level wrapper for `::fz_show_glyph()`.
    Add a glyph/unicode value to a text object.

    text: Text object to add to.

    font: The font the glyph should be added in.

    trm: The transform to use for the glyph.

    glyph: The glyph id to add.

    unicode: The unicode character for the glyph.

    cid: The CJK CID value or raw character code.

    wmode: 1 for vertical mode, 0 for horizontal.

    bidi_level: The bidirectional level for this glyph.

    markup_dir: The direction of the text as specified in the
    markup.

    language: The language in use (if known, 0 otherwise)
    (e.g. FZ_LANG_zh_Hans).

    Throws exception on failure to allocate.
    )r   ll_fz_show_glyph	r
  r  r$	  r[  r  r'	  r*	  r-	  r0	  s	            r   r  r  :  s'    : ""4sE7E:Wackllr#   c                 @    t        j                  | |||||||||	|
      S )z.Low-level wrapper for `::fz_show_glyph_aux()`.)r   ll_fz_show_glyph_auxr
  r  r$	  r	  r[  r  r	  r'	  r*	  r-	  r(  s              r   r  r  :  s+    &&tT3UGSRWYceoquvvr#   c           
      :    t        j                  | |||||||      S )aK  
    Low-level wrapper for `::fz_show_string()`.
    Add a UTF8 string to a text object.

    text: Text object to add to.

    font: The font the string should be added in.

    trm: The transform to use.

    s: The utf-8 string to add.

    wmode: 1 for vertical mode, 0 for horizontal.

    bidi_level: The bidirectional level for this glyph.

    markup_dir: The direction of the text as specified in the markup.

    language: The language in use (if known, 0 otherwise)
    	(e.g. FZ_LANG_zh_Hans).

    Returns the transform updated with the advance width of the
    string.
    )r   ll_fz_show_stringr
  r  r$	  r<  r'	  r*	  r-	  r0	  s           r   r  r  :  s$    2 ##D$Qz:W_``r#   c                 ,    t        j                  |       S )aN  
    Low-level wrapper for `::fz_shrink_store()`.
    Evict items from the store until the total size of
    the objects in the store is reduced to a given percentage of its
    current size.

    percent: %age of current size to reduce the store to.

    Returns non zero if we managed to free enough memory, zero
    otherwise.
    )r   ll_fz_shrink_storepercents    r   r  r  :  rd  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::fz_skew_detect()`.)r   ll_fz_skew_detectrF  s    r   r  r  :      ##F++r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_skip()`.
    Read from a stream discarding data.

    stm: The stream to read from.

    len: The number of bytes to read.

    Returns the number of bytes read. May throw exceptions.
    )r   
ll_fz_skipr  r  s     r   r  r  :  s     S#&&r#   c                 ,    t        j                  |       S )zh
    Low-level wrapper for `::fz_skip_space()`.
    Skip over whitespace (bytes <= 32) in a stream.
    )r   ll_fz_skip_spacer  s    r   r  r  :  r  r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_skip_string()`.
    Skip over a given string in a stream. Return 0 if successfully
    skipped, non-zero otherwise. As many characters will be skipped
    over as matched in the string.
    )r   ll_fz_skip_stringr  r  s     r   r  r  :  s     ##C--r#   c                 0    t        j                  | ||      S )a"  
    Low-level wrapper for `::fz_slice_buffer()`.
    Create a new buffer with a (subset of) the data from the buffer.

    start: if >= 0, offset from start of buffer, if < 0 offset from end of buffer.

    end: if >= 0, offset from start of buffer, if < 0 offset from end of buffer.

    )r   ll_fz_slice_bufferrb  rw  r   s      r   r  r  :  s     $$S%55r#   c                 2    t        j                  | |||      S )z.Low-level wrapper for `::fz_snap_selection()`.)r   ll_fz_snap_selectionr'
  apr  r`  s       r   r  r  :  s    &&tRT::r#   c                  *    t        j                         S )z5Low-level wrapper for `::fz_start_throw_on_repair()`.)r   ll_fz_start_throw_on_repairr$   r#   r   r  r  :  s    --//r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::fz_stat_ctime()`.)r   ll_fz_stat_ctimer  s    r   r  r  ;      ""4((r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::fz_stat_mtime()`.)r   ll_fz_stat_mtimer  s    r   r  r  ;  r  r#   c                  *    t        j                         S )a  
    Low-level wrapper for `::fz_stddbg()`.
    Retrieve an fz_output for the default debugging stream. On
    Windows this will be OutputDebugString for non-console apps.
    Otherwise, it is always fz_stderr.

    Optionally may be fz_dropped when finished with.
    )r   ll_fz_stddbgr$   r#   r   r  r  	;  s       r#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_stderr()`.
    Retrieve an fz_output that directs to stdout.

    Optionally may be fz_dropped when finished with.
    )r   ll_fz_stderrr$   r#   r   r  r  ;         r#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_stdout()`.
    Retrieve an fz_output that directs to stdout.

    Optionally may be fz_dropped when finished with.
    )r   ll_fz_stdoutr$   r#   r   r  r  ;  r  r#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_store_item()`.
    Add an item to the store.

    Add an item into the store, returning NULL for success. If an
    item with the same key is found in the store, then our item will
    not be inserted, and the function will return a pointer to that
    value instead. This function takes its own reference to val, as
    required (i.e. the caller maintains ownership of its own
    reference).

    key: The key used to index the item.

    val: The value to store.

    itemsize: The size in bytes of the value (as counted towards the
    store size).

    type: Functions used to manipulate the key.
    )r   ll_fz_store_itemrk  r  itemsizer   s       r   r  r  &;  s    * ""3Xt<<r#   c                 .    t        j                  | |      S )aw  
     Low-level wrapper for `::fz_store_scavenge()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_store_scavenge(size_t size)` => `(int, int phase)`

    	Internal function used as part of the scavenging
    	allocator; when we fail to allocate memory, before returning a
    	failure to the caller, we try to scavenge space within the store
    	by evicting at least 'size' bytes. The allocator then retries.

    	size: The number of bytes we are trying to have free.

    	phase: What phase of the scavenge we are in. Updated on exit.

    	Returns non zero if we managed to free any memory.
    )r   ll_fz_store_scavenger   phases     r   r  r  =;  s    $ &&tU33r#   c                 .    t        j                  | |      S )a  
     Low-level wrapper for `::fz_store_scavenge_external()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_store_scavenge_external(size_t size)` => `(int, int phase)`

    	External function for callers to use
    	to scavenge while trying allocations.

    	size: The number of bytes we are trying to have free.

    	phase: What phase of the scavenge we are in. Updated on exit.

    	Returns non zero if we managed to free any memory.
    )r   ll_fz_store_scavenge_externalr    s     r   r   r   Q;  s      //e<<r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::fz_story_document()`.)r   ll_fz_story_documentr  s    r   r   r   c;  rn  r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::fz_story_positions()`.)r   ll_fz_story_positionsr
  r  r  s      r   r   r   g;  s    ''r377r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::fz_story_warnings()`.)r   ll_fz_story_warningsr  s    r   r
   r
   k;  rn  r#   c                 .    t        j                  | |      S )zi
    Low-level wrapper for `::fz_strcasecmp()`.
    Case insensitive (ASCII only) string comparison.
    )r   ll_fz_strcasecmpr  s     r   r   r   o;  s    
 ""1a((r#   c                 ,    t        j                  |       S )zi
    Low-level wrapper for `::fz_strdup()`.
    Portable strdup implementation, using fz allocators.
    )r   ll_fz_strdupr;  s    r   r   r   v;  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_stream_filename()`.
    Return the filename (UTF-8 encoded) from which a stream was opened.

    Returns NULL if the filename is not available (or the stream was
    opened from a source other than a file).
    )r   ll_fz_stream_filenamer  s    r   r   r   };  r  r#   c                 ,    t        j                  |       S )a~  
    Low-level wrapper for `::fz_stream_from_output()`.
    Obtain the fz_output in the form of a fz_stream.

    This allows data to be read back from some forms of fz_output
    object. When finished reading, the fz_stream should be released
    by calling fz_drop_stream. Until the fz_stream is dropped, no
    further operations should be performed on the fz_output object.
    )r   ll_fz_stream_from_outputr  s    r   r   r   ;  s     **511r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::fz_string_from_box_type()`.)r   ll_fz_string_from_box_typer  s    r   r   r   ;      ,,S11r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_string_from_buffer()`.
    Ensure that a buffer's data ends in a
    0 byte, and return a pointer to it.
    )r   ll_fz_string_from_bufferr{  s    r   r   r   ;  r^  r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_string_from_text_language()`.
    Recover ISO 639 (639-{1,2,3,5}) language specification
    strings losslessly from a 15 bit fz_text_language code.

    No validation is carried out. See note above.
    )r   ll_fz_string_from_text_languager  r(  s     r   r   r   ;  s     11#t<<r#   c                 ,    t        j                  |       S )z
     Low-level wrapper for `::fz_string_from_text_language2()`.
    C++ alternative to fz_string_from_text_language() that returns information in a std::string.
    )r    ll_fz_string_from_text_language2r(  s    r   r   r   ;  r  r#   c                 0    t        j                  | ||      S )af  
    Low-level wrapper for `::fz_strlcat()`.
    Concatenate 2 strings, with a maximum length.

    dst: pointer to first string in a buffer of n bytes.

    src: pointer to string to concatenate.

    n: Size (in bytes) of buffer that dst is in.

    Returns the real length that a concatenated dst + src would have
    been (not including terminator).
    )r   ll_fz_strlcatdstr  r[   s      r   r    r    ;  s     S!,,r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_strlcpy()`.
    Copy at most n-1 chars of a string into a destination
    buffer with null termination, returning the real length of the
    initial string (excluding terminator).

    dst: Destination buffer, at least n bytes long.

    src: C string (non-NULL).

    n: Size of dst buffer in bytes.

    Returns the length (excluding terminator) of src.
    )r   ll_fz_strlcpyr!   s      r   r$   r$   ;  s     S!,,r#   c                 0    t        j                  | ||      S )z+Low-level wrapper for `::fz_strncasecmp()`.)r   ll_fz_strncasecmpr  r  r[   s      r   r&   r&   ;  s    ##Aq!,,r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_strnlen()`.
    Return strlen(s), if that is less than maxlen, or maxlen if
    there is no null byte ('') among the first maxlen bytes.
    )r   ll_fz_strnlenr<  r  s     r   r)   r)   ;  s     6**r#   c           
      :    t        j                  | |||||||      S )z+Low-level wrapper for `::fz_stroke_path()`.)r   ll_fz_stroke_pathrT  r  rV  rW  r  r  rA  r  s           r   r,   r,   ;  "    ##CvsJuVbccr#   c           
      :    t        j                  | |||||||      S )z+Low-level wrapper for `::fz_stroke_text()`.)r   ll_fz_stroke_textrT  r
  rV  rW  r  r  rA  r  s           r   r0   r0   ;  r.   r#   c                 .    t        j                  | |      S )a0  
     Low-level wrapper for `::fz_strsep()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_strsep(const char *delim)` => `(char *, char *stringp)`

    	Given a pointer to a C string (or a pointer to NULL) break
    	it at the first occurrence of a delimiter char (from a given
    	set).

    	stringp: Pointer to a C string pointer (or NULL). Updated on
    	exit to point to the first char of the string after the
    	delimiter that was found. The string pointed to by stringp will
    	be corrupted by this call (as the found delimiter will be
    	overwritten by 0).

    	delim: A C string of acceptable delimiter characters.

    	Returns a pointer to a C string containing the chars of stringp
    	up to the first delimiter char (or the end of the string), or
    	NULL.
    )r   ll_fz_strsepstringpdelims     r   r3   r3   ;  s    . w..r#   c                 .    t        j                  | |      S )a  
     Low-level wrapper for `::fz_strtof()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_strtof(const char *s)` => `(float, char *es)`

    	Locale-independent decimal to binary conversion. On overflow
    	return (-)INFINITY and set errno to ERANGE. On underflow return
    	0 and set errno to ERANGE. Special inputs (case insensitive):
    	"NAN", "INF" or "INFINITY".
    )r   ll_fz_strtofr<  ess     r   r8   r8   ;  s     q"%%r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::fz_structure_from_string()`.)r   ll_fz_structure_from_stringr  s    r   r<   r<   <      --c22r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::fz_structure_to_string()`.)r   ll_fz_structure_to_stringr  s    r   r?   r?   <  rk  r#   c                 2    t        j                  | |||      S )a`  
    Low-level wrapper for `::fz_subpixel_adjust()`.
    Perform subpixel quantisation and adjustment on a glyph matrix.

    ctm: On entry, the desired 'ideal' transformation for a glyph.
    On exit, adjusted to a (very similar) transformation quantised
    for subpixel caching.

    subpix_ctm: Initialised by the routine to the transform that
    should be used to render the glyph.

    qe, qf: which subpixel position we quantised to.

    Returns: the size of the glyph.

    Note: This is currently only exposed for use in our app. It
    should be considered "at risk" of removal from the API.
    )r   ll_fz_subpixel_adjustrW  
subpix_ctmqeqfs       r   rA   rA   <  s    & ''ZR@@r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::fz_subsample_pixmap()`.)r   ll_fz_subsample_pixmaptilefactors     r   rG   rG   )<  s    ((v66r#   c                 4    t        j                  | ||||      S )z
     Low-level wrapper for `::fz_subset_cff_for_gids()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_subset_cff_for_gids(::fz_buffer *orig, int num_gids, int symbolic, int cidfont)` => `(fz_buffer *, int gids)`
    )r   ll_fz_subset_cff_for_gidsoriggidsnum_gidssymboliccidfonts        r   rL   rL   -<       ++D$(GTTr#   c                 4    t        j                  | ||||      S )z
     Low-level wrapper for `::fz_subset_ttf_for_gids()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_subset_ttf_for_gids(::fz_buffer *orig, int num_gids, int symbolic, int cidfont)` => `(fz_buffer *, int gids)`
    )r   ll_fz_subset_ttf_for_gidsrM   s        r   rU   rU   6<  rS   r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_sync_bits()`.
    Called after reading bits to tell the stream
    that we are about to return to reading bytewise. Resyncs
    the stream to whole byte boundaries.
    )r   ll_fz_sync_bitsr  s    r   rW   rW   ?<  r  r#   c                 ,    t        j                  |       S )zf
    Low-level wrapper for `::fz_tell()`.
    return the current reading position within a stream
    )r   
ll_fz_tellr  s    r   rY   rY   H<      
 S!!r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_tell_output()`.
    Return the current file position.

    Throw an error on untellable outputs.
    )r   ll_fz_tell_outputrI  s    r   r\   r\   O<  r1  r#   c                 ,    t        j                  |       S )a  
    Low-level wrapper for `::fz_terminate_buffer()`.
    Zero-terminate buffer in order to use as a C string.

    This byte is invisible and does not affect the length of the
    buffer as returned by fz_buffer_storage. The zero byte is
    written *after* the data, and subsequent writes will overwrite
    the terminating byte.

    Subsequent changes to the size of the buffer (such as by
    fz_buffer_trim, fz_buffer_grow, fz_resize_buffer, etc) may
    invalidate this.
    )r   ll_fz_terminate_bufferr{  s    r   r^   r^   X<  s     ((--r#   c                  *    t        j                         S )z
    Low-level wrapper for `::fz_text_aa_level()`.
    Get the number of bits of antialiasing we are
    using for text. Between 0 and 8.
    )r   ll_fz_text_aa_levelr$   r#   r   r`   r`   h<  s     %%''r#   c                 ,    t        j                  |       S )ao  
    Low-level wrapper for `::fz_text_language_from_string()`.
    Convert ISO 639 (639-{1,2,3,5}) language specification
    strings losslessly to a 15 bit fz_text_language code.

    No validation is carried out. Obviously invalid (out
    of spec) codes will be mapped to FZ_LANG_UNSET, but
    well-formed (but undefined) codes will be blithely
    accepted.
    )r   ll_fz_text_language_from_stringr  s    r   rb   rb   p<  s     11#66r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_tint_pixmap()`.
    Tint all the pixels in an RGB, BGR, or Gray pixmap.

    black: Map black to this hexadecimal RGB color.

    white: Map white to this hexadecimal RGB color.
    )r   ll_fz_tint_pixmapr\  blackwhites      r   rd   rd   }<  s     ##C66r#   c                 ,    t        j                  |       S )zb
    Low-level wrapper for `::fz_tolower()`.
    Unicode aware tolower and toupper functions.
    )r   ll_fz_tolowerr  s    r   ri   ri   <      
 ""r#   c                 ,    t        j                  |       S )z'Low-level wrapper for `::fz_toupper()`.)r   ll_fz_toupperrj   s    r   rm   rm   <  rR  r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_transform_page()`.
    Create transform matrix to draw page
    at a given resolution and rotation. Adjusts the scaling
    factors so that the page covers whole number of
    pixels and adjust the page origin to be at 0,0.
    )r   ll_fz_transform_pagerq
  
resolutionr
  s      r   ro   ro   <  s     &&xVDDr#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_transform_path()`.
    Transform a path by a given
    matrix.

    path: The path to modify (must not be a packed path).

    transform: The transform to apply.

    Throws exceptions if the path is packed, or on failure
    to allocate.
    )r   ll_fz_transform_pathr  r  s     r   rs   rs   <  s     &&tY77r#   c                 .    t        j                  | |      S )a4  
    Low-level wrapper for `::fz_transform_point()`.
    Apply a transformation to a point.

    transform: Transformation matrix to apply. See fz_concat,
    fz_scale, fz_rotate and fz_translate for how to create a
    matrix.

    point: Pointer to point to update.

    Returns transform (unchanged).
    )r   ll_fz_transform_pointpointrW	  s     r   rv   rv   <  s     ''q11r#   c                 0    t        j                  | ||      S )z2Low-level wrapper for `::fz_transform_point_xy()`.)r   ll_fz_transform_point_xyrF   r  rW	  s      r   rz   rz   <  s    **1a33r#   c                 .    t        j                  | |      S )zZ
    Low-level wrapper for `::fz_transform_quad()`.
    Transform a quad by a matrix.
    )r   ll_fz_transform_quadr&  rW	  s     r   r}   r}   <  s    
 &&q!,,r#   c                 .    t        j                  | |      S )a[  
    Low-level wrapper for `::fz_transform_rect()`.
    Apply a transform to a rectangle.

    After the four corner points of the axis-aligned rectangle
    have been transformed it may not longer be axis-aligned. So a
    new axis-aligned rectangle is created covering at least the
    area of the transformed rectangle.

    transform: Transformation matrix to apply. See fz_concat,
    fz_scale and fz_rotate for how to create a matrix.

    rect: Rectangle to be transformed. The two special cases
    fz_empty_rect and fz_infinite_rect, may be used but are
    returned unchanged as expected.
    )r   ll_fz_transform_rectr  rW	  s     r   r   r   <  s    " &&tQ//r#   c                 .    t        j                  | |      S )a'  
    Low-level wrapper for `::fz_transform_vector()`.
    Apply a transformation to a vector.

    transform: Transformation matrix to apply. See fz_concat,
    fz_scale and fz_rotate for how to create a matrix. Any
    translation will be ignored.

    vector: Pointer to vector to update.
    )r   ll_fz_transform_vectorvectorrW	  s     r   r   r   <  s     ((33r#   c                 .    t        j                  | |      S )a[  
    Low-level wrapper for `::fz_translate()`.
    Create a translation matrix.

    The returned matrix is of the form [ 1 0 0 1 tx ty ].

    m: A place to store the created matrix.

    tx, ty: Translation distances along the X- and Y-axes. A
    translation of 0 will not cause any translation along the
    relevant axis.

    Returns m.
    )r   ll_fz_translater  r   s     r   r   r   <  s     !!"b))r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::fz_translate_irect()`.)r   ll_fz_translate_irectr  xoffyoffs      r   r   r   <  s    ''466r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_translate_rect()`.
    Translate bounding box.

    Translate a bbox by a given x and y offset. Allows for overflow.
    )r   ll_fz_translate_rectr   s      r   r   r   <  s     &&q$55r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_tree_archive_add_buffer()`.
    Add a named buffer to an existing tree archive.

    The tree will take a new reference to the buffer. Ownership
    is not transferred.
    )r   ll_fz_tree_archive_add_bufferr  r   rb  s      r   r   r   =  s     //tSAAr#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_tree_archive_add_data()`.
    Add a named block of data to an existing tree archive.

    The data will be copied into a buffer, and so the caller
    may free it as soon as this returns.
    )r   ll_fz_tree_archive_add_datar  r   r?   r   s       r   r   r   =  s     --eT4FFr#   c                 0    t        j                  | ||      S )aJ  
    Low-level wrapper for `::fz_tree_insert()`.
    Insert a new key/value pair and rebalance the tree.
    Return the new root of the tree after inserting and rebalancing.
    May be called with a NULL root to create a new tree.

    No data is copied into the tree structure; key and value are
    merely kept as pointers.
    )r   ll_fz_tree_insert)r*  rk  r    s      r   r   r   =  s     ##D#u55r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_tree_lookup()`.
    Look for the value of a node in the tree with the given key.

    Simple pointer equivalence is used for key.

    Returns NULL for no match.
    )r   ll_fz_tree_lookupr  rk  s     r   r   r   $=  s     ##D#..r#   c                 ,    t        j                  |       S )zy
    Low-level wrapper for `::fz_trim_buffer()`.
    Trim wasted capacity from a buffer by resizing internal memory.
    )r   ll_fz_trim_bufferr{  s    r   r   r   /=  r  r#   c                 ,    t        j                  |       S )aI  
    Low-level wrapper for `::fz_trim_path()`.
    Minimise the internal storage used by a path.

    As paths are constructed, the internal buffers
    grow. To avoid repeated reallocations they
    grow with some spare space. Once a path has
    been fully constructed, this call allows the
    excess space to be trimmed.
    )r   ll_fz_trim_pathr  s    r   r   r   6=  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_truncate_output()`.
    Truncate the output at the current position.

    This allows output streams which have seeked back from the end
    of their storage to be truncated at the current point.
    )r   ll_fz_truncate_outputr  s    r   r   r   C=  s     ''..r#   c                 .    t        j                  | |      S )aB  
    Low-level wrapper for `::fz_try_invert_matrix()`.
    Attempt to create an inverse matrix.

    inv: Place to store inverse matrix.

    src: Matrix to invert. A degenerate matrix, where the
    determinant is equal to zero, can not be inverted.

    Returns 1 if matrix is degenerate (singular), or 0 otherwise.
    )r   ll_fz_try_invert_matrixinvr  s     r   r   r   M=  s     ))#s33r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_try_open_archive_entry()`.
    Opens an archive entry as a stream.

    Returns NULL if a matching entry cannot be found, otherwise
    behaves exactly as fz_open_archive_entry.
    )r   ll_fz_try_open_archive_entryr  s     r   r   r   [=  s     ..tT::r#   c                 ,    t        j                  |       S )a!  
    Low-level wrapper for `::fz_try_open_archive_with_stream()`.
    Open zip or tar archive stream.

    Does the same as fz_open_archive_with_stream, but will not throw
    an error in the event of failing to recognise the format. Will
    still throw errors in other cases though!
    )r   "ll_fz_try_open_archive_with_streamr  s    r   r   r   e=       44T::r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_try_open_file()`.
    Open the named file and wrap it in a stream.

    Does the same as fz_open_file, but in the event the file
    does not open, it will return NULL rather than throw an
    exception.
    )r   ll_fz_try_open_filer  s    r   r   r   p=  s     %%d++r#   c                 0    t        j                  | ||      S )af  
    Low-level wrapper for `::fz_try_parse_xml_archive_entry()`.
    Try and parse the contents of an archive entry into a tree of xml nodes.

    preserve_white: whether to keep or delete all-whitespace nodes.

    Will return NULL if the archive entry can't be found. Otherwise behaves
    the same as fz_parse_xml_archive_entry. May throw exceptions.
    )r   !ll_fz_try_parse_xml_archive_entryr  s      r   r   r   {=  s     33C>RRr#   c                 .    t        j                  | |      S )aj  
    Low-level wrapper for `::fz_try_read_archive_entry()`.
    Reads all bytes in an archive entry
    into a buffer.

    name: Entry name to look for, this must be an exact match to
    the entry name in the archive.

    Returns NULL if a matching entry cannot be found. Otherwise behaves
    the same as fz_read_archive_entry. Exceptions may be thrown.
    )r   ll_fz_try_read_archive_entryr  s     r   r   r   =  s     ..tT::r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_try_read_file()`.
    Read all the contents of a file into a buffer.

    Returns NULL if the file does not exist, otherwise
    behaves exactly as fz_read_file.
    )r   ll_fz_try_read_filer  s    r   r   r   =  s     %%h//r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_tune_image_decode()`.
    Set the tuning function to use for
    image decode.

    image_decode: Function to use.

    arg: Opaque argument to be passed to tuning function.
    )r   ll_fz_tune_image_decodeimage_decoder  s     r   r   r   =  s     )),<<r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_tune_image_scale()`.
    Set the tuning function to use for
    image scaling.

    image_scale: Function to use.

    arg: Opaque argument to be passed to tuning function.
    )r   ll_fz_tune_image_scaleimage_scaler  s     r   r   r   =  s     ((c::r#   c                 ,    t        j                  |       S )z7Low-level wrapper for `::fz_unicode_from_glyph_name()`.)r   ll_fz_unicode_from_glyph_namer  s    r   r   r   =      //55r#   c                 ,    t        j                  |       S )z>Low-level wrapper for `::fz_unicode_from_glyph_name_strict()`.)r   $ll_fz_unicode_from_glyph_name_strictr  s    r   r   r   =  s    66t<<r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::fz_union_rect()`.
    Compute union of two rectangles.

    Given two rectangles, update the first to be the smallest
    axis-aligned rectangle that encompasses both given rectangles.
    If either rectangle is infinite then the union is also infinite.
    If either rectangle is empty then the union is simply the
    non-empty rectangle. Should both rectangles be empty, then the
    union is also empty.
    )r   ll_fz_union_rectr  s     r   r   r   =  s     ""1a((r#   c                 ,    t        j                  |       S )z]
    Low-level wrapper for `::fz_unlock()`.
    Unlock one of the user supplied mutexes.
    )r   ll_fz_unlockr  s    r   r   r   =      
 t$$r#   c           
      :    t        j                  | |||||||      S )z-Low-level wrapper for `::fz_unpack_stream()`.)r   ll_fz_unpack_streamr  rG  r7  r:  r[   r[  r  skips           r   r   r   =  s!    %%c5!Q7CNNr#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_unread_byte()`.
    Unread the single last byte successfully
    read from a stream. Do not call this without having
    successfully read a byte.

    stm: The stream to operate upon.
    )r   ll_fz_unread_byter  s    r   r   r   =  r/  r#   c                 ,    t        j                  |       S )a#  
    Low-level wrapper for `::fz_unshare_stroke_state()`.
    Given a reference to a (possibly) shared stroke_state structure,
    return a reference to an equivalent stroke_state structure
    that is guaranteed to be unshared (i.e. one that can
    safely be modified).

    shared: The reference to a (possibly) shared structure
    to unshare. Ownership of this reference is passed in
    to this function, even in the case of exceptions being
    thrown.

    Exceptions may be thrown in the event of failure to
    allocate if required.
    )r   ll_fz_unshare_stroke_stater  s    r   r   r   =  s      ,,V44r#   c                 .    t        j                  | |      S )aQ  
    Low-level wrapper for `::fz_unshare_stroke_state_with_dash_len()`.
    Given a reference to a (possibly) shared stroke_state structure,
    return a reference to a stroke_state structure (with room for a
    given amount of dash data) that is guaranteed to be unshared
    (i.e. one that can safely be modified).

    shared: The reference to a (possibly) shared structure
    to unshare. Ownership of this reference is passed in
    to this function, even in the case of exceptions being
    thrown.

    Exceptions may be thrown in the event of failure to
    allocate if required.
    )r   (ll_fz_unshare_stroke_state_with_dash_lenr  r  s     r   r   r   =  s      ::63GGr#   c                 ,    t        j                  |       S )zb
    Low-level wrapper for `::fz_urldecode()`.
    Like fz_decode_uri_component but in-place.
    )r   ll_fz_urldecoder~  s    r   r   r   >      
 !!#&&r#   c                  *    t        j                         S )zz
    Low-level wrapper for `::fz_use_document_css()`.
    Return whether to respect document styles in HTML and EPUB.
    )r   ll_fz_use_document_cssr$   r#   r   r   r   >  s    
 ((**r#   c                  *    t        j                         S )z`
    Low-level wrapper for `::fz_user_context()`.
    Read the user field from the context.
    )r   ll_fz_user_contextr$   r#   r   r   r   >  s    
 $$&&r#   c                  *    t        j                         S )z[
    Low-level wrapper for `::fz_user_css()`.
    Get the user stylesheet source text.
    )r   ll_fz_user_cssr$   r#   r   r   r   >  r  r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_utflen()`.
    Count how many runes the UTF-8 encoded string
    consists of.

    s: The UTF-8 encoded, NUL-terminated text string.

    Returns the number of runes in the string.
    )r   ll_fz_utflenr;  s    r   r   r   #>  s     q!!r#   c                 ,    t        j                  |       S )z'Low-level wrapper for `::fz_var_imp()`.)r   ll_fz_var_imparg_0s    r   r   r   />      &&r#   c                 0    t        j                  | ||      S )ax  
    Low-level wrapper for `::fz_walk_path()`.
    Walk the segments of a path, calling the
    appropriate callback function from a given set for each
    segment of the path.

    path: The path to walk.

    walker: The set of callback functions to use. The first
    4 callback pointers in the set must be non-NULL. The
    subsequent ones can either be supplied, or can be left
    as NULL, in which case the top 4 functions will be
    called as appropriate to simulate them.

    arg: An opaque argument passed in to each callback.

    Exceptions will only be thrown if the underlying callback
    functions throw them.
    )r   ll_fz_walk_pathr  walkerr  s      r   r   r   3>  s    ( !!$44r#   c                  &    t        j                  |  S )z$Low-level wrapper for `::fz_warn()`.)r   
ll_fz_warnr  s    r   r   r   I>  s    d##r#   c                 ,    t        j                  |       S )a  
     Low-level wrapper for `::fz_warning_callback()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_fz_warning_callback()` => `(fz_warning_cb *, void *user)`

    	Retrieve the currently set warning callback, or NULL if none
    	has been set. Optionally, if user is non-NULL, the user pointer
    	given when the warning callback was set is also passed back to
    	the caller.
    )r   ll_fz_warning_callbackr  s    r   r   r   M>  s     ((..r#   c                 2    t        j                  | |||      S )z+Low-level wrapper for `::fz_warp_pixmap()`.)r   ll_fz_warp_pixmapr  r  r
  r
  s       r   r   r   [>  s    ##C??r#   c                 ,    t        j                  |       S )z9Low-level wrapper for `::fz_windows_1250_from_unicode()`.)r   ll_fz_windows_1250_from_unicoderl  s    r   r   r   _>      11!44r#   c                 ,    t        j                  |       S )z9Low-level wrapper for `::fz_windows_1251_from_unicode()`.)r   ll_fz_windows_1251_from_unicoderl  s    r   r   r   c>  r   r#   c                 ,    t        j                  |       S )z9Low-level wrapper for `::fz_windows_1252_from_unicode()`.)r   ll_fz_windows_1252_from_unicoderl  s    r   r   r   g>  r   r#   c                 2    t        j                  | |||      S )av  
    Low-level wrapper for `::fz_write_band()`.
    Cause a band writer to write the next band
    of data for an image.

    stride: The byte offset from the first byte of the data
    for a pixel to the first byte of the data for the same pixel
    on the row below.

    band_height: The number of lines in this band.

    samples: Pointer to first byte of the data.
    )r   ll_fz_write_bandr  rF  band_heightrT  s       r   r   r   k>  s     ""66;HHr#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_write_base64()`.
    Write a base64 encoded data block, optionally with periodic
    newlines.
    )r   ll_fz_write_base64rq  s       r   r   r   {>  s     $$S$g>>r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_write_base64_buffer()`.
    Write a base64 encoded fz_buffer, optionally with periodic
    newlines.
    )r   ll_fz_write_base64_bufferru  s      r   r   r   >  s     ++Cw??r#   c                 .    t        j                  | |      S )zZ
    Low-level wrapper for `::fz_write_bitmap_as_pbm()`.
    Write a bitmap as a pbm.
    )r   ll_fz_write_bitmap_as_pbmrl  r  s     r   r   r   >      
 ++C88r#   c                 0    t        j                  | ||      S )z]
    Low-level wrapper for `::fz_write_bitmap_as_pcl()`.
    Write a bitmap as mono PCL.
    )r   ll_fz_write_bitmap_as_pclrl  r  r  s      r   r !  r !  >      
 ++C==r#   c                 .    t        j                  | |      S )z_
    Low-level wrapper for `::fz_write_bitmap_as_pkm()`.
    Write a CMYK bitmap as a pkm.
    )r   ll_fz_write_bitmap_as_pkmr   s     r   r!  r!  >  r   r#   c                 0    t        j                  | ||      S )zZ
    Low-level wrapper for `::fz_write_bitmap_as_pwg()`.
    Write a bitmap as a PWG.
    )r   ll_fz_write_bitmap_as_pwgrl  r  r  s      r   r!  r!  >  r!  r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_write_bitmap_as_pwg_page()`.
    Write a bitmap as a PWG page.

    Caller should provide a file header by calling
    fz_write_pwg_file_header, but can then write several pages to
    the same file.
    )r   ll_fz_write_bitmap_as_pwg_pager!  s      r   r	!  r	!  >       00fcBBr#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_write_bits()`.
    Write num_bits of data to the end of the output stream, assumed to be packed
    most significant bits first.
    )r   ll_fz_write_bitsrl  r?   num_bitss      r   r!  r!  >  s     ""3h77r#   c                 ,    t        j                  |       S )zg
    Low-level wrapper for `::fz_write_bits_sync()`.
    Sync to byte boundary after writing bits.
    )r   ll_fz_write_bits_syncrI  s    r   r!  r!  >      
 '',,r#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::fz_write_buffer()`.)r   ll_fz_write_bufferrl  r?   s     r   r!  r!  >      $$S$//r#   c                 .    t        j                  | |      S )z*Low-level wrapper for `::fz_write_byte()`.)r   ll_fz_write_byterl  rF   s     r   r!  r!  >      ""3**r#   c                 .    t        j                  | |      S )z*Low-level wrapper for `::fz_write_char()`.)r   ll_fz_write_charr!  s     r   r!  r!  >  r!  r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_write_data()`.
    Write data to output.

    data: Pointer to data to write.
    size: Size of data to write in bytes.
    )r   ll_fz_write_datarl  r?   r   s      r   r!  r!  >  s     ""3d33r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_write_document()`.
    Convenience function to feed all the pages of a document to
    fz_begin_page/fz_run_page/fz_end_page.
    )r   ll_fz_write_documentr  rO   s     r   r !  r !  >  rC  r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::fz_write_float_be()`.)r   ll_fz_write_float_berl  r  s     r   r#!  r#!  >      &&sA..r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::fz_write_float_le()`.)r   ll_fz_write_float_ler$!  s     r   r'!  r'!  >  r%!  r#   c
                 >    t        j                  | |||||||||	
      S )a  
    Low-level wrapper for `::fz_write_header()`.
    Cause a band writer to write the header for
    a banded image with the given properties/dimensions etc. This
    also configures the bandwriter for the format of the data to be
    passed in future calls.

    w, h: Width and Height of the entire page.

    n: Number of components (including spots and alphas).

    alpha: Number of alpha components.

    xres, yres: X and Y resolutions in dpi.

    cs: Colorspace (NULL for bitmaps)

    seps: Separation details (or NULL).
    )r   ll_fz_write_header
r  r7  r:  r[   rA  rL  rO  r}  rM  rI  s
             r   r)!  r)!  >  s)    ( $$VQ1eT4RTVZ[[r#   c                 .    t        j                  | |      S )zz
    Low-level wrapper for `::fz_write_image_as_data_uri()`.
    Write image as a data URI (for HTML and SVG output).
    )r   ll_fz_write_image_as_data_urir  s     r   r,!  r,!  >  s    
 //U;;r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::fz_write_int16_be()`.)r   ll_fz_write_int16_ber!  s     r   r.!  r.!  ?  r%!  r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::fz_write_int16_le()`.)r   ll_fz_write_int16_ler!  s     r   r0!  r0!  ?  r%!  r#   c                 .    t        j                  | |      S )zl
    Low-level wrapper for `::fz_write_int32_be()`.
    Write different sized data to an output stream.
    )r   ll_fz_write_int32_ber!  s     r   r2!  r2!  ?  r  r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::fz_write_int32_le()`.)r   ll_fz_write_int32_ler!  s     r   r4!  r4!  ?  r%!  r#   c                 .    t        j                  | |      S )z8Low-level wrapper for `::fz_write_pixmap_as_data_uri()`.)r   ll_fz_write_pixmap_as_data_urir  s     r   r6!  r6!  ?  s    00f==r#   c                 2    t        j                  | |||      S )z\
    Low-level wrapper for `::fz_write_pixmap_as_jpeg()`.
    Write a pixmap as a JPEG.
    )r   ll_fz_write_pixmap_as_jpegrl  r\  r  r  s       r   r8!  r8!  ?  s    
 ,,S#wLLr#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_write_pixmap_as_jpx()`.
    Pixmap data as JP2K with no subsampling.

    quality = 100 = lossless
    otherwise for a factor of x compression use 100-x. (so 80 is 1:20 compression)
    )r   ll_fz_write_pixmap_as_jpxrl  r\  r  s      r   r;!  r;!  "?  s     ++Cg>>r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_write_pixmap_as_pam()`.
    Write a pixmap as a pnm (greyscale, rgb or cmyk, with or without
    alpha).
    )r   ll_fz_write_pixmap_as_pamr  s     r   r>!  r>!  ,?  s     ++C88r#   c                 0    t        j                  | ||      S )ze
    Low-level wrapper for `::fz_write_pixmap_as_pcl()`.
    Write an (RGB) pixmap as color PCL.
    )r   ll_fz_write_pixmap_as_pclrl  r  r  s      r   r@!  r@!  4?  r!  r#   c                 0    t        j                  | ||      S )zm
    Low-level wrapper for `::fz_write_pixmap_as_pclm()`.
    Write a (Greyscale or RGB) pixmap as pclm.
    )r   ll_fz_write_pixmap_as_pclmrl  r  r  s      r   rC!  rC!  ;?  s    
 ,,S&'BBr#   c                 0    t        j                  | ||      S )zq
    Low-level wrapper for `::fz_write_pixmap_as_pdfocr()`.
    Write a (Greyscale or RGB) pixmap as pdfocr.
    )r   ll_fz_write_pixmap_as_pdfocrrD!  s      r   rF!  rF!  B?  s    
 ..sFGDDr#   c                 .    t        j                  | |      S )zm
    Low-level wrapper for `::fz_write_pixmap_as_png()`.
    Write a (Greyscale or RGB) pixmap as a png.
    )r   ll_fz_write_pixmap_as_pngr  s     r   rH!  rH!  I?  r   r#   c                 .    t        j                  | |      S )zw
    Low-level wrapper for `::fz_write_pixmap_as_pnm()`.
    Write a pixmap as a pnm (greyscale or rgb, no alpha).
    )r   ll_fz_write_pixmap_as_pnmr  s     r   rJ!  rJ!  P?  r   r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_write_pixmap_as_ps()`.
    Write a (gray, rgb, or cmyk, no alpha) pixmap out as postscript.
    )r   ll_fz_write_pixmap_as_psr  s     r   rL!  rL!  W?  s    
 **377r#   c                 .    t        j                  | |      S )z_
    Low-level wrapper for `::fz_write_pixmap_as_psd()`.
    Write a pixmap as a PSD file.
    )r   ll_fz_write_pixmap_as_psdr  s     r   rN!  rN!  ^?  r   r#   c                 0    t        j                  | ||      S )zZ
    Low-level wrapper for `::fz_write_pixmap_as_pwg()`.
    Write a pixmap as a PWG.
    )r   ll_fz_write_pixmap_as_pwgrl  r  r  s      r   rP!  rP!  e?  r!  r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_write_pixmap_as_pwg_page()`.
    Write a pixmap as a PWG page.

    Caller should provide a file header by calling
    fz_write_pwg_file_header, but can then write several pages to
    the same file.
    )r   ll_fz_write_pixmap_as_pwg_pagerQ!  s      r   rS!  rS!  l?  r
!  r#   c                 ,    t        j                  |       S )zy
    Low-level wrapper for `::fz_write_ps_file_header()`.
    Write the file level header for ps band writer output.
    )r   ll_fz_write_ps_file_headerrI  s    r   rU!  rU!  w?  r  r#   c                 .    t        j                  | |      S )z{
    Low-level wrapper for `::fz_write_ps_file_trailer()`.
    Write the file level trailer for ps band writer output.
    )r   ll_fz_write_ps_file_trailerrl  pagess     r   rW!  rW!  ~?  s    
 --c599r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_write_pwg_file_header()`.
    Output the file header to a pwg stream, ready for pages to follow it.
    )r   ll_fz_write_pwg_file_headerrI  s    r   r[!  r[!  ?  s    
 --c22r#   c                 .    t        j                  | |      S )za
    Low-level wrapper for `::fz_write_rune()`.
    Write a UTF-8 encoded unicode character.
    )r   ll_fz_write_runerl  r5  s     r   r]!  r]!  ?  s    
 ""3--r#   c
                 >    t        j                  | |||||||||	
      S )z6Low-level wrapper for `::fz_write_stabilized_story()`.)r   ll_fz_write_stabilized_story
r  r  r  	contentfncontentfn_refrectfn
rectfn_refpagefn
pagefn_refr
  s
             r   r`!  r`!  ?  s9    ..vxYP]_egqsy  |F  HK  L  Lr#   c           
      :    t        j                  | |||||||      S )z+Low-level wrapper for `::fz_write_story()`.)r   ll_fz_write_storyr  r
  rd!  re!  
positionfnpositionfn_refrf!  rg!  s           r   ri!  ri!  ?  s$    ##FE6:zSacikuvvr#   c                 .    t        j                  | |      S )zb
    Low-level wrapper for `::fz_write_stream()`.
    Copy the stream contents to the output.
    )r   ll_fz_write_streamrl  r?  s     r   rn!  rn!  ?  s    
 $$S#..r#   c                 .    t        j                  | |      S )zj
    Low-level wrapper for `::fz_write_string()`.
    Write a string. Does not write zero terminator.
    )r   ll_fz_write_stringrl  r<  s     r   rq!  rq!  ?  s    
 $$S!,,r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::fz_write_uint16_be()`.)r   ll_fz_write_uint16_ber!  s     r   rt!  rt!  ?  r  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::fz_write_uint16_le()`.)r   ll_fz_write_uint16_ler!  s     r   rv!  rv!  ?  r  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::fz_write_uint32_be()`.)r   ll_fz_write_uint32_ber!  s     r   rx!  rx!  ?  r  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::fz_write_uint32_le()`.)r   ll_fz_write_uint32_ler!  s     r   rz!  rz!  ?  r  r#   c                 0    t        j                  | ||      S )a  
    Low-level wrapper for `::fz_write_xml()`.
    Write our xml structure out to an xml stream.

    Properly formatted XML is only allowed to have a single top-level node
    under which everything must sit. Our structures allow for multiple
    top level nodes. If required, we will output an extra 'ROOT' node
    at the top so that the xml is well-formed.

    If 'indented' is non-zero then additional whitespace will be added to
    make the XML easier to read in a text editor. It will NOT be properly
    compliant.
    )r   ll_fz_write_xmlr*  rl  r+  s      r   r|!  r|!  ?  s     !!$X66r#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_write_zip_entry()`.
    Given a buffer of data, (optionally) compress it, and add it to
    the zip file with the given name.
    )r   ll_fz_write_zip_entryr  r   rb  r  s       r   r!  r!  ?  s     ''T3AAr#   c                 2    t        j                  | |||      S )zZ
    Low-level wrapper for `::fz_xml_add_att()`.
    Add an attribute to an XML node.
    )r   ll_fz_xml_add_attrW
  r  rk  r  s       r   r!  r!  ?  s    
 ##D$S99r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_xml_att()`.
    Return the value of an attribute of an XML node.
    NULL if the attribute doesn't exist.
    )r   ll_fz_xml_attr{  r  s     r   r!  r!  ?  s     c**r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_xml_att_alt()`.
    Return the value of an attribute of an XML node.
    If the first attribute doesn't exist, try the second.
    NULL if neither attribute exists.
    )r   ll_fz_xml_att_altr{  onetwos      r   r!  r!  ?  s     ##D#s33r#   c                 0    t        j                  | ||      S )z
    Low-level wrapper for `::fz_xml_att_eq()`.
    Check for a matching attribute on an XML node.

    If the node has the requested attribute (name), and the value
    matches (match) then return 1. Otherwise, 0.
    )r   ll_fz_xml_att_eqr{  r   r  s      r   r!  r!  ?  s     ""4u55r#   c                 ,    t        j                  |       S )zV
    Low-level wrapper for `::fz_xml_down()`.
    Return first child of XML node.
    )r   ll_fz_xml_downr{  s    r   r!  r!  ?  r  r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_xml_find()`.
    Search the siblings of XML nodes starting with item looking for
    the first with the given tag.

    Return NULL if none found.
    )r   ll_fz_xml_findr{  r  s     r   r!  r!  ?  s       s++r#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_xml_find_dfs()`.
    Perform a depth first search from item, returning the first
    child that matches the given tag (or any tag if tag is NULL),
    with the given attribute (if att is non NULL), that matches
    match (if match is non NULL).
    )r   ll_fz_xml_find_dfsr{  r  r  r  s       r   r!  r!  @  s     $$T3U;;r#   c                 4    t        j                  | ||||      S )aw  
    Low-level wrapper for `::fz_xml_find_dfs_top()`.
    Perform a depth first search from item, returning the first
    child that matches the given tag (or any tag if tag is NULL),
    with the given attribute (if att is non NULL), that matches
    match (if match is non NULL). The search stops if it ever
    reaches the top of the tree, or the declared 'top' item.
    )r   ll_fz_xml_find_dfs_topr{  r  r  r  r  s        r   r!  r!  @  s     ((sCDDr#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_xml_find_down()`.
    Search the siblings of XML nodes starting with the first child
    of item looking for the first with the given tag.

    Return NULL if none found.
    )r   ll_fz_xml_find_downr!  s     r   r!  r!  @       %%dC00r#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_xml_find_down_match()`.
    Search the siblings of XML nodes starting with the first child
    of item looking for the first with the given tag (or any tag if
    tag is NULL), and with a matching attribute.

    Return NULL if none found.
    )r   ll_fz_xml_find_down_matchr!  s       r   r!  r!  #@       ++D#sEBBr#   c                 2    t        j                  | |||      S )z
    Low-level wrapper for `::fz_xml_find_match()`.
    Search the siblings of XML nodes starting with item looking for
    the first with the given tag (or any tag if tag is NULL), and
    with a matching attribute.

    Return NULL if none found.
    )r   ll_fz_xml_find_matchr!  s       r   r!  r!  .@  s     &&tS#u==r#   c                 .    t        j                  | |      S )z
    Low-level wrapper for `::fz_xml_find_next()`.
    Search the siblings of XML nodes starting with the first sibling
    of item looking for the first with the given tag.

    Return NULL if none found.
    )r   ll_fz_xml_find_nextr!  s     r   r!  r!  9@  r!  r#   c                 2    t        j                  | |||      S )a'  
    Low-level wrapper for `::fz_xml_find_next_dfs()`.
    Perform a depth first search onwards from item, returning the first
    child that matches the given tag (or any tag if tag is NULL),
    with the given attribute (if att is non NULL), that matches
    match (if match is non NULL).
    )r   ll_fz_xml_find_next_dfsr!  s       r   r!  r!  C@  s     ))$S%@@r#   c                 4    t        j                  | ||||      S )a  
    Low-level wrapper for `::fz_xml_find_next_dfs_top()`.
    Perform a depth first search onwards from item, returning the first
    child that matches the given tag (or any tag if tag is NULL),
    with the given attribute (if att is non NULL), that matches
    match (if match is non NULL). The search stops if it ever reaches
    the top of the tree, or the declared 'top' item.
    )r   ll_fz_xml_find_next_dfs_topr!  s        r   r!  r!  M@  s     --dCeSIIr#   c                 2    t        j                  | |||      S )a  
    Low-level wrapper for `::fz_xml_find_next_match()`.
    Search the siblings of XML nodes starting with the first sibling
    of item looking for the first with the given tag (or any tag if tag
    is NULL), and with a matching attribute.

    Return NULL if none found.
    )r   ll_fz_xml_find_next_matchr!  s       r   r!  r!  X@  r!  r#   c                 .    t        j                  | |      S )z]
    Low-level wrapper for `::fz_xml_is_tag()`.
    Return true if the tag name matches.
    )r   ll_fz_xml_is_tagr{  r   s     r   r!  r!  c@  r  r#   c                 ,    t        j                  |       S )zW
    Low-level wrapper for `::fz_xml_next()`.
    Return next sibling of XML node.
    )r   ll_fz_xml_nextr!  s    r   r!  r!  j@  r  r#   c                 ,    t        j                  |       S )z[
    Low-level wrapper for `::fz_xml_prev()`.
    Return previous sibling of XML node.
    )r   ll_fz_xml_prevr!  s    r   r!  r!  q@  r  r#   c                 ,    t        j                  |       S )za
    Low-level wrapper for `::fz_xml_root()`.
    Return the topmost XML node of a document.
    )r   ll_fz_xml_rootr  s    r   r!  r!  x@  r  r#   c                 ,    t        j                  |       S )zi
    Low-level wrapper for `::fz_xml_tag()`.
    Return tag of XML node. Return NULL for text nodes.
    )r   ll_fz_xml_tagr!  s    r   r!  r!  @      
 %%r#   c                 ,    t        j                  |       S )z
    Low-level wrapper for `::fz_xml_text()`.
    Return the text content of an XML node.
    Return NULL if the node is a tag.
    )r   ll_fz_xml_textr!  s    r   r!  r!  @  s       &&r#   c                 ,    t        j                  |       S )zO
    Low-level wrapper for `::fz_xml_up()`.
    Return parent of XML node.
    )r   ll_fz_xml_upr!  s    r   r!  r!  @  r   r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_abandon_operation()`.)r   ll_pdf_abandon_operationrN   s    r   r!  r!  @      **3//r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_access_alert_event()`.)r   ll_pdf_access_alert_eventevts    r   r!  r!  @  r  r#   c                 ,    t        j                  |       S )z<Low-level wrapper for `::pdf_access_exec_menu_item_event()`.)r   "ll_pdf_access_exec_menu_item_eventr!  s    r   r!  r!  @  r  r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_access_launch_url_event()`.)r   ll_pdf_access_launch_url_eventr!  s    r   r!  r!  @      0055r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::pdf_access_mail_doc_event()`.)r   ll_pdf_access_mail_doc_eventr!  s    r   r!  r!  @      ..s33r#   c                 .    t        j                  | |      S )z;Low-level wrapper for `::pdf_add_annot_border_dash_item()`.)r   !ll_pdf_add_annot_border_dash_itemannotre  s     r   r!  r!  @      33E6BBr#   c                 0    t        j                  | ||      S )z3Low-level wrapper for `::pdf_add_annot_ink_list()`.)r   ll_pdf_add_annot_ink_listr!  r[   rV  s      r   r!  r!  @  s    ++E1f==r#   c                 ,    t        j                  |       S )z:Low-level wrapper for `::pdf_add_annot_ink_list_stroke()`.)r    ll_pdf_add_annot_ink_list_stroker!  s    r   r!  r!  @      22599r#   c                 .    t        j                  | |      S )zALow-level wrapper for `::pdf_add_annot_ink_list_stroke_vertex()`.)r   'll_pdf_add_annot_ink_list_stroke_vertexr!  r  s     r   r!  r!  @  s    99%CCr#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::pdf_add_annot_quad_point()`.)r   ll_pdf_add_annot_quad_pointr!  r
  s     r   r!  r!  @      --eT::r#   c                 .    t        j                  | |      S )z1Low-level wrapper for `::pdf_add_annot_vertex()`.)r   ll_pdf_add_annot_vertexr!  s     r   r!  r!  @      ))%33r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_add_cid_font()`.)r   ll_pdf_add_cid_fontrO   r  s     r   r!  r!  @  r  r#   c                 4    t        j                  | ||||      S )z-Low-level wrapper for `::pdf_add_cjk_font()`.)r   ll_pdf_add_cjk_fontrO   r  r  r'	  r  s        r   r!  r!  @  s    %%c4FFr#   c                 2    t        j                  | |||      S )z.Low-level wrapper for `::pdf_add_codespace()`.)r   ll_pdf_add_codespacecmapr  r  r[   s       r   r!  r!  @  s    &&tS$::r#   c           	      8    t        j                  | ||||||      S )z2Low-level wrapper for `::pdf_add_embedded_file()`.)r   ll_pdf_add_embedded_filerO   r  r  r  r  modifedadd_checksums          r   r!  r!  @  s!    **3(HgW^`lmmr#   c                 2    t        j                  | |||      S )z)Low-level wrapper for `::pdf_add_hmtx()`.)r   ll_pdf_add_hmtxr  r  r  r7  s       r   r!  r!  @  s    !!$B22r#   c                 .    t        j                  | |      S )z*Low-level wrapper for `::pdf_add_image()`.)r   ll_pdf_add_imagerO   r  s     r   r!  r!  @      ""3..r#   c                 4    t        j                  | ||||      S )z5Low-level wrapper for `::pdf_add_journal_fragment()`.)r   ll_pdf_add_journal_fragmentrO   r
  r0   copy_streamnewobjs        r   r!  r!  @  s    --c64fUUr#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::pdf_add_new_array()`.)r   ll_pdf_add_new_arrayrO   r>  s     r   r!  r!  @      &&sG44r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_add_new_dict()`.)r   ll_pdf_add_new_dictr!  s     r   r "  r "  @      %%c733r#   c                 .    t        j                  | |      S )z+Low-level wrapper for `::pdf_add_object()`.)r   ll_pdf_add_objectrO   rh  s     r   r"  r"  @      ##C--r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_add_object_drop()`.)r   ll_pdf_add_object_dropr"  s     r   r"  r"  @      ((c22r#   c                 4    t        j                  | ||||      S )z)Low-level wrapper for `::pdf_add_page()`.)r   ll_pdf_add_pagerO   rq
  r
  r  r  s        r   r
"  r
"  @  s    !!#xHMMr#   c                 0    t        j                  | ||      S )z0Low-level wrapper for `::pdf_add_simple_font()`.)r   ll_pdf_add_simple_fontrO   r  rM  s      r   r"  r"  @  s    ((dH==r#   c                 2    t        j                  | |||      S )z+Low-level wrapper for `::pdf_add_stream()`.)r   ll_pdf_add_streamrO   rb  rh  
compresseds       r   r"  r"  @      ##Cc:>>r#   c                 .    t        j                  | |      S )z4Low-level wrapper for `::pdf_add_substitute_font()`.)r   ll_pdf_add_substitute_fontr!  s     r   r"  r"  @  s    ,,S$77r#   c                 6    t        j                  | |||||      S )z)Low-level wrapper for `::pdf_add_vmtx()`.)r   ll_pdf_add_vmtxr  r  r  rF   r  r7  s         r   r"  r"  @  s    !!$B1a88r#   c                 0    t        j                  | ||      S )z
     Low-level wrapper for `::pdf_annot_MK_BC()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_annot_MK_BC(::pdf_annot *annot, float color[4])` => int n
    )r   ll_pdf_annot_MK_BCr!  r[   r  s      r   r"  r"  A       $$UAu55r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_annot_MK_BC_rgb()`.)r   ll_pdf_annot_MK_BC_rgbr!  r  s     r   r"  r"  
A      ((44r#   c                 0    t        j                  | ||      S )z
     Low-level wrapper for `::pdf_annot_MK_BG()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_annot_MK_BG(::pdf_annot *annot, float color[4])` => int n
    )r   ll_pdf_annot_MK_BGr"  s      r   r""  r""  A  r"  r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_annot_MK_BG_rgb()`.)r   ll_pdf_annot_MK_BG_rgbr"  s     r   r$"  r$"  A  r "  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_annot_active()`.)r   ll_pdf_annot_activer!  s    r   r&"  r&"  A      %%e,,r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_annot_ap()`.)r   ll_pdf_annot_apr!  s    r   r)"  r)"  A      !!%((r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_annot_author()`.)r   ll_pdf_annot_authorr!  s    r   r,"  r,"  #A  r'"  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_annot_border()`.)r   ll_pdf_annot_borderr!  s    r   r."  r."  'A  r'"  r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_annot_border_dash_count()`.)r   ll_pdf_annot_border_dash_countr!  s    r   r0"  r0"  +A  r  r#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::pdf_annot_border_dash_item()`.)r   ll_pdf_annot_border_dash_itemr!  r   s     r   r2"  r2"  /A      //q99r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::pdf_annot_border_effect()`.)r   ll_pdf_annot_border_effectr!  s    r   r6"  r6"  3A      ,,U33r#   c                 ,    t        j                  |       S )z>Low-level wrapper for `::pdf_annot_border_effect_intensity()`.)r   $ll_pdf_annot_border_effect_intensityr!  s    r   r9"  r9"  7A      66u==r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_annot_border_style()`.)r   ll_pdf_annot_border_styler!  s    r   r<"  r<"  ;A      ++E22r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_annot_border_width()`.)r   ll_pdf_annot_border_widthr!  s    r   r?"  r?"  ?A  r="  r#   c                 0    t        j                  | ||      S )z
     Low-level wrapper for `::pdf_annot_callout_line()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_annot_callout_line(::pdf_annot *annot, ::fz_point callout[3])` => int n
    )r   ll_pdf_annot_callout_liner!  calloutr[   s      r   rA"  rA"  CA  s     ++E7A>>r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::pdf_annot_callout_point()`.)r   ll_pdf_annot_callout_pointr!  s    r   rE"  rE"  LA  r7"  r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::pdf_annot_callout_style()`.)r   ll_pdf_annot_callout_styler!  s    r   rG"  rG"  PA  r7"  r#   c                 0    t        j                  | ||      S )z
     Low-level wrapper for `::pdf_annot_color()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_annot_color(::pdf_annot *annot, float color[4])` => int n
    )r   ll_pdf_annot_colorr"  s      r   rI"  rI"  TA  r"  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_annot_contents()`.)r   ll_pdf_annot_contentsr!  s    r   rK"  rK"  ]A      ''..r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::pdf_annot_creation_date()`.)r   ll_pdf_annot_creation_dater!  s    r   rN"  rN"  aA  r7"  r#   c                 4    t        j                  | ||||      S )z
     Low-level wrapper for `::pdf_annot_default_appearance()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_annot_default_appearance(::pdf_annot *annot, float color[4])` => `(const char *font, float size, int n)`
    )r   ll_pdf_annot_default_appearancer!  r  r   r[   r  s        r   rP"  rP"  eA  s     11%tQNNr#   c                 6    t        j                  | |||||      S )a  
     Low-level wrapper for `::pdf_annot_default_appearance_unmapped()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_annot_default_appearance_unmapped(::pdf_annot *annot, char *font_name, int font_name_len, float color[4])` => `(float size, int n)`
    )r   (ll_pdf_annot_default_appearance_unmappedr!  	font_namefont_name_lenr   r[   r  s         r   rS"  rS"  nA  s"     ::5)]\`bcejkkr#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_annot_ensure_local_xref()`.)r   ll_pdf_annot_ensure_local_xrefr!  s    r   rX"  rX"  wA  r  r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_annot_event_blur()`.)r   ll_pdf_annot_event_blurr!  s    r   rZ"  rZ"  {A      ))%00r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_annot_event_down()`.)r   ll_pdf_annot_event_downr!  s    r   r]"  r]"  A  r["  r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_annot_event_enter()`.)r   ll_pdf_annot_event_enterr!  s    r   r_"  r_"  A  r  r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_annot_event_exit()`.)r   ll_pdf_annot_event_exitr!  s    r   ra"  ra"  A  r["  r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_annot_event_focus()`.)r   ll_pdf_annot_event_focusr!  s    r   rc"  rc"  A  r  r#   c                 ,    t        j                  |       S )z7Low-level wrapper for `::pdf_annot_event_page_close()`.)r   ll_pdf_annot_event_page_closer!  s    r   re"  re"  A      //66r#   c                 ,    t        j                  |       S )z;Low-level wrapper for `::pdf_annot_event_page_invisible()`.)r   !ll_pdf_annot_event_page_invisibler!  s    r   rh"  rh"  A      33E::r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::pdf_annot_event_page_open()`.)r   ll_pdf_annot_event_page_openr!  s    r   rk"  rk"  A  r  r#   c                 ,    t        j                  |       S )z9Low-level wrapper for `::pdf_annot_event_page_visible()`.)r   ll_pdf_annot_event_page_visibler!  s    r   rm"  rm"  A      11%88r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_annot_event_up()`.)r   ll_pdf_annot_event_upr!  s    r   rp"  rp"  A  rL"  r#   c                 0    t        j                  | ||      S )z<Low-level wrapper for `::pdf_annot_field_event_keystroke()`.)r   "ll_pdf_annot_field_event_keystrokerO   r!  r!  s      r   rr"  rr"  A  s    44S%EEr#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_annot_field_flags()`.)r   ll_pdf_annot_field_flagsr!  s    r   ru"  ru"  A  r  r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_annot_field_label()`.)r   ll_pdf_annot_field_labelwidgets    r   rw"  rw"  A  r  r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_annot_field_value()`.)r   ll_pdf_annot_field_valuer!  s    r   r{"  r{"  A  r  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_annot_filespec()`.)r   ll_pdf_annot_filespecr!  s    r   r}"  r}"  A  rL"  r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_annot_flags()`.)r   ll_pdf_annot_flagsr!  s    r   r"  r"  A      $$U++r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_annot_has_author()`.)r   ll_pdf_annot_has_authorr!  s    r   r"  r"  A  r["  r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_annot_has_border()`.)r   ll_pdf_annot_has_borderr!  s    r   r"  r"  A  r["  r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_annot_has_border_effect()`.)r   ll_pdf_annot_has_border_effectr!  s    r   r"  r"  A  r  r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_annot_has_callout()`.)r   ll_pdf_annot_has_calloutr!  s    r   r"  r"  A  r  r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_annot_has_filespec()`.)r   ll_pdf_annot_has_filespecr!  s    r   r"  r"  A  r="  r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::pdf_annot_has_icon_name()`.)r   ll_pdf_annot_has_icon_namer!  s    r   r"  r"  A  r7"  r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_annot_has_ink_list()`.)r   ll_pdf_annot_has_ink_listr!  s    r   r"  r"  A  r="  r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_annot_has_intent()`.)r   ll_pdf_annot_has_intentr!  s    r   r"  r"  A  r["  r#   c                 ,    t        j                  |       S )z9Low-level wrapper for `::pdf_annot_has_interior_color()`.)r   ll_pdf_annot_has_interior_colorr!  s    r   r"  r"  A  rn"  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_annot_has_line()`.)r   ll_pdf_annot_has_liner!  s    r   r"  r"  A  rL"  r#   c                 ,    t        j                  |       S )z=Low-level wrapper for `::pdf_annot_has_line_ending_styles()`.)r   #ll_pdf_annot_has_line_ending_stylesr!  s    r   r"  r"  A      55e<<r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_annot_has_open()`.)r   ll_pdf_annot_has_openr!  s    r   r"  r"  A  rL"  r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_annot_has_popup()`.)r   ll_pdf_annot_has_popupr!  s    r   r"  r"  A      ((//r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::pdf_annot_has_quad_points()`.)r   ll_pdf_annot_has_quad_pointsr!  s    r   r"  r"  A  r  r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_annot_has_quadding()`.)r   ll_pdf_annot_has_quaddingr!  s    r   r"  r"  A  r="  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_annot_has_rect()`.)r   ll_pdf_annot_has_rectr!  s    r   r"  r"  A  rL"  r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_annot_has_vertices()`.)r   ll_pdf_annot_has_verticesr!  s    r   r"  r"  A  r="  r#   c                 ,    t        j                  |       S )z9Low-level wrapper for `::pdf_annot_hidden_for_editing()`.)r   ll_pdf_annot_hidden_for_editingr!  s    r   r"  r"  A  rn"  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_annot_hot()`.)r   ll_pdf_annot_hotr!  s    r   r"  r"  B  r  r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_annot_icon_name()`.)r   ll_pdf_annot_icon_namer!  s    r   r"  r"  B  r"  r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::pdf_annot_ink_list_count()`.)r   ll_pdf_annot_ink_list_countr!  s    r   r"  r"  B      --e44r#   c                 .    t        j                  | |      S )z<Low-level wrapper for `::pdf_annot_ink_list_stroke_count()`.)r   "ll_pdf_annot_ink_list_stroke_countr3"  s     r   r"  r"  B  s    44UA>>r#   c                 0    t        j                  | ||      S )z=Low-level wrapper for `::pdf_annot_ink_list_stroke_vertex()`.)r   #ll_pdf_annot_ink_list_stroke_vertexr!  r   r  s      r   r"  r"  B  s    55eQBBr#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_annot_intent()`.)r   ll_pdf_annot_intentr!  s    r   r"  r"  B  r'"  r#   c                 0    t        j                  | ||      S )z
     Low-level wrapper for `::pdf_annot_interior_color()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_annot_interior_color(::pdf_annot *annot, float color[4])` => int n
    )r   ll_pdf_annot_interior_colorr"  s      r   r"  r"  B  s     --eQ>>r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_annot_is_open()`.)r   ll_pdf_annot_is_openr!  s    r   r"  r"  $B  rn  r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_annot_is_standard_stamp()`.)r   ll_pdf_annot_is_standard_stampr!  s    r   r"  r"  (B  r  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_annot_language()`.)r   ll_pdf_annot_languager!  s    r   r"  r"  ,B  rL"  r#   c                 0    t        j                  | ||      S )z+Low-level wrapper for `::pdf_annot_line()`.)r   ll_pdf_annot_liner!  r  r  s      r   r"  r"  0B      ##E1a00r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_annot_line_caption()`.)r   ll_pdf_annot_line_captionr!  s    r   r"  r"  4B  r="  r#   c                 ,    t        j                  |       S )z:Low-level wrapper for `::pdf_annot_line_caption_offset()`.)r    ll_pdf_annot_line_caption_offsetr!  s    r   r"  r"  8B  r!  r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::pdf_annot_line_end_style()`.)r   ll_pdf_annot_line_end_styler!  s    r   r"  r"  <B  r"  r#   c                 0    t        j                  | ||      S )a  
     Low-level wrapper for `::pdf_annot_line_ending_styles()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_annot_line_ending_styles(::pdf_annot *annot)` => `(enum pdf_line_ending start_style, enum pdf_line_ending end_style)`
    )r   ll_pdf_annot_line_ending_stylesr!  start_style	end_styles      r   r"  r"  @B  s     11%iPPr#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_annot_line_leader()`.)r   ll_pdf_annot_line_leaderr!  s    r   r"  r"  IB  r  r#   c                 ,    t        j                  |       S )z<Low-level wrapper for `::pdf_annot_line_leader_extension()`.)r   "ll_pdf_annot_line_leader_extensionr!  s    r   r"  r"  MB      44U;;r#   c                 ,    t        j                  |       S )z9Low-level wrapper for `::pdf_annot_line_leader_offset()`.)r   ll_pdf_annot_line_leader_offsetr!  s    r   r"  r"  QB  rn"  r#   c                 ,    t        j                  |       S )z7Low-level wrapper for `::pdf_annot_line_start_style()`.)r   ll_pdf_annot_line_start_styler!  s    r   r"  r"  UB  rf"  r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_annot_modification_date()`.)r   ll_pdf_annot_modification_dater!  s    r   r"  r"  YB  r  r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_annot_needs_resynthesis()`.)r   ll_pdf_annot_needs_resynthesisr!  s    r   r"  r"  ]B  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_annot_obj()`.)r   ll_pdf_annot_objr!  s    r   r"  r"  aB  r  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_annot_opacity()`.)r   ll_pdf_annot_opacityr!  s    r   r"  r"  eB  rn  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_annot_page()`.)r   ll_pdf_annot_pager!  s    r   r"  r"  iB  r  r#   c                 ,    t        j                  |       S )zALow-level wrapper for `::pdf_annot_pop_and_discard_local_xref()`.)r   'll_pdf_annot_pop_and_discard_local_xrefr!  s    r   r"  r"  mB  s    99%@@r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::pdf_annot_pop_local_xref()`.)r   ll_pdf_annot_pop_local_xrefr!  s    r   r"  r"  qB  r"  r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_annot_popup()`.)r   ll_pdf_annot_popupr!  s    r   r"  r"  uB  r"  r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::pdf_annot_push_local_xref()`.)r   ll_pdf_annot_push_local_xrefr!  s    r   r"  r"  yB  r  r#   c                 .    t        j                  | |      S )z1Low-level wrapper for `::pdf_annot_quad_point()`.)r   ll_pdf_annot_quad_pointr3"  s     r   r"  r"  }B  r!  r#   c                 ,    t        j                  |       S )z7Low-level wrapper for `::pdf_annot_quad_point_count()`.)r   ll_pdf_annot_quad_point_countr!  s    r   r"  r"  B  rf"  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_annot_quadding()`.)r   ll_pdf_annot_quaddingr!  s    r   r"  r"  B  rL"  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_annot_rect()`.)r   ll_pdf_annot_rectr!  s    r   r"  r"  B  r  r#   c                 ,    t        j                  |       S )z:Low-level wrapper for `::pdf_annot_request_resynthesis()`.)r    ll_pdf_annot_request_resynthesisr!  s    r   r"  r"  B  r!  r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_annot_request_synthesis()`.)r   ll_pdf_annot_request_synthesisr!  s    r   r"  r"  B  r  r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_annot_transform()`.)r   ll_pdf_annot_transformr!  s    r   r"  r"  B  r"  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_annot_type()`.)r   ll_pdf_annot_typer!  s    r   r"  r"  B  r  r#   c                 ,    t        j                  |       S )z7Low-level wrapper for `::pdf_annot_type_from_string()`.)r   ll_pdf_annot_type_from_stringsubtypes    r   r"  r"  B      //88r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_annot_vertex()`.)r   ll_pdf_annot_vertexr3"  s     r   r"  r"  B      %%eQ//r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_annot_vertex_count()`.)r   ll_pdf_annot_vertex_countr!  s    r   r #  r #  B  r="  r#   c                 .    t        j                  | |      S )z<Low-level wrapper for `::pdf_append_explicit_dest_to_uri()`.)r   "ll_pdf_append_explicit_dest_to_urir~  r  s     r   r#  r#  B  s    44S$??r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::pdf_append_named_dest_to_uri()`.)r   ll_pdf_append_named_dest_to_urir~  r   s     r   r#  r#  B      11#t<<r#   c                 0    t        j                  | ||      S )z-Low-level wrapper for `::pdf_append_token()`.)r   ll_pdf_append_tokenrb  toklexs      r   r	#  r	#  B      %%c344r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_apply_redaction()`.)r   ll_pdf_apply_redactionr!  r  s     r   r#  r#  B      ((55r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_array_contains()`.)r   ll_pdf_array_containsarrayrh  s     r   r#  r#  B  s    ''s33r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_array_delete()`.)r   ll_pdf_array_deleter#  r   s     r   r#  r#  B      %%eU33r#   c                 .    t        j                  | |      S )z+Low-level wrapper for `::pdf_array_find()`.)r   ll_pdf_array_findr#  s     r   r#  r#  B      ##E3//r#   c                 .    t        j                  | |      S )z*Low-level wrapper for `::pdf_array_get()`.)r   ll_pdf_array_getr#  r   s     r   r#  r#  B      ""5!,,r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_array_get_bool()`.)r   ll_pdf_array_get_boolr#  s     r   r"#  r"#  B      ''u55r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::pdf_array_get_int()`.)r   ll_pdf_array_get_intr#  s     r   r%#  r%#  B      &&ue44r#   c                 .    t        j                  | |      S )z1Low-level wrapper for `::pdf_array_get_matrix()`.)r   ll_pdf_array_get_matrixr#  s     r   r(#  r(#  B      ))%77r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_array_get_name()`.)r   ll_pdf_array_get_namer#  s     r   r+#  r+#  B  r##  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_array_get_real()`.)r   ll_pdf_array_get_realr#  s     r   r-#  r-#  B  r##  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_array_get_rect()`.)r   ll_pdf_array_get_rectr#  s     r   r/#  r/#  B  r##  r#   c                 0    t        j                  | ||      S )z
     Low-level wrapper for `::pdf_array_get_string()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_array_get_string(::pdf_obj *array, int index)` => `(const char *, size_t sizep)`
    )r   ll_pdf_array_get_stringr#  r   sizeps      r   r1#  r1#  B  s     ))%>>r#   c                 .    t        j                  | |      S )z6Low-level wrapper for `::pdf_array_get_text_string()`.)r   ll_pdf_array_get_text_stringr#  s     r   r5#  r5#  B      ..ue<<r#   c                 0    t        j                  | ||      S )z-Low-level wrapper for `::pdf_array_insert()`.)r   ll_pdf_array_insertr#  rh  r   s      r   r8#  r8#  B  s    %%eS%88r#   c                 0    t        j                  | ||      S )z2Low-level wrapper for `::pdf_array_insert_drop()`.)r   ll_pdf_array_insert_dropr9#  s      r   r;#  r;#  B  s    **5#u==r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_array_len()`.)r   ll_pdf_array_lenr#  s    r   r=#  r=#  B  r  r#   c                 .    t        j                  | |      S )z+Low-level wrapper for `::pdf_array_push()`.)r   ll_pdf_array_pushr#  s     r   r@#  r@#  B  r#  r#   c                 .    t        j                  | |      S )z1Low-level wrapper for `::pdf_array_push_array()`.)r   ll_pdf_array_push_arrayr#  r>  s     r   rB#  rB#  B  s    ))%99r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_array_push_bool()`.)r   ll_pdf_array_push_boolr#  rF   s     r   rE#  rE#  C      ((22r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_array_push_dict()`.)r   ll_pdf_array_push_dictrC#  s     r   rI#  rI#  C  s    ((88r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_array_push_drop()`.)r   ll_pdf_array_push_dropr#  s     r   rK#  rK#  
C  r "  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_array_push_int()`.)r   ll_pdf_array_push_intrF#  s     r   rM#  rM#  C      ''q11r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_array_push_name()`.)r   ll_pdf_array_push_namerF#  s     r   rP#  rP#  C  rG#  r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_array_push_real()`.)r   ll_pdf_array_push_realrF#  s     r   rR#  rR#  C  rG#  r#   c                 0    t        j                  | ||      S )z2Low-level wrapper for `::pdf_array_push_string()`.)r   ll_pdf_array_push_stringr#  rF   r[   s      r   rT#  rT#  C  s    **5!Q77r#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::pdf_array_push_text_string()`.)r   ll_pdf_array_push_text_stringrF#  s     r   rW#  rW#  C  r4"  r#   c                 0    t        j                  | ||      S )z*Low-level wrapper for `::pdf_array_put()`.)r   ll_pdf_array_putr#  r   rh  s      r   rY#  rY#  "C  s    ""5!S11r#   c                 0    t        j                  | ||      S )z0Low-level wrapper for `::pdf_array_put_array()`.)r   ll_pdf_array_put_arrayr#  r   r>  s      r   r\#  r\#  &C  s    ((7;;r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::pdf_array_put_bool()`.)r   ll_pdf_array_put_boolr#  r   rF   s      r   r_#  r_#  *C      ''q!44r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::pdf_array_put_dict()`.)r   ll_pdf_array_put_dictr]#  s      r   rc#  rc#  .C  s    ''q'::r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::pdf_array_put_drop()`.)r   ll_pdf_array_put_droprZ#  s      r   re#  re#  2C  s    ''q#66r#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_array_put_int()`.)r   ll_pdf_array_put_intr`#  s      r   rg#  rg#  6C      &&ua33r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::pdf_array_put_name()`.)r   ll_pdf_array_put_namer`#  s      r   rj#  rj#  :C  ra#  r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::pdf_array_put_real()`.)r   ll_pdf_array_put_realr`#  s      r   rl#  rl#  >C  ra#  r#   c                 2    t        j                  | |||      S )z1Low-level wrapper for `::pdf_array_put_string()`.)r   ll_pdf_array_put_stringr#  r   rF   r[   s       r   rn#  rn#  BC  s    ))%Aq99r#   c                 0    t        j                  | ||      S )z6Low-level wrapper for `::pdf_array_put_text_string()`.)r   ll_pdf_array_put_text_stringr`#  s      r   rq#  rq#  FC  s    ..ua;;r#   c                 .    t        j                  | |      S )z6Low-level wrapper for `::pdf_authenticate_password()`.)r   ll_pdf_authenticate_passwordrO   pws     r   rs#  rs#  JC      ..sB77r#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_bake_document()`.)r   ll_pdf_bake_documentrO   bake_annotsbake_widgetss      r   rx#  rx#  NC  s    &&sKFFr#   c                 ,    t        j                  |       S )z9Low-level wrapper for `::pdf_begin_implicit_operation()`.)r   ll_pdf_begin_implicit_operationrN   s    r   r}#  r}#  RC      11#66r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_begin_operation()`.)r   ll_pdf_begin_operationrO   	operations     r   r#  r#  VC  s    ((i88r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_bound_annot()`.)r   ll_pdf_bound_annotr!  s    r   r#  r#  ZC  r"  r#   c                 .    t        j                  | |      S )z+Low-level wrapper for `::pdf_bound_page()`.)r   ll_pdf_bound_pager  s     r   r#  r#  ^C      ##D#..r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_bound_widget()`.)r   ll_pdf_bound_widgetrx"  s    r   r#  r#  bC      %%f--r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::pdf_button_field_on_state()`.)r   ll_pdf_button_field_on_stater  s    r   r#  r#  fC  r  r#   c                 .    t        j                  | |      S )a+  
    Low-level wrapper for `::pdf_cache_object()`.
    Retrieve the pdf_xref_entry for a given object.

    This can cause xref reorganisations (solidifications etc) due to
    repairs, so all held pdf_xref_entries should be considered
    invalid after this call (other than the returned one).
    )r   ll_pdf_cache_objectrO   rw  s     r   r#  r#  jC  s     %%c3//r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_calculate_form()`.)r   ll_pdf_calculate_formrN   s    r   r#  r#  uC  r|  r#   c                 ,    t        j                  |       S )z;Low-level wrapper for `::pdf_can_be_saved_incrementally()`.)r   !ll_pdf_can_be_saved_incrementallyrN   s    r   r#  r#  yC  r
  r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_can_redo()`.)r   ll_pdf_can_redorN   s    r   r#  r#  }C  r  r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_can_undo()`.)r   ll_pdf_can_undorN   s    r   r#  r#  C  r  r#   c                 0    t        j                  | ||      S )z2Low-level wrapper for `::pdf_check_certificate()`.)r   ll_pdf_check_certificateverifierrO   	signatures      r   r#  r#  C  s    **8S)DDr#   c                 0    t        j                  | ||      S )z-Low-level wrapper for `::pdf_check_digest()`.)r   ll_pdf_check_digestr#  s      r   r#  r#  C  s    %%hY??r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::pdf_check_widget_certificate()`.)r   ll_pdf_check_widget_certificater#  ry"  s     r   r#  r#  C  s    11(FCCr#   c                 .    t        j                  | |      S )z4Low-level wrapper for `::pdf_check_widget_digest()`.)r   ll_pdf_check_widget_digestr#  s     r   r#  r#  C  s    ,,Xv>>r#   c                 0    t        j                  | ||      S )z4Low-level wrapper for `::pdf_choice_field_option()`.)r   ll_pdf_choice_field_optionr  	exportvalr   s      r   r#  r#  C  s    ,,UIqAAr#   c                 ,    t        j                  |       S )z:Low-level wrapper for `::pdf_choice_field_option_count()`.)r    ll_pdf_choice_field_option_countr#  s    r   r#  r#  C  r!  r#   c                 ,    t        j                  |       S )z=Low-level wrapper for `::pdf_choice_widget_is_multiselect()`.)r   #ll_pdf_choice_widget_is_multiselecttws    r   r#  r#  C  s    55b99r#   c                 0    t        j                  | ||      S )z6Low-level wrapper for `::pdf_choice_widget_options()`.)r   ll_pdf_choice_widget_optionsr#  r#  r  s      r   r#  r#  C  s    ..r9dCCr#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::pdf_choice_widget_options2()`.  Swig-friendly wrapper for pdf_choice_widget_options(), returns the
    options directly in a vector.
    )r   ll_pdf_choice_widget_options2r#  r#  s     r   r#  r#  C  s    
 //I>>r#   c                 0    t        j                  | ||      S )z8Low-level wrapper for `::pdf_choice_widget_set_value()`.)r   ll_pdf_choice_widget_set_valuer#  r[   r  s      r   r#  r#  C  s    00Q==r#   c                 .    t        j                  | |      S )z4Low-level wrapper for `::pdf_choice_widget_value()`.)r   ll_pdf_choice_widget_valuer#  r  s     r   r#  r#  C  s    ,,R66r#   c                 4    t        j                  | ||||      S )z+Low-level wrapper for `::pdf_clean_file()`.)r   ll_pdf_clean_fileinfileoutfiler  r  	retainlens        r   r#  r#  C  s    ##FGXtYOOr#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_clean_font_name()`.)r   ll_pdf_clean_font_namerq  s    r   r#  r#  C  s    ((22r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_clean_obj()`.)r   ll_pdf_clean_objrh  s    r   r#  r#  C  r  r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_clear_annot_border_dash()`.)r   ll_pdf_clear_annot_border_dashr!  s    r   r#  r#  C  r  r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::pdf_clear_annot_ink_list()`.)r   ll_pdf_clear_annot_ink_listr!  s    r   r#  r#  C  r"  r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_clear_annot_quad_points()`.)r   ll_pdf_clear_annot_quad_pointsr!  s    r   r#  r#  C  r  r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::pdf_clear_annot_vertices()`.)r   ll_pdf_clear_annot_verticesr!  s    r   r#  r#  C  r"  r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_clear_signature()`.)r   ll_pdf_clear_signaturerx"  s    r   r#  r#  C      ((00r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_clear_xref()`.)r   ll_pdf_clear_xrefrN   s    r   r#  r#  C  r  r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_clear_xref_to_mark()`.)r   ll_pdf_clear_xref_to_markrN   s    r   r#  r#  C  r  r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_close_processor()`.)r   ll_pdf_close_processorprocs    r   r#  r#  C  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_cmap_size()`.)r   ll_pdf_cmap_sizer!  s    r   r#  r#  C  r  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_cmap_wmode()`.)r   ll_pdf_cmap_wmoder#  s    r   r#  r#  C      ##D))r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_copy_array()`.)r   ll_pdf_copy_arrayr>#  s    r   r#  r#  C  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_copy_dict()`.)r   ll_pdf_copy_dictr  s    r   r#  r#  C  r  r#   c                 ,    t        j                  |       S )z@Low-level wrapper for `::pdf_count_document_associated_files()`.)r   &ll_pdf_count_document_associated_filesrN   s    r   r#  r#  C  s    88==r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::pdf_count_layer_config_ui()`.)r   ll_pdf_count_layer_config_uirN   s    r   r#  r#  C  r!  r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::pdf_count_layer_configs()`.)r   ll_pdf_count_layer_configsrN   s    r   r#  r#  C  r   r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_count_layers()`.)r   ll_pdf_count_layersrN   s    r   r#  r#  C  r  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_count_objects()`.)r   ll_pdf_count_objectsrN   s    r   r#  r#   D  rm  r#   c                 ,    t        j                  |       S )z<Low-level wrapper for `::pdf_count_page_associated_files()`.)r   "ll_pdf_count_page_associated_filesr  s    r   r#  r#  D      44T::r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_count_pages()`.)r   ll_pdf_count_pagesrN   s    r   r#  r#  D  r  r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_count_pages_imp()`.)r   ll_pdf_count_pages_impr+  s     r   r#  r#  D      ((g66r#   c                 4    t        j                  | ||||      S )z
     Low-level wrapper for `::pdf_count_q_balance()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_count_q_balance(::pdf_document *doc, ::pdf_obj *res, ::pdf_obj *stm)` => `(int prepend, int append)`
    )r   ll_pdf_count_q_balancerO   resr  prependr   s        r   r#  r#  D  s     ((c3HHr#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_count_signatures()`.)r   ll_pdf_count_signaturesrN   s    r   r#  r#  D  r5  r#   c                 ,    t        j                  |       S )z7Low-level wrapper for `::pdf_count_unsaved_versions()`.)r   ll_pdf_count_unsaved_versionsrN   s    r   r#  r#  D      //44r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_count_versions()`.)r   ll_pdf_count_versionsrN   s    r   r$  r$  !D  r|  r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_create_annot()`.)r   ll_pdf_create_annotr'
  r   s     r   r$  r$  %D  r  r#   c                 .    t        j                  | |      S )z1Low-level wrapper for `::pdf_create_annot_raw()`.)r   ll_pdf_create_annot_rawr$  s     r   r$  r$  )D      ))$55r#   c                  *    t        j                         S )z0Low-level wrapper for `::pdf_create_document()`.)r   ll_pdf_create_documentr$   r#   r   r
$  r
$  -D      ((**r#   c                 2    t        j                  | |||      S )z2Low-level wrapper for `::pdf_create_field_name()`.)r   ll_pdf_create_field_namerO   prefixrb  r  s       r   r$  r$  1D  s    **3SAAr#   c                 0    t        j                  | ||      S )z,Low-level wrapper for `::pdf_create_link()`.)r   ll_pdf_create_linkr8  s      r   r$  r$  5D  s    $$T455r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_create_object()`.)r   ll_pdf_create_objectrN   s    r   r$  r$  9D  rm  r#   c                 .    t        j                  | |      S )z8Low-level wrapper for `::pdf_create_signature_widget()`.)r   ll_pdf_create_signature_widgetr'
  r   s     r   r$  r$  =D  s    00t<<r#   c                 ,    t        j                  |       S )z7Low-level wrapper for `::pdf_crypt_encrypt_metadata()`.)r   ll_pdf_crypt_encrypt_metadatar\  s    r   r$  r$  AD  rf"  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_crypt_key()`.)r   ll_pdf_crypt_keyr$  s    r   r$  r$  ED  r  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_crypt_length()`.)r   ll_pdf_crypt_lengthr$  s    r   r$  r$  ID  r'"  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_crypt_method()`.)r   ll_pdf_crypt_methodr$  s    r   r$  r$  MD  r'"  r#   c                 2    t        j                  | |||      S )z*Low-level wrapper for `::pdf_crypt_obj()`.)r   ll_pdf_crypt_objr\  rh  rw  rZ  s       r   r!$  r!$  QD  s    ""5#sC88r#   c                 ,    t        j                  |       S )z7Low-level wrapper for `::pdf_crypt_owner_encryption()`.)r   ll_pdf_crypt_owner_encryptionr$  s    r   r$$  r$$  UD  rf"  r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::pdf_crypt_owner_password()`.)r   ll_pdf_crypt_owner_passwordr$  s    r   r&$  r&$  YD  r"  r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_crypt_permissions()`.)r   ll_pdf_crypt_permissionsr$  s    r   r($  r($  ]D  r  r#   c                 ,    t        j                  |       S )z=Low-level wrapper for `::pdf_crypt_permissions_encryption()`.)r   #ll_pdf_crypt_permissions_encryptionr$  s    r   r*$  r*$  aD  r"  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_crypt_revision()`.)r   ll_pdf_crypt_revisionr$  s    r   r,$  r,$  eD  rL"  r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::pdf_crypt_stream_method()`.)r   ll_pdf_crypt_stream_methodr$  s    r   r.$  r.$  iD  r7"  r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::pdf_crypt_string_method()`.)r   ll_pdf_crypt_string_methodr$  s    r   r0$  r0$  mD  r7"  r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::pdf_crypt_user_encryption()`.)r   ll_pdf_crypt_user_encryptionr$  s    r   r2$  r2$  qD  r  r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::pdf_crypt_user_password()`.)r   ll_pdf_crypt_user_passwordr$  s    r   r4$  r4$  uD  r7"  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_crypt_version()`.)r   ll_pdf_crypt_versionr$  s    r   r6$  r6$  yD  rn  r#   c                 0    t        j                  | ||      S )z&Low-level wrapper for `::pdf_cycle()`.)r   ll_pdf_cycleherer
  rh  s      r   r8$  r8$  }D  s    tT3//r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_debug_doc_changes()`.)r   ll_pdf_debug_doc_changesrN   s    r   r<$  r<$  D  r!  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_debug_obj()`.)r   ll_pdf_debug_objr#  s    r   r>$  r>$  D  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_debug_ref()`.)r   ll_pdf_debug_refr#  s    r   r@$  r@$  D  r  r#   c                 2    t        j                  | |||      S )z
     Low-level wrapper for `::pdf_decode_cmap()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_decode_cmap(::pdf_cmap *cmap, unsigned char *s, unsigned char *e)` => `(int, unsigned int cpt)`
    )r   ll_pdf_decode_cmapr!  r<  r  cpts       r   rB$  rB$  D  s     $$T1a55r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_deep_copy_obj()`.)r   ll_pdf_deep_copy_objr#  s    r   rF$  rF$  D  rm  r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_delete_annot()`.)r   ll_pdf_delete_annotr'
  r!  s     r   rH$  rH$  D  s    %%dE22r#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::pdf_delete_link()`.)r   ll_pdf_delete_linkr  s     r   rK$  rK$  D  s    $$T400r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::pdf_delete_object()`.)r   ll_pdf_delete_objectr#  s     r   rM$  rM$  D      &&sC00r#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::pdf_delete_page()`.)r   ll_pdf_delete_pager  s     r   rP$  rP$  D      $$S&11r#   c                 .    t        j                  | |      S )z3Low-level wrapper for `::pdf_delete_page_labels()`.)r   ll_pdf_delete_page_labelsrO   r   s     r   rS$  rS$  D      ++C77r#   c                 0    t        j                  | ||      S )z2Low-level wrapper for `::pdf_delete_page_range()`.)r   ll_pdf_delete_page_rangerO   rw  r   s      r   rW$  rW$  D  s    **3s;;r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::pdf_deselect_layer_config_ui()`.)r   ll_pdf_deselect_layer_config_uirO   uis     r   rZ$  rZ$  D  s    11#r::r#   c                 .    t        j                  | |      S )z4Low-level wrapper for `::pdf_deserialise_journal()`.)r   ll_pdf_deserialise_journalrO   r  s     r   r^$  r^$  D      ,,S#66r#   c                 .    t        j                  | |      S )z)Low-level wrapper for `::pdf_dict_del()`.)r   ll_pdf_dict_delr  rk  s     r   rb$  rb$  D      !!$,,r#   c                 .    t        j                  | |      S )z*Low-level wrapper for `::pdf_dict_dels()`.)r   ll_pdf_dict_delsrc$  s     r   rf$  rf$  D      ""4--r#   c                 .    t        j                  | |      S )z)Low-level wrapper for `::pdf_dict_get()`.)r   ll_pdf_dict_getrc$  s     r   ri$  ri$  D  rd$  r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::pdf_dict_get_bool()`.)r   ll_pdf_dict_get_boolrc$  s     r   rk$  rk$  D  r  r#   c                 0    t        j                  | ||      S )z6Low-level wrapper for `::pdf_dict_get_bool_default()`.)r   ll_pdf_dict_get_bool_defaultr  rk  _defs      r   rm$  rm$  D      ..tS$??r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::pdf_dict_get_date()`.)r   ll_pdf_dict_get_daterc$  s     r   rr$  rr$  D  r  r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::pdf_dict_get_inheritable()`.)r   ll_pdf_dict_get_inheritablerc$  s     r   rt$  rt$  D  r  r#   c                 .    t        j                  | |      S )z:Low-level wrapper for `::pdf_dict_get_inheritable_bool()`.)r    ll_pdf_dict_get_inheritable_boolrc$  s     r   rv$  rv$  D      224==r#   c                 .    t        j                  | |      S )z:Low-level wrapper for `::pdf_dict_get_inheritable_date()`.)r    ll_pdf_dict_get_inheritable_daterc$  s     r   ry$  ry$  D  rw$  r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::pdf_dict_get_inheritable_int()`.)r   ll_pdf_dict_get_inheritable_intrc$  s     r   r{$  r{$  D      11$<<r#   c                 .    t        j                  | |      S )z;Low-level wrapper for `::pdf_dict_get_inheritable_int64()`.)r   !ll_pdf_dict_get_inheritable_int64rc$  s     r   r~$  r~$  D  ro  r#   c                 .    t        j                  | |      S )z<Low-level wrapper for `::pdf_dict_get_inheritable_matrix()`.)r   "ll_pdf_dict_get_inheritable_matrixrc$  s     r   r$  r$  D  r  r#   c                 .    t        j                  | |      S )z:Low-level wrapper for `::pdf_dict_get_inheritable_name()`.)r    ll_pdf_dict_get_inheritable_namerc$  s     r   r$  r$  D  rw$  r#   c                 .    t        j                  | |      S )z:Low-level wrapper for `::pdf_dict_get_inheritable_real()`.)r    ll_pdf_dict_get_inheritable_realrc$  s     r   r$  r$  D  rw$  r#   c                 .    t        j                  | |      S )z:Low-level wrapper for `::pdf_dict_get_inheritable_rect()`.)r    ll_pdf_dict_get_inheritable_rectrc$  s     r   r$  r$  D  rw$  r#   c                 0    t        j                  | ||      S )z
     Low-level wrapper for `::pdf_dict_get_inheritable_string()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_dict_get_inheritable_string(::pdf_obj *dict, ::pdf_obj *key)` => `(const char *, size_t sizep)`
    )r   "ll_pdf_dict_get_inheritable_stringr  rk  r3#  s      r   r$  r$  D  s     44T3FFr#   c                 .    t        j                  | |      S )zALow-level wrapper for `::pdf_dict_get_inheritable_text_string()`.)r   'll_pdf_dict_get_inheritable_text_stringrc$  s     r   r$  r$  D  s    99$DDr#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_dict_get_int()`.)r   ll_pdf_dict_get_intrc$  s     r   r$  r$  E      %%dC00r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_dict_get_int64()`.)r   ll_pdf_dict_get_int64rc$  s     r   r$  r$  E      ''c22r#   c                 0    t        j                  | ||      S )z5Low-level wrapper for `::pdf_dict_get_int_default()`.)r   ll_pdf_dict_get_int_defaultrn$  s      r   r$  r$  E  s    --dC>>r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_dict_get_key()`.)r   ll_pdf_dict_get_keyr  r  s     r   r$  r$  E  r$  r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_dict_get_matrix()`.)r   ll_pdf_dict_get_matrixrc$  s     r   r$  r$  E      ((s33r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::pdf_dict_get_name()`.)r   ll_pdf_dict_get_namerc$  s     r   r$  r$  E  r  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_dict_get_point()`.)r   ll_pdf_dict_get_pointrc$  s     r   r$  r$  E  r$  r#   c                 2    t        j                  | |||      S )z
     Low-level wrapper for `::pdf_dict_get_put_drop()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_dict_get_put_drop(::pdf_obj *dict, ::pdf_obj *key, ::pdf_obj *val, ::pdf_obj **old_val)` =>
    )r   ll_pdf_dict_get_put_drop)r  rk  r  old_vals       r   r$  r$  E  s     **4c7CCr#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::pdf_dict_get_real()`.)r   ll_pdf_dict_get_realrc$  s     r   r$  r$  (E  r  r#   c                 0    t        j                  | ||      S )z6Low-level wrapper for `::pdf_dict_get_real_default()`.)r   ll_pdf_dict_get_real_defaultrn$  s      r   r$  r$  ,E  rp$  r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::pdf_dict_get_rect()`.)r   ll_pdf_dict_get_rectrc$  s     r   r$  r$  0E  r  r#   c                 0    t        j                  | ||      S )z
     Low-level wrapper for `::pdf_dict_get_string()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_dict_get_string(::pdf_obj *dict, ::pdf_obj *key)` => `(const char *, size_t sizep)`
    )r   ll_pdf_dict_get_stringr$  s      r   r$  r$  4E  s     ((sE::r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::pdf_dict_get_text_string()`.)r   ll_pdf_dict_get_text_stringrc$  s     r   r$  r$  =E  r  r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::pdf_dict_get_text_string_opt()`.)r   ll_pdf_dict_get_text_string_optrc$  s     r   r$  r$  AE  r|$  r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_dict_get_val()`.)r   ll_pdf_dict_get_valr$  s     r   r$  r$  EE  r$  r#   c                 0    t        j                  | ||      S )z*Low-level wrapper for `::pdf_dict_geta()`.)r   ll_pdf_dict_getar  rk  abbrevs      r   r$  r$  IE  s    ""4f55r#   c                 .    t        j                  | |      S )z*Low-level wrapper for `::pdf_dict_getp()`.)r   ll_pdf_dict_getpr  r  s     r   r$  r$  ME      ""4..r#   c                 .    t        j                  | |      S )z6Low-level wrapper for `::pdf_dict_getp_inheritable()`.)r   ll_pdf_dict_getp_inheritabler$  s     r   r$  r$  QE  s    ..tT::r#   c                 .    t        j                  | |      S )z*Low-level wrapper for `::pdf_dict_gets()`.)r   ll_pdf_dict_getsrc$  s     r   r$  r$  UE  rg$  r#   c                 .    t        j                  | |      S )z6Low-level wrapper for `::pdf_dict_gets_inheritable()`.)r   ll_pdf_dict_gets_inheritablerc$  s     r   r$  r$  YE      ..tS99r#   c                 0    t        j                  | ||      S )z+Low-level wrapper for `::pdf_dict_getsa()`.)r   ll_pdf_dict_getsar$  s      r   r$  r$  ]E  s    ##D#v66r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_dict_len()`.)r   ll_pdf_dict_lenr#  s    r   r$  r$  aE      !!$''r#   c                 0    t        j                  | ||      S )z)Low-level wrapper for `::pdf_dict_put()`.)r   ll_pdf_dict_putr  rk  r  s      r   r$  r$  eE  s    !!$S11r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::pdf_dict_put_array()`.)r   ll_pdf_dict_put_arrayr  rk  r>  s      r   r$  r$  iE      ''c7;;r#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_dict_put_bool()`.)r   ll_pdf_dict_put_boolr  rk  rF   s      r   r$  r$  mE      &&tS!44r#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_dict_put_date()`.)r   ll_pdf_dict_put_dater  rk  rc  s      r   r$  r$  qE  s    &&tS$77r#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_dict_put_dict()`.)r   ll_pdf_dict_put_dictr$  s      r   r$  r$  uE  s    &&tS'::r#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_dict_put_drop()`.)r   ll_pdf_dict_put_dropr$  s      r   r$  r$  yE  s    &&tS#66r#   c                 0    t        j                  | ||      S )z2Low-level wrapper for `::pdf_dict_put_indirect()`.)r   ll_pdf_dict_put_indirectr  rk  rw  s      r   r$  r$  }E  s    **4c::r#   c                 0    t        j                  | ||      S )z-Low-level wrapper for `::pdf_dict_put_int()`.)r   ll_pdf_dict_put_intr$  s      r   r$  r$  E      %%dC33r#   c                 0    t        j                  | ||      S )z0Low-level wrapper for `::pdf_dict_put_matrix()`.)r   ll_pdf_dict_put_matrixr$  s      r   r$  r$  E  s    ((sA66r#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_dict_put_name()`.)r   ll_pdf_dict_put_namer$  s      r   r$  r$  E  r$  r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::pdf_dict_put_point()`.)r   ll_pdf_dict_put_pointr$  s      r   r$  r$  E  s    ''c155r#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_dict_put_real()`.)r   ll_pdf_dict_put_realr$  s      r   r$  r$  E  r$  r#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_dict_put_rect()`.)r   ll_pdf_dict_put_rectr$  s      r   r$  r$  E  r$  r#   c                 2    t        j                  | |||      S )z0Low-level wrapper for `::pdf_dict_put_string()`.)r   ll_pdf_dict_put_stringr  rk  rF   r[   s       r   r$  r$  E  s    ((sAq99r#   c                 0    t        j                  | ||      S )z5Low-level wrapper for `::pdf_dict_put_text_string()`.)r   ll_pdf_dict_put_text_stringr$  s      r   r$  r$  E  s    --dC;;r#   c                 .    t        j                  | |      S )z2Low-level wrapper for `::pdf_dict_put_val_null()`.)r   ll_pdf_dict_put_val_nullrh  r  s     r   r$  r$  E      **344r#   c                 0    t        j                  | ||      S )z*Low-level wrapper for `::pdf_dict_putp()`.)r   ll_pdf_dict_putpr  r  r  s      r   r$  r$  E  s    ""4s33r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::pdf_dict_putp_drop()`.)r   ll_pdf_dict_putp_dropr$  s      r   r$  r$  E  s    ''dC88r#   c                 0    t        j                  | ||      S )z*Low-level wrapper for `::pdf_dict_puts()`.)r   ll_pdf_dict_putsr$  s      r   r$  r$  E  s    ""4c22r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::pdf_dict_puts_dict()`.)r   ll_pdf_dict_puts_dictr$  s      r   r$  r$  E  r$  r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::pdf_dict_puts_drop()`.)r   ll_pdf_dict_puts_dropr$  s      r   r$  r$  E      ''c377r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_dirty_annot()`.)r   ll_pdf_dirty_annotr!  s    r   r$  r$  E  r"  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_dirty_obj()`.)r   ll_pdf_dirty_objr#  s    r   r$  r$  E  r  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_disable_js()`.)r   ll_pdf_disable_jsrN   s    r   r$  r$  E  r  r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_discard_journal()`.)r   ll_pdf_discard_journalr  s    r   r%  r%  E  s    ((11r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_doc_was_linearized()`.)r   ll_pdf_doc_was_linearizedrN   s    r   r%  r%  E  r  r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::pdf_document_associated_file()`.)r   ll_pdf_document_associated_filerO   r  s     r   r%  r%  E  r  r#   c                 ,    t        j                  |       S )z9Low-level wrapper for `::pdf_document_event_did_print()`.)r   ll_pdf_document_event_did_printrN   s    r   r	%  r	%  E  r~#  r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_document_event_did_save()`.)r   ll_pdf_document_event_did_saverN   s    r   r%  r%  E  r!  r#   c                 ,    t        j                  |       S )z:Low-level wrapper for `::pdf_document_event_will_close()`.)r    ll_pdf_document_event_will_closerN   s    r   r%  r%  E  r  r#   c                 ,    t        j                  |       S )z:Low-level wrapper for `::pdf_document_event_will_print()`.)r    ll_pdf_document_event_will_printrN   s    r   r%  r%  E  r  r#   c                 ,    t        j                  |       S )z9Low-level wrapper for `::pdf_document_event_will_save()`.)r   ll_pdf_document_event_will_saverN   s    r   r%  r%  E  r~#  r#   c                 ,    t        j                  |       S )z:Low-level wrapper for `::pdf_document_from_fz_document()`.)r    ll_pdf_document_from_fz_documentr  s    r   r%  r%  E  r  r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_document_language()`.)r   ll_pdf_document_languagerN   s    r   r%  r%  E  r!  r#   c                 ,    t        j                  |       S )z7Low-level wrapper for `::pdf_document_output_intent()`.)r   ll_pdf_document_output_intentrN   s    r   r%  r%  E  r $  r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::pdf_document_permissions()`.)r   ll_pdf_document_permissionsrN   s    r   r%  r%  E  r=   r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_drop_annot()`.)r   ll_pdf_drop_annotr!  s    r   r%  r%  E  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_drop_cmap()`.)r   ll_pdf_drop_cmapr#  s    r   r%  r%  E  r  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_drop_cmap_imp()`.)r   ll_pdf_drop_cmap_impr#  s    r   r%  r%  E  r  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_drop_crypt()`.)r   ll_pdf_drop_cryptr$  s    r   r!%  r!%  F  r  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_drop_document()`.)r   ll_pdf_drop_documentrN   s    r   r#%  r#%  F  rm  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_drop_font()`.)r   ll_pdf_drop_fontr/  s    r   r%%  r%%  	F  r  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_drop_function()`.)r   ll_pdf_drop_functionr2  s    r   r'%  r'%  F  r  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_drop_graft_map()`.)r   ll_pdf_drop_graft_mapmaps    r   r)%  r)%  F  r|  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_drop_journal()`.)r   ll_pdf_drop_journalr%  s    r   r-%  r-%  F      %%g..r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::pdf_drop_js()`.)r   ll_pdf_drop_jsr  s    r   r0%  r0%  F  s      $$r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_drop_local_xref()`.)r   ll_pdf_drop_local_xref)xrefs    r   r3%  r3%  F  r  r#   c                 ,    t        j                  |       S )z>Low-level wrapper for `::pdf_drop_local_xref_and_resources()`.)r   $ll_pdf_drop_local_xref_and_resourcesrN   s    r   r6%  r6%  !F      66s;;r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_drop_locked_fields()`.)r   ll_pdf_drop_locked_fields)r  s    r   r9%  r9%  %F      ++F33r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_drop_mark_bits()`.)r   ll_pdf_drop_mark_bitsmarkss    r   r<%  r<%  )F  rL"  r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_drop_obj()`.)r   ll_pdf_drop_objr#  s    r   r@%  r@%  -F  r  r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_drop_ocg()`.)r   ll_pdf_drop_ocgrN   s    r   rB%  rB%  1F  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_drop_page()`.)r   ll_pdf_drop_pager  s    r   rD%  rD%  5F  r  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_drop_page_tree()`.)r   ll_pdf_drop_page_treerN   s    r   rF%  rF%  9F  r|  r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_drop_page_tree_internal()`.)r   ll_pdf_drop_page_tree_internalrN   s    r   rH%  rH%  =F  r!  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_drop_pattern()`.)r   ll_pdf_drop_patternpats    r   rJ%  rJ%  AF  r  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_drop_processor()`.)r   ll_pdf_drop_processorr#  s    r   rN%  rN%  EF  rn  r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::pdf_drop_resource_tables()`.)r   ll_pdf_drop_resource_tablesrN   s    r   rP%  rP%  IF  r=   r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_drop_signer()`.)r   ll_pdf_drop_signer)r  s    r   rR%  rR%  MF      $$V,,r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_drop_singleton_obj()`.)r   ll_pdf_drop_singleton_objr#  s    r   rU%  rU%  QF  r  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_drop_verifier()`.)r   ll_pdf_drop_verifier)r#  s    r   rW%  rW%  UF      &&x00r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_drop_widget()`.)r   ll_pdf_drop_widgetrx"  s    r   rZ%  rZ%  YF  rS%  r#   c                 6    t        j                  | |||||      S )a  
     Low-level wrapper for `::pdf_edit_text_field_value()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_edit_text_field_value(::pdf_annot *widget, const char *value, const char *change)` => `(int, int selStart, int selEnd, char *newvalue)`
    )r   ll_pdf_edit_text_field_valuery"  r    r7  r:  r=  newvalues         r   r\%  r\%  ]F  s!     ..vufhPVX`aar#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_empty_store()`.)r   ll_pdf_empty_storerN   s    r   r`%  r`%  fF  r  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_enable_journal()`.)r   ll_pdf_enable_journalrN   s    r   rb%  rb%  jF  r|  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_enable_js()`.)r   ll_pdf_enable_jsrN   s    r   rd%  rd%  nF  r  r#   c                 0    t        j                  | ||      S )z-Low-level wrapper for `::pdf_enable_layer()`.)r   ll_pdf_enable_layerrO   layerenableds      r   rf%  rf%  rF  s    %%c5'::r#   c           	      8    t        j                  | ||||||      S )z-Low-level wrapper for `::pdf_encrypt_data()`.)r   ll_pdf_encrypt_datar\  rw  rZ  fmt_str_outr  r<  r[   s          r   rk%  rk%  vF  s    %%eS#{CANNr#   c                 2    t        j                  | |||      S )z.Low-level wrapper for `::pdf_encrypted_len()`.)r   ll_pdf_encrypted_lenr\  rw  rZ  r  s       r   ro%  ro%  zF  s    &&uc3<<r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_end_hmtx()`.)r   ll_pdf_end_hmtxr/  s    r   rr%  rr%  ~F  r$  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_end_operation()`.)r   ll_pdf_end_operationrN   s    r   rt%  rt%  F  rm  r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_end_vmtx()`.)r   ll_pdf_end_vmtxr/  s    r   rv%  rv%  F  r$  r#   c                 .    t        j                  | |      S )z2Low-level wrapper for `::pdf_ensure_solid_xref()`.)r   ll_pdf_ensure_solid_xrefr#  s     r   rx%  rx%  F  r$  r#   c                 4    t        j                  | ||||      S )z
     Low-level wrapper for `::pdf_eval_function()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_eval_function(::pdf_function *func, const float *in, int inlen, int outlen)` => float out
    )r   ll_pdf_eval_functionr  s        r   rz%  rz%  F  s     &&tS%fEEr#   c                 .    t        j                  | |      S )z2Low-level wrapper for `::pdf_event_issue_alert()`.)r   ll_pdf_event_issue_alertrO   r!  s     r   r|%  r|%  F  r$  r#   c                 .    t        j                  | |      S )z;Low-level wrapper for `::pdf_event_issue_exec_menu_item()`.)r   !ll_pdf_event_issue_exec_menu_itemrO   r{  s     r   r%  r%  F  s    33C>>r#   c                 0    t        j                  | ||      S )z7Low-level wrapper for `::pdf_event_issue_launch_url()`.)r   ll_pdf_event_issue_launch_urlrO   r~  r  s      r   r%  r%  F  s    //S)DDr#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::pdf_event_issue_mail_doc()`.)r   ll_pdf_event_issue_mail_docr}%  s     r   r%  r%  F      --c377r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_event_issue_print()`.)r   ll_pdf_event_issue_printrN   s    r   r%  r%  F  r!  r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_field_border_style()`.)r   ll_pdf_field_border_styler#  s    r   r%  r%  F  r="  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_field_display()`.)r   ll_pdf_field_displayr#  s    r   r%  r%  F  rn  r#   c                 .    t        j                  | |      S )z6Low-level wrapper for `::pdf_field_event_calculate()`.)r   ll_pdf_field_event_calculaterO   r  s     r   r%  r%  F  s    ..sE::r#   c                 .    t        j                  | |      S )z3Low-level wrapper for `::pdf_field_event_format()`.)r   ll_pdf_field_event_formatr%  s     r   r%  r%  F  rU$  r#   c                 0    t        j                  | ||      S )z6Low-level wrapper for `::pdf_field_event_keystroke()`.)r   ll_pdf_field_event_keystrokerO   r  r!  s      r   r%  r%  F  s    ..sE3??r#   c                 2    t        j                  | |||      S )z
     Low-level wrapper for `::pdf_field_event_validate()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_field_event_validate(::pdf_document *doc, ::pdf_obj *field, const char *value)` => `(int, char *newvalue)`
    )r   ll_pdf_field_event_validaterO   r  r    r^%  s       r   r%  r%  F  s     --c5%JJr#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_field_flags()`.)r   ll_pdf_field_flagsr#  s    r   r%  r%  F  r"  r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_field_label()`.)r   ll_pdf_field_labelr#  s    r   r%  r%  F  r"  r#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::pdf_field_reset()`.)r   ll_pdf_field_resetr%  s     r   r%  r%  F      $$S%00r#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::pdf_field_set_border_style()`.)r   ll_pdf_field_set_border_styler  r
  s     r   r%  r%  F  s    //t<<r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::pdf_field_set_button_caption()`.)r   ll_pdf_field_set_button_captionr%  s     r   r%  r%  F      11%>>r#   c                 .    t        j                  | |      S )z2Low-level wrapper for `::pdf_field_set_display()`.)r   ll_pdf_field_set_displayr  r  s     r   r%  r%  F  s    **5!44r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::pdf_field_set_fill_color()`.)r   ll_pdf_field_set_fill_colorr  cols     r   r%  r%  F      --eS99r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::pdf_field_set_text_color()`.)r   ll_pdf_field_set_text_colorr%  s     r   r%  r%  F  r%  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_field_type()`.)r   ll_pdf_field_typer#  s    r   r%  r%  F  r  r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_field_type_string()`.)r   ll_pdf_field_type_stringr#  s    r   r%  r%  F  r  r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_field_value()`.)r   ll_pdf_field_valuer#  s    r   r%  r%  F  r"  r#   c                 0    t        j                  | ||      S )z6Low-level wrapper for `::pdf_filter_annot_contents()`.)r   ll_pdf_filter_annot_contentsrO   r!  r  s      r   r%  r%  F  s    ..sE7CCr#   c                 0    t        j                  | ||      S )z5Low-level wrapper for `::pdf_filter_page_contents()`.)r   ll_pdf_filter_page_contentsrO   r'
  r  s      r   r%  r%  F  s    --c4AAr#   c                 4    t        j                  | ||||      S )z8Low-level wrapper for `::pdf_filter_xobject_instance()`.)r   ll_pdf_filter_xobject_instanceold_xobjpage_resrW  r  cycle_ups        r   r%  r%  F  s    008S'S[\\r#   c                 4    t        j                  | ||||      S )z3Low-level wrapper for `::pdf_find_font_resource()`.)r   ll_pdf_find_font_resourcerO   r   rM  r{  rk  s        r   r%  r%   G  s    ++CxsKKr#   c                 .    t        j                  | |      S )z*Low-level wrapper for `::pdf_find_item()`.)r   ll_pdf_find_itemr  rk  s     r   r%  r%  G  rg$  r#   c                 .    t        j                  | |      S )z3Low-level wrapper for `::pdf_find_locked_fields()`.)r   ll_pdf_find_locked_fieldsrO   rP  s     r   r%  r%  G      ++C99r#   c                 .    t        j                  | |      S )z;Low-level wrapper for `::pdf_find_locked_fields_for_sig()`.)r   !ll_pdf_find_locked_fields_for_sig)rO   sigs     r   r%  r%  G      33C==r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::pdf_find_version_for_obj()`.)r   ll_pdf_find_version_for_objr"  s     r   r%  r%  G  r%  r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_first_annot()`.)r   ll_pdf_first_annotr  s    r   r%  r%  G      $$T**r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_first_widget()`.)r   ll_pdf_first_widgetr  s    r   r%  r%  G  r4  r#   c                 ,    t        j                  |       S )z?Low-level wrapper for `::pdf_flatten_inheritable_page_items()`.)r   %ll_pdf_flatten_inheritable_page_itemsr  s    r   r%  r%  G      77==r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_font_cid_to_gid()`.)r   ll_pdf_font_cid_to_gidr  r	  s     r   r%  r%   G  s    ((377r#   c                 ,    t        j                  |       S )z7Low-level wrapper for `::pdf_font_writing_supported()`.)r   ll_pdf_font_writing_supportedr/  s    r   r%  r%  $G  r   r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_forget_xref()`.)r   ll_pdf_forget_xrefrN   s    r   r%  r%  (G  r  r#   c                 0    t        j                  | ||      S )z,Low-level wrapper for `::pdf_format_date()`.)r   ll_pdf_format_daterc  r<  r[   s      r   r%  r%  ,G  s    $$T1a00r#   c                 0    t        j                  | ||      S )z5Low-level wrapper for `::pdf_format_write_options()`.)r   ll_pdf_format_write_optionsr*  
buffer_lenr  s      r   r%  r%  0G  s    --fj$GGr#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_function_size()`.)r   ll_pdf_function_sizer2  s    r   r%  r%  4G  r  r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_get_bound_document()`.)r   ll_pdf_get_bound_documentr#  s    r   r%  r%  8G  r  r#   c                 ,    t        j                  |       S )z<Low-level wrapper for `::pdf_get_doc_event_callback_data()`.)r   "ll_pdf_get_doc_event_callback_datarN   s    r   r%  r%  <G  r  r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::pdf_get_embedded_file_params()`.)r   ll_pdf_get_embedded_file_paramsfsrl  s     r   r%  r%  @G  s    11"c::r#   c                 .    t        j                  | |      S )z4Low-level wrapper for `::pdf_get_filespec_params()`.)r   ll_pdf_get_filespec_paramsr%  s     r   r%  r%  DG  s    ,,R55r#   c                 .    t        j                  | |      S )z;Low-level wrapper for `::pdf_get_incremental_xref_entry()`.)r   !ll_pdf_get_incremental_xref_entryrO   r   s     r   r%  r%  HG  s    33C;;r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::pdf_get_indirect_document()`.)r   ll_pdf_get_indirect_documentr#  s    r   r%  r%  LG  r!  r#   c                 .    t        j                  | |      S )z:Low-level wrapper for `::pdf_get_populating_xref_entry()`.)r    ll_pdf_get_populating_xref_entryr%  s     r   r%  r%  PG  s    223::r#   c                 ,    t        j                  |       S )z9Low-level wrapper for `::pdf_get_widget_editing_state()`.)r   ll_pdf_get_widget_editing_staterx"  s    r   r%  r%  TG  s    11&99r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_get_xref_entry()`.)r   ll_pdf_get_xref_entryr%  s     r   r%  r%  XG  r  r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::pdf_get_xref_entry_no_change()`.)r   ll_pdf_get_xref_entry_no_changer%  s     r   r%  r%  \G  s    11#q99r#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::pdf_get_xref_entry_no_null()`.)r   ll_pdf_get_xref_entry_no_nullr%  s     r   r&  r&  `G  s    //Q77r#   c                 .    t        j                  | |      S )z4Low-level wrapper for `::pdf_graft_mapped_object()`.)r   ll_pdf_graft_mapped_objectr+%  rh  s     r   r&  r&  dG  r`$  r#   c                 2    t        j                  | |||      S )z2Low-level wrapper for `::pdf_graft_mapped_page()`.)r   ll_pdf_graft_mapped_pager+%  page_tor  	page_froms       r   r&  r&  hG  s    **3iHHr#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_graft_object()`.)r   ll_pdf_graft_objectr"   rh  s     r   r&  r&  lG      %%c3//r#   c                 2    t        j                  | |||      S )z+Low-level wrapper for `::pdf_graft_page()`.)r   ll_pdf_graft_pager"   r&  r  r	&  s       r   r&  r&  pG  s    ##C#yAAr#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_has_permission()`.)r   ll_pdf_has_permissionr  s     r   r&  r&  tG  r  r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::pdf_has_unsaved_changes()`.)r   ll_pdf_has_unsaved_changesrN   s    r   r&  r&  xG  r   r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_has_unsaved_sigs()`.)r   ll_pdf_has_unsaved_sigsrN   s    r   r&  r&  |G  r5  r#   c                 ,    t        j                  |       S )zHLow-level wrapper for `::pdf_incremental_change_since_signing_widget()`.)r   .ll_pdf_incremental_change_since_signing_widgetrx"  s    r   r&  r&  G  s    @@HHr#   c                 0    t        j                  | ||      S )z5Low-level wrapper for `::pdf_insert_font_resource()`.)r   ll_pdf_insert_font_resourcerO   rk  rh  s      r   r&  r&  G  s    --c3<<r#   c                 0    t        j                  | ||      S )z,Low-level wrapper for `::pdf_insert_page()`.)r   ll_pdf_insert_pagerO   atr'
  s      r   r&  r&  G  s    $$S"d33r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_intent_from_name()`.)r   ll_pdf_intent_from_namer#  s    r   r!&  r!&  G  r5  r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_intent_from_string()`.)r   ll_pdf_intent_from_stringr  s    r   r#&  r#&  G  r  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_invalidate_xfa()`.)r   ll_pdf_invalidate_xfarN   s    r   r%&  r%&  G  r|  r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_is_array()`.)r   ll_pdf_is_arrayr#  s    r   r'&  r'&  G  r  r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::pdf_is_bool()`.)r   ll_pdf_is_boolr#  s    r   r)&  r)&  G  r  r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::pdf_is_dict()`.)r   ll_pdf_is_dictr#  s    r   r+&  r+&  G  r  r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_is_embedded_file()`.)r   ll_pdf_is_embedded_filer%  s    r   r-&  r-&  G  r  r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_is_field_locked()`.)r   ll_pdf_is_field_lockedr  r   s     r   r0&  r0&  G  s    ((66r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_is_filespec()`.)r   ll_pdf_is_filespecr.&  s    r   r3&  r3&  G      $$R((r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_is_indirect()`.)r   ll_pdf_is_indirectr#  s    r   r6&  r6&  G  r  r#   c                 ,    t        j                  |       S )z'Low-level wrapper for `::pdf_is_int()`.)r   ll_pdf_is_intr#  s    r   r8&  r8&  G      $$r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_is_jpx_image()`.)r   ll_pdf_is_jpx_imager#  s    r   r;&  r;&  G  r4  r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_is_local_object()`.)r   ll_pdf_is_local_objectr"  s     r   r=&  r=&  G  r"  r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::pdf_is_name()`.)r   ll_pdf_is_namer#  s    r   r?&  r?&  G  r  r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::pdf_is_null()`.)r   ll_pdf_is_nullr#  s    r   rA&  rA&  G  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_is_number()`.)r   ll_pdf_is_numberr#  s    r   rC&  rC&  G  r  r#   c                 2    t        j                  | |||      S )z.Low-level wrapper for `::pdf_is_ocg_hidden()`.)r   ll_pdf_is_ocg_hiddenrO   r  r  r_  s       r   rE&  rE&  G  s    &&sC<<r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::pdf_is_real()`.)r   ll_pdf_is_realr#  s    r   rH&  rH&  G  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_is_stream()`.)r   ll_pdf_is_streamr#  s    r   rJ&  rJ&  G  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_is_string()`.)r   ll_pdf_is_stringr#  s    r   rL&  rL&  G  r  r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_is_tint_colorspace()`.)r   ll_pdf_is_tint_colorspacer  s    r   rN&  rN&  G      ++B//r#   c                 2    t        j                  | |||      S )z.Low-level wrapper for `::pdf_js_event_init()`.)r   ll_pdf_js_event_initr  r  r    r@  s       r   rQ&  rQ&  G  s    &&r65*EEr#   c                 0    t        j                  | ||      S )z8Low-level wrapper for `::pdf_js_event_init_keystroke()`.)r   ll_pdf_js_event_init_keystroker  r  r!  s      r   rT&  rT&  G  s    00VSAAr#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_js_event_result()`.)r   ll_pdf_js_event_resultr1%  s    r   rW&  rW&  G      ((,,r#   c                 .    t        j                  | |      S )z:Low-level wrapper for `::pdf_js_event_result_keystroke()`.)r    ll_pdf_js_event_result_keystroker  r!  s     r   rZ&  rZ&  G  s    222s;;r#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::pdf_js_event_result_validate()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_js_event_result_validate(::pdf_js *js)` => `(int, char *newvalue)`
    )r   ll_pdf_js_event_result_validater  r^%  s     r   r]&  r]&  G  s     11"h??r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_js_event_value()`.)r   ll_pdf_js_event_valuer1%  s    r   r`&  r`&  G      ''++r#   c                 2    t        j                  | |||      S )z
     Low-level wrapper for `::pdf_js_execute()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_js_execute(::pdf_js *js, const char *name, const char *code)` => char *result
    )r   ll_pdf_js_executer  r   r  results       r   rc&  rc&  G  s     ##BdF;;r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_js_get_console()`.)r   ll_pdf_js_get_consolerN   s    r   rg&  rg&  H  r|  r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::pdf_js_set_console()`.)r   ll_pdf_js_set_consolerO   consoler  s      r   ri&  ri&  
H  s    ''Wd;;r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_js_supported()`.)r   ll_pdf_js_supportedrN   s    r   rm&  rm&  H  r  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_keep_annot()`.)r   ll_pdf_keep_annotr!  s    r   ro&  ro&  H  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_keep_cmap()`.)r   ll_pdf_keep_cmapr#  s    r   rq&  rq&  H  r  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_keep_document()`.)r   ll_pdf_keep_documentrN   s    r   rs&  rs&  H  rm  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_keep_font()`.)r   ll_pdf_keep_font)r  s    r   ru&  ru&  H  r  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_keep_function()`.)r   ll_pdf_keep_functionr2  s    r   rw&  rw&  "H  r  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_keep_graft_map()`.)r   ll_pdf_keep_graft_mapr*%  s    r   ry&  ry&  &H  r|  r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_keep_obj()`.)r   ll_pdf_keep_objr#  s    r   r{&  r{&  *H  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_keep_page()`.)r   ll_pdf_keep_pager  s    r   r}&  r}&  .H  r  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_keep_pattern()`.)r   ll_pdf_keep_patternrK%  s    r   r&  r&  2H  r  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_keep_processor()`.)r   ll_pdf_keep_processorr#  s    r   r&  r&  6H  rn  r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_keep_widget()`.)r   ll_pdf_keep_widgetrx"  s    r   r&  r&  :H  rS%  r#   c                 0    t        j                  | ||      S )z2Low-level wrapper for `::pdf_layer_config_info()`.)r   ll_pdf_layer_config_inforO   
config_numinfos      r   r&  r&  >H  s    **3
DAAr#   c                 0    t        j                  | ||      S )z5Low-level wrapper for `::pdf_layer_config_ui_info()`.)r   ll_pdf_layer_config_ui_inforO   r\$  r&  s      r   r&  r&  BH  s    --c2t<<r#   c                 .    t        j                  | |      S )z1Low-level wrapper for `::pdf_layer_is_enabled()`.)r   ll_pdf_layer_is_enabledrO   rh%  s     r   r&  r&  FH      ))#u55r#   c                 .    t        j                  | |      S )z+Low-level wrapper for `::pdf_layer_name()`.)r   ll_pdf_layer_namer&  s     r   r&  r&  JH      ##C//r#   c                 2    t        j                  | |||      S )z0Low-level wrapper for `::pdf_layout_fit_text()`.)r   ll_pdf_layout_fit_textr  r(  r  boundss       r   r&  r&  NH  s    ((tS&AAr#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_layout_text_widget()`.)r   ll_pdf_layout_text_widgetr!  s    r   r&  r&  RH  r="  r#   c                 .    t        j                  | |      S )z$Low-level wrapper for `::pdf_lex()`.)r   
ll_pdf_lexr  r  s     r   r&  r&  VH  s    Q''r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::pdf_lex_no_string()`.)r   ll_pdf_lex_no_stringr&  s     r   r&  r&  ZH  s    &&q&11r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_lexbuf_fin()`.)r   ll_pdf_lexbuf_finr  s    r   r&  r&  ^H  r  r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_lexbuf_grow()`.)r   ll_pdf_lexbuf_growr&  s    r   r&  r&  bH  rS%  r#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::pdf_lexbuf_init()`.)r   ll_pdf_lexbuf_initr  r   s     r   r&  r&  fH  s    $$VT22r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::pdf_line_ending_from_name()`.)r   ll_pdf_line_ending_from_namer   s    r   r&  r&  jH  r!  r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_line_ending_from_string()`.)r   ll_pdf_line_ending_from_stringr&  s    r   r&  r&  nH  r!  r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_load_builtin_cmap()`.)r   ll_pdf_load_builtin_cmapr  s    r   r&  r&  rH      **400r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_load_cmap()`.)r   ll_pdf_load_cmapr  s    r   r&  r&  vH  r  r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_load_colorspace()`.)r   ll_pdf_load_colorspacer#  s    r   r&  r&  zH      ((--r#   c                 6    t        j                  | |||||      S )z=Low-level wrapper for `::pdf_load_compressed_inline_image()`.)r   #ll_pdf_load_compressed_inline_imagerO   r  re  cstmr[  r  s         r   r&  r&  ~H  s    55c4wX]^^r#   c                 0    t        j                  | ||      S )z7Low-level wrapper for `::pdf_load_compressed_stream()`.)r   ll_pdf_load_compressed_streamrO   rw  rE  s      r   r&  r&  H  s    //S*EEr#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::pdf_load_default_colorspaces()`.)r   ll_pdf_load_default_colorspacesrO   r'
  s     r   r&  r&  H  r#  r#   c                 .    t        j                  | |      S )z3Low-level wrapper for `::pdf_load_embedded_cmap()`.)r   ll_pdf_load_embedded_cmaprO   refs     r   r&  r&  H      ++C55r#   c                 ,    t        j                  |       S )z<Low-level wrapper for `::pdf_load_embedded_file_contents()`.)r   "ll_pdf_load_embedded_file_contentsr.&  s    r   r&  r&  H  s    44R88r#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::pdf_load_encoding()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_load_encoding(const char *encoding)` => const char *estrings
    )r   ll_pdf_load_encodingestringsrM  s     r   r&  r&  H  s     &&x::r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_load_field_name()`.)r   ll_pdf_load_field_namer#  s    r   r&  r&  H  r"  r#   c                 ,    t        j                  |       S )zEAlternative to `ll_pdf_load_field_name()` that returns a std::string.)r   ll_pdf_load_field_name2r#  s    r   r&  r&  H  r["  r#   c                 0    t        j                  | ||      S )z*Low-level wrapper for `::pdf_load_font()`.)r   ll_pdf_load_fontrO   r  rh  s      r   r&  r&  H      ""3S11r#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_load_function()`.)r   ll_pdf_load_functionr&  r?  rl  s      r   r&  r&  H      &&sC55r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::pdf_load_hail_mary_font()`.)r   ll_pdf_load_hail_mary_fontrN   s    r   r&  r&  H  r   r#   c                 .    t        j                  | |      S )z+Low-level wrapper for `::pdf_load_image()`.)r   ll_pdf_load_imager"  s     r   r&  r&  H  r"  r#   c                 2    t        j                  | |||      S )z2Low-level wrapper for `::pdf_load_inline_image()`.)r   ll_pdf_load_inline_imagerO   r  r  r  s       r   r&  r&  H  s    **3T4@@r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_load_journal()`.)r   ll_pdf_load_journalrO   r  s     r   r&  r&  H      %%c844r#   c                 4    t        j                  | ||||      S )z1Low-level wrapper for `::pdf_load_link_annots()`.)r   ll_pdf_load_link_annots)r  r  r  r}  page_ctms        r   r&  r&  H  s    ))%RRr#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_load_links()`.)r   ll_pdf_load_linksr  s    r   r&  r&  H  r#  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_load_name_tree()`.)r   ll_pdf_load_name_treerO   whichs     r   r&  r&  H  s    ''U33r#   c                 .    t        j                  | |      S )a  
    Low-level wrapper for `::pdf_load_object()`.
    Load a given object.

    This can cause xref reorganisations (solidifications etc) due to
    repairs, so all held pdf_xref_entries should be considered
    invalid after this call (other than the returned one).
    )r   ll_pdf_load_objectr#  s     r   r&  r&  H  s     $$S#..r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_load_outline()`.)r   ll_pdf_load_outlinerN   s    r   r&  r&  H  r  r#   c                 .    t        j                  | |      S )z*Low-level wrapper for `::pdf_load_page()`.)r   ll_pdf_load_pager  s     r   r&  r&  H      ""3//r#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_load_page_imp()`.)r   ll_pdf_load_page_imprO   r$
  r  s      r   r&  r&  H  s    &&sGV<<r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_load_page_tree()`.)r   ll_pdf_load_page_treerN   s    r   r&  r&  H  r|  r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_load_pattern()`.)r   ll_pdf_load_patternr"  s     r   r&  r&  H  r&  r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_load_raw_stream()`.)r   ll_pdf_load_raw_streamr&  s    r   r&  r&  H  r&  r#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::pdf_load_raw_stream_number()`.)r   ll_pdf_load_raw_stream_numberr#  s     r   r&  r&  H  r  r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_load_shading()`.)r   ll_pdf_load_shadingr"  s     r   r&  r&  H  r&  r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_load_stream()`.)r   ll_pdf_load_streamr&  s    r   r&  r&  H  r  r#   c                 .    t        j                  | |      S )z3Low-level wrapper for `::pdf_load_stream_number()`.)r   ll_pdf_load_stream_numberr#  s     r   r '  r '  H  r&  r#   c                 ,    t        j                  |       S )z>Low-level wrapper for `::pdf_load_stream_or_string_as_utf8()`.)r   $ll_pdf_load_stream_or_string_as_utf8r  s    r   r'  r'  H  r7%  r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_load_system_cmap()`.)r   ll_pdf_load_system_cmapr  s    r   r'  r'  H      ))$//r#   c                 4    t        j                  | ||||      S )a  
     Low-level wrapper for `::pdf_load_to_unicode()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_load_to_unicode(::pdf_document *doc, ::pdf_font_desc *font, char *collection, ::pdf_obj *cmapstm)` => const char *strings
    )r   ll_pdf_load_to_unicoderO   r  strings
collectioncmapstms        r   r'  r'  I  s     ((dGZQQr#   c                 0    t        j                  | ||      S )z0Low-level wrapper for `::pdf_load_type3_font()`.)r   ll_pdf_load_type3_fontr&  s      r   r'  r'  I  s    ((c377r#   c                 .    t        j                  | |      S )z2Low-level wrapper for `::pdf_load_type3_glyphs()`.)r   ll_pdf_load_type3_glyphsrO   r  s     r   r'  r'  I  s    **399r#   c                 .    t        j                  | |      S )z8Low-level wrapper for `::pdf_load_unencrypted_object()`.)r   ll_pdf_load_unencrypted_objectr#  s     r   r'  r'  I      00c::r#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::pdf_lookup_cmap()`.)r   ll_pdf_lookup_cmapr!  rD$  s     r   r'  r'  I  r  r#   c                 0    t        j                  | ||      S )z
     Low-level wrapper for `::pdf_lookup_cmap_full()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_lookup_cmap_full(::pdf_cmap *cmap, unsigned int cpt)` => `(int, int out)`
    )r   ll_pdf_lookup_cmap_fullr!  rD$  rl  s      r   r'  r'  I  s     ))$S99r#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::pdf_lookup_dest()`.)r   ll_pdf_lookup_destrO   rV  s     r   r'  r'  $I  rQ$  r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_lookup_field()`.)r   ll_pdf_lookup_fieldformr   s     r   r'  r'  (I  r  r#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::pdf_lookup_hmtx()`.)r   ll_pdf_lookup_hmtxr  r	  s     r   r"'  r"'  ,I  r  r#   c                 2    t        j                  | |||      S )z0Low-level wrapper for `::pdf_lookup_metadata()`.)r   ll_pdf_lookup_metadatarO   rk  r;   r   s       r   r%'  r%'  0I  s    ((c3==r#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::pdf_lookup_metadata2()`.
    C++ alternative to `pdf_lookup_metadata()` that returns a `std::string`
    or calls `fz_throw()` if not found.
    )r   ll_pdf_lookup_metadata2r2  s     r   r('  r('  4I  s     ))#s33r#   c                 0    t        j                  | ||      S )z,Low-level wrapper for `::pdf_lookup_name()`.)r   ll_pdf_lookup_namerO   r&  rV  s      r   r*'  r*'  <I  s    $$S%88r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::pdf_lookup_number()`.)r   ll_pdf_lookup_numberr*  rV  s     r   r-'  r-'  @I  s    &&tV44r#   c                 2    t        j                  | |||      S )z
     Low-level wrapper for `::pdf_lookup_page_loc()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_lookup_page_loc(::pdf_document *doc, int needle, ::pdf_obj **parentp)` => `(pdf_obj *, int indexp)`
    )r   ll_pdf_lookup_page_locrO   rV  parentpindexps       r   r0'  r0'  DI  s     ((fgvFFr#   c                 .    t        j                  | |      S )z3Low-level wrapper for `::pdf_lookup_page_number()`.)r   ll_pdf_lookup_page_numberrO   pageobjs     r   r5'  r5'  MI  r%  r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_lookup_page_obj()`.)r   ll_pdf_lookup_page_objr'  s     r   r9'  r9'  QI  s    ((f55r#   c                 4    t        j                  | ||||      S )z
     Low-level wrapper for `::pdf_lookup_substitute_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_lookup_substitute_font(int mono, int serif, int bold, int italic)` => `(const unsigned char *, int len)`
    )r   ll_pdf_lookup_substitute_fontmonor  r  r  r  s        r   r;'  r;'  UI  s     //eT63OOr#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::pdf_lookup_vmtx()`.)r   ll_pdf_lookup_vmtxr#'  s     r   r?'  r?'  ^I  r  r#   c                 2    t        j                  | |||      S )z
     Low-level wrapper for `::pdf_map_one_to_many()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_map_one_to_many(::pdf_cmap *cmap, unsigned int one, size_t len)` => int many
    )r   ll_pdf_map_one_to_manyr!  r!  manyr  s       r   rA'  rA'  bI  s     ((sD#>>r#   c                 2    t        j                  | |||      S )z3Low-level wrapper for `::pdf_map_range_to_range()`.)r   ll_pdf_map_range_to_ranger!  srclosrchidstlos       r   rE'  rE'  kI  s    ++D%FFr#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_mark_bits_reset()`.)r   ll_pdf_mark_bits_resetr=%  s    r   rK'  rK'  oI  r"  r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::pdf_mark_bits_set()`.)r   ll_pdf_mark_bits_setr>%  rh  s     r   rM'  rM'  sI      &&uc22r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_mark_list_check()`.)r   ll_pdf_mark_list_checkr  rh  s     r   rQ'  rQ'  wI  r$  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_mark_list_free()`.)r   ll_pdf_mark_list_freer  s    r   rT'  rT'  {I  rn  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_mark_list_init()`.)r   ll_pdf_mark_list_initr  s    r   rV'  rV'  I  rn  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_mark_list_pop()`.)r   ll_pdf_mark_list_popr  s    r   rX'  rX'  I  r  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_mark_list_push()`.)r   ll_pdf_mark_list_pushrR'  s     r   rZ'  rZ'  I  r$  r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_mark_obj()`.)r   ll_pdf_mark_objr#  s    r   r\'  r\'  I  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_mark_xref()`.)r   ll_pdf_mark_xrefrN   s    r   r^'  r^'  I  r  r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_metadata()`.)r   ll_pdf_metadatarN   s    r   r`'  r`'  I  r  r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_minimize_document()`.)r   ll_pdf_minimize_documentrN   s    r   rb'  rb'  I  r!  r#   c                 .    t        j                  | |      S )z(Low-level wrapper for `::pdf_name_eq()`.)r   ll_pdf_name_eqr  s     r   rd'  rd'  I  s      A&&r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_name_from_intent()`.)r   ll_pdf_name_from_intentintents    r   rf'  rf'  I      ))&11r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::pdf_name_from_line_ending()`.)r   ll_pdf_name_from_line_endingr&  s    r   rk'  rk'  I  r!  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_needs_password()`.)r   ll_pdf_needs_passwordrN   s    r   rm'  rm'  I  r|  r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::pdf_new_action_from_link()`.)r   ll_pdf_new_action_from_linkr  s     r   ro'  ro'  I  r%  r#   c                 .    t        j                  | |      S )z*Low-level wrapper for `::pdf_new_array()`.)r   ll_pdf_new_arrayrO   
initialcaps     r   rq'  rq'  I  s    ""3
33r#   c                 0    t        j                  | ||      S )z5Low-level wrapper for `::pdf_new_buffer_processor()`.)r   ll_pdf_new_buffer_processorr*  	ahxencoder,  s      r   ru'  ru'  I  s    --fiJJr#   c                  *    t        j                         S )z)Low-level wrapper for `::pdf_new_cmap()`.)r   ll_pdf_new_cmapr$   r#   r   ry'  ry'  I  r  r#   c                 6    t        j                  | |||||      S )z1Low-level wrapper for `::pdf_new_color_filter()`.)r   ll_pdf_new_color_filterrO   r  struct_parentsr  r  coptss         r   r{'  r{'  I      ))#uniQXZ_``r#   c                 .    t        j                  | |      S )z*Low-level wrapper for `::pdf_new_crypt()`.)r   ll_pdf_new_crypt)encrM  s     r   r'  r'  I  s    ""3++r#   c                 .    t        j                  | |      S )z)Low-level wrapper for `::pdf_new_date()`.)r   ll_pdf_new_daterO   rc  s     r   r'  r'  I      !!#t,,r#   c                 0    t        j                  | ||      S )z3Low-level wrapper for `::pdf_new_dest_from_link()`.)r   ll_pdf_new_dest_from_linkrO   r"  	is_remotes      r   r'  r'  I  s    ++Ci@@r#   c                 .    t        j                  | |      S )z)Low-level wrapper for `::pdf_new_dict()`.)r   ll_pdf_new_dictrr'  s     r   r'  r'  I  s    !!#z22r#   c                 ,    t        j                  |       S )z<Low-level wrapper for `::pdf_new_display_list_from_annot()`.)r   "ll_pdf_new_display_list_from_annotr!  s    r   r'  r'  I  r"  r#   c                 4    t        j                  | ||||      S )z,Low-level wrapper for `::pdf_new_encrypt()`.)r   ll_pdf_new_encrypt)r;  r>  rM  r8  	algorithms        r   r'  r'  I  s    $$Y	2{IVVr#   c                  *    t        j                         S )z.Low-level wrapper for `::pdf_new_font_desc()`.)r   ll_pdf_new_font_descr$   r#   r   r'  r'  I      &&((r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_new_graft_map()`.)r   ll_pdf_new_graft_mapr"   s    r   r'  r'  I  rm  r#   c                 .    t        j                  | |      S )z2Low-level wrapper for `::pdf_new_identity_cmap()`.)r   ll_pdf_new_identity_cmapr'	  bytess     r   r'  r'  I  s    **5%88r#   c                 0    t        j                  | ||      S )z-Low-level wrapper for `::pdf_new_indirect()`.)r   ll_pdf_new_indirectrO   rw  rZ  s      r   r'  r'  I  r#  r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::pdf_new_int()`.)r   ll_pdf_new_intr@  s    r   r'  r'  I        ##r#   c                 2    t        j                  | |||      S )z)Low-level wrapper for `::pdf_new_link()`.)r   ll_pdf_new_linkr'
  r  r"  rh  s       r   r'  r'  I  s    !!$c377r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_new_local_xref()`.)r   ll_pdf_new_local_xrefrN   s    r   r'  r'  I  r|  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_new_mark_bits()`.)r   ll_pdf_new_mark_bitsrN   s    r   r'  r'  I  rm  r#   c                 .    t        j                  | |      S )z+Low-level wrapper for `::pdf_new_matrix()`.)r   ll_pdf_new_matrixrO   mtxs     r   r'  r'  I  r"  r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_new_name()`.)r   ll_pdf_new_namer  s    r   r'  r'  I  r  r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::pdf_new_outline_iterator()`.)r   ll_pdf_new_outline_iteratorrN   s    r   r'  r'  I  r=   r#   c                 0    t        j                  | ||      S )z5Low-level wrapper for `::pdf_new_output_processor()`.)r   ll_pdf_new_output_processorrl  rw'  r,  s      r   r'  r'  J  s    --c9hGGr#   c                 2    t        j                  | |||      S )z/Low-level wrapper for `::pdf_new_pdf_device()`.)r   ll_pdf_new_pdf_devicerO   topctmr  r  s       r   r'  r'  J  s    ''VYIIr#   c                 4    t        j                  | ||||      S )z6Low-level wrapper for `::pdf_new_pixmap_from_annot()`.)r   ll_pdf_new_pixmap_from_annotr!  rW  rM  rI  rA  s        r   r'  r'  J  s    ..uc2tUKKr#   c           	      8    t        j                  | ||||||      S )zYLow-level wrapper for `::pdf_new_pixmap_from_page_contents_with_separations_and_usage()`.)r   ?ll_pdf_new_pixmap_from_page_contents_with_separations_and_usager'
  rW  rM  rI  rA  r  r  s          r   r'  r'  J  s&    QQRVX[]_aeglnsuxyyr#   c                 6    t        j                  | |||||      S )zILow-level wrapper for `::pdf_new_pixmap_from_page_contents_with_usage()`.)r   /ll_pdf_new_pixmap_from_page_contents_with_usager'
  rW  rM  rA  r  r  s         r   r'  r'  J  s     AA$RQVX]_bccr#   c           	      8    t        j                  | ||||||      S )zPLow-level wrapper for `::pdf_new_pixmap_from_page_with_separations_and_usage()`.)r   6ll_pdf_new_pixmap_from_page_with_separations_and_usager'  s          r   r'  r'  J  s$    HHsTVX\^cejloppr#   c                 6    t        j                  | |||||      S )z@Low-level wrapper for `::pdf_new_pixmap_from_page_with_usage()`.)r   &ll_pdf_new_pixmap_from_page_with_usager'  s         r   r'  r'  J  s    88sBuVYZZr#   c                 .    t        j                  | |      S )z*Low-level wrapper for `::pdf_new_point()`.)r   ll_pdf_new_pointrO   rx   s     r   r'  r'  J  r!  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_new_processor()`.)r   ll_pdf_new_processorr  s    r   r'  r'  #J  r  r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_new_real()`.)r   ll_pdf_new_realr=  s    r   r'  r'  'J  s    !!!$$r#   c                 .    t        j                  | |      S )z)Low-level wrapper for `::pdf_new_rect()`.)r   ll_pdf_new_rectrO   r  s     r   r'  r'  +J  r'  r#   c           
      :    t        j                  | |||||||      S )z2Low-level wrapper for `::pdf_new_run_processor()`.)r   ll_pdf_new_run_processorrO   rT  rW  struct_parentr  r  r  r  s           r   r'  r'  /J  s$    **3S-PVXbdjkkr#   c                 6    t        j                  | |||||      S )z4Low-level wrapper for `::pdf_new_sanitize_filter()`.)r   ll_pdf_new_sanitize_filterrO   r  r}'  r  r  soptss         r   r'  r'  3J  s    ,,S%T[]bccr#   c                 .    t        j                  | |      S )z:Low-level wrapper for `::pdf_new_stext_page_from_annot()`.)r    ll_pdf_new_stext_page_from_annot)r!  r  s     r   r'  r'  7J  s    225'BBr#   c                 .    t        j                  | |      S )z+Low-level wrapper for `::pdf_new_string()`.)r   ll_pdf_new_stringr  r  s     r   r'  r'  ;J  r"  r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_new_text_string()`.)r   ll_pdf_new_text_stringr;  s    r   r'  r'  ?J  s    ((++r#   c                 ,    t        j                  |       S )z;Low-level wrapper for `::pdf_new_uri_from_explicit_dest()`.)r   !ll_pdf_new_uri_from_explicit_destr  s    r   r'  r'  CJ      33D99r#   c                 .    t        j                  | |      S )zDLow-level wrapper for `::pdf_new_uri_from_path_and_explicit_dest()`.)r   *ll_pdf_new_uri_from_path_and_explicit_destr  r  s     r   r'  r'  GJ  s    <<T4HHr#   c                 .    t        j                  | |      S )zALow-level wrapper for `::pdf_new_uri_from_path_and_named_dest()`.)r   'll_pdf_new_uri_from_path_and_named_destr  r   s     r   r'  r'  KJ      99$EEr#   c                 ,    t        j                  |       S )z=Low-level wrapper for `::pdf_new_utf8_from_pdf_stream_obj()`.)r   #ll_pdf_new_utf8_from_pdf_stream_objr  s    r   r'  r'  OJ  r"  r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::pdf_new_utf8_from_pdf_string()`.)r   ll_pdf_new_utf8_from_pdf_stringsrcptrsrclens     r   r'  r'  SJ  s    11&&AAr#   c                 ,    t        j                  |       S )z=Low-level wrapper for `::pdf_new_utf8_from_pdf_string_obj()`.)r   #ll_pdf_new_utf8_from_pdf_string_objr  s    r   r'  r'  WJ  r"  r#   c                 4    t        j                  | ||||      S )z,Low-level wrapper for `::pdf_new_xobject()`.)r   ll_pdf_new_xobjectrO   r  r  r#  r*  s        r   r'  r'  [J  s    $$S$VDDr#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_next_annot()`.)r   ll_pdf_next_annotr!  s    r   r'  r'  _J  r  r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_next_widget()`.)r   ll_pdf_next_widgetrv   s    r   r'  r'  cJ  r9  r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_nuke_annots()`.)r   ll_pdf_nuke_annotsr  s    r   r'  r'  gJ  r%  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_nuke_links()`.)r   ll_pdf_nuke_linksr  s    r   r'  r'  kJ  r#  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_nuke_page()`.)r   ll_pdf_nuke_pager  s    r   r'  r'  oJ  r  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_obj_is_dirty()`.)r   ll_pdf_obj_is_dirtyr#  s    r   r(  r(  sJ  r  r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_obj_is_incremental()`.)r   ll_pdf_obj_is_incrementalr#  s    r   r(  r(  wJ  r  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_obj_marked()`.)r   ll_pdf_obj_markedr#  s    r   r(  r(  {J  r  r#   c                 0    t        j                  | ||      S )z
     Low-level wrapper for `::pdf_obj_memo()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_obj_memo(::pdf_obj *obj, int bit)` => `(int, int memo)`
    )r   ll_pdf_obj_memorh  rT  memos      r   r(  r(  J  s     !!#sD11r#   c                 .    t        j                  | |      S )z2Low-level wrapper for `::pdf_obj_num_is_stream()`.)r   ll_pdf_obj_num_is_streamr#  s     r   r(  r(  J  r$  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_obj_parent_num()`.)r   ll_pdf_obj_parent_numr#  s    r   r(  r(  J  r|  r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_obj_refs()`.)r   ll_pdf_obj_refsr&  s    r   r(  r(  J  r  r#   c                 .    t        j                  | |      S )z'Low-level wrapper for `::pdf_objcmp()`.)r   ll_pdf_objcmpr  s     r   r(  r(  J      1%%r#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::pdf_objcmp_deep()`.)r   ll_pdf_objcmp_deepr  s     r   r(  r(  J      $$Q**r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_objcmp_resolve()`.)r   ll_pdf_objcmp_resolver  s     r   r(  r(  J  s    ''1--r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::pdf_open_contents_stream()`.)r   ll_pdf_open_contents_streamr"  s     r   r(  r(  J  r%  r#   c                 2    t        j                  | |||      S )z+Low-level wrapper for `::pdf_open_crypt()`.)r   ll_pdf_open_cryptr  r\  rw  rZ  s       r   r(  r(  J  s    ##E5#s;;r#   c                 4    t        j                  | ||||      S )z7Low-level wrapper for `::pdf_open_crypt_with_filter()`.)r   ll_pdf_open_crypt_with_filterr  r\  r   rw  rZ  s        r   r(  r(  J  s    //udCMMr#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_open_document()`.)r   ll_pdf_open_documentr  s    r   r!(  r!(  J  rX%  r#   c                 ,    t        j                  |       S )z:Low-level wrapper for `::pdf_open_document_with_stream()`.)r    ll_pdf_open_document_with_streamr  s    r   r#(  r#(  J  s    22488r#   c                 4    t        j                  | ||||      S )z3Low-level wrapper for `::pdf_open_inline_stream()`.)r   ll_pdf_open_inline_streamrO   stmobjre  r  r~  s        r   r%(  r%(  J  s    ++COOr#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_open_raw_stream()`.)r   ll_pdf_open_raw_streamr&  s    r   r)(  r)(  J  r&  r#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::pdf_open_raw_stream_number()`.)r   ll_pdf_open_raw_stream_numberr#  s     r   r+(  r+(  J  r  r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_open_stream()`.)r   ll_pdf_open_streamr&  s    r   r-(  r-(  J  r  r#   c                 .    t        j                  | |      S )z3Low-level wrapper for `::pdf_open_stream_number()`.)r   ll_pdf_open_stream_numberr#  s     r   r/(  r/(  J  r&  r#   c                 2    t        j                  | |||      S )z8Low-level wrapper for `::pdf_open_stream_with_offset()`.)r   ll_pdf_open_stream_with_offsetrO   rw  r  rb  s       r   r1(  r1(  J  s    00c4IIr#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::pdf_page_associated_file()`.)r   ll_pdf_page_associated_filer'
  r  s     r   r4(  r4(  J  r  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_page_contents()`.)r   ll_pdf_page_contentsr  s    r   r7(  r7(  J  r  r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_page_event_close()`.)r   ll_pdf_page_event_closer  s    r   r9(  r9(  J  r'  r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_page_event_open()`.)r   ll_pdf_page_event_openr  s    r   r;(  r;(  J  r  r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_page_from_fz_page()`.)r   ll_pdf_page_from_fz_pager  s    r   r=(  r=(  J  r!  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_page_group()`.)r   ll_pdf_page_groupr  s    r   r?(  r?(  J  r#  r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::pdf_page_has_transparency()`.)r   ll_pdf_page_has_transparencyr  s    r   rA(  rA(  J  s    ..t44r#   c                 2    t        j                  | |||      S )z+Low-level wrapper for `::pdf_page_label()`.)r   ll_pdf_page_labelrO   r'
  rb  r   s       r   rC(  rC(  J  s    ##CsD99r#   c                 4    t        j                  | ||||      S )z/Low-level wrapper for `::pdf_page_label_imp()`.)r   ll_pdf_page_label_imprO   r$
  r'
  rb  r   s        r   rF(  rF(  J  s    ''WdCFFr#   c                 0    t        j                  | ||      S )z3Low-level wrapper for `::pdf_page_obj_transform()`.)r   ll_pdf_page_obj_transformr7'  outboxoutctms      r   rI(  rI(  J  s    ++GVVDDr#   c                 2    t        j                  | |||      S )z7Low-level wrapper for `::pdf_page_obj_transform_box()`.)r   ll_pdf_page_obj_transform_boxr7'  rK(  rl  r  s       r   rN(  rN(  J  s    //cJJr#   c                 0    t        j                  | ||      S )z
     Low-level wrapper for `::pdf_page_presentation()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_page_presentation(::pdf_page *page, ::fz_transition *transition)` => `(fz_transition *, float duration)`
    )r   ll_pdf_page_presentationr  s      r   rQ(  rQ(  J  s     **4XFFr#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_page_resources()`.)r   ll_pdf_page_resourcesr  s    r   rS(  rS(  K  rn  r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_page_separations()`.)r   ll_pdf_page_separationsr  s    r   rU(  rU(  K  r'  r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::pdf_page_transform()`.)r   ll_pdf_page_transformr'
  rq
  rW  s      r   rW(  rW(  	K  s    ''h<<r#   c                 2    t        j                  | |||      S )z3Low-level wrapper for `::pdf_page_transform_box()`.)r   ll_pdf_page_transform_boxr'
  rq
  rW  r  s       r   rZ(  rZ(  K  s    ++D(CEEr#   c                 2    t        j                  | |||      S )z
     Low-level wrapper for `::pdf_page_write()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_page_write(::pdf_document *doc, ::fz_rect mediabox, ::pdf_obj **presources, ::fz_buffer **pcontents)` => `(fz_device *)`
    )r   ll_pdf_page_writerO   rq
  
presources	pcontentss       r   r](  r](  K  s     ##C:yIIr#   c                 0    t        j                  | ||      S )z,Low-level wrapper for `::pdf_parse_array()`.)r   ll_pdf_parse_arrayrO   r  rb  s      r   rb(  rb(  K  s    $$S!S11r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_parse_date()`.)r   ll_pdf_parse_dater;  s    r   re(  re(  K  r6  r#   c                 4    t        j                  | ||||      S )z
     Low-level wrapper for `::pdf_parse_default_appearance()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_parse_default_appearance(const char *da, float color[4])` => `(const char *font, float size, int n)`
    )r   ll_pdf_parse_default_appearancedar  r   r[   r  s        r   rg(  rg(  "K  s     11"dD!UKKr#   c                 6    t        j                  | |||||      S )a  
     Low-level wrapper for `::pdf_parse_default_appearance_unmapped()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_parse_default_appearance_unmapped(const char *da, char *font_name, int font_name_len, float color[4])` => `(float size, int n)`
    )r   (ll_pdf_parse_default_appearance_unmappedri(  rU"  rV"  r   r[   r  s         r   rk(  rk(  +K  s"     ::2y-Y]_`bghhr#   c                 0    t        j                  | ||      S )z+Low-level wrapper for `::pdf_parse_dict()`.)r   ll_pdf_parse_dictrc(  s      r   rn(  rn(  4K      ##CC00r#   c                 6    t        j                  | |||||      S )z
     Low-level wrapper for `::pdf_parse_ind_obj()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_parse_ind_obj(::pdf_document *doc, ::fz_stream *f)` => `(pdf_obj *, int num, int gen, int64_t stm_ofs, int try_repair)`
    )r   ll_pdf_parse_ind_objrO   r  rw  rZ  rb  
try_repairs         r   rq(  rq(  8K  s     &&sAsC*MMr#   c                 4    t        j                  | ||||      S )a   
     Low-level wrapper for `::pdf_parse_journal_obj()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_parse_journal_obj(::pdf_document *doc, ::fz_stream *stm, ::fz_buffer **ostm)` => `(pdf_obj *, int onum, int newobj)`
    )r   ll_pdf_parse_journal_objrO   r  onumostmr!  s        r   ru(  ru(  AK  s     **3T4HHr#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_parse_stm_obj()`.)r   ll_pdf_parse_stm_objrc(  s      r   rz(  rz(  JK  s    &&sAs33r#   c                 .    t        j                  | |      S )z4Low-level wrapper for `::pdf_parse_write_options()`.)r   ll_pdf_parse_write_optionsr  s     r   r|(  r|(  NK  s    ,,T488r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_pin_document()`.)r   ll_pdf_pin_documentr#  s    r   r~(  r~(  RK  r  r#   c           
      :    t        j                  | |||||||      S )zBLow-level wrapper for `::pdf_preview_signature_as_display_list()`.)r   (ll_pdf_preview_signature_as_display_listr7  r:  r(  r  appearance_flagsgraphicreasonlocations           r   r(  r(  VK  s%    ::1avO_ahjprz{{r#   c           
      :    t        j                  | |||||||      S )z<Low-level wrapper for `::pdf_preview_signature_as_pixmap()`.)r   "ll_pdf_preview_signature_as_pixmapr(  s           r   r(  r(  ZK  s%    44Q4IY[bdjltuur#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::pdf_print_crypt()`.)r   ll_pdf_print_cryptrl  r\  s     r   r(  r(  ^K  r%  r#   c                 6    t        j                  | |||||      S )z9Low-level wrapper for `::pdf_print_default_appearance()`.)r   ll_pdf_print_default_appearancerb  nbufr  r   r[   r  s         r   r(  r(  bK  s    11#tT4ERRr#   c           
      :    t        j                  | |||||||      S )a  
     Low-level wrapper for `::pdf_print_encrypted_obj()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_print_encrypted_obj(::fz_output *out, ::pdf_obj *obj, int tight, int ascii, ::pdf_crypt *crypt, int num, int gen)` => int sep
    )r   ll_pdf_print_encrypted_objrl  rh  tightr  r\  rw  rZ  rL  s           r   r(  r(  fK  s%     ,,S#ueUCQTVYZZr#   c                 .    t        j                  | |      S )z+Low-level wrapper for `::pdf_print_font()`.)r   ll_pdf_print_fontrl  r  s     r   r(  r(  oK      ##C22r#   c                 2    t        j                  | |||      S )z*Low-level wrapper for `::pdf_print_obj()`.)r   ll_pdf_print_objrl  rh  r(  r  s       r   r(  r(  sK  s    ""3UE::r#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_process_annot()`.)r   ll_pdf_process_annotr#  r!  r  s      r   r(  r(  wK  s    &&tUF;;r#   c                 6    t        j                  | |||||      S )a  
     Low-level wrapper for `::pdf_process_contents()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_process_contents(::pdf_processor *proc, ::pdf_document *doc, ::pdf_obj *res, ::pdf_obj *stm, ::fz_cookie *cookie, ::pdf_obj **out_res)` =>
    )r   ll_pdf_process_contentsr#  rO   r#  r  r  out_ress         r   r(  r(  {K  s     ))$S#vwOOr#   c                 2    t        j                  | |||      S )z.Low-level wrapper for `::pdf_process_glyph()`.)r   ll_pdf_process_glyphr#  rO   r  r  s       r   r(  r(  K  s    &&tS)XFFr#   c                 4    t        j                  | ||||      S )z5Low-level wrapper for `::pdf_process_raw_contents()`.)r   ll_pdf_process_raw_contentsr#  rO   r  r'(  r  s        r   r(  r(  K  s    --dCffMMr#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_processor_pop_resources()`.)r   ll_pdf_processor_pop_resourcesr#  s    r   r(  r(  K      0066r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::pdf_processor_push_resources()`.)r   ll_pdf_processor_push_resourcesr#  r#  s     r   r(  r(  K  r|$  r#   c                 .    t        j                  | |      S )z4Low-level wrapper for `::pdf_progressive_advance()`.)r   ll_pdf_progressive_advancerO   r}  s     r   r(  r(  K  s    ,,S'::r#   c                 ,    t        j                  |       S )z;Low-level wrapper for `::pdf_purge_local_font_resources()`.)r   !ll_pdf_purge_local_font_resourcesrN   s    r   r(  r(  K  r
  r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_purge_locals_from_store()`.)r   ll_pdf_purge_locals_from_storerN   s    r   r(  r(  K  r!  r#   c                 .    t        j                  | |      S )z8Low-level wrapper for `::pdf_purge_object_from_store()`.)r   ll_pdf_purge_object_from_storer#  s     r   r(  r(  K  r'  r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_read_journal()`.)r   ll_pdf_read_journalr_$  s     r   r(  r(  K  r&  r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_read_ocg()`.)r   ll_pdf_read_ocgrN   s    r   r(  r(  K  r  r#   c                 2    t        j                  | |||      S )z0Low-level wrapper for `::pdf_rearrange_pages()`.)r   ll_pdf_rearrange_pagesrO   r  rY!  r  s       r   r(  r(  K  s    ((eUIFFr#   c                 0    t        j                  | ||      S )zcLow-level wrapper for `::pdf_rearrange_pages2()`.  Swig-friendly wrapper for pdf_rearrange_pages().)r   ll_pdf_rearrange_pages2rO   rY!  r  s      r   r(  r(  K  s    ))#ui@@r#   c                 0    t        j                  | ||      S )z-Low-level wrapper for `::pdf_recolor_page()`.)r   ll_pdf_recolor_pagerO   r}  r  s      r   r(  r(  K  s    %%c7D99r#   c                 0    t        j                  | ||      S )zM
    Low-level wrapper for `::pdf_recolor_shade()`.
    Recolor a shade.
    )r   ll_pdf_recolor_shader  reshadert  s      r   r(  r(  K  s    
 &&ugv>>r#   c                 0    t        j                  | ||      S )z,Low-level wrapper for `::pdf_redact_page()`.)r   ll_pdf_redact_pagerO   r'
  r  s      r   r(  r(  K  s    $$S$55r#   c                 ,    t        j                  |       S )z%Low-level wrapper for `::pdf_redo()`.)r   ll_pdf_redorN   s    r   r(  r(  K      c""r#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::pdf_remove_item()`.)r   ll_pdf_remove_itemr%  s     r   r(  r(  K  r  r#   c                 ,    t        j                  |       S )z6Low-level wrapper for `::pdf_remove_output_intents()`.)r   ll_pdf_remove_output_intentsrN   s    r   r(  r(  K  r!  r#   c	                 <    t        j                  | ||||||||	      S )a>  
     Low-level wrapper for `::pdf_repair_obj()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_repair_obj(::pdf_document *doc, ::pdf_lexbuf *buf, ::pdf_obj **encrypt, ::pdf_obj **id, ::pdf_obj **page, ::pdf_obj **root)` => `(int, int64_t stmofsp, int64_t stmlenp, int64_t tmpofs)`
    )r   ll_pdf_repair_obj	rO   rb  stmofspstmlenpencryptrM  r'
  tmpofsr*  s	            r   r(  r(  K  s'     ##CgwTSY[_``r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_repair_obj_stms()`.)r   ll_pdf_repair_obj_stmsrN   s    r   r(  r(  K  r&  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_repair_trailer()`.)r   ll_pdf_repair_trailerrN   s    r   r(  r(  K  r|  r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_repair_xref()`.)r   ll_pdf_repair_xrefrN   s    r   r(  r(  K  r  r#   c                 0    t        j                  | ||      S )z-Low-level wrapper for `::pdf_replace_xref()`.)r   ll_pdf_replace_xrefrO   entriesr[   s      r   r(  r(  K  s    %%c7A66r#   c                 0    t        j                  | ||      S )z+Low-level wrapper for `::pdf_reset_form()`.)r   ll_pdf_reset_formrO   fieldsexcludes      r   r(  r(  K  s    ##C99r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_reset_processor()`.)r   ll_pdf_reset_processorr#  s    r   r(  r(  K  r  r#   c                 ,    t        j                  |       S )a1  
    Low-level wrapper for `::pdf_resolve_indirect()`.
    Resolve an indirect object (or chain of objects).

    This can cause xref reorganisations (solidifications etc) due to
    repairs, so all held pdf_xref_entries should be considered
    invalid after this call (other than the returned one).
    )r   ll_pdf_resolve_indirectr&  s    r   r(  r(  K  s     ))#..r#   c                 ,    t        j                  |       S )z7Low-level wrapper for `::pdf_resolve_indirect_chain()`.)r   ll_pdf_resolve_indirect_chainr&  s    r   r(  r(  K  r $  r#   c                 2    t        j                  | |||      S )z
     Low-level wrapper for `::pdf_resolve_link()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_resolve_link(::pdf_document *doc, const char *uri)` => `(int, float xp, float yp)`
    )r   ll_pdf_resolve_linkr  s       r   r(  r(  K  s     %%c3B77r#   c                 .    t        j                  | |      S )z2Low-level wrapper for `::pdf_resolve_link_dest()`.)r   ll_pdf_resolve_link_destr  s     r   r(  r(  L  r$  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_rewrite_images()`.)r   ll_pdf_rewrite_imagesrO   r  s     r   r(  r(  L      ''T22r#   c                 2    t        j                  | |||      S )z*Low-level wrapper for `::pdf_run_annot()`.)r   ll_pdf_run_annotr!  rT  rW  r  s       r   r(  r(  L  s    ""5#sF;;r#   c                 0    t        j                  | ||      S )z7Low-level wrapper for `::pdf_run_document_structure()`.)r   ll_pdf_run_document_structurer  s      r   r(  r(  L  s    //S&AAr#   c           	      8    t        j                  | ||||||      S )z*Low-level wrapper for `::pdf_run_glyph()`.)r   ll_pdf_run_glyphrO   r  r  rT  rW  r  r  s          r   r(  r(  L  s    ""3	8S#vzZZr#   c                 2    t        j                  | |||      S )z)Low-level wrapper for `::pdf_run_page()`.)r   ll_pdf_run_pager'
  rT  rW  r  s       r   r(  r(  L  s    !!$S&99r#   c                 2    t        j                  | |||      S )z0Low-level wrapper for `::pdf_run_page_annots()`.)r   ll_pdf_run_page_annotsr(  s       r   r)  r)   L  s    ((sC@@r#   c                 4    t        j                  | ||||      S )z;Low-level wrapper for `::pdf_run_page_annots_with_usage()`.)r   !ll_pdf_run_page_annots_with_usager'
  rT  rW  r  r  s        r   r)  r)  $L  s    33D#sE6RRr#   c                 2    t        j                  | |||      S )z2Low-level wrapper for `::pdf_run_page_contents()`.)r   ll_pdf_run_page_contentsr(  s       r   r)  r)  (L  s    **4c6BBr#   c                 4    t        j                  | ||||      S )z=Low-level wrapper for `::pdf_run_page_contents_with_usage()`.)r   #ll_pdf_run_page_contents_with_usager)  s        r   r)  r)  ,L  s    55dCeVTTr#   c                 2    t        j                  | |||      S )z1Low-level wrapper for `::pdf_run_page_widgets()`.)r   ll_pdf_run_page_widgetsr(  s       r   r
)  r
)  0L  s    ))$S&AAr#   c                 4    t        j                  | ||||      S )z<Low-level wrapper for `::pdf_run_page_widgets_with_usage()`.)r   "ll_pdf_run_page_widgets_with_usager)  s        r   r)  r)  4L  s    44T3UFSSr#   c                 4    t        j                  | ||||      S )z4Low-level wrapper for `::pdf_run_page_with_usage()`.)r   ll_pdf_run_page_with_usager)  s        r   r)  r)  8L  s    ,,T3UFKKr#   c                 6    t        j                  | |||||      S )z
     Low-level wrapper for `::pdf_sample_shade_function()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_sample_shade_function(int n, int funcs, ::pdf_function **func, float t0, float t1)` => `(float samples)`
    )r   ll_pdf_sample_shade_functionrT  r[   funcsr3  t0t1s         r   r)  r)  <L  s     ..w5$BOOr#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_save_document()`.)r   ll_pdf_save_documentrO   r  r  s      r   r)  r)  EL  s    &&sHd;;r#   c                 .    t        j                  | |      S )z-Low-level wrapper for `::pdf_save_journal()`.)r   ll_pdf_save_journalr&  s     r   r)  r)  IL  r&  r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::pdf_save_snapshot()`.)r   ll_pdf_save_snapshotr&  s     r   r)  r)  ML      &&sH55r#   c                 .    t        j                  | |      S )z4Low-level wrapper for `::pdf_select_layer_config()`.)r   ll_pdf_select_layer_configrO   r&  s     r   r)  r)  QL      ,,S*==r#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::pdf_select_layer_config_ui()`.)r   ll_pdf_select_layer_config_uir[$  s     r   r")  r")  UL      //R88r#   c                 .    t        j                  | |      S )z2Low-level wrapper for `::pdf_serialise_journal()`.)r   ll_pdf_serialise_journalrO   rl  s     r   r%)  r%)  YL  r$  r#   c                 .    t        j                  | |      S )z1Low-level wrapper for `::pdf_set_annot_active()`.)r   ll_pdf_set_annot_activer!  actives     r   r()  r()  ]L      ))%88r#   c           	      8    t        j                  | ||||||      S )z5Low-level wrapper for `::pdf_set_annot_appearance()`.)r   ll_pdf_set_annot_appearancer!  
appearancer  rW  r  r#  r  s          r   r-)  r-)  aL  s!    --eZTSVX`aar#   c                 4    t        j                  | ||||      S )zGLow-level wrapper for `::pdf_set_annot_appearance_from_display_list()`.)r   -ll_pdf_set_annot_appearance_from_display_listr!  r/)  r  rW  r  s        r   r1)  r1)  eL  s    ??zSXZ]_cddr#   c                 .    t        j                  | |      S )z1Low-level wrapper for `::pdf_set_annot_author()`.)r   ll_pdf_set_annot_authorr!  authors     r   r4)  r4)  iL  r+)  r#   c                 .    t        j                  | |      S )z1Low-level wrapper for `::pdf_set_annot_border()`.)r   ll_pdf_set_annot_borderr!  r
  s     r   r8)  r8)  mL  r)#  r#   c                 .    t        j                  | |      S )z8Low-level wrapper for `::pdf_set_annot_border_effect()`.)r   ll_pdf_set_annot_border_effectr!  effects     r   r;)  r;)  qL      00??r#   c                 .    t        j                  | |      S )zBLow-level wrapper for `::pdf_set_annot_border_effect_intensity()`.)r   (ll_pdf_set_annot_border_effect_intensityr!  	intensitys     r   r@)  r@)  uL  s    ::5)LLr#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::pdf_set_annot_border_style()`.)r   ll_pdf_set_annot_border_styler!  r  s     r   rD)  rD)  yL      //u==r#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::pdf_set_annot_border_width()`.)r   ll_pdf_set_annot_border_widthr9)  s     r   rH)  rH)  }L  rF)  r#   c                 0    t        j                  | ||      S )z7Low-level wrapper for `::pdf_set_annot_callout_line()`.)r   ll_pdf_set_annot_callout_linerB"  s      r   rJ)  rJ)  L  s    //wBBr#   c                 .    t        j                  | |      S )zqLow-level wrapper for `::pdf_set_annot_callout_line2()`.  SWIG-friendly wrapper for pdf_set_annot_callout_line().)r   ll_pdf_set_annot_callout_line2r!  rC"  s     r   rL)  rL)  L  s    00@@r#   c                 .    t        j                  | |      S )z8Low-level wrapper for `::pdf_set_annot_callout_point()`.)r   ll_pdf_set_annot_callout_pointr!  s     r   rO)  rO)  L      00::r#   c                 .    t        j                  | |      S )z8Low-level wrapper for `::pdf_set_annot_callout_style()`.)r   ll_pdf_set_annot_callout_stylerE)  s     r   rR)  rR)  L  s    00>>r#   c                 0    t        j                  | ||      S )z0Low-level wrapper for `::pdf_set_annot_color()`.)r   ll_pdf_set_annot_colorr"  s      r   rT)  rT)  L  s    ((599r#   c                 .    t        j                  | |      S )z3Low-level wrapper for `::pdf_set_annot_contents()`.)r   ll_pdf_set_annot_contentsr!  r
  s     r   rV)  rV)  L      ++E488r#   c                 .    t        j                  | |      S )z8Low-level wrapper for `::pdf_set_annot_creation_date()`.)r   ll_pdf_set_annot_creation_dater!  rc  s     r   rZ)  rZ)  L  s    00==r#   c                 4    t        j                  | ||||      S )z=Low-level wrapper for `::pdf_set_annot_default_appearance()`.)r   #ll_pdf_set_annot_default_appearancerQ"  s        r   r])  r])  L  s    55eT4ERRr#   c                 2    t        j                  | |||      S )z6Low-level wrapper for `::pdf_set_annot_field_value()`.)r   ll_pdf_set_annot_field_valuerO   ry"  r
  ignore_trigger_eventss       r   r_)  r_)  L  s    ..sFDBWXXr#   c                 .    t        j                  | |      S )z3Low-level wrapper for `::pdf_set_annot_filespec()`.)r   ll_pdf_set_annot_filespecr!  rh  s     r   rc)  rc)  L  s    ++E377r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_set_annot_flags()`.)r   ll_pdf_set_annot_flagsr!  r"  s     r   rf)  rf)  L  s    ((66r#   c                 .    t        j                  | |      S )z=Low-level wrapper for `::pdf_set_annot_hidden_for_editing()`.)r   #ll_pdf_set_annot_hidden_for_editingr!  r  s     r   ri)  ri)  L  s    55eVDDr#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::pdf_set_annot_hot()`.)r   ll_pdf_set_annot_hotr!  hots     r   rl)  rl)  L  rO'  r#   c                 .    t        j                  | |      S )z4Low-level wrapper for `::pdf_set_annot_icon_name()`.)r   ll_pdf_set_annot_icon_namer!  r   s     r   rp)  rp)  L      ,,UD99r#   c                 2    t        j                  | |||      S )z3Low-level wrapper for `::pdf_set_annot_ink_list()`.)r   ll_pdf_set_annot_ink_listr!  r[   r  rK   s       r   rt)  rt)  L  s    ++E1eQ??r#   c                 .    t        j                  | |      S )z1Low-level wrapper for `::pdf_set_annot_intent()`.)r   ll_pdf_set_annot_intentr!  its     r   rw)  rw)  L  s    ))%44r#   c                 0    t        j                  | ||      S )z9Low-level wrapper for `::pdf_set_annot_interior_color()`.)r   ll_pdf_set_annot_interior_colorr"  s      r   r{)  r{)  L  s    11%EBBr#   c                 .    t        j                  | |      S )z2Low-level wrapper for `::pdf_set_annot_is_open()`.)r   ll_pdf_set_annot_is_openr!  rR  s     r   r})  r})  L      **5'::r#   c                 .    t        j                  | |      S )z3Low-level wrapper for `::pdf_set_annot_language()`.)r   ll_pdf_set_annot_languager!  r(  s     r   r)  r)  L  rX)  r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::pdf_set_annot_line()`.)r   ll_pdf_set_annot_liner"  s      r   r)  r)  L  ra#  r#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::pdf_set_annot_line_caption()`.)r   ll_pdf_set_annot_line_captionr!  r  s     r   r)  r)  L  s    //s;;r#   c                 .    t        j                  | |      S )z>Low-level wrapper for `::pdf_set_annot_line_caption_offset()`.)r   $ll_pdf_set_annot_line_caption_offsetr!  rb  s     r   r)  r)  L  s    66ufEEr#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::pdf_set_annot_line_end_style()`.)r   ll_pdf_set_annot_line_end_styler!  r  s     r   r)  r)  L      11%;;r#   c                 0    t        j                  | ||      S )z=Low-level wrapper for `::pdf_set_annot_line_ending_styles()`.)r   #ll_pdf_set_annot_line_ending_stylesr"  s      r   r)  r)  L  s    55e[)TTr#   c                 .    t        j                  | |      S )z6Low-level wrapper for `::pdf_set_annot_line_leader()`.)r   ll_pdf_set_annot_line_leaderr!  r  s     r   r)  r)  L  s    ..ub99r#   c                 .    t        j                  | |      S )z@Low-level wrapper for `::pdf_set_annot_line_leader_extension()`.)r   &ll_pdf_set_annot_line_leader_extensionr!  lles     r   r)  r)  L  s    88DDr#   c                 .    t        j                  | |      S )z=Low-level wrapper for `::pdf_set_annot_line_leader_offset()`.)r   #ll_pdf_set_annot_line_leader_offsetr!  llos     r   r)  r)  L      55eSAAr#   c                 .    t        j                  | |      S )z;Low-level wrapper for `::pdf_set_annot_line_start_style()`.)r   !ll_pdf_set_annot_line_start_styler!  r<  s     r   r)  r)  L  s    33E1==r#   c                 .    t        j                  | |      S )z<Low-level wrapper for `::pdf_set_annot_modification_date()`.)r   "ll_pdf_set_annot_modification_dater[)  s     r   r)  r)  L  s    44UDAAr#   c                 .    t        j                  | |      S )z2Low-level wrapper for `::pdf_set_annot_opacity()`.)r   ll_pdf_set_annot_opacityr!  opacitys     r   r)  r)  L  r)  r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_set_annot_popup()`.)r   ll_pdf_set_annot_popupr!  r  s     r   r)  r)  L  r#  r#   c                 0    t        j                  | ||      S )z6Low-level wrapper for `::pdf_set_annot_quad_points()`.)r   ll_pdf_set_annot_quad_pointsr!  r[   qvs      r   r)  r)  L  s    ..ua<<r#   c                 .    t        j                  | |      S )z3Low-level wrapper for `::pdf_set_annot_quadding()`.)r   ll_pdf_set_annot_quaddingr!  r&  s     r   r)  r)  M  s    ++E155r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_set_annot_rect()`.)r   ll_pdf_set_annot_rectr)  s     r   r)  r)  M  s    ''t44r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_set_annot_resynthesised()`.)r   ll_pdf_set_annot_resynthesisedr!  s    r   r)  r)  	M  r  r#   c                 .    t        j                  | |      S )z6Low-level wrapper for `::pdf_set_annot_stamp_image()`.)r   ll_pdf_set_annot_stamp_imager!  r  s     r   r)  r)  M  r6#  r#   c                 0    t        j                  | ||      S )z1Low-level wrapper for `::pdf_set_annot_vertex()`.)r   ll_pdf_set_annot_vertexr!  r   r  s      r   r)  r)  M  s    ))%A66r#   c                 0    t        j                  | ||      S )z3Low-level wrapper for `::pdf_set_annot_vertices()`.)r   ll_pdf_set_annot_verticesr!  r[   rK   s      r   r)  r)  M      ++E1a88r#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::pdf_set_choice_field_value()`.)r   ll_pdf_set_choice_field_valuery"  r    s     r   r)  r)  M  s    //>>r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_set_cmap_wmode()`.)r   ll_pdf_set_cmap_wmoder!  r'	  s     r   r)  r)  M      ''e44r#   c                 .    t        j                  | |      S )z1Low-level wrapper for `::pdf_set_default_hmtx()`.)r   ll_pdf_set_default_hmtxr  r7  s     r   r)  r)  !M  s    ))$22r#   c                 0    t        j                  | ||      S )z1Low-level wrapper for `::pdf_set_default_vmtx()`.)r   ll_pdf_set_default_vmtxr  r  r7  s      r   r)  r)  %M  s    ))$155r#   c                 2    t        j                  | |||      S )z7Low-level wrapper for `::pdf_set_doc_event_callback()`.)r   ll_pdf_set_doc_event_callbackrO   r  r  r?   s       r   r)  r)  )M  s    //X?QSWXXr#   c                 .    t        j                  | |      S )z6Low-level wrapper for `::pdf_set_document_language()`.)r   ll_pdf_set_document_languagerO   r(  s     r   r)  r)  -M      ..sD99r#   c                 2    t        j                  | |||      S )z0Low-level wrapper for `::pdf_set_field_value()`.)r   ll_pdf_set_field_valuerO   r  r
  ra)  s       r   r)  r)  1M  s    ((eT;PQQr#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_set_font_wmode()`.)r   ll_pdf_set_font_wmoder  r'	  s     r   r)  r)  5M  r)  r#   c                 .    t        j                  | |      S )z(Low-level wrapper for `::pdf_set_int()`.)r   ll_pdf_set_intrh  r   s     r   r)  r)  9M        a((r#   c                 ,    t        j                  |       S )z<Low-level wrapper for `::pdf_set_layer_config_as_default()`.)r   "ll_pdf_set_layer_config_as_defaultrN   s    r   r)  r)  =M  r  r#   c                 0    t        j                  | ||      S )z-Low-level wrapper for `::pdf_set_obj_memo()`.)r   ll_pdf_set_obj_memor(  s      r   r)  r)  AM  s    %%c355r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_set_obj_parent()`.)r   ll_pdf_set_obj_parentrh  rw  s     r   r)  r)  EM      ''S11r#   c                 0    t        j                  | ||      S )z-Low-level wrapper for `::pdf_set_page_box()`.)r   ll_pdf_set_page_boxr'
  r  r  s      r   r)  r)  IM  s    %%dC66r#   c                 4    t        j                  | ||||      S )z0Low-level wrapper for `::pdf_set_page_labels()`.)r   ll_pdf_set_page_labelsrO   r   r  r$  rw  s        r   r)  r)  MM  s    ((eUFEJJr#   c                 .    t        j                  | |      S )z<Low-level wrapper for `::pdf_set_populating_xref_trailer()`.)r   "ll_pdf_set_populating_xref_trailerrO   ri  s     r   r)  r)  QM  s    44S'BBr#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::pdf_set_str_len()`.)r   ll_pdf_set_str_lenrh  newlens     r   r)  r)  UM  rQ$  r#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::pdf_set_text_field_value()`.)r   ll_pdf_set_text_field_valuer)  s     r   r)  r)  YM  s    --fe<<r#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::pdf_set_usecmap()`.)r   ll_pdf_set_usecmapr!  r  s     r   r)  r)  ]M  s    $$T733r#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::pdf_set_widget_editing_state()`.)r   ll_pdf_set_widget_editing_statery"  editings     r   r)  r)  aM  s    11&'BBr#   c                 6    t        j                  | |||||      S )z/Low-level wrapper for `::pdf_sign_signature()`.)r   ll_pdf_sign_signaturery"  r  r(  r(  r(  r(  s         r   r)  r)  eM  s     ''8H'SY[cddr#   c                 2    t        j                  | |||      S )z?Low-level wrapper for `::pdf_sign_signature_with_appearance()`.)r   %ll_pdf_sign_signature_with_appearancery"  r  date	disp_lists       r   r)  r)  iM  s    77iXXr#   c                 6    t        j                  | |||||      S )z<Low-level wrapper for `::pdf_signature_appearance_signed()`.)r   "ll_pdf_signature_appearance_signedr  r(  img	left_text
right_textinclude_logos         r   r*  r*  mM  s    44T4iQ[]ijjr#   c                 .    t        j                  | |      S )z>Low-level wrapper for `::pdf_signature_appearance_unsigned()`.)r   $ll_pdf_signature_appearance_unsignedr  r(  s     r   r
*  r
*  qM      66tTBBr#   c                 0    t        j                  | ||      S )z5Low-level wrapper for `::pdf_signature_byte_range()`.)r   ll_pdf_signature_byte_rangerO   r#  
byte_ranges      r   r*  r*  uM  s    --c9jIIr#   c                 0    t        j                  | ||      S )z
     Low-level wrapper for `::pdf_signature_contents()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_signature_contents(::pdf_document *doc, ::pdf_obj *signature)` => `(size_t, char *contents)`
    )r   ll_pdf_signature_contentsrO   r#  r  s      r   r*  r*  yM  s     ++CHEEr#   c                 ,    t        j                  |       S )zBLow-level wrapper for `::pdf_signature_drop_distinguished_name()`.)r   (ll_pdf_signature_drop_distinguished_namer  s    r   r*  r*  M  s    ::4@@r#   c                 ,    t        j                  |       S )z<Low-level wrapper for `::pdf_signature_error_description()`.)r   "ll_pdf_signature_error_descriptionerrs    r   r*  r*  M  r  r#   c                 ,    t        j                  |       S )zDLow-level wrapper for `::pdf_signature_format_distinguished_name()`.)r   *ll_pdf_signature_format_distinguished_namer  s    r   r*  r*  M  s    <<TBBr#   c                 0    t        j                  | ||      S )z8Low-level wrapper for `::pdf_signature_get_signatory()`.)r   ll_pdf_signature_get_signatoryr#  s      r   r*  r*  M  s    003	JJr#   c                 .    t        j                  | |      S )z?Low-level wrapper for `::pdf_signature_get_widget_signatory()`.)r   %ll_pdf_signature_get_widget_signatoryr#  s     r   r*  r*  M  s    77&IIr#   c                 .    t        j                  | |      S )z5Low-level wrapper for `::pdf_signature_hash_bytes()`.)r   ll_pdf_signature_hash_bytesrO   r#  s     r   r!*  r!*  M  s    --c9==r#   c                 .    t        j                  | |      S )zKLow-level wrapper for `::pdf_signature_incremental_change_since_signing()`.)r   1ll_pdf_signature_incremental_change_since_signingr"*  s     r   r$*  r$*  M  s    CCCSSr#   c                 6    t        j                  | |||||      S )z/Low-level wrapper for `::pdf_signature_info()`.)r   ll_pdf_signature_infor   dnr(  r(  r *  include_labelss         r   r&*  r&*  M  s    ''b&(D.YYr#   c                 .    t        j                  | |      S )z4Low-level wrapper for `::pdf_signature_is_signed()`.)r   ll_pdf_signature_is_signedr%  s     r   r+*  r+*  M  s    ,,S%88r#   c                 2    t        j                  | |||      S )z4Low-level wrapper for `::pdf_signature_set_value()`.)r   ll_pdf_signature_set_valuerO   r  r  stimes       r   r-*  r-*  M  s    ,,S%GGr#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_sort_cmap()`.)r   ll_pdf_sort_cmapr#  s    r   r1*  r1*  M  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_sort_dict()`.)r   ll_pdf_sort_dictr#  s    r   r3*  r3*  M  r  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_specifics()`.)r   ll_pdf_specificsrN   s    r   r5*  r5*  M  r  r#   c                 6    t        j                  | |||||      S )z
     Low-level wrapper for `::pdf_sprint_obj()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_sprint_obj(char *buf, size_t cap, ::pdf_obj *obj, int tight, int ascii)` => `(char *, size_t len)`
    )r   ll_pdf_sprint_objrb  r  r  rh  r(  r  s         r   r7*  r7*  M  s     ##Cc3uEEr#   c                 0    t        j                  | ||      S )z+Low-level wrapper for `::pdf_store_item()`.)r   ll_pdf_store_itemrk  r  r  s      r   r:*  r:*  M  s    ##Ch77r#   c                 ,    t        j                  |       S )z7Low-level wrapper for `::pdf_string_from_annot_type()`.)r   ll_pdf_string_from_annot_typer  s    r   r=*  r=*  M  r   r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_string_from_intent()`.)r   ll_pdf_string_from_intentrg'  s    r   r?*  r?*  M  r:%  r#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_string_from_line_ending()`.)r   ll_pdf_string_from_line_endingr&  s    r   rA*  rA*  M  r!  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_structure_type()`.)r   ll_pdf_structure_typerole_mapr  s     r   rC*  rC*  M  s    ''#66r#   c                 0    t        j                  | ||      S )z-Low-level wrapper for `::pdf_subset_fonts()`.)r   ll_pdf_subset_fontsrO   	pages_lenrY!  s      r   rG*  rG*  M  s    %%c9e<<r#   c                 .    t        j                  | |      S )z]Low-level wrapper for `::pdf_subset_fonts2()`.  Swig-friendly wrapper for pdf_subset_fonts().)r   ll_pdf_subset_fonts2rO   rY!  s     r   rK*  rK*  M      &&sE22r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_sync_annots()`.)r   ll_pdf_sync_annotsr  s    r   rO*  rO*  M  r%  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_sync_links()`.)r   ll_pdf_sync_linksr  s    r   rQ*  rQ*  M  r#  r#   c                 ,    t        j                  |       S )z0Low-level wrapper for `::pdf_sync_open_pages()`.)r   ll_pdf_sync_open_pagesrN   s    r   rS*  rS*  M  r&  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_sync_page()`.)r   ll_pdf_sync_pager  s    r   rU*  rU*  M  r  r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_text_widget_format()`.)r   ll_pdf_text_widget_formatr#  s    r   rW*  rW*  M  rO&  r#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::pdf_text_widget_max_len()`.)r   ll_pdf_text_widget_max_lenr#  s    r   rY*  rY*  M  r  r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::pdf_to_bool()`.)r   ll_pdf_to_boolr#  s    r   r[*  r[*  M  r  r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_to_bool_default()`.)r   ll_pdf_to_bool_defaultrh  ro$  s     r   r]*  r]*  M      ((d33r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::pdf_to_date()`.)r   ll_pdf_to_daterc  s    r   ra*  ra*  M        &&r#   c                 ,    t        j                  |       S )z'Low-level wrapper for `::pdf_to_gen()`.)r   ll_pdf_to_genr#  s    r   re*  re*  M  r9&  r#   c                 ,    t        j                  |       S )z'Low-level wrapper for `::pdf_to_int()`.)r   ll_pdf_to_intr#  s    r   rg*  rg*  N  r9&  r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_to_int64()`.)r   ll_pdf_to_int64r#  s    r   ri*  ri*  N  r  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_to_int_default()`.)r   ll_pdf_to_int_defaultr^*  s     r   rk*  rk*  N  r(  r#   c                 ,    t        j                  |       S )z*Low-level wrapper for `::pdf_to_matrix()`.)r   ll_pdf_to_matrixr>#  s    r   rm*  rm*  N  r  r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::pdf_to_name()`.)r   ll_pdf_to_namer#  s    r   ro*  ro*  N  r  r#   c                 ,    t        j                  |       S )z'Low-level wrapper for `::pdf_to_num()`.)r   ll_pdf_to_numr#  s    r   rq*  rq*  N  r9&  r#   c                 .    t        j                  | |      S )z)Low-level wrapper for `::pdf_to_point()`.)r   ll_pdf_to_pointr#  rb  s     r   rs*  rs*  N  s    !!%00r#   c                 .    t        j                  | |      S )z(Low-level wrapper for `::pdf_to_quad()`.)r   ll_pdf_to_quadrt*  s     r   rv*  rv*  N  s      //r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::pdf_to_real()`.)r   ll_pdf_to_realr#  s    r   rx*  rx*  #N  r  r#   c                 .    t        j                  | |      S )z0Low-level wrapper for `::pdf_to_real_default()`.)r   ll_pdf_to_real_defaultr^*  s     r   rz*  rz*  'N  r_*  r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::pdf_to_rect()`.)r   ll_pdf_to_rectr>#  s    r   r|*  r|*  +N        ''r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_to_str_buf()`.)r   ll_pdf_to_str_bufr#  s    r   r*  r*  /N  r  r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_to_str_len()`.)r   ll_pdf_to_str_lenr#  s    r   r*  r*  3N  r  r#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::pdf_to_string()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_to_string(::pdf_obj *obj)` => `(const char *, size_t sizep)`
    )r   ll_pdf_to_stringrh  r3#  s     r   r*  r*  7N  s     ""3..r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_to_text_string()`.)r   ll_pdf_to_text_stringr#  s    r   r*  r*  @N  r|  r#   c                 .    t        j                  | |      S )z7Low-level wrapper for `::pdf_toggle_layer_config_ui()`.)r   ll_pdf_toggle_layer_config_uir[$  s     r   r*  r*  DN  r#)  r#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_toggle_widget()`.)r   ll_pdf_toggle_widgetrx"  s    r   r*  r*  HN      &&v..r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_tos_get_text()`.)r   ll_pdf_tos_get_texttoss    r   r*  r*  LN  r  r#   c                 6    t        j                  | |||||      S )a  
     Low-level wrapper for `::pdf_tos_make_trm()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_tos_make_trm(::pdf_text_object_state *tos, ::pdf_text_state *text, ::pdf_font_desc *fontdesc, int cid, ::fz_matrix *trm)` => `(int, float adv)`
    )r   ll_pdf_tos_make_trmr*  r
  r  r	  r$	  r	  s         r   r*  r*  PN  s     %%c43SIIr#   c                 ,    t        j                  |       S )z4Low-level wrapper for `::pdf_tos_move_after_char()`.)r   ll_pdf_tos_move_after_charr*  s    r   r*  r*  YN  r   r#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::pdf_tos_newline()`.)r   ll_pdf_tos_newliner*  rl  s     r   r*  r*  ]N  s    $$S'22r#   c                 .    t        j                  | |      S )z*Low-level wrapper for `::pdf_tos_reset()`.)r   ll_pdf_tos_resetr*  rv  s     r   r*  r*  aN  r&  r#   c                 .    t        j                  | |      S )z,Low-level wrapper for `::pdf_tos_restore()`.)r   ll_pdf_tos_restorer*  rK  s     r   r*  r*  eN  r!  r#   c                 .    t        j                  | |      S )z)Low-level wrapper for `::pdf_tos_save()`.)r   ll_pdf_tos_saver*  s     r   r*  r*  iN  r'  r#   c           	      8    t        j                  | ||||||      S )z/Low-level wrapper for `::pdf_tos_set_matrix()`.)r   ll_pdf_tos_set_matrixr*  r  r  r  r  r  r  s          r   r*  r*  mN  s    ''Q1aA>>r#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_tos_translate()`.)r   ll_pdf_tos_translater*  r  r   s      r   r*  r*  qN  s    &&sB33r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::pdf_trailer()`.)r   ll_pdf_trailerrN   s    r   r*  r*  uN  r  r#   c                 ,    t        j                  |       S )z%Low-level wrapper for `::pdf_undo()`.)r   ll_pdf_undorN   s    r   r*  r*  yN  r(  r#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::pdf_undoredo_state()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_undoredo_state(::pdf_document *doc)` => `(int, int steps)`
    )r   ll_pdf_undoredo_staterO   stepss     r   r*  r*  }N  s     ''U33r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::pdf_undoredo_step()`.)r   ll_pdf_undoredo_steprO   steps     r   r*  r*  N  s    &&sD11r#   c                 ,    t        j                  |       S )z+Low-level wrapper for `::pdf_unmark_obj()`.)r   ll_pdf_unmark_objr#  s    r   r*  r*  N  r  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_update_annot()`.)r   ll_pdf_update_annotr!  s    r   r*  r*  N  r'"  r#   c                 .    t        j                  | |      S )z;Low-level wrapper for `::pdf_update_default_colorspaces()`.)r   !ll_pdf_update_default_colorspacesold_csr#  s     r   r*  r*  N  s    33FC@@r#   c                 0    t        j                  | ||      S )z.Low-level wrapper for `::pdf_update_object()`.)r   ll_pdf_update_objectrO   rw  rh  s      r   r*  r*  N  r&  r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_update_page()`.)r   ll_pdf_update_pager  s    r   r*  r*  N  r%  r#   c                 2    t        j                  | |||      S )z.Low-level wrapper for `::pdf_update_stream()`.)r   ll_pdf_update_streamrO   r&  rb  r"  s       r   r*  r*  N  s    &&sCjAAr#   c                 ,    t        j                  |       S )z.Low-level wrapper for `::pdf_update_widget()`.)r   ll_pdf_update_widgetrx"  s    r   r*  r*  N  r*  r#   c                 6    t        j                  | |||||      S )z/Low-level wrapper for `::pdf_update_xobject()`.)r   ll_pdf_update_xobjectrO   xobjr  matr#  r*  s         r   r*  r*  N  s    ''T4c6JJr#   c                 ,    t        j                  |       S )z8Low-level wrapper for `::pdf_validate_change_history()`.)r   ll_pdf_validate_change_historyrN   s    r   r*  r*  N  r!  r#   c                 .    t        j                  | |      S )z1Low-level wrapper for `::pdf_validate_changes()`.)r   ll_pdf_validate_changesr%  s     r   r*  r*  N      ))#w77r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_validate_signature()`.)r   ll_pdf_validate_signaturerx"  s    r   r*  r*  N  r:%  r#   c                 ,    t        j                  |       S )z>Low-level wrapper for `::pdf_verify_embedded_file_checksum()`.)r   $ll_pdf_verify_embedded_file_checksumr.&  s    r   r*  r*  N  s    66r::r#   c                 ,    t        j                  |       S )z(Low-level wrapper for `::pdf_version()`.)r   ll_pdf_versionrN   s    r   r*  r*  N  r  r#   c           	      8    t        j                  | ||||||      S )ae  
     Low-level wrapper for `::pdf_walk_tree()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_walk_tree(::pdf_obj *tree, ::pdf_obj *kid_name, void (*arrive)(::fz_context *, ::pdf_obj *, void *, ::pdf_obj **), void (*leave)(::fz_context *, ::pdf_obj *, void *), void *arg, ::pdf_obj **names, ::pdf_obj **values)` => `()`
    )r   ll_pdf_walk_treer  kid_namearriveleaver  namesrw  s          r   r*  r*  N  s!     ""465#ufUUr#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_was_pure_xfa()`.)r   ll_pdf_was_pure_xfarN   s    r   r*  r*  N  r  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_was_repaired()`.)r   ll_pdf_was_repairedrN   s    r   r*  r*  N  r  r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_widget_is_readonly()`.)r   ll_pdf_widget_is_readonlyrx"  s    r   r*  r*  N  r:%  r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_widget_is_signed()`.)r   ll_pdf_widget_is_signedrx"  s    r   r*  r*  N  ri'  r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_widget_type()`.)r   ll_pdf_widget_typerx"  s    r   r*  r*  N  rS%  r#   c                 6    t        j                  | |||||      S )z-Low-level wrapper for `::pdf_write_digest()`.)r   ll_pdf_write_digestrl  r*  r  digest_offsetdigest_lengthr  s         r   r*  r*  N  s    %%c:um]\bccr#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::pdf_write_document()`.)r   ll_pdf_write_documentrO   rl  r  s      r   r*  r*  N  s    ''S$77r#   c                 .    t        j                  | |      S )z.Low-level wrapper for `::pdf_write_journal()`.)r   ll_pdf_write_journalr&)  s     r   r*  r*  N  rN$  r#   c                 .    t        j                  | |      S )z/Low-level wrapper for `::pdf_write_snapshot()`.)r   ll_pdf_write_snapshotr&)  s     r   r*  r*  N  r)  r#   c                 ,    t        j                  |       S )z-Low-level wrapper for `::pdf_xobject_bbox()`.)r   ll_pdf_xobject_bboxr*  s    r   r*  r*  N  r4  r#   c                 ,    t        j                  |       S )z3Low-level wrapper for `::pdf_xobject_colorspace()`.)r   ll_pdf_xobject_colorspacer*  s    r   r*  r*  N  rk  r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_xobject_isolated()`.)r   ll_pdf_xobject_isolatedr*  s    r   r*  r*  N  r'  r#   c                 ,    t        j                  |       S )z1Low-level wrapper for `::pdf_xobject_knockout()`.)r   ll_pdf_xobject_knockoutr*  s    r   r*  r*  N  r'  r#   c                 ,    t        j                  |       S )z/Low-level wrapper for `::pdf_xobject_matrix()`.)r   ll_pdf_xobject_matrixr*  s    r   r*  r*  N  rn  r#   c                 ,    t        j                  |       S )z2Low-level wrapper for `::pdf_xobject_resources()`.)r   ll_pdf_xobject_resourcesr*  s    r   r*  r*  N  r&  r#   c                 ,    t        j                  |       S )z5Low-level wrapper for `::pdf_xobject_transparency()`.)r   ll_pdf_xobject_transparencyr*  s    r   r*  r*  O  r]  r#   c                 .    t        j                  | |      S )z?Low-level wrapper for `::pdf_xref_ensure_incremental_object()`.)r   %ll_pdf_xref_ensure_incremental_objectr#  s     r   r+  r+  O  s    77SAAr#   c                 .    t        j                  | |      S )z9Low-level wrapper for `::pdf_xref_ensure_local_object()`.)r   ll_pdf_xref_ensure_local_objectr#  s     r   r+  r+  O  r  r#   c                 0    t        j                  | ||      S )z/Low-level wrapper for `::pdf_xref_entry_map()`.)r   ll_pdf_xref_entry_maprO   r  r  s      r   r+  r+  O  s    ''R55r#   c                 .    t        j                  | |      S )z4Low-level wrapper for `::pdf_xref_is_incremental()`.)r   ll_pdf_xref_is_incrementalr#  s     r   r+  r+  O  r`$  r#   c                 ,    t        j                  |       S )z)Low-level wrapper for `::pdf_xref_len()`.)r   ll_pdf_xref_lenrN   s    r   r
+  r
+  O  r  r#   c                 .    t        j                  | |      S )z>Low-level wrapper for `::pdf_xref_obj_is_unsaved_signature()`.)r   $ll_pdf_xref_obj_is_unsaved_signaturer"  s     r   r+  r+  O  s    66sC@@r#   c                 .    t        j                  | |      S )z>Low-level wrapper for `::pdf_xref_remove_unsaved_signature()`.)r   $ll_pdf_xref_remove_unsaved_signaturer%  s     r   r+  r+  O  s    66sEBBr#   c                 0    t        j                  | ||      S )z=Low-level wrapper for `::pdf_xref_store_unsaved_signature()`.)r   #ll_pdf_xref_store_unsaved_signaturerO   r  r  s      r   r+  r+  #O  s    55c5&IIr#   c                 .    t        j                  | |      S )z
     Low-level wrapper for `::pdf_zugferd_profile()`.

    This function has out-params. Python/C# wrappers look like:
    	`ll_pdf_zugferd_profile(::pdf_document *doc)` => `(enum pdf_zugferd_profile, float version)`
    )r   ll_pdf_zugferd_profiler%  s     r   r+  r+  'O  s     ((g66r#   c                 ,    t        j                  |       S )z:Low-level wrapper for `::pdf_zugferd_profile_to_string()`.)r    ll_pdf_zugferd_profile_to_stringprofiles    r   r+  r+  0O  r  r#   c                 ,    t        j                  |       S )z,Low-level wrapper for `::pdf_zugferd_xml()`.)r   ll_pdf_zugferd_xmlrN   s    r   r+  r+  4O  r  r#   c                 ,    t        j                  |       S )zaReturns string containing a fz_aa_context's members, labelled and inside (...), using operator<<.)r   to_string_fz_aa_contextr;  s    r   r+  r+  8O      ))!,,r#   c                 ,    t        j                  |       S )zcReturns string containing a fz_color_params's members, labelled and inside (...), using operator<<.)r   to_string_fz_color_paramsr;  s    r   r+  r+  <O      ++A..r#   c                 ,    t        j                  |       S )z]Returns string containing a fz_cookie's members, labelled and inside (...), using operator<<.)r   to_string_fz_cookier;  s    r   r!+  r!+  @O      %%a((r#   c                 ,    t        j                  |       S )zcReturns string containing a fz_draw_options's members, labelled and inside (...), using operator<<.)r   to_string_fz_draw_optionsr;  s    r   r$+  r$+  DO  r+  r#   c                 ,    t        j                  |       S )zzReturns string containing a fz_install_load_system_font_funcs_args's members, labelled and inside (...), using operator<<.)r   0to_string_fz_install_load_system_font_funcs_argsr;  s    r   r&+  r&+  HO  s    BB1EEr#   c                 ,    t        j                  |       S )z\Returns string containing a fz_irect's members, labelled and inside (...), using operator<<.)r   to_string_fz_irectr;  s    r   r(+  r(+  LO      $$Q''r#   c                 ,    t        j                  |       S )z_Returns string containing a fz_location's members, labelled and inside (...), using operator<<.)r   to_string_fz_locationr;  s    r   r++  r++  PO      ''**r#   c                 ,    t        j                  |       S )z]Returns string containing a fz_matrix's members, labelled and inside (...), using operator<<.)r   to_string_fz_matrixr;  s    r   r.+  r.+  TO  r"+  r#   c                 ,    t        j                  |       S )zZReturns string containing a fz_md5's members, labelled and inside (...), using operator<<.)r   to_string_fz_md5r;  s    r   r0+  r0+  XO  s    ""1%%r#   c                 ,    t        j                  |       S )zcReturns string containing a fz_outline_item's members, labelled and inside (...), using operator<<.)r   to_string_fz_outline_itemr;  s    r   r2+  r2+  \O  r+  r#   c                 ,    t        j                  |       S )zeReturns string containing a fz_pdfocr_options's members, labelled and inside (...), using operator<<.)r   to_string_fz_pdfocr_optionsr;  s    r   r4+  r4+  `O      --a00r#   c                 ,    t        j                  |       S )z\Returns string containing a fz_point's members, labelled and inside (...), using operator<<.)r   to_string_fz_pointr;  s    r   r7+  r7+  dO  r)+  r#   c                 ,    t        j                  |       S )zbReturns string containing a fz_pwg_options's members, labelled and inside (...), using operator<<.)r   to_string_fz_pwg_optionsr;  s    r   r9+  r9+  hO  r  r#   c                 ,    t        j                  |       S )z[Returns string containing a fz_quad's members, labelled and inside (...), using operator<<.)r   to_string_fz_quadr;  s    r   r;+  r;+  lO  r6  r#   c                 ,    t        j                  |       S )z[Returns string containing a fz_rect's members, labelled and inside (...), using operator<<.)r   to_string_fz_rectr;  s    r   r=+  r=+  pO  r6  r#   c                 ,    t        j                  |       S )zdReturns string containing a fz_stext_options's members, labelled and inside (...), using operator<<.)r   to_string_fz_stext_optionsr;  s    r   r?+  r?+  tO      ,,Q//r#   c                 ,    t        j                  |       S )zmReturns string containing a fz_story_element_position's members, labelled and inside (...), using operator<<.)r   #to_string_fz_story_element_positionr;  s    r   rB+  rB+  xO  s    55a88r#   c                 ,    t        j                  |       S )zaReturns string containing a fz_transition's members, labelled and inside (...), using operator<<.)r   to_string_fz_transitionr;  s    r   rD+  rD+  |O  r+  r#   c                 ,    t        j                  |       S )zeReturns string containing a pdf_clean_options's members, labelled and inside (...), using operator<<.)r   to_string_pdf_clean_optionsr;  s    r   rF+  rF+  O  r5+  r#   c                 ,    t        j                  |       S )zfReturns string containing a pdf_filter_factory's members, labelled and inside (...), using operator<<.)r   to_string_pdf_filter_factoryr;  s    r   rH+  rH+  O  rn  r#   c                 ,    t        j                  |       S )zfReturns string containing a pdf_filter_options's members, labelled and inside (...), using operator<<.)r   to_string_pdf_filter_optionsr;  s    r   rJ+  rJ+  O  rn  r#   c                 ,    t        j                  |       S )znReturns string containing a pdf_image_rewriter_options's members, labelled and inside (...), using operator<<.)r   $to_string_pdf_image_rewriter_optionsr;  s    r   rL+  rL+  O  s    66q99r#   c                 ,    t        j                  |       S )zdReturns string containing a pdf_layer_config's members, labelled and inside (...), using operator<<.)r   to_string_pdf_layer_configr;  s    r   rN+  rN+  O  r@+  r#   c                 ,    t        j                  |       S )zgReturns string containing a pdf_layer_config_ui's members, labelled and inside (...), using operator<<.)r   to_string_pdf_layer_config_uir;  s    r   rP+  rP+  O      //22r#   c                 ,    t        j                  |       S )zgReturns string containing a pdf_recolor_options's members, labelled and inside (...), using operator<<.)r   to_string_pdf_recolor_optionsr;  s    r   rS+  rS+  O  rQ+  r#   c                 ,    t        j                  |       S )zfReturns string containing a pdf_redact_options's members, labelled and inside (...), using operator<<.)r   to_string_pdf_redact_optionsr;  s    r   rU+  rU+  O  rn  r#   c                 ,    t        j                  |       S )zoReturns string containing a pdf_sanitize_filter_options's members, labelled and inside (...), using operator<<.)r   %to_string_pdf_sanitize_filter_optionsr;  s    r   rW+  rW+  O  s    77::r#   c                 ,    t        j                  |       S )zeReturns string containing a pdf_write_options's members, labelled and inside (...), using operator<<.)r   to_string_pdf_write_optionsr;  s    r   rY+  rY+  O  r5+  r#   c                  &    t        j                  |  S )a  
    *Overload 1:*
     Returns string containing a fz_aa_context's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 2:*
     Returns string containing a fz_color_params's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 3:*
     Returns string containing a fz_cookie's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 4:*
     Returns string containing a fz_draw_options's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 5:*
     Returns string containing a fz_install_load_system_font_funcs_args's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 6:*
     Returns string containing a fz_irect's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 7:*
     Returns string containing a fz_location's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 8:*
     Returns string containing a fz_matrix's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 9:*
     Returns string containing a fz_md5's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 10:*
     Returns string containing a fz_outline_item's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 11:*
     Returns string containing a fz_pdfocr_options's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 12:*
     Returns string containing a fz_point's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 13:*
     Returns string containing a fz_pwg_options's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 14:*
     Returns string containing a fz_quad's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 15:*
     Returns string containing a fz_rect's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 16:*
     Returns string containing a fz_stext_options's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 17:*
     Returns string containing a fz_story_element_position's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 18:*
     Returns string containing a fz_transition's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 19:*
     Returns string containing a pdf_clean_options's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 20:*
     Returns string containing a pdf_filter_factory's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 21:*
     Returns string containing a pdf_filter_options's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 22:*
     Returns string containing a pdf_image_rewriter_options's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 23:*
     Returns string containing a pdf_layer_config's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 24:*
     Returns string containing a pdf_layer_config_ui's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 25:*
     Returns string containing a pdf_recolor_options's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 26:*
     Returns string containing a pdf_redact_options's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 27:*
     Returns string containing a pdf_sanitize_filter_options's members, labelled and inside (...), using operator<<.
    (Convenience overload).

    |

    *Overload 28:*
     Returns string containing a pdf_write_options's members, labelled and inside (...), using operator<<.
    (Convenience overload).
    )r   	to_stringr  s    r   r[+  r[+  O  s    P T""r#   c                  *    t        j                         S )z
     Reinitializes the MuPDF context for single-threaded use, which
    is slightly faster when calling code is single threaded.

    This should be called before any other use of MuPDF.
    )r   reinit_singlethreadedr$   r#   r   r]+  r]+  RP  s     ''))r#   c                      e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Z ee
j                  e
j                        Z ee
j                   e
j"                        Z ee
j&                  e
j(                        Z ee
j,                  e
j.                        Z ee
j2                  e
j4                        Z ee
j8                  e
j:                        Z ee
j>                  e
j@                        Z!d Z"d	 Z#d
 Z$y)FzAaContextz)Wrapper class for struct `fz_aa_context`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzAaContext.<lambda>]P  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzAaContext.<lambda>]P  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)a_  
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_aa_context`.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_aa_context`.
        N)r   FzAaContext_swiginitnew_FzAaContextr   s     r   rS   zFzAaContext.__init__`P       	##D&*@*@$*GHr#   c                 .    t        j                  | g| S z
        *Overload 1:*
        Access as underlying struct.

        |

        *Overload 2:*
        Access as underlying struct.
        )r   FzAaContext_internalr   s     r   internalzFzAaContext.internalqP  s     **47$77r#   c                 ,    t        j                  |       S zSReturns string containing our members, labelled and inside (...), using operator<<.)r   FzAaContext_to_stringrV   s    r   r[+  zFzAaContext.to_stringP      ++D11r#   c                 .    t        j                  | |      S zComparison method.)r   FzAaContext___eq__r   rhss     r   r}   zFzAaContext.__eq__P      ((s33r#   c                 .    t        j                  | |      S ro+  )r   FzAaContext___ne__rq+  s     r   r   zFzAaContext.__ne__P  rs+  r#   N)%r   r   r6   r7   r   r   r   r   rS   ri+  r   delete_FzAaContextr   FzAaContext_hscale_getFzAaContext_hscale_setrO  FzAaContext_vscale_getFzAaContext_vscale_setrR  FzAaContext_scale_getFzAaContext_scale_setrU  FzAaContext_bits_getFzAaContext_bits_setrX  FzAaContext_text_bits_getFzAaContext_text_bits_setr[  FzAaContext_min_line_width_getFzAaContext_min_line_width_setr^  FzAaContext_s_num_instances_getFzAaContext_s_num_instances_sets_num_instancesr[+  r}   r   r$   r#   r   r_+  r_+  ZP  s    4-/IOdeGHI"
8 00f33V5R5RSFf33V5R5RSFV1163O3OPEF//1L1LMD996;[;[\IfCCVEjEjkNvEEvGmGmnO244r#   r_+  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zej                  Zd
 Zd ZeZ eej$                  ej&                  d      Z eej*                  ej,                        Zy)FzAesz
    Wrapper class for struct `fz_aes`. Not copyable or assignable.
    Structure definitions are public to enable stack
    based allocation. Do not access the members directly.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzAes.<lambda>P  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzAes.<lambda>P  rL   r#   rM   rN   c                 6    t        j                  | |||||      S )a~  
        Class-aware wrapper for `::fz_aes_crypt_cbc()`.
        	AES block processing. Encrypts or Decrypts (according to mode,
        	which must match what was initially set up) length bytes (which
        	must be a multiple of 16), using (and modifying) the insertion
        	vector iv, reading from input, and writing to output.

        	Never throws an exception.
        )r   FzAes_fz_aes_crypt_cbc)r   r`  re  ra  rb  rc  s         r   fz_aes_crypt_cbczFzAes.fz_aes_crypt_cbcP  s     ,,T4UFSSr#   c                 0    t        j                  | ||      S )a.  
        Class-aware wrapper for `::fz_aes_setkey_dec()`.
        	AES decryption intialisation. Fills in the supplied context
        	and prepares for decryption using the given key.

        	Returns non-zero for error (key size other than 128/192/256).

        	Never throws an exception.
        )r   FzAes_fz_aes_setkey_decr   rk  rg  s      r   fz_aes_setkey_deczFzAes.fz_aes_setkey_decP       --dCAAr#   c                 0    t        j                  | ||      S )a.  
        Class-aware wrapper for `::fz_aes_setkey_enc()`.
        	AES encryption intialisation. Fills in the supplied context
        	and prepares for encryption using the given key.

        	Returns non-zero for error (key size other than 128/192/256).

        	Never throws an exception.
        )r   FzAes_fz_aes_setkey_encr+  s      r   fz_aes_setkey_enczFzAes.fz_aes_setkey_encP  r+  r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_aes`.
        N)r   FzAes_swiginit	new_FzAesr   s     r   rS   zFzAes.__init__P       	dF$4$4d$;<r#   c                 ,    t        j                  |       S zCReturn numerical value of .m_internal; helps with Python debugging.)r   FzAes_m_internal_valuerV   s    r   m_internal_valuezFzAes.m_internal_valueP      ,,T22r#   c                 ,    t        j                  |       S r-   )r   FzAes___nonzero__rV   s    r   r   zFzAes.__nonzero__P  r   r#   Pointer to wrapped data.N)r   r   r6   r7   r   r   r   r   r+  r+  r+  rS   r   delete_FzAesr   r+  r   r   FzAes_m_internal_getFzAes_m_internal_set
m_internalFzAes_s_num_instances_getFzAes_s_num_instances_setr+  r$   r#   r   r+  r+  P  s     -/IOdeGH
T
B
B
= **3.H &55v7R7RXwxJv??AaAabOr#   r+  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzAllocContextz
    Wrapper class for struct `fz_alloc_context`. Not copyable or assignable.
    Allocator structure; holds callbacks and private data pointer.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzAllocContext.<lambda>P  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzAllocContext.<lambda>P  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_alloc_context`.
        N)r   FzAllocContext_swiginitnew_FzAllocContextr   s     r   rS   zFzAllocContext.__init__P       	&&tV-F-F-MNr#   c                 ,    t        j                  |       S r+  )r   FzAllocContext_m_internal_valuerV   s    r   r+  zFzAllocContext.m_internal_valueP      55d;;r#   c                 ,    t        j                  |       S r-   )r   FzAllocContext___nonzero__rV   s    r   r   zFzAllocContext.__nonzero__P  rX  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzAllocContextr   r+  r   r   FzAllocContext_m_internal_getFzAllocContext_m_internal_setr+  "FzAllocContext_s_num_instances_get"FzAllocContext_s_num_instances_setr+  r$   r#   r   r+  r+  P  s~    
 -/IOdeGH
O 33<7H &>>@d@d  kJ  KJvHH&JsJstOr#   r+  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zej                  Zd
 Zd ZeZ eej$                  ej&                  d      Z eej*                  ej,                        Zy)FzArc4z
    Wrapper class for struct `fz_arc4`. Not copyable or assignable.
    Structure definition is public to enable stack
    based allocation. Do not access the members directly.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzArc4.<lambda>	Q  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzArc4.<lambda>	Q  rL   r#   rM   rN   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::fz_arc4_encrypt()`.
        	RC4 block encrypt operation; encrypt src into dst (both of
        	length len) updating the RC4 state as we go.

        	Never throws an exception.
        )r   FzArc4_fz_arc4_encrypt)r   r  r  r  s       r   fz_arc4_encryptzFzArc4.fz_arc4_encryptQ  s     ,,T4cBBr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_arc4_final()`.
        	RC4 finalization. Zero the context.

        	Never throws an exception.
        )r   FzArc4_fz_arc4_finalrV   s    r   fz_arc4_finalzFzArc4.fz_arc4_finalQ  s     **400r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_arc4_init()`.
        	RC4 initialization. Begins an RC4 operation, writing a new
        	context.

        	Never throws an exception.
        )r   FzArc4_fz_arc4_init)r   rk  r  s      r   fz_arc4_initzFzArc4.fz_arc4_initQ  s     ))$S99r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_arc4`.
        N)r   FzArc4_swiginit
new_FzArc4r   s     r   rS   zFzArc4.__init__)Q       	tV%6%6%=>r#   c                 ,    t        j                  |       S r+  )r   FzArc4_m_internal_valuerV   s    r   r+  zFzArc4.m_internal_value6Q      --d33r#   c                 ,    t        j                  |       S r-   )r   FzArc4___nonzero__rV   s    r   r   zFzArc4.__nonzero__:Q  r  r#   r+  N)r   r   r6   r7   r   r   r   r   r+  r+  r+  rS   r   delete_FzArc4r   r+  r   r   FzArc4_m_internal_getFzArc4_m_internal_setr+  FzArc4_s_num_instances_getFzArc4_s_num_instances_setr+  r$   r#   r   r+  r+  Q  s     -/IOdeGHC1:
? ++4/H &668T8TZyzJv@@&BcBcdOr#   r+  c                   "   e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zej.                  Zd Zd ZeZ eej8                  ej:                  d      Z eej>                  ej@                        Z!y)	FzArchiveaX  
    Wrapper class for struct `fz_archive`.
    fz_archive:

    fz_archive provides methods for accessing "archive" files.
    An archive file is a conceptual entity that contains multiple
    files, which can be counted, enumerated, and read.

    Implementations of fz_archive based upon directories, zip
    and tar files are included.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzArchive.<lambda>QQ  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzArchive.<lambda>QQ  rL   r#   rM   rN   c                 ,    t        j                  |       S )aK  
        Class-aware wrapper for `::fz_archive_format()`.
        	Return a pointer to a string describing the format of the
        	archive.

        	The lifetime of the string is unspecified (in current
        	implementations the string will persist until the archive
        	is closed, but this is not guaranteed).
        )r   FzArchive_fz_archive_formatrV   s    r   fz_archive_formatzFzArchive.fz_archive_formatTQ  s     11$77r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_count_archive_entries()`.
        	Number of entries in archive.

        	Will always return a value >= 0.

        	May throw an exception if this type of archive cannot count the
        	entries (such as a directory).
        )r   "FzArchive_fz_count_archive_entriesrV   s    r   fz_count_archive_entriesz"FzArchive.fz_count_archive_entries`Q  s     88>>r#   c                 .    t        j                  | |      S )aG  
        Class-aware wrapper for `::fz_has_archive_entry()`.
        	Check if entry by given name exists.

        	If named entry does not exist 0 will be returned, if it does
        	exist 1 is returned.

        	name: Entry name to look for, this must be an exact match to
        	the entry name in the archive.
        )r   FzArchive_fz_has_archive_entryr   r   s     r   fz_has_archive_entryzFzArchive.fz_has_archive_entrylQ  s     44T4@@r#   c                 .    t        j                  | |      S )ar  
        Class-aware wrapper for `::fz_list_archive_entry()`.
        	Get listed name of entry position idx.

        	idx: Must be a value >= 0 < return value from
        	fz_count_archive_entries. If not in range NULL will be
        	returned.

        	May throw an exception if this type of archive cannot list the
        	entries (such as a directory).
        )r   FzArchive_fz_list_archive_entryr   r  s     r   fz_list_archive_entryzFzArchive.fz_list_archive_entryyQ  s     55dC@@r#   c                 0    t        j                  | ||      S )a?  
        Class-aware wrapper for `::fz_mount_multi_archive()`.
        	Add an archive to the set of archives handled by a multi
        	archive.

        	If path is NULL, then the archive contents will appear at the
        	top level, otherwise, the archives contents will appear prefixed
        	by path.
        )r    FzArchive_fz_mount_multi_archive)r   r  r  s      r   fz_mount_multi_archivez FzArchive.fz_mount_multi_archiveQ  s     66tS$GGr#   c                 .    t        j                  | |      S )a%  
        Class-aware wrapper for `::fz_open_archive_entry()`.
        	Opens an archive entry as a stream.

        	name: Entry name to look for, this must be an exact match to
        	the entry name in the archive.

        	Throws an exception if a matching entry cannot be found.
        )r   FzArchive_fz_open_archive_entryr+  s     r   fz_open_archive_entryzFzArchive.fz_open_archive_entryQ  s     55dDAAr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_parse_xml_archive_entry()`.
        	Parse the contents of an archive entry into a tree of xml nodes.

        	preserve_white: whether to keep or delete all-whitespace nodes.
        )r   $FzArchive_fz_parse_xml_archive_entryr   r  r  s      r   fz_parse_xml_archive_entryz$FzArchive.fz_parse_xml_archive_entryQ  s     ::4>ZZr#   c                 .    t        j                  | |      S )a=  
        Class-aware wrapper for `::fz_read_archive_entry()`.
        	Reads all bytes in an archive entry
        	into a buffer.

        	name: Entry name to look for, this must be an exact match to
        	the entry name in the archive.

        	Throws an exception if a matching entry cannot be found.
        )r   FzArchive_fz_read_archive_entryr+  s     r   fz_read_archive_entryzFzArchive.fz_read_archive_entryQ  s     55dDAAr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_tree_archive_add_buffer()`.
        	Add a named buffer to an existing tree archive.

        	The tree will take a new reference to the buffer. Ownership
        	is not transferred.
        )r   $FzArchive_fz_tree_archive_add_buffer)r   r   rb  s      r   fz_tree_archive_add_bufferz$FzArchive.fz_tree_archive_add_bufferQ  s     ::4sKKr#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::fz_tree_archive_add_data()`.
        	Add a named block of data to an existing tree archive.

        	The data will be copied into a buffer, and so the caller
        	may free it as soon as this returns.
        )r   "FzArchive_fz_tree_archive_add_data)r   r   r?   r   s       r   fz_tree_archive_add_dataz"FzArchive.fz_tree_archive_add_dataQ  s     88tT4PPr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_try_open_archive_entry()`.
        	Opens an archive entry as a stream.

        	Returns NULL if a matching entry cannot be found, otherwise
        	behaves exactly as fz_open_archive_entry.
        )r   #FzArchive_fz_try_open_archive_entryr+  s     r   fz_try_open_archive_entryz#FzArchive.fz_try_open_archive_entryQ  s     99$EEr#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_try_parse_xml_archive_entry()`.
        	Try and parse the contents of an archive entry into a tree of xml nodes.

        	preserve_white: whether to keep or delete all-whitespace nodes.

        	Will return NULL if the archive entry can't be found. Otherwise behaves
        	the same as fz_parse_xml_archive_entry. May throw exceptions.
        )r   (FzArchive_fz_try_parse_xml_archive_entryr+  s      r   fz_try_parse_xml_archive_entryz(FzArchive.fz_try_parse_xml_archive_entryQ  s     >>tX~^^r#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_try_read_archive_entry()`.
        	Reads all bytes in an archive entry
        	into a buffer.

        	name: Entry name to look for, this must be an exact match to
        	the entry name in the archive.

        	Returns NULL if a matching entry cannot be found. Otherwise behaves
        	the same as fz_read_archive_entry. Exceptions may be thrown.
        )r   #FzArchive_fz_try_read_archive_entryr+  s     r   fz_try_read_archive_entryz#FzArchive.fz_try_read_archive_entryQ  s     99$EEr#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_archive_of_size()`.

        |

        *Overload 2:*
         Constructor using `fz_new_multi_archive()`.
        		Create a new multi archive (initially empty).


        |

        *Overload 3:*
         Constructor using `fz_new_tree_archive()`.
        		Create an archive that holds named buffers.

        		tree can either be a preformed tree with fz_buffers as values,
        		or it can be NULL for an empty tree.


        |

        *Overload 4:*
         Copy constructor using `fz_keep_archive()`.

        |

        *Overload 5:*
         Constructor using raw copy of pre-existing `::fz_archive`.
        N)r   FzArchive_swiginitnew_FzArchiver   s     r   rS   zFzArchive.__init__Q  s     @ 	!!$(<(<d(CDr#   c                 ,    t        j                  |       S r+  )r   FzArchive_m_internal_valuerV   s    r   r+  zFzArchive.m_internal_valueR      0066r#   c                 ,    t        j                  |       S r-   )r   FzArchive___nonzero__rV   s    r   r   zFzArchive.__nonzero__R  r\  r#   r+  N)"r   r   r6   r7   r   r   r   r   r+  r+  r+  r+  r+  r+  r+  r+  r+  r+  r+  r+  r,  rS   r   delete_FzArchiver   r+  r   r   FzArchive_m_internal_getFzArchive_m_internal_setr+  FzArchive_s_num_instances_getFzArchive_s_num_instances_setr+  r$   r#   r   r+  r+  DQ  s    
 -/IOdeGH
8
?AA
H
B[BLQF
_F EB ..72H &996;Z;Z`  AJvCCVEiEijOr#   r+  c                       e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Zd Zd	 ZeZ ee
j                   e
j"                  d
      Z ee
j&                  e
j(                        Zy)FzArchiveHandlerzJWrapper class for struct `fz_archive_handler`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzArchiveHandler.<lambda>!R  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzArchiveHandler.<lambda>!R  rL   r#   rM   rN   c                 ,    t        j                  |       S z:Class-aware wrapper for `::fz_register_archive_handler()`.)r   ,FzArchiveHandler_fz_register_archive_handlerrV   s    r   fz_register_archive_handlerz,FzArchiveHandler.fz_register_archive_handler$R  s    BB4HHr#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_archive_handler`.
        N)r   FzArchiveHandler_swiginitnew_FzArchiveHandlerr   s     r   rS   zFzArchiveHandler.__init__(R       	((v/J/JD/QRr#   c                 ,    t        j                  |       S r+  )r   !FzArchiveHandler_m_internal_valuerV   s    r   r+  z!FzArchiveHandler.m_internal_value5R      77==r#   c                 ,    t        j                  |       S r-   )r   FzArchiveHandler___nonzero__rV   s    r   r   zFzArchiveHandler.__nonzero__9R  r  r#   r+  N)r   r   r6   r7   r   r   r   r   r,  rS   r   delete_FzArchiveHandlerr   r+  r   r   FzArchiveHandler_m_internal_getFzArchiveHandler_m_internal_setr+  $FzArchiveHandler_s_num_instances_get$FzArchiveHandler_s_num_instances_setr+  r$   r#   r   r,  r,  R  s    U-/IOdeGHI
S 55>9H &@@&BhBh  oN  OJvJJFLwLwxOr#   r,  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzArchiveHandlerContextzRWrapper class for struct `fz_archive_handler_context`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   z FzArchiveHandlerContext.<lambda>FR  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z FzArchiveHandlerContext.<lambda>FR  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_archive_handler_context`.
        N)r    FzArchiveHandlerContext_swiginitnew_FzArchiveHandlerContextr   s     r   rS   z FzArchiveHandlerContext.__init__IR  s      	//f6X6XZ^6_`r#   c                 ,    t        j                  |       S r+  )r   (FzArchiveHandlerContext_m_internal_valuerV   s    r   r+  z(FzArchiveHandlerContext.m_internal_valueVR      >>tDDr#   c                 ,    t        j                  |       S r-   )r   #FzArchiveHandlerContext___nonzero__rV   s    r   r   z#FzArchiveHandlerContext.__nonzero__ZR  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzArchiveHandlerContextr   r+  r   r   &FzArchiveHandlerContext_m_internal_get&FzArchiveHandlerContext_m_internal_setr+  +FzArchiveHandlerContext_s_num_instances_get+FzArchiveHandlerContext_s_num_instances_setr+  r$   r#   r   r&,  r&,  CR  s    ]-/IOdeGH
a <<E@H &GGIvIv  }\  ]JvQQSY  TF  TF  GOr#   r&,  c                      e Zd ZdZ ed d d      ZeZej                  Z
ej                  Zej                  Zej                  Zej"                  Zej&                  Zej*                  Zej.                  Zej2                  Zd Zd Zd Zd	 Zd
 Zej@                  Z!d Z"d Z#e#Z$ eejJ                  ejL                  d      Z' eejP                  ejR                        Z*y)FzBandWriterzc
    Wrapper class for struct `fz_band_writer`. Not copyable or assignable.
    fz_band_writer
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzBandWriter.<lambda>jR  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzBandWriter.<lambda>jR  rL   r#   rM   rN   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_close_band_writer()`.
        	Finishes up the output and closes the band writer. After this
        	call no more headers or bands may be written.
        )r   !FzBandWriter_fz_close_band_writerrV   s    r   fz_close_band_writerz!FzBandWriter.fz_close_band_writervR  s     77==r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_pdfocr_band_writer_set_progress()`.
        	Set the progress callback for a pdfocr bandwriter.
        )r   /FzBandWriter_fz_pdfocr_band_writer_set_progress)r   r  r  s      r   "fz_pdfocr_band_writer_set_progressz/FzBandWriter.fz_pdfocr_band_writer_set_progress~R  s    
 EEdKYeffr#   c                 2    t        j                  | |||      S )a  
        Class-aware wrapper for `::fz_write_band()`.
        	Cause a band writer to write the next band
        	of data for an image.

        	stride: The byte offset from the first byte of the data
        	for a pixel to the first byte of the data for the same pixel
        	on the row below.

        	band_height: The number of lines in this band.

        	samples: Pointer to first byte of the data.
        )r   FzBandWriter_fz_write_band)r   rF  r   rT  s       r   fz_write_bandzFzBandWriter.fz_write_bandR  s     00v{GTTr#   c
                 >    t        j                  | |||||||||	
      S )aT  
        Class-aware wrapper for `::fz_write_header()`.
        	Cause a band writer to write the header for
        	a banded image with the given properties/dimensions etc. This
        	also configures the bandwriter for the format of the data to be
        	passed in future calls.

        	w, h: Width and Height of the entire page.

        	n: Number of components (including spots and alphas).

        	alpha: Number of alpha components.

        	xres, yres: X and Y resolutions in dpi.

        	cs: Colorspace (NULL for bitmaps)

        	seps: Separation details (or NULL).
        )r   FzBandWriter_fz_write_header)
r   r7  r:  r[   rA  rL  rO  r}  rM  rI  s
             r   fz_write_headerzFzBandWriter.fz_write_headerR  s*    ( 224Aq%tU\^`bfggr#   c                 P    t        j                  | t        j                  |        y)a@
  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_band_writer_of_size()`.

        |

        *Overload 2:*
         Constructor using `fz_new_color_pcl_band_writer()`.
        		Create a new band writer, outputing color pcl.
        	 Constructor using `fz_new_mono_pcl_band_writer()`.
        		Create a new band writer, outputing monochrome pcl.


        |

        *Overload 3:*
         Constructor using `fz_new_mono_pwg_band_writer()`.
        		Create a new monochrome pwg band writer.


        |

        *Overload 4:*
         Constructor using `fz_new_pam_band_writer()`.
        		Create a band writer targetting pnm (greyscale, rgb or cmyk,
        		with or without alpha).
        	 Constructor using `fz_new_pbm_band_writer()`.
        		Create a new band writer, targetting pbm.
        	 Constructor using `fz_new_pclm_band_writer()`.
        		Create a new band writer, outputing pclm


        |

        *Overload 5:*
         Constructor using `fz_new_pdfocr_band_writer()`.
        		Create a new band writer, outputing pdfocr.

        		Ownership of output stays with the caller, the band writer
        		borrows the reference. The caller must keep the output around
        		for the duration of the band writer, and then close/drop as
        		appropriate.


        |

        *Overload 6:*
         Constructor using `fz_new_pkm_band_writer()`.
        		Create a new pkm band writer for CMYK pixmaps.
        	 Constructor using `fz_new_png_band_writer()`.
        		Create a new png band writer (greyscale or RGB, with or without
        		alpha).


        |

        *Overload 7:*
         Constructor using `fz_new_pnm_band_writer()`.
        		Create a band writer targetting pnm (greyscale or rgb, no
        		alpha).
        	 Constructor using `fz_new_ps_band_writer()`.
        		Create a postscript band writer for gray, rgb, or cmyk, no
        		alpha.
        	 Constructor using `fz_new_psd_band_writer()`.
        		Open a PSD band writer.
        	 Constructor using `fz_new_pwg_band_writer()`.
        		Create a new color pwg band writer.
        	 Constructor using fz_new_mono_pcl_band_writer() or fz_new_color_pcl_band_writer().

        |

        *Overload 8:*
         Constructor using fz_new_p*_band_writer().

        |

        *Overload 9:*
         Constructor using fz_new_mono_pwg_band_writer() or fz_new_pwg_band_writer().

        |

        *Overload 10:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 11:*
         Constructor using raw copy of pre-existing `::fz_band_writer`.
        N)r   FzBandWriter_swiginitnew_FzBandWriterr   s     r   rS   zFzBandWriter.__init__R  s     t 	$$T6+B+BD+IJr#   c                 ,    t        j                  |       S r+  )r   FzBandWriter_m_internal_valuerV   s    r   r+  zFzBandWriter.m_internal_valueS      33D99r#   c                 ,    t        j                  |       S r-   )r   FzBandWriter___nonzero__rV   s    r   r   zFzBandWriter.__nonzero__S  r  r#   r+  N)+r   r   r6   r7   r   r   r   r   r   FzBandWriter_MONOMONOFzBandWriter_COLORCOLORFzBandWriter_PNGPNGFzBandWriter_PNMPNMFzBandWriter_PAMPAMFzBandWriter_PBMPBMFzBandWriter_PKMPKMFzBandWriter_PSPSFzBandWriter_PSDPSDr<,  r?,  rB,  rE,  rS   delete_FzBandWriterr   r+  r   r   FzBandWriter_m_internal_getFzBandWriter_m_internal_setr+   FzBandWriter_s_num_instances_get FzBandWriter_s_num_instances_setr+  r$   r#   r   r7,  r7,  dR  s    
 -/IOdeGH##D%%E

!
!C

!
!C

!
!C

!
!C

!
!C			B

!
!C>gU h,ZKv 11:5H &<<f>`>`  gF  GJvFFHoHopOr#   r7,  c                   .   e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zej2                  Zd Zd ZeZ eej<                  ej>                  d      Z  eejB                  ejD                        Z#y)FzBitmapa  
    Wrapper class for struct `fz_bitmap`.
    Bitmaps have 1 bit per component. Only used for creating
    halftoned versions of contone buffers, and saving out. Samples
    are stored msb first, akin to pbms.

    The internals of this struct are considered implementation
    details and subject to change. Where possible, accessor
    functions should be used in preference.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzBitmap.<lambda>"S  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzBitmap.<lambda>"S  rL   r#   rM   rN   c                 4    t        j                  | ||||      S )a@  
        Class-aware wrapper for `::fz_bitmap_details()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_bitmap_details()` => `(int w, int h, int n, int stride)`

        	Retrieve details of a given bitmap.

        	bitmap: The bitmap to query.

        	w: Pointer to storage to retrieve width (or NULL).

        	h: Pointer to storage to retrieve height (or NULL).

        	n: Pointer to storage to retrieve number of color components (or
        	NULL).

        	stride: Pointer to storage to retrieve bitmap stride (or NULL).
        )r   FzBitmap_fz_bitmap_detailsr   r7  r:  r[   rF  s        r   fz_bitmap_detailszFzBitmap.fz_bitmap_details%S  s    ( 00q!QGGr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_clear_bitmap()`.
        	Set the entire bitmap to 0.

        	Never throws exceptions.
        )r   FzBitmap_fz_clear_bitmaprV   s    r   fz_clear_bitmapzFzBitmap.fz_clear_bitmap;S       ..t44r#   c                 ,    t        j                  |       S )z|
        Class-aware wrapper for `::fz_invert_bitmap()`.
        	Invert bitmap.

        	Never throws exceptions.
        )r   FzBitmap_fz_invert_bitmaprV   s    r   fz_invert_bitmapzFzBitmap.fz_invert_bitmapDS       //55r#   c                 .    t        j                  | |      S )zg
        Class-aware wrapper for `::fz_save_bitmap_as_pbm()`.
        	Save a bitmap as a pbm.
        )r   FzBitmap_fz_save_bitmap_as_pbmr   r  s     r   fz_save_bitmap_as_pbmzFzBitmap.fz_save_bitmap_as_pbmMS      
 44T8DDr#   c                 2    t        j                  | |||      S )zj
        Class-aware wrapper for `::fz_save_bitmap_as_pcl()`.
        	Save a bitmap as mono PCL.
        )r   FzBitmap_fz_save_bitmap_as_pclr   r  r   r  s       r   fz_save_bitmap_as_pclzFzBitmap.fz_save_bitmap_as_pclTS      
 44T8VSQQr#   c                 .    t        j                  | |      S )zl
        Class-aware wrapper for `::fz_save_bitmap_as_pkm()`.
        	Save a CMYK bitmap as a pkm.
        )r   FzBitmap_fz_save_bitmap_as_pkmrw,  s     r   fz_save_bitmap_as_pkmzFzBitmap.fz_save_bitmap_as_pkm[S  ry,  r#   c                 2    t        j                  | |||      S )zg
        Class-aware wrapper for `::fz_save_bitmap_as_pwg()`.
        	Save a bitmap as a PWG.
        )r   FzBitmap_fz_save_bitmap_as_pwgr   r  r   r  s       r   fz_save_bitmap_as_pwgzFzBitmap.fz_save_bitmap_as_pwgbS  r~,  r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_bitmap()`.
        		Create a new bitmap.

        		w, h: Width and Height for the bitmap

        		n: Number of color components (assumed to be a divisor of 8)

        		xres, yres: X and Y resolutions (in pixels per inch).

        		Returns pointer to created bitmap structure. The bitmap
        		data is uninitialised.


        |

        *Overload 2:*
         Constructor using `fz_new_bitmap_from_pixmap()`.
        		Make a bitmap from a pixmap and a halftone.

        		pix: The pixmap to generate from. Currently must be a single
        		color component with no alpha.

        		ht: The halftone to use. NULL implies the default halftone.

        		Returns the resultant bitmap. Throws exceptions in the case of
        		failure to allocate.


        |

        *Overload 3:*
         Constructor using `fz_new_bitmap_from_pixmap_band()`.
        		Make a bitmap from a pixmap and a
        		halftone, allowing for the position of the pixmap within an
        		overall banded rendering.

        		pix: The pixmap to generate from. Currently must be a single
        		color component with no alpha.

        		ht: The halftone to use. NULL implies the default halftone.

        		band_start: Vertical offset within the overall banded rendering
        		(in pixels)

        		Returns the resultant bitmap. Throws exceptions in the case of
        		failure to allocate.


        |

        *Overload 4:*
         Copy constructor using `fz_keep_bitmap()`.

        |

        *Overload 5:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 6:*
         Constructor using raw copy of pre-existing `::fz_bitmap`.
        N)r   FzBitmap_swiginitnew_FzBitmapr   s     r   rS   zFzBitmap.__init__iS  s     D 	  v':':D'ABr#   c                 ,    t        j                  |       S r-   )r   FzBitmap_refsrV   s    r   r  zFzBitmap.refsS  r   r#   c                 ,    t        j                  |       S r-   )r   
FzBitmap_wrV   s    r   r7  z
FzBitmap.wS        &&r#   c                 ,    t        j                  |       S r-   )r   
FzBitmap_hrV   s    r   r:  z
FzBitmap.hS  r,  r#   c                 ,    t        j                  |       S r-   )r   FzBitmap_striderV   s    r   rF  zFzBitmap.strideS  r   r#   c                 ,    t        j                  |       S r-   )r   
FzBitmap_nrV   s    r   r[   z
FzBitmap.nS  r,  r#   c                 ,    t        j                  |       S r-   )r   FzBitmap_xresrV   s    r   rL  zFzBitmap.xresS  r   r#   c                 ,    t        j                  |       S r-   )r   FzBitmap_yresrV   s    r   rO  zFzBitmap.yresS  r   r#   c                 ,    t        j                  |       S r-   )r   FzBitmap_samplesrV   s    r   rT  zFzBitmap.samplesS  r   r#   c                 ,    t        j                  |       S r+  )r   FzBitmap_m_internal_valuerV   s    r   r+  zFzBitmap.m_internal_valueS      //55r#   c                 ,    t        j                  |       S r-   )r   FzBitmap___nonzero__rV   s    r   r   zFzBitmap.__nonzero__S  rW   r#   r+  N)$r   r   r6   r7   r   r   r   r   rl,  ro,  rs,  rx,  r},  r,  r,  rS   r  r7  r:  rF  r[   rL  rO  rT  r   delete_FzBitmapr   r+  r   r   FzBitmap_m_internal_getFzBitmap_m_internal_setr+  FzBitmap_s_num_instances_getFzBitmap_s_num_instances_setr+  r$   r#   r   rf,  rf,  S  s    	 -/IOdeGHH,56ERERBCH*'','**---61H &88&:X:X^}~JvBBFDgDghOr#   rf,  c                   .   e Zd ZdZ ed d d      ZeZed        Z	ed        Z
ed        Zed	        Zed
        Zed        Zed        Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d Z"d  Z#d! Z$d" Z%d# Z&d$ Z'd% Z(d& Z)d' Z*d( Z+d) Z,d* Z-d+ Z.d, Z/d- Z0d. Z1d/ Z2d0 Z3d1 Z4d2 Z5d3 Z6d4 Z7e8jr                  Z:d5 Z;d6 Z<e<Z= ee8j|                  e8j~                  d7      Z@ ee8j                  e8j                        ZCy8)9FzBuffera  
    Wrapper class for struct `fz_buffer`.
    fz_buffer is a wrapper around a dynamically allocated array of
    bytes.

    Buffers have a capacity (the number of bytes storage immediately
    available) and a current size.

    The contents of the structure are considered implementation
    details and are subject to change. Users should use the accessor
    functions in preference.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzBuffer.<lambda>S  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzBuffer.<lambda>S  rL   r#   rM   rN   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_new_buffer_from_copied_data()`.
        	Create a new buffer containing a copy of the passed data.
        )r   'FzBuffer_fz_new_buffer_from_copied_datar  s     r   fz_new_buffer_from_copied_dataz'FzBuffer.fz_new_buffer_from_copied_dataS  s     ==dDIIr#   c                 .    t        j                  | |      S z>Class-aware wrapper for `::fz_new_buffer_from_image_as_pnm()`.)r   (FzBuffer_fz_new_buffer_from_image_as_pnmr  s     r   fz_new_buffer_from_image_as_pnmz(FzBuffer.fz_new_buffer_from_image_as_pnmS       >>ulSSr#   c                 .    t        j                  | |      S z>Class-aware wrapper for `::fz_new_buffer_from_image_as_pam()`.)r   (FzBuffer_fz_new_buffer_from_image_as_pamr  s     r   fz_new_buffer_from_image_as_pamz(FzBuffer.fz_new_buffer_from_image_as_pamS  r,  r#   c                 .    t        j                  | |      S z>Class-aware wrapper for `::fz_new_buffer_from_image_as_psd()`.)r   (FzBuffer_fz_new_buffer_from_image_as_psdr  s     r   fz_new_buffer_from_image_as_psdz(FzBuffer.fz_new_buffer_from_image_as_psdS  r,  r#   c                 .    t        j                  | |      S z?Class-aware wrapper for `::fz_new_buffer_from_pixmap_as_pnm()`.)r   )FzBuffer_fz_new_buffer_from_pixmap_as_pnmr  s     r    fz_new_buffer_from_pixmap_as_pnmz)FzBuffer.fz_new_buffer_from_pixmap_as_pnmS       ??UUr#   c                 .    t        j                  | |      S z?Class-aware wrapper for `::fz_new_buffer_from_pixmap_as_pam()`.)r   )FzBuffer_fz_new_buffer_from_pixmap_as_pamr  s     r    fz_new_buffer_from_pixmap_as_pamz)FzBuffer.fz_new_buffer_from_pixmap_as_pamT  r,  r#   c                 .    t        j                  | |      S z?Class-aware wrapper for `::fz_new_buffer_from_pixmap_as_psd()`.)r   )FzBuffer_fz_new_buffer_from_pixmap_as_psdr   s     r    fz_new_buffer_from_pixmap_as_psdz)FzBuffer.fz_new_buffer_from_pixmap_as_psdT  s     ??\RRr#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::fz_append_base64()`.
        	Write a base64 encoded data block, optionally with periodic newlines.
        )r   FzBuffer_fz_append_base64r   r?   r   rr  s       r   fz_append_base64zFzBuffer.fz_append_base64T  s    
 //dD'JJr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_append_base64_buffer()`.
        	Append a base64 encoded fz_buffer, optionally with periodic newlines.
        )r    FzBuffer_fz_append_base64_bufferr   r?   rr  s      r   fz_append_base64_bufferz FzBuffer.fz_append_base64_bufferT  s    
 66tT7KKr#   c                 0    t        j                  | ||      S z-Class-aware wrapper for `::fz_append_bits()`.)r   FzBuffer_fz_append_bits)r   r    r  s      r   fz_append_bitszFzBuffer.fz_append_bitsT  s    --dE5AAr#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::fz_append_bits_pad()`.)r   FzBuffer_fz_append_bits_padrV   s    r   fz_append_bits_padzFzBuffer.fz_append_bits_padT      11$77r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_append_buffer()`.
        	Append the contents of the source buffer onto the end of the
        	destination buffer, extending automatically as required.

        	Ownership of buffers does not change.
        )r   FzBuffer_fz_append_buffer)r   r  s     r   fz_append_bufferzFzBuffer.fz_append_buffer!T  s     //f==r#   c                 .    t        j                  | |      S z-Class-aware wrapper for `::fz_append_byte()`.)r   FzBuffer_fz_append_byter   r  s     r   fz_append_bytezFzBuffer.fz_append_byte+T      --dA66r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_append_data()`.
        	fz_append_*: Append data to a buffer.

        	The buffer will automatically grow as required.
        )r   FzBuffer_fz_append_datar   r?   r  s      r   fz_append_datazFzBuffer.fz_append_data/T  s     --dD#>>r#   c                 .    t        j                  | |      S z:Class-aware wrapper for `::fz_append_image_as_data_uri()`.)r   $FzBuffer_fz_append_image_as_data_urir   r  s     r   fz_append_image_as_data_uriz$FzBuffer.fz_append_image_as_data_uri8T      ::4GGr#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::fz_append_int16_be()`.)r   FzBuffer_fz_append_int16_berc   s     r   fz_append_int16_bezFzBuffer.fz_append_int16_be<T      11$::r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::fz_append_int16_le()`.)r   FzBuffer_fz_append_int16_lerc   s     r   fz_append_int16_lezFzBuffer.fz_append_int16_le@T  r,  r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::fz_append_int32_be()`.)r   FzBuffer_fz_append_int32_berc   s     r   fz_append_int32_bezFzBuffer.fz_append_int32_beDT  r,  r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::fz_append_int32_le()`.)r   FzBuffer_fz_append_int32_lerc   s     r   fz_append_int32_lezFzBuffer.fz_append_int32_leHT  r,  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_append_pdf_string()`.
        	fz_append_pdf_string: Append a string with PDF syntax quotes and
        	escapes.

        	The buffer will automatically grow as required.
        )r   FzBuffer_fz_append_pdf_stringr   r
  s     r   fz_append_pdf_stringzFzBuffer.fz_append_pdf_stringLT       33D$??r#   c                 .    t        j                  | |      S z;Class-aware wrapper for `::fz_append_pixmap_as_data_uri()`.)r   %FzBuffer_fz_append_pixmap_as_data_urir   r  s     r   fz_append_pixmap_as_data_uriz%FzBuffer.fz_append_pixmap_as_data_uriVT  s    ;;D&IIr#   c                 .    t        j                  | |      S z-Class-aware wrapper for `::fz_append_rune()`.)r   FzBuffer_fz_append_runer,  s     r   fz_append_runezFzBuffer.fz_append_runeZT  r,  r#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::fz_append_string()`.)r   FzBuffer_fz_append_stringr   r?   s     r   fz_append_stringzFzBuffer.fz_append_string^T      //d;;r#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_buffer_extract()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_buffer_extract()` => `(size_t, unsigned char *data)`

        	Take ownership of buffer contents.

        	Performs the same task as fz_buffer_storage, but ownership of
        	the data buffer returns with this call. The buffer is left
        	empty.

        	Note: Bad things may happen if this is called on a buffer with
        	multiple references that is being used from multiple threads.

        	data: Pointer to place to retrieve data pointer.

        	Returns length of stream.
        )r   FzBuffer_fz_buffer_extractr-  s     r   fz_buffer_extractzFzBuffer.fz_buffer_extractbT  s    ( 00t<<r#   c                 .    t        j                  | |      S )as  
        Class-aware wrapper for `::fz_buffer_storage()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_buffer_storage()` => `(size_t, unsigned char *datap)`

        	Retrieve internal memory of buffer.

        	datap: Output parameter that will be pointed to the data.

        	Returns the current size of the data in bytes.
        )r   FzBuffer_fz_buffer_storage)r   r%  s     r   fz_buffer_storagezFzBuffer.fz_buffer_storagexT  s     00u==r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_clear_buffer()`.
        	Empties the buffer. Storage is not freed, but is held ready
        	to be reused as the buffer is refilled.

        	Never throws exceptions.
        )r   FzBuffer_fz_clear_bufferrV   s    r   fz_clear_bufferzFzBuffer.fz_clear_bufferT       ..t44r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_clone_buffer()`.
        	Make a new buffer, containing a copy of the data used in
        	the original.
        )r   FzBuffer_fz_clone_bufferrV   s    r   fz_clone_bufferzFzBuffer.fz_clone_bufferT       ..t44r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_grow_buffer()`.
        	Make some space within a buffer (i.e. ensure that
        	capacity > size).
        )r   FzBuffer_fz_grow_bufferrV   s    r   fz_grow_bufferzFzBuffer.fz_grow_bufferT       --d33r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_load_jbig2_globals()`.
        	Create a jbig2 globals record from a buffer.

        	Immutable once created.
        )r   FzBuffer_fz_load_jbig2_globalsrV   s    r   fz_load_jbig2_globalszFzBuffer.fz_load_jbig2_globalsT  s     44T::r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_md5_buffer()`.
        	Create an MD5 digest from buffer contents.

        	Never throws exceptions.
        )r   FzBuffer_fz_md5_bufferr   r  s     r   fz_md5_bufferzFzBuffer.fz_md5_bufferT  s     ,,T6::r#   c                 4    t        j                  | ||||      S )aA  
        Class-aware wrapper for `::fz_new_display_list_from_svg()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_new_display_list_from_svg(const char *base_uri, ::fz_archive *dir)` => `(fz_display_list *, float w, float h)`

        	Parse an SVG document into a display-list.
        )r   %FzBuffer_fz_new_display_list_from_svg)r   r_  r
  r7  r:  s        r   fz_new_display_list_from_svgz%FzBuffer.fz_new_display_list_from_svgT  s     ;;D(CQRTUVVr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_new_image_from_buffer()`.
        	Create a new image from a
        	buffer of data, inferring its type from the format
        	of the data.
        )r   !FzBuffer_fz_new_image_from_bufferrV   s    r   fz_new_image_from_bufferz!FzBuffer.fz_new_image_from_bufferT       77==r#   c                 0    t        j                  | ||      S )z}
        Class-aware wrapper for `::fz_new_image_from_svg()`.
        	Create a scalable image from an SVG document.
        )r   FzBuffer_fz_new_image_from_svg)r   r_  r
  s      r   fz_new_image_from_svgzFzBuffer.fz_new_image_from_svgT  s    
 44T8SIIr#   c                 ,    t        j                  |       S )aJ  
        Class-aware wrapper for `::fz_open_buffer()`.
        	Open a buffer as a stream.

        	buf: The buffer to open. Ownership of the buffer is NOT passed
        	in (this function takes its own reference).

        	Returns pointer to newly created stream. May throw exceptions on
        	failure to allocate.
        )r   FzBuffer_fz_open_bufferrV   s    r   fz_open_bufferzFzBuffer.fz_open_bufferT       --d33r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_parse_xml()`.
        	Parse the contents of buffer into a tree of xml nodes.

        	preserve_white: whether to keep or delete all-whitespace nodes.
        )r   FzBuffer_fz_parse_xmlr   r  s     r   fz_parse_xmlzFzBuffer.fz_parse_xmlT  s     ++D.AAr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_parse_xml_from_html5()`.
        	Parse the contents of a buffer into a tree of XML nodes,
        	using the HTML5 parsing algorithm.
        )r    FzBuffer_fz_parse_xml_from_html5rV   s    r   fz_parse_xml_from_html5z FzBuffer.fz_parse_xml_from_html5T       66t<<r#   c                 .    t        j                  | |      S )a<  
        Class-aware wrapper for `::fz_resize_buffer()`.
        	Ensure that a buffer has a given capacity,
        	truncating data if required.

        	capacity: The desired capacity for the buffer. If the current
        	size of the buffer contents is smaller than capacity, it is
        	truncated.
        )r   FzBuffer_fz_resize_buffer)r   r&  s     r   fz_resize_bufferzFzBuffer.fz_resize_bufferT  s     //h??r#   c                 .    t        j                  | |      S )zq
        Class-aware wrapper for `::fz_save_buffer()`.
        	Save the contents of a buffer to a file.
        )r   FzBuffer_fz_save_bufferrw,  s     r   fz_save_bufferzFzBuffer.fz_save_bufferT  s    
 --dH==r#   c                 0    t        j                  | ||      S )a;  
        Class-aware wrapper for `::fz_slice_buffer()`.
        	Create a new buffer with a (subset of) the data from the buffer.

        	start: if >= 0, offset from start of buffer, if < 0 offset from end of buffer.

        	end: if >= 0, offset from start of buffer, if < 0 offset from end of buffer.

        )r   FzBuffer_fz_slice_bufferr   rw  r   s      r   fz_slice_bufferzFzBuffer.fz_slice_bufferT  s     ..tUC@@r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_string_from_buffer()`.
        	Ensure that a buffer's data ends in a
        	0 byte, and return a pointer to it.
        )r   FzBuffer_fz_string_from_bufferrV   s    r   fz_string_from_bufferzFzBuffer.fz_string_from_bufferU  s     44T::r#   c                 4    t        j                  | ||||      S )z
        Class-aware wrapper for `::fz_subset_cff_for_gids()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_subset_cff_for_gids(int num_gids, int symbolic, int cidfont)` => `(fz_buffer *, int gids)`
        )r   FzBuffer_fz_subset_cff_for_gidsr   rO   rP   rQ   rR   s        r   fz_subset_cff_for_gidszFzBuffer.fz_subset_cff_for_gidsU       55dD(HV]^^r#   c                 4    t        j                  | ||||      S )z
        Class-aware wrapper for `::fz_subset_ttf_for_gids()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_subset_ttf_for_gids(int num_gids, int symbolic, int cidfont)` => `(fz_buffer *, int gids)`
        )r   FzBuffer_fz_subset_ttf_for_gidsrL-  s        r   fz_subset_ttf_for_gidszFzBuffer.fz_subset_ttf_for_gidsU  rN-  r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_terminate_buffer()`.
        	Zero-terminate buffer in order to use as a C string.

        	This byte is invisible and does not affect the length of the
        	buffer as returned by fz_buffer_storage. The zero byte is
        	written *after* the data, and subsequent writes will overwrite
        	the terminating byte.

        	Subsequent changes to the size of the buffer (such as by
        	fz_buffer_trim, fz_buffer_grow, fz_resize_buffer, etc) may
        	invalidate this.
        )r   FzBuffer_fz_terminate_bufferrV   s    r   fz_terminate_bufferzFzBuffer.fz_terminate_buffer%U  s     22488r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_trim_buffer()`.
        	Trim wasted capacity from a buffer by resizing internal memory.
        )r   FzBuffer_fz_trim_bufferrV   s    r   fz_trim_bufferzFzBuffer.fz_trim_buffer5U      
 --d33r#   c                 0    t        j                  | ||      S z/Class-aware wrapper for `::pdf_append_token()`.)r   FzBuffer_pdf_append_token)r   r#  r#  s      r   pdf_append_tokenzFzBuffer.pdf_append_token<U  s    //c3??r#   c                 0    t        j                  | ||      S z7Class-aware wrapper for `::pdf_new_buffer_processor()`.)r   !FzBuffer_pdf_new_buffer_processorr   rw'  r,  s      r   pdf_new_buffer_processorz!FzBuffer.pdf_new_buffer_processor@U      77iRRr#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_buffer()`.

        |

        *Overload 2:*
         Constructor using `fz_new_buffer_from_base64()`.
        		Create a new buffer with data decoded from a base64 input string.


        |

        *Overload 3:*
         Constructor using `fz_new_buffer_from_data()`.
        		Create a new buffer with existing data.

        		data: Pointer to existing data.
        		size: Size of existing data.

        		Takes ownership of data. Does not make a copy. Calls fz_free on
        		the data when the buffer is deallocated. Do not use 'data' after
        		passing to this function.

        		Returns pointer to new buffer. Throws exception on allocation
        		failure.


        |

        *Overload 4:*
         Constructor using `fz_new_buffer_from_display_list()`.

        |

        *Overload 5:*
         Constructor using `fz_new_buffer_from_image_as_jpeg()`.

        |

        *Overload 6:*
         Constructor using `fz_new_buffer_from_image_as_jpx()`.

        |

        *Overload 7:*
         Constructor using `fz_new_buffer_from_image_as_png()`.
        		Reencode a given image as a PNG into a buffer.

        		Ownership of the buffer is returned.


        |

        *Overload 8:*
         Constructor using `fz_new_buffer_from_page()`.

        |

        *Overload 9:*
         Constructor using `fz_new_buffer_from_page_number()`.

        |

        *Overload 10:*
         Constructor using `fz_new_buffer_from_page_with_format()`.
        		Returns an fz_buffer containing a page after conversion to specified format.

        		page: The page to convert.
        		format, options: Passed to fz_new_document_writer_with_output() internally.
        		transform, cookie: Passed to fz_run_page() internally.


        |

        *Overload 11:*
         Constructor using `fz_new_buffer_from_pixmap_as_jpeg()`.

        |

        *Overload 12:*
         Constructor using `fz_new_buffer_from_pixmap_as_jpx()`.

        |

        *Overload 13:*
         Constructor using `fz_new_buffer_from_pixmap_as_png()`.
        		Reencode a given pixmap as a PNG into a buffer.

        		Ownership of the buffer is returned.


        |

        *Overload 14:*
         Constructor using `fz_new_buffer_from_shared_data()`.
        		Like fz_new_buffer, but does not take ownership.


        |

        *Overload 15:*
         Constructor using `fz_new_buffer_from_stext_page()`.
        		Convert structured text into plain text.


        |

        *Overload 16:*
         Constructor using `fz_read_file()`.
        		Read all the contents of a file into a buffer.


        |

        *Overload 17:*
         Copy constructor using `fz_keep_buffer()`.

        |

        *Overload 18:*
         Constructor using raw copy of pre-existing `::fz_buffer`.

        |

        *Overload 19:*
         Constructor using raw copy of pre-existing `::fz_buffer`.
        N)r   FzBuffer_swiginitnew_FzBufferr   s     r   rS   zFzBuffer.__init__DU  s     B 	  v':':D'ABr#   c                 ,    t        j                  |       S r+  )r   FzBuffer_m_internal_valuerV   s    r   r+  zFzBuffer.m_internal_valueU  r,  r#   c                 ,    t        j                  |       S r-   )r   FzBuffer___nonzero__rV   s    r   r   zFzBuffer.__nonzero__U  rW   r#   r+  N)Dr   r   r6   r7   r   r   r   r   r   r,  r,  r,  r,  r,  r,  r,  r,  r,  r,  r,  r,  r,  r,  r,  r,  r,  r,  r,  r,  r-  r-  r-  r-  r-  r-  r-  r-  r"-  r&-  r)-  r,-  r0-  r3-  r8-  r;-  r?-  rB-  rF-  rI-  rM-  rQ-  rT-  rW-  r\-  ra-  rS   r   delete_FzBufferr   r+  r   r   FzBuffer_m_internal_getFzBuffer_m_internal_setr+  FzBuffer_s_num_instances_getFzBuffer_s_num_instances_setr+  r$   r#   r   r,  r,  S  s    -/IOdeGHJ J T T T T T T V V V V S SKLB8>7?H;;;;@J7<=,>554;;	W>J4B=
@>
A;__9 4@SACD --61H &88&:X:X^}~JvBBFDgDghOr#   r,  c                      e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Z ee
j                  e
j                        Z ee
j                   e
j"                        Z ee
j&                  e
j(                        Z ee
j,                  e
j.                        Z ee
j2                  e
j4                        Zd Zd	 Zd
 Zy)FzColorParamsz+Wrapper class for struct `fz_color_params`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzColorParams.<lambda>U  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzColorParams.<lambda>U  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)aR  
        *Overload 1:*
        Equivalent to fz_default_color_params.

        |

        *Overload 2:*
        We use default copy constructor and operator=.  Constructor using raw copy of pre-existing `::fz_color_params`.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_color_params`.
        N)r   FzColorParams_swiginitnew_FzColorParamsr   s     r   rS   zFzColorParams.__init__U       	%%dF,D,Dd,KLr#   c                 .    t        j                  | g| S rg+  )r   FzColorParams_internalr   s     r   ri+  zFzColorParams.internalU       ,,T9D99r#   c                 ,    t        j                  |       S rk+  )r   FzColorParams_to_stringrV   s    r   r[+  zFzColorParams.to_stringU  r+  r#   c                 .    t        j                  | |      S ro+  )r   FzColorParams___eq__rq+  s     r   r}   zFzColorParams.__eq__V      **455r#   c                 .    t        j                  | |      S ro+  )r   FzColorParams___ne__rq+  s     r   r   zFzColorParams.__ne__V  r~-  r#   N)r   r   r6   r7   r   r   r   r   rS   ri+  r   delete_FzColorParamsr   FzColorParams_ri_getFzColorParams_ri_setr  FzColorParams_bp_getFzColorParams_bp_setr  FzColorParams_op_getFzColorParams_op_setr  FzColorParams_opm_getFzColorParams_opm_setr  !FzColorParams_s_num_instances_get!FzColorParams_s_num_instances_setr+  r[+  r}   r   r$   r#   r   rp-  rp-  U  s    6-/IOdeGHM"
: 22	&--v/J/J	KB	&--v/J/J	KB	&--v/J/J	KB
6//1M1M
NCvGGIqIqrO466r#   rp-  c                      e Zd ZdZ ed d d      ZeZej                  Z
ej                  Zej                  Zej                  Zej"                  Zd Zd Zd Zd	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d Z"d Z#d Z$d Z%d Z&d Z'd Z(d Z)d Z*d Z+d Z,d  Z-d! Z.d" Z/d# Z0ejb                  Z2d$ Z3d% Z4e4Z5 eejl                  ejn                  d&      Z8 eejr                  ejt                        Z;y')(FzColorspacezU
    Wrapper class for struct `fz_colorspace`.
    Describes a given colorspace.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzColorspace.<lambda>V  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzColorspace.<lambda>V  rL   r#   rM   rN   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_base_colorspace()`.
        	Get the 'base' colorspace for a colorspace.

        	For indexed colorspaces, this is the colorspace the index
        	decodes into. For all other colorspaces, it is the colorspace
        	itself.

        	The returned colorspace is 'borrowed' (i.e. no additional
        	references are taken or dropped).
        )r   FzColorspace_fz_base_colorspacerV   s    r   fz_base_colorspacezFzColorspace.fz_base_colorspaceV  s     55d;;r#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_clamp_color()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_clamp_color(const float *in)` => float out

        	Clamp the samples in a color to the correct ranges for a
        	given colorspace.
        )r   FzColorspace_fz_clamp_colorr   r?  rl  s      r   fz_clamp_colorzFzColorspace.fz_clamp_color)V  s     11$SAAr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_colorspace_colorant()`.
        	Retrieve a the name for a colorant.

        	Returns a pointer with the same lifespan as the colorspace.
        )r   #FzColorspace_fz_colorspace_colorantrZ   s     r   fz_colorspace_colorantz#FzColorspace.fz_colorspace_colorant5V       99$BBr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_colorspace_device_n_has_cmyk()`.
        	True if DeviceN color space has cyan magenta yellow or black as
        	one of its colorants.
        )r   ,FzColorspace_fz_colorspace_device_n_has_cmykrV   s    r   fz_colorspace_device_n_has_cmykz,FzColorspace.fz_colorspace_device_n_has_cmyk>V  s     BB4HHr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_colorspace_device_n_has_only_cmyk()`.
        	True if DeviceN color space has only colorants from the CMYK set.
        )r   1FzColorspace_fz_colorspace_device_n_has_only_cmykrV   s    r   $fz_colorspace_device_n_has_only_cmykz1FzColorspace.fz_colorspace_device_n_has_only_cmykFV  s    
 GGMMr#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::fz_colorspace_is_cmyk()`.)r   "FzColorspace_fz_colorspace_is_cmykrV   s    r   fz_colorspace_is_cmykz"FzColorspace.fz_colorspace_is_cmykMV      88>>r#   c                 ,    t        j                  |       S z6Class-aware wrapper for `::fz_colorspace_is_device()`.)r   $FzColorspace_fz_colorspace_is_devicerV   s    r   fz_colorspace_is_devicez$FzColorspace.fz_colorspace_is_deviceQV      ::4@@r#   c                 ,    t        j                  |       S z;Class-aware wrapper for `::fz_colorspace_is_device_cmyk()`.)r   )FzColorspace_fz_colorspace_is_device_cmykrV   s    r   fz_colorspace_is_device_cmykz)FzColorspace.fz_colorspace_is_device_cmykUV      ??EEr#   c                 ,    t        j                  |       S z;Class-aware wrapper for `::fz_colorspace_is_device_gray()`.)r   )FzColorspace_fz_colorspace_is_device_grayrV   s    r   fz_colorspace_is_device_grayz)FzColorspace.fz_colorspace_is_device_grayYV  r-  r#   c                 ,    t        j                  |       S z8Class-aware wrapper for `::fz_colorspace_is_device_n()`.)r   &FzColorspace_fz_colorspace_is_device_nrV   s    r   fz_colorspace_is_device_nz&FzColorspace.fz_colorspace_is_device_n]V      <<TBBr#   c                 ,    t        j                  |       S )zy
        Class-aware wrapper for `::fz_colorspace_is_gray()`.
        	Tests for particular types of colorspaces
        )r   "FzColorspace_fz_colorspace_is_grayrV   s    r   fz_colorspace_is_grayz"FzColorspace.fz_colorspace_is_grayaV      
 88>>r#   c                 ,    t        j                  |       S z7Class-aware wrapper for `::fz_colorspace_is_indexed()`.)r   %FzColorspace_fz_colorspace_is_indexedrV   s    r   fz_colorspace_is_indexedz%FzColorspace.fz_colorspace_is_indexedhV      ;;DAAr#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::fz_colorspace_is_lab()`.)r   !FzColorspace_fz_colorspace_is_labrV   s    r   fz_colorspace_is_labz!FzColorspace.fz_colorspace_is_lablV  r,  r#   c                 ,    t        j                  |       S z7Class-aware wrapper for `::fz_colorspace_is_lab_icc()`.)r   %FzColorspace_fz_colorspace_is_lab_iccrV   s    r   fz_colorspace_is_lab_iccz%FzColorspace.fz_colorspace_is_lab_iccpV  r-  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::fz_colorspace_is_rgb()`.)r   !FzColorspace_fz_colorspace_is_rgbrV   s    r   fz_colorspace_is_rgbz!FzColorspace.fz_colorspace_is_rgbtV  r,  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_colorspace_is_subtractive()`.
        	True for CMYK, Separation and DeviceN colorspaces.
        )r   )FzColorspace_fz_colorspace_is_subtractiverV   s    r   fz_colorspace_is_subtractivez)FzColorspace.fz_colorspace_is_subtractivexV      
 ??EEr#   c                 ,    t        j                  |       S )zx
        Class-aware wrapper for `::fz_colorspace_n()`.
        	Query the number of colorants in a colorspace.
        )r   FzColorspace_fz_colorspace_nrV   s    r   fz_colorspace_nzFzColorspace.fz_colorspace_nV      
 22488r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_colorspace_name()`.
        	Query the name of a colorspace.

        	The returned string has the same lifespan as the colorspace
        	does. Caller should not free it.
        )r   FzColorspace_fz_colorspace_namerV   s    r   fz_colorspace_namezFzColorspace.fz_colorspace_nameV       55d;;r#   c                 0    t        j                  | ||      S )a#  
        Class-aware wrapper for `::fz_colorspace_name_colorant()`.
        	Assign a name for a given colorant in a colorspace.

        	Used while initially setting up a colorspace. The string is
        	copied into local storage, so need not be retained by the
        	caller.
        )r   (FzColorspace_fz_colorspace_name_colorant)r   r[   r   s      r   fz_colorspace_name_colorantz(FzColorspace.fz_colorspace_name_colorantV  s     >>tQMMr#   c                 ,    t        j                  |       S )zj
        Class-aware wrapper for `::fz_colorspace_type()`.
        	Query the type of colorspace.
        )r   FzColorspace_fz_colorspace_typerV   s    r   fz_colorspace_typezFzColorspace.fz_colorspace_typeV      
 55d;;r#   c                 6    t        j                  | |||||      S )a  
        Class-aware wrapper for `::fz_convert_color()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_convert_color(const float *sv, ::fz_colorspace *ds, ::fz_colorspace *is, ::fz_color_params params)` => float dv

        	Convert color values sv from colorspace ss into colorvalues dv
        	for colorspace ds, via an optional intervening space is,
        	respecting the given color_params.
        )r   FzColorspace_fz_convert_color)r   r  r  r  r  r~  s         r   fz_convert_colorzFzColorspace.fz_convert_colorV  s     33D"b"c6RRr#   c                 6    t        j                  | |||||      S )a  
        Class-aware wrapper for `::fz_convert_separation_colors()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_convert_separation_colors(const float *src_color, ::fz_separations *dst_seps, ::fz_colorspace *dst_cs, ::fz_color_params color_params)` => float dst_color

        	Convert a color given in terms of one colorspace,
        	to a color in terms of another colorspace/separations.
        )r   )FzColorspace_fz_convert_separation_colors)r   r  r  r  r  r  s         r   fz_convert_separation_colorsz)FzColorspace.fz_convert_separation_colorsV  s#     ??iQY[aclnz{{r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_is_valid_blend_colorspace()`.
        	Check to see that a colorspace is appropriate to be used as
        	a blending space (i.e. only grey, rgb or cmyk).
        )r   )FzColorspace_fz_is_valid_blend_colorspacerV   s    r   fz_is_valid_blend_colorspacez)FzColorspace.fz_is_valid_blend_colorspaceV  s     ??EEr#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_new_indexed_colorspace()`.
        	Create an indexed colorspace.

        	The supplied lookup table is high palette entries long. Each
        	entry is n bytes long, where n is given by the number of
        	colorants in the base colorspace, one byte per colorant.

        	Ownership of lookup is passed it; it will be freed on
        	destruction, so must be heap allocated.

        	The colorspace will keep an additional reference to the base
        	colorspace that will be dropped on destruction.

        	The returned reference should be dropped when it is finished
        	with.

        	Colorspaces are immutable once created.
        )r   &FzColorspace_fz_new_indexed_colorspace)r   r  r  s      r   fz_new_indexed_colorspacez&FzColorspace.fz_new_indexed_colorspaceV  s    ( <<T4PPr#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_new_pixmap()`.
        	Create a new pixmap, with its origin at (0,0)

        	cs: The colorspace to use for the pixmap, or NULL for an alpha
        	plane/mask.

        	w: The width of the pixmap (in pixels)

        	h: The height of the pixmap (in pixels)

        	seps: Details of separations.

        	alpha: 0 for no alpha, 1 for alpha.

        	Returns a pointer to the new pixmap. Throws exception on failure
        	to allocate.
        )r   FzColorspace_fz_new_pixmap)r   r7  r:  rI  rA  s        r   fz_new_pixmapzFzColorspace.fz_new_pixmapV  s    & 00q!T5IIr#   c                 2    t        j                  | |||      S )a+  
        Class-aware wrapper for `::fz_new_pixmap_with_bbox()`.
        	Create a pixmap of a given size, location and pixel format.

        	The bounding box specifies the size of the created pixmap and
        	where it will be located. The colorspace determines the number
        	of components per pixel. Alpha is always present. Pixmaps are
        	reference counted, so drop references using fz_drop_pixmap.

        	colorspace: Colorspace format used for the created pixmap. The
        	pixmap will keep a reference to the colorspace.

        	bbox: Bounding box specifying location/size of created pixmap.

        	seps: Details of separations.

        	alpha: 0 for no alpha, 1 for alpha.

        	Returns a pointer to the new pixmap. Throws exception on failure
        	to allocate.
        )r   $FzColorspace_fz_new_pixmap_with_bbox)r   r  rI  rA  s       r   fz_new_pixmap_with_bboxz$FzColorspace.fz_new_pixmap_with_bboxV  s    , ::4tUSSr#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_new_pixmap_with_bbox_and_data()`.
        	Create a pixmap of a given size, location and pixel format,
        	using the supplied data block.

        	The bounding box specifies the size of the created pixmap and
        	where it will be located. The colorspace determines the number
        	of components per pixel. Alpha is always present. Pixmaps are
        	reference counted, so drop references using fz_drop_pixmap.

        	colorspace: Colorspace format used for the created pixmap. The
        	pixmap will keep a reference to the colorspace.

        	rect: Bounding box specifying location/size of created pixmap.

        	seps: Details of separations.

        	alpha: Number of alpha planes (0 or 1).

        	samples: The data block to keep the samples in.

        	Returns a pointer to the new pixmap. Throws exception on failure
        	to allocate.
        )r   -FzColorspace_fz_new_pixmap_with_bbox_and_data)r   r  rI  rA  rT  s        r    fz_new_pixmap_with_bbox_and_dataz-FzColorspace.fz_new_pixmap_with_bbox_and_dataW  s     2 CCD$PTV[]deer#   c           	      8    t        j                  | ||||||      S )a  
        Class-aware wrapper for `::fz_new_pixmap_with_data()`.
        	Create a new pixmap, with its origin at
        	(0,0) using the supplied data block.

        	cs: The colorspace to use for the pixmap, or NULL for an alpha
        	plane/mask.

        	w: The width of the pixmap (in pixels)

        	h: The height of the pixmap (in pixels)

        	seps: Details of separations.

        	alpha: 0 for no alpha, 1 for alpha.

        	stride: The byte offset from the pixel data in a row to the
        	pixel data in the next row.

        	samples: The data block to keep the samples in.

        	Returns a pointer to the new pixmap. Throws exception on failure to
        	allocate.
        )r   $FzColorspace_fz_new_pixmap_with_data)r   r7  r:  rI  rA  rF  rT  s          r   fz_new_pixmap_with_dataz$FzColorspace.fz_new_pixmap_with_data!W  s#    2 ::4AtUTZ\cddr#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_is_tint_colorspace()`.)r   #FzColorspace_pdf_is_tint_colorspacerV   s    r   pdf_is_tint_colorspacez#FzColorspace.pdf_is_tint_colorspace<W      99$??r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_cal_gray_colorspace()`.
        		Create a calibrated gray colorspace.

        		The returned reference should be dropped when it is finished
        		with.

        		Colorspaces are immutable once created.


        |

        *Overload 2:*
         Constructor using `fz_new_cal_rgb_colorspace()`.
        		Create a calibrated rgb colorspace.

        		The returned reference should be dropped when it is finished
        		with.

        		Colorspaces are immutable once created.


        |

        *Overload 3:*
         Constructor using `fz_new_colorspace()`.
        		Creates a new colorspace instance and returns a reference.

        		No internal checking is done that the colorspace type (e.g.
        		CMYK) matches with the flags (e.g. FZ_COLORSPACE_HAS_CMYK) or
        		colorant count (n) or name.

        		The reference should be dropped when it is finished with.

        		Colorspaces are immutable once created (with the exception of
        		setting up colorant names for separation spaces).


        |

        *Overload 4:*
         Constructor using `fz_new_icc_colorspace()`.
        		Create a colorspace from an ICC profile supplied in buf.

        		Limited checking is done to ensure that the colorspace type is
        		appropriate for the supplied ICC profile.

        		An additional reference is taken to buf, which will be dropped
        		on destruction. Ownership is NOT passed in.

        		The returned reference should be dropped when it is finished
        		with.

        		Colorspaces are immutable once created.


        |

        *Overload 5:*
         Constructor using `fz_new_indexed_colorspace()`.
        		Create an indexed colorspace.

        		The supplied lookup table is high palette entries long. Each
        		entry is n bytes long, where n is given by the number of
        		colorants in the base colorspace, one byte per colorant.

        		Ownership of lookup is passed it; it will be freed on
        		destruction, so must be heap allocated.

        		The colorspace will keep an additional reference to the base
        		colorspace that will be dropped on destruction.

        		The returned reference should be dropped when it is finished
        		with.

        		Colorspaces are immutable once created.


        |

        *Overload 6:*
         Construct using one of: fz_device_gray(), fz_device_rgb(), fz_device_bgr(), fz_device_cmyk(), fz_device_lab().

        |

        *Overload 7:*
         Copy constructor using `fz_keep_colorspace()`.

        |

        *Overload 8:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 9:*
         Constructor using raw copy of pre-existing `::fz_colorspace`.
        N)r   FzColorspace_swiginitnew_FzColorspacer   s     r   rS   zFzColorspace.__init__@W  s     H 	$$T6+B+BD+IJr#   c                 ,    t        j                  |       S r+  )r   FzColorspace_m_internal_valuerV   s    r   r+  zFzColorspace.m_internal_valueW  rK,  r#   c                 ,    t        j                  |       S r-   )r   FzColorspace___nonzero__rV   s    r   r   zFzColorspace.__nonzero__W  r  r#   r+  N)<r   r   r6   r7   r   r   r   r   r   FzColorspace_Fixed_GRAY
Fixed_GRAYFzColorspace_Fixed_RGB	Fixed_RGBFzColorspace_Fixed_BGR	Fixed_BGRFzColorspace_Fixed_CMYK
Fixed_CMYKFzColorspace_Fixed_LAB	Fixed_LABr-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  rS   delete_FzColorspacer   r+  r   r   FzColorspace_m_internal_getFzColorspace_m_internal_setr+   FzColorspace_s_num_instances_get FzColorspace_s_num_instances_setr+  r$   r#   r   r-  r-  V  s]   
 -/IOdeGH//J--I--I//J--I<
BCIN?AFFC?B>B>F9<	N<S
|FQ,J*T0f6e6@dKJ 11:5H &<<f>`>`  gF  GJvFFHoHopOr#   r-  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzColorspaceContextzMWrapper class for struct `fz_colorspace_context`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzColorspaceContext.<lambda>W  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzColorspaceContext.<lambda>W  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_colorspace_context`.
        N)r   FzColorspaceContext_swiginitnew_FzColorspaceContextr   s     r   rS   zFzColorspaceContext.__init__W        	++D&2P2PRV2WXr#   c                 ,    t        j                  |       S r+  )r   $FzColorspaceContext_m_internal_valuerV   s    r   r+  z$FzColorspaceContext.m_internal_valueW  r-  r#   c                 ,    t        j                  |       S r-   )r   FzColorspaceContext___nonzero__rV   s    r   r   zFzColorspaceContext.__nonzero__W  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzColorspaceContextr   r+  r   r   "FzColorspaceContext_m_internal_get"FzColorspaceContext_m_internal_setr+  'FzColorspaceContext_s_num_instances_get'FzColorspaceContext_s_num_instances_setr+  r$   r#   r   r.  r.  W  s{    X-/IOdeGH
Y 88A<H &CCVEnEn  uT  UJvMMvO}O}~Or#   r.  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zej                  Zd Zd ZeZ eej&                  ej(                  d      Z eej,                  ej.                        Zy)FzCompressedBufferz
    Wrapper class for struct `fz_compressed_buffer`.
    Buffers of compressed data; typically for the source data
    for images.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzCompressedBuffer.<lambda>W  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzCompressedBuffer.<lambda>W  rL   r#   rM   rN   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_compressed_buffer_size()`.
        	Return the storage size used for a buffer and its data.
        	Used in implementing store handling.

        	Never throws exceptions.
        )r   ,FzCompressedBuffer_fz_compressed_buffer_sizerV   s    r   fz_compressed_buffer_sizez,FzCompressedBuffer.fz_compressed_buffer_sizeW  s     BB4HHr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_open_compressed_buffer()`.
        	Open a stream to read the decompressed version of a buffer.
        )r   ,FzCompressedBuffer_fz_open_compressed_bufferrV   s    r   fz_open_compressed_bufferz,FzCompressedBuffer.fz_open_compressed_bufferW  s    
 BB4HHr#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_open_image_decomp_stream_from_buffer()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_open_image_decomp_stream_from_buffer()` => `(fz_stream *, int l2factor)`

        	Open a stream to read the decompressed version of a buffer,
        	with optional log2 subsampling.

        	l2factor = NULL for no subsampling, or a pointer to an integer
        	containing the maximum log2 subsample factor acceptable (0 =
        	none, 1 = halve dimensions, 2 = quarter dimensions etc). If
        	non-NULL, then *l2factor will be updated on exit with the actual
        	log2 subsample factor achieved.
        )r   :FzCompressedBuffer_fz_open_image_decomp_stream_from_buffer)r   r\  s     r   'fz_open_image_decomp_stream_from_bufferz:FzCompressedBuffer.fz_open_image_decomp_stream_from_bufferW  s      PPQUW_``r#   c                 ,    t        j                  |       S )z7Returns wrapper class for fz_buffer *m_internal.buffer.)r   FzCompressedBuffer_get_bufferrV   s    r   
get_bufferzFzCompressedBuffer.get_bufferX  rK,  r#   c                 P    t        j                  | t        j                  |        y)aw  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_compressed_buffer()`.
        		Create a new, UNKNOWN format, compressed_buffer.


        |

        *Overload 2:*
         Copy constructor using `fz_keep_compressed_buffer()`.

        |

        *Overload 3:*
         Constructor using raw copy of pre-existing `::fz_compressed_buffer`.
        N)r   FzCompressedBuffer_swiginitnew_FzCompressedBufferr   s     r   rS   zFzCompressedBuffer.__init__X  s     " 	**41N1NPT1UVr#   c                 ,    t        j                  |       S r+  )r   #FzCompressedBuffer_m_internal_valuerV   s    r   r+  z#FzCompressedBuffer.m_internal_valueX  r-  r#   c                 ,    t        j                  |       S r-   )r   FzCompressedBuffer___nonzero__rV   s    r   r   zFzCompressedBuffer.__nonzero__X  r'  r#   r+  N)r   r   r6   r7   r   r   r   r   r+.  r..  r1.  r4.  rS   r   delete_FzCompressedBufferr   r+  r   r   !FzCompressedBuffer_m_internal_get!FzCompressedBuffer_m_internal_setr+  &FzCompressedBuffer_s_num_instances_get&FzCompressedBuffer_s_num_instances_setr+  r$   r#   r   r&.  r&.  W  s     -/IOdeGHIIa$:W$ 77@;H &BBFDlDl  sR  SJvLLfN{N{|Or#   r&.  c                       e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Zd Zd	 ZeZ ee
j                   e
j"                  d
      Z ee
j&                  e
j(                        Zy)FzCompressedImagezKWrapper class for struct `fz_compressed_image`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzCompressedImage.<lambda>,X  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzCompressedImage.<lambda>,X  rL   r#   rM   rN   c                 .    t        j                  | |      S z=Class-aware wrapper for `::fz_set_compressed_image_buffer()`.)r   0FzCompressedImage_fz_set_compressed_image_bufferr   rb  s     r   fz_set_compressed_image_bufferz0FzCompressedImage.fz_set_compressed_image_buffer/X  s    FFtSQQr#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_compressed_image`.
        N)r   FzCompressedImage_swiginitnew_FzCompressedImager   s     r   rS   zFzCompressedImage.__init__3X       	))$0L0Ld0STr#   c                 ,    t        j                  |       S r+  )r   "FzCompressedImage_m_internal_valuerV   s    r   r+  z"FzCompressedImage.m_internal_value@X  r-  r#   c                 ,    t        j                  |       S r-   )r   FzCompressedImage___nonzero__rV   s    r   r   zFzCompressedImage.__nonzero__DX  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rI.  rS   r   delete_FzCompressedImager   r+  r   r    FzCompressedImage_m_internal_get FzCompressedImage_m_internal_setr+  %FzCompressedImage_s_num_instances_get%FzCompressedImage_s_num_instances_setr+  r$   r#   r   rB.  rB.  )X  s    V-/IOdeGHR
U 66?:H &AA6CjCj  qP  QJvKKVMyMyzOr#   rB.  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzCompressionParamsz
    Wrapper class for struct `fz_compression_params`. Not copyable or assignable.
    Compression parameters used for buffers of compressed data;
    typically for the source data for images.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzCompressionParams.<lambda>UX  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzCompressionParams.<lambda>UX  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_compression_params`.
        N)r   FzCompressionParams_swiginitnew_FzCompressionParamsr   s     r   rS   zFzCompressionParams.__init__XX  r.  r#   c                 ,    t        j                  |       S r+  )r   $FzCompressionParams_m_internal_valuerV   s    r   r+  z$FzCompressionParams.m_internal_valueeX  r-  r#   c                 ,    t        j                  |       S r-   )r   FzCompressionParams___nonzero__rV   s    r   r   zFzCompressionParams.__nonzero__iX  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzCompressionParamsr   r+  r   r   "FzCompressionParams_m_internal_get"FzCompressionParams_m_internal_setr+  'FzCompressionParams_s_num_instances_get'FzCompressionParams_s_num_instances_setr+  r$   r#   r   rX.  rX.  NX  s     -/IOdeGH
Y 88A<H &CCVEnEn  uT  UJvMMvO}O}~Or#   rX.  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)	FzContextzBWrapper class for struct `fz_context`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzContext.<lambda>vX  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzContext.<lambda>vX  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)a"  
        *Overload 1:*
        == Constructors.  Constructor using `fz_new_context_imp()`.

        |

        *Overload 2:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_context`.
        N)r   FzContext_swiginitnew_FzContextr   s     r   rS   zFzContext.__init__yX       	!!$(<(<d(CDr#   c                 ,    t        j                  |       S r+  )r   FzContext_m_internal_valuerV   s    r   r+  zFzContext.m_internal_valueX  r,  r#   c                 ,    t        j                  |       S r-   )r   FzContext___nonzero__rV   s    r   r   zFzContext.__nonzero__X  r\  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzContextr   r+  r   r   FzContext_m_internal_getFzContext_m_internal_setr+  FzContext_s_num_instances_getFzContext_s_num_instances_setr+  r$   r#   r   rh.  rh.  sX  sv    M-/IOdeGHE  ..72H &996;Z;Z`  AJvCCVEiEijOr#   rh.  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zej"                  Z eej&                  ej(                        Z eej,                  ej.                  d      Zd Zd Zd Zy)FzCookiea  
    Wrapper class for struct `fz_cookie`. Not copyable or assignable.
    Provide two-way communication between application and library.
    Intended for multi-threaded applications where one thread is
    rendering pages and another thread wants to read progress
    feedback or abort a job that takes a long time to finish. The
    communication is unsynchronized without locking.

    abort: The application should set this field to 0 before
    calling fz_run_page to render a page. At any point when the
    page is being rendered the application my set this field to 1
    which will cause the rendering to finish soon. This field is
    checked periodically when the page is rendered, but exactly
    when is not known, therefore there is no upper bound on
    exactly when the rendering will abort. If the application
    did not provide a set of locks to fz_new_context, it must also
    await the completion of fz_run_page before issuing another
    call to fz_run_page. Note that once the application has set
    this field to 1 after it called fz_run_page it may not change
    the value again.

    progress: Communicates rendering progress back to the
    application and is read only. Increments as a page is being
    rendered. The value starts out at 0 and is limited to less
    than or equal to progress_max, unless progress_max is -1.

    progress_max: Communicates the known upper bound of rendering
    back to the application and is read only. The maximum value
    that the progress field may take. If there is no known upper
    bound on how long the rendering may take this value is -1 and
    progress is not limited. Note that the value of progress_max
    may change from -1 to a positive value once an upper bound is
    known, so take this into consideration when comparing the
    value of progress to that of progress_max.

    errors: count of errors during current rendering.

    incomplete: Initially should be set to 0. Will be set to
    non-zero if a TRYLATER error is thrown during rendering.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzCookie.<lambda>X  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzCookie.<lambda>X  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y)z6Default constructor sets all fields to default values.N)r   FzCookie_swiginitnew_FzCookierV   s    r   rS   zFzCookie.__init__X  s      v':':'<=r#   c                 ,    t        j                  |       S )zSets m_internal.abort to 1.)r   FzCookie_set_abortrV   s    r   	set_abortzFzCookie.set_abortX      ((..r#   c                 .    t        j                  | |      S )z(Increments m_internal.errors by <delta>.)r   FzCookie_increment_errors)r   deltas     r   increment_errorszFzCookie.increment_errorsX      //e<<r#   c                 ,    t        j                  |       S r-   )r   FzCookie_abortrV   s    r   r	  zFzCookie.abortX  r   r#   c                 ,    t        j                  |       S r-   )r   FzCookie_progressrV   s    r   r	  zFzCookie.progressX  r   r#   c                 ,    t        j                  |       S r-   )r   FzCookie_progress_maxrV   s    r   r	  zFzCookie.progress_maxX  r\  r#   c                 ,    t        j                  |       S r-   )r   FzCookie_errorsrV   s    r   r	  zFzCookie.errorsX  r   r#   c                 ,    t        j                  |       S r-   )r   FzCookie_incompleterV   s    r   r	  zFzCookie.incompleteX  rl   r#   Wrapped data is held by value.c                 ,    t        j                  |       S rk+  )r   FzCookie_to_stringrV   s    r   r[+  zFzCookie.to_stringX  r.  r#   c                 .    t        j                  | |      S ro+  )r   FzCookie___eq__rq+  s     r   r}   zFzCookie.__eq__X      %%dC00r#   c                 .    t        j                  | |      S ro+  )r   FzCookie___ne__rq+  s     r   r   zFzCookie.__ne__X  r.  r#   N)r   r   r6   r7   r   r   r   r   rS   r.  r.  r	  r	  r	  r	  r	  r   delete_FzCookier   FzCookie_m_internal_getFzCookie_m_internal_setr+  FzCookie_s_num_instances_getFzCookie_s_num_instances_setr+  r[+  r}   r   r$   r#   r   ry.  ry.  X  s    'R -/IOdeGH>/=+.2,0--&88&:X:XYJvBBFDgDg  nS  TO/11r#   ry.  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zej(                  Zd Zd ZeZ eej2                  ej4                  d      Z eej8                  ej:                        Zy)FzDefaultColorspaceszg
    Wrapper class for struct `fz_default_colorspaces`.
    Structure to hold default colorspaces.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzDefaultColorspaces.<lambda>X  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzDefaultColorspaces.<lambda>X  rL   r#   rM   rN   c                 ,    t        j                  |       S )a'  
        Class-aware wrapper for `::fz_clone_default_colorspaces()`.
        	Returns a reference to a newly cloned default colorspaces
        	structure.

        	The new clone may safely be altered without fear of race
        	conditions as the caller is the only reference holder.
        )r   1FzDefaultColorspaces_fz_clone_default_colorspacesrV   s    r   fz_clone_default_colorspacesz1FzDefaultColorspaces.fz_clone_default_colorspacesX  s     GGMMr#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::fz_default_cmyk()`.)r   $FzDefaultColorspaces_fz_default_cmykrV   s    r   fz_default_cmykz$FzDefaultColorspaces.fz_default_cmykY  r-  r#   c                 ,    t        j                  |       S )ah  
        Class-aware wrapper for `::fz_default_gray()`.
        	Retrieve default colorspaces (typically page local).

        	If default_cs is non NULL, the default is retrieved from there,
        	otherwise the global default is retrieved.

        	These return borrowed references that should not be dropped,
        	unless they are kept first.
        )r   $FzDefaultColorspaces_fz_default_grayrV   s    r   fz_default_grayz$FzDefaultColorspaces.fz_default_gray
Y  s     ::4@@r#   c                 ,    t        j                  |       S z7Class-aware wrapper for `::fz_default_output_intent()`.)r   -FzDefaultColorspaces_fz_default_output_intentrV   s    r   fz_default_output_intentz-FzDefaultColorspaces.fz_default_output_intentY      CCDIIr#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::fz_default_rgb()`.)r   #FzDefaultColorspaces_fz_default_rgbrV   s    r   fz_default_rgbz#FzDefaultColorspaces.fz_default_rgbY  r-  r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::fz_set_default_cmyk()`.)r   (FzDefaultColorspaces_fz_set_default_cmykr   rM  s     r   fz_set_default_cmykz(FzDefaultColorspaces.fz_set_default_cmykY      >>tRHHr#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_set_default_gray()`.
        	Set new defaults within the default colorspace structure.

        	New references are taken to the new default, and references to
        	the old defaults dropped.

        	Never throws exceptions.
        )r   (FzDefaultColorspaces_fz_set_default_grayr.  s     r   fz_set_default_grayz(FzDefaultColorspaces.fz_set_default_gray#Y  s     >>tRHHr#   c                 .    t        j                  | |      S z;Class-aware wrapper for `::fz_set_default_output_intent()`.)r   1FzDefaultColorspaces_fz_set_default_output_intentr.  s     r   fz_set_default_output_intentz1FzDefaultColorspaces.fz_set_default_output_intent/Y  s    GGbQQr#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::fz_set_default_rgb()`.)r   'FzDefaultColorspaces_fz_set_default_rgbr.  s     r   fz_set_default_rgbz'FzDefaultColorspaces.fz_set_default_rgb3Y  s    ==dBGGr#   c                 .    t        j                  | |      S z=Class-aware wrapper for `::pdf_update_default_colorspaces()`.)r   3FzDefaultColorspaces_pdf_update_default_colorspacesr   r#  s     r   pdf_update_default_colorspacesz3FzDefaultColorspaces.pdf_update_default_colorspaces7Y  s    II$PSTTr#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_default_colorspaces()`.
        		Create a new default colorspace structure with values inherited
        		from the context, and return a reference to it.

        		These can be overridden using fz_set_default_xxxx.

        		These should not be overridden while more than one caller has
        		the reference for fear of race conditions.

        		The caller should drop this reference once finished with it.


        |

        *Overload 2:*
         Copy constructor using `fz_keep_default_colorspaces()`.

        |

        *Overload 3:*
         Constructor using raw copy of pre-existing `::fz_default_colorspaces`.
        N)r   FzDefaultColorspaces_swiginitnew_FzDefaultColorspacesr   s     r   rS   zFzDefaultColorspaces.__init__;Y  s     2 	,,T63R3RTX3YZr#   c                 ,    t        j                  |       S r+  )r   %FzDefaultColorspaces_m_internal_valuerV   s    r   r+  z%FzDefaultColorspaces.m_internal_valueWY  r-  r#   c                 ,    t        j                  |       S r-   )r    FzDefaultColorspaces___nonzero__rV   s    r   r   z FzDefaultColorspaces.__nonzero__[Y  r  r#   r+  N)r   r   r6   r7   r   r   r   r   r.  r.  r.  r.  r.  r.  r.  r.  r.  r.  rS   r   delete_FzDefaultColorspacesr   r+  r   r   #FzDefaultColorspaces_m_internal_get#FzDefaultColorspaces_m_internal_setr+  (FzDefaultColorspaces_s_num_instances_get(FzDefaultColorspaces_s_num_instances_setr+  r$   r#   r   r.  r.  X  s    
 -/IOdeGH	NAAJ@I
IRHU[4 99B=H &DDfFpFp  wV  WJvNNPVPP  AOr#   r.  c                      e Zd ZdZ ed d d      ZeZed        Z	ed        Z
d Zd	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d Z"d  Z#d! Z$d" Z%d# Z&d$ Z'd% Z(d& Z)d' Z*d( Z+d) Z,d* Z-d+ Z.d, Z/e0jb                  Z2d- Z3d. Z4e4Z5 ee0jl                  e0jn                  d/      Z8 ee0jr                  e0jt                        Z;y0)1FzDevicea6  
    Wrapper class for struct `fz_device`.
    The different format handlers (pdf, xps etc) interpret pages to
    a device. These devices can then process the stream of calls
    they receive in various ways:
    	The trace device outputs debugging information for the calls.
    	The draw device will render them.
    	The list device stores them in a list to play back later.
    	The text device performs text extraction and searching.
    	The bbox device calculates the bounding box for the page.
    Other devices can (and will) be written in the future.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzDevice.<lambda>sY  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzDevice.<lambda>sY  rL   r#   rM   rN   c                 ,    t        j                  |       S zz
        Class-aware wrapper for `::fz_new_xmltext_device()`.
        	Create a device to output raw information.
        )r   FzDevice_fz_new_xmltext_devicerI  s    r   fz_new_xmltext_devicezFzDevice.fz_new_xmltext_devicevY  s     44S99r#   c                 .    t        j                  | |      S z7Class-aware wrapper for `::fz_new_draw_device_type3()`.)r   !FzDevice_fz_new_draw_device_type3r  s     r   fz_new_draw_device_type3z!FzDevice.fz_new_draw_device_type3~Y  s     77	4HHr#   c           	      8    t        j                  | ||||||      S z-Class-aware wrapper for `::fz_begin_group()`.)r   FzDevice_fz_begin_group)r   r  rM  r  r  r  rA  s          r   fz_begin_groupzFzDevice.fz_begin_groupY  s!    --dD"hR[]bccr#   c                 .    t        j                  | |      S z-Class-aware wrapper for `::fz_begin_layer()`.)r   FzDevice_fz_begin_layer)r   r  s     r   fz_begin_layerzFzDevice.fz_begin_layerY  s    --dJ??r#   c                 6    t        j                  | |||||      S z,Class-aware wrapper for `::fz_begin_mask()`.)r   FzDevice_fz_begin_mask)r   r  r  r  r  r  s         r   fz_begin_maskzFzDevice.fz_begin_maskY  s    ,,T4ZQSUabbr#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::fz_begin_metatext()`.)r   FzDevice_fz_begin_metatext)r   r  r
  s      r   fz_begin_metatextzFzDevice.fz_begin_metatextY      00tTBBr#   c                 2    t        j                  | |||      S z1Class-aware wrapper for `::fz_begin_structure()`.)r   FzDevice_fz_begin_structure)r   r
  r
  r  s       r   fz_begin_structurezFzDevice.fz_begin_structureY  s    11$#sKKr#   c                 6    t        j                  | |||||      S z,Class-aware wrapper for `::fz_begin_tile()`.)r   FzDevice_fz_begin_tile)r   r  r  r  r  rW  s         r   fz_begin_tilezFzDevice.fz_begin_tileY  s    ,,T4ueSQQr#   c           	      8    t        j                  | ||||||      S z/Class-aware wrapper for `::fz_begin_tile_id()`.)r   FzDevice_fz_begin_tile_id)r   r  r  r  r  rW  rM  s          r   fz_begin_tile_idzFzDevice.fz_begin_tile_idY  s!    //dD%PSUWXXr#   c                 2    t        j                  | |||      S z1Class-aware wrapper for `::fz_clip_image_mask()`.)r   FzDevice_fz_clip_image_mask)r   r  rW  rh	  s       r   fz_clip_image_maskzFzDevice.fz_clip_image_maskY  s    11$sGLLr#   c                 4    t        j                  | ||||      S z+Class-aware wrapper for `::fz_clip_path()`.)r   FzDevice_fz_clip_path)r   r  rj  rW  rh	  s        r   fz_clip_pathzFzDevice.fz_clip_pathY  s    ++D$#wOOr#   c                 4    t        j                  | ||||      S z2Class-aware wrapper for `::fz_clip_stroke_path()`.)r   FzDevice_fz_clip_stroke_path)r   r  rV  rW  rh	  s        r   fz_clip_stroke_pathzFzDevice.fz_clip_stroke_pathY      224vsGTTr#   c                 4    t        j                  | ||||      S z2Class-aware wrapper for `::fz_clip_stroke_text()`.)r   FzDevice_fz_clip_stroke_text)r   r
  rV  rW  rh	  s        r   fz_clip_stroke_textzFzDevice.fz_clip_stroke_textY  r/  r#   c                 2    t        j                  | |||      S z+Class-aware wrapper for `::fz_clip_text()`.)r   FzDevice_fz_clip_text)r   r
  rW  rh	  s       r   fz_clip_textzFzDevice.fz_clip_textY  s    ++D$WEEr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_close_device()`.
        	Signal the end of input, and flush any buffered output.
        	This is NOT called implicitly on fz_drop_device. This
        	may throw exceptions.
        )r   FzDevice_fz_close_devicerV   s    r   fz_close_devicezFzDevice.fz_close_deviceY  rp,  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_device_current_scissor()`.
        	Find current scissor region as tracked by the device.
        )r   "FzDevice_fz_device_current_scissorrV   s    r   fz_device_current_scissorz"FzDevice.fz_device_current_scissorY  r-  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_disable_device_hints()`.
        	Disable (clear) hint bits within the hint bitfield for a device.
        )r    FzDevice_fz_disable_device_hintsr   ry	  s     r   fz_disable_device_hintsz FzDevice.fz_disable_device_hintsY  s    
 66tUCCr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_enable_device_hints()`.
        	Enable (set) hint bits within the hint bitfield for a device.
        )r   FzDevice_fz_enable_device_hintsr/  s     r   fz_enable_device_hintszFzDevice.fz_enable_device_hintsY  s    
 55dEBBr#   c                 ,    t        j                  |       S z+Class-aware wrapper for `::fz_end_group()`.)r   FzDevice_fz_end_grouprV   s    r   fz_end_groupzFzDevice.fz_end_groupY  rm+  r#   c                 ,    t        j                  |       S z+Class-aware wrapper for `::fz_end_layer()`.)r   FzDevice_fz_end_layerrV   s    r   fz_end_layerzFzDevice.fz_end_layerY  rm+  r#   c                 ,    t        j                  |       S z*Class-aware wrapper for `::fz_end_mask()`.)r   FzDevice_fz_end_maskrV   s    r   fz_end_maskzFzDevice.fz_end_maskY      **400r#   c                 .    t        j                  | |      S z-Class-aware wrapper for `::fz_end_mask_tr()`.)r   FzDevice_fz_end_mask_tr)r   r  s     r   fz_end_mask_trzFzDevice.fz_end_mask_trY  s    --dB77r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::fz_end_metatext()`.)r   FzDevice_fz_end_metatextrV   s    r   fz_end_metatextzFzDevice.fz_end_metatextY      ..t44r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::fz_end_structure()`.)r   FzDevice_fz_end_structurerV   s    r   fz_end_structurezFzDevice.fz_end_structureY  r,  r#   c                 ,    t        j                  |       S z*Class-aware wrapper for `::fz_end_tile()`.)r   FzDevice_fz_end_tilerV   s    r   fz_end_tilezFzDevice.fz_end_tileY  r//  r#   c                 4    t        j                  | ||||      S z,Class-aware wrapper for `::fz_fill_image()`.)r   FzDevice_fz_fill_image)r   r  rW  rA  r  s        r   fz_fill_imagezFzDevice.fz_fill_imageY      ,,T5#ulSSr#   c           	      8    t        j                  | ||||||      S z1Class-aware wrapper for `::fz_fill_image_mask()`.)r   FzDevice_fz_fill_image_mask)r   r  rW  r  r  rA  r  s          r   fz_fill_image_maskzFzDevice.fz_fill_image_maskY  s"    11$sJPUW\^jkkr#   c           
      :    t        j                  | |||||||      S )zx
        Class-aware wrapper for `::fz_fill_path()`.
        	Device calls; graphics primitives and containers.
        )r   FzDevice_fz_fill_path)r   r  rj  rW  r  r  rA  r  s           r   fz_fill_pathzFzDevice.fz_fill_pathY  s&    
 ++D$#zSXZ_amnnr#   c                 4    t        j                  | ||||      S z,Class-aware wrapper for `::fz_fill_shade()`.)r   FzDevice_fz_fill_shade)r   r  rW  rA  r  s        r   fz_fill_shadezFzDevice.fz_fill_shadeY  rE/  r#   c           	      8    t        j                  | ||||||      S z+Class-aware wrapper for `::fz_fill_text()`.)r   FzDevice_fz_fill_text)r   r
  rW  r  r  rA  r  s          r   fz_fill_textzFzDevice.fz_fill_text Z  s!    ++D$ZPUWcddr#   c                 0    t        j                  | ||      S z-Class-aware wrapper for `::fz_ignore_text()`.)r   FzDevice_fz_ignore_text)r   r
  rW  s      r   fz_ignore_textzFzDevice.fz_ignore_textZ      --dD#>>r#   c           
      :    t        j                  | |||||||      S )aV  
        Class-aware wrapper for `::fz_new_ocr_device()`.
        	Create a device to OCR the text on the page.

        	Renders the page internally to a bitmap that is then OCRd. Text
        	is then forwarded onto the target device.

        	target: The target device to receive the OCRd text.

        	ctm: The transform to apply to the mediabox to get the size for
        	the rendered page image. Also used to calculate the resolution
        	for the page image. In general, this will be the same as the CTM
        	that you pass to fz_run_page (or fz_run_display_list) to feed
        	this device.

        	mediabox: The mediabox (in points). Combined with the CTM to get
        	the bounds of the pixmap used internally for the rendered page
        	image.

        	with_list: If with_list is false, then all non-text operations
        	are forwarded instantly to the target device. This results in
        	the target device seeing all NON-text operations, followed by
        	all the text operations (derived from OCR).

        	If with_list is true, then all the marking operations are
        	collated into a display list which is then replayed to the
        	target device at the end.

        	language: NULL (for "eng"), or a pointer to a string to describe
        	the languages/scripts that should be used for OCR (e.g.
        	"eng,ara").

        	datadir: NULL (for ""), or a pointer to a path string otherwise
        	provided to Tesseract in the TESSDATA_PREFIX environment variable.

        	progress: NULL, or function to be called periodically to indicate
        	progress. Return 0 to continue, or 1 to cancel. progress_arg is
        	returned as the void *. The int is a value between 0 and 100 to
        	indicate progress.

        	progress_arg: A void * value to be parrotted back to the progress
        	function.
        )r   FzDevice_fz_new_ocr_device)r   rW  rq
  r  r0	  r  r	  r  s           r   fz_new_ocr_devicezFzDevice.fz_new_ocr_deviceZ  s(    X 00sHiQY[bdlnz{{r#   c                 ,    t        j                  |       S z*Class-aware wrapper for `::fz_pop_clip()`.)r   FzDevice_fz_pop_cliprV   s    r   fz_pop_clipzFzDevice.fz_pop_clip6Z  r//  r#   c                 0    t        j                  | ||      S z.Class-aware wrapper for `::fz_render_flags()`.)r   FzDevice_fz_render_flags)r   r!   r   s      r   fz_render_flagszFzDevice.fz_render_flags:Z  s    ..tS%@@r#   c                 6    t        j                  | |||||      S )a  
        Class-aware wrapper for `::fz_render_t3_glyph_direct()`.
        	Nasty PDF interpreter specific hernia, required to allow the
        	interpreter to replay glyphs from a type3 font directly into
        	the target device.

        	This is only used in exceptional circumstances (such as type3
        	glyphs that inherit current graphics state, or nested type3
        	glyphs).
        )r   "FzDevice_fz_render_t3_glyph_direct)r   r  r	  r$	  r  r  s         r   fz_render_t3_glyph_directz"FzDevice.fz_render_t3_glyph_direct>Z  s      88tS#vW]^^r#   c                 .    t        j                  | |      S z9Class-aware wrapper for `::fz_set_default_colorspaces()`.)r   #FzDevice_fz_set_default_colorspaces)r   r  s     r   fz_set_default_colorspacesz#FzDevice.fz_set_default_colorspacesKZ      99$
KKr#   c           
      :    t        j                  | |||||||      S z-Class-aware wrapper for `::fz_stroke_path()`.)r   FzDevice_fz_stroke_path)r   r  rV  rW  r  r  rA  r  s           r   fz_stroke_pathzFzDevice.fz_stroke_pathOZ  $    --dD&#zSXZ_amnnr#   c           
      :    t        j                  | |||||||      S z-Class-aware wrapper for `::fz_stroke_text()`.)r   FzDevice_fz_stroke_text)r   r
  rV  rW  r  r  rA  r  s           r   fz_stroke_textzFzDevice.fz_stroke_textSZ  rq/  r#   c                 P    t        j                  | t        j                  |        y)a%  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_bbox_device()`.
        		Create a device to compute the bounding
        		box of all marks on a page.

        		The returned bounding box will be the union of all bounding
        		boxes of all objects on a page.


        |

        *Overload 2:*
         Constructor using `fz_new_device_of_size()`.
        		Devices are created by calls to device implementations, for
        		instance: foo_new_device(). These will be implemented by calling
        		fz_new_derived_device(ctx, foo_device) where foo_device is a
        		structure "derived from" fz_device, for instance
        		typedef struct { fz_device base;  ...extras...} foo_device;


        |

        *Overload 3:*
         Constructor using `fz_new_draw_device()`.
        		Create a device to draw on a pixmap.

        		dest: Target pixmap for the draw device. See fz_new_pixmap*
        		for how to obtain a pixmap. The pixmap is not cleared by the
        		draw device, see fz_clear_pixmap* for how to clear it prior to
        		calling fz_new_draw_device. Free the device by calling
        		fz_drop_device.

        		transform: Transform from user space in points to device space
        		in pixels.


        |

        *Overload 4:*
         Constructor using `fz_new_draw_device_with_bbox()`.
        		Create a device to draw on a pixmap.

        		dest: Target pixmap for the draw device. See fz_new_pixmap*
        		for how to obtain a pixmap. The pixmap is not cleared by the
        		draw device, see fz_clear_pixmap* for how to clear it prior to
        		calling fz_new_draw_device. Free the device by calling
        		fz_drop_device.

        		transform: Transform from user space in points to device space
        		in pixels.

        		clip: Bounding box to restrict any marking operations of the
        		draw device.


        |

        *Overload 5:*
         Constructor using `fz_new_draw_device_with_bbox_proof()`.
        		Create a device to draw on a pixmap.

        		dest: Target pixmap for the draw device. See fz_new_pixmap*
        		for how to obtain a pixmap. The pixmap is not cleared by the
        		draw device, see fz_clear_pixmap* for how to clear it prior to
        		calling fz_new_draw_device. Free the device by calling
        		fz_drop_device.

        		transform: Transform from user space in points to device space
        		in pixels.

        		clip: Bounding box to restrict any marking operations of the
        		draw device.

        		proof_cs: Color space to render to prior to mapping to color
        		space defined by pixmap.


        |

        *Overload 6:*
         Constructor using `fz_new_draw_device_with_options()`.
        		Create a new pixmap and draw device, using the specified options.

        		options: Options to configure the draw device, and choose the
        		resolution and colorspace.

        		mediabox: The bounds of the page in points.

        		pixmap: An out parameter containing the newly created pixmap.


        |

        *Overload 7:*
         Constructor using `fz_new_draw_device_with_proof()`.
        		Create a device to draw on a pixmap.

        		dest: Target pixmap for the draw device. See fz_new_pixmap*
        		for how to obtain a pixmap. The pixmap is not cleared by the
        		draw device, see fz_clear_pixmap* for how to clear it prior to
        		calling fz_new_draw_device. Free the device by calling
        		fz_drop_device.

        		transform: Transform from user space in points to device space
        		in pixels.

        		proof_cs: Intermediate color space to map though when mapping to
        		color space defined by pixmap.


        |

        *Overload 8:*
         Constructor using `fz_new_list_device()`.
        		Create a rendering device for a display list.

        		When the device is rendering a page it will populate the
        		display list with drawing commands (text, images, etc.). The
        		display list can later be reused to render a page many times
        		without having to re-interpret the page from the document file
        		for each rendering. Once the device is no longer needed, free
        		it with fz_drop_device.

        		list: A display list that the list device takes a reference to.


        |

        *Overload 9:*
         Constructor using `fz_new_ocr_device()`.
        		Create a device to OCR the text on the page.

        		Renders the page internally to a bitmap that is then OCRd. Text
        		is then forwarded onto the target device.

        		target: The target device to receive the OCRd text.

        		ctm: The transform to apply to the mediabox to get the size for
        		the rendered page image. Also used to calculate the resolution
        		for the page image. In general, this will be the same as the CTM
        		that you pass to fz_run_page (or fz_run_display_list) to feed
        		this device.

        		mediabox: The mediabox (in points). Combined with the CTM to get
        		the bounds of the pixmap used internally for the rendered page
        		image.

        		with_list: If with_list is false, then all non-text operations
        		are forwarded instantly to the target device. This results in
        		the target device seeing all NON-text operations, followed by
        		all the text operations (derived from OCR).

        		If with_list is true, then all the marking operations are
        		collated into a display list which is then replayed to the
        		target device at the end.

        		language: NULL (for "eng"), or a pointer to a string to describe
        		the languages/scripts that should be used for OCR (e.g.
        		"eng,ara").

        		datadir: NULL (for ""), or a pointer to a path string otherwise
        		provided to Tesseract in the TESSDATA_PREFIX environment variable.

        		progress: NULL, or function to be called periodically to indicate
        		progress. Return 0 to continue, or 1 to cancel. progress_arg is
        		returned as the void *. The int is a value between 0 and 100 to
        		indicate progress.

        		progress_arg: A void * value to be parrotted back to the progress
        		function.


        |

        *Overload 10:*
         Constructor using `fz_new_stext_device()`.
        		Create a device to extract the text on a page.

        		Gather the text on a page into blocks and lines.

        		The reading order is taken from the order the text is drawn in
        		the source file, so may not be accurate.

        		page: The text page to which content should be added. This will
        		usually be a newly created (empty) text page, but it can be one
        		containing data already (for example when merging multiple
        		pages, or watermarking).

        		options: Options to configure the stext device.


        |

        *Overload 11:*
         Constructor using `fz_new_svg_device()`.
        		Create a device that outputs (single page) SVG files to
        		the given output stream.

        		Equivalent to fz_new_svg_device_with_id passing id = NULL.


        |

        *Overload 12:*
         Constructor using `fz_new_svg_device_with_id()`.
        		Create a device that outputs (single page) SVG files to
        		the given output stream.

        		output: The output stream to send the constructed SVG page to.

        		page_width, page_height: The page dimensions to use (in points).

        		text_format: How to emit text. One of the following values:
        			FZ_SVG_TEXT_AS_TEXT: As <text> elements with possible
        			layout errors and mismatching fonts.
        			FZ_SVG_TEXT_AS_PATH: As <path> elements with exact
        			visual appearance.

        		reuse_images: Share image resources using <symbol> definitions.

        		id: ID parameter to keep generated IDs unique across SVG files.


        |

        *Overload 13:*
         Constructor using `fz_new_test_device()`.
        		Create a device to test for features.

        		Currently only tests for the presence of non-grayscale colors.

        		is_color: Possible values returned:
        			0: Definitely greyscale
        			1: Probably color (all colors were grey, but there
        			were images or shadings in a non grey colorspace).
        			2: Definitely color

        		threshold: The difference from grayscale that will be tolerated.
        		Typical values to use are either 0 (be exact) and 0.02 (allow an
        		imperceptible amount of slop).

        		options: A set of bitfield options, from the FZ_TEST_OPT set.

        		passthrough: A device to pass all calls through to, or NULL.
        		If set, then the test device can both test and pass through to
        		an underlying device (like, say, the display list device). This
        		means that a display list can be created and at the end we'll
        		know if it's colored or not.

        		In the absence of a passthrough device, the device will throw
        		an exception to stop page interpretation when color is found.


        |

        *Overload 14:*
         Constructor using `fz_new_trace_device()`.
        		Create a device to print a debug trace of all device calls.


        |

        *Overload 15:*
         Constructor using `pdf_new_pdf_device()`.

        |

        *Overload 16:*
         Copy constructor using `fz_keep_device()`.

        |

        *Overload 17:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 18:*
         Constructor using raw copy of pre-existing `::fz_device`.
        N)r   FzDevice_swiginitnew_FzDevicer   s     r   rS   zFzDevice.__init__WZ  s     t 	  v':':D'ABr#   c                 ,    t        j                  |       S r+  )r   FzDevice_m_internal_valuerV   s    r   r+  zFzDevice.m_internal_valuet[  r,  r#   c                 ,    t        j                  |       S r-   )r   FzDevice___nonzero__rV   s    r   r   zFzDevice.__nonzero__x[  rW   r#   r+  N)<r   r   r6   r7   r   r   r   r   r   r.  r.  r.  r.  r.  r.  r.  r.  r /  r/  r/  r/  r/  r/  r/  r/  r/  r"/  r&/  r*/  r./  r3/  r7/  r</  r@/  rD/  rI/  rL/  rP/  rT/  rX/  r\/  r`/  rd/  rg/  rk/  rp/  ru/  rS   r   delete_FzDevicer   r+  r   r   FzDevice_m_internal_getFzDevice_m_internal_setr+  FzDevice_s_num_instances_getFzDevice_s_num_instances_setr+  r$   r#   r   r.  r.  eY  so    -/IOdeGH: : I Id@cCLRYMPUUF5?DC2218561TloTe?,|\1A_LooZCv --61H &88&:X:X^}~JvBBFDgDghOr#   r.  c                      e Zd ZdZ ed d d      ZeZd Ze	j                  ZdEdZdEdZdEd	ZdEd
ZdEdZdEdZdEdZdEdZdEdZdEdZdEdZdEdZdEdZdEdZdEdZdEdZdEdZdEdZdEdZdEdZdEdZ dEdZ!dEdZ"dEdZ#dEdZ$dEd Z%dEd!Z&dEd"Z'dEd#Z(dEd$Z)d% Z*d& Z+d' Z,d( Z-d) Z.d* Z/d+ Z0d, Z1d- Z2d. Z3d/ Z4d0 Z5d1 Z6d2 Z7d3 Z8d4 Z9d5 Z:d6 Z;d7 Z<d8 Z=d9 Z>d: Z?d; Z@d< ZAd= ZBd> ZCd? ZDd@ ZEdA ZFdB ZGdC ZHyD)F	FzDevice2zmWrapper class for struct fz_device with virtual fns for each fnptr; this is for use as a SWIG Director class.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzDevice2.<lambda>[  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzDevice2.<lambda>[  rL   r#   rM   rN   c                     | j                   t        k(  rd}n| }t        j                  | t        j                  |             yz== Constructor.N)r   r/  r   FzDevice2_swiginitnew_FzDevice2r   _selfs     r   rS   zFzDevice2.__init__[  3    >>Y&EE!!$(<(<U(EFr#   c                 .    t        j                  | |      S z
        These methods set the function pointers in *m_internal
        to point to internal callbacks that call our virtual methods.
        )r   "FzDevice2_use_virtual_close_devicer   r  s     r   use_virtual_close_devicez"FzDevice2.use_virtual_close_device[  s    
 88sCCr#   c                 .    t        j                  | |      S r-   )r   !FzDevice2_use_virtual_drop_devicer/  s     r   use_virtual_drop_devicez!FzDevice2.use_virtual_drop_device[      77cBBr#   c                 .    t        j                  | |      S r-   )r   FzDevice2_use_virtual_fill_pathr/  s     r   use_virtual_fill_pathzFzDevice2.use_virtual_fill_path[      55dC@@r#   c                 .    t        j                  | |      S r-   )r   !FzDevice2_use_virtual_stroke_pathr/  s     r   use_virtual_stroke_pathz!FzDevice2.use_virtual_stroke_path[  r/  r#   c                 .    t        j                  | |      S r-   )r   FzDevice2_use_virtual_clip_pathr/  s     r   use_virtual_clip_pathzFzDevice2.use_virtual_clip_path[  r/  r#   c                 .    t        j                  | |      S r-   )r   &FzDevice2_use_virtual_clip_stroke_pathr/  s     r   use_virtual_clip_stroke_pathz&FzDevice2.use_virtual_clip_stroke_path[      <<T3GGr#   c                 .    t        j                  | |      S r-   )r   FzDevice2_use_virtual_fill_textr/  s     r   use_virtual_fill_textzFzDevice2.use_virtual_fill_text[  r/  r#   c                 .    t        j                  | |      S r-   )r   !FzDevice2_use_virtual_stroke_textr/  s     r   use_virtual_stroke_textz!FzDevice2.use_virtual_stroke_text[  r/  r#   c                 .    t        j                  | |      S r-   )r   FzDevice2_use_virtual_clip_textr/  s     r   use_virtual_clip_textzFzDevice2.use_virtual_clip_text[  r/  r#   c                 .    t        j                  | |      S r-   )r   &FzDevice2_use_virtual_clip_stroke_textr/  s     r   use_virtual_clip_stroke_textz&FzDevice2.use_virtual_clip_stroke_text[  r/  r#   c                 .    t        j                  | |      S r-   )r   !FzDevice2_use_virtual_ignore_textr/  s     r   use_virtual_ignore_textz!FzDevice2.use_virtual_ignore_text[  r/  r#   c                 .    t        j                  | |      S r-   )r    FzDevice2_use_virtual_fill_shader/  s     r   use_virtual_fill_shadez FzDevice2.use_virtual_fill_shade[      66tSAAr#   c                 .    t        j                  | |      S r-   )r    FzDevice2_use_virtual_fill_imager/  s     r   use_virtual_fill_imagez FzDevice2.use_virtual_fill_image[  r/  r#   c                 .    t        j                  | |      S r-   )r   %FzDevice2_use_virtual_fill_image_maskr/  s     r   use_virtual_fill_image_maskz%FzDevice2.use_virtual_fill_image_mask[      ;;D#FFr#   c                 .    t        j                  | |      S r-   )r   %FzDevice2_use_virtual_clip_image_maskr/  s     r   use_virtual_clip_image_maskz%FzDevice2.use_virtual_clip_image_mask[  r/  r#   c                 .    t        j                  | |      S r-   )r   FzDevice2_use_virtual_pop_clipr/  s     r   use_virtual_pop_clipzFzDevice2.use_virtual_pop_clip[      44T3??r#   c                 .    t        j                  | |      S r-   )r    FzDevice2_use_virtual_begin_maskr/  s     r   use_virtual_begin_maskz FzDevice2.use_virtual_begin_mask[  r/  r#   c                 .    t        j                  | |      S r-   )r   FzDevice2_use_virtual_end_maskr/  s     r   use_virtual_end_maskzFzDevice2.use_virtual_end_mask[  r/  r#   c                 .    t        j                  | |      S r-   )r   !FzDevice2_use_virtual_begin_groupr/  s     r   use_virtual_begin_groupz!FzDevice2.use_virtual_begin_group[  r/  r#   c                 .    t        j                  | |      S r-   )r   FzDevice2_use_virtual_end_groupr/  s     r   use_virtual_end_groupzFzDevice2.use_virtual_end_group[  r/  r#   c                 .    t        j                  | |      S r-   )r    FzDevice2_use_virtual_begin_tiler/  s     r   use_virtual_begin_tilez FzDevice2.use_virtual_begin_tile[  r/  r#   c                 .    t        j                  | |      S r-   )r   FzDevice2_use_virtual_end_tiler/  s     r   use_virtual_end_tilezFzDevice2.use_virtual_end_tile[  r/  r#   c                 .    t        j                  | |      S r-   )r   "FzDevice2_use_virtual_render_flagsr/  s     r   use_virtual_render_flagsz"FzDevice2.use_virtual_render_flags[      88sCCr#   c                 .    t        j                  | |      S r-   )r   -FzDevice2_use_virtual_set_default_colorspacesr/  s     r   #use_virtual_set_default_colorspacesz-FzDevice2.use_virtual_set_default_colorspaces[  s    CCD#NNr#   c                 .    t        j                  | |      S r-   )r   !FzDevice2_use_virtual_begin_layerr/  s     r   use_virtual_begin_layerz!FzDevice2.use_virtual_begin_layer[  r/  r#   c                 .    t        j                  | |      S r-   )r   FzDevice2_use_virtual_end_layerr/  s     r   use_virtual_end_layerzFzDevice2.use_virtual_end_layer[  r/  r#   c                 .    t        j                  | |      S r-   )r   %FzDevice2_use_virtual_begin_structurer/  s     r   use_virtual_begin_structurez%FzDevice2.use_virtual_begin_structure[  r/  r#   c                 .    t        j                  | |      S r-   )r   #FzDevice2_use_virtual_end_structurer/  s     r   use_virtual_end_structurez#FzDevice2.use_virtual_end_structure[      99$DDr#   c                 .    t        j                  | |      S r-   )r   $FzDevice2_use_virtual_begin_metatextr/  s     r   use_virtual_begin_metatextz$FzDevice2.use_virtual_begin_metatext[      ::4EEr#   c                 .    t        j                  | |      S r-   )r   "FzDevice2_use_virtual_end_metatextr/  s     r   use_virtual_end_metatextz"FzDevice2.use_virtual_end_metatext[  r/  r#   c                 .    t        j                  | |      S zEDefault virtual method implementations; these all throw an exception.)r   FzDevice2_close_devicer   r   s     r   r~	  zFzDevice2.close_device[  s    ,,T599r#   c                 .    t        j                  | |      S r-   )r   FzDevice2_drop_devicer/  s     r   r	  zFzDevice2.drop_device[  s    ++D%88r#   c	                 <    t        j                  | ||||||||	      S r-   )r   FzDevice2_fill_path	r   r   r  r  arg_4arg_5arg_6arg_7arg_8s	            r   r	  zFzDevice2.fill_path[  s&    ))$ueUESXZ_afggr#   c	                 <    t        j                  | ||||||||	      S r-   )r   FzDevice2_stroke_pathr/  s	            r   r	  zFzDevice2.stroke_path[  &    ++D%ueUZ\achiir#   c                 6    t        j                  | |||||      S r-   )r   FzDevice2_clip_pathr   r   r  r  r/  r/  s         r   r	  zFzDevice2.clip_path[      ))$ueUERRr#   c                 6    t        j                  | |||||      S r-   )r   FzDevice2_clip_stroke_pathr0  s         r   r	  zFzDevice2.clip_stroke_path[      00ueUESXYYr#   c           
      :    t        j                  | |||||||      S r-   )r   FzDevice2_fill_textr   r   r  r  r/  r/  r/  r/  s           r   r	  zFzDevice2.fill_text\  #    ))$ueUESXZ_``r#   c	                 <    t        j                  | ||||||||	      S r-   )r   FzDevice2_stroke_textr/  s	            r   r	  zFzDevice2.stroke_text\  r0  r#   c                 4    t        j                  | ||||      S r-   )r   FzDevice2_clip_textr   r   r  r  r/  s        r   r	  zFzDevice2.clip_text\      ))$ueUKKr#   c                 6    t        j                  | |||||      S r-   )r   FzDevice2_clip_stroke_textr0  s         r   r	  zFzDevice2.clip_stroke_text\  r	0  r#   c                 2    t        j                  | |||      S r-   )r   FzDevice2_ignore_textr   r   r  r  s       r   r	  zFzDevice2.ignore_text\  s    ++D%FFr#   c                 6    t        j                  | |||||      S r-   )r   FzDevice2_fill_shader0  s         r   r	  zFzDevice2.fill_shade\      **4ueUSSr#   c                 6    t        j                  | |||||      S r-   )r   FzDevice2_fill_imager0  s         r   r	  zFzDevice2.fill_image\  r0  r#   c           
      :    t        j                  | |||||||      S r-   )r   FzDevice2_fill_image_maskr0  s           r   r	  zFzDevice2.fill_image_mask\  s$    //eUE5RWY^`effr#   c                 4    t        j                  | ||||      S r-   )r   FzDevice2_clip_image_maskr0  s        r   r	  zFzDevice2.clip_image_mask\      //eUE5QQr#   c                 .    t        j                  | |      S r-   )r   FzDevice2_pop_clipr/  s     r   r	  zFzDevice2.pop_clip\      ((u55r#   c           	      8    t        j                  | ||||||      S r-   )r   FzDevice2_begin_maskr   r   r  r  r/  r/  r/  s          r   r	  zFzDevice2.begin_mask \  s     **4ueUTYZZr#   c                 0    t        j                  | ||      S r-   )r   FzDevice2_end_maskr   r   r  s      r   r	  zFzDevice2.end_mask#\      ((ue<<r#   c           
      :    t        j                  | |||||||      S r-   )r   FzDevice2_begin_groupr0  s           r   r	  zFzDevice2.begin_group&\  #    ++D%ueUZ\abbr#   c                 .    t        j                  | |      S r-   )r   FzDevice2_end_groupr/  s     r   r	  zFzDevice2.end_group)\      ))$66r#   c           
      :    t        j                  | |||||||      S r-   )r   FzDevice2_begin_tiler0  s           r   r	  zFzDevice2.begin_tile,\  s#    **4ueUTY[`aar#   c                 .    t        j                  | |      S r-   )r   FzDevice2_end_tiler/  s     r   r	  zFzDevice2.end_tile/\  r%0  r#   c                 2    t        j                  | |||      S r-   )r   FzDevice2_render_flagsr0  s       r   r	  zFzDevice2.render_flags2\  s    ,,T5%GGr#   c                 0    t        j                  | ||      S r-   )r   !FzDevice2_set_default_colorspacesr+0  s      r   r	  z!FzDevice2.set_default_colorspaces5\  s    77eUKKr#   c                 0    t        j                  | ||      S r-   )r   FzDevice2_begin_layerr+0  s      r   r	  zFzDevice2.begin_layer8\  s    ++D%??r#   c                 .    t        j                  | |      S r-   )r   FzDevice2_end_layerr/  s     r   r	  zFzDevice2.end_layer;\  r20  r#   c                 4    t        j                  | ||||      S r-   )r   FzDevice2_begin_structurer0  s        r   r	  zFzDevice2.begin_structure>\  r"0  r#   c                 .    t        j                  | |      S r-   )r   FzDevice2_end_structurer/  s     r   r	  zFzDevice2.end_structureA\  r   r#   c                 2    t        j                  | |||      S r-   )r   FzDevice2_begin_metatextr0  s       r   r	  zFzDevice2.begin_metatextD\      ..tUE5IIr#   c                 .    t        j                  | |      S r-   )r   FzDevice2_end_metatextr/  s     r   r	  zFzDevice2.end_metatextG\      ,,T599r#   c                     | j                   j                          t        j                  |        t	        j
                  |       S r-   )r
   disownr   disown_FzDevice2weakrefproxyrV   s    r   
__disown__zFzDevice2.__disown__I\  /    		%}}T""r#   NT)Ir   r   r6   r7   r   r   r   r   rS   r   delete_FzDevice2r   r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r/  r~	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  r	  rN0  r$   r#   r   r/  r/  [  s   x-/IOdeGHG ..DCACAHACAHCBBGG@B@CAB@DOCAGEFD:9hjSZajLZGTTgR6[=c7b6HL@7R;J:#r#   r/  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzDeviceContainerStackz
    Wrapper class for struct `fz_device_container_stack`. Not copyable or assignable.
    Devices can keep track of containers (clips/masks/groups/tiles)
    as they go to save callers having to do it.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzDeviceContainerStack.<lambda>W\  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzDeviceContainerStack.<lambda>W\  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_device_container_stack`.
        N)r   FzDeviceContainerStack_swiginitnew_FzDeviceContainerStackr   s     r   rS   zFzDeviceContainerStack.__init__Z\  s      	..tV5V5VX\5]^r#   c                 ,    t        j                  |       S r+  )r   'FzDeviceContainerStack_m_internal_valuerV   s    r   r+  z'FzDeviceContainerStack.m_internal_valueg\      ==dCCr#   c                 ,    t        j                  |       S r-   )r   "FzDeviceContainerStack___nonzero__rV   s    r   r   z"FzDeviceContainerStack.__nonzero__k\  rR  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzDeviceContainerStackr   r+  r   r   %FzDeviceContainerStack_m_internal_get%FzDeviceContainerStack_m_internal_setr+  *FzDeviceContainerStack_s_num_instances_get*FzDeviceContainerStack_s_num_instances_setr+  r$   r#   r   rS0  rS0  P\  s     -/IOdeGH
_ ;;D?H &FFHtHt  {Z  [JvPPRX  SD  SD  EOr#   rS0  c                       e Zd ZdZ ed d d      ZeZed        Z	d Z
d Zd	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zej,                  Zd Zd ZeZ eej6                  ej8                  d      Z eej<                  ej>                        Z y)FzDisplayListaa  
    Wrapper class for struct `fz_display_list`.
    fz_display_list is a list containing drawing commands (text,
    images, etc.). The intent is two-fold: as a caching-mechanism
    to reduce parsing of a page, and to be used as a data
    structure in multi-threading where one thread parses the page
    and another renders pages.

    Create a display list with fz_new_display_list, hand it over to
    fz_new_list_device to have it populated, and later replay the
    list (once or many times) by calling fz_run_display_list. When
    the list is no longer needed drop it with fz_drop_display_list.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzDisplayList.<lambda>\  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzDisplayList.<lambda>\  rL   r#   rM   rN   c                 ,    t        j                  |       S z
        Class-aware wrapper for `::fz_new_display_list_from_page_contents()`.
        	Create a display list from page contents (no annotations).

        	Ownership of the display list is returned to the caller.
        )r   4FzDisplayList_fz_new_display_list_from_page_contentsr  s    r   &fz_new_display_list_from_page_contentsz4FzDisplayList.fz_new_display_list_from_page_contents\  s     JJ4PPr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_bound_display_list()`.
        	Return the bounding box of the page recorded in a display list.
        )r   #FzDisplayList_fz_bound_display_listrV   s    r   fz_bound_display_listz#FzDisplayList.fz_bound_display_list\  s    
 99$??r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_display_list_is_empty()`.
        	Check for a display list being empty

        	list: The list to check.

        	Returns true if empty, false otherwise.
        )r   &FzDisplayList_fz_display_list_is_emptyrV   s    r   fz_display_list_is_emptyz&FzDisplayList.fz_display_list_is_empty\  s     <<TBBr#   c                 0    t        j                  | ||      S z?Class-aware wrapper for `::fz_fill_pixmap_from_display_list()`.)r   .FzDisplayList_fz_fill_pixmap_from_display_list)r   rW  r\  s      r    fz_fill_pixmap_from_display_listz.FzDisplayList.fz_fill_pixmap_from_display_list\  s    DDT3PSTTr#   c                 .    t        j                  | |      S z>Class-aware wrapper for `::fz_new_buffer_from_display_list()`.)r   -FzDisplayList_fz_new_buffer_from_display_listr   r  s     r   fz_new_buffer_from_display_listz-FzDisplayList.fz_new_buffer_from_display_list\  s    CCD'RRr#   c                 ,    t        j                  |       S )aC  
        Class-aware wrapper for `::fz_new_list_device()`.
        	Create a rendering device for a display list.

        	When the device is rendering a page it will populate the
        	display list with drawing commands (text, images, etc.). The
        	display list can later be reused to render a page many times
        	without having to re-interpret the page from the document file
        	for each rendering. Once the device is no longer needed, free
        	it with fz_drop_device.

        	list: A display list that the list device takes a reference to.
        )r    FzDisplayList_fz_new_list_devicerV   s    r   fz_new_list_devicez FzDisplayList.fz_new_list_device\  s     66t<<r#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::fz_new_pixmap_from_display_list()`.
        	Render the page to a pixmap using the transform and colorspace.

        	Ownership of the pixmap is returned to the caller.
        )r   -FzDisplayList_fz_new_pixmap_from_display_listr   rW  rM  rA  s       r   fz_new_pixmap_from_display_listz-FzDisplayList.fz_new_pixmap_from_display_list\  s     CCD#rSXYYr#   c                 4    t        j                  | ||||      S )z
        Class-aware wrapper for `::fz_new_pixmap_from_display_list_with_separations()`.
        	Render the page contents with control over spot colors.

        	Ownership of the pixmap is returned to the caller.
        )r   >FzDisplayList_fz_new_pixmap_from_display_list_with_separationsr   rW  rM  rI  rA  s        r   0fz_new_pixmap_from_display_list_with_separationsz>FzDisplayList.fz_new_pixmap_from_display_list_with_separations\  s"     TTUY[^`bdhjoppr#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_run_display_list()`.
        	(Re)-run a display list through a device.

        	list: A display list, created by fz_new_display_list and
        	populated with objects from a page by running fz_run_page on a
        	device obtained from fz_new_list_device.

        	ctm: Transform to apply to display list contents. May include
        	for example scaling and rotation, see fz_scale, fz_rotate and
        	fz_concat. Set to fz_identity if no transformation is desired.

        	scissor: Only the part of the contents of the display list
        	visible within this area will be considered when the list is
        	run through the device. This does not imply for tile objects
        	contained in the display list.

        	cookie: Communication mechanism between caller and library
        	running the page. Intended for multi-threaded applications,
        	while single-threaded applications set cookie to NULL. The
        	caller may abort an ongoing page run. Cookie also communicates
        	progress information back to the caller. The fields inside
        	cookie are continually updated while the page is being run.
        )r   !FzDisplayList_fz_run_display_list)r   rT  rW  rh	  r  s        r   fz_run_display_listz!FzDisplayList.fz_run_display_list\  s    2 77c3QWXXr#   c                 4    t        j                  | ||||      S )z
        Class-aware wrapper for `::fz_search_display_list()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_search_display_list(const char *needle, ::fz_quad *hit_bbox, int hit_max)` => `(int, int hit_mark)`
        )r   $FzDisplayList_fz_search_display_listr   rV  r5  r6  r7  s        r   fz_search_display_listz$FzDisplayList.fz_search_display_list\  s     ::4S[]deer#   c                 2    t        j                  | |||      S z8Class-aware wrapper for `::fz_search_display_list_cb()`.)r   'FzDisplayList_fz_search_display_list_cbr   rV  r  rt  s       r   fz_search_display_list_cbz'FzDisplayList.fz_search_display_list_cb\  s    ==dFBPVWWr#   c                 P    t        j                  | t        j                  |        y)aP  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_display_list()`.
        		Create an empty display list.

        		A display list contains drawing commands (text, images, etc.).
        		Use fz_new_list_device for populating the list.

        		mediabox: Bounds of the page (in points) represented by the
        		display list.


        |

        *Overload 2:*
         Constructor using `fz_new_display_list_from_page()`.
        		Create a display list.

        		Ownership of the display list is returned to the caller.


        |

        *Overload 3:*
         Constructor using `fz_new_display_list_from_page_number()`.

        |

        *Overload 4:*
         Constructor using `fz_new_display_list_from_svg()`.
        		Parse an SVG document into a display-list.


        |

        *Overload 5:*
         Constructor using `fz_new_display_list_from_svg_xml()`.
        		Parse an SVG document into a display-list.


        |

        *Overload 6:*
         Constructor using `pdf_new_display_list_from_annot()`.

        |

        *Overload 7:*
         Copy constructor using `fz_keep_display_list()`.

        |

        *Overload 8:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 9:*
         Constructor using raw copy of pre-existing `::fz_display_list`.
        N)r   FzDisplayList_swiginitnew_FzDisplayListr   s     r   rS   zFzDisplayList.__init__\  s     z 	%%dF,D,Dd,KLr#   c                 ,    t        j                  |       S r+  )r   FzDisplayList_m_internal_valuerV   s    r   r+  zFzDisplayList.m_internal_value5]      44T::r#   c                 ,    t        j                  |       S r-   )r   FzDisplayList___nonzero__rV   s    r   r   zFzDisplayList.__nonzero__9]      //55r#   r+  N)!r   r   r6   r7   r   r   r   r   r   rj0  rm0  rp0  rt0  ry0  r|0  r0  r0  r0  r0  r0  rS   r   delete_FzDisplayListr   r+  r   r   FzDisplayList_m_internal_getFzDisplayList_m_internal_setr+  !FzDisplayList_s_num_instances_get!FzDisplayList_s_num_instances_setr+  r$   r#   r   rd0  rd0  u\  s     -/IOdeGHQ Q@	CUS= ZqY6fX=M| 22;6H &==v?b?b  iH  IJvGGIqIqrOr#   rd0  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'd& Z(d' Z)d( Z*d) Z+d* Z,d+ Z-d, Z.d- Z/d. Z0d/ Z1d0 Z2d1 Z3d2 Z4d3 Z5d4 Z6e7jp                  Z9d5 Z:d6 Z;e;Z< ee7jz                  e7j|                  d7      Z? ee7j                  e7j                        ZBy8)9
FzDocumentz'Wrapper class for struct `fz_document`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzDocument.<lambda>F]  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzDocument.<lambda>F]  rL   r#   rM   rN   c                 .    t        j                  | |      S )al  
        Class-aware wrapper for `::fz_authenticate_password()`.
        	Test if the given password can decrypt the document.

        	password: The password string to be checked. Some document
        	specifications do not specify any particular text encoding, so
        	neither do we.

        	Returns 0 for failure to authenticate, non-zero for success.

        	For PDF documents, further information can be given by examining
        	the bits in the return code.

        		Bit 0 => No password required
        		Bit 1 => User password authenticated
        		Bit 2 => Owner password authenticated
        )r   #FzDocument_fz_authenticate_password)r   r  s     r   fz_authenticate_passwordz#FzDocument.fz_authenticate_passwordI]  s    $ 99$IIr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_clamp_location()`.
        	Clamps a location into valid chapter/page range. (First clamps
        	the chapter into range, then the page into range).
        )r   FzDocument_fz_clamp_locationr   r5  s     r   fz_clamp_locationzFzDocument.fz_clamp_location]]  s     224==r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_count_chapter_pages()`.
        	Return the number of pages in a chapter.
        	May return 0.
        )r   !FzDocument_fz_count_chapter_pagesr   r$
  s     r   fz_count_chapter_pagesz!FzDocument.fz_count_chapter_pagese]  s     77gFFr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_count_chapters()`.
        	Return the number of chapters in the document.
        	At least 1.
        )r   FzDocument_fz_count_chaptersrV   s    r   fz_count_chapterszFzDocument.fz_count_chaptersm]       22488r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_count_pages()`.
        	Return the number of pages in document

        	May return 0 for documents with no pages.
        )r   FzDocument_fz_count_pagesrV   s    r   fz_count_pageszFzDocument.fz_count_pagesu]  rt,  r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_document_output_intent()`.
        	Find the output intent colorspace if the document has defined
        	one.

        	Returns a borrowed reference that should not be dropped, unless
        	it is kept first.
        )r   $FzDocument_fz_document_output_intentrV   s    r   fz_document_output_intentz$FzDocument.fz_document_output_intent~]  s     ::4@@r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_document_supports_accelerator()`.
        	Query if the document supports the saving of accelerator data.
        )r   +FzDocument_fz_document_supports_acceleratorrV   s    r    fz_document_supports_acceleratorz+FzDocument.fz_document_supports_accelerator]  s    
 AA$GGr#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_format_link_uri()`.
        	Format an internal link to a page number, location, and possible viewing parameters,
        	suitable for use with fz_create_link.

        	Returns a newly allocated string that the caller must free.
        )r   FzDocument_fz_format_link_uri)r   r  s     r   fz_format_link_urizFzDocument.fz_format_link_uri]  r,  r#   c                 .    t        j                  | |      S )zo
        Class-aware wrapper for `::fz_has_permission()`.
        	Check permission flags on document.
        )r   FzDocument_fz_has_permissionr   r  s     r   fz_has_permissionzFzDocument.fz_has_permission]  s    
 224;;r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_is_document_reflowable()`.
        	Is the document reflowable.

        	Returns 1 to indicate reflowable documents, otherwise 0.
        )r   $FzDocument_fz_is_document_reflowablerV   s    r   fz_is_document_reflowablez$FzDocument.fz_is_document_reflowable]       ::4@@r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_last_page()`.
        	Function to get the location for the last page in the document.
        	Using this can be far more efficient in some cases than calling
        	fz_count_pages and using the page number.
        )r   FzDocument_fz_last_pagerV   s    r   fz_last_pagezFzDocument.fz_last_page]       --d33r#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::fz_layout_document()`.
        	Layout reflowable document types.

        	w, h: Page size in points.
        	em: Default font size in points.
        )r   FzDocument_fz_layout_document)r   r7  r:  r  s       r   fz_layout_documentzFzDocument.fz_layout_document]  s     33D!QCCr#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_load_chapter_page()`.
        	Load a page.

        	After fz_load_page is it possible to retrieve the size of the
        	page using fz_bound_page, or to render the page using
        	fz_run_page_*. Free the page by calling fz_drop_page.

        	chapter: chapter number, 0 is the first chapter of the document.
        	number: page number, 0 is the first page of the chapter.
        )r   FzDocument_fz_load_chapter_page)r   r$
  r'
  s      r   fz_load_chapter_pagezFzDocument.fz_load_chapter_page]  s     55dGTJJr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_load_outline()`.
        	Load the hierarchical document outline.

        	Should be freed by fz_drop_outline.
        )r   FzDocument_fz_load_outlinerV   s    r   fz_load_outlinezFzDocument.fz_load_outline]       0066r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_load_page()`.
        	Load a given page number from a document. This may be much less
        	efficient than loading by location (chapter+page) for some
        	document types.
        )r   FzDocument_fz_load_pager   r  s     r   fz_load_pagezFzDocument.fz_load_page]  s     --dF;;r#   c                 .    t        j                  | |      S )a   
        Class-aware wrapper for `::fz_location_from_page_number()`.
        	Converts from page number to chapter+page. This may cause many
        	chapters to be laid out in order to calculate the number of
        	pages within those chapters.
        )r   'FzDocument_fz_location_from_page_numberr0  s     r   fz_location_from_page_numberz'FzDocument.fz_location_from_page_number]  s     ==dFKKr#   c                 .    t        j                  | |      S )zx
        Class-aware wrapper for `::fz_lookup_bookmark()`.
        	Find a bookmark and return its page number.
        )r   FzDocument_fz_lookup_bookmark)r   r  s     r   fz_lookup_bookmarkzFzDocument.fz_lookup_bookmark]  s    
 33D$??r#   c                 2    t        j                  | |||      S )a  
        Class-aware wrapper for `::fz_lookup_metadata()`.
        	Retrieve document meta data strings.

        	doc: The document to query.

        	key: Which meta data key to retrieve...

        	Basic information:
        		'format'	-- Document format and version.
        		'encryption'	-- Description of the encryption used.

        	From the document information dictionary:
        		'info:Title'
        		'info:Author'
        		'info:Subject'
        		'info:Keywords'
        		'info:Creator'
        		'info:Producer'
        		'info:CreationDate'
        		'info:ModDate'

        	buf: The buffer to hold the results (a nul-terminated UTF-8
        	string).

        	size: Size of 'buf'.

        	Returns the number of bytes need to store the string plus terminator
        	(will be larger than 'size' if the output was truncated), or -1 if the
        	key is not recognized or found.
        )r   FzDocument_fz_lookup_metadata)r   rk  rb  r   s       r   fz_lookup_metadatazFzDocument.fz_lookup_metadata]  s    @ 33D#sDIIr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_lookup_metadata2()`.
        C++ alternative to `fz_lookup_metadata()` that returns a `std::string`
        or calls `fz_throw()` if not found.
        )r   FzDocument_fz_lookup_metadata2rj  s     r   fz_lookup_metadata2zFzDocument.fz_lookup_metadata2^  s     44T3??r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_needs_password()`.
        	Check if a document is encrypted with a
        	non-blank password.
        )r   FzDocument_fz_needs_passwordrV   s    r   fz_needs_passwordzFzDocument.fz_needs_password^  r0  r#   c                 0    t        j                  | ||      S z=Class-aware wrapper for `::fz_new_buffer_from_page_number()`.)r   )FzDocument_fz_new_buffer_from_page_number)r   r  r  s      r   fz_new_buffer_from_page_numberz)FzDocument.fz_new_buffer_from_page_number^  s    ??fgVVr#   c                 .    t        j                  | |      S zCClass-aware wrapper for `::fz_new_display_list_from_page_number()`.)r   /FzDocument_fz_new_display_list_from_page_numberr0  s     r   $fz_new_display_list_from_page_numberz/FzDocument.fz_new_display_list_from_page_number#^  s    EEdFSSr#   c                 ,    t        j                  |       S zCClass-aware wrapper for `::fz_new_pdf_document_from_fz_document()`.)r   /FzDocument_fz_new_pdf_document_from_fz_documentrV   s    r   $fz_new_pdf_document_from_fz_documentz/FzDocument.fz_new_pdf_document_from_fz_document'^      EEdKKr#   c                 4    t        j                  | ||||      S z=Class-aware wrapper for `::fz_new_pixmap_from_page_number()`.)r   )FzDocument_fz_new_pixmap_from_page_number)r   r  rW  rM  rA  s        r   fz_new_pixmap_from_page_numberz)FzDocument.fz_new_pixmap_from_page_number+^  s    ??fcSUW\]]r#   c                 6    t        j                  | |||||      S zNClass-aware wrapper for `::fz_new_pixmap_from_page_number_with_separations()`.)r   :FzDocument_fz_new_pixmap_from_page_number_with_separations)r   r  rW  rM  rI  rA  s         r   /fz_new_pixmap_from_page_number_with_separationsz:FzDocument.fz_new_pixmap_from_page_number_with_separations/^  s#    PPQUW]_bdfhlnsttr#   c                 .    t        j                  | g| S )a  
        *Overload 1:*
         Class-aware wrapper for `::fz_new_xhtml_document_from_document()`.
        		Use text extraction to convert the input document into XHTML,
        		then open the result as a new document that can be reflowed.


        |

        *Overload 2:*
         Class-aware wrapper for `::fz_new_xhtml_document_from_document()`.
        		Use text extraction to convert the input document into XHTML,
        		then open the result as a new document that can be reflowed.
        )r   .FzDocument_fz_new_xhtml_document_from_documentr   s     r   #fz_new_xhtml_document_from_documentz.FzDocument.fz_new_xhtml_document_from_document3^  s     DDTQDQQr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_next_page()`.
        	Function to get the location of the next page (allowing for the
        	end of chapters etc). If at the end of the document, returns the
        	current location.
        )r   FzDocument_fz_next_pager0  s     r   fz_next_pagezFzDocument.fz_next_pageD^       --dC88r#   c                 .    t        j                  | |      S z8Class-aware wrapper for `::fz_open_reflowed_document()`.)r   $FzDocument_fz_open_reflowed_documentr   r  s     r   fz_open_reflowed_documentz$FzDocument.fz_open_reflowed_documentM^      ::4FFr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_output_accelerator()`.
        	Output accelerator data for the document to a given output
        	stream.
        )r    FzDocument_fz_output_acceleratorr   r  s     r   fz_output_acceleratorz FzDocument.fz_output_acceleratorQ^  s     66tUCCr#   c                 .    t        j                  | |      S )a   
        Class-aware wrapper for `::fz_page_number_from_location()`.
        	Converts from chapter+page to page number. This may cause many
        	chapters to be laid out in order to calculate the number of
        	pages within those chapters.
        )r   'FzDocument_fz_page_number_from_locationr0  s     r   fz_page_number_from_locationz'FzDocument.fz_page_number_from_locationY^  s     ==dCHHr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_previous_page()`.
        	Function to get the location of the previous page (allowing for
        	the end of chapters etc). If already at the start of the
        	document, returns the current page.
        )r   FzDocument_fz_previous_pager0  s     r   fz_previous_pagezFzDocument.fz_previous_pageb^       11$<<r#   c                 0    t        j                  | ||      S )ag  
        Class-aware wrapper for `::fz_process_opened_pages()`.
        	Iterates over all opened pages of the document, calling the
        	provided callback for each page for processing. If the callback
        	returns non-NULL then the iteration stops and that value is returned
        	to the called of fz_process_opened_pages().

        	The state pointer provided to fz_process_opened_pages() is
        	passed on to the callback but is owned by the caller.

        	Returns the first non-NULL value returned by the callback,
        	or NULL if the callback returned NULL for all opened pages.
        )r   "FzDocument_fz_process_opened_pages)r   r   r  s      r   fz_process_opened_pagesz"FzDocument.fz_process_opened_pagesk^  s     88?SUZ[[r#   c                 2    t        j                  | |||      S )a  
        Class-aware wrapper for `::fz_resolve_link()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_resolve_link(const char *uri)` => `(fz_location, float xp, float yp)`

        	Resolve an internal link to a page number.

        	xp, yp: Pointer to store coordinate of destination on the page.

        	Returns (-1,-1) if the URI cannot be resolved.
        )r   FzDocument_fz_resolve_linkr   r"  r  r  s       r   fz_resolve_linkzFzDocument.fz_resolve_link{^  s     00sBCCr#   c                 0    t        j                  | ||      S )a|  
        Class-aware wrapper for `::fz_run_document_structure()`.
        	Run the document structure through a device.

        	doc: Document in question.

        	dev: Device obtained from fz_new_*_device.

        	cookie: Communication mechanism between caller and library.
        	Intended for multi-threaded applications, while
        	single-threaded applications set cookie to NULL. The
        	caller may abort an ongoing rendering of a page. Cookie also
        	communicates progress information back to the caller. The
        	fields inside cookie are continually updated while the page is
        	rendering.
        )r   $FzDocument_fz_run_document_structurer   rT  r  s      r   fz_run_document_structurez$FzDocument.fz_run_document_structure^  s    " ::4fMMr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_save_accelerator()`.
        	Save accelerator data for the document to a given file.
        )r   FzDocument_fz_save_acceleratorr1  s     r   fz_save_acceleratorzFzDocument.fz_save_accelerator^  s    
 44T5AAr#   c           	      8    t        j                  | ||||||      S )a   
        Class-aware wrapper for `::fz_search_chapter_page_number()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_search_chapter_page_number(int chapter, int page, const char *needle, ::fz_quad *hit_bbox, int hit_max)` => `(int, int hit_mark)`
        )r   (FzDocument_fz_search_chapter_page_number)r   r$
  r'
  rV  r5  r6  r7  s          r   fz_search_chapter_page_numberz(FzDocument.fz_search_chapter_page_number^  s%     >>tWdTZ\dfnpwxxr#   c                 6    t        j                  | |||||      S z?Class-aware wrapper for `::fz_search_chapter_page_number_cb()`.)r   +FzDocument_fz_search_chapter_page_number_cb)r   r$
  r'
  rV  r  rt  s         r    fz_search_chapter_page_number_cbz+FzDocument.fz_search_chapter_page_number_cb^  s!    AA$QUW]_acijjr#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::fz_search_page2()`.
        C++ alternative to fz_search_page() that returns information in a std::vector.
        )r   FzDocument_fz_search_page2)r   r  rV  r7  s       r   fz_search_page2zFzDocument.fz_search_page2^  s    
 00vvwOOr#   c                 6    t        j                  | |||||      S )a  
        Class-aware wrapper for `::fz_search_page_number()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_search_page_number(int number, const char *needle, ::fz_quad *hit_bbox, int hit_max)` => `(int, int hit_mark)`
        )r    FzDocument_fz_search_page_number)r   r  rV  r5  r6  r7  s         r   fz_search_page_numberz FzDocument.fz_search_page_number^  s!     66tVVXW_ahiir#   c                 4    t        j                  | ||||      S z7Class-aware wrapper for `::fz_search_page_number_cb()`.)r   #FzDocument_fz_search_page_number_cb)r   r  rV  r  rt  s        r   fz_search_page_number_cbz#FzDocument.fz_search_page_number_cb^  s    99$PRTZ[[r#   c                 0    t        j                  | ||      S z.Class-aware wrapper for `::fz_set_metadata()`.)r   FzDocument_fz_set_metadata)r   rk  r    s      r   fz_set_metadatazFzDocument.fz_set_metadata^  s    00sEBBr#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_count_pages_imp()`.)r   FzDocument_pdf_count_pages_impr0  s     r   pdf_count_pages_impzFzDocument.pdf_count_pages_imp^      44T7CCr#   c                 ,    t        j                  |       S z<Class-aware wrapper for `::pdf_document_from_fz_document()`.)r   (FzDocument_pdf_document_from_fz_documentrV   s    r   pdf_document_from_fz_documentz(FzDocument.pdf_document_from_fz_document^  r.,  r#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::pdf_load_page_imp()`.)r   FzDocument_pdf_load_page_imp)r   r$
  r  s      r   pdf_load_page_impzFzDocument.pdf_load_page_imp^  s    224&IIr#   c                 4    t        j                  | ||||      S z1Class-aware wrapper for `::pdf_page_label_imp()`.)r   FzDocument_pdf_page_label_imp)r   r$
  r'
  rb  r   s        r   pdf_page_label_impzFzDocument.pdf_page_label_imp^  s    33D'4dSSr#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_specifics()`.)r   FzDocument_pdf_specificsrV   s    r   pdf_specificszFzDocument.pdf_specifics^  r8/  r#   c                 P    t        j                  | t        j                  |        y)a4  
        *Overload 1:*
         == Constructors.  Constructor using `fz_open_accelerated_document()`.
        		Open a document file and read its basic structure so pages and
        		objects can be located. MuPDF will try to repair broken
        		documents (without actually changing the file contents).

        		The returned fz_document is used when calling most other
        		document related functions.

        		filename: a path to a file as it would be given to open(2).


        |

        *Overload 2:*
         Constructor using `fz_open_accelerated_document_with_stream()`.
        		Open a document using the specified stream object rather than
        		opening a file on disk.

        		magic: a string used to detect document type; either a file name
        		or mime-type.

        		stream: a stream of the document contents.

        		accel: NULL, or a stream of the 'accelerator' contents for this document.

        		NOTE: The caller retains ownership of 'stream' and 'accel' - the document will
        		take its own references if required.


        |

        *Overload 3:*
         Constructor using `fz_open_accelerated_document_with_stream_and_dir()`.
        		Open a document using the specified stream object rather than
        		opening a file on disk.

        		magic: a string used to detect document type; either a file name
        		or mime-type.

        		stream: a stream of the document contents.

        		accel: NULL, or a stream of the 'accelerator' contents for this document.

        		dir: NULL, or the 'directory context' for the stream contents.

        		NOTE: The caller retains ownership of 'stream', 'accel' and 'dir' - the document will
        		take its own references if required.


        |

        *Overload 4:*
         Constructor using `fz_open_document()`.
        		Open a document file and read its basic structure so pages and
        		objects can be located. MuPDF will try to repair broken
        		documents (without actually changing the file contents).

        		The returned fz_document is used when calling most other
        		document related functions.

        		filename: a path to a file as it would be given to open(2).


        |

        *Overload 5:*
         Constructor using `fz_open_document_with_buffer()`.
        		Open a document using a buffer rather than opening a file on disk.


        |

        *Overload 6:*
         Constructor using `fz_open_document_with_stream()`.
        		Open a document using the specified stream object rather than
        		opening a file on disk.

        		magic: a string used to detect document type; either a file name
        		or mime-type.

        		stream: a stream representing the contents of the document file.

        		NOTE: The caller retains ownership of 'stream' - the document will take its
        		own reference if required.


        |

        *Overload 7:*
         Constructor using `fz_open_document_with_stream_and_dir()`.
        		Open a document using the specified stream object rather than
        		opening a file on disk.

        		magic: a string used to detect document type; either a file name
        		or mime-type.

        		stream: a stream representing the contents of the document file.

        		dir: a 'directory context' for those filetypes that need it.

        		NOTE: The caller retains ownership of 'stream' and 'dir' - the document will
        		take its own references if required.


        |

        *Overload 8:*
         Returns a FzDocument for pdfdocument.m_internal.super.

        |

        *Overload 9:*
         Copy constructor using `fz_keep_document()`.

        |

        *Overload 10:*
         Constructor using raw copy of pre-existing `::fz_document`.

        |

        *Overload 11:*
         Constructor using raw copy of pre-existing `::fz_document`.
        N)r   FzDocument_swiginitnew_FzDocumentr   s     r   rS   zFzDocument.__init__^  s     ~ 	""4)>)>)EFr#   c                 ,    t        j                  |       S r+  )r   FzDocument_m_internal_valuerV   s    r   r+  zFzDocument.m_internal_value__  r,  r#   c                 ,    t        j                  |       S r-   )r   FzDocument___nonzero__rV   s    r   r   zFzDocument.__nonzero__c_  r  r#   r+  N)Cr   r   r6   r7   r   r   r   r   r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r0  r1  r1  r1  r1  r1  r1  r1  r1  r!1  r$1  r(1  r+1  r.1  r21  r61  r:1  r?1  rC1  rG1  rK1  rS   r   delete_FzDocumentr   r+  r   r   FzDocument_m_internal_getFzDocument_m_internal_setr+  FzDocument_s_num_instances_getFzDocument_s_num_instances_setr+  r$   r#   r   r0  r0  C]  s   2-/IOdeGHJ(>G96	AH@<A4DK7<L@ JD@9WTL^uR"9GDI=\ DN&BykPj\CDEJT5G@ //83H &::F<\<\  cB  CJvDDfFkFklOr#   r0  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zej                  Zd
 Zd ZeZ eej$                  ej&                  d      Z eej*                  ej,                        Zy)FzDocumentHandlerzKWrapper class for struct `fz_document_handler`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzDocumentHandler.<lambda>p_  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzDocumentHandler.<lambda>p_  rL   r#   rM   rN   c                 4    t        j                  | ||||      S )z
        Class-aware wrapper for `::fz_document_handler_open()`.   Helper for calling `fz_document_handler::open` function pointer via
        Swig from Python/C#.
        )r   *FzDocumentHandler_fz_document_handler_open)r   r  r  r
  r  s        r   fz_document_handler_openz*FzDocumentHandler.fz_document_handler_opens_  s    
 @@vuVY[jkkr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_document_handler_recognize()`.   Helper for calling a `fz_document_handler::recognize` function
        pointer via Swig from Python/C#.
        )r   /FzDocumentHandler_fz_document_handler_recognize)r   r  s     r   fz_document_handler_recognizez/FzDocumentHandler.fz_document_handler_recognizez_  s    
 EEdERRr#   c                 ,    t        j                  |       S )aW  
        Class-aware wrapper for `::fz_register_document_handler()`.
        	Register a handler for a document type.

        	handler: The handler to register. This must live on for the duration of the
        	use of this handler. It will be passed back to the handler for calls so
        	the caller can use it to retrieve state.
        )r   .FzDocumentHandler_fz_register_document_handlerrV   s    r   fz_register_document_handlerz.FzDocumentHandler.fz_register_document_handler_  s     DDTJJr#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_document_handler`.
        N)r   FzDocumentHandler_swiginitnew_FzDocumentHandlerr   s     r   rS   zFzDocumentHandler.__init___  rM.  r#   c                 ,    t        j                  |       S r+  )r   "FzDocumentHandler_m_internal_valuerV   s    r   r+  z"FzDocumentHandler.m_internal_value_  r-  r#   c                 ,    t        j                  |       S r-   )r   FzDocumentHandler___nonzero__rV   s    r   r   zFzDocumentHandler.__nonzero___  r  r#   r+  N)r   r   r6   r7   r   r   r   r   r^1  ra1  rd1  rS   r   delete_FzDocumentHandlerr   r+  r   r    FzDocumentHandler_m_internal_get FzDocumentHandler_m_internal_setr+  %FzDocumentHandler_s_num_instances_get%FzDocumentHandler_s_num_instances_setr+  r$   r#   r   rY1  rY1  m_  s    V-/IOdeGHlS	K
U 66?:H &AA6CjCj  qP  QJvKKVMyMyzOr#   rY1  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzDocumentHandlerContextzSWrapper class for struct `fz_document_handler_context`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   z!FzDocumentHandlerContext.<lambda>_  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z!FzDocumentHandlerContext.<lambda>_  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_document_handler_context`.
        N)r   !FzDocumentHandlerContext_swiginitnew_FzDocumentHandlerContextr   s     r   rS   z!FzDocumentHandlerContext.__init___  s      	00v7Z7Z\`7abr#   c                 ,    t        j                  |       S r+  )r   )FzDocumentHandlerContext_m_internal_valuerV   s    r   r+  z)FzDocumentHandlerContext.m_internal_value_  r-  r#   c                 ,    t        j                  |       S r-   )r   $FzDocumentHandlerContext___nonzero__rV   s    r   r   z$FzDocumentHandlerContext.__nonzero___  r{  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzDocumentHandlerContextr   r+  r   r   'FzDocumentHandlerContext_m_internal_get'FzDocumentHandlerContext_m_internal_setr+  ,FzDocumentHandlerContext_s_num_instances_get,FzDocumentHandlerContext_s_num_instances_setr+  r$   r#   r   rr1  rr1  _  s    ^-/IOdeGH
c ==FAH &HH&JxJx  ^  _JvRRTZ  UH  UH  IOr#   rr1  c                      e Zd ZdZ ed d d      ZeZej                  Z
ej                  Zej                  Zej                  Zej"                  Zej&                  Zej*                  Zej.                  Zej2                  Zej6                  Zej:                  Zej>                  Z ejB                  Z"ejF                  Z$ejJ                  Z&ejN                  Z(ejR                  Z*ejV                  Z,ejZ                  Z.ej^                  Z0ejb                  Z2ejf                  Z4ejj                  Z6ejn                  Z8ejr                  Z:ejv                  Z<ejz                  Z>ej~                  Z@d ZAd ZBd ZCd	 ZDd
 ZEd ZFd ZGd ZHej                  ZJd ZKd ZLeLZM eej                  ej                  d      ZP eej                  ej                        ZSy)FzDocumentWriterzJWrapper class for struct `fz_document_writer`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzDocumentWriter.<lambda>_  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzDocumentWriter.<lambda>_  rL   r#   rM   rN   c                 .    t        j                  | |      S )aM  
        Class-aware wrapper for `::fz_begin_page()`.
        	Called to start the process of writing a page to
        	a document.

        	mediabox: page size rectangle in points.

        	Returns a borrowed fz_device to write page contents to. This
        	should be kept if required, and only dropped if it was kept.
        )r   FzDocumentWriter_fz_begin_page)r   rq
  s     r   fz_begin_pagezFzDocumentWriter.fz_begin_page_  s     44T8DDr#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_close_document_writer()`.
        	Called to end the process of writing
        	pages to a document.

        	This writes any file level trailers required. After this
        	completes successfully the file is up to date and complete.
        )r   )FzDocumentWriter_fz_close_document_writerrV   s    r   fz_close_document_writerz)FzDocumentWriter.fz_close_document_writer_  s     ??EEr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_end_page()`.
        	Called to end the process of writing a page to a
        	document.
        )r   FzDocumentWriter_fz_end_pagerV   s    r   fz_end_pagezFzDocumentWriter.fz_end_page`  r0  r#   c                 0    t        j                  | ||      S z<Class-aware wrapper for `::fz_pdfocr_writer_set_progress()`.)r   .FzDocumentWriter_fz_pdfocr_writer_set_progress)r   r	  r  s      r   fz_pdfocr_writer_set_progressz.FzDocumentWriter.fz_pdfocr_writer_set_progress
`  s    DDT8UZ[[r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_write_document()`.
        	Convenience function to feed all the pages of a document to
        	fz_begin_page/fz_run_page/fz_end_page.
        )r   "FzDocumentWriter_fz_write_document)r   rO   s     r   fz_write_documentz"FzDocumentWriter.fz_write_document`  s     88sCCr#   c
                 >    t        j                  | |||||||||	
      S z8Class-aware wrapper for `::fz_write_stabilized_story()`.)r   *FzDocumentWriter_fz_write_stabilized_story)
r   r  r  rb!  rc!  rd!  re!  rf!  rg!  r
  s
             r   fz_write_stabilized_storyz*FzDocumentWriter.fz_write_stabilized_story`  sC    @@xQSU^`mou  xB  DJ  LV  X[  \  	\r#   c           
      :    t        j                  | |||||||      S z-Class-aware wrapper for `::fz_write_story()`.)r   FzDocumentWriter_fz_write_story)r   r
  rd!  re!  rk!  rl!  rf!  rg!  s           r   fz_write_storyzFzDocumentWriter.fz_write_story`  s/    55dE6:Wacqsy  |F  G  	Gr#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_document_writer_of_size()`.
        		Internal function to allocate a
        		block for a derived document_writer structure, with the base
        		structure's function pointers populated correctly, and the extra
        		space zero initialised.


        |

        *Overload 2:*
         Constructor using `fz_new_document_writer_with_buffer()`.

        |

        *Overload 3:*
         Constructor using `fz_new_jpeg_pixmap_writer()`.

        |

        *Overload 4:*
         Constructor using `fz_new_pixmap_writer()`.

        |

        *Overload 5:*
         Constructor using `fz_new_svg_writer_with_output()`.

        |

        *Overload 6:*
         Constructor using one of:
        		fz_new_cbz_writer()
        		fz_new_docx_writer()
        		fz_new_odt_writer()
        		fz_new_pam_pixmap_writer()
        		fz_new_pbm_pixmap_writer()
        		fz_new_pcl_writer()
        		fz_new_pclm_writer()
        		fz_new_pdf_writer()
        		fz_new_pdfocr_writer()
        		fz_new_pgm_pixmap_writer()
        		fz_new_pkm_pixmap_writer()
        		fz_new_png_pixmap_writer()
        		fz_new_pnm_pixmap_writer()
        		fz_new_ppm_pixmap_writer()
        		fz_new_ps_writer()
        		fz_new_pwg_writer()
        		fz_new_svg_writer()


        |

        *Overload 7:*
         Constructor using one of:
        		fz_new_cbz_writer_with_output()
        		fz_new_docx_writer_with_output()
        		fz_new_odt_writer_with_output()
        		fz_new_pcl_writer_with_output()
        		fz_new_pclm_writer_with_output()
        		fz_new_pdf_writer_with_output()
        		fz_new_pdfocr_writer_with_output()
        		fz_new_ps_writer_with_output()
        		fz_new_pwg_writer_with_output()

        	This constructor takes ownership of <out> -
        	out.m_internal is set to NULL after this constructor
        	returns so <out> must not be used again.


        |

        *Overload 8:*
         Constructor using one of:
        		fz_new_document_writer()
        		fz_new_text_writer()


        |

        *Overload 9:*
         Constructor using fz_new_document_writer_with_output().

        	This constructor takes ownership of <out> -
        	out.m_internal is set to NULL after this constructor
        	returns so <out> must not be used again.


        |

        *Overload 10:*
         Constructor using fz_new_text_writer_with_output().

        	This constructor takes ownership of <out> -
        	out.m_internal is set to NULL after this constructor
        	returns so <out> must not be used again.


        |

        *Overload 11:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 12:*
         Constructor using raw copy of pre-existing `::fz_document_writer`.
        N)r   FzDocumentWriter_swiginitnew_FzDocumentWriterr   s     r   rS   zFzDocumentWriter.__init__`  s     \ 	((v/J/JD/QRr#   c                 ,    t        j                  |       S r+  )r   !FzDocumentWriter_m_internal_valuerV   s    r   r+  z!FzDocumentWriter.m_internal_value`  r,  r#   c                 ,    t        j                  |       S r-   )r   FzDocumentWriter___nonzero__rV   s    r   r   zFzDocumentWriter.__nonzero__`  r  r#   r+  N)Tr   r   r6   r7   r   r   r   r   r   FzDocumentWriter_PathType_CBZPathType_CBZFzDocumentWriter_PathType_DOCXPathType_DOCXFzDocumentWriter_PathType_ODTPathType_ODT$FzDocumentWriter_PathType_PAM_PIXMAPPathType_PAM_PIXMAP$FzDocumentWriter_PathType_PBM_PIXMAPPathType_PBM_PIXMAPFzDocumentWriter_PathType_PCLPathType_PCLFzDocumentWriter_PathType_PCLMPathType_PCLMFzDocumentWriter_PathType_PDFPathType_PDF FzDocumentWriter_PathType_PDFOCRPathType_PDFOCR$FzDocumentWriter_PathType_PGM_PIXMAPPathType_PGM_PIXMAP$FzDocumentWriter_PathType_PKM_PIXMAPPathType_PKM_PIXMAP$FzDocumentWriter_PathType_PNG_PIXMAPPathType_PNG_PIXMAP$FzDocumentWriter_PathType_PNM_PIXMAPPathType_PNM_PIXMAP$FzDocumentWriter_PathType_PPM_PIXMAPPathType_PPM_PIXMAPFzDocumentWriter_PathType_PSPathType_PSFzDocumentWriter_PathType_PWGPathType_PWGFzDocumentWriter_PathType_SVGPathType_SVGFzDocumentWriter_OutputType_CBZOutputType_CBZ FzDocumentWriter_OutputType_DOCXOutputType_DOCXFzDocumentWriter_OutputType_ODTOutputType_ODTFzDocumentWriter_OutputType_PCLOutputType_PCL FzDocumentWriter_OutputType_PCLMOutputType_PCLMFzDocumentWriter_OutputType_PDFOutputType_PDF"FzDocumentWriter_OutputType_PDFOCROutputType_PDFOCRFzDocumentWriter_OutputType_PSOutputType_PSFzDocumentWriter_OutputType_PWGOutputType_PWG(FzDocumentWriter_FormatPathType_DOCUMENTFormatPathType_DOCUMENT$FzDocumentWriter_FormatPathType_TEXTFormatPathType_TEXTr1  r1  r1  r1  r1  r1  r1  rS   delete_FzDocumentWriterr   r+  r   r   FzDocumentWriter_m_internal_getFzDocumentWriter_m_internal_setr+  $FzDocumentWriter_s_num_instances_get$FzDocumentWriter_s_num_instances_setr+  r$   r#   r   r1  r1  _  s   U-/IOdeGH77L99M77L EE EE77L99M77L==O EE EE EE EE EE55K77L77L;;N==O;;N;;N==O;;NAA99M;;N$MM EEE	F9\D\GnS^ 55>9H &@@&BhBh  oN  OJvJJFLwLwxOr#   r1  c                      e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Z ee
j                  e
j                        Z ee
j                   e
j"                        Z ee
j&                  e
j(                        Z ee
j,                  e
j.                        Z ee
j2                  e
j4                        Z ee
j8                  e
j:                        Z ee
j>                  e
j@                        Z! ee
jD                  e
jF                        Z$ ee
jJ                  e
jL                        Z' ee
jP                  e
jR                        Z*d Z+d	 Z,d
 Z-y)FzDrawOptionsz
    Wrapper class for struct `fz_draw_options`. Not copyable or assignable.
    struct fz_draw_options: Options for creating a pixmap and draw
    device.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzDrawOptions.<lambda>`  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzDrawOptions.<lambda>`  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_parse_draw_options()`.
        		Parse draw device options from a comma separated key-value string.


        |

        *Overload 2:*
         Default constructor, sets each member to default value.

        |

        *Overload 3:*
         Constructor using raw copy of pre-existing `::fz_draw_options`.

        |

        *Overload 4:*
         Constructor using raw copy of pre-existing `::fz_draw_options`.
        N)r   FzDrawOptions_swiginitnew_FzDrawOptionsr   s     r   rS   zFzDrawOptions.__init__`      , 	%%dF,D,Dd,KLr#   c                 .    t        j                  | g| S rg+  )r   FzDrawOptions_internalr   s     r   ri+  zFzDrawOptions.internal`  ry-  r#   c                 ,    t        j                  |       S rk+  )r   FzDrawOptions_to_stringrV   s    r   r[+  zFzDrawOptions.to_string`  r+  r#   c                 .    t        j                  | |      S ro+  )r   FzDrawOptions___eq__rq+  s     r   r}   zFzDrawOptions.__eq__`  r~-  r#   c                 .    t        j                  | |      S ro+  )r   FzDrawOptions___ne__rq+  s     r   r   zFzDrawOptions.__ne__`  r~-  r#   N).r   r   r6   r7   r   r   r   r   rS   ri+  r   delete_FzDrawOptionsr   FzDrawOptions_rotate_getFzDrawOptions_rotate_setr
  FzDrawOptions_x_resolution_getFzDrawOptions_x_resolution_setr
  FzDrawOptions_y_resolution_getFzDrawOptions_y_resolution_setr	
  FzDrawOptions_width_getFzDrawOptions_width_setr
  FzDrawOptions_height_getFzDrawOptions_height_setr
  FzDrawOptions_colorspace_getFzDrawOptions_colorspace_setr  FzDrawOptions_alpha_getFzDrawOptions_alpha_setrA  FzDrawOptions_graphics_getFzDrawOptions_graphics_setr
  FzDrawOptions_text_getFzDrawOptions_text_setr
  !FzDrawOptions_s_num_instances_get!FzDrawOptions_s_num_instances_setr+  r[+  r}   r   r$   r#   r   r1  r1  `  s7    -/IOdeGHM0
: 22f55v7V7VWFFAA6ChChiLFAA6ChChiLV33V5S5STEf55v7V7VWF&==v?b?bcJV33V5S5STE996;\;\]HF1163P3PQDvGGIqIqrO466r#   r1  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzErrorContextzHWrapper class for struct `fz_error_context`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzErrorContext.<lambda>`  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzErrorContext.<lambda>`  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_error_context`.
        N)r   FzErrorContext_swiginitnew_FzErrorContextr   s     r   rS   zFzErrorContext.__init__`  r+  r#   c                 ,    t        j                  |       S r+  )r   FzErrorContext_m_internal_valuerV   s    r   r+  zFzErrorContext.m_internal_value`  r+  r#   c                 ,    t        j                  |       S r-   )r   FzErrorContext___nonzero__rV   s    r   r   zFzErrorContext.__nonzero__`  rX  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzErrorContextr   r+  r   r   FzErrorContext_m_internal_getFzErrorContext_m_internal_setr+  "FzErrorContext_s_num_instances_get"FzErrorContext_s_num_instances_setr+  r$   r#   r   r2  r2  `  z    S-/IOdeGH
O 33<7H &>>@d@d  kJ  KJvHH&JsJstOr#   r2  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzErrorStackSlotzKWrapper class for struct `fz_error_stack_slot`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzErrorStackSlot.<lambda>a  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzErrorStackSlot.<lambda>a  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_error_stack_slot`.
        N)r   FzErrorStackSlot_swiginitnew_FzErrorStackSlotr   s     r   rS   zFzErrorStackSlot.__init__a  r,  r#   c                 ,    t        j                  |       S r+  )r   !FzErrorStackSlot_m_internal_valuerV   s    r   r+  z!FzErrorStackSlot.m_internal_valuea  r,  r#   c                 ,    t        j                  |       S r-   )r   FzErrorStackSlot___nonzero__rV   s    r   r   zFzErrorStackSlot.__nonzero__a  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzErrorStackSlotr   r+  r   r   FzErrorStackSlot_m_internal_getFzErrorStackSlot_m_internal_setr+  $FzErrorStackSlot_s_num_instances_get$FzErrorStackSlot_s_num_instances_setr+  r$   r#   r   r2  r2  a  sz    V-/IOdeGH
S 55>9H &@@&BhBh  oN  OJvJJFLwLwxOr#   r2  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'd& Z(d' Z)e*jV                  Z,d( Z-d) Z.e.Z/ ee*j`                  e*jb                  d*      Z2 ee*jf                  e*jh                        Z5y+),FzFontzJ
    Wrapper class for struct `fz_font`.
    An abstract font handle.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzFont.<lambda>,a  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzFont.<lambda>,a  rL   r#   rM   rN   c                 0    t        j                  | ||      S )a<  
        Class-aware wrapper for `::fz_advance_glyph()`.
        	Return the advance for a given glyph.

        	font: The font to look for the glyph in.

        	glyph: The glyph to find the advance for.

        	wmode: 1 for vertical mode, 0 for horizontal.

        	Returns the advance for the glyph.
        )r   FzFont_fz_advance_glyph)r   r[  r'	  s      r   fz_advance_glyphzFzFont.fz_advance_glyph/a  s     --dE5AAr#   c                 0    t        j                  | ||      S )ab  
        Class-aware wrapper for `::fz_bound_glyph()`.
        	Return a bbox for a given glyph in a font.

        	font: The font to look for the glyph in.

        	gid: The glyph to bound.

        	trm: The matrix to apply to the glyph before bounding.

        	Returns rectangle by value containing the bounds of the given
        	glyph.
        )r   FzFont_fz_bound_glyph)r   r	  r$	  s      r   fz_bound_glyphzFzFont.fz_bound_glyph>a  s     ++D#s;;r#   c                 .    t        j                  | |      S z5Class-aware wrapper for `::fz_decouple_type3_font()`.)r   FzFont_fz_decouple_type3_font)r   r  s     r   fz_decouple_type3_fontzFzFont.fz_decouple_type3_fontNa      33D%@@r#   c                 .    t        j                  | |      S )a^  
        Class-aware wrapper for `::fz_encode_character()`.
        	Find the glyph id for a given unicode
        	character within a font.

        	font: The font to look for the unicode character in.

        	unicode: The unicode character to encode.

        	Returns the glyph id for the given unicode value, or 0 if
        	unknown.
        )r   FzFont_fz_encode_characterr   r  s     r   fz_encode_characterzFzFont.fz_encode_characterRa  s     00w??r#   c                 .    t        j                  | |      S )aL  
        Class-aware wrapper for `::fz_encode_character_by_glyph_name()`.
        	Encode character.

        	Either by direct lookup of glyphname within a font, or, failing
        	that, by mapping glyphname to unicode and thence to the glyph
        	index within the given font.

        	Returns zero for type3 fonts.
        )r   (FzFont_fz_encode_character_by_glyph_name)r   r  s     r   !fz_encode_character_by_glyph_namez(FzFont.fz_encode_character_by_glyph_nameaa  s     >>tYOOr#   c                 .    t        j                  | |      S )aW  
        Class-aware wrapper for `::fz_encode_character_sc()`.
        	Encode character, preferring small-caps variant if available.

        	font: The font to look for the unicode character in.

        	unicode: The unicode character to encode.

        	Returns the glyph id for the given unicode value, or 0 if
        	unknown.
        )r   FzFont_fz_encode_character_scr82  s     r   fz_encode_character_sczFzFont.fz_encode_character_scna  s     33D'BBr#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_encode_character_with_fallback()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_encode_character_with_fallback(int unicode, int script, int language, ::fz_font **out_font)` => `(int)`

        	Find the glyph id for
        	a given unicode character within a font, falling back to
        	an alternative if not found.

        	font: The font to look for the unicode character in.

        	unicode: The unicode character to encode.

        	script: The script in use.

        	language: The language in use.

        	out_font: The font handle in which the given glyph represents
        	the requested unicode character. The caller does not own the
        	reference it is passed, so should call fz_keep_font if it is
        	not simply to be used immediately.

        	Returns the glyph id for the given unicode value in the supplied
        	font (and sets *out_font to font) if it is present. Otherwise
        	an alternative fallback font (based on script/language) is
        	searched for. If the glyph is found therein, *out_font is set
        	to this reference, and the glyph reference is returned. If it
        	cannot be found anywhere, the function returns 0.
        )r   (FzFont_fz_encode_character_with_fallback)r   r  r  r0	  r  s        r   !fz_encode_character_with_fallbackz(FzFont.fz_encode_character_with_fallback|a  s    > >>tWfV^`hiir#   c                 0    t        j                  | ||      S )zs
        Class-aware wrapper for `::fz_enumerate_font_cmap()`.
        	Enumerate a cmap using a callback.
        )r   FzFont_fz_enumerate_font_cmap)r   r  rt  s      r   fz_enumerate_font_cmapzFzFont.fz_enumerate_font_cmapa  s    
 33D"fEEr#   c                 ,    t        j                  |       S zlClass-aware wrapper for `::fz_enumerate_font_cmap2()`.   SWIG-friendly wrapper for fz_enumerate_font_cmap().)r   FzFont_fz_enumerate_font_cmap2rV   s    r   fz_enumerate_font_cmap2zFzFont.fz_enumerate_font_cmap2a  r0  r#   c                 ,    t        j                  |       S z6Class-aware wrapper for `::fz_extract_ttf_from_ttc()`.)r   FzFont_fz_extract_ttf_from_ttcrV   s    r   fz_extract_ttf_from_ttczFzFont.fz_extract_ttf_from_ttca  r0  r#   c                 ,    t        j                  |       S )zi
        Class-aware wrapper for `::fz_font_ascender()`.
        	Retrieve font ascender in ems.
        )r   FzFont_fz_font_ascenderrV   s    r   fz_font_ascenderzFzFont.fz_font_ascendera  rX-  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_font_bbox()`.
        	Retrieve the font bbox.

        	font: The font to query.

        	Returns the font bbox by value; it is valid only if
        	fz_font_flags(font)->invalid_bbox is zero.
        )r   FzFont_fz_font_bboxrV   s    r   fz_font_bboxzFzFont.fz_font_bboxa       ))$//r#   c                 ,    t        j                  |       S )zk
        Class-aware wrapper for `::fz_font_descender()`.
        	Retrieve font descender in ems.
        )r   FzFont_fz_font_descenderrV   s    r   fz_font_descenderzFzFont.fz_font_descendera      
 ..t44r#   c                 .    t        j                  | |      S )zu
        Class-aware wrapper for `::fz_font_digest()`.
        	Retrieve the MD5 digest for the font's data.
        )r   FzFont_fz_font_digestr%-  s     r   fz_font_digestzFzFont.fz_font_digesta      
 ++D&99r#   c                 ,    t        j                  |       S )a<  
        Class-aware wrapper for `::fz_font_ft_face()`.
        	Retrieve the FT_Face handle
        	for the font.

        	font: The font to query

        	Returns the FT_Face handle for the font, or NULL
        	if not a freetype handled font. (Cast to void *
        	to avoid nasty header exposure).
        )r   FzFont_fz_font_ft_facerV   s    r   fz_font_ft_facezFzFont.fz_font_ft_facea  s     ,,T22r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_font_is_bold()`.
        	Query whether the font flags say that this font is bold.
        )r   FzFont_fz_font_is_boldrV   s    r   fz_font_is_boldzFzFont.fz_font_is_bolda      
 ,,T22r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_font_is_italic()`.
        	Query whether the font flags say that this font is italic.
        )r   FzFont_fz_font_is_italicrV   s    r   fz_font_is_italiczFzFont.fz_font_is_italica  rX2  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_font_is_monospaced()`.
        	Query whether the font flags say that this font is monospaced.
        )r   FzFont_fz_font_is_monospacedrV   s    r   fz_font_is_monospacedzFzFont.fz_font_is_monospaceda  r-  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_font_is_serif()`.
        	Query whether the font flags say that this font is serif.
        )r   FzFont_fz_font_is_serifrV   s    r   fz_font_is_serifzFzFont.fz_font_is_serifa  rX-  r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_font_name()`.
        	Retrieve a pointer to the name of the font.

        	font: The font to query.

        	Returns a pointer to an internal copy of the font name.
        	Will never be NULL, but may be the empty string.
        )r   FzFont_fz_font_namerV   s    r   fz_font_namezFzFont.fz_font_namea  rT2  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_font_t3_procs()`.
        	Retrieve the Type3 procs
        	for a font.

        	font: The font to query

        	Returns the t3_procs pointer. Will be NULL for a
        	non type-3 font.
        )r   FzFont_fz_font_t3_procsrV   s    r   fz_font_t3_procszFzFont.fz_font_t3_procsb  r4-  r#   c                 2    t        j                  | |||      S )a  
        Class-aware wrapper for `::fz_get_glyph_name()`.
        	Find the name of a glyph

        	font: The font to look for the glyph in.

        	glyph: The glyph id to look for.

        	buf: Pointer to a buffer for the name to be inserted into.

        	size: The size of the buffer.

        	If a font contains a name table, then the name of the glyph
        	will be returned in the supplied buffer. Otherwise a name
        	is synthesised. The name will be truncated to fit in
        	the buffer.
        )r   FzFont_fz_get_glyph_name)r   r[  rb  r   s       r   fz_get_glyph_namezFzFont.fz_get_glyph_nameb  s    $ ..tUCFFr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_get_glyph_name2()`.
        C++ alternative to fz_get_glyph_name() that returns information in a std::string.
        )r   FzFont_fz_get_glyph_name2)r   r[  s     r   fz_get_glyph_name2zFzFont.fz_get_glyph_name2$b  s    
 //e<<r#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_glyph_cacheable()`.
        	Determine if a given glyph in a font
        	is cacheable. Certain glyphs in a type 3 font cannot safely
        	be cached, as their appearance depends on the enclosing
        	graphic state.

        	font: The font to look for the glyph in.

        	gif: The glyph to query.

        	Returns non-zero if cacheable, 0 if not.
        )r   FzFont_fz_glyph_cacheabler   r	  s     r   fz_glyph_cacheablezFzFont.fz_glyph_cacheable+b  s     //c::r#   c           	      8    t        j                  | ||||||      S )a  
        Class-aware wrapper for `::fz_measure_string()`.
        	Measure the advance width of a UTF8 string should it be added to a text object.

        	This uses the same layout algorithms as fz_show_string, and can be used
        	to calculate text alignment adjustments.
        )r   FzFont_fz_measure_string)r   r$	  r<  r'	  r*	  r-	  r0	  s          r   fz_measure_stringzFzFont.fz_measure_string;b  s#     ..tS!UJPZ\deer#   c                 0    t        j                  | ||      S )a)  
        Class-aware wrapper for `::fz_outline_glyph()`.
        	Look a glyph up from a font, and return the outline of the
        	glyph using the given transform.

        	The caller owns the returned path, and so is responsible for
        	ensuring that it eventually gets dropped.
        )r   FzFont_fz_outline_glyph)r   r	  rW  s      r   fz_outline_glyphzFzFont.fz_outline_glyphEb  s     --dC==r#   c                 .    t        j                  | |      S )aX  
        Class-aware wrapper for `::fz_prepare_t3_glyph()`.
        	Force a type3 font to cache the displaylist for a given glyph
        	id.

        	This caching can involve reading the underlying file, so must
        	happen ahead of time, so we aren't suddenly forced to read the
        	file while playing a displaylist back.
        )r   FzFont_fz_prepare_t3_glyphr{2  s     r   fz_prepare_t3_glyphzFzFont.fz_prepare_t3_glyphPb  s     00s;;r#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_render_glyph_pixmap()`.
        	Create a pixmap containing a rendered glyph.

        	Lookup gid from font, clip it with scissor, and rendering it
        	with aa bits of antialiasing into a new pixmap.

        	The caller takes ownership of the pixmap and so must free it.

        	Note: This function is no longer used for normal rendering
        	operations, and is kept around just because we use it in the
        	app. It should be considered "at risk" of removal from the API.
        )r   FzFont_fz_render_glyph_pixmap)r   r	  rW  rh	  rx  s        r   fz_render_glyph_pixmapzFzFont.fz_render_glyph_pixmap\b  s     33D#sGRPPr#   c                 2    t        j                  | |||      S )a$  
        Class-aware wrapper for `::fz_run_t3_glyph()`.
        	Run a glyph from a Type3 font to
        	a given device.

        	font: The font to find the glyph in.

        	gid: The glyph to run.

        	trm: The transform to apply.

        	dev: The device to render onto.
        )r   FzFont_fz_run_t3_glyph)r   r	  r$	  rT  s       r   fz_run_t3_glyphzFzFont.fz_run_t3_glyphlb  s     ,,T3SAAr#   c                 4    t        j                  | ||||      S )z
        Class-aware wrapper for `::fz_set_font_bbox()`.
        	Set the font bbox.

        	font: The font to set the bbox for.

        	xmin, ymin, xmax, ymax: The bounding box.
        )r   FzFont_fz_set_font_bbox)r   r  r  r  r  s        r   fz_set_font_bboxzFzFont.fz_set_font_bbox|b  s     --dD$dKKr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_set_font_embedding()`.
        	Control whether a given font should be embedded or not when writing.
        )r   FzFont_fz_set_font_embedding)r   rM  s     r   fz_set_font_embeddingzFzFont.fz_set_font_embeddingb  s    
 224??r#   c                 ,    t        j                  |       S z9Class-aware wrapper for `::pdf_font_writing_supported()`.)r   !FzFont_pdf_font_writing_supportedrV   s    r   pdf_font_writing_supportedz!FzFont.pdf_font_writing_supportedb  r,  r#   c                 2    t        j                  | |||      S z2Class-aware wrapper for `::pdf_layout_fit_text()`.)r   FzFont_pdf_layout_fit_text)r   r(  r  r&  s       r   pdf_layout_fit_textzFzFont.pdf_layout_fit_textb  s    00tS&IIr#   c                 P    t        j                  | t        j                  |        y)a

  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_base14_font()`.
        		Create a new font from one of the built-in fonts.


        |

        *Overload 2:*
         Constructor using `fz_new_builtin_font()`.

        |

        *Overload 3:*
         Constructor using `fz_new_cjk_font()`.

        |

        *Overload 4:*
         Constructor using `fz_new_font_from_buffer()`.
        		Create a new font from a font file in a fz_buffer.

        		Fonts created in this way, will be eligible for embedding by default.

        		name: Name of font (leave NULL to use name from font).

        		buffer: Buffer to load from.

        		index: Which font from the file to load (0 for default).

        		use_glyph_box: 1 if we should use the glyph bbox, 0 otherwise.

        		Returns new font handle, or throws exception on error.


        |

        *Overload 5:*
         Constructor using `fz_new_font_from_file()`.
        		Create a new font from a font file.

        		Fonts created in this way, will be eligible for embedding by default.

        		name: Name of font (leave NULL to use name from font).

        		path: File path to load from.

        		index: Which font from the file to load (0 for default).

        		use_glyph_box: 1 if we should use the glyph bbox, 0 otherwise.

        		Returns new font handle, or throws exception on error.


        |

        *Overload 6:*
         Constructor using `fz_new_font_from_memory()`.
        		Create a new font from a font file in memory.

        		Fonts created in this way, will be eligible for embedding by default.

        		name: Name of font (leave NULL to use name from font).

        		data: Pointer to the font file data.

        		len: Length of the font file data.

        		index: Which font from the file to load (0 for default).

        		use_glyph_box: 1 if we should use the glyph bbox, 0 otherwise.

        		Returns new font handle, or throws exception on error.


        |

        *Overload 7:*
         Constructor using `fz_new_type3_font()`.
        		Create a new (empty) type3 font.

        		name: Name of font (or NULL).

        		matrix: Font matrix.

        		Returns a new font handle, or throws exception on
        		allocation failure.


        |

        *Overload 8:*
         Copy constructor using `fz_keep_font()`.

        |

        *Overload 9:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 10:*
         Constructor using raw copy of pre-existing `::fz_font`.
        N)r   FzFont_swiginit
new_FzFontr   s     r   rS   zFzFont.__init__b  s     R 	tV%6%6%=>r#   c                 ,    t        j                  |       S r+  )r   FzFont_m_internal_valuerV   s    r   r+  zFzFont.m_internal_valuec  r+  r#   c                 ,    t        j                  |       S r-   )r   FzFont___nonzero__rV   s    r   r   zFzFont.__nonzero__c  r  r#   r+  N)6r   r   r6   r7   r   r   r   r   r-2  r02  r42  r92  r<2  r?2  rB2  rE2  rI2  rM2  rP2  rS2  rW2  r[2  r_2  rb2  rf2  ri2  rl2  ro2  rr2  ru2  rx2  r|2  r2  r2  r2  r2  r2  r2  r2  r2  r2  rS   r   delete_FzFontr   r+  r   r   FzFont_m_internal_getFzFont_m_internal_setr+  FzFont_s_num_instances_getFzFont_s_num_instances_setr+  r$   r#   r   r(2  r(2  &a  s,   
 -/IOdeGHB< A@PCjBF;;4
05:33594
04G(=; f	>
<Q B 	L@>Ji?T ++4/H &668T8TZyzJv@@&BcBcdOr#   r(2  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzFontContextzGWrapper class for struct `fz_font_context`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzFontContext.<lambda>c  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzFontContext.<lambda>c  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_font_context`.
        N)r   FzFontContext_swiginitnew_FzFontContextr   s     r   rS   zFzFontContext.__init__c       	%%dF,D,Dd,KLr#   c                 ,    t        j                  |       S r+  )r   FzFontContext_m_internal_valuerV   s    r   r+  zFzFontContext.m_internal_value#c  r0  r#   c                 ,    t        j                  |       S r-   )r   FzFontContext___nonzero__rV   s    r   r   zFzFontContext.__nonzero__'c  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzFontContextr   r+  r   r   FzFontContext_m_internal_getFzFontContext_m_internal_setr+  !FzFontContext_s_num_instances_get!FzFontContext_s_num_instances_setr+  r$   r#   r   r2  r2  c  z    R-/IOdeGH
M 22;6H &==v?b?b  iH  IJvGGIqIqrOr#   r2  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzFontFlagsTz
    Wrapper class for struct `fz_font_flags_t`. Not copyable or assignable.
    Every fz_font carries a set of flags
    within it, in a fz_font_flags_t structure.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzFontFlagsT.<lambda>8c  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzFontFlagsT.<lambda>8c  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_font_flags_t`.
        N)r   FzFontFlagsT_swiginitnew_FzFontFlagsTr   s     r   rS   zFzFontFlagsT.__init__;c       	$$T6+B+BD+IJr#   c                 ,    t        j                  |       S r+  )r   FzFontFlagsT_m_internal_valuerV   s    r   r+  zFzFontFlagsT.m_internal_valueHc  rK,  r#   c                 ,    t        j                  |       S r-   )r   FzFontFlagsT___nonzero__rV   s    r   r   zFzFontFlagsT.__nonzero__Lc  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzFontFlagsTr   r+  r   r   FzFontFlagsT_m_internal_getFzFontFlagsT_m_internal_setr+   FzFontFlagsT_s_num_instances_get FzFontFlagsT_s_num_instances_setr+  r$   r#   r   r2  r2  1c  s~     -/IOdeGH
K 11:5H &<<f>`>`  gF  GJvFFHoHopOr#   r2  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
ej                  Zd	 Zd
 ZeZ eej"                  ej$                  d      Z eej(                  ej*                        Zy)
FzFunctionz'Wrapper class for struct `fz_function`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzFunction.<lambda>Yc  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzFunction.<lambda>Yc  rL   r#   rM   rN   c                 4    t        j                  | ||||      S )z
        Class-aware wrapper for `::fz_eval_function()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_eval_function(const float *in, int inlen, int outlen)` => float out
        )r   FzFunction_fz_eval_functionr   r?  r  rl  r  s        r   fz_eval_functionzFzFunction.fz_eval_function\c  s     11$UCPPr#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::fz_function_size()`.)r   FzFunction_fz_function_sizerV   s    r   fz_function_sizezFzFunction.fz_function_sizeec  r,  r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        == Constructors.  Constructor using `fz_new_function_of_size()`.

        |

        *Overload 2:*
        Copy constructor using `fz_keep_function()`.

        |

        *Overload 3:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 4:*
        Constructor using raw copy of pre-existing `::fz_function`.
        N)r   FzFunction_swiginitnew_FzFunctionr   s     r   rS   zFzFunction.__init__ic  s    ( 	""4)>)>)EFr#   c                 ,    t        j                  |       S r+  )r   FzFunction_m_internal_valuerV   s    r   r+  zFzFunction.m_internal_valuec  r,  r#   c                 ,    t        j                  |       S r-   )r   FzFunction___nonzero__rV   s    r   r   zFzFunction.__nonzero__c  r  r#   r+  N)r   r   r6   r7   r   r   r   r   r2  r2  rS   r   delete_FzFunctionr   r+  r   r   FzFunction_m_internal_getFzFunction_m_internal_setr+  FzFunction_s_num_instances_getFzFunction_s_num_instances_setr+  r$   r#   r   r2  r2  Vc  s    2-/IOdeGHQ8G* //83H &::F<\<\  cB  CJvDDfFkFklOr#   r2  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzGetoptLongOptionszNWrapper class for struct `fz_getopt_long_options`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzGetoptLongOptions.<lambda>c  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzGetoptLongOptions.<lambda>c  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_getopt_long_options`.
        N)r   FzGetoptLongOptions_swiginitnew_FzGetoptLongOptionsr   s     r   rS   zFzGetoptLongOptions.__init__c  r.  r#   c                 ,    t        j                  |       S r+  )r   $FzGetoptLongOptions_m_internal_valuerV   s    r   r+  z$FzGetoptLongOptions.m_internal_valuec  r-  r#   c                 ,    t        j                  |       S r-   )r   FzGetoptLongOptions___nonzero__rV   s    r   r   zFzGetoptLongOptions.__nonzero__c  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzGetoptLongOptionsr   r+  r   r   "FzGetoptLongOptions_m_internal_get"FzGetoptLongOptions_m_internal_setr+  'FzGetoptLongOptions_s_num_instances_get'FzGetoptLongOptions_s_num_instances_setr+  r$   r#   r   r2  r2  c  s{    Y-/IOdeGH
Y 88A<H &CCVEnEn  uT  UJvMMvO}O}~Or#   r2  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zej                  Zd Zd ZeZ eej&                  ej(                  d      Z eej,                  ej.                        Zy)FzGlyphz
    Wrapper class for struct `fz_glyph`.
    Glyphs represent a run length encoded set of pixels for a 2
    dimensional region of a plane.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzGlyph.<lambda>c  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzGlyph.<lambda>c  rL   r#   rM   rN   c                 ,    t        j                  |       S )zw
        Class-aware wrapper for `::fz_glyph_bbox()`.
        	Return the bounding box of the glyph in pixels.
        )r   FzGlyph_fz_glyph_bboxrV   s    r   fz_glyph_bboxzFzGlyph.fz_glyph_bboxc      
 ++D11r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::fz_glyph_bbox_no_ctx()`.)r   FzGlyph_fz_glyph_bbox_no_ctxrV   s    r   fz_glyph_bbox_no_ctxzFzGlyph.fz_glyph_bbox_no_ctxc      22488r#   c                 ,    t        j                  |       S )zs
        Class-aware wrapper for `::fz_glyph_height()`.
        	Return the height of the glyph in pixels.
        )r   FzGlyph_fz_glyph_heightrV   s    r   fz_glyph_heightzFzGlyph.fz_glyph_heightc  rX-  r#   c                 ,    t        j                  |       S )zq
        Class-aware wrapper for `::fz_glyph_width()`.
        	Return the width of the glyph in pixels.
        )r   FzGlyph_fz_glyph_widthrV   s    r   fz_glyph_widthzFzGlyph.fz_glyph_widthc  rc2  r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        Copy constructor using `fz_keep_glyph()`.

        |

        *Overload 2:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_glyph`.
        N)r   FzGlyph_swiginitnew_FzGlyphr   s     r   rS   zFzGlyph.__init__c       	f&8&8$&?@r#   c                 ,    t        j                  |       S r+  )r   FzGlyph_m_internal_valuerV   s    r   r+  zFzGlyph.m_internal_valuec  r8/  r#   c                 ,    t        j                  |       S r-   )r   FzGlyph___nonzero__rV   s    r   r   zFzGlyph.__nonzero__c  rl   r#   r+  N)r   r   r6   r7   r   r   r   r   r2  r2  r 3  r3  rS   r   delete_FzGlyphr   r+  r   r   FzGlyph_m_internal_getFzGlyph_m_internal_setr+  FzGlyph_s_num_instances_getFzGlyph_s_num_instances_setr+  r$   r#   r   r2  r2  c  s     -/IOdeGH2943A  ,,50H &779V9V\{|JvAA6CeCefOr#   r2  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzGlyphCachezFWrapper class for struct `fz_glyph_cache`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzGlyphCache.<lambda>c  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzGlyphCache.<lambda>c  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_glyph_cache`.
        N)r   FzGlyphCache_swiginitnew_FzGlyphCacher   s     r   rS   zFzGlyphCache.__init__c  r2  r#   c                 ,    t        j                  |       S r+  )r   FzGlyphCache_m_internal_valuerV   s    r   r+  zFzGlyphCache.m_internal_valued  rK,  r#   c                 ,    t        j                  |       S r-   )r   FzGlyphCache___nonzero__rV   s    r   r   zFzGlyphCache.__nonzero__	d  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzGlyphCacher   r+  r   r   FzGlyphCache_m_internal_getFzGlyphCache_m_internal_setr+   FzGlyphCache_s_num_instances_get FzGlyphCache_s_num_instances_setr+  r$   r#   r   r3  r3  c  z    Q-/IOdeGH
K 11:5H &<<f>`>`  gF  GJvFFHoHopOr#   r3  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)
FzHalftonea  
    Wrapper class for struct `fz_halftone`.
    A halftone is a set of threshold tiles, one per component. Each
    threshold tile is a pixmap, possibly of varying sizes and
    phases. Currently, we only provide one 'default' halftone tile
    for operating on 1 component plus alpha pixmaps (where the alpha
    is ignored). This is signified by a fz_halftone pointer to NULL.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzHalftone.<lambda>d  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzHalftone.<lambda>d  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)a   
        *Overload 1:*
        Copy constructor using `fz_keep_halftone()`.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_halftone`.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_halftone`.
        N)r   FzHalftone_swiginitnew_FzHalftoner   s     r   rS   zFzHalftone.__init__ d       	""4)>)>)EFr#   c                 ,    t        j                  |       S r+  )r   FzHalftone_m_internal_valuerV   s    r   r+  zFzHalftone.m_internal_value2d  r,  r#   c                 ,    t        j                  |       S r-   )r   FzHalftone___nonzero__rV   s    r   r   zFzHalftone.__nonzero__6d  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzHalftoner   r+  r   r   FzHalftone_m_internal_getFzHalftone_m_internal_setr+  FzHalftone_s_num_instances_getFzHalftone_s_num_instances_setr+  r$   r#   r   r#3  r#3  d  s~     -/IOdeGHG  //83H &::F<\<\  cB  CJvDDfFkFklOr#   r#3  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zej                  Zd Zd ZeZ eej(                  ej*                  d      Z eej.                  ej0                        Zy)FzHashTablea  
    Wrapper class for struct `fz_hash_table`. Not copyable or assignable.
    Generic hash-table with fixed-length keys.

    The keys and values are NOT reference counted by the hash table.
    Callers are responsible for taking care the reference counts are
    correct. Inserting a duplicate entry will NOT overwrite the old
    value, and will return the old value.

    The drop_val callback function is only used to release values
    when the hash table is destroyed.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzHashTable.<lambda>Nd  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzHashTable.<lambda>Nd  rL   r#   rM   rN   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_hash_filter()`.
        	Iterate over the entries in a hash table, removing all the ones where callback returns true.
        	Does NOT free the value of the entry, so the caller is expected to take care of this.
        )r   FzHashTable_fz_hash_filterr   r  r  s      r   fz_hash_filterzFzHashTable.fz_hash_filterQd  s     00uhGGr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_hash_find()`.
        	Search for a matching hash within the table, and return the
        	associated value.
        )r   FzHashTable_fz_hash_findrj  s     r   fz_hash_findzFzHashTable.fz_hash_findYd  s     ..tS99r#   c                 0    t        j                  | ||      S )zt
        Class-aware wrapper for `::fz_hash_for_each()`.
        	Iterate over the entries in a hash table.
        )r   FzHashTable_fz_hash_for_eachr93  s      r   fz_hash_for_eachzFzHashTable.fz_hash_for_eachad  s    
 224IIr#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_hash_insert()`.
        	Insert a new key/value pair into the hash table.

        	If an existing entry with the same key is found, no change is
        	made to the hash table, and a pointer to the existing value is
        	returned.

        	If no existing entry with the same key is found, ownership of
        	val passes in, key is copied, and NULL is returned.
        )r   FzHashTable_fz_hash_insertr   rk  r  s      r   fz_hash_insertzFzHashTable.fz_hash_inserthd  s     00sC@@r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_hash_remove()`.
        	Remove the entry for a given key.

        	The value is NOT freed, so the caller is expected to take care
        	of this.
        )r   FzHashTable_fz_hash_removerj  s     r   fz_hash_removezFzHashTable.fz_hash_removevd  s     00s;;r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_hash_table()`.
        		Create a new hash table.

        		initialsize: The initial size of the hashtable. The hashtable
        		may grow (double in size) if it starts to get crowded (80%
        		full).

        		keylen: byte length for each key.

        		lock: -1 for no lock, otherwise the FZ_LOCK to use to protect
        		this table.

        		drop_val: Function to use to destroy values on table drop.


        |

        *Overload 2:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 3:*
         Constructor using raw copy of pre-existing `::fz_hash_table`.
        N)r   FzHashTable_swiginitnew_FzHashTabler   s     r   rS   zFzHashTable.__init__d  s    8 	##D&*@*@$*GHr#   c                 ,    t        j                  |       S r+  )r   FzHashTable_m_internal_valuerV   s    r   r+  zFzHashTable.m_internal_valued  r2  r#   c                 ,    t        j                  |       S r-   )r   FzHashTable___nonzero__rV   s    r   r   zFzHashTable.__nonzero__d  rs   r#   r+  N)r   r   r6   r7   r   r   r   r   r:3  r=3  r@3  rD3  rG3  rS   r   delete_FzHashTabler   r+  r   r   FzHashTable_m_internal_getFzHashTable_m_internal_setr+  FzHashTable_s_num_instances_getFzHashTable_s_num_instances_setr+  r$   r#   r   r43  r43  @d  s     -/IOdeGHH:JA<I: 0094H &;;V=^=^  eD  EJvEEvGmGmnOr#   r43  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzIccProfilezt
    Wrapper class for struct `fz_icc_profile`. Not copyable or assignable.
    Opaque type for an ICC Profile.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzIccProfile.<lambda>d  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzIccProfile.<lambda>d  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_icc_profile`.
        N)r   FzIccProfile_swiginitnew_FzIccProfiler   s     r   rS   zFzIccProfile.__init__d  r2  r#   c                 ,    t        j                  |       S r+  )r   FzIccProfile_m_internal_valuerV   s    r   r+  zFzIccProfile.m_internal_valued  rK,  r#   c                 ,    t        j                  |       S r-   )r   FzIccProfile___nonzero__rV   s    r   r   zFzIccProfile.__nonzero__d  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzIccProfiler   r+  r   r   FzIccProfile_m_internal_getFzIccProfile_m_internal_setr+   FzIccProfile_s_num_instances_get FzIccProfile_s_num_instances_setr+  r$   r#   r   rU3  rU3  d  ~    
 -/IOdeGH
K 11:5H &<<f>`>`  gF  GJvFFHoHopOr#   rU3  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'd& Z(e)jT                  Z+d' Z,d( Z-e-Z. ee)j^                  e)j`                  d)      Z1 ee)jd                  e)jf                        Z4y*)+FzImagea  
    Wrapper class for struct `fz_image`.
    Images are storable objects from which we can obtain fz_pixmaps.
    These may be implemented as simple wrappers around a pixmap, or
    as more complex things that decode at different subsample
    settings on demand.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzImage.<lambda>d  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzImage.<lambda>d  rL   r#   rM   rN   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_compressed_image_buffer()`.
        	Retrieve the underlying compressed data for an image.

        	Returns a pointer to the underlying data buffer for an image,
        	or NULL if this image is not based upon a compressed data
        	buffer.

        	This is not a reference counted structure, so no reference is
        	returned. Lifespan is limited to that of the image itself.
        )r   "FzImage_fz_compressed_image_bufferrV   s    r   fz_compressed_image_bufferz"FzImage.fz_compressed_image_bufferd       88>>r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_compressed_image_type()`.
        	Return the type of a compressed image.

        	Any non-compressed image will have the type returned as UNKNOWN.
        )r    FzImage_fz_compressed_image_typerV   s    r   fz_compressed_image_typez FzImage.fz_compressed_image_typed  s     66t<<r#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_get_pixmap_from_image()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_get_pixmap_from_image(const ::fz_irect *subarea, ::fz_matrix *ctm)` => `(fz_pixmap *, int w, int h)`

        	Called to get a handle to a pixmap from an image.

        	image: The image to retrieve a pixmap from.

        	subarea: The subarea of the image that we actually care about
        	(or NULL to indicate the whole image).

        	ctm: Optional, unless subarea is given. If given, then on
        	entry this is the transform that will be applied to the complete
        	image. It should be updated on exit to the transform to apply to
        	the given subarea of the image. This is used to calculate the
        	desired width/height for subsampling.

        	w: If non-NULL, a pointer to an int to be updated on exit to the
        	width (in pixels) that the scaled output will cover.

        	h: If non-NULL, a pointer to an int to be updated on exit to the
        	height (in pixels) that the scaled output will cover.

        	Returns a non NULL kept pixmap pointer. May throw exceptions.
        )r    FzImage_fz_get_pixmap_from_image)r   rZ  rW  r7  r:  s        r   fz_get_pixmap_from_imagez FzImage.fz_get_pixmap_from_imaged  s    8 66tWc1aPPr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_get_unscaled_pixmap_from_image()`.
        	Calls fz_get_pixmap_from_image() with ctm, subarea, w and h all set to NULL.
        )r   )FzImage_fz_get_unscaled_pixmap_from_imagerV   s    r   !fz_get_unscaled_pixmap_from_imagez)FzImage.fz_get_unscaled_pixmap_from_imagee  r-  r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_image_orientation()`.
        	Request the natural orientation of an image.

        	This is for images (such as JPEG) that can contain internal
        	specifications of rotation/flips. This is ignored by all the
        	internal decode/rendering routines, but can be used by callers
        	(such as the image document handler) to respect such
        	specifications.

        	The values used by MuPDF are as follows, with the equivalent
        	Exif specifications given for information:

        	0: Undefined
        	1: 0 degree ccw rotation. (Exif = 1)
        	2: 90 degree ccw rotation. (Exif = 8)
        	3: 180 degree ccw rotation. (Exif = 3)
        	4: 270 degree ccw rotation. (Exif = 6)
        	5: flip on X. (Exif = 2)
        	6: flip on X, then rotate ccw by 90 degrees. (Exif = 5)
        	7: flip on X, then rotate ccw by 180 degrees. (Exif = 4)
        	8: flip on X, then rotate ccw by 270 degrees. (Exif = 7)
        )r   FzImage_fz_image_orientationrV   s    r   fz_image_orientationzFzImage.fz_image_orientatione  s    0 22488r#   c                 ,    t        j                  |       S z:Class-aware wrapper for `::fz_image_orientation_matrix()`.)r   #FzImage_fz_image_orientation_matrixrV   s    r   fz_image_orientation_matrixz#FzImage.fz_image_orientation_matrix3e  r-  r#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_image_resolution()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_image_resolution()` => `(int xres, int yres)`

        	Request the natural resolution
        	of an image.

        	xres, yres: Pointers to ints to be updated with the
        	natural resolution of an image (or a sensible default
        	if not encoded).
        )r   FzImage_fz_image_resolutionr   rL  rO  s      r   fz_image_resolutionzFzImage.fz_image_resolution7e  s     11$dCCr#   c                 ,    t        j                  |       S )zx
        Class-aware wrapper for `::fz_image_size()`.
        	Return the size of the storage used by an image.
        )r   FzImage_fz_image_sizerV   s    r   fz_image_sizezFzImage.fz_image_sizeGe  r2  r#   c                 2    t        j                  | |||      S z?Class-aware wrapper for `::fz_new_buffer_from_image_as_jpeg()`.)r   (FzImage_fz_new_buffer_from_image_as_jpegr   r  r  r  s       r    fz_new_buffer_from_image_as_jpegz(FzImage.fz_new_buffer_from_image_as_jpegNe  s    >>t\SZ\ghhr#   c                 0    t        j                  | ||      S z>Class-aware wrapper for `::fz_new_buffer_from_image_as_jpx()`.)r   'FzImage_fz_new_buffer_from_image_as_jpxr   r  r  s      r   fz_new_buffer_from_image_as_jpxz'FzImage.fz_new_buffer_from_image_as_jpxRe  s    ==dLRYZZr#   c                 .    t        j                  | |      S r,  )r   'FzImage_fz_new_buffer_from_image_as_pamr   r  s     r   r,  z'FzImage.fz_new_buffer_from_image_as_pamVe      ==dLQQr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_new_buffer_from_image_as_png()`.
        	Reencode a given image as a PNG into a buffer.

        	Ownership of the buffer is returned.
        )r   'FzImage_fz_new_buffer_from_image_as_pngr3  s     r   fz_new_buffer_from_image_as_pngz'FzImage.fz_new_buffer_from_image_as_pngZe  s     ==dLQQr#   c                 .    t        j                  | |      S r,  )r   'FzImage_fz_new_buffer_from_image_as_pnmr3  s     r   r,  z'FzImage.fz_new_buffer_from_image_as_pnmce  r3  r#   c                 .    t        j                  | |      S r,  )r   'FzImage_fz_new_buffer_from_image_as_psdr3  s     r   r,  z'FzImage.fz_new_buffer_from_image_as_psdge  r3  r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_image_from_buffer()`.
        		Create a new image from a
        		buffer of data, inferring its type from the format
        		of the data.


        |

        *Overload 2:*
         Constructor using `fz_new_image_from_compressed_buffer()`.
        		Create an image based on
        		the data in the supplied compressed buffer.

        		w,h: Width and height of the created image.

        		bpc: Bits per component.

        		colorspace: The colorspace (determines the number of components,
        		and any color conversions required while decoding).

        		xres, yres: The X and Y resolutions respectively.

        		interpolate: 1 if interpolation should be used when decoding
        		this image, 0 otherwise.

        		imagemask: 1 if this is an imagemask (i.e. transparency bitmap
        		mask), 0 otherwise.

        		decode: NULL, or a pointer to to a decode array. The default
        		decode array is [0 1] (repeated n times, for n color components).

        		colorkey: NULL, or a pointer to a colorkey array. The default
        		colorkey array is [0 255] (repeated n times, for n color
        		components).

        		buffer: Buffer of compressed data and compression parameters.
        		Ownership of this reference is passed in.

        		mask: NULL, or another image to use as a mask for this one.
        		A new reference is taken to this image. Supplying a masked
        		image as a mask to another image is illegal!


        |

        *Overload 3:*
         Constructor using `fz_new_image_from_compressed_buffer2()`.  Swig-friendly wrapper for fz_new_image_from_compressed_buffer(),
        	uses specified `decode` and `colorkey` if they are not null (in which
        	case we assert that they have size `2*fz_colorspace_n(colorspace)`).

        |

        *Overload 4:*
         Constructor using `fz_new_image_from_display_list()`.
        		Create a new image from a display list.

        		w, h: The conceptual width/height of the image.

        		transform: The matrix that needs to be applied to the given
        		list to make it render to the unit square.

        		list: The display list.


        |

        *Overload 5:*
         Constructor using `fz_new_image_from_file()`.
        		Create a new image from the contents
        		of a file, inferring its type from the format of the
        		data.


        |

        *Overload 6:*
         Constructor using `fz_new_image_from_pixmap()`.
        		Create an image from the given
        		pixmap.

        		pixmap: The pixmap to base the image upon. A new reference
        		to this is taken.

        		mask: NULL, or another image to use as a mask for this one.
        		A new reference is taken to this image. Supplying a masked
        		image as a mask to another image is illegal!


        |

        *Overload 7:*
         Constructor using `fz_new_image_from_svg()`.
        		Create a scalable image from an SVG document.


        |

        *Overload 8:*
         Constructor using `fz_new_image_from_svg_xml()`.
        		Create a scalable image from an SVG document.


        |

        *Overload 9:*
         Constructor using `fz_new_image_of_size()`.
        		Internal function to make a new fz_image structure
        		for a derived class.

        		w,h: Width and height of the created image.

        		bpc: Bits per component.

        		colorspace: The colorspace (determines the number of components,
        		and any color conversions required while decoding).

        		xres, yres: The X and Y resolutions respectively.

        		interpolate: 1 if interpolation should be used when decoding
        		this image, 0 otherwise.

        		imagemask: 1 if this is an imagemask (i.e. transparent), 0
        		otherwise.

        		decode: NULL, or a pointer to to a decode array. The default
        		decode array is [0 1] (repeated n times, for n color components).

        		colorkey: NULL, or a pointer to a colorkey array. The default
        		colorkey array is [0 255] (repeated n times, for n color
        		components).

        		mask: NULL, or another image to use as a mask for this one.
        		A new reference is taken to this image. Supplying a masked
        		image as a mask to another image is illegal!

        		size: The size of the required allocated structure (the size of
        		the derived structure).

        		get: The function to be called to obtain a decoded pixmap.

        		get_size: The function to be called to return the storage size
        		used by this image.

        		drop: The function to be called to dispose of this image once
        		the last reference is dropped.

        		Returns a pointer to an allocated structure of the required size,
        		with the first sizeof(fz_image) bytes initialised as appropriate
        		given the supplied parameters, and the other bytes set to zero.


        |

        *Overload 10:*
         Copy constructor using `fz_keep_image()`.

        |

        *Overload 11:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 12:*
         Constructor using raw copy of pre-existing `::fz_image`.
        N)r   FzImage_swiginitnew_FzImager   s     r   rS   zFzImage.__init__ke  s     R 	f&8&8$&?@r#   c                 ,    t        j                  |       S r-   )r   FzImage_key_storablerV   s    r   r  zFzImage.key_storablef  rW   r#   c                 ,    t        j                  |       S r-   )r   	FzImage_wrV   s    r   r7  z	FzImage.wf      %%r#   c                 ,    t        j                  |       S r-   )r   	FzImage_hrV   s    r   r:  z	FzImage.hf  r3  r#   c                 ,    t        j                  |       S r-   )r   	FzImage_nrV   s    r   r[   z	FzImage.nf  r3  r#   c                 ,    t        j                  |       S r-   )r   FzImage_bpcrV   s    r   r  zFzImage.bpc"f  rE  r#   c                 ,    t        j                  |       S r-   )r   FzImage_imagemaskrV   s    r   r  zFzImage.imagemask%f  r   r#   c                 ,    t        j                  |       S r-   )r   FzImage_interpolaterV   s    r   r  zFzImage.interpolate(f  rl   r#   c                 ,    t        j                  |       S r-   )r   FzImage_use_colorkeyrV   s    r   r  zFzImage.use_colorkey+f  rW   r#   c                 ,    t        j                  |       S r-   )r   FzImage_use_decoderV   s    r   r  zFzImage.use_decode.f  r  r#   c                 ,    t        j                  |       S r-   )r   FzImage_decodedrV   s    r   r  zFzImage.decoded1f  r   r#   c                 ,    t        j                  |       S r-   )r   FzImage_scalablerV   s    r   r  zFzImage.scalable4f  r   r#   c                 ,    t        j                  |       S r-   )r   FzImage_orientationrV   s    r   r  zFzImage.orientation7f  rl   r#   c                 ,    t        j                  |       S r-   )r   FzImage_maskrV   s    r   r  zFzImage.mask:f  r   r#   c                 ,    t        j                  |       S r-   )r   FzImage_xresrV   s    r   rL  zFzImage.xres=f  r   r#   c                 ,    t        j                  |       S r-   )r   FzImage_yresrV   s    r   rO  zFzImage.yres@f  r   r#   c                 ,    t        j                  |       S r-   )r   FzImage_colorspacerV   s    r   r  zFzImage.colorspaceCf  r  r#   c                 ,    t        j                  |       S r-   )r   FzImage_colorkeyrV   s    r   r  zFzImage.colorkeyFf  r   r#   c                 ,    t        j                  |       S r-   )r   FzImage_decoderV   s    r   r  zFzImage.decodeIf  r   r#   c                 ,    t        j                  |       S r+  )r   FzImage_m_internal_valuerV   s    r   r+  zFzImage.m_internal_valueMf  r8/  r#   c                 ,    t        j                  |       S r-   )r   FzImage___nonzero__rV   s    r   r   zFzImage.__nonzero__Qf  rl   r#   r+  N)5r   r   r6   r7   r   r   r   r   rk3  ro3  rr3  ru3  rx3  r|3  r3  r3  r3  r3  r,  r3  r,  r,  rS   r  r7  r:  r[   r  r  r  r  r  r  r  r  r  rL  rO  r  r  r  r   delete_FzImager   r+  r   r   FzImage_m_internal_getFzImage_m_internal_setr+  FzImage_s_num_instances_getFzImage_s_num_instances_setr+  r$   r#   r   rf3  rf3  d  s!    -/IOdeGH?=Q<F94@D 2i[RRRRiAV1&&&(.01/,-0)))/-+,,50H &779V9V\{|JvAA6CeCefOr#   rf3  c                       e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Z ee
j                  e
j                        Z ee
j                   e
j"                  d      Zd	 Zd
 Zd Zy) FzInstallLoadSystemFontFuncsArgsz
     Wrapper class for struct `fz_install_load_system_font_funcs_args`.
    Extra struct containing fz_install_load_system_font_funcs()'s args,
    which we wrap with virtual_fnptrs set to allow use from Python/C# via
    Swig Directors.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   z)FzInstallLoadSystemFontFuncsArgs.<lambda>cf  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z)FzInstallLoadSystemFontFuncsArgs.<lambda>cf  rL   r#   rM   rN   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_install_load_system_font_funcs2()`.
        Alternative to fz_install_load_system_font_funcs() that takes args in a
        struct, to allow use from Python/C# via Swig Directors.
        )r   CFzInstallLoadSystemFontFuncsArgs_fz_install_load_system_font_funcs2rV   s    r   "fz_install_load_system_font_funcs2zCFzInstallLoadSystemFontFuncsArgs.fz_install_load_system_font_funcs2ff  s     YYZ^__r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_install_load_system_font_funcs_args`.
        N)r   )FzInstallLoadSystemFontFuncsArgs_swiginit$new_FzInstallLoadSystemFontFuncsArgsr   s     r   rS   z)FzInstallLoadSystemFontFuncsArgs.__init__nf  s      	88v?j?jlp?qrr#   r.  c                 ,    t        j                  |       S rk+  )r   *FzInstallLoadSystemFontFuncsArgs_to_stringrV   s    r   r[+  z*FzInstallLoadSystemFontFuncsArgs.to_string}f      @@FFr#   c                 .    t        j                  | |      S ro+  )r   'FzInstallLoadSystemFontFuncsArgs___eq__rq+  s     r   r}   z'FzInstallLoadSystemFontFuncsArgs.__eq__f      ==dCHHr#   c                 .    t        j                  | |      S ro+  )r   'FzInstallLoadSystemFontFuncsArgs___ne__rq+  s     r   r   z'FzInstallLoadSystemFontFuncsArgs.__ne__f  r3  r#   N)r   r   r6   r7   r   r   r   r   r3  rS   r   'delete_FzInstallLoadSystemFontFuncsArgsr   /FzInstallLoadSystemFontFuncsArgs_m_internal_get/FzInstallLoadSystemFontFuncsArgs_m_internal_setr+  4FzInstallLoadSystemFontFuncsArgs_s_num_instances_get4FzInstallLoadSystemFontFuncsArgs_s_num_instances_setr+  r[+  r}   r   r$   r#   r   r3  r3  [f  s     -/IOdeGH`
s EE&PPRX  SI  SI  JJvZZ\b  ]X  ]X  ^C  DOGIIr#   r3  c                   |    e Zd ZdZ ed d d      ZeZd Ze	j                  ZddZddZdd	Zd
 Zd Zd Zd Zy)!FzInstallLoadSystemFontFuncsArgs2zWrapper class for struct fz_install_load_system_font_funcs_args with virtual fns for each fnptr; this is for use as a SWIG Director class.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   z*FzInstallLoadSystemFontFuncsArgs2.<lambda>f  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z*FzInstallLoadSystemFontFuncsArgs2.<lambda>f  rL   r#   rM   rN   c                     | j                   t        k(  rd}n| }t        j                  | t        j                  |             yr/  )r   r3  r   *FzInstallLoadSystemFontFuncsArgs2_swiginit%new_FzInstallLoadSystemFontFuncsArgs2r/  s     r   rS   z*FzInstallLoadSystemFontFuncsArgs2.__init__f  s5    >>>>EE99$@l@lmr@uvr#   c                 .    t        j                  | |      S r/  )r   /FzInstallLoadSystemFontFuncsArgs2_use_virtual_fr/  s     r   use_virtual_fz/FzInstallLoadSystemFontFuncsArgs2.use_virtual_ff  s    
 EEdCPPr#   c                 .    t        j                  | |      S r-   )r   3FzInstallLoadSystemFontFuncsArgs2_use_virtual_f_cjkr/  s     r   use_virtual_f_cjkz3FzInstallLoadSystemFontFuncsArgs2.use_virtual_f_cjkf  s    II$PSTTr#   c                 .    t        j                  | |      S r-   )r   8FzInstallLoadSystemFontFuncsArgs2_use_virtual_f_fallbackr/  s     r   use_virtual_f_fallbackz8FzInstallLoadSystemFontFuncsArgs2.use_virtual_f_fallbackf  s    NNtUXYYr#   c                 6    t        j                  | |||||      S r/  )r   #FzInstallLoadSystemFontFuncsArgs2_f)r   r   r  r  r  r/  s         r   r  z#FzInstallLoadSystemFontFuncsArgs2.ff  s    99$ueUZ\abbr#   c                 4    t        j                  | ||||      S r-   )r   'FzInstallLoadSystemFontFuncsArgs2_f_cjk)r   r   r  r  r  s        r   r'  z'FzInstallLoadSystemFontFuncsArgs2.f_cjkf  s    ==dE5RWY^__r#   c           	      8    t        j                  | ||||||      S r-   )r   ,FzInstallLoadSystemFontFuncsArgs2_f_fallbackr   r   r  r  r  r/  r/  s          r   r*  z,FzInstallLoadSystemFontFuncsArgs2.f_fallbackf  s$    BB4PUW\^cejlqrrr#   c                     | j                   j                          t        j                  |        t	        j
                  |       S r-   )r
   rJ0  r   (disown_FzInstallLoadSystemFontFuncsArgs2rL0  rM0  rV   s    r   rN0  z,FzInstallLoadSystemFontFuncsArgs2.__disown__f  s/    		77=}}T""r#   NrP0  )r   r   r6   r7   r   r   r   r   rS   r   (delete_FzInstallLoadSystemFontFuncsArgs2r   r3  r3  r3  r  r'  r*  rN0  r$   r#   r   r3  r3  f  s[     V-/IOdeGHw FFQUZc`s#r#   r3  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzInt2z?Wrapper class for struct `fz_int2`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzInt2.<lambda>f  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzInt2.<lambda>f  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_int2`.
        N)r   FzInt2_swiginit
new_FzInt2r   s     r   rS   zFzInt2.__init__f  r+  r#   c                 ,    t        j                  |       S r+  )r   FzInt2_m_internal_valuerV   s    r   r+  zFzInt2.m_internal_valuef  r+  r#   c                 ,    t        j                  |       S r-   )r   FzInt2___nonzero__rV   s    r   r   zFzInt2.__nonzero__f  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzInt2r   r+  r   r   FzInt2_m_internal_getFzInt2_m_internal_setr+  FzInt2_s_num_instances_getFzInt2_s_num_instances_setr+  r$   r#   r   r3  r3  f  r    J-/IOdeGH
? ++4/H &668T8TZyzJv@@&BcBcdOr#   r3  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zej                  Zd
 Zd ZeZ eej$                  ej&                  d      Z eej*                  ej,                        Zy)
FzInt2HeapzDWrapper class for struct `fz_int2_heap`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzInt2Heap.<lambda>f  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzInt2Heap.<lambda>f  rL   r#   rM   rN   c                 .    t        j                  | |      S z2Class-aware wrapper for `::fz_int2_heap_insert()`.)r   FzInt2Heap_fz_int2_heap_insertr   s     r   fz_int2_heap_insertzFzInt2Heap.fz_int2_heap_insertf      44T1==r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::fz_int2_heap_sort()`.)r   FzInt2Heap_fz_int2_heap_sortrV   s    r   fz_int2_heap_sortzFzInt2Heap.fz_int2_heap_sortf  r2  r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::fz_int2_heap_uniq()`.)r   FzInt2Heap_fz_int2_heap_uniqrV   s    r   fz_int2_heap_uniqzFzInt2Heap.fz_int2_heap_uniqf  r2  r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_int2_heap`.
        N)r   FzInt2Heap_swiginitnew_FzInt2Heapr   s     r   rS   zFzInt2Heap.__init__f       	""4)>)>)EFr#   c                 ,    t        j                  |       S r+  )r   FzInt2Heap_m_internal_valuerV   s    r   r+  zFzInt2Heap.m_internal_valuef  r,  r#   c                 ,    t        j                  |       S r-   )r   FzInt2Heap___nonzero__rV   s    r   r   zFzInt2Heap.__nonzero__f  r  r#   r+  N)r   r   r6   r7   r   r   r   r   r4  r4  r4  rS   r   delete_FzInt2Heapr   r+  r   r   FzInt2Heap_m_internal_getFzInt2Heap_m_internal_setr+  FzInt2Heap_s_num_instances_getFzInt2Heap_s_num_instances_setr+  r$   r#   r   r4  r4  f  s    O-/IOdeGH>99
G //83H &::F<\<\  cB  CJvDDfFkFklOr#   r4  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zej                  Zd
 Zd ZeZ eej$                  ej&                  d      Z eej*                  ej,                        Zy)	FzIntHeapzCWrapper class for struct `fz_int_heap`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzIntHeap.<lambda>g  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzIntHeap.<lambda>g  rL   r#   rM   rN   c                 .    t        j                  | |      S z1Class-aware wrapper for `::fz_int_heap_insert()`.)r   FzIntHeap_fz_int_heap_insertr   s     r   fz_int_heap_insertzFzIntHeap.fz_int_heap_insertg      224;;r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::fz_int_heap_sort()`.)r   FzIntHeap_fz_int_heap_sortrV   s    r   fz_int_heap_sortzFzIntHeap.fz_int_heap_sortg  r,  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::fz_int_heap_uniq()`.)r   FzIntHeap_fz_int_heap_uniqrV   s    r   fz_int_heap_uniqzFzIntHeap.fz_int_heap_uniqg  r,  r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_int_heap`.
        N)r   FzIntHeap_swiginitnew_FzIntHeapr   s     r   rS   zFzIntHeap.__init__g       	!!$(<(<d(CDr#   c                 ,    t        j                  |       S r+  )r   FzIntHeap_m_internal_valuerV   s    r   r+  zFzIntHeap.m_internal_value$g  r,  r#   c                 ,    t        j                  |       S r-   )r   FzIntHeap___nonzero__rV   s    r   r   zFzIntHeap.__nonzero__(g  r\  r#   r+  N)r   r   r6   r7   r   r   r   r   r14  r64  r:4  rS   r   delete_FzIntHeapr   r+  r   r   FzIntHeap_m_internal_getFzIntHeap_m_internal_setr+  FzIntHeap_s_num_instances_getFzIntHeap_s_num_instances_setr+  r$   r#   r   r+4  r+4  g  s    N-/IOdeGH<77
E ..72H &996;Z;Z`  AJvCCVEiEijOr#   r+4  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzIntptrzAWrapper class for struct `fz_intptr`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzIntptr.<lambda>5g  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzIntptr.<lambda>5g  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_intptr`.
        N)r   FzIntptr_swiginitnew_FzIntptrr   s     r   rS   zFzIntptr.__init__8g       	  v':':D'ABr#   c                 ,    t        j                  |       S r+  )r   FzIntptr_m_internal_valuerV   s    r   r+  zFzIntptr.m_internal_valueEg  r,  r#   c                 ,    t        j                  |       S r-   )r   FzIntptr___nonzero__rV   s    r   r   zFzIntptr.__nonzero__Ig  rW   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzIntptrr   r+  r   r   FzIntptr_m_internal_getFzIntptr_m_internal_setr+  FzIntptr_s_num_instances_getFzIntptr_s_num_instances_setr+  r$   r#   r   rI4  rI4  2g  s    L-/IOdeGH
C --61H &88&:X:X^}~JvBBFDgDghOr#   rI4  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zej                  Zd
 Zd ZeZ eej$                  ej&                  d      Z eej*                  ej,                        Zy)FzIntptrHeapzFWrapper class for struct `fz_intptr_heap`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzIntptrHeap.<lambda>Vg  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzIntptrHeap.<lambda>Vg  rL   r#   rM   rN   c                 .    t        j                  | |      S z4Class-aware wrapper for `::fz_intptr_heap_insert()`.)r   "FzIntptrHeap_fz_intptr_heap_insertr   s     r   fz_intptr_heap_insertz"FzIntptrHeap.fz_intptr_heap_insertYg  s    88qAAr#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::fz_intptr_heap_sort()`.)r    FzIntptrHeap_fz_intptr_heap_sortrV   s    r   fz_intptr_heap_sortz FzIntptrHeap.fz_intptr_heap_sort]g      66t<<r#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::fz_intptr_heap_uniq()`.)r    FzIntptrHeap_fz_intptr_heap_uniqrV   s    r   fz_intptr_heap_uniqz FzIntptrHeap.fz_intptr_heap_uniqag  rf4  r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_intptr_heap`.
        N)r   FzIntptrHeap_swiginitnew_FzIntptrHeapr   s     r   rS   zFzIntptrHeap.__init__eg  r2  r#   c                 ,    t        j                  |       S r+  )r   FzIntptrHeap_m_internal_valuerV   s    r   r+  zFzIntptrHeap.m_internal_valuerg  rK,  r#   c                 ,    t        j                  |       S r-   )r   FzIntptrHeap___nonzero__rV   s    r   r   zFzIntptrHeap.__nonzero__vg  r  r#   r+  N)r   r   r6   r7   r   r   r   r   ra4  re4  rj4  rS   r   delete_FzIntptrHeapr   r+  r   r   FzIntptrHeap_m_internal_getFzIntptrHeap_m_internal_setr+   FzIntptrHeap_s_num_instances_get FzIntptrHeap_s_num_instances_setr+  r$   r#   r   r[4  r[4  Sg  s    Q-/IOdeGHB==
K 11:5H &<<f>`>`  gF  GJvFFHoHopOr#   r[4  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zej(                  Z eej,                  ej.                        Z eej2                  ej4                        Z eej8                  ej:                        Z eej>                  ej@                        Z! eejD                  ejF                        Z$d Z%d Z&d Z'y)FzIrectz
    Wrapper class for struct `fz_irect`.
    fz_irect is a rectangle using integers instead of floats.

    It's used in the draw device and for pixmap dimensions.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzIrect.<lambda>g  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzIrect.<lambda>g  rL   r#   rM   rN   c                 .    t        j                  | |      S z.Class-aware wrapper for `::fz_expand_irect()`.)r   FzIrect_fz_expand_irectr   r  s     r   fz_expand_irectzFzIrect.fz_expand_irectg      --dF;;r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_intersect_irect()`.
        	Compute intersection of two bounding boxes.

        	Similar to fz_intersect_rect but operates on two bounding
        	boxes instead of two rectangles.
        )r   FzIrect_fz_intersect_irectr   r  s     r   fz_intersect_irectzFzIrect.fz_intersect_irectg  s     00q99r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_irect_height()`.
        	Return the height of an irect. Invalid irects return 0.
        )r   FzIrect_fz_irect_heightrV   s    r   fz_irect_heightzFzIrect.fz_irect_heightg  rX-  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_irect_width()`.
        	Return the width of an irect. Invalid irects return 0.
        )r   FzIrect_fz_irect_widthrV   s    r   fz_irect_widthzFzIrect.fz_irect_widthg  rc2  r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::fz_is_empty_irect()`.)r   FzIrect_fz_is_empty_irectrV   s    r   fz_is_empty_irectzFzIrect.fz_is_empty_irectg  r,  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_is_infinite_irect()`.
        	Check if an integer rectangle
        	is infinite.
        )r   FzIrect_fz_is_infinite_irectrV   s    r   fz_is_infinite_irectzFzIrect.fz_is_infinite_irectg  r0  r#   c                 ,    t        j                  |       S )zs
        Class-aware wrapper for `::fz_is_valid_irect()`.
        	Check if an integer rectangle is valid.
        )r   FzIrect_fz_is_valid_irectrV   s    r   fz_is_valid_irectzFzIrect.fz_is_valid_irectg      
 //55r#   c                 ,    t        j                  |       S )a^  
        Class-aware wrapper for `::fz_rect_from_irect()`.
        	Convert a bbox into a rect.

        	For our purposes, a rect can represent all the values we meet in
        	a bbox, so nothing can go wrong.

        	rect: A place to store the generated rectangle.

        	bbox: The bbox to convert.

        	Returns rect (updated).
        )r   FzIrect_fz_rect_from_irectrV   s    r   fz_rect_from_irectzFzIrect.fz_rect_from_irectg  s     0066r#   c                 0    t        j                  | ||      S z1Class-aware wrapper for `::fz_translate_irect()`.)r   FzIrect_fz_translate_irectr   r   r   s      r   fz_translate_irectzFzIrect.fz_translate_irectg  r.  r#   c                 P    t        j                  | t        j                  |        y)ah  
        *Overload 1:*
         == Constructors.  Constructor using `fz_irect_from_rect()`.
        		Convert a rect into the minimal bounding box
        		that covers the rectangle.

        		Coordinates in a bounding box are integers, so rounding of the
        		rects coordinates takes place. The top left corner is rounded
        		upwards and left while the bottom right corner is rounded
        		downwards and to the right.


        |

        *Overload 2:*
         Constructor using `fz_make_irect()`.

        |

        *Overload 3:*
         We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 4:*
         Constructor using raw copy of pre-existing `::fz_irect`.

        |

        *Overload 5:*
         Constructor using raw copy of pre-existing `::fz_irect`.
        N)r   FzIrect_swiginitnew_FzIrectr   s     r   rS   zFzIrect.__init__g  s     B 	f&8&8$&?@r#   c                 .    t        j                  | g| S rg+  )r   FzIrect_internalr   s     r   ri+  zFzIrect.internalg       &&t3d33r#   c                 ,    t        j                  |       S rk+  )r   FzIrect_to_stringrV   s    r   r[+  zFzIrect.to_stringh      ''--r#   c                 .    t        j                  | |      S ro+  )r   FzIrect___eq__rq+  s     r   r}   zFzIrect.__eq__h      $$T3//r#   c                 .    t        j                  | |      S ro+  )r   FzIrect___ne__rq+  s     r   r   zFzIrect.__ne__h  r4  r#   N)(r   r   r6   r7   r   r   r   r   r4  r4  r4  r4  r4  r4  r4  r4  r4  rS   ri+  r   delete_FzIrectr   FzIrect_x0_getFzIrect_x0_setr  FzIrect_y0_getFzIrect_y0_setr  FzIrect_x1_getFzIrect_x1_setr  FzIrect_y1_getFzIrect_y1_setr  FzIrect_s_num_instances_getFzIrect_s_num_instances_setr+  r[+  r}   r   r$   r#   r   rx4  rx4  g  s     -/IOdeGH<:436967 C!AF
4 ,,	&'')>)>	?B	&'')>)>	?B	&'')>)>	?B	&'')>)>	?BvAA6CeCefO.00r#   rx4  c                       e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Zd Zd	 ZeZ ee
j                   e
j"                  d
      Z ee
j&                  e
j(                        Zy)FzJbig2Globalsz,Wrapper class for struct `fz_jbig2_globals`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzJbig2Globals.<lambda>h  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzJbig2Globals.<lambda>h  rL   r#   rM   rN   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_jbig2_globals_data()`.
        	Return buffer containing jbig2 globals data stream.
        )r   $FzJbig2Globals_fz_jbig2_globals_datarV   s    r   fz_jbig2_globals_dataz$FzJbig2Globals.fz_jbig2_globals_datah  s    
 ::4@@r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        Copy constructor using `fz_keep_jbig2_globals()`.

        |

        *Overload 2:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_jbig2_globals`.
        N)r   FzJbig2Globals_swiginitnew_FzJbig2Globalsr   s     r   rS   zFzJbig2Globals.__init__h       	&&tV-F-F-MNr#   c                 ,    t        j                  |       S r+  )r   FzJbig2Globals_m_internal_valuerV   s    r   r+  zFzJbig2Globals.m_internal_value0h  r+  r#   c                 ,    t        j                  |       S r-   )r   FzJbig2Globals___nonzero__rV   s    r   r   zFzJbig2Globals.__nonzero__4h  rX  r#   r+  N)r   r   r6   r7   r   r   r   r   r4  rS   r   delete_FzJbig2Globalsr   r+  r   r   FzJbig2Globals_m_internal_getFzJbig2Globals_m_internal_setr+  "FzJbig2Globals_s_num_instances_get"FzJbig2Globals_s_num_instances_setr+  r$   r#   r   r4  r4  h  s    7-/IOdeGHAO  33<7H &>>@d@d  kJ  KJvHH&JsJstOr#   r4  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzKeyStorablez
    Wrapper class for struct `fz_key_storable`.
    Any storable object that can appear in the key of another
    storable object should include an fz_key_storable structure
    at the start (by convention at least) of their structure.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzKeyStorable.<lambda>Fh  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzKeyStorable.<lambda>Fh  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        Copy constructor using `fz_keep_key_storable()`.

        |

        *Overload 2:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_key_storable`.
        N)r   FzKeyStorable_swiginitnew_FzKeyStorabler   s     r   rS   zFzKeyStorable.__init__Ih  rv-  r#   c                 ,    t        j                  |       S r+  )r   FzKeyStorable_m_internal_valuerV   s    r   r+  zFzKeyStorable.m_internal_value[h  r0  r#   c                 ,    t        j                  |       S r-   )r   FzKeyStorable___nonzero__rV   s    r   r   zFzKeyStorable.__nonzero___h  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzKeyStorabler   r+  r   r   FzKeyStorable_m_internal_getFzKeyStorable_m_internal_setr+  !FzKeyStorable_s_num_instances_get!FzKeyStorable_s_num_instances_setr+  r$   r#   r   r4  r4  >h  s~     -/IOdeGHM  22;6H &==v?b?b  iH  IJvGGIqIqrOr#   r4  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
ej                  Zd	 Zd
 ZeZ eej"                  ej$                  d      Z eej(                  ej*                        Zy)FzLayoutBlockzGWrapper class for struct `fz_layout_block`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzLayoutBlock.<lambda>lh  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzLayoutBlock.<lambda>lh  rL   r#   rM   rN   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::fz_add_layout_char()`.
        	Add a new char to the line at the end of the layout block.
        )r    FzLayoutBlock_fz_add_layout_char)r   rF   r7  r  s       r   fz_add_layout_charz FzLayoutBlock.fz_add_layout_charoh  s    
 66tQ1EEr#   c                 4    t        j                  | ||||      S )z{
        Class-aware wrapper for `::fz_add_layout_line()`.
        	Add a new line to the end of the layout block.
        )r    FzLayoutBlock_fz_add_layout_line)r   rF   r  r:  r  s        r   fz_add_layout_linez FzLayoutBlock.fz_add_layout_linevh  s    
 66tQ1aHHr#   c                 P    t        j                  | t        j                  |        y)aC  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_layout()`.
        		Create a new layout block, with new allocation pool, zero
        		matrices, and initialise linked pointers.


        |

        *Overload 2:*
         Constructor using raw copy of pre-existing `::fz_layout_block`.
        N)r   FzLayoutBlock_swiginitnew_FzLayoutBlockr   s     r   rS   zFzLayoutBlock.__init__}h  s     	%%dF,D,Dd,KLr#   c                 ,    t        j                  |       S r+  )r   FzLayoutBlock_m_internal_valuerV   s    r   r+  zFzLayoutBlock.m_internal_valueh  r0  r#   c                 ,    t        j                  |       S r-   )r   FzLayoutBlock___nonzero__rV   s    r   r   zFzLayoutBlock.__nonzero__h  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   r4  r4  rS   r   delete_FzLayoutBlockr   r+  r   r   FzLayoutBlock_m_internal_getFzLayoutBlock_m_internal_setr+  !FzLayoutBlock_s_num_instances_get!FzLayoutBlock_s_num_instances_setr+  r$   r#   r   r4  r4  ih  s    R-/IOdeGHFIM 22;6H &==v?b?b  iH  IJvGGIqIqrOr#   r4  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzLayoutCharz
    Wrapper class for struct `fz_layout_char`. Not copyable or assignable.
    Simple text layout (for use with annotation editing primarily).
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzLayoutChar.<lambda>h  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzLayoutChar.<lambda>h  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_layout_char`.
        N)r   FzLayoutChar_swiginitnew_FzLayoutCharr   s     r   rS   zFzLayoutChar.__init__h  r2  r#   c                 ,    t        j                  |       S r+  )r   FzLayoutChar_m_internal_valuerV   s    r   r+  zFzLayoutChar.m_internal_valueh  rK,  r#   c                 ,    t        j                  |       S r-   )r   FzLayoutChar___nonzero__rV   s    r   r   zFzLayoutChar.__nonzero__h  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzLayoutCharr   r+  r   r   FzLayoutChar_m_internal_getFzLayoutChar_m_internal_setr+   FzLayoutChar_s_num_instances_get FzLayoutChar_s_num_instances_setr+  r$   r#   r   r4  r4  h  rd3  r#   r4  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzLayoutLinezFWrapper class for struct `fz_layout_line`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzLayoutLine.<lambda>h  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzLayoutLine.<lambda>h  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_layout_line`.
        N)r   FzLayoutLine_swiginitnew_FzLayoutLiner   s     r   rS   zFzLayoutLine.__init__h  r2  r#   c                 ,    t        j                  |       S r+  )r   FzLayoutLine_m_internal_valuerV   s    r   r+  zFzLayoutLine.m_internal_valueh  rK,  r#   c                 ,    t        j                  |       S r-   )r   FzLayoutLine___nonzero__rV   s    r   r   zFzLayoutLine.__nonzero__h  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzLayoutLiner   r+  r   r   FzLayoutLine_m_internal_getFzLayoutLine_m_internal_setr+   FzLayoutLine_s_num_instances_get FzLayoutLine_s_num_instances_setr+  r$   r#   r   r5  r5  h  r!3  r#   r5  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zej$                  Zd Zd ZeZ eej.                  ej0                  d      Z eej4                  ej6                        Zy)FzLinka  
    Wrapper class for struct `fz_link`.
    fz_link is a list of interactive links on a page.

    There is no relation between the order of the links in the
    list and the order they appear on the page. The list of links
    for a given page can be obtained from fz_load_links.

    A link is reference counted. Dropping a reference to a link is
    done by calling fz_drop_link.

    rect: The hot zone. The area that can be clicked in
    untransformed coordinates.

    uri: Link destinations come in two forms: internal and external.
    Internal links refer to other pages in the same document.
    External links are URLs to other documents.

    next: A pointer to the next link on the same page.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzLink.<lambda>h  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzLink.<lambda>h  rL   r#   rM   rN   c                 .    t        j                  | |      S z/Class-aware wrapper for `::fz_set_link_rect()`.)r   FzLink_fz_set_link_rectr   r  s     r   fz_set_link_rectzFzLink.fz_set_link_recth      --dD99r#   c                 .    t        j                  | |      S z.Class-aware wrapper for `::fz_set_link_uri()`.)r   FzLink_fz_set_link_urir   r"  s     r   fz_set_link_urizFzLink.fz_set_link_urih      ,,T377r#   c                 ,    t        j                  |       S zJUsed for iteration over linked list of FzLink items starting at fz_link::.)r   FzLink_beginrV   s    r   r   zFzLink.begini  s    ""4((r#   c                 ,    t        j                  |       S r"5  )r   
FzLink_endrV   s    r   r   z
FzLink.endi        &&r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_link_of_size()`.
        		Create a new link record.

        		next is set to NULL with the expectation that the caller will
        		handle the linked list setup. Internal function.

        		Different document types will be implemented by deriving from
        		fz_link. This macro allocates such derived structures, and
        		initialises the base sections.


        |

        *Overload 2:*
         Constructor using `pdf_new_link()`.

        |

        *Overload 3:*
         Construct by calling fz_new_link_of_size() with size=sizeof(fz_link).

        |

        *Overload 4:*
         Copy constructor using `fz_keep_link()`.

        |

        *Overload 5:*
         Constructor using raw copy of pre-existing `::fz_link`.

        |

        *Overload 6:*
         Constructor using raw copy of pre-existing `::fz_link`.
        N)r   FzLink_swiginit
new_FzLinkr   s     r   rS   zFzLink.__init__	i  s     N 	tV%6%6%=>r#   c                 ,    t        j                  |       S r-   )r   FzLink_refsrV   s    r   r  zFzLink.refs2i  rE  r#   c                 ,    t        j                  |       S r-   )r   FzLink_nextrV   s    r   ro   zFzLink.next5i  rE  r#   c                 ,    t        j                  |       S r-   )r   FzLink_rectrV   s    r   r  zFzLink.rect8i  rE  r#   c                 ,    t        j                  |       S r-   )r   
FzLink_urirV   s    r   r"  z
FzLink.uri;i  r,  r#   c                 ,    t        j                  |       S r+  )r   FzLink_m_internal_valuerV   s    r   r+  zFzLink.m_internal_value?i  r+  r#   c                 ,    t        j                  |       S r-   )r   FzLink___nonzero__rV   s    r   r   zFzLink.__nonzero__Ci  r  r#   r+  N)r   r   r6   r7   r   r   r   r   r5  r5  r   r   rS   r  ro   r  r"  r   delete_FzLinkr   r+  r   r   FzLink_m_internal_getFzLink_m_internal_setr+  FzLink_s_num_instances_getFzLink_s_num_instances_setr+  r$   r#   r   r5  r5  h  s    * -/IOdeGH:8)''?R((('++4/H &668T8TZyzJv@@&BcBcdOr#   r5  c                       e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Zd Zd	 ZeZ ee
j                   e
j"                  d
      Z ee
j&                  e
j(                        Zy)
FzLinkDestzDWrapper class for struct `fz_link_dest`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzLinkDest.<lambda>Pi  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzLinkDest.<lambda>Pi  rL   r#   rM   rN   c                 ,    t        j                  |       S z=Class-aware wrapper for `::pdf_new_uri_from_explicit_dest()`.)r   )FzLinkDest_pdf_new_uri_from_explicit_destrV   s    r   pdf_new_uri_from_explicit_destz)FzLinkDest.pdf_new_uri_from_explicit_destSi  r-  r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_link_dest`.
        N)r   FzLinkDest_swiginitnew_FzLinkDestr   s     r   rS   zFzLinkDest.__init__Wi  r 4  r#   c                 ,    t        j                  |       S r+  )r   FzLinkDest_m_internal_valuerV   s    r   r+  zFzLinkDest.m_internal_valuedi  r,  r#   c                 ,    t        j                  |       S r-   )r   FzLinkDest___nonzero__rV   s    r   r   zFzLinkDest.__nonzero__hi  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rB5  rS   r   delete_FzLinkDestr   r+  r   r   FzLinkDest_m_internal_getFzLinkDest_m_internal_setr+  FzLinkDest_s_num_instances_getFzLinkDest_s_num_instances_setr+  r$   r#   r   r<5  r<5  Mi  s    O-/IOdeGHF
G //83H &::F<\<\  cB  CJvDDfFkFklOr#   r<5  c                      e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Z ee
j                  e
j                        Z ee
j                   e
j"                        Z ee
j&                  e
j(                        Zd Zd	 Zd
 Zy)
FzLocationat  
    Wrapper class for struct `fz_location`.
    Locations within the document are referred to in terms of
    chapter and page, rather than just a page number. For some
    documents (such as epub documents with large numbers of pages
    broken into many chapters) this can make navigation much faster
    as only the required chapter needs to be decoded at a time.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzLocation.<lambda>|i  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzLocation.<lambda>|i  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_make_location()`.
        		Simple constructor for fz_locations.


        |

        *Overload 2:*
         We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 3:*
         Constructor using raw copy of pre-existing `::fz_location`.

        |

        *Overload 4:*
         Constructor using raw copy of pre-existing `::fz_location`.
        N)r   FzLocation_swiginitnew_FzLocationr   s     r   rS   zFzLocation.__init__i  s    , 	""4)>)>)EFr#   c                 .    t        j                  | g| S rg+  )r   FzLocation_internalr   s     r   ri+  zFzLocation.internali       ))$666r#   c                 ,    t        j                  |       S rk+  )r   FzLocation_to_stringrV   s    r   r[+  zFzLocation.to_stringi  r//  r#   c                 .    t        j                  | |      S ro+  )r   FzLocation___eq__rq+  s     r   r}   zFzLocation.__eq__i      ''c22r#   c                 .    t        j                  | |      S ro+  )r   FzLocation___ne__rq+  s     r   r   zFzLocation.__ne__i  r]5  r#   N)r   r   r6   r7   r   r   r   r   rS   ri+  r   delete_FzLocationr   FzLocation_chapter_getFzLocation_chapter_setr$
  FzLocation_page_getFzLocation_page_setr'
  FzLocation_s_num_instances_getFzLocation_s_num_instances_setr+  r[+  r}   r   r$   r#   r   rP5  rP5  ri  s     -/IOdeGHG0
7 //v44f6S6STGF..0J0JKDvDDfFkFklO133r#   rP5  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzLocksContextas  
    Wrapper class for struct `fz_locks_context`. Not copyable or assignable.
    Locking functions

    MuPDF is kept deliberately free of any knowledge of particular
    threading systems. As such, in order for safe multi-threaded
    operation, we rely on callbacks to client provided functions.

    A client is expected to provide FZ_LOCK_MAX number of mutexes,
    and a function to lock/unlock each of them. These may be
    recursive mutexes, but do not have to be.

    If a client does not intend to use multiple threads, then it
    may pass NULL instead of a lock structure.

    In order to avoid deadlocks, we have one simple rule
    internally as to how we use locks: We can never take lock n
    when we already hold any lock i, where 0 <= i <= n. In order
    to verify this, we have some debugging code, that can be
    enabled by defining FITZ_DEBUG_LOCKING.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzLocksContext.<lambda>i  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzLocksContext.<lambda>i  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_locks_context`.
        N)r   FzLocksContext_swiginitnew_FzLocksContextr   s     r   rS   zFzLocksContext.__init__i  r+  r#   c                 ,    t        j                  |       S r+  )r   FzLocksContext_m_internal_valuerV   s    r   r+  zFzLocksContext.m_internal_valuei  r+  r#   c                 ,    t        j                  |       S r-   )r   FzLocksContext___nonzero__rV   s    r   r   zFzLocksContext.__nonzero__i  rX  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzLocksContextr   r+  r   r   FzLocksContext_m_internal_getFzLocksContext_m_internal_setr+  "FzLocksContext_s_num_instances_get"FzLocksContext_s_num_instances_setr+  r$   r#   r   rh5  rh5  i  s~    , -/IOdeGH
O 33<7H &>>@d@d  kJ  KJvHH&JsJstOr#   rh5  c                      e Zd ZdZ ed d d      ZeZed        Z	ed        Z
ed        Zed	        Zed
        Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zej<                  Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z( eejR                  ejT                        Z+ eejX                  ejZ                        Z. eej^                  ej`                        Z1 eejd                  ejf                        Z4d Z5d Z6d Z7y)FzMatrixa  
     Wrapper class for struct `fz_matrix`.
    	fz_matrix is a row-major 3x3 matrix used for representing
    	transformations of coordinates throughout MuPDF.

    	Since all points reside in a two-dimensional space, one vector
    	is always a constant unit vector; hence only some elements may
    	vary in a matrix. Below is how the elements map between
    	different representations.

    a b 0
    	| c d 0 | normally represented as [ a b c d e f ].
    	\ e f 1 /
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzMatrix.<lambda>i  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzMatrix.<lambda>i  rL   r#   rM   rN   c                 .    t        j                  | |      S )ax  
        Class-aware wrapper for `::fz_scale()`.
        	Create a scaling matrix.

        	The returned matrix is of the form [ sx 0 0 sy 0 0 ].

        	m: Pointer to the matrix to populate

        	sx, sy: Scaling factors along the X- and Y-axes. A scaling
        	factor of 1.0 will not cause any scaling along the relevant
        	axis.

        	Returns m.
        )r   FzMatrix_fz_scaler.  s     r   fz_scalezFzMatrix.fz_scalei  s      ''B//r#   c                 .    t        j                  | |      S )ac  
        Class-aware wrapper for `::fz_shear()`.
        	Create a shearing matrix.

        	The returned matrix is of the form [ 1 sy sx 1 0 0 ].

        	m: pointer to place to store returned matrix

        	sx, sy: Shearing factors. A shearing factor of 0.0 will not
        	cause any shearing along the relevant axis.

        	Returns m.
        )r   FzMatrix_fz_shearr.  s     r   fz_shearzFzMatrix.fz_shearj  s     ''B//r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_rotate()`.
        	Create a rotation matrix.

        	The returned matrix is of the form
        	[ cos(deg) sin(deg) -sin(deg) cos(deg) 0 0 ].

        	m: Pointer to place to store matrix

        	degrees: Degrees of counter clockwise rotation. Values less
        	than zero and greater than 360 are handled as expected.

        	Returns m.
        )r   FzMatrix_fz_rotater  s    r   	fz_rotatezFzMatrix.fz_rotate j  s      ((11r#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_translate()`.
        	Create a translation matrix.

        	The returned matrix is of the form [ 1 0 0 1 tx ty ].

        	m: A place to store the created matrix.

        	tx, ty: Translation distances along the X- and Y-axes. A
        	translation of 0 will not cause any translation along the
        	relevant axis.

        	Returns m.
        )r   FzMatrix_fz_translater   s     r   fz_translatezFzMatrix.fz_translate2j  s      ++B33r#   c                 0    t        j                  | ||      S a#  
        Class-aware wrapper for `::fz_transform_page()`.
        	Create transform matrix to draw page
        	at a given resolution and rotation. Adjusts the scaling
        	factors so that the page covers whole number of
        	pixels and adjust the page origin to be at 0,0.
        )r   FzMatrix_fz_transform_pagerp   s      r   fz_transform_pagezFzMatrix.fz_transform_pageDj  s     00:vNNr#   c                 .    t        j                  | g| S )a0  
        *Overload 1:*
         We use default copy constructor and operator=.  Class-aware wrapper for `::fz_concat()`.
        		Multiply two matrices.

        		The order of the two matrices are important since matrix
        		multiplication is not commutative.

        		Returns result.


        |

        *Overload 2:*
         Class-aware wrapper for `::fz_concat()`.
        		Multiply two matrices.

        		The order of the two matrices are important since matrix
        		multiplication is not commutative.

        		Returns result.
        )r   FzMatrix_fz_concatr   s     r   	fz_concatzFzMatrix.fz_concatOj  s    . ((555r#   c                 ,    t        j                  |       S )a3  
        Class-aware wrapper for `::fz_invert_matrix()`.
        	Create an inverse matrix.

        	matrix: Matrix to invert. A degenerate matrix, where the
        	determinant is equal to zero, can not be inverted and the
        	original matrix is returned instead.

        	Returns inverse.
        )r   FzMatrix_fz_invert_matrixrV   s    r   fz_invert_matrixzFzMatrix.fz_invert_matrixhj       //55r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::fz_is_identity()`.)r   FzMatrix_fz_is_identityrV   s    r   fz_is_identityzFzMatrix.fz_is_identityuj  r+  r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_is_rectilinear()`.
        	Check if a transformation is rectilinear.

        	Rectilinear means that no shearing is present and that any
        	rotations present are a multiple of 90 degrees. Usually this
        	is used to make sure that axis-aligned rectangles before the
        	transformation are still axis-aligned rectangles afterwards.
        )r   FzMatrix_fz_is_rectilinearrV   s    r   fz_is_rectilinearzFzMatrix.fz_is_rectilinearyj       0066r#   c                 ,    t        j                  |       S )zy
        Class-aware wrapper for `::fz_matrix_expansion()`.
        	Calculate average scaling factor of matrix.
        )r   FzMatrix_fz_matrix_expansionrV   s    r   fz_matrix_expansionzFzMatrix.fz_matrix_expansionj  r-  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_matrix_max_expansion()`.
        	Find the largest expansion performed by this matrix.
        	(i.e. max(abs(m.a),abs(m.b),abs(m.c),abs(m.d))
        )r    FzMatrix_fz_matrix_max_expansionrV   s    r   fz_matrix_max_expansionz FzMatrix.fz_matrix_max_expansionj  r<-  r#   c                 0    t        j                  | ||      S )aQ  
        Class-aware wrapper for `::fz_post_scale()`.
        	Scale a matrix by postmultiplication.

        	m: Pointer to the matrix to scale

        	sx, sy: Scaling factors along the X- and Y-axes. A scaling
        	factor of 1.0 will not cause any scaling along the relevant
        	axis.

        	Returns m (updated).
        )r   FzMatrix_fz_post_scaler   r  r  s      r   fz_post_scalezFzMatrix.fz_post_scalej  s     ,,T2r::r#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_pre_rotate()`.
        	Rotate a transformation by premultiplying.

        	The premultiplied matrix is of the form
        	[ cos(deg) sin(deg) -sin(deg) cos(deg) 0 0 ].

        	m: Pointer to matrix to premultiply.

        	degrees: Degrees of counter clockwise rotation. Values less
        	than zero and greater than 360 are handled as expected.

        	Returns m (updated).
        )r   FzMatrix_fz_pre_rotate)r   r  s     r   fz_pre_rotatezFzMatrix.fz_pre_rotatej  s     ,,T7;;r#   c                 0    t        j                  | ||      S )aO  
        Class-aware wrapper for `::fz_pre_scale()`.
        	Scale a matrix by premultiplication.

        	m: Pointer to the matrix to scale

        	sx, sy: Scaling factors along the X- and Y-axes. A scaling
        	factor of 1.0 will not cause any scaling along the relevant
        	axis.

        	Returns m (updated).
        )r   FzMatrix_fz_pre_scaler5  s      r   fz_pre_scalezFzMatrix.fz_pre_scalej  s     ++D"b99r#   c                 0    t        j                  | ||      S )a{  
        Class-aware wrapper for `::fz_pre_shear()`.
        	Premultiply a matrix with a shearing matrix.

        	The shearing matrix is of the form [ 1 sy sx 1 0 0 ].

        	m: pointer to matrix to premultiply

        	sx, sy: Shearing factors. A shearing factor of 0.0 will not
        	cause any shearing along the relevant axis.

        	Returns m (updated).
        )r   FzMatrix_fz_pre_shearr5  s      r   fz_pre_shearzFzMatrix.fz_pre_shearj  s     ++D"b99r#   c                 0    t        j                  | ||      S )aK  
        Class-aware wrapper for `::fz_pre_translate()`.
        	Translate a matrix by premultiplication.

        	m: The matrix to translate

        	tx, ty: Translation distances along the X- and Y-axes. A
        	translation of 0 will not cause any translation along the
        	relevant axis.

        	Returns m.
        )r   FzMatrix_fz_pre_translater   r  r   s      r   fz_pre_translatezFzMatrix.fz_pre_translatej  s     //b"==r#   c                 2    t        j                  | |||      S )a  
        Class-aware wrapper for `::fz_subpixel_adjust()`.
        	Perform subpixel quantisation and adjustment on a glyph matrix.

        	ctm: On entry, the desired 'ideal' transformation for a glyph.
        	On exit, adjusted to a (very similar) transformation quantised
        	for subpixel caching.

        	subpix_ctm: Initialised by the routine to the transform that
        	should be used to render the glyph.

        	qe, qf: which subpixel position we quantised to.

        	Returns: the size of the glyph.

        	Note: This is currently only exposed for use in our app. It
        	should be considered "at risk" of removal from the API.
        )r   FzMatrix_fz_subpixel_adjust)r   rC   rD   rE   s       r   fz_subpixel_adjustzFzMatrix.fz_subpixel_adjustj  s    & 11$
BKKr#   c                 .    t        j                  | |      S )ae  
        Class-aware wrapper for `::fz_try_invert_matrix()`.
        	Attempt to create an inverse matrix.

        	inv: Place to store inverse matrix.

        	src: Matrix to invert. A degenerate matrix, where the
        	determinant is equal to zero, can not be inverted.

        	Returns 1 if matrix is degenerate (singular), or 0 otherwise.
        )r   FzMatrix_fz_try_invert_matrixr   r  s     r   fz_try_invert_matrixzFzMatrix.fz_try_invert_matrixj  s     33D#>>r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        == Constructors.  Constructor using `fz_make_matrix()`.

        |

        *Overload 2:*
        Constructs identity matrix (like fz_identity).

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_matrix`.

        |

        *Overload 4:*
        Constructor using raw copy of pre-existing `::fz_matrix`.
        N)r   FzMatrix_swiginitnew_FzMatrixr   s     r   rS   zFzMatrix.__init__k      ( 	  v':':D'ABr#   c                 .    t        j                  | g| S rg+  )r   FzMatrix_internalr   s     r   ri+  zFzMatrix.internalk  s     ''4t44r#   c                 ,    t        j                  |       S rk+  )r   FzMatrix_to_stringrV   s    r   r[+  zFzMatrix.to_string/k  r.  r#   c                 .    t        j                  | |      S ro+  )r   FzMatrix___eq__rq+  s     r   r}   zFzMatrix.__eq__3k  r.  r#   c                 .    t        j                  | |      S ro+  )r   FzMatrix___ne__rq+  s     r   r   zFzMatrix.__ne__7k  r.  r#   N)8r   r   r6   r7   r   r   r   r   r   r}5  r5  r5  r5  r5  r5  r5  r5  r5  r5  r5  r5  r5  r5  r5  r5  r5  r5  rS   ri+  r   delete_FzMatrixr   FzMatrix_a_getFzMatrix_a_setr  FzMatrix_b_getFzMatrix_b_setr  FzMatrix_c_getFzMatrix_c_setr  FzMatrix_d_getFzMatrix_d_setr  FzMatrix_e_getFzMatrix_e_setr  FzMatrix_f_getFzMatrix_f_setr  FzMatrix_s_num_instances_getFzMatrix_s_num_instances_setr+  r[+  r}   r   r$   r#   r   rx5  rx5  i  s    -/IOdeGH0 0" 0 0  2 2" 4 4" O O6264
79=;<":: >L*?C,
5 --&&(=(=>A&&(=(=>A&&(=(=>A&&(=(=>A&&(=(=>A&&(=(=>AvBBFDgDghO/11r#   rx5  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zej,                  Z eej0                  ej2                        Z eej6                  ej8                  d      Zd Zd Zd Z y)FzMd5z
    Wrapper class for struct `fz_md5`.
    Structure definition is public to enable stack
    based allocation. Do not access the members directly.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzMd5.<lambda>Dk  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzMd5.<lambda>Dk  rL   r#   rM   rN   c                 .    t        j                  | |      S )a  
        We use default copy constructor and operator=.  Class-aware wrapper for `::fz_md5_final()`.
        	MD5 finalization. Ends an MD5 message-digest operation, writing
        	the message digest and zeroizing the context.

        	Never throws an exception.
        )r   FzMd5_fz_md5_finalr%-  s     r   fz_md5_finalzFzMd5.fz_md5_finalGk  s     ((v66r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_md5_final2()`.
        C++ alternative to fz_md5_final() that returns the digest by value.
        )r   FzMd5_fz_md5_final2rV   s    r   fz_md5_final2zFzMd5.fz_md5_final2Qk  s    
 ))$//r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_md5_init()`.
        	MD5 initialization. Begins an MD5 operation, writing a new
        	context.

        	Never throws an exception.
        )r   FzMd5_fz_md5_initrV   s    r   fz_md5_initzFzMd5.fz_md5_initXk  s     ''--r#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_md5_update()`.
        	MD5 block update operation. Continues an MD5 message-digest
        	operation, processing another message block, and updating the
        	context.

        	Never throws an exception.
        )r   FzMd5_fz_md5_updater   rb  r  s      r   fz_md5_updatezFzMd5.fz_md5_updatebk  s     ))$u==r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_md5_update_int64()`.
        	MD5 block update operation. Continues an MD5 message-digest
        	operation, processing an int64, and updating the context.

        	Never throws an exception.
        )r   FzMd5_fz_md5_update_int64r   r   s     r   fz_md5_update_int64zFzMd5.fz_md5_update_int64mk  s     //a88r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor calls md5_init().

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_md5`.
        N)r   FzMd5_swiginit	new_FzMd5r   s     r   rS   zFzMd5.__init__wk  r+  r#   c                 ,    t        j                  |       S r-   )r   FzMd5_lorV   s    r   r  zFzMd5.lok      t$$r#   c                 ,    t        j                  |       S r-   )r   FzMd5_hirV   s    r   r  zFzMd5.hik  r5  r#   c                 ,    t        j                  |       S r-   )r   FzMd5_arV   s    r   r  zFzMd5.ak      ~~d##r#   c                 ,    t        j                  |       S r-   )r   FzMd5_brV   s    r   r  zFzMd5.bk  r5  r#   c                 ,    t        j                  |       S r-   )r   FzMd5_crV   s    r   r  zFzMd5.ck  r5  r#   c                 ,    t        j                  |       S r-   )r   FzMd5_drV   s    r   r  zFzMd5.dk  r5  r#   c                 ,    t        j                  |       S r-   )r   FzMd5_bufferrV   s    r   r*  zFzMd5.bufferk  r   r#   r.  c                 ,    t        j                  |       S rk+  )r   FzMd5_to_stringrV   s    r   r[+  zFzMd5.to_stringk      %%d++r#   c                 .    t        j                  | |      S ro+  )r   FzMd5___eq__rq+  s     r   r}   zFzMd5.__eq__k      ""4--r#   c                 .    t        j                  | |      S ro+  )r   FzMd5___ne__rq+  s     r   r   zFzMd5.__ne__k  r 6  r#   N)!r   r   r6   r7   r   r   r   r   r5  r5  r5  r5  r5  rS   r  r  r  r  r  r  r*  r   delete_FzMd5r   FzMd5_m_internal_getFzMd5_m_internal_setr+  FzMd5_s_num_instances_getFzMd5_s_num_instances_setr+  r[+  r}   r   r$   r#   r   r5  r5  =k  s     -/IOdeGH70.	>9
=%%$$$$)**&55v7R7RSJv??AaAa  hM  NO,..r#   r5  c                   
   e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zej&                  Zd Zd ZeZ eej0                  ej2                  d      Z eej6                  ej8                        Zy)	FzOutlinea  
    Wrapper class for struct `fz_outline`.
    fz_outline is a tree of the outline of a document (also known
    as table of contents).

    title: Title of outline item using UTF-8 encoding. May be NULL
    if the outline item has no text string.

    uri: Destination in the document to be displayed when this
    outline item is activated. May be an internal or external
    link, or NULL if the outline item does not have a destination.

    page: The page number of an internal link, or -1 for external
    links or links with no destination.

    next: The next outline item at the same level as this outline
    item. May be NULL if no more outline items exist at this level.

    down: The outline items immediate children in the hierarchy.
    May be NULL if no children exist.

    is_open: If zero, the outline element is closed in the UI. If
    1, it should be open, showing any child elements. All other
    values reserved.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzOutline.<lambda>k  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzOutline.<lambda>k  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_load_outline()`.
        		Load the hierarchical document outline.

        		Should be freed by fz_drop_outline.


        |

        *Overload 2:*
         Constructor using `fz_load_outline_from_iterator()`.
        		Routine to implement the old Structure based API from an iterator.


        |

        *Overload 3:*
         Constructor using `fz_new_outline()`.
        		Create a new outline entry with zeroed fields for the caller
        		to fill in.


        |

        *Overload 4:*
         Copy constructor using `fz_keep_outline()`.

        |

        *Overload 5:*
         Constructor using raw copy of pre-existing `::fz_outline`.
        N)r   FzOutline_swiginitnew_FzOutliner   s     r   rS   zFzOutline.__init__k  s     D 	!!$(<(<d(CDr#   c                 ,    t        j                  |       S r-   )r   FzOutline_refsrV   s    r   r  zFzOutline.refsk  r   r#   c                 ,    t        j                  |       S r-   )r   FzOutline_titlerV   s    r   rM  zFzOutline.titlek  r   r#   c                 ,    t        j                  |       S r-   )r   FzOutline_urirV   s    r   r"  zFzOutline.urik  r   r#   c                 ,    t        j                  |       S r-   )r   FzOutline_pagerV   s    r   r'
  zFzOutline.pagek  r   r#   c                 ,    t        j                  |       S r-   )r   FzOutline_xrV   s    r   rF   zFzOutline.xk  rE  r#   c                 ,    t        j                  |       S r-   )r   FzOutline_yrV   s    r   r  zFzOutline.yk  rE  r#   c                 ,    t        j                  |       S r-   )r   FzOutline_nextrV   s    r   ro   zFzOutline.nextk  r   r#   c                 ,    t        j                  |       S r-   )r   FzOutline_downrV   s    r   rk  zFzOutline.down l  r   r#   c                 ,    t        j                  |       S r-   )r   FzOutline_is_openrV   s    r   rR  zFzOutline.is_openl  r   r#   c                 ,    t        j                  |       S r+  )r   FzOutline_m_internal_valuerV   s    r   r+  zFzOutline.m_internal_valuel  r,  r#   c                 ,    t        j                  |       S r-   )r   FzOutline___nonzero__rV   s    r   r   zFzOutline.__nonzero__l  r\  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r  rM  r"  r'
  rF   r  ro   rk  rR  r   delete_FzOutliner   r+  r   r   FzOutline_m_internal_getFzOutline_m_internal_setr+  FzOutline_s_num_instances_getFzOutline_s_num_instances_setr+  r$   r#   r   r	6  r	6  k  s    4 -/IOdeGH"EH+,*+((++...72H &996;Z;Z`  AJvCCVEiEijOr#   r	6  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zej                  Z eej                   ej"                        Zy)FzOutlineItemz+Wrapper class for struct `fz_outline_item`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzOutlineItem.<lambda>l  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzOutlineItem.<lambda>l  rL   r#   rM   rN   c                 ,    t        j                  |       S r-   )r   FzOutlineItem_validrV   s    r   validzFzOutlineItem.validl  rl   r#   c                 ,    t        j                  |       S r-   )r   FzOutlineItem_titlerV   s    r   rM  zFzOutlineItem.titlel  rl   r#   c                 ,    t        j                  |       S r-   )r   FzOutlineItem_urirV   s    r   r"  zFzOutlineItem.uri!l  r   r#   c                 ,    t        j                  |       S r-   )r   FzOutlineItem_is_openrV   s    r   rR  zFzOutlineItem.is_open$l  r\  r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_outline_item`.
        N)r   FzOutlineItem_swiginitnew_FzOutlineItemr   s     r   rS   zFzOutlineItem.__init__'l  r2  r#   N)r   r   r6   r7   r   r   r   r   r06  rM  r"  rR  rS   r   delete_FzOutlineItemr   !FzOutlineItem_s_num_instances_get!FzOutlineItem_s_num_instances_setr+  r$   r#   r   r+6  r+6  l  s[    6-/IOdeGH00.2
M 22vGGIqIqrOr#   r+6  c                   
   e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zej&                  Zd Zd ZeZ eej0                  ej2                  d      Z eej6                  ej8                        Zy)FzOutlineIteratorzKWrapper class for struct `fz_outline_iterator`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzOutlineIterator.<lambda>:l  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzOutlineIterator.<lambda>:l  rL   r#   rM   rN   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_load_outline_from_iterator()`.
        	Routine to implement the old Structure based API from an iterator.
        )r   /FzOutlineIterator_fz_load_outline_from_iteratorrV   s    r   fz_load_outline_from_iteratorz/FzOutlineIterator.fz_load_outline_from_iterator=l  s    
 EEdKKr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_outline_iterator_delete()`.
        	Delete the current item.

        	This implicitly moves us to the 'next' item, and the return code is as for fz_outline_iterator_next.
        )r   ,FzOutlineIterator_fz_outline_iterator_deleterV   s    r   fz_outline_iterator_deletez,FzOutlineIterator.fz_outline_iterator_deleteDl  s     BB4HHr#   c                 ,    t        j                  |       S z7Class-aware wrapper for `::fz_outline_iterator_down()`.)r   *FzOutlineIterator_fz_outline_iterator_downrV   s    r   fz_outline_iterator_downz*FzOutlineIterator.fz_outline_iterator_downMl  r3  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_outline_iterator_item()`.
        	Call to get the current outline item.

        	Can return NULL. The item is only valid until the next call.
        )r   *FzOutlineIterator_fz_outline_iterator_itemrV   s    r   fz_outline_iterator_itemz*FzOutlineIterator.fz_outline_iterator_itemQl       @@FFr#   c                 ,    t        j                  |       S )a;  
        Class-aware wrapper for `::fz_outline_iterator_next()`.
        	Calls to move the iterator position.

        	A negative return value means we could not move as requested. Otherwise:
        	0 = the final position has a valid item.
        	1 = not a valid item, but we can insert an item here.
        )r   *FzOutlineIterator_fz_outline_iterator_nextrV   s    r   fz_outline_iterator_nextz*FzOutlineIterator.fz_outline_iterator_nextZl  s     @@FFr#   c                 ,    t        j                  |       S z7Class-aware wrapper for `::fz_outline_iterator_prev()`.)r   *FzOutlineIterator_fz_outline_iterator_prevrV   s    r   fz_outline_iterator_prevz*FzOutlineIterator.fz_outline_iterator_prevel  r3  r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::fz_outline_iterator_up()`.)r   (FzOutlineIterator_fz_outline_iterator_uprV   s    r   fz_outline_iterator_upz(FzOutlineIterator.fz_outline_iterator_upil  r.,  r#   c                 .    t        j                  | |      S )z0Custom wrapper for fz_outline_iterator_insert().)r   ,FzOutlineIterator_fz_outline_iterator_insertr   r{  s     r   fz_outline_iterator_insertz,FzOutlineIterator.fz_outline_iterator_insertml      BB4NNr#   c                 .    t        j                  | |      S )z0Custom wrapper for fz_outline_iterator_update().)r   ,FzOutlineIterator_fz_outline_iterator_updater\6  s     r   fz_outline_iterator_updatez,FzOutlineIterator.fz_outline_iterator_updateql  r^6  r#   c                 P    t        j                  | t        j                  |        y)a]  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_outline_iterator()`.
        		Get an iterator for the document outline.

        		Should be freed by fz_drop_outline_iterator.


        |

        *Overload 2:*
         Constructor using `fz_new_outline_iterator_of_size()`.

        |

        *Overload 3:*
         Constructor using `pdf_new_outline_iterator()`.

        |

        *Overload 4:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 5:*
         Constructor using raw copy of pre-existing `::fz_outline_iterator`.
        N)r   FzOutlineIterator_swiginitnew_FzOutlineIteratorr   s     r   rS   zFzOutlineIterator.__init__ul  s    : 	))$0L0Ld0STr#   c                 ,    t        j                  |       S r+  )r   "FzOutlineIterator_m_internal_valuerV   s    r   r+  z"FzOutlineIterator.m_internal_valuel  r-  r#   c                 ,    t        j                  |       S r-   )r   FzOutlineIterator___nonzero__rV   s    r   r   zFzOutlineIterator.__nonzero__l  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rC6  rF6  rJ6  rM6  rQ6  rU6  rY6  r]6  ra6  rS   r   delete_FzOutlineIteratorr   r+  r   r    FzOutlineIterator_m_internal_get FzOutlineIterator_m_internal_setr+  %FzOutlineIterator_s_num_instances_get%FzOutlineIterator_s_num_instances_setr+  r$   r#   r   r>6  r>6  7l  s    V-/IOdeGHLIGG	GGEOOU< 66?:H &AA6CjCj  qP  QJvKKVMyMyzOr#   r>6  c                      e Zd ZdZ ed d d      ZeZej                  Z
ej                  Zej                  Zej                  Zej"                  Zd Zd Zd Zd	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d Z"d Z#d Z$d Z%d Z&d Z'd Z(d Z)d Z*d Z+d Z,d  Z-d! Z.d" Z/d# Z0d$ Z1d% Z2d& Z3d' Z4d( Z5d) Z6d* Z7d+ Z8d, Z9d- Z:d. Z;d/ Z<d0 Z=d1 Z>d2 Z?d3 Z@d4 ZAd5 ZBd6 ZCd7 ZDd8 ZEd9 ZFd: ZGd; ZHd< ZId= ZJd> ZKd? ZLd@ ZMdA ZNdB ZOdC ZPdD ZQdE ZRdF ZSdG ZTdH ZUdI ZVdJ ZWdK ZXdL ZYdM ZZdN Z[dO Z\dP Z]ej                  Z_dQ Z`dR ZaeaZb eej                  ej                  dS      Ze eej                  ej                        ZhyT)UFzOutputzAWrapper class for struct `fz_output`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzOutput.<lambda>l  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzOutput.<lambda>l  rL   r#   rM   rN   c                 ,    t        j                  |       S )zz
        Class-aware wrapper for `::fz_close_output()`.
        	Flush pending output and close an output stream.
        )r   FzOutput_fz_close_outputrV   s    r   fz_close_outputzFzOutput.fz_close_outputl  rX2  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_debug_store()`.
        	Output debugging information for the current state of the store
        	to the given output channel.
        )r   FzOutput_fz_debug_storerV   s    r   fz_debug_storezFzOutput.fz_debug_storel  r-  r#   c                 ,    t        j                  |       S )z~
        Class-aware wrapper for `::fz_dump_glyph_cache_stats()`.
        	Dump debug statistics for the glyph cache.
        )r   "FzOutput_fz_dump_glyph_cache_statsrV   s    r   fz_dump_glyph_cache_statsz"FzOutput.fz_dump_glyph_cache_statsl  r-  r#   c                 ,    t        j                  |       S )z_
        Class-aware wrapper for `::fz_flush_output()`.
        	Flush unwritten data.
        )r   FzOutput_fz_flush_outputrV   s    r   fz_flush_outputzFzOutput.fz_flush_outputl  rX2  r#   c                 4    t        j                  | ||||      S )z
        Class-aware wrapper for `::fz_new_svg_device()`.
        	Create a device that outputs (single page) SVG files to
        	the given output stream.

        	Equivalent to fz_new_svg_device_with_id passing id = NULL.
        )r   FzOutput_fz_new_svg_device)r   r  r  r  r  s        r   fz_new_svg_devicezFzOutput.fz_new_svg_devicel  s     00z;P[]ijjr#   c                 6    t        j                  | |||||      S )a  
        Class-aware wrapper for `::fz_new_svg_device_with_id()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_new_svg_device_with_id(float page_width, float page_height, int text_format, int reuse_images)` => `(fz_device *, int id)`

        	Create a device that outputs (single page) SVG files to
        	the given output stream.

        	output: The output stream to send the constructed SVG page to.

        	page_width, page_height: The page dimensions to use (in points).

        	text_format: How to emit text. One of the following values:
        		FZ_SVG_TEXT_AS_TEXT: As <text> elements with possible
        		layout errors and mismatching fonts.
        		FZ_SVG_TEXT_AS_PATH: As <path> elements with exact
        		visual appearance.

        	reuse_images: Share image resources using <symbol> definitions.

        	id: ID parameter to keep generated IDs unique across SVG files.
        )r   "FzOutput_fz_new_svg_device_with_id)r   r  r  r  r  rM  s         r   fz_new_svg_device_with_idz"FzOutput.fz_new_svg_device_with_idl  s"    0 88z;Xceqsuvvr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_new_trace_device()`.
        	Create a device to print a debug trace of all device calls.
        )r   FzOutput_fz_new_trace_devicerV   s    r   fz_new_trace_devicezFzOutput.fz_new_trace_devicel  r-  r#   c                 ,    t        j                  |       S r.  )r   FzOutput_fz_new_xmltext_devicerV   s    r   r.  zFzOutput.fz_new_xmltext_devicel  s    
 44T::r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_output_supports_stream()`.
        	Query whether a given fz_output supports fz_stream_from_output.
        )r   "FzOutput_fz_output_supports_streamrV   s    r   fz_output_supports_streamz"FzOutput.fz_output_supports_streaml  r-  r#   c                 0    t        j                  | ||      S )zq
        Class-aware wrapper for `::fz_output_xml()`.
        	Pretty-print an XML tree to given output.
        )r   FzOutput_fz_output_xml)r   r{  rN  s      r   fz_output_xmlzFzOutput.fz_output_xmlm  s    
 ,,T4??r#   c                 ,    t        j                  |       S z<Class-aware wrapper for `::fz_print_stext_header_as_html()`.)r   &FzOutput_fz_print_stext_header_as_htmlrV   s    r   fz_print_stext_header_as_htmlz&FzOutput.fz_print_stext_header_as_htmlm  r-  r#   c                 ,    t        j                  |       S z=Class-aware wrapper for `::fz_print_stext_header_as_xhtml()`.)r   'FzOutput_fz_print_stext_header_as_xhtmlrV   s    r   fz_print_stext_header_as_xhtmlz'FzOutput.fz_print_stext_header_as_xhtmlm  r[0  r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_print_stext_page_as_html()`.
        	Output structured text to a file in HTML (visual) format.
        )r   $FzOutput_fz_print_stext_page_as_htmlr   r'
  rM  s      r   fz_print_stext_page_as_htmlz$FzOutput.fz_print_stext_page_as_htmlm  s    
 ::4rJJr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_print_stext_page_as_json()`.
        	Output structured text to a file in JSON format.
        )r   $FzOutput_fz_print_stext_page_as_json)r   r'
  rU  s      r   fz_print_stext_page_as_jsonz$FzOutput.fz_print_stext_page_as_jsonm  s    
 ::4uMMr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_print_stext_page_as_text()`.
        	Output structured text to a file in plain-text UTF-8 format.
        )r   $FzOutput_fz_print_stext_page_as_textr   r'
  s     r   fz_print_stext_page_as_textz$FzOutput.fz_print_stext_page_as_text!m  s    
 ::4FFr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_print_stext_page_as_xhtml()`.
        	Output structured text to a file in XHTML (semantic) format.
        )r   %FzOutput_fz_print_stext_page_as_xhtmlr6  s      r   fz_print_stext_page_as_xhtmlz%FzOutput.fz_print_stext_page_as_xhtml(m  s    
 ;;D$KKr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_print_stext_page_as_xml()`.
        	Output structured text to a file in XML format.
        )r   #FzOutput_fz_print_stext_page_as_xmlr6  s      r   fz_print_stext_page_as_xmlz#FzOutput.fz_print_stext_page_as_xml/m  s    
 99$bIIr#   c                 ,    t        j                  |       S z=Class-aware wrapper for `::fz_print_stext_trailer_as_html()`.)r   'FzOutput_fz_print_stext_trailer_as_htmlrV   s    r   fz_print_stext_trailer_as_htmlz'FzOutput.fz_print_stext_trailer_as_html6m  r[0  r#   c                 ,    t        j                  |       S z>Class-aware wrapper for `::fz_print_stext_trailer_as_xhtml()`.)r   (FzOutput_fz_print_stext_trailer_as_xhtmlrV   s    r   fz_print_stext_trailer_as_xhtmlz(FzOutput.fz_print_stext_trailer_as_xhtml:m  r.,  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_reset_output()`.
        	Reset a closed output stream. Returns state to
        	(broadly) that which it was in when opened. Not
        	all outputs can be reset, so this may throw an
        	exception.
        )r   FzOutput_fz_reset_outputrV   s    r   fz_reset_outputzFzOutput.fz_reset_output>m  r-  r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_seek_output()`.
        	Seek to the specified file position.
        	See fseek for arguments.

        	Throw an error on unseekable outputs.
        )r   FzOutput_fz_seek_output)r   r]  rY  s      r   fz_seek_outputzFzOutput.fz_seek_outputHm  s     --dC@@r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_set_stddbg()`.
        	Set the output stream to be used for fz_stddbg. Set to NULL to
        	reset to default (stderr).
        )r   FzOutput_fz_set_stddbgrV   s    r   fz_set_stddbgzFzOutput.fz_set_stddbgRm  s     ,,T22r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_stream_from_output()`.
        	Obtain the fz_output in the form of a fz_stream.

        	This allows data to be read back from some forms of fz_output
        	object. When finished reading, the fz_stream should be released
        	by calling fz_drop_stream. Until the fz_stream is dropped, no
        	further operations should be performed on the fz_output object.
        )r   FzOutput_fz_stream_from_outputrV   s    r   fz_stream_from_outputzFzOutput.fz_stream_from_outputZm  s     44T::r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_tell_output()`.
        	Return the current file position.

        	Throw an error on untellable outputs.
        )r   FzOutput_fz_tell_outputrV   s    r   fz_tell_outputzFzOutput.fz_tell_outputfm  r0  r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_truncate_output()`.
        	Truncate the output at the current position.

        	This allows output streams which have seeked back from the end
        	of their storage to be truncated at the current point.
        )r   FzOutput_fz_truncate_outputrV   s    r   fz_truncate_outputzFzOutput.fz_truncate_outputom       11$77r#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::fz_write_base64()`.
        	Write a base64 encoded data block, optionally with periodic
        	newlines.
        )r   FzOutput_fz_write_base64r,  s       r   fz_write_base64zFzOutput.fz_write_base64ym  s     ..tT4IIr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_write_base64_buffer()`.
        	Write a base64 encoded fz_buffer, optionally with periodic
        	newlines.
        )r   FzOutput_fz_write_base64_bufferr,  s      r   fz_write_base64_bufferzFzOutput.fz_write_base64_bufferm  s     55dD'JJr#   c                 .    t        j                  | |      S )zi
        Class-aware wrapper for `::fz_write_bitmap_as_pbm()`.
        	Write a bitmap as a pbm.
        )r   FzOutput_fz_write_bitmap_as_pbmr   r  s     r   fz_write_bitmap_as_pbmzFzOutput.fz_write_bitmap_as_pbmm      
 55dFCCr#   c                 0    t        j                  | ||      S )zl
        Class-aware wrapper for `::fz_write_bitmap_as_pcl()`.
        	Write a bitmap as mono PCL.
        )r   FzOutput_fz_write_bitmap_as_pcl)r   r  r  s      r   fz_write_bitmap_as_pclzFzOutput.fz_write_bitmap_as_pclm      
 55dFCHHr#   c                 .    t        j                  | |      S )zn
        Class-aware wrapper for `::fz_write_bitmap_as_pkm()`.
        	Write a CMYK bitmap as a pkm.
        )r   FzOutput_fz_write_bitmap_as_pkmr6  s     r   fz_write_bitmap_as_pkmzFzOutput.fz_write_bitmap_as_pkmm  r6  r#   c                 0    t        j                  | ||      S )zi
        Class-aware wrapper for `::fz_write_bitmap_as_pwg()`.
        	Write a bitmap as a PWG.
        )r   FzOutput_fz_write_bitmap_as_pwgr   r  r  s      r   fz_write_bitmap_as_pwgzFzOutput.fz_write_bitmap_as_pwgm  r6  r#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_write_bitmap_as_pwg_page()`.
        	Write a bitmap as a PWG page.

        	Caller should provide a file header by calling
        	fz_write_pwg_file_header, but can then write several pages to
        	the same file.
        )r   $FzOutput_fz_write_bitmap_as_pwg_pager6  s      r   fz_write_bitmap_as_pwg_pagez$FzOutput.fz_write_bitmap_as_pwg_pagem       ::4MMr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_write_bits()`.
        	Write num_bits of data to the end of the output stream, assumed to be packed
        	most significant bits first.
        )r   FzOutput_fz_write_bits)r   r?   r!  s      r   fz_write_bitszFzOutput.fz_write_bitsm  s     ,,T4BBr#   c                 ,    t        j                  |       S )zv
        Class-aware wrapper for `::fz_write_bits_sync()`.
        	Sync to byte boundary after writing bits.
        )r   FzOutput_fz_write_bits_syncrV   s    r   fz_write_bits_synczFzOutput.fz_write_bits_syncm      
 11$77r#   c                 .    t        j                  | |      S z.Class-aware wrapper for `::fz_write_buffer()`.)r   FzOutput_fz_write_bufferr-  s     r   fz_write_bufferzFzOutput.fz_write_bufferm      ..tT::r#   c                 .    t        j                  | |      S z,Class-aware wrapper for `::fz_write_byte()`.)r   FzOutput_fz_write_byterc   s     r   fz_write_bytezFzOutput.fz_write_bytem      ,,T155r#   c                 .    t        j                  | |      S z,Class-aware wrapper for `::fz_write_char()`.)r   FzOutput_fz_write_charrc   s     r   fz_write_charzFzOutput.fz_write_charm  r6  r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_write_data()`.
        	Write data to output.

        	data: Pointer to data to write.
        	size: Size of data to write in bytes.
        )r   FzOutput_fz_write_data)r   r?   r   s      r   fz_write_datazFzOutput.fz_write_datam  s     ,,T4>>r#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::fz_write_float_be()`.)r   FzOutput_fz_write_float_ber   r  s     r   fz_write_float_bezFzOutput.fz_write_float_bem      00q99r#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::fz_write_float_le()`.)r   FzOutput_fz_write_float_ler6  s     r   fz_write_float_lezFzOutput.fz_write_float_lem  r6  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_write_image_as_data_uri()`.
        	Write image as a data URI (for HTML and SVG output).
        )r   #FzOutput_fz_write_image_as_data_urir,  s     r   fz_write_image_as_data_uriz#FzOutput.fz_write_image_as_data_urim  s    
 99$FFr#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::fz_write_int16_be()`.)r   FzOutput_fz_write_int16_berc   s     r   fz_write_int16_bezFzOutput.fz_write_int16_bem  r6  r#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::fz_write_int16_le()`.)r   FzOutput_fz_write_int16_lerc   s     r   fz_write_int16_lezFzOutput.fz_write_int16_lem  r6  r#   c                 .    t        j                  | |      S )z{
        Class-aware wrapper for `::fz_write_int32_be()`.
        	Write different sized data to an output stream.
        )r   FzOutput_fz_write_int32_berc   s     r   fz_write_int32_bezFzOutput.fz_write_int32_bem  s    
 00q99r#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::fz_write_int32_le()`.)r   FzOutput_fz_write_int32_lerc   s     r   fz_write_int32_lezFzOutput.fz_write_int32_lem  r6  r#   c                 .    t        j                  | |      S z:Class-aware wrapper for `::fz_write_pixmap_as_data_uri()`.)r   $FzOutput_fz_write_pixmap_as_data_urir-  s     r   fz_write_pixmap_as_data_uriz$FzOutput.fz_write_pixmap_as_data_urim      ::4HHr#   c                 2    t        j                  | |||      S )zk
        Class-aware wrapper for `::fz_write_pixmap_as_jpeg()`.
        	Write a pixmap as a JPEG.
        )r    FzOutput_fz_write_pixmap_as_jpeg)r   r\  r  r  s       r   fz_write_pixmap_as_jpegz FzOutput.fz_write_pixmap_as_jpegm  s    
 66tS';WWr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_write_pixmap_as_jpx()`.
        	Pixmap data as JP2K with no subsampling.

        	quality = 100 = lossless
        	otherwise for a factor of x compression use 100-x. (so 80 is 1:20 compression)
        )r   FzOutput_fz_write_pixmap_as_jpx)r   r\  r  s      r   fz_write_pixmap_as_jpxzFzOutput.fz_write_pixmap_as_jpxn  s     55dCIIr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_write_pixmap_as_pam()`.
        	Write a pixmap as a pnm (greyscale, rgb or cmyk, with or without
        	alpha).
        )r   FzOutput_fz_write_pixmap_as_pamr-  s     r   fz_write_pixmap_as_pamzFzOutput.fz_write_pixmap_as_pamn  s     55dFCCr#   c                 0    t        j                  | ||      S )zt
        Class-aware wrapper for `::fz_write_pixmap_as_pcl()`.
        	Write an (RGB) pixmap as color PCL.
        )r   FzOutput_fz_write_pixmap_as_pcl)r   r  r  s      r   fz_write_pixmap_as_pclzFzOutput.fz_write_pixmap_as_pcln  r6  r#   c                 0    t        j                  | ||      S )z|
        Class-aware wrapper for `::fz_write_pixmap_as_pclm()`.
        	Write a (Greyscale or RGB) pixmap as pclm.
        )r    FzOutput_fz_write_pixmap_as_pclmr   r  r  s      r   fz_write_pixmap_as_pclmz FzOutput.fz_write_pixmap_as_pclmn  s    
 66tVWMMr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_write_pixmap_as_pdfocr()`.
        	Write a (Greyscale or RGB) pixmap as pdfocr.
        )r   "FzOutput_fz_write_pixmap_as_pdfocrr$7  s      r   fz_write_pixmap_as_pdfocrz"FzOutput.fz_write_pixmap_as_pdfocr"n  s    
 88vwOOr#   c                 .    t        j                  | |      S )z|
        Class-aware wrapper for `::fz_write_pixmap_as_png()`.
        	Write a (Greyscale or RGB) pixmap as a png.
        )r   FzOutput_fz_write_pixmap_as_pngr-  s     r   fz_write_pixmap_as_pngzFzOutput.fz_write_pixmap_as_png)n  r6  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_write_pixmap_as_pnm()`.
        	Write a pixmap as a pnm (greyscale or rgb, no alpha).
        )r   FzOutput_fz_write_pixmap_as_pnmr-  s     r   fz_write_pixmap_as_pnmzFzOutput.fz_write_pixmap_as_pnm0n  r6  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_write_pixmap_as_ps()`.
        	Write a (gray, rgb, or cmyk, no alpha) pixmap out as postscript.
        )r   FzOutput_fz_write_pixmap_as_psr-  s     r   fz_write_pixmap_as_pszFzOutput.fz_write_pixmap_as_ps7n  s    
 44T6BBr#   c                 .    t        j                  | |      S )zn
        Class-aware wrapper for `::fz_write_pixmap_as_psd()`.
        	Write a pixmap as a PSD file.
        )r   FzOutput_fz_write_pixmap_as_psdr-  s     r   fz_write_pixmap_as_psdzFzOutput.fz_write_pixmap_as_psd>n  r6  r#   c                 0    t        j                  | ||      S )zi
        Class-aware wrapper for `::fz_write_pixmap_as_pwg()`.
        	Write a pixmap as a PWG.
        )r   FzOutput_fz_write_pixmap_as_pwgr   r  r  s      r   fz_write_pixmap_as_pwgzFzOutput.fz_write_pixmap_as_pwgEn  r6  r#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_write_pixmap_as_pwg_page()`.
        	Write a pixmap as a PWG page.

        	Caller should provide a file header by calling
        	fz_write_pwg_file_header, but can then write several pages to
        	the same file.
        )r   $FzOutput_fz_write_pixmap_as_pwg_pager77  s      r   fz_write_pixmap_as_pwg_pagez$FzOutput.fz_write_pixmap_as_pwg_pageLn  r6  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_write_ps_file_header()`.
        	Write the file level header for ps band writer output.
        )r    FzOutput_fz_write_ps_file_headerrV   s    r   fz_write_ps_file_headerz FzOutput.fz_write_ps_file_headerWn  s    
 66t<<r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_write_ps_file_trailer()`.
        	Write the file level trailer for ps band writer output.
        )r   !FzOutput_fz_write_ps_file_trailerr   rY!  s     r   fz_write_ps_file_trailerz!FzOutput.fz_write_ps_file_trailer^n  s    
 77eDDr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_write_pwg_file_header()`.
        	Output the file header to a pwg stream, ready for pages to follow it.
        )r   !FzOutput_fz_write_pwg_file_headerrV   s    r   fz_write_pwg_file_headerz!FzOutput.fz_write_pwg_file_headeren  s    
 77==r#   c                 .    t        j                  | |      S )zp
        Class-aware wrapper for `::fz_write_rune()`.
        	Write a UTF-8 encoded unicode character.
        )r   FzOutput_fz_write_rune)r   r5  s     r   fz_write_runezFzOutput.fz_write_runeln  s    
 ,,T488r#   c                 .    t        j                  | |      S )zq
        Class-aware wrapper for `::fz_write_stream()`.
        	Copy the stream contents to the output.
        )r   FzOutput_fz_write_stream)r   r?  s     r   fz_write_streamzFzOutput.fz_write_streamsn  s    
 ..tS99r#   c                 .    t        j                  | |      S )zy
        Class-aware wrapper for `::fz_write_string()`.
        	Write a string. Does not write zero terminator.
        )r   FzOutput_fz_write_stringr   r<  s     r   fz_write_stringzFzOutput.fz_write_stringzn      
 ..tQ77r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::fz_write_uint16_be()`.)r   FzOutput_fz_write_uint16_berc   s     r   fz_write_uint16_bezFzOutput.fz_write_uint16_ben  r,  r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::fz_write_uint16_le()`.)r   FzOutput_fz_write_uint16_lerc   s     r   fz_write_uint16_lezFzOutput.fz_write_uint16_len  r,  r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::fz_write_uint32_be()`.)r   FzOutput_fz_write_uint32_berc   s     r   fz_write_uint32_bezFzOutput.fz_write_uint32_ben  r,  r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::fz_write_uint32_le()`.)r   FzOutput_fz_write_uint32_lerc   s     r   fz_write_uint32_lezFzOutput.fz_write_uint32_len  r,  r#   c                 0    t        j                  | ||      S z7Class-aware wrapper for `::pdf_new_output_processor()`.)r   !FzOutput_pdf_new_output_processorr`-  s      r   pdf_new_output_processorz!FzOutput.pdf_new_output_processorn  rb-  r#   c                 .    t        j                  | |      S z.Class-aware wrapper for `::pdf_print_crypt()`.)r   FzOutput_pdf_print_crypt)r   r\  s     r   pdf_print_cryptzFzOutput.pdf_print_cryptn      ..tU;;r#   c           
      :    t        j                  | |||||||      S )a  
        Class-aware wrapper for `::pdf_print_encrypted_obj()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_print_encrypted_obj(::pdf_obj *obj, int tight, int ascii, ::pdf_crypt *crypt, int num, int gen)` => int sep
        )r    FzOutput_pdf_print_encrypted_objr   rh  r(  r  r\  rw  rZ  rL  s           r   pdf_print_encrypted_objz FzOutput.pdf_print_encrypted_objn  s'     66tS%PUWZ\_adeer#   c                 .    t        j                  | |      S z-Class-aware wrapper for `::pdf_print_font()`.)r   FzOutput_pdf_print_fontr   r  s     r   pdf_print_fontzFzOutput.pdf_print_fontn  s    --dH==r#   c                 2    t        j                  | |||      S z,Class-aware wrapper for `::pdf_print_obj()`.)r   FzOutput_pdf_print_obj)r   rh  r(  r  s       r   pdf_print_objzFzOutput.pdf_print_objn  s    ,,T3uEEr#   c                 6    t        j                  | |||||      S z/Class-aware wrapper for `::pdf_write_digest()`.)r   FzOutput_pdf_write_digest)r   r*  r  r*  r*  r  s         r   pdf_write_digestzFzOutput.pdf_write_digestn  s    //j%Xegmnnr#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_arc4_output()`.

        |

        *Overload 2:*
         Constructor using `fz_new_deflate_output()`.

        |

        *Overload 3:*
         Constructor using `fz_new_log_for_module()`.
        		Internal function to actually do the opening of the logfile.

        		Caller should close/drop the output when finished with it.


        |

        *Overload 4:*
         Constructor using `fz_new_output()`.
        		Create a new output object with the given
        		internal state and function pointers.

        		state: Internal state (opaque to everything but implementation).

        		write: Function to output a given buffer.

        		close: Cleanup function to destroy state when output closed.
        		May permissibly be null.


        |

        *Overload 5:*
         Constructor using `fz_new_output_with_buffer()`.
        		Open an output stream that appends
        		to a buffer.

        		buf: The buffer to append to.


        |

        *Overload 6:*
         Constructor using `fz_new_output_with_file_ptr()`.
        		Open an output stream that writes to a
        		given FILE *.

        		file: The file pointers to write to. NULL is interpreted as effectively
        		meaning /dev/null or similar.


        |

        *Overload 7:*
         Constructor using `fz_new_output_with_path()`.
        		Open an output stream that writes to a
        		given path.

        		filename: The filename to write to (specified in UTF-8).

        		append: non-zero if we should append to the file, rather than
        		overwriting it.


        |

        *Overload 8:*
         Uses fz_stdout() or fz_stderr().

        |

        *Overload 9:*
         Calls one of: fz_new_asciihex_output(), fz_new_ascii85_output(), fz_new_rle_output().

        |

        *Overload 10:*
         Constructor using raw copy of pre-existing `::fz_output`.

        |

        *Overload 11:*
         Constructor using raw copy of pre-existing `::fz_output`.
        N)r   FzOutput_swiginitnew_FzOutputr   s     r   rS   zFzOutput.__init__n  s     p 	  v':':D'ABr#   c                 ,    t        j                  |       S r+  )r   FzOutput_m_internal_valuerV   s    r   r+  zFzOutput.m_internal_value	o  r,  r#   c                 ,    t        j                  |       S r-   )r   FzOutput___nonzero__rV   s    r   r   zFzOutput.__nonzero__o  rW   r#   r+  N)ir   r   r6   r7   r   r   r   r   r   FzOutput_Fixed_STDOUTFixed_STDOUTFzOutput_Fixed_STDERRFixed_STDERRFzOutput_Filter_HEX
Filter_HEXFzOutput_Filter_85	Filter_85FzOutput_Filter_RLE
Filter_RLErt6  rw6  rz6  r}6  r6  r6  r6  r.  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r7  r7  r	7  r7  r7  r7  r7  r7  r7  r!7  r%7  r(7  r+7  r.7  r17  r47  r87  r;7  r>7  rB7  rE7  rH7  rK7  rO7  rT7  rX7  r\7  r`7  rd7  rh7  rm7  rr7  rv7  rz7  rS   delete_FzOutputr   r+  r   r   FzOutput_m_internal_getFzOutput_m_internal_setr+  FzOutput_s_num_instances_getFzOutput_s_num_instances_setr+  r$   r#   r   ro6  ro6  l  sF   L-/IOdeGH//L//L++J))I++J54?5kw49;?@CDKNGLJDE5A3
;48JKDIDI	NC8;66?::G::::IXJDINPDDCDI	N=E>9:8;;;;S<f>FoXCr --61H &88&:X:X^}~JvBBFDgDghOr#   ro6  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  ZddZddZdd	Zdd
ZddZddZddZddZd Zd Zd Zd Zd Zd Zd Zd Zd Zy)	FzOutput2zmWrapper class for struct fz_output with virtual fns for each fnptr; this is for use as a SWIG Director class.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzOutput2.<lambda>o  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzOutput2.<lambda>o  rL   r#   rM   rN   c                     | j                   t        k(  rd}n| }t        j                  | t        j                  |             yr/  )r   r7  r   FzOutput2_swiginitnew_FzOutput2r/  s     r   rS   zFzOutput2.__init__o  r/  r#   c                 .    t        j                  | |      S r/  )r   FzOutput2_use_virtual_writer/  s     r   use_virtual_writezFzOutput2.use_virtual_write&o  s    
 11$<<r#   c                 .    t        j                  | |      S r-   )r   FzOutput2_use_virtual_seekr/  s     r   use_virtual_seekzFzOutput2.use_virtual_seek-o  rl  r#   c                 .    t        j                  | |      S r-   )r   FzOutput2_use_virtual_tellr/  s     r   use_virtual_tellzFzOutput2.use_virtual_tell0o  rl  r#   c                 .    t        j                  | |      S r-   )r   FzOutput2_use_virtual_closer/  s     r   use_virtual_closezFzOutput2.use_virtual_close3o  r~  r#   c                 .    t        j                  | |      S r-   )r   FzOutput2_use_virtual_dropr/  s     r   use_virtual_dropzFzOutput2.use_virtual_drop6o  rl  r#   c                 .    t        j                  | |      S r-   )r   FzOutput2_use_virtual_resetr/  s     r   use_virtual_resetzFzOutput2.use_virtual_reset9o  r~  r#   c                 .    t        j                  | |      S r-   )r   FzOutput2_use_virtual_as_streamr/  s     r   use_virtual_as_streamzFzOutput2.use_virtual_as_stream<o  r/  r#   c                 .    t        j                  | |      S r-   )r   FzOutput2_use_virtual_truncater/  s     r   use_virtual_truncatezFzOutput2.use_virtual_truncate?o  r/  r#   c                 2    t        j                  | |||      S r/  )r   FzOutput2_writer0  s       r   r  zFzOutput2.writeBo  s    %%dE5%@@r#   c                 2    t        j                  | |||      S r-   )r   FzOutput2_seekr0  s       r   r  zFzOutput2.seekFo  s    $$T5%??r#   c                 .    t        j                  | |      S r-   )r   FzOutput2_tellr/  s     r   r  zFzOutput2.tellIo      $$T511r#   c                 .    t        j                  | |      S r-   )r   FzOutput2_closer/  s     r   r  zFzOutput2.closeLo      %%dE22r#   c                 .    t        j                  | |      S r-   )r   FzOutput2_dropr/  s     r   r  zFzOutput2.dropOo  r7  r#   c                 .    t        j                  | |      S r-   )r   FzOutput2_resetr/  s     r   r  zFzOutput2.resetRo  r7  r#   c                 .    t        j                  | |      S r-   )r   FzOutput2_as_streamr/  s     r   r  zFzOutput2.as_streamUo  r20  r#   c                 .    t        j                  | |      S r-   )r   FzOutput2_truncater/  s     r   r  zFzOutput2.truncateXo  r%0  r#   c                     | j                   j                          t        j                  |        t	        j
                  |       S r-   )r
   rJ0  r   disown_FzOutput2rL0  rM0  rV   s    r   rN0  zFzOutput2.__disown__Zo  rO0  r#   NrP0  )r   r   r6   r7   r   r   r   r   rS   r   delete_FzOutput2r   r7  r7  r7  r7  r7  r7  r7  r7  r  r  r  r  r  r  r  r  rN0  r$   r#   r   r7  r7  o  s    x-/IOdeGHG ..=<<=<=A@A@232376#r#   r7  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzOverprinta  
    Wrapper class for struct `fz_overprint`. Not copyable or assignable.
    Pixmaps represent a set of pixels for a 2 dimensional region of
    a plane. Each pixel has n components per pixel. The components
    are in the order process-components, spot-colors, alpha, where
    there can be 0 of any of those types. The data is in
    premultiplied alpha when rendering, but non-premultiplied for
    colorspace conversions and rescaling.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzOverprint.<lambda>lo  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzOverprint.<lambda>lo  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_overprint`.
        N)r   FzOverprint_swiginitnew_FzOverprintr   s     r   rS   zFzOverprint.__init__oo       	##D&*@*@$*GHr#   c                 ,    t        j                  |       S r+  )r   FzOverprint_m_internal_valuerV   s    r   r+  zFzOverprint.m_internal_value|o  r2  r#   c                 ,    t        j                  |       S r-   )r   FzOverprint___nonzero__rV   s    r   r   zFzOverprint.__nonzero__o  rs   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzOverprintr   r+  r   r   FzOverprint_m_internal_getFzOverprint_m_internal_setr+  FzOverprint_s_num_instances_getFzOverprint_s_num_instances_setr+  r$   r#   r   r7  r7  ao  s~     -/IOdeGH
I 0094H &;;V=^=^  eD  EJvEEvGmGmnOr#   r7  c                   j   e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!e"jF                  Z$d  Z%d! Z&e&Z' ee"jP                  e"jR                  d"      Z* ee"jV                  e"jX                        Z-y#)$FzPagez#Wrapper class for struct `fz_page`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzPage.<lambda>o  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzPage.<lambda>o  rL   r#   rM   rN   c                 ,    t        j                  |       S )zo
        Class-aware wrapper for `::fz_bound_page()`.
        	Determine the size of a page at 72 dpi.
        )r   FzPage_fz_bound_pagerV   s    r   fz_bound_pagezFzPage.fz_bound_pageo      
 **400r#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::fz_bound_page_box()`.)r   FzPage_fz_bound_page_boxr   r  s     r   fz_bound_page_boxzFzPage.fz_bound_page_boxo      ..tS99r#   c                 0    t        j                  | ||      S )ze
        Class-aware wrapper for `::fz_create_link()`.
        	Create a new link on a page.
        )r   FzPage_fz_create_linkr   r  r"  s      r   fz_create_linkzFzPage.fz_create_linko  s    
 ++D$<<r#   c                 .    t        j                  | |      S )zk
        Class-aware wrapper for `::fz_delete_link()`.
        	Delete an existing link on a page.
        )r   FzPage_fz_delete_linkr   r  s     r   fz_delete_linkzFzPage.fz_delete_linko  s    
 ++D$77r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_load_links()`.
        	Load the list of links for a page.

        	Returns a linked list of all the links on the page, each with
        	its clickable region and link destination. Each link is
        	reference counted so drop and free the list of links by
        	calling fz_drop_link on the pointer return from fz_load_links.

        	page: Page obtained from fz_load_page.
        )r   FzPage_fz_load_linksrV   s    r   fz_load_linkszFzPage.fz_load_linkso  s     **400r#   c                 .    t        j                  | |      S z6Class-aware wrapper for `::fz_new_buffer_from_page()`.)r   FzPage_fz_new_buffer_from_pagerx0  s     r   fz_new_buffer_from_pagezFzPage.fz_new_buffer_from_pageo  r;1  r#   c                 4    t        j                  | ||||      S )ad  
        Class-aware wrapper for `::fz_new_buffer_from_page_with_format()`.
        	Returns an fz_buffer containing a page after conversion to specified format.

        	page: The page to convert.
        	format, options: Passed to fz_new_document_writer_with_output() internally.
        	transform, cookie: Passed to fz_run_page() internally.
        )r   *FzPage_fz_new_buffer_from_page_with_format)r   r  r  r  r  s        r   #fz_new_buffer_from_page_with_formatz*FzPage.fz_new_buffer_from_page_with_formato  s     @@vwXacijjr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_new_display_list_from_page()`.
        	Create a display list.

        	Ownership of the display list is returned to the caller.
        )r   $FzPage_fz_new_display_list_from_pagerV   s    r   fz_new_display_list_from_pagez$FzPage.fz_new_display_list_from_pageo  r0  r#   c                 ,    t        j                  |       S rh0  )r   -FzPage_fz_new_display_list_from_page_contentsrV   s    r   rj0  z-FzPage.fz_new_display_list_from_page_contentso       CCDIIr#   c                 2    t        j                  | |||      S z6Class-aware wrapper for `::fz_new_pixmap_from_page()`.)r   FzPage_fz_new_pixmap_from_pager0  s       r   fz_new_pixmap_from_pagezFzPage.fz_new_pixmap_from_pageo  s    44T3EJJr#   c                 2    t        j                  | |||      S z
        Class-aware wrapper for `::fz_new_pixmap_from_page_contents()`.
        	Render the page contents without annotations.

        	Ownership of the pixmap is returned to the caller.
        )r   'FzPage_fz_new_pixmap_from_page_contentsr0  s       r    fz_new_pixmap_from_page_contentsz'FzPage.fz_new_pixmap_from_page_contentso  s     ==dCUSSr#   c                 4    t        j                  | ||||      S zPClass-aware wrapper for `::fz_new_pixmap_from_page_contents_with_separations()`.)r   8FzPage_fz_new_pixmap_from_page_contents_with_separationsr0  s        r   1fz_new_pixmap_from_page_contents_with_separationsz8FzPage.fz_new_pixmap_from_page_contents_with_separationso  s    NNtUXZ\^bdijjr#   c                 4    t        j                  | ||||      S zGClass-aware wrapper for `::fz_new_pixmap_from_page_with_separations()`.)r   /FzPage_fz_new_pixmap_from_page_with_separationsr0  s        r   (fz_new_pixmap_from_page_with_separationsz/FzPage.fz_new_pixmap_from_page_with_separationso  s    EEdCQSUY[`aar#   c                 0    t        j                  | ||      S )zh
        Class-aware wrapper for `::fz_page_label()`.
        	Get page label for a given page.
        )r   FzPage_fz_page_label)r   rb  r   s      r   fz_page_labelzFzPage.fz_page_labelo  s    
 **4d;;r#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_page_presentation()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_page_presentation(::fz_transition *transition)` => `(fz_transition *, float duration)`

        	Get the presentation details for a given page.

        	transition: A pointer to a transition struct to fill out.

        	duration: A pointer to a place to set the page duration in
        	seconds. Will be set to 0 if no transition is specified for the
        	page.

        	Returns: a pointer to the transition structure, or NULL if there
        	is no transition specified for the page.
        )r   FzPage_fz_page_presentationr   r  r  s      r   fz_page_presentationzFzPage.fz_page_presentationo  s    $ 11$
HMMr#   c                 ,    t        j                  |       S )a\  
        Class-aware wrapper for `::fz_page_separations()`.
        	Get the separations details for a page.
        	This will be NULL, unless the format specifically supports
        	separations (such as PDF files). May be NULL even
        	so, if there are no separations on a page.

        	Returns a reference that must be dropped.
        )r   FzPage_fz_page_separationsrV   s    r   fz_page_separationszFzPage.fz_page_separationsp  r5  r#   c                 ,    t        j                  |       S )zz
        Class-aware wrapper for `::fz_page_uses_overprint()`.
        	Query if a given page requires overprint.
        )r   FzPage_fz_page_uses_overprintrV   s    r   fz_page_uses_overprintzFzPage.fz_page_uses_overprintp  s    
 33D99r#   c                 2    t        j                  | |||      S )aI  
        Class-aware wrapper for `::fz_run_page()`.
        	Run a page through a device.

        	page: Page obtained from fz_load_page.

        	dev: Device obtained from fz_new_*_device.

        	transform: Transform to apply to page. May include for example
        	scaling and rotation, see fz_scale, fz_rotate and fz_concat.
        	Set to fz_identity if no transformation is desired.

        	cookie: Communication mechanism between caller and library
        	rendering the page. Intended for multi-threaded applications,
        	while single-threaded applications set cookie to NULL. The
        	caller may abort an ongoing rendering of a page. Cookie also
        	communicates progress information back to the caller. The
        	fields inside cookie are continually updated while the page is
        	rendering.
        )r   FzPage_fz_run_pager   rT  r  r  s       r   fz_run_pagezFzPage.fz_run_pagep  s    * ((sIvFFr#   c                 2    t        j                  | |||      S )z|
        Class-aware wrapper for `::fz_run_page_annots()`.
        	Run the annotations on a page through a device.
        )r   FzPage_fz_run_page_annotsr8  s       r   fz_run_page_annotszFzPage.fz_run_page_annots2p  s    
 //c9fMMr#   c                 2    t        j                  | |||      S )a  
        Class-aware wrapper for `::fz_run_page_contents()`.
        	Run a page through a device. Just the main
        	page content, without the annotations, if any.

        	page: Page obtained from fz_load_page.

        	dev: Device obtained from fz_new_*_device.

        	transform: Transform to apply to page. May include for example
        	scaling and rotation, see fz_scale, fz_rotate and fz_concat.
        	Set to fz_identity if no transformation is desired.

        	cookie: Communication mechanism between caller and library
        	rendering the page. Intended for multi-threaded applications,
        	while single-threaded applications set cookie to NULL. The
        	caller may abort an ongoing rendering of a page. Cookie also
        	communicates progress information back to the caller. The
        	fields inside cookie are continually updated while the page is
        	rendering.
        )r   FzPage_fz_run_page_contentsr8  s       r   fz_run_page_contentszFzPage.fz_run_page_contents9p  s    , 11$YOOr#   c                 2    t        j                  | |||      S )zy
        Class-aware wrapper for `::fz_run_page_widgets()`.
        	Run the widgets on a page through a device.
        )r   FzPage_fz_run_page_widgetsr8  s       r   fz_run_page_widgetszFzPage.fz_run_page_widgetsQp  s    
 00sIvNNr#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_search_page()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_search_page(const char *needle, ::fz_quad *hit_bbox, int hit_max)` => `(int, int hit_mark)`

        	Search for the 'needle' text on the page.
        	Record the hits in the hit_bbox array and return the number of
        	hits. Will stop looking once it has filled hit_max rectangles.
        )r   FzPage_fz_search_pager0  s        r   fz_search_pagezFzPage.fz_search_pageXp  s     ++D&(HgVVr#   c                 2    t        j                  | |||      S )zu
        Class-aware wrapper for `::fz_search_page_cb()`.
        	Search for the 'needle' text on the page.
        )r   FzPage_fz_search_page_cbr0  s       r   fz_search_page_cbzFzPage.fz_search_page_cbep  s    
 ..tVRHHr#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::pdf_page_from_fz_page()`.)r   FzPage_pdf_page_from_fz_pagerV   s    r   pdf_page_from_fz_pagezFzPage.pdf_page_from_fz_pagelp  r2  r#   c                 ,    t        j                  |       S z Returns wrapper for .doc member.)r   
FzPage_docrV   s    r   rO   z
FzPage.docpp  r&5  r#   c                 P    t        j                  | t        j                  |        y)aE  
        *Overload 1:*
         == Constructors.  Constructor using `fz_load_chapter_page()`.
        		Load a page.

        		After fz_load_page is it possible to retrieve the size of the
        		page using fz_bound_page, or to render the page using
        		fz_run_page_*. Free the page by calling fz_drop_page.

        		chapter: chapter number, 0 is the first chapter of the document.
        		number: page number, 0 is the first page of the chapter.


        |

        *Overload 2:*
         Constructor using `fz_load_page()`.
        		Load a given page number from a document. This may be much less
        		efficient than loading by location (chapter+page) for some
        		document types.


        |

        *Overload 3:*
         Constructor using `fz_new_page_of_size()`.
        		Different document types will be implemented by deriving from
        		fz_page. This macro allocates such derived structures, and
        		initialises the base sections.


        |

        *Overload 4:*
         Return FzPage for pdfpage.m_internal.super.

        |

        *Overload 5:*
         Copy constructor using `fz_keep_page()`.

        |

        *Overload 6:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 7:*
         Constructor using raw copy of pre-existing `::fz_page`.
        N)r   FzPage_swiginit
new_FzPager   s     r   rS   zFzPage.__init__tp  s     h 	tV%6%6%=>r#   c                 ,    t        j                  |       S r+  )r   FzPage_m_internal_valuerV   s    r   r+  zFzPage.m_internal_valuep  r+  r#   c                 ,    t        j                  |       S r-   )r   FzPage___nonzero__rV   s    r   r   zFzPage.__nonzero__p  r  r#   r+  N).r   r   r6   r7   r   r   r   r   r7  r7  r7  r7  r7  r7  r7  r7  rj0  r7  r8  r8  r8  r8  r8  r8  r8  r8  r8  r"8  r%8  r(8  r+8  r/8  rO   rS   r   delete_FzPager   r+  r   r   FzPage_m_internal_getFzPage_m_internal_setr+  FzPage_s_num_instances_getFzPage_s_num_instances_setr+  r$   r#   r   r7  r7  o  s    .-/IOdeGH1:=81D	kAJKTkb<N(
7:G.NP0OWI9'4?j ++4/H &668T8TZyzJv@@&BcBcdOr#   r7  c                   .   e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zej2                  Zd Zd ZeZ eej<                  ej>                  d      Z  eejB                  ejD                        Z#y)FzPatha  
     Wrapper class for struct `fz_path`.
    Vector path buffer.
    It can be stroked and dashed, or be filled.
    It has a fill rule (nonzero or even_odd).

    When rendering, they are flattened, stroked and dashed straight
    into the Global Edge List.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzPath.<lambda>p  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzPath.<lambda>p  rL   r#   rM   rN   c                 0    t        j                  | ||      S )a"  
        Class-aware wrapper for `::fz_bound_path()`.
        	Return a bounding rectangle for a path.

        	path: The path to bound.

        	stroke: If NULL, the bounding rectangle given is for
        	the filled path. If non-NULL the bounding rectangle
        	given is for the path stroked with the given attributes.

        	ctm: The matrix to apply to the path during stroking.

        	r: Pointer to a fz_rect which will be used to hold
        	the result.

        	Returns r, updated to contain the bounding rectangle.
        )r   FzPath_fz_bound_pathr   rV  rW  s      r   fz_bound_pathzFzPath.fz_bound_pathp  s    $ **4==r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_clone_path()`.
        	Clone the data for a path.

        	This is used in preference to fz_keep_path when a whole
        	new copy of a path is required, rather than just a shared
        	pointer. This probably indicates that the path is about to
        	be modified.

        	path: path to clone.

        	Throws exceptions on failure to allocate.
        )r   FzPath_fz_clone_pathrV   s    r   fz_clone_pathzFzPath.fz_clone_pathp  s     **400r#   c                 ,    t        j                  |       S )a'  
        Class-aware wrapper for `::fz_closepath()`.
        	Close the current subpath.

        	path: The path to modify.

        	Throws exceptions on failure to allocate, attempting to modify
        	a packed path, and illegal path closes (i.e. closing a non open
        	path).
        )r   FzPath_fz_closepathrV   s    r   fz_closepathzFzPath.fz_closepathp       ))$//r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_currentpoint()`.
        	Return the current point that a path has
        	reached or (0,0) if empty.

        	path: path to return the current point of.
        )r   FzPath_fz_currentpointrV   s    r   fz_currentpointzFzPath.fz_currentpointp  s     ,,T22r#   c           	      8    t        j                  | ||||||      S )a  
        Class-aware wrapper for `::fz_curveto()`.
        	Append a 'curveto' command to an open path. (For a
        	cubic bezier).

        	path: The path to modify.

        	x0, y0: The coordinates of the first control point for the
        	curve.

        	x1, y1: The coordinates of the second control point for the
        	curve.

        	x2, y2: The end coordinates for the curve.

        	Throws exceptions on failure to allocate, or attempting to
        	modify a packed path.
        )r   FzPath_fz_curveto)r   r  r  r  r  r?  r@  s          r   
fz_curvetozFzPath.fz_curvetoq  s!    & ''b"b"b"EEr#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_curvetov()`.
        	Append a 'curvetov' command to an open path. (For a
        	cubic bezier with the first control coordinate equal to
        	the start point).

        	path: The path to modify.

        	x1, y1: The coordinates of the second control point for the
        	curve.

        	x2, y2: The end coordinates for the curve.

        	Throws exceptions on failure to allocate, or attempting to
        	modify a packed path.
        )r   FzPath_fz_curvetov)r   r  r  r?  r@  s        r   fz_curvetovzFzPath.fz_curvetovq  s    " ((r2r2>>r#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_curvetoy()`.
        	Append a 'curvetoy' command to an open path. (For a
        	cubic bezier with the second control coordinate equal to
        	the end point).

        	path: The path to modify.

        	x0, y0: The coordinates of the first control point for the
        	curve.

        	x2, y2: The end coordinates for the curve (and the second
        	control coordinate).

        	Throws exceptions on failure to allocate, or attempting to
        	modify a packed path.
        )r   FzPath_fz_curvetoy)r   r  r  r?  r@  s        r   fz_curvetoyzFzPath.fz_curvetoy*q  s    $ ((r2r2>>r#   c                 0    t        j                  | ||      S )a!  
        Class-aware wrapper for `::fz_lineto()`.
        	Append a 'lineto' command to an open path.

        	path: The path to modify.

        	x, y: The coordinate to line to.

        	Throws exceptions on failure to allocate, or attempting to
        	modify a packed path.
        )r   FzPath_fz_linetor   rF   r  s      r   	fz_linetozFzPath.fz_lineto>q  s     &&tQ22r#   c                 0    t        j                  | ||      S )a9  
        Class-aware wrapper for `::fz_moveto()`.
        	Append a 'moveto' command to a path.
        	This 'opens' a path.

        	path: The path to modify.

        	x, y: The coordinate to move to.

        	Throws exceptions on failure to allocate, or attempting to
        	modify a packed path.
        )r   FzPath_fz_movetor\8  s      r   	fz_movetozFzPath.fz_movetoLq  s     &&tQ22r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_packed_path_size()`.
        	Return the number of bytes required to pack a path.
        )r   FzPath_fz_packed_path_sizerV   s    r   fz_packed_path_sizezFzPath.fz_packed_path_size[q      
 0066r#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_quadto()`.
        	Append a 'quadto' command to an open path. (For a
        	quadratic bezier).

        	path: The path to modify.

        	x0, y0: The control coordinates for the quadratic curve.

        	x1, y1: The end coordinates for the quadratic curve.

        	Throws exceptions on failure to allocate, or attempting to
        	modify a packed path.
        )r   FzPath_fz_quadtor   r  r  r  r  s        r   	fz_quadtozFzPath.fz_quadtobq  s     &&tRR<<r#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_rectto()`.
        	Append a 'rectto' command to an open path.

        	The rectangle is equivalent to:
        		moveto x0 y0
        		lineto x1 y0
        		lineto x1 y1
        		lineto x0 y1
        		closepath

        	path: The path to modify.

        	x0, y0: First corner of the rectangle.

        	x1, y1: Second corner of the rectangle.

        	Throws exceptions on failure to allocate, or attempting to
        	modify a packed path.
        )r   FzPath_fz_recttorg8  s        r   	fz_recttozFzPath.fz_recttosq  s    * &&tRR<<r#   c                 .    t        j                  | |      S )a<  
        Class-aware wrapper for `::fz_transform_path()`.
        	Transform a path by a given
        	matrix.

        	path: The path to modify (must not be a packed path).

        	transform: The transform to apply.

        	Throws exceptions if the path is packed, or on failure
        	to allocate.
        )r   FzPath_fz_transform_path)r   r  s     r   fz_transform_pathzFzPath.fz_transform_pathq  s     ..tY??r#   c                 ,    t        j                  |       S )aq  
        Class-aware wrapper for `::fz_trim_path()`.
        	Minimise the internal storage used by a path.

        	As paths are constructed, the internal buffers
        	grow. To avoid repeated reallocations they
        	grow with some spare space. Once a path has
        	been fully constructed, this call allows the
        	excess space to be trimmed.
        )r   FzPath_fz_trim_pathrV   s    r   fz_trim_pathzFzPath.fz_trim_pathq  rM8  r#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_walk_path()`.
        	Walk the segments of a path, calling the
        	appropriate callback function from a given set for each
        	segment of the path.

        	path: The path to walk.

        	walker: The set of callback functions to use. The first
        	4 callback pointers in the set must be non-NULL. The
        	subsequent ones can either be supplied, or can be left
        	as NULL, in which case the top 4 functions will be
        	called as appropriate to simulate them.

        	arg: An opaque argument passed in to each callback.

        	Exceptions will only be thrown if the underlying callback
        	functions throw them.
        )r   FzPath_fz_walk_path)r   r   r  s      r   fz_walk_pathzFzPath.fz_walk_pathq  s    ( ))$<<r#   c                 P    t        j                  | t        j                  |        y)aD  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_path()`.
        		Create a new (empty) path structure.


        |

        *Overload 2:*
         Copy constructor using `fz_keep_path()`.

        |

        *Overload 3:*
         Constructor using raw copy of pre-existing `::fz_path`.
        N)r   FzPath_swiginit
new_FzPathr   s     r   rS   zFzPath.__init__q  s    " 	tV%6%6%=>r#   c                 ,    t        j                  |       S r+  )r   FzPath_m_internal_valuerV   s    r   r+  zFzPath.m_internal_valueq  r+  r#   c                 ,    t        j                  |       S r-   )r   FzPath___nonzero__rV   s    r   r   zFzPath.__nonzero__q  r  r#   r+  N)$r   r   r6   r7   r   r   r   r   rF8  rI8  rL8  rP8  rS8  rV8  rY8  r]8  r`8  rc8  rh8  rk8  rn8  rq8  rt8  rS   r   delete_FzPathr   r+  r   r   FzPath_m_internal_getFzPath_m_internal_setr+  FzPath_s_num_instances_getFzPath_s_num_instances_setr+  r$   r#   r   r@8  r@8  p  s     -/IOdeGH>(1 03F*?&?(337="=.@0=,?$ ++4/H &668T8TZyzJv@@&BcBcdOr#   r@8  c                       e Zd ZdZ ed d d      ZeZddZe	j                  Zd Zd	 ZeZ ee	j                  e	j                   d
      Z ee	j$                  e	j&                        Zy)FzPathWalkerzFWrapper class for struct `fz_path_walker`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzPathWalker.<lambda>q  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzPathWalker.<lambda>q  rL   r#   rM   rN   Nc                 V    t        j                  | t        j                  |             y)z>Constructor using raw copy of pre-existing `::fz_path_walker`.N)r   FzPathWalker_swiginitnew_FzPathWalker)r   ri+  s     r   rS   zFzPathWalker.__init__q  s    $$T6+B+B8+LMr#   c                 ,    t        j                  |       S r+  )r   FzPathWalker_m_internal_valuerV   s    r   r+  zFzPathWalker.m_internal_valueq  rK,  r#   c                 ,    t        j                  |       S r-   )r   FzPathWalker___nonzero__rV   s    r   r   zFzPathWalker.__nonzero__q  r  r#   r+  r-   )r   r   r6   r7   r   r   r   r   rS   r   delete_FzPathWalkerr   r+  r   r   FzPathWalker_m_internal_getFzPathWalker_m_internal_setr+   FzPathWalker_s_num_instances_get FzPathWalker_s_num_instances_setr+  r$   r#   r   r8  r8  q  sz    Q-/IOdeGHN 11:5H &<<f>`>`  gF  GJvFFHoHopOr#   r8  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  ZddZddZdd	Zdd
ZddZddZddZddZd Zd Zd Zd Zd Zd Zd Zd Zd Zy)FzPathWalker2zrWrapper class for struct fz_path_walker with virtual fns for each fnptr; this is for use as a SWIG Director class.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzPathWalker2.<lambda>q  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzPathWalker2.<lambda>q  rL   r#   rM   rN   c                     | j                   t        k(  rd}n| }t        j                  | t        j                  |             yr/  )r   r8  r   FzPathWalker2_swiginitnew_FzPathWalker2r/  s     r   rS   zFzPathWalker2.__init__q  3    >>]*EE%%dF,D,DU,MNr#   c                 .    t        j                  | |      S r/  )r    FzPathWalker2_use_virtual_movetor/  s     r   use_virtual_movetoz FzPathWalker2.use_virtual_movetor  s    
 66tSAAr#   c                 .    t        j                  | |      S r-   )r    FzPathWalker2_use_virtual_linetor/  s     r   use_virtual_linetoz FzPathWalker2.use_virtual_linetor  r/  r#   c                 .    t        j                  | |      S r-   )r   !FzPathWalker2_use_virtual_curvetor/  s     r   use_virtual_curvetoz!FzPathWalker2.use_virtual_curvetor  r/  r#   c                 .    t        j                  | |      S r-   )r   #FzPathWalker2_use_virtual_closepathr/  s     r   use_virtual_closepathz#FzPathWalker2.use_virtual_closepathr  r/  r#   c                 .    t        j                  | |      S r-   )r    FzPathWalker2_use_virtual_quadtor/  s     r   use_virtual_quadtoz FzPathWalker2.use_virtual_quadtor  r/  r#   c                 .    t        j                  | |      S r-   )r   "FzPathWalker2_use_virtual_curvetovr/  s     r   use_virtual_curvetovz"FzPathWalker2.use_virtual_curvetovr  r/  r#   c                 .    t        j                  | |      S r-   )r   "FzPathWalker2_use_virtual_curvetoyr/  s     r   use_virtual_curvetoyz"FzPathWalker2.use_virtual_curvetoyr  r/  r#   c                 .    t        j                  | |      S r-   )r    FzPathWalker2_use_virtual_recttor/  s     r   use_virtual_recttoz FzPathWalker2.use_virtual_recttor  r/  r#   c                 2    t        j                  | |||      S r/  )r   FzPathWalker2_movetor0  s       r   r  zFzPathWalker2.moveto"r  s    **4uEEr#   c                 2    t        j                  | |||      S r-   )r   FzPathWalker2_linetor0  s       r   r  zFzPathWalker2.lineto&r  s    **4uEEr#   c           
      :    t        j                  | |||||||      S r-   )r   FzPathWalker2_curvetor0  s           r   r  zFzPathWalker2.curveto)r  r/0  r#   c                 .    t        j                  | |      S r-   )r   FzPathWalker2_closepathr/  s     r   r  zFzPathWalker2.closepath,r  r   r#   c                 6    t        j                  | |||||      S r-   )r   FzPathWalker2_quadtor0  s         r   r  zFzPathWalker2.quadto/r  r0  r#   c                 6    t        j                  | |||||      S r-   )r   FzPathWalker2_curvetovr0  s         r   r  zFzPathWalker2.curvetov2r      ,,T5%uUUr#   c                 6    t        j                  | |||||      S r-   )r   FzPathWalker2_curvetoyr0  s         r   r  zFzPathWalker2.curvetoy5r  r8  r#   c                 6    t        j                  | |||||      S r-   )r   FzPathWalker2_recttor0  s         r   r  zFzPathWalker2.rectto8r  r0  r#   c                     | j                   j                          t        j                  |        t	        j
                  |       S r-   )r
   rJ0  r   disown_FzPathWalker2rL0  rM0  rV   s    r   rN0  zFzPathWalker2.__disown__:r  /    		##D)}}T""r#   NrP0  )r   r   r6   r7   r   r   r   r   rS   r   delete_FzPathWalker2r   r8  r8  r8  r8  r8  r8  r8  r8  r  r  r  r  r  r  r  r  rN0  r$   r#   r   r8  r8  q  s    }-/IOdeGHO 22BBCEBDDBFFc;TVVT#r#   r8  c                       e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Zd Zd	 ZeZ ee
j                   e
j"                  d
      Z ee
j&                  e
j(                        Zy)FzPclOptionsz_
    Wrapper class for struct `fz_pcl_options`. Not copyable or assignable.
    PCL output
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzPclOptions.<lambda>Gr  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzPclOptions.<lambda>Gr  rL   r#   rM   rN   c                 .    t        j                  | |      S )ah  
        Class-aware wrapper for `::fz_pcl_preset()`.
        	Initialize PCL option struct for a given preset.

        	Currently defined presets include:

        		generic	Generic PCL printer
        		ljet4	HP DeskJet
        		dj500	HP DeskJet 500
        		fs600	Kyocera FS-600
        		lj	HP LaserJet, HP LaserJet Plus
        		lj2	HP LaserJet IIp, HP LaserJet IId
        		lj3	HP LaserJet III
        		lj3d	HP LaserJet IIId
        		lj4	HP LaserJet 4
        		lj4pl	HP LaserJet 4 PL
        		lj4d	HP LaserJet 4d
        		lp2563b	HP 2563B line printer
        		oce9050	Oce 9050 Line printer
        )r   FzPclOptions_fz_pcl_preset)r   r  s     r   fz_pcl_presetzFzPclOptions.fz_pcl_presetJr  s    * 00v>>r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_parse_pcl_options()`.
        		Parse PCL options.

        		Currently defined options and values are as follows:

        			preset=X	Either "generic" or one of the presets as for fz_pcl_preset.
        			spacing=0	No vertical spacing capability
        			spacing=1	PCL 3 spacing (<ESC>*p+<n>Y)
        			spacing=2	PCL 4 spacing (<ESC>*b<n>Y)
        			spacing=3	PCL 5 spacing (<ESC>*b<n>Y and clear seed row)
        			mode2		Disable/Enable mode 2 graphics compression
        			mode3		Disable/Enable mode 3 graphics compression
        			eog_reset	End of graphics (<ESC>*rB) resets all parameters
        			has_duplex	Duplex supported (<ESC>&l<duplex>S)
        			has_papersize	Papersize setting supported (<ESC>&l<sizecode>A)
        			has_copies	Number of copies supported (<ESC>&l<copies>X)
        			is_ljet4pjl	Disable/Enable HP 4PJL model-specific output
        			is_oce9050	Disable/Enable Oce 9050 model-specific output


        |

        *Overload 2:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 3:*
         Constructor using raw copy of pre-existing `::fz_pcl_options`.
        N)r   FzPclOptions_swiginitnew_FzPclOptionsr   s     r   rS   zFzPclOptions.__init__ar  s     B 	$$T6+B+BD+IJr#   c                 ,    t        j                  |       S r+  )r   FzPclOptions_m_internal_valuerV   s    r   r+  zFzPclOptions.m_internal_valuer  rK,  r#   c                 ,    t        j                  |       S r-   )r   FzPclOptions___nonzero__rV   s    r   r   zFzPclOptions.__nonzero__r  r  r#   r+  N)r   r   r6   r7   r   r   r   r   r8  rS   r   delete_FzPclOptionsr   r+  r   r   FzPclOptions_m_internal_getFzPclOptions_m_internal_setr+   FzPclOptions_s_num_instances_get FzPclOptions_s_num_instances_setr+  r$   r#   r   r8  r8  Ar  s    
 -/IOdeGH?.!KD 11:5H &<<f>`>`  gF  GJvFFHoHopOr#   r8  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzPclmOptionsza
    Wrapper class for struct `fz_pclm_options`. Not copyable or assignable.
    PCLm output
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzPclmOptions.<lambda>r  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzPclmOptions.<lambda>r  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)ar  
        *Overload 1:*
         == Constructors.  Constructor using `fz_parse_pclm_options()`.
        		Parse PCLm options.

        		Currently defined options and values are as follows:

        			compression=none: No compression
        			compression=flate: Flate compression
        			strip-height=n: Strip height (default 16)


        |

        *Overload 2:*
         Construct using fz_parse_pclm_options().

        |

        *Overload 3:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 4:*
         Constructor using raw copy of pre-existing `::fz_pclm_options`.
        N)r   FzPclmOptions_swiginitnew_FzPclmOptionsr   s     r   rS   zFzPclmOptions.__init__r  s    8 	%%dF,D,Dd,KLr#   c                 ,    t        j                  |       S r+  )r   FzPclmOptions_m_internal_valuerV   s    r   r+  zFzPclmOptions.m_internal_valuer  r0  r#   c                 ,    t        j                  |       S r-   )r   FzPclmOptions___nonzero__rV   s    r   r   zFzPclmOptions.__nonzero__r  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzPclmOptionsr   r+  r   r   FzPclmOptions_m_internal_getFzPclmOptions_m_internal_setr+  !FzPclmOptions_s_num_instances_get!FzPclmOptions_s_num_instances_setr+  r$   r#   r   r8  r8  r  s~    
 -/IOdeGHM: 22;6H &==v?b?b  iH  IJvGGIqIqrOr#   r8  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zej                  Z eej                   ej"                        Z eej&                  ej(                        Z eej,                  ej.                        Z eej2                  ej4                        Z eej8                  ej:                        Z eej>                  ej@                        Z! eejD                  ejF                        Z$ eejJ                  ejL                        Z' eejP                  ejR                        Z*d Z+d Z,d Z-y)FzPdfocrOptionszI
    Wrapper class for struct `fz_pdfocr_options`.
    PDFOCR output
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzPdfocrOptions.<lambda>r  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzPdfocrOptions.<lambda>r  rL   r#   rM   rN   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_parse_pdfocr_options()`.
        	Parse PDFOCR options.

        	Currently defined options and values are as follows:

        		compression=none: No compression
        		compression=flate: Flate compression
        		strip-height=n: Strip height (default 16)
        		ocr-language=<lang>: OCR Language (default eng)
        		ocr-datadir=<datadir>: OCR data path (default rely on TESSDATA_PREFIX)
        )r   'FzPdfocrOptions_fz_parse_pdfocr_optionsr   s     r   fz_parse_pdfocr_optionsz'FzPdfocrOptions.fz_parse_pdfocr_optionsr  s     ==dDIIr#   c                 .    t        j                  | |      S )z?Copies <language> into this->language, truncating if necessary.)r   FzPdfocrOptions_language_set2)r   r0	  s     r   language_set2zFzPdfocrOptions.language_set2r      33D(CCr#   c                 .    t        j                  | |      S )z=Copies <datadir> into this->datadir, truncating if necessary.)r   FzPdfocrOptions_datadir_set2)r   r  s     r   datadir_set2zFzPdfocrOptions.datadir_set2r      224AAr#   c                 P    t        j                  | t        j                  |        y)ag  
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_pdfocr_options`.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_pdfocr_options`.
        N)r   FzPdfocrOptions_swiginitnew_FzPdfocrOptionsr   s     r   rS   zFzPdfocrOptions.__init__r  s     	''f.H.H$.OPr#   c                 .    t        j                  | g| S rg+  )r   FzPdfocrOptions_internalr   s     r   ri+  zFzPdfocrOptions.internalr       ..t;d;;r#   c                 ,    t        j                  |       S rk+  )r   FzPdfocrOptions_to_stringrV   s    r   r[+  zFzPdfocrOptions.to_strings  r,  r#   c                 .    t        j                  | |      S ro+  )r   FzPdfocrOptions___eq__rq+  s     r   r}   zFzPdfocrOptions.__eq__s  r 5  r#   c                 .    t        j                  | |      S ro+  )r   FzPdfocrOptions___ne__rq+  s     r   r   zFzPdfocrOptions.__ne__s  r 5  r#   N).r   r   r6   r7   r   r   r   r   r8  r8  r8  rS   ri+  r   delete_FzPdfocrOptionsr   FzPdfocrOptions_compress_getFzPdfocrOptions_compress_setr   FzPdfocrOptions_strip_height_get FzPdfocrOptions_strip_height_setr  FzPdfocrOptions_language_getFzPdfocrOptions_language_setr0	  FzPdfocrOptions_datadir_getFzPdfocrOptions_datadir_setr   FzPdfocrOptions_skew_correct_get FzPdfocrOptions_skew_correct_setr  FzPdfocrOptions_skew_angle_getFzPdfocrOptions_skew_angle_setr  FzPdfocrOptions_skew_border_getFzPdfocrOptions_skew_border_setr  FzPdfocrOptions_page_count_getFzPdfocrOptions_page_count_setr  #FzPdfocrOptions_s_num_instances_get#FzPdfocrOptions_s_num_instances_setr+  r[+  r}   r   r$   r#   r   r8  r8  r  s1   
 -/IOdeGHJDBQ"
< 44;;V=`=`aHFCCVElElmL;;V=`=`aHv996;];]^GFCCVElElmL&??AfAfgJ6AA6CiCijK&??AfAfgJvII6KuKuvO688r#   r8  c                      e Zd ZdZ ed d d      ZeZed        Z	ed        Z
ed        Zed	        Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d Z"d  Z#d! Z$d" Z%d# Z&d$ Z'd% Z(d& Z)d' Z*d( Z+d) Z,d* Z-d+ Z.d, Z/d- Z0d. Z1d/ Z2d0 Z3d1 Z4d2 Z5d3 Z6d4 Z7d5 Z8d6 Z9d7 Z:d8 Z;d9 Z<d: Z=d; Z>d< Z?d= Z@d> ZAd? ZBd@ ZCdA ZDdB ZEdC ZFdD ZGdE ZHdF ZIdG ZJdH ZKdI ZLdJ ZMdK ZNdL ZOdM ZPdN ZQdO ZRdP ZSdQ ZTdR ZUdS ZVdT ZWdU ZXdV ZYdW ZZdX Z[dY Z\dZ Z]d[ Z^d\ Z_d] Z`d^ Zad_ Zbecj                  Zed` Zfda ZgegZh eecj                  ecj                  db      Zk eecj                  ecj                        Znyc)dFzPixmapa  
    Wrapper class for struct `fz_pixmap`.
    Pixmaps represent a set of pixels for a 2 dimensional region of
    a plane. Each pixel has n components per pixel. The components
    are in the order process-components, spot-colors, alpha, where
    there can be 0 of any of those types. The data is in
    premultiplied alpha when rendering, but non-premultiplied for
    colorspace conversions and rescaling.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzPixmap.<lambda>)s  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzPixmap.<lambda>)s  rL   r#   rM   rN   c                 6    t        j                  | |||||      S zBClass-aware wrapper for `::pdf_new_pixmap_from_page_with_usage()`.)r   ,FzPixmap_pdf_new_pixmap_from_page_with_usager'  s         r   #pdf_new_pixmap_from_page_with_usagez,FzPixmap.pdf_new_pixmap_from_page_with_usage,s  s"     BB4bRWY^`cddr#   c           	      8    t        j                  | ||||||      S zRClass-aware wrapper for `::pdf_new_pixmap_from_page_with_separations_and_usage()`.)r   <FzPixmap_pdf_new_pixmap_from_page_with_separations_and_usager'  s          r   3pdf_new_pixmap_from_page_with_separations_and_usagez<FzPixmap.pdf_new_pixmap_from_page_with_separations_and_usage1s  s(     RRSWY\^`bfhmotvyzzr#   c                 2    t        j                  | |||      S r8  )r   )FzPixmap_fz_new_pixmap_from_page_contentsr.  s       r   r8  z)FzPixmap.fz_new_pixmap_from_page_contents6s  s     ??c2uUUr#   c                 4    t        j                  | ||||      S r8  )r   :FzPixmap_fz_new_pixmap_from_page_contents_with_separationsr3  s        r   r8  z:FzPixmap.fz_new_pixmap_from_page_contents_with_separations@s  s"     PPQUWZ\^`dfkllr#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::fz_alpha_from_gray()`.)r   FzPixmap_fz_alpha_from_grayrV   s    r   fz_alpha_from_grayzFzPixmap.fz_alpha_from_grayEs  r,  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_clear_pixmap()`.
        	Sets all components (including alpha) of
        	all pixels in a pixmap to 0.

        	pix: The pixmap to clear.
        )r   FzPixmap_fz_clear_pixmaprV   s    r   fz_clear_pixmapzFzPixmap.fz_clear_pixmapIs  r-  r#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_clear_pixmap_rect_with_value()`.
        	Clears a subrect of a pixmap with the given value.

        	pix: The pixmap to clear.

        	value: Values in the range 0 to 255 are valid. Each component
        	sample for each pixel in the pixmap will be set to this value,
        	while alpha will always be set to 255 (non-transparent).

        	r: the rectangle.
        )r   (FzPixmap_fz_clear_pixmap_rect_with_value)r   r    r`  s      r   fz_clear_pixmap_rect_with_valuez(FzPixmap.fz_clear_pixmap_rect_with_valueSs  s     >>tUANNr#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_clear_pixmap_with_value()`.
        	Clears a pixmap with the given value.

        	pix: The pixmap to clear.

        	value: Values in the range 0 to 255 are valid. Each component
        	sample for each pixel in the pixmap will be set to this value,
        	while alpha will always be set to 255 (non-transparent).

        	This function is horrible, and should be removed from the
        	API and replaced with a less magic one.
        )r   #FzPixmap_fz_clear_pixmap_with_valuer   r    s     r   fz_clear_pixmap_with_valuez#FzPixmap.fz_clear_pixmap_with_valuebs  s     99$FFr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_clone_pixmap()`.
        	Clone a pixmap, copying the pixels and associated data to new
        	storage.

        	The reference count of 'old' is unchanged.
        )r   FzPixmap_fz_clone_pixmaprV   s    r   fz_clone_pixmapzFzPixmap.fz_clone_pixmaprs  r-  r#   c                 6    t        j                  | |||||      S zGClass-aware wrapper for `::fz_clone_pixmap_area_with_different_seps()`.)r   1FzPixmap_fz_clone_pixmap_area_with_different_seps)r   r  r  rI  r  r  s         r   (fz_clone_pixmap_area_with_different_sepsz1FzPixmap.fz_clone_pixmap_area_with_different_seps|s  s!    GGdTWY]_kmwxxr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_convert_indexed_pixmap_to_base()`.
        	Convert pixmap from indexed to base colorspace.

        	This creates a new bitmap containing the converted pixmap data.
        )r   *FzPixmap_fz_convert_indexed_pixmap_to_baserV   s    r   !fz_convert_indexed_pixmap_to_basez*FzPixmap.fz_convert_indexed_pixmap_to_bases  rN6  r#   c                 6    t        j                  | |||||      S )a   
        Class-aware wrapper for `::fz_convert_pixmap()`.
        	Convert an existing pixmap to a desired
        	colorspace. Other properties of the pixmap, such as resolution
        	and position are copied to the converted pixmap.

        	pix: The pixmap to convert.

        	default_cs: If NULL pix->colorspace is used. It is possible that
        	the data may need to be interpreted as one of the color spaces
        	in default_cs.

        	cs_des: Desired colorspace, may be NULL to denote alpha-only.

        	prf: Proofing color space through which we need to convert.

        	color_params: Parameters that may be used in conversion (e.g.
        	ri).

        	keep_alpha: If 0 any alpha component is removed, otherwise
        	alpha is kept if present in the pixmap.
        )r   FzPixmap_fz_convert_pixmap)r   r	  r
  r  r  r  s         r   fz_convert_pixmapzFzPixmap.fz_convert_pixmaps  s!    . 00vsJP\^hiir#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_convert_separation_pixmap_to_base()`.
        	Convert pixmap from DeviceN/Separation to base colorspace.

        	This creates a new bitmap containing the converted pixmap data.
        )r   -FzPixmap_fz_convert_separation_pixmap_to_baserV   s    r   $fz_convert_separation_pixmap_to_basez-FzPixmap.fz_convert_separation_pixmap_to_bases  r7  r#   c                 2    t        j                  | |||      S z2Class-aware wrapper for `::fz_copy_pixmap_rect()`.)r   FzPixmap_fz_copy_pixmap_rect)r   r  r`  r  s       r   fz_copy_pixmap_rectzFzPixmap.fz_copy_pixmap_rects  s    224aLLr#   c                 .    t        j                  | |      S z-Class-aware wrapper for `::fz_decode_tile()`.)r   FzPixmap_fz_decode_tile)r   r  s     r   fz_decode_tilezFzPixmap.fz_decode_tiles  r4  r#   c                 0    t        j                  | ||      S z/Class-aware wrapper for `::fz_deskew_pixmap()`.)r   FzPixmap_fz_deskew_pixmap)r   r  r  s      r   fz_deskew_pixmapzFzPixmap.fz_deskew_pixmaps  s    //gvFFr#   c                 2    t        j                  | |||      S )a&  
        Class-aware wrapper for `::fz_fill_pixmap_with_color()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_fill_pixmap_with_color(::fz_colorspace *colorspace, ::fz_color_params color_params)` => float color

        	Fill pixmap with solid color.
        )r   "FzPixmap_fz_fill_pixmap_with_color)r   r  r  r  s       r   fz_fill_pixmap_with_colorz"FzPixmap.fz_fill_pixmap_with_colors  s     88z5R^__r#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_gamma_pixmap()`.
        	Apply gamma correction to a pixmap. All components
        	of all pixels are modified (except alpha, which is unchanged).

        	gamma: The gamma value to apply; 1.0 for no change.
        )r   FzPixmap_fz_gamma_pixmap)r   r\  s     r   fz_gamma_pixmapzFzPixmap.fz_gamma_pixmaps  s     ..tU;;r#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_generate_transition()`.
        	Generate a frame of a transition.

        	tpix: Target pixmap
        	opix: Old pixmap
        	npix: New pixmap
        	time: Position within the transition (0 to 256)
        	trans: Transition details

        	Returns 1 if successfully generated a frame.

        	Note: Pixmaps must include alpha.
        )r   FzPixmap_fz_generate_transition)r   ra  rb  rc  rd  s        r   fz_generate_transitionzFzPixmap.fz_generate_transitions  s     55dD$eTTr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_invert_pixmap()`.
        	Invert all the pixels in a pixmap. All components (process and
        	spots) of all pixels are inverted (except alpha, which is
        	unchanged).
        )r   FzPixmap_fz_invert_pixmaprV   s    r   fz_invert_pixmapzFzPixmap.fz_invert_pixmaps  rt,  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_invert_pixmap_alpha()`.
        	Invert the alpha fo all the pixels in a pixmap.
        )r   FzPixmap_fz_invert_pixmap_alpharV   s    r   fz_invert_pixmap_alphazFzPixmap.fz_invert_pixmap_alphas  r-  r#   c                 ,    t        j                  |       S )a}  
        Class-aware wrapper for `::fz_invert_pixmap_luminance()`.
        	Transform the pixels in a pixmap so that luminance of each
        	pixel is inverted, and the chrominance remains unchanged (as
        	much as accuracy allows).

        	All components of all pixels are inverted (except alpha, which
        	is unchanged). Only supports Grey and RGB bitmaps.
        )r   #FzPixmap_fz_invert_pixmap_luminancerV   s    r   fz_invert_pixmap_luminancez#FzPixmap.fz_invert_pixmap_luminances  s     99$??r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_invert_pixmap_raw()`.
        	Invert all the pixels in a non-premultiplied pixmap in a
        	very naive manner.
        )r   FzPixmap_fz_invert_pixmap_rawrV   s    r   fz_invert_pixmap_rawzFzPixmap.fz_invert_pixmap_raws       33D99r#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_invert_pixmap_rect()`.
        	Invert all the pixels in a given rectangle of a (premultiplied)
        	pixmap. All components of all pixels in the rectangle are
        	inverted (except alpha, which is unchanged).
        )r   FzPixmap_fz_invert_pixmap_rectr5  s     r   fz_invert_pixmap_rectzFzPixmap.fz_invert_pixmap_rectt  s     44T4@@r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_is_pixmap_monochrome()`.
        	Check if the pixmap is a 1-channel image containing samples with
        	only values 0 and 255
        )r    FzPixmap_fz_is_pixmap_monochromerV   s    r   fz_is_pixmap_monochromez FzPixmap.fz_is_pixmap_monochrome
t  r<-  r#   c                 .    t        j                  | |      S z,Class-aware wrapper for `::fz_md5_pixmap()`.)r   FzPixmap_fz_md5_pixmapr%-  s     r   fz_md5_pixmapzFzPixmap.fz_md5_pixmapt      ,,T6::r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_md5_pixmap2()`.
        C++ alternative to `fz_md5_pixmap()` that returns the digest by value.
        )r   FzPixmap_fz_md5_pixmap2rV   s    r   fz_md5_pixmap2zFzPixmap.fz_md5_pixmap2t  rX-  r#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_new_bitmap_from_pixmap()`.
        	Make a bitmap from a pixmap and a halftone.

        	pix: The pixmap to generate from. Currently must be a single
        	color component with no alpha.

        	ht: The halftone to use. NULL implies the default halftone.

        	Returns the resultant bitmap. Throws exceptions in the case of
        	failure to allocate.
        )r   "FzPixmap_fz_new_bitmap_from_pixmap)r   r9  s     r   fz_new_bitmap_from_pixmapz"FzPixmap.fz_new_bitmap_from_pixmapt  s     88rBBr#   c                 0    t        j                  | ||      S )a]  
        Class-aware wrapper for `::fz_new_bitmap_from_pixmap_band()`.
        	Make a bitmap from a pixmap and a
        	halftone, allowing for the position of the pixmap within an
        	overall banded rendering.

        	pix: The pixmap to generate from. Currently must be a single
        	color component with no alpha.

        	ht: The halftone to use. NULL implies the default halftone.

        	band_start: Vertical offset within the overall banded rendering
        	(in pixels)

        	Returns the resultant bitmap. Throws exceptions in the case of
        	failure to allocate.
        )r   'FzPixmap_fz_new_bitmap_from_pixmap_band)r   r9  r  s      r   fz_new_bitmap_from_pixmap_bandz'FzPixmap.fz_new_bitmap_from_pixmap_band,t  s    $ ==dB
SSr#   c                 2    t        j                  | |||      S z@Class-aware wrapper for `::fz_new_buffer_from_pixmap_as_jpeg()`.)r   *FzPixmap_fz_new_buffer_from_pixmap_as_jpegr3  s       r   !fz_new_buffer_from_pixmap_as_jpegz*FzPixmap.fz_new_buffer_from_pixmap_as_jpeg@t  s    @@|U\^ijjr#   c                 0    t        j                  | ||      S z?Class-aware wrapper for `::fz_new_buffer_from_pixmap_as_jpx()`.)r   )FzPixmap_fz_new_buffer_from_pixmap_as_jpxr3  s      r    fz_new_buffer_from_pixmap_as_jpxz)FzPixmap.fz_new_buffer_from_pixmap_as_jpxDt  s    ??lT[\\r#   c                 .    t        j                  | |      S r,  )r   )FzPixmap_fz_new_buffer_from_pixmap_as_pamr3  s     r   r,  z)FzPixmap.fz_new_buffer_from_pixmap_as_pamHt      ??lSSr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_new_buffer_from_pixmap_as_png()`.
        	Reencode a given pixmap as a PNG into a buffer.

        	Ownership of the buffer is returned.
        )r   )FzPixmap_fz_new_buffer_from_pixmap_as_pngr3  s     r    fz_new_buffer_from_pixmap_as_pngz)FzPixmap.fz_new_buffer_from_pixmap_as_pngLt  s     ??lSSr#   c                 .    t        j                  | |      S r,  )r   )FzPixmap_fz_new_buffer_from_pixmap_as_pnmr3  s     r   r,  z)FzPixmap.fz_new_buffer_from_pixmap_as_pnmUt  r9  r#   c                 .    t        j                  | |      S r,  )r   )FzPixmap_fz_new_buffer_from_pixmap_as_psdr3  s     r   r,  z)FzPixmap.fz_new_buffer_from_pixmap_as_psdYt  r9  r#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_new_image_from_pixmap()`.
        	Create an image from the given
        	pixmap.

        	pixmap: The pixmap to base the image upon. A new reference
        	to this is taken.

        	mask: NULL, or another image to use as a mask for this one.
        	A new reference is taken to this image. Supplying a masked
        	image as a mask to another image is illegal!
        )r   !FzPixmap_fz_new_image_from_pixmapr   r  s     r   fz_new_image_from_pixmapz!FzPixmap.fz_new_image_from_pixmap]t  s     77dCCr#   c                 ,    t        j                  |       S z?Class-aware wrapper for `::fz_new_pixmap_from_alpha_channel()`.)r   )FzPixmap_fz_new_pixmap_from_alpha_channelrV   s    r    fz_new_pixmap_from_alpha_channelz)FzPixmap.fz_new_pixmap_from_alpha_channellt  r-  r#   c                 .    t        j                  | |      S z@Class-aware wrapper for `::fz_new_pixmap_from_color_and_mask()`.)r   *FzPixmap_fz_new_pixmap_from_color_and_maskr9  s     r   !fz_new_pixmap_from_color_and_maskz*FzPixmap.fz_new_pixmap_from_color_and_maskpt      @@tLLr#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_new_pixmap_from_pixmap()`.
        	Create a new pixmap that represents a subarea of the specified
        	pixmap. A reference is taken to this pixmap that will be dropped
        	on destruction.

        	The supplied rectangle must be wholly contained within the
        	original pixmap.

        	Returns a pointer to the new pixmap. Throws exception on failure
        	to allocate.
        )r   "FzPixmap_fz_new_pixmap_from_pixmapr5  s     r   fz_new_pixmap_from_pixmapz"FzPixmap.fz_new_pixmap_from_pixmaptt  s     88tDDr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_pixmap_alpha()`.
        	Return the number of alpha planes in a pixmap.

        	Returns the number of alphas. Does not throw exceptions.
        )r   FzPixmap_fz_pixmap_alpharV   s    r   fz_pixmap_alphazFzPixmap.fz_pixmap_alphat  rp,  r#   c                 ,    t        j                  |       S )zn
        Class-aware wrapper for `::fz_pixmap_bbox()`.
        	Return the bounding box for a pixmap.
        )r   FzPixmap_fz_pixmap_bboxrV   s    r   fz_pixmap_bboxzFzPixmap.fz_pixmap_bboxt  rX-  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_pixmap_colorants()`.
        	Return the number of colorants in a pixmap.

        	Returns the number of colorants (components, less any spots and
        	alpha).
        )r   FzPixmap_fz_pixmap_colorantsrV   s    r   fz_pixmap_colorantszFzPixmap.fz_pixmap_colorantst  s     22488r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_pixmap_colorspace()`.
        	Return the colorspace of a pixmap

        	Returns colorspace.
        )r   FzPixmap_fz_pixmap_colorspacerV   s    r   fz_pixmap_colorspacezFzPixmap.fz_pixmap_colorspacet       33D99r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_pixmap_components()`.
        	Return the number of components in a pixmap.

        	Returns the number of components (including spots and alpha).
        )r   FzPixmap_fz_pixmap_componentsrV   s    r   fz_pixmap_componentszFzPixmap.fz_pixmap_componentst  r9  r#   c                 ,    t        j                  |       S )zu
        Class-aware wrapper for `::fz_pixmap_height()`.
        	Return the height of the pixmap in pixels.
        )r   FzPixmap_fz_pixmap_heightrV   s    r   fz_pixmap_heightzFzPixmap.fz_pixmap_heightt  r4  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_pixmap_samples()`.
        	Returns a pointer to the pixel data of a pixmap.

        	Returns the pointer.
        )r   FzPixmap_fz_pixmap_samplesrV   s    r   fz_pixmap_sampleszFzPixmap.fz_pixmap_samplest  r0  r#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::fz_pixmap_samples_int()`.)r   FzPixmap_fz_pixmap_samples_intrV   s    r   fz_pixmap_samples_intzFzPixmap.fz_pixmap_samples_intt  r0  r#   c                 ,    t        j                  |       S )z}
        Class-aware wrapper for `::fz_pixmap_size()`.
        	Return sizeof fz_pixmap plus size of data, in bytes.
        )r   FzPixmap_fz_pixmap_sizerV   s    r   fz_pixmap_sizezFzPixmap.fz_pixmap_sizet  rX-  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_pixmap_spots()`.
        	Return the number of spots in a pixmap.

        	Returns the number of spots (components, less colorants and
        	alpha). Does not throw exceptions.
        )r   FzPixmap_fz_pixmap_spotsrV   s    r   fz_pixmap_spotszFzPixmap.fz_pixmap_spotst  r-  r#   c                 ,    t        j                  |       S )z}
        Class-aware wrapper for `::fz_pixmap_stride()`.
        	Return the number of bytes in a row in the pixmap.
        )r   FzPixmap_fz_pixmap_striderV   s    r   fz_pixmap_stridezFzPixmap.fz_pixmap_stridet  r4  r#   c                 ,    t        j                  |       S )zs
        Class-aware wrapper for `::fz_pixmap_width()`.
        	Return the width of the pixmap in pixels.
        )r   FzPixmap_fz_pixmap_widthrV   s    r   fz_pixmap_widthzFzPixmap.fz_pixmap_widtht  rX2  r#   c                 ,    t        j                  |       S )zq
        Class-aware wrapper for `::fz_pixmap_x()`.
        	Return the x value of the pixmap in pixels.
        )r   FzPixmap_fz_pixmap_xrV   s    r   fz_pixmap_xzFzPixmap.fz_pixmap_xt  r7  r#   c                 ,    t        j                  |       S )zq
        Class-aware wrapper for `::fz_pixmap_y()`.
        	Return the y value of the pixmap in pixels.
        )r   FzPixmap_fz_pixmap_yrV   s    r   fz_pixmap_yzFzPixmap.fz_pixmap_yt  r7  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_samples_get()`.
        Provides simple (but slow) access to pixmap data from Python and C#.
        )r   FzPixmap_fz_samples_getr   rb  s     r   fz_samples_getzFzPixmap.fz_samples_gett  s    
 --dF;;r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_samples_set()`.
        Provides simple (but slow) write access to pixmap data from Python and
        C#.
        )r   FzPixmap_fz_samples_set)r   rb  r    s      r   fz_samples_setzFzPixmap.fz_samples_sett  s     --dFEBBr#   c                 0    t        j                  | ||      S )zi
        Class-aware wrapper for `::fz_save_pixmap_as_jpeg()`.
        	Save a pixmap as a JPEG.
        )r   FzPixmap_fz_save_pixmap_as_jpeg)r   r  r  s      r   fz_save_pixmap_as_jpegzFzPixmap.fz_save_pixmap_as_jpegt  s    
 55dHgNNr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_save_pixmap_as_jpx()`.
        	Save pixmap data as JP2K with no subsampling.

        	quality = 100 = lossless
        	otherwise for a factor of x compression use 100-x. (so 80 is 1:20 compression)
        )r   FzPixmap_fz_save_pixmap_as_jpx)r   r  r&  s      r   fz_save_pixmap_as_jpxzFzPixmap.fz_save_pixmap_as_jpxu  s     44T8QGGr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_save_pixmap_as_pam()`.
        	Save a pixmap as a pnm (greyscale, rgb or cmyk, with or without
        	alpha).
        )r   FzPixmap_fz_save_pixmap_as_pamrw,  s     r   fz_save_pixmap_as_pamzFzPixmap.fz_save_pixmap_as_pamu  s     44T8DDr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_save_pixmap_as_pbm()`.
        	Save a pixmap as a pbm. (Performing halftoning).
        )r   FzPixmap_fz_save_pixmap_as_pbmrw,  s     r   fz_save_pixmap_as_pbmzFzPixmap.fz_save_pixmap_as_pbmu  ry,  r#   c                 2    t        j                  | |||      S )zr
        Class-aware wrapper for `::fz_save_pixmap_as_pcl()`.
        	Save an (RGB) pixmap as color PCL.
        )r   FzPixmap_fz_save_pixmap_as_pclr|,  s       r   fz_save_pixmap_as_pclzFzPixmap.fz_save_pixmap_as_pclu  r~,  r#   c                 2    t        j                  | |||      S )zz
        Class-aware wrapper for `::fz_save_pixmap_as_pclm()`.
        	Save a (Greyscale or RGB) pixmap as pclm.
        )r   FzPixmap_fz_save_pixmap_as_pclmr   r  r   r  s       r   fz_save_pixmap_as_pclmzFzPixmap.fz_save_pixmap_as_pclm&u  s    
 55dHfgVVr#   c                 2    t        j                  | |||      S )z~
        Class-aware wrapper for `::fz_save_pixmap_as_pdfocr()`.
        	Save a (Greyscale or RGB) pixmap as pdfocr.
        )r   !FzPixmap_fz_save_pixmap_as_pdfocrr9  s       r   fz_save_pixmap_as_pdfocrz!FzPixmap.fz_save_pixmap_as_pdfocr-u  s    
 77hPWXXr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_save_pixmap_as_pkm()`.
        	Save a CMYK pixmap as a pkm. (Performing halftoning).
        )r   FzPixmap_fz_save_pixmap_as_pkmrw,  s     r   fz_save_pixmap_as_pkmzFzPixmap.fz_save_pixmap_as_pkm4u  ry,  r#   c                 .    t        j                  | |      S )zz
        Class-aware wrapper for `::fz_save_pixmap_as_png()`.
        	Save a (Greyscale or RGB) pixmap as a png.
        )r   FzPixmap_fz_save_pixmap_as_pngrw,  s     r   fz_save_pixmap_as_pngzFzPixmap.fz_save_pixmap_as_png;u  ry,  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_save_pixmap_as_pnm()`.
        	Save a pixmap as a pnm (greyscale or rgb, no alpha).
        )r   FzPixmap_fz_save_pixmap_as_pnmrw,  s     r   fz_save_pixmap_as_pnmzFzPixmap.fz_save_pixmap_as_pnmBu  ry,  r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_save_pixmap_as_ps()`.
        	Save a (gray, rgb, or cmyk, no alpha) pixmap out as postscript.
        )r   FzPixmap_fz_save_pixmap_as_ps)r   r  r   s      r   fz_save_pixmap_as_pszFzPixmap.fz_save_pixmap_as_psIu  s    
 33D(FKKr#   c                 .    t        j                  | |      S )zl
        Class-aware wrapper for `::fz_save_pixmap_as_psd()`.
        	Save a pixmap as a PSD file.
        )r   FzPixmap_fz_save_pixmap_as_psdrw,  s     r   fz_save_pixmap_as_psdzFzPixmap.fz_save_pixmap_as_psdPu  ry,  r#   c                 2    t        j                  | |||      S )zg
        Class-aware wrapper for `::fz_save_pixmap_as_pwg()`.
        	Save a pixmap as a PWG.
        )r   FzPixmap_fz_save_pixmap_as_pwgr,  s       r   fz_save_pixmap_as_pwgzFzPixmap.fz_save_pixmap_as_pwgWu  r~,  r#   c                 6    t        j                  | |||||      S z.Class-aware wrapper for `::fz_scale_pixmap()`.)r   FzPixmap_fz_scale_pixmap)r   rF   r  r7  r:  r  s         r   fz_scale_pixmapzFzPixmap.fz_scale_pixmap^u  s    ..tQ1aFFr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_set_pixmap_resolution()`.
        	Set the pixels per inch resolution of the pixmap.
        )r   !FzPixmap_fz_set_pixmap_resolutionr3  s      r   fz_set_pixmap_resolutionz!FzPixmap.fz_set_pixmap_resolutionbu  s    
 77dDIIr#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::fz_skew_detect()`.)r   FzPixmap_fz_skew_detectrV   s    r   fz_skew_detectzFzPixmap.fz_skew_detectiu  r+  r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::fz_subsample_pixmap()`.)r   FzPixmap_fz_subsample_pixmap)r   rJ   s     r   fz_subsample_pixmapzFzPixmap.fz_subsample_pixmapmu  s    224@@r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_tint_pixmap()`.
        	Tint all the pixels in an RGB, BGR, or Gray pixmap.

        	black: Map black to this hexadecimal RGB color.

        	white: Map white to this hexadecimal RGB color.
        )r   FzPixmap_fz_tint_pixmap)r   rf   rg   s      r   fz_tint_pixmapzFzPixmap.fz_tint_pixmapqu  s     --dE5AAr#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_pixmap()`.
        		Create a new pixmap, with its origin at (0,0)

        		cs: The colorspace to use for the pixmap, or NULL for an alpha
        		plane/mask.

        		w: The width of the pixmap (in pixels)

        		h: The height of the pixmap (in pixels)

        		seps: Details of separations.

        		alpha: 0 for no alpha, 1 for alpha.

        		Returns a pointer to the new pixmap. Throws exception on failure
        		to allocate.


        |

        *Overload 2:*
         Constructor using `fz_new_pixmap_from_color_and_mask()`.

        |

        *Overload 3:*
         Constructor using `fz_new_pixmap_from_display_list()`.
        		Render the page to a pixmap using the transform and colorspace.

        		Ownership of the pixmap is returned to the caller.


        |

        *Overload 4:*
         Constructor using `fz_new_pixmap_from_display_list_with_separations()`.
        		Render the page contents with control over spot colors.

        		Ownership of the pixmap is returned to the caller.


        |

        *Overload 5:*
         Constructor using `fz_new_pixmap_from_page()`.

        |

        *Overload 6:*
         Constructor using `fz_new_pixmap_from_page_number()`.

        |

        *Overload 7:*
         Constructor using `fz_new_pixmap_from_page_number_with_separations()`.

        |

        *Overload 8:*
         Constructor using `fz_new_pixmap_from_page_with_separations()`.

        |

        *Overload 9:*
         Constructor using `fz_new_pixmap_from_pixmap()`.
        		Create a new pixmap that represents a subarea of the specified
        		pixmap. A reference is taken to this pixmap that will be dropped
        		on destruction.

        		The supplied rectangle must be wholly contained within the
        		original pixmap.

        		Returns a pointer to the new pixmap. Throws exception on failure
        		to allocate.


        |

        *Overload 10:*
         Constructor using `fz_new_pixmap_with_bbox()`.
        		Create a pixmap of a given size, location and pixel format.

        		The bounding box specifies the size of the created pixmap and
        		where it will be located. The colorspace determines the number
        		of components per pixel. Alpha is always present. Pixmaps are
        		reference counted, so drop references using fz_drop_pixmap.

        		colorspace: Colorspace format used for the created pixmap. The
        		pixmap will keep a reference to the colorspace.

        		bbox: Bounding box specifying location/size of created pixmap.

        		seps: Details of separations.

        		alpha: 0 for no alpha, 1 for alpha.

        		Returns a pointer to the new pixmap. Throws exception on failure
        		to allocate.


        |

        *Overload 11:*
         Constructor using `fz_new_pixmap_with_bbox_and_data()`.
        		Create a pixmap of a given size, location and pixel format,
        		using the supplied data block.

        		The bounding box specifies the size of the created pixmap and
        		where it will be located. The colorspace determines the number
        		of components per pixel. Alpha is always present. Pixmaps are
        		reference counted, so drop references using fz_drop_pixmap.

        		colorspace: Colorspace format used for the created pixmap. The
        		pixmap will keep a reference to the colorspace.

        		rect: Bounding box specifying location/size of created pixmap.

        		seps: Details of separations.

        		alpha: Number of alpha planes (0 or 1).

        		samples: The data block to keep the samples in.

        		Returns a pointer to the new pixmap. Throws exception on failure
        		to allocate.


        |

        *Overload 12:*
         Constructor using `fz_new_pixmap_with_data()`.
        		Create a new pixmap, with its origin at
        		(0,0) using the supplied data block.

        		cs: The colorspace to use for the pixmap, or NULL for an alpha
        		plane/mask.

        		w: The width of the pixmap (in pixels)

        		h: The height of the pixmap (in pixels)

        		seps: Details of separations.

        		alpha: 0 for no alpha, 1 for alpha.

        		stride: The byte offset from the pixel data in a row to the
        		pixel data in the next row.

        		samples: The data block to keep the samples in.

        		Returns a pointer to the new pixmap. Throws exception on failure to
        		allocate.


        |

        *Overload 13:*
         Constructor using `pdf_new_pixmap_from_annot()`.

        |

        *Overload 14:*
         Constructor using `pdf_new_pixmap_from_page_contents_with_separations_and_usage()`.

        |

        *Overload 15:*
         Constructor using `pdf_new_pixmap_from_page_contents_with_usage()`.

        |

        *Overload 16:*
         Copy constructor using `fz_keep_pixmap()`.

        |

        *Overload 17:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 18:*
         Constructor using raw copy of pre-existing `::fz_pixmap`.
        N)r   FzPixmap_swiginitnew_FzPixmapr   s     r   rS   zFzPixmap.__init__|u  s     v 	  v':':D'ABr#   c                 ,    t        j                  |       S r-   )r   FzPixmap_storablerV   s    r   r  zFzPixmap.storable9v  r   r#   c                 ,    t        j                  |       S r-   )r   
FzPixmap_xrV   s    r   rF   z
FzPixmap.x<v  r,  r#   c                 ,    t        j                  |       S r-   )r   
FzPixmap_yrV   s    r   r  z
FzPixmap.y?v  r,  r#   c                 ,    t        j                  |       S r-   )r   
FzPixmap_wrV   s    r   r7  z
FzPixmap.wBv  r,  r#   c                 ,    t        j                  |       S r-   )r   
FzPixmap_hrV   s    r   r:  z
FzPixmap.hEv  r,  r#   c                 ,    t        j                  |       S r-   )r   
FzPixmap_nrV   s    r   r[   z
FzPixmap.nHv  r,  r#   c                 ,    t        j                  |       S r-   )r   
FzPixmap_srV   s    r   r<  z
FzPixmap.sKv  r,  r#   c                 ,    t        j                  |       S r-   )r   FzPixmap_alpharV   s    r   rA  zFzPixmap.alphaNv  r   r#   c                 ,    t        j                  |       S r-   )r   FzPixmap_flagsrV   s    r   r"  zFzPixmap.flagsQv  r   r#   c                 ,    t        j                  |       S r-   )r   FzPixmap_striderV   s    r   rF  zFzPixmap.strideTv  r   r#   c                 ,    t        j                  |       S r-   )r   FzPixmap_sepsrV   s    r   rI  zFzPixmap.sepsWv  r   r#   c                 ,    t        j                  |       S r-   )r   FzPixmap_xresrV   s    r   rL  zFzPixmap.xresZv  r   r#   c                 ,    t        j                  |       S r-   )r   FzPixmap_yresrV   s    r   rO  zFzPixmap.yres]v  r   r#   c                 ,    t        j                  |       S r-   )r   FzPixmap_colorspacerV   s    r   r  zFzPixmap.colorspace`v  rl   r#   c                 ,    t        j                  |       S r-   )r   FzPixmap_samplesrV   s    r   rT  zFzPixmap.samplescv  r   r#   c                 ,    t        j                  |       S r-   )r   FzPixmap_underlyingrV   s    r   rW  zFzPixmap.underlyingfv  rl   r#   c                 ,    t        j                  |       S r+  )r   FzPixmap_m_internal_valuerV   s    r   r+  zFzPixmap.m_internal_valuejv  r,  r#   c                 ,    t        j                  |       S r-   )r   FzPixmap___nonzero__rV   s    r   r   zFzPixmap.__nonzero__nv  rW   r#   r+  N)or   r   r6   r7   r   r   r   r   r   r9  r"9  r8  r8  r*9  r-9  r09  r49  r79  r;9  r>9  rA9  rD9  rH9  rL9  rP9  rS9  rV9  rY9  r\9  r_9  rb9  re9  ri9  rl9  rp9  rt9  rw9  rz9  r~9  r9  r,  r9  r,  r,  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r:  r:  r	:  rS   r  rF   r  r7  r:  r[   r<  rA  r"  rF  rI  rL  rO  r  rT  rW  r   delete_FzPixmapr   r+  r   r   FzPixmap_m_internal_getFzPixmap_m_internal_setr+  FzPixmap_s_num_instances_getFzPixmap_s_num_instances_setr+  r$   r#   r   r9  r9  s  s    -/IOdeGHe e { { V V m m85OG 5yGj2JM<G	`<U"6<
@:A=;4CT(k]TTTTDFME549::67;456511<COHEERWYEEELERGJ4A	B{Cz.''''''++,***0-0--61H &88&:X:X^}~JvBBFDgDghOr#   r9  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
ej                  Zd	 Zd
 ZeZ eej"                  ej$                  d      Z eej(                  ej*                        Zy)FzPixmapImagezGWrapper class for struct `fz_pixmap_image`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzPixmapImage.<lambda>{v  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzPixmapImage.<lambda>{v  rL   r#   rM   rN   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_pixmap_image_tile()`.
        	Retrieve the underlying fz_pixmap for an image.

        	Returns a pointer to the underlying fz_pixmap for an image,
        	or NULL if this image is not based upon an fz_pixmap.

        	No reference is returned. Lifespan is limited to that of
        	the image itself. If required, use fz_keep_pixmap to take
        	a reference to keep it longer.
        )r   "FzPixmapImage_fz_pixmap_image_tilerV   s    r   fz_pixmap_image_tilez"FzPixmapImage.fz_pixmap_image_tile~v  rl3  r#   c                 .    t        j                  | |      S z7Class-aware wrapper for `::fz_set_pixmap_image_tile()`.)r   &FzPixmapImage_fz_set_pixmap_image_tile)r   r\  s     r   fz_set_pixmap_image_tilez&FzPixmapImage.fz_set_pixmap_image_tilev      <<T3GGr#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_pixmap_image`.
        N)r   FzPixmapImage_swiginitnew_FzPixmapImager   s     r   rS   zFzPixmapImage.__init__v  r2  r#   c                 ,    t        j                  |       S r+  )r   FzPixmapImage_m_internal_valuerV   s    r   r+  zFzPixmapImage.m_internal_valuev  r0  r#   c                 ,    t        j                  |       S r-   )r   FzPixmapImage___nonzero__rV   s    r   r   zFzPixmapImage.__nonzero__v  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   r<:  r@:  rS   r   delete_FzPixmapImager   r+  r   r   FzPixmapImage_m_internal_getFzPixmapImage_m_internal_setr+  !FzPixmapImage_s_num_instances_get!FzPixmapImage_s_num_instances_setr+  r$   r#   r   r7:  r7:  xv  s    R-/IOdeGH?H
M 22;6H &==v?b?b  iH  IJvGGIqIqrOr#   r7:  c                   L   e Zd ZdZ ed d d      ZeZed        Z	d Z
d Zd	 Zd
 Zd Zd Zd Zd Zd Zej(                  Z eej,                  ej.                        Z eej2                  ej4                        Z eej8                  ej:                        Zd Zd Z d Z!y)FzPointzb
    Wrapper class for struct `fz_point`.
    fz_point is a point in a two-dimensional space.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzPoint.<lambda>v  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzPoint.<lambda>v  rL   r#   rM   rN   c                 0    t        j                  | ||      S z4Class-aware wrapper for `::fz_transform_point_xy()`.)r   FzPoint_fz_transform_point_xyr{   s      r   fz_transform_point_xyzFzPoint.fz_transform_point_xyv  s     33Aq!<<r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::fz_detect_document()`.)r   FzPoint_fz_detect_documentr5  s     r   fz_detect_documentzFzPoint.fz_detect_documentv      00s;;r#   c                 .    t        j                  | |      S )zk
        Class-aware wrapper for `::fz_is_point_inside_quad()`.
        	Inclusion test for quads.
        )r   FzPoint_fz_is_point_inside_quadr   r&  s     r   fz_is_point_inside_quadzFzPoint.fz_is_point_inside_quadv  s    
 55dA>>r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_is_point_inside_rect()`.
        	Inclusion test for rects. (Rect is assumed to be open, i.e.
        	top right corner is not included).
        )r   FzPoint_fz_is_point_inside_rect)r   r`  s     r   fz_is_point_inside_rectzFzPoint.fz_is_point_inside_rectv  s     55dA>>r#   c                 ,    t        j                  |       S )zo
        Class-aware wrapper for `::fz_normalize_vector()`.
        	Normalize a vector to length one.
        )r   FzPoint_fz_normalize_vectorrV   s    r   fz_normalize_vectorzFzPoint.fz_normalize_vectorv  r6  r#   c                 .    t        j                  | g| S )a  
        *Overload 1:*
         Class-aware wrapper for `::fz_transform_point()`.
        		Apply a transformation to a point.

        		transform: Transformation matrix to apply. See fz_concat,
        		fz_scale, fz_rotate and fz_translate for how to create a
        		matrix.

        		point: Pointer to point to update.

        		Returns transform (unchanged).


        |

        *Overload 2:*
         Class-aware wrapper for `::fz_transform_point()`.
        		Apply a transformation to a point.

        		transform: Transformation matrix to apply. See fz_concat,
        		fz_scale, fz_rotate and fz_translate for how to create a
        		matrix.

        		point: Pointer to point to update.

        		Returns transform (unchanged).
        )r   FzPoint_fz_transform_pointr   s     r   fz_transform_pointzFzPoint.fz_transform_pointv  s    : 00===r#   c                 .    t        j                  | g| S )a  
        *Overload 1:*
         Class-aware wrapper for `::fz_transform_vector()`.
        		Apply a transformation to a vector.

        		transform: Transformation matrix to apply. See fz_concat,
        		fz_scale and fz_rotate for how to create a matrix. Any
        		translation will be ignored.

        		vector: Pointer to vector to update.


        |

        *Overload 2:*
         Class-aware wrapper for `::fz_transform_vector()`.
        		Apply a transformation to a vector.

        		transform: Transformation matrix to apply. See fz_concat,
        		fz_scale and fz_rotate for how to create a matrix. Any
        		translation will be ignored.

        		vector: Pointer to vector to update.
        )r   FzPoint_fz_transform_vectorr   s     r   fz_transform_vectorzFzPoint.fz_transform_vectorv  s    2 11$>>>r#   c                 .    t        j                  | |      S )z,Post-multiply *this by <m> and return *this.)r   FzPoint_transformr   rW	  s     r   r  zFzPoint.transformw      ''a00r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        Construct using specified values.

        |

        *Overload 2:*
        We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_point`.

        |

        *Overload 4:*
        Constructor using raw copy of pre-existing `::fz_point`.
        N)r   FzPoint_swiginitnew_FzPointr   s     r   rS   zFzPoint.__init__w      ( 	f&8&8$&?@r#   c                 .    t        j                  | g| S rg+  )r   FzPoint_internalr   s     r   ri+  zFzPoint.internal'w  r4  r#   c                 ,    t        j                  |       S rk+  )r   FzPoint_to_stringrV   s    r   r[+  zFzPoint.to_string7w  r4  r#   c                 .    t        j                  | |      S ro+  )r   FzPoint___eq__rq+  s     r   r}   zFzPoint.__eq__;w  r4  r#   c                 .    t        j                  | |      S ro+  )r   FzPoint___ne__rq+  s     r   r   zFzPoint.__ne__?w  r4  r#   N)"r   r   r6   r7   r   r   r   r   r   rU:  rY:  r^:  ra:  rd:  rg:  rj:  r  rS   ri+  r   delete_FzPointr   FzPoint_x_getFzPoint_x_setrF   FzPoint_y_getFzPoint_y_setr  FzPoint_s_num_instances_getFzPoint_s_num_instances_setr+  r[+  r}   r   r$   r#   r   rO:  rO:  v  s    
 -/IOdeGH= =<??8>>?61A,
4 ,,%%v';';<A%%v';';<AvAA6CeCefO.00r#   rO:  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zej                  Zd Zd ZeZ eej&                  ej(                  d      Z eej,                  ej.                        Zy)FzPoolz
    Wrapper class for struct `fz_pool`. Not copyable or assignable.
    Simple pool allocators.

    Allocate from the pool, which can then be freed at once.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzPool.<lambda>Mw  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzPool.<lambda>Mw  rL   r#   rM   rN   c                 .    t        j                  | |      S )zu
        Class-aware wrapper for `::fz_pool_alloc()`.
        	Allocate a block of size bytes from the pool.
        )r   FzPool_fz_pool_allocr   r   s     r   fz_pool_alloczFzPool.fz_pool_allocPw  s    
 **466r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_pool_size()`.
        	The current size of the pool.

        	The number of bytes of storage currently allocated to the pool.
        	This is the total of the storage used for the blocks making
        	up the pool, rather then total of the allocated blocks so far,
        	so it will increase in 'lumps'.
        	from the pool, then the pool size may still be X
        )r   FzPool_fz_pool_sizerV   s    r   fz_pool_sizezFzPool.fz_pool_sizeWw  rM8  r#   c                 .    t        j                  | |      S )zt
        Class-aware wrapper for `::fz_pool_strdup()`.
        	strdup equivalent allocating from the pool.
        )r   FzPool_fz_pool_strduprN7  s     r   fz_pool_strdupzFzPool.fz_pool_strdupdw  s    
 ++D!44r#   c                 2    t        j                  | |||      S )zi
        Class-aware wrapper for `::fz_xml_add_att()`.
        	Add an attribute to an XML node.
        )r   FzPool_fz_xml_add_att)r   r  rk  r  s       r   fz_xml_add_attzFzPool.fz_xml_add_attkw  s    
 ++D$SAAr#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_pool()`.
        		Create a new pool to allocate from.


        |

        *Overload 2:*
         Constructor using raw copy of pre-existing `::fz_pool`.
        N)r   FzPool_swiginit
new_FzPoolr   s     r   rS   zFzPool.__init__rw  s     	tV%6%6%=>r#   c                 ,    t        j                  |       S r+  )r   FzPool_m_internal_valuerV   s    r   r+  zFzPool.m_internal_valuew  r+  r#   c                 ,    t        j                  |       S r-   )r   FzPool___nonzero__rV   s    r   r   zFzPool.__nonzero__w  r  r#   r+  N)r   r   r6   r7   r   r   r   r   r:  r:  r:  r:  rS   r   delete_FzPoolr   r+  r   r   FzPool_m_internal_getFzPool_m_internal_setr+  FzPool_s_num_instances_getFzPool_s_num_instances_setr+  r$   r#   r   r:  r:  Ew  s     -/IOdeGH705B? ++4/H &668T8TZyzJv@@&BcBcdOr#   r:  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zej                  Zd
 Zd ZeZ eej$                  ej&                  d      Z eej*                  ej,                        Zy)	FzPtrHeapzCWrapper class for struct `fz_ptr_heap`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzPtrHeap.<lambda>w  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzPtrHeap.<lambda>w  rL   r#   rM   rN   c                 0    t        j                  | ||      S z1Class-aware wrapper for `::fz_ptr_heap_insert()`.)r   FzPtrHeap_fz_ptr_heap_insert)r   rK   r*  s      r   fz_ptr_heap_insertzFzPtrHeap.fz_ptr_heap_insertw  s    224HEEr#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::fz_ptr_heap_sort()`.)r   FzPtrHeap_fz_ptr_heap_sortr   r*  s     r   fz_ptr_heap_sortzFzPtrHeap.fz_ptr_heap_sortw      00x@@r#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::fz_ptr_heap_uniq()`.)r   FzPtrHeap_fz_ptr_heap_uniqr:  s     r   fz_ptr_heap_uniqzFzPtrHeap.fz_ptr_heap_uniqw  r:  r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_ptr_heap`.
        N)r   FzPtrHeap_swiginitnew_FzPtrHeapr   s     r   rS   zFzPtrHeap.__init__w  r>4  r#   c                 ,    t        j                  |       S r+  )r   FzPtrHeap_m_internal_valuerV   s    r   r+  zFzPtrHeap.m_internal_valuew  r,  r#   c                 ,    t        j                  |       S r-   )r   FzPtrHeap___nonzero__rV   s    r   r   zFzPtrHeap.__nonzero__w  r\  r#   r+  N)r   r   r6   r7   r   r   r   r   r:  r:  r:  rS   r   delete_FzPtrHeapr   r+  r   r   FzPtrHeap_m_internal_getFzPtrHeap_m_internal_setr+  FzPtrHeap_s_num_instances_getFzPtrHeap_s_num_instances_setr+  r$   r#   r   r:  r:  w  s    N-/IOdeGHFAA
E ..72H &996;Z;Z`  AJvCCVEiEijOr#   r:  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'e(jR                  Z* ee(jV                  e(jX                        Z- ee(j\                  e(j^                  d&      Z0d' Z1d( Z2d) Z3y*)+FzPwgOptionsz*Wrapper class for struct `fz_pwg_options`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzPwgOptions.<lambda>w  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzPwgOptions.<lambda>w  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_pwg_options`.
        N)r   FzPwgOptions_swiginitnew_FzPwgOptionsr   s     r   rS   zFzPwgOptions.__init__w  r2  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_media_classrV   s    r   r  zFzPwgOptions.media_classw  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_media_colorrV   s    r   r  zFzPwgOptions.media_colorw  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_media_typerV   s    r   r  zFzPwgOptions.media_typew  rs   r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_output_typerV   s    r   r  zFzPwgOptions.output_typew  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_advance_distancerV   s    r   r  zFzPwgOptions.advance_distancew  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_advance_mediarV   s    r   r  zFzPwgOptions.advance_mediaw  rX  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_collaterV   s    r   r  zFzPwgOptions.collatew  rW   r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_cut_mediarV   s    r   r  zFzPwgOptions.cut_mediaw  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_duplexrV   s    r   r  zFzPwgOptions.duplexw  rl   r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_insert_sheetrV   s    r   r  zFzPwgOptions.insert_sheetw  r0  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_jogrV   s    r   r  zFzPwgOptions.jogw  r   r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_leading_edgerV   s    r   r  zFzPwgOptions.leading_edgew  r0  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_manual_feedrV   s    r   r  zFzPwgOptions.manual_feedw  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_media_positionrV   s    r   r  zFzPwgOptions.media_positionw  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_media_weightrV   s    r   r  zFzPwgOptions.media_weightw  r0  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_mirror_printrV   s    r   r  zFzPwgOptions.mirror_printw  r0  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_negative_printrV   s    r   r  zFzPwgOptions.negative_printw  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_num_copiesrV   s    r   r  zFzPwgOptions.num_copiesx  rs   r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_orientationrV   s    r   r  zFzPwgOptions.orientationx  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_output_face_uprV   s    r   r  zFzPwgOptions.output_face_upx  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_PageSizerV   s    r   r   zFzPwgOptions.PageSize
x  r\  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_separationsrV   s    r   r  zFzPwgOptions.separationsx  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_tray_switchrV   s    r   r%  zFzPwgOptions.tray_switchx  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_tumblerV   s    r   r  zFzPwgOptions.tumblex  rl   r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_media_type_numrV   s    r   r*  zFzPwgOptions.media_type_numx  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_compressionrV   s    r   r-  zFzPwgOptions.compressionx  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_row_countrV   s    r   r0  zFzPwgOptions.row_countx  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_row_feedrV   s    r   r3  zFzPwgOptions.row_feedx  r\  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_row_steprV   s    r   r6  zFzPwgOptions.row_step"x  r\  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_rendering_intentrV   s    r   r9  zFzPwgOptions.rendering_intent%x  r  r#   c                 ,    t        j                  |       S r-   )r   FzPwgOptions_page_size_namerV   s    r   r<  zFzPwgOptions.page_size_name(x  r  r#   r.  c                 ,    t        j                  |       S rk+  )r   FzPwgOptions_to_stringrV   s    r   r[+  zFzPwgOptions.to_string.x  r+  r#   c                 .    t        j                  | |      S ro+  )r   FzPwgOptions___eq__rq+  s     r   r}   zFzPwgOptions.__eq__2x      ))$44r#   c                 .    t        j                  | |      S ro+  )r   FzPwgOptions___ne__rq+  s     r   r   zFzPwgOptions.__ne__6x  r;  r#   N)4r   r   r6   r7   r   r   r   r   rS   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r%  r  r*  r-  r0  r3  r6  r9  r<  r   delete_FzPwgOptionsr   FzPwgOptions_m_internal_getFzPwgOptions_m_internal_setr+   FzPwgOptions_s_num_instances_get FzPwgOptions_s_num_instances_setr+  r[+  r}   r   r$   r#   r   r:  r:  w  s   5-/IOdeGH
K5545:71306-658668458255085322:811&<<f>`>`aJvFFHoHo  v[  \O355r#   r:  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zej$                  Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z"d Z#d Z$d Z%y)FzQuadz
    Wrapper class for struct `fz_quad`.
    A representation for a region defined by 4 points.

    The significant difference between quads and rects is that
    the edges of quads are not axis aligned.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzQuad.<lambda>Ex  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzQuad.<lambda>Ex  rL   r#   rM   rN   c                 ,    t        j                  |       S )z[
        Class-aware wrapper for `::fz_is_empty_quad()`.
        	Is a quad empty?
        )r   FzQuad_fz_is_empty_quadrV   s    r   fz_is_empty_quadzFzQuad.fz_is_empty_quadHx  rX-  r#   c                 ,    t        j                  |       S )za
        Class-aware wrapper for `::fz_is_infinite_quad()`.
        	Is a quad infinite?
        )r   FzQuad_fz_is_infinite_quadrV   s    r   fz_is_infinite_quadzFzQuad.fz_is_infinite_quadOx  rd8  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_is_quad_inside_quad()`.
        	Inclusion test for quad in quad.

        	This may break down if quads are not 'well formed'.
        )r   FzQuad_fz_is_quad_inside_quad)r   rW  s     r   fz_is_quad_inside_quadzFzQuad.fz_is_quad_inside_quadVx  s     33D(CCr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_is_quad_intersecting_quad()`.
        	Intersection test for quads.

        	This may break down if quads are not 'well formed'.
        )r   #FzQuad_fz_is_quad_intersecting_quadr4  s     r   fz_is_quad_intersecting_quadz#FzQuad.fz_is_quad_intersecting_quad_x  r-  r#   c                 ,    t        j                  |       S )z[
        Class-aware wrapper for `::fz_is_valid_quad()`.
        	Is a quad valid?
        )r   FzQuad_fz_is_valid_quadrV   s    r   fz_is_valid_quadzFzQuad.fz_is_valid_quadhx  rX-  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_rect_from_quad()`.
        	Convert a quad to the smallest rect that covers it.
        )r   FzQuad_fz_rect_from_quadrV   s    r   fz_rect_from_quadzFzQuad.fz_rect_from_quadox  rX2  r#   c                 .    t        j                  | |      S )zi
        Class-aware wrapper for `::fz_transform_quad()`.
        	Transform a quad by a matrix.
        )r   FzQuad_fz_transform_quadrm:  s     r   fz_transform_quadzFzQuad.fz_transform_quadvx  rP7  r#   c                 P    t        j                  | t        j                  |        y)ak  
        *Overload 1:*
         == Constructors.  Constructor using `fz_quad_from_rect()`.
        		Convert a rect to a quad (losslessly).


        |

        *Overload 2:*
         Constructor using `fz_transform_quad()`.
        		Transform a quad by a matrix.


        |

        *Overload 3:*
         We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 4:*
         Constructor using raw copy of pre-existing `::fz_quad`.

        |

        *Overload 5:*
         Constructor using raw copy of pre-existing `::fz_quad`.
        N)r   FzQuad_swiginit
new_FzQuadr   s     r   rS   zFzQuad.__init__}x  s    : 	tV%6%6%=>r#   c                 .    t        j                  | g| S rg+  )r   FzQuad_internalr   s     r   ri+  zFzQuad.internalx       %%d2T22r#   c                 ,    t        j                  |       S rk+  )r   FzQuad_to_stringrV   s    r   r[+  zFzQuad.to_stringx      &&t,,r#   c                 .    t        j                  | |      S ro+  )r   FzQuad___eq__rq+  s     r   r}   zFzQuad.__eq__x      ##D#..r#   c                 .    t        j                  | |      S ro+  )r   FzQuad___ne__rq+  s     r   r   zFzQuad.__ne__x  r2;  r#   N)&r   r   r6   r7   r   r   r   r   r;  r;  r;  r;  r ;  r#;  r&;  rS   ri+  r   delete_FzQuadr   FzQuad_ul_getFzQuad_ul_setr  FzQuad_ur_getFzQuad_ur_setr  FzQuad_ll_getFzQuad_ll_setr  FzQuad_lr_getFzQuad_lr_setr  FzQuad_s_num_instances_getFzQuad_s_num_instances_setr+  r[+  r}   r   r$   r#   r   r;  r;  <x  s     -/IOdeGH47DC458?>
3 ++	&&&(<(<	=B	&&&(<(<	=B	&&&(<(<	=B	&&&(<(<	=Bv@@&BcBcdO-//r#   r;  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzRangez@Wrapper class for struct `fz_range`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzRange.<lambda>x  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzRange.<lambda>x  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_range`.
        N)r   FzRange_swiginitnew_FzRanger   s     r   rS   zFzRange.__init__x       	f&8&8$&?@r#   c                 ,    t        j                  |       S r+  )r   FzRange_m_internal_valuerV   s    r   r+  zFzRange.m_internal_valuex  r8/  r#   c                 ,    t        j                  |       S r-   )r   FzRange___nonzero__rV   s    r   r   zFzRange.__nonzero__x  rl   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzRanger   r+  r   r   FzRange_m_internal_getFzRange_m_internal_setr+  FzRange_s_num_instances_getFzRange_s_num_instances_setr+  r$   r#   r   rA;  rA;  x  s    K-/IOdeGH
A ,,50H &779V9V\{|JvAA6CeCefOr#   rA;  c                   X   e Zd ZdZ ed d d      ZeZej                  Z
ej                  Zej                  Zd Zd Zd Zd	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d Z"d Z#d Z$d Z%d Z&d Z'ejP                  Z) eejT                  ejV                        Z, eejZ                  ej\                        Z/ eej`                  ejb                        Z2 eejf                  ejh                        Z5 eejl                  ejn                        Z8d Z9d  Z:d! Z;y")#FzRectz#Wrapper class for struct `fz_rect`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzRect.<lambda>x  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzRect.<lambda>x  rL   r#   rM   rN   c                 0    t        j                  | ||      S )a1  
        Class-aware wrapper for `::fz_adjust_rect_for_stroke()`.
        	Given a rectangle (assumed to be the bounding box for a path),
        	expand it to allow for the expansion of the bbox that would be
        	seen by stroking the path with the given stroke state and
        	transform.
        )r    FzRect_fz_adjust_rect_for_strokerE8  s      r   fz_adjust_rect_for_strokez FzRect.fz_adjust_rect_for_strokex  s     66tVSIIr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_contains_rect()`.
        	Test rectangle inclusion.

        	Return true if a entirely contains b.
        )r   FzRect_fz_contains_rectr4  s     r   fz_contains_rectzFzRect.fz_contains_rectx  s     --dA66r#   c                 .    t        j                  | |      S )z{
        Class-aware wrapper for `::fz_expand_rect()`.
        	Expand a bbox by a given amount in all directions.
        )r   FzRect_fz_expand_rectr~4  s     r   fz_expand_rectzFzRect.fz_expand_rectx  r\2  r#   c                 .    t        j                  | |      S )a>  
        Class-aware wrapper for `::fz_include_point_in_rect()`.
        	Expand a bbox to include a given point.
        	To create a rectangle that encompasses a sequence of points, the
        	rectangle must first be set to be the empty rectangle at one of
        	the points before including the others.
        )r   FzRect_fz_include_point_in_rectr0  s     r   fz_include_point_in_rectzFzRect.fz_include_point_in_rect y  s     55dA>>r#   c                 .    t        j                  | g| S )a  
        *Overload 1:*
         Class-aware wrapper for `::fz_intersect_rect()`.
        		Compute intersection of two rectangles.

        		Given two rectangles, update the first to be the smallest
        		axis-aligned rectangle that covers the area covered by both
        		given rectangles. If either rectangle is empty then the
        		intersection is also empty. If either rectangle is infinite
        		then the intersection is simply the non-infinite rectangle.
        		Should both rectangles be infinite, then the intersection is
        		also infinite.


        |

        *Overload 2:*
         Class-aware wrapper for `::fz_intersect_rect()`.
        		Compute intersection of two rectangles.

        		Given two rectangles, update the first to be the smallest
        		axis-aligned rectangle that covers the area covered by both
        		given rectangles. If either rectangle is empty then the
        		intersection is also empty. If either rectangle is infinite
        		then the intersection is simply the non-infinite rectangle.
        		Should both rectangles be infinite, then the intersection is
        		also infinite.
        )r   FzRect_fz_intersect_rectr   s     r   fz_intersect_rectzFzRect.fz_intersect_rect
y  s    : ..t;d;;r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_irect_from_rect()`.
        	Convert a rect into the minimal bounding box
        	that covers the rectangle.

        	Coordinates in a bounding box are integers, so rounding of the
        	rects coordinates takes place. The top left corner is rounded
        	upwards and left while the bottom right corner is rounded
        	downwards and to the right.
        )r   FzRect_fz_irect_from_rectrV   s    r   fz_irect_from_rectzFzRect.fz_irect_from_rect)y  r5  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_is_empty_rect()`.
        	Check if rectangle is empty.

        	An empty rectangle is defined as one whose area is zero.
        	All invalid rectangles are empty.
        )r   FzRect_fz_is_empty_rectrV   s    r   fz_is_empty_rectzFzRect.fz_is_empty_rect6y       --d33r#   c                 ,    t        j                  |       S )zm
        Class-aware wrapper for `::fz_is_infinite_rect()`.
        	Check if rectangle is infinite.
        )r   FzRect_fz_is_infinite_rectrV   s    r   fz_is_infinite_rectzFzRect.fz_is_infinite_rect@y  rd8  r#   c                 ,    t        j                  |       S )zg
        Class-aware wrapper for `::fz_is_valid_rect()`.
        	Check if rectangle is valid.
        )r   FzRect_fz_is_valid_rectrV   s    r   fz_is_valid_rectzFzRect.fz_is_valid_rectGy  rX-  r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_new_bbox_device()`.
        	Create a device to compute the bounding
        	box of all marks on a page.

        	The returned bounding box will be the union of all bounding
        	boxes of all objects on a page.
        )r   FzRect_fz_new_bbox_devicerV   s    r   fz_new_bbox_devicezFzRect.fz_new_bbox_deviceNy  s     //55r#   c                 ,    t        j                  |       S )aJ  
        Class-aware wrapper for `::fz_new_display_list()`.
        	Create an empty display list.

        	A display list contains drawing commands (text, images, etc.).
        	Use fz_new_list_device for populating the list.

        	mediabox: Bounds of the page (in points) represented by the
        	display list.
        )r   FzRect_fz_new_display_listrV   s    r   fz_new_display_listzFzRect.fz_new_display_listYy  s     0066r#   c                 ,    t        j                  |       S )zr
        Class-aware wrapper for `::fz_quad_from_rect()`.
        	Convert a rect to a quad (losslessly).
        )r   FzRect_fz_quad_from_rectrV   s    r   fz_quad_from_rectzFzRect.fz_quad_from_rectfy  rX2  r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_round_rect()`.
        	Round rectangle coordinates.

        	Coordinates in a bounding box are integers, so rounding of the
        	rects coordinates takes place. The top left corner is rounded
        	upwards and left while the bottom right corner is rounded
        	downwards and to the right.

        	This differs from fz_irect_from_rect, in that fz_irect_from_rect
        	slavishly follows the numbers (i.e any slight over/under
        	calculations can cause whole extra pixels to be added).
        	fz_round_rect allows for a small amount of rounding error when
        	calculating the bbox.
        )r   FzRect_fz_round_rectrV   s    r   fz_round_rectzFzRect.fz_round_rectmy  s      **400r#   c                 0    t        j                  | ||      S r5  )r   FzRect_fz_transform_page)r   rq   r
  s      r   r5  zFzRect.fz_transform_pagey  s     ..tZHHr#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_transform_rect()`.
        	Apply a transform to a rectangle.

        	After the four corner points of the axis-aligned rectangle
        	have been transformed it may not longer be axis-aligned. So a
        	new axis-aligned rectangle is created covering at least the
        	area of the transformed rectangle.

        	transform: Transformation matrix to apply. See fz_concat,
        	fz_scale and fz_rotate for how to create a matrix.

        	rect: Rectangle to be transformed. The two special cases
        	fz_empty_rect and fz_infinite_rect, may be used but are
        	returned unchanged as expected.
        )r   FzRect_fz_transform_rectrm:  s     r   fz_transform_rectzFzRect.fz_transform_recty  s    " ..tQ77r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_translate_rect()`.
        	Translate bounding box.

        	Translate a bbox by a given x and y offset. Allows for overflow.
        )r   FzRect_fz_translate_rectr4  s      r   fz_translate_rectzFzRect.fz_translate_recty  s     ..tT4@@r#   c                 .    t        j                  | g| S )a  
        *Overload 1:*
         Class-aware wrapper for `::fz_union_rect()`.
        		Compute union of two rectangles.

        		Given two rectangles, update the first to be the smallest
        		axis-aligned rectangle that encompasses both given rectangles.
        		If either rectangle is infinite then the union is also infinite.
        		If either rectangle is empty then the union is simply the
        		non-empty rectangle. Should both rectangles be empty, then the
        		union is also empty.


        |

        *Overload 2:*
         Class-aware wrapper for `::fz_union_rect()`.
        		Compute union of two rectangles.

        		Given two rectangles, update the first to be the smallest
        		axis-aligned rectangle that encompasses both given rectangles.
        		If either rectangle is infinite then the union is also infinite.
        		If either rectangle is empty then the union is simply the
        		non-empty rectangle. Should both rectangles be empty, then the
        		union is also empty.
        )r   FzRect_fz_union_rectr   s     r   fz_union_rectzFzRect.fz_union_recty  s    6 **47$77r#   c                 6    t        j                  | |||||      S z>Class-aware wrapper for `::pdf_signature_appearance_signed()`.)r   &FzRect_pdf_signature_appearance_signed)r   r(  r*  r*  r*  r*  s         r   pdf_signature_appearance_signedz&FzRect.pdf_signature_appearance_signedy  s    <<T4iYceqrrr#   c                 .    t        j                  | |      S z@Class-aware wrapper for `::pdf_signature_appearance_unsigned()`.)r   (FzRect_pdf_signature_appearance_unsignedr   r(  s     r   !pdf_signature_appearance_unsignedz(FzRect.pdf_signature_appearance_unsignedy      >>tTJJr#   c                 .    t        j                  | |      S )z4Transforms *this using fz_transform_rect() with <m>.)r   FzRect_transformrm:  s     r   r  zFzRect.transformy  s    &&tQ//r#   c                 .    t        j                  | g| S )z
        *Overload 1:*
        Convenience method using fz_contains_rect().

        |

        *Overload 2:*
        Uses fz_contains_rect(*this, rhs).
        )r   FzRect_containsr   s     r   containszFzRect.containsy  r,;  r#   c                 ,    t        j                  |       S )zUses fz_is_empty_rect().)r   FzRect_is_emptyrV   s    r   is_emptyzFzRect.is_emptyy  r5  r#   c                 .    t        j                  | |      S )z$Updates *this using fz_union_rect().)r   FzRect_union_rq+  s     r   union_zFzRect.union_y  r2;  r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_bound_display_list()`.
        		Return the bounding box of the page recorded in a display list.


        |

        *Overload 2:*
         Constructor using `fz_rect_from_irect()`.
        		Convert a bbox into a rect.

        		For our purposes, a rect can represent all the values we meet in
        		a bbox, so nothing can go wrong.

        		rect: A place to store the generated rectangle.

        		bbox: The bbox to convert.

        		Returns rect (updated).


        |

        *Overload 3:*
         Constructor using `fz_rect_from_quad()`.
        		Convert a quad to the smallest rect that covers it.


        |

        *Overload 4:*
         Constructor using `fz_transform_rect()`.
        		Apply a transform to a rectangle.

        		After the four corner points of the axis-aligned rectangle
        		have been transformed it may not longer be axis-aligned. So a
        		new axis-aligned rectangle is created covering at least the
        		area of the transformed rectangle.

        		transform: Transformation matrix to apply. See fz_concat,
        		fz_scale and fz_rotate for how to create a matrix.

        		rect: Rectangle to be transformed. The two special cases
        		fz_empty_rect and fz_infinite_rect, may be used but are
        		returned unchanged as expected.


        |

        *Overload 5:*
         Construct from specified values.

        |

        *Overload 6:*
         Copy constructor using plain copy.

        |

        *Overload 7:*
         Construct from fz_unit_rect, fz_empty_rect or fz_infinite_rect.

        |

        *Overload 8:*
         We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 9:*
         Constructor using raw copy of pre-existing `::fz_rect`.

        |

        *Overload 10:*
         Constructor using raw copy of pre-existing `::fz_rect`.
        N)r   FzRect_swiginit
new_FzRectr   s     r   rS   zFzRect.__init__y  s     ^ 	tV%6%6%=>r#   c                 .    t        j                  | g| S rg+  )r   FzRect_internalr   s     r   ri+  zFzRect.internal3z  r,;  r#   c                 ,    t        j                  |       S rk+  )r   FzRect_to_stringrV   s    r   r[+  zFzRect.to_stringEz  r/;  r#   c                 .    t        j                  | |      S ro+  )r   FzRect___eq__rq+  s     r   r}   zFzRect.__eq__Iz  r2;  r#   c                 .    t        j                  | |      S ro+  )r   FzRect___ne__rq+  s     r   r   zFzRect.__ne__Mz  r2;  r#   N)<r   r   r6   r7   r   r   r   r   r   FzRect_Fixed_UNIT
Fixed_UNITFzRect_Fixed_EMPTYFixed_EMPTYFzRect_Fixed_INFINITEFixed_INFINITErX;  r[;  r^;  ra;  rd;  rg;  rj;  rn;  rq;  rt;  rw;  rz;  r};  r5  r;  r;  r;  r;  r;  r  r;  r;  r;  rS   ri+  delete_FzRectr   FzRect_x0_getFzRect_x0_setr  FzRect_y0_getFzRect_y0_setr  FzRect_x1_getFzRect_x1_setr  FzRect_y1_getFzRect_y1_setr  FzRect_s_num_instances_getFzRect_s_num_instances_setr+  r[+  r}   r   r$   r#   r   rS;  rS;  x  sU   .-/IOdeGH))J++K11NJ7:?<>6474	6751$I8&A8:sK0
3,/O?b
3 ++	&&&(<(<	=B	&&&(<(<	=B	&&&(<(<	=B	&&&(<(<	=Bv@@&BcBcdO-//r#   rS;  c                   
   e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zej&                  Zd Zd ZeZ eej0                  ej2                  d      Z eej6                  ej8                        Zy)FzSeparationsz*Wrapper class for struct `fz_separations`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzSeparations.<lambda>Vz  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzSeparations.<lambda>Vz  rL   r#   rM   rN   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::fz_add_separation()`.
        	Add a separation (null terminated name, colorspace)
        )r   FzSeparations_fz_add_separation)r   r   rM  rN  s       r   fz_add_separationzFzSeparations.fz_add_separationYz  s    
 55dD"jQQr#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::fz_add_separation_equivalents()`.
        	Add a separation with equivalents (null terminated name,
        	colorspace)

        	(old, deprecated)
        )r   +FzSeparations_fz_add_separation_equivalents)r   rR  r  r   s       r   fz_add_separation_equivalentsz+FzSeparations.fz_add_separation_equivalents`z  s     AA$dTXYYr#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_clone_separations_for_overprint()`.
        	Return a separations object with all the spots in the input
        	separations object that are set to composite, reset to be
        	enabled. If there ARE no spots in the object, this returns
        	NULL. If the object already has all its spots enabled, then
        	just returns another handle on the same object.
        )r   0FzSeparations_fz_clone_separations_for_overprintrV   s    r   "fz_clone_separations_for_overprintz0FzSeparations.fz_clone_separations_for_overprintjz  s     FFtLLr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_compare_separations()`.
        	Compare 2 separations structures (or NULLs).

        	Return 0 if identical, non-zero if not identical.
        )r   $FzSeparations_fz_compare_separations)r   r  s     r   fz_compare_separationsz$FzSeparations.fz_compare_separationsuz  s     ::4FFr#   c                 ,    t        j                  |       S )z~
        Class-aware wrapper for `::fz_count_active_separations()`.
        	Return the number of active separations.
        )r   )FzSeparations_fz_count_active_separationsrV   s    r   fz_count_active_separationsz)FzSeparations.fz_count_active_separations~z  r-  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::fz_count_separations()`.)r   "FzSeparations_fz_count_separationsrV   s    r   fz_count_separationsz"FzSeparations.fz_count_separationsz  r-  r#   c                 6    t        j                  | |||||      S )a`  
        Class-aware wrapper for `::fz_separation_equivalent()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_separation_equivalent(int idx, ::fz_colorspace *dst_cs, ::fz_colorspace *prf, ::fz_color_params color_params)` => float dst_color

        	Get the equivalent separation color in a given colorspace.
        )r   &FzSeparations_fz_separation_equivalent)r   r  r  r  r
  r  s         r   fz_separation_equivalentz&FzSeparations.fz_separation_equivalentz  s"     <<T3PY[^`lmmr#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::fz_separation_name()`.)r    FzSeparations_fz_separation_name)r   rc  s     r   fz_separation_namez FzSeparations.fz_separation_namez  s    66tZHHr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_set_separation_behavior()`.
        	Control the rendering of a given separation.
        )r   (FzSeparations_fz_set_separation_behavior)r   rc  r  s      r   fz_set_separation_behaviorz(FzSeparations.fz_set_separation_behaviorz  s    
 >>tZQYZZr#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_separations()`.
        		Create a new separations structure (initially empty)


        |

        *Overload 2:*
         Copy constructor using `fz_keep_separations()`.

        |

        *Overload 3:*
         Constructor using raw copy of pre-existing `::fz_separations`.

        |

        *Overload 4:*
         Constructor using raw copy of pre-existing `::fz_separations`.
        N)r   FzSeparations_swiginitnew_FzSeparationsr   s     r   rS   zFzSeparations.__init__z  r1  r#   c                 ,    t        j                  |       S r+  )r   FzSeparations_m_internal_valuerV   s    r   r+  zFzSeparations.m_internal_valuez  r0  r#   c                 ,    t        j                  |       S r-   )r   FzSeparations___nonzero__rV   s    r   r   zFzSeparations.__nonzero__z  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   r;  r;  r;  r;  r;  r;  r;  r;  r;  rS   r   delete_FzSeparationsr   r+  r   r   FzSeparations_m_internal_getFzSeparations_m_internal_setr+  !FzSeparations_s_num_instances_get!FzSeparations_s_num_instances_setr+  r$   r#   r   r;  r;  Sz  s    5-/IOdeGHRZ	MGF?	nI[M. 22;6H &==v?b?b  iH  IJvGGIqIqrOr#   r;  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zej                  Zd
 Zd ZeZ eej$                  ej&                  d      Z eej*                  ej,                        Zy)FzSha256z
    Wrapper class for struct `fz_sha256`. Not copyable or assignable.
    Structure definition is public to enable stack
    based allocation. Do not access the members directly.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzSha256.<lambda>z  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzSha256.<lambda>z  rL   r#   rM   rN   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_sha256_final()`.
        	MD5 finalization. Ends an MD5 message-digest operation, writing
        	the message digest and zeroizing the context.

        	Never throws an exception.
        )r   FzSha256_fz_sha256_finalr%-  s     r   fz_sha256_finalzFzSha256.fz_sha256_finalz       ..tV<<r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_sha256_init()`.
        	SHA256 initialization. Begins an SHA256 operation, initialising
        	the supplied context.

        	Never throws an exception.
        )r   FzSha256_fz_sha256_initrV   s    r   fz_sha256_initzFzSha256.fz_sha256_initz  rk;  r#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_sha256_update()`.
        	SHA256 block update operation. Continues an SHA256 message-
        	digest operation, processing another message block, and updating
        	the context.

        	Never throws an exception.
        )r   FzSha256_fz_sha256_updater5  s      r   fz_sha256_updatezFzSha256.fz_sha256_updatez       //eUCCr#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_sha256`.
        N)r   FzSha256_swiginitnew_FzSha256r   s     r   rS   zFzSha256.__init__z  rO4  r#   c                 ,    t        j                  |       S r+  )r   FzSha256_m_internal_valuerV   s    r   r+  zFzSha256.m_internal_valuez  r,  r#   c                 ,    t        j                  |       S r-   )r   FzSha256___nonzero__rV   s    r   r   zFzSha256.__nonzero__ {  rW   r#   r+  N)r   r   r6   r7   r   r   r   r   r;  r;  r;  rS   r   delete_FzSha256r   r+  r   r   FzSha256_m_internal_getFzSha256_m_internal_setr+  FzSha256_s_num_instances_getFzSha256_s_num_instances_setr+  r$   r#   r   r;  r;  z  s     -/IOdeGH=4	D
C --61H &88&:X:X^}~JvBBFDgDghOr#   r;  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzSha384zAWrapper class for struct `fz_sha384`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzSha384.<lambda>{  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzSha384.<lambda>{  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_sha384`.
        N)r   FzSha384_swiginitnew_FzSha384r   s     r   rS   zFzSha384.__init__{  rO4  r#   c                 ,    t        j                  |       S r+  )r   FzSha384_m_internal_valuerV   s    r   r+  zFzSha384.m_internal_value{  r,  r#   c                 ,    t        j                  |       S r-   )r   FzSha384___nonzero__rV   s    r   r   zFzSha384.__nonzero__!{  rW   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzSha384r   r+  r   r   FzSha384_m_internal_getFzSha384_m_internal_setr+  FzSha384_s_num_instances_getFzSha384_s_num_instances_setr+  r$   r#   r   r<  r<  
{  rY4  r#   r<  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zej                   Zd Zd ZeZ eej*                  ej,                  d      Z eej0                  ej2                        Zy)FzSha512z
    Wrapper class for struct `fz_sha512`. Not copyable or assignable.
    Structure definition is public to enable stack
    based allocation. Do not access the members directly.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzSha512.<lambda>2{  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzSha512.<lambda>2{  rL   r#   rM   rN   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_sha384_final()`.
        	SHA384 finalization. Ends an SHA384 message-digest operation,
        	writing the message digest and zeroizing the context.

        	Never throws an exception.
        )r   FzSha512_fz_sha384_finalr%-  s     r   fz_sha384_finalzFzSha512.fz_sha384_final5{  r;  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_sha384_init()`.
        	SHA384 initialization. Begins an SHA384 operation, initialising
        	the supplied context.

        	Never throws an exception.
        )r   FzSha512_fz_sha384_initrV   s    r   fz_sha384_initzFzSha512.fz_sha384_init?{  rk;  r#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_sha384_update()`.
        	SHA384 block update operation. Continues an SHA384 message-
        	digest operation, processing another message block, and updating
        	the context.

        	Never throws an exception.
        )r   FzSha512_fz_sha384_updater5  s      r   fz_sha384_updatezFzSha512.fz_sha384_updateI{  r;  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_sha512_final()`.
        	SHA512 finalization. Ends an SHA512 message-digest operation,
        	writing the message digest and zeroizing the context.

        	Never throws an exception.
        )r   FzSha512_fz_sha512_finalr%-  s     r   fz_sha512_finalzFzSha512.fz_sha512_finalT{  r;  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_sha512_init()`.
        	SHA512 initialization. Begins an SHA512 operation, initialising
        	the supplied context.

        	Never throws an exception.
        )r   FzSha512_fz_sha512_initrV   s    r   fz_sha512_initzFzSha512.fz_sha512_init^{  rk;  r#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_sha512_update()`.
        	SHA512 block update operation. Continues an SHA512 message-
        	digest operation, processing another message block, and updating
        	the context.

        	Never throws an exception.
        )r   FzSha512_fz_sha512_updater5  s      r   fz_sha512_updatezFzSha512.fz_sha512_updateh{  r;  r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_sha512`.
        N)r   FzSha512_swiginitnew_FzSha512r   s     r   rS   zFzSha512.__init__s{  rO4  r#   c                 ,    t        j                  |       S r+  )r   FzSha512_m_internal_valuerV   s    r   r+  zFzSha512.m_internal_value{  r,  r#   c                 ,    t        j                  |       S r-   )r   FzSha512___nonzero__rV   s    r   r   zFzSha512.__nonzero__{  rW   r#   r+  N)r   r   r6   r7   r   r   r   r   r<  r<  r<  r!<  r$<  r'<  rS   r   delete_FzSha512r   r+  r   r   FzSha512_m_internal_getFzSha512_m_internal_setr+  FzSha512_s_num_instances_getFzSha512_s_num_instances_setr+  r$   r#   r   r<  r<  +{  s     -/IOdeGH=4	D=4	D
C --61H &88&:X:X^}~JvBBFDgDghOr#   r<  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zej                  Zd Zd ZeZ eej&                  ej(                  d      Z eej,                  ej.                        Zy)FzShadez
    Wrapper class for struct `fz_shade`.
    Structure is public to allow derived classes. Do not
    access the members directly.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzShade.<lambda>{  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzShade.<lambda>{  rL   r#   rM   rN   c                 .    t        j                  | |      S )aB  
        Class-aware wrapper for `::fz_bound_shade()`.
        	Bound a given shading.

        	shade: The shade to bound.

        	ctm: The transform to apply to the shade before bounding.

        	r: Pointer to storage to put the bounds in.

        	Returns r, updated to contain the bounds for the shading.
        )r   FzShade_fz_bound_shade)r   rW  s     r   fz_bound_shadezFzShade.fz_bound_shade{  s     ,,T377r#   c           
      :    t        j                  | |||||||      S )a  
        Class-aware wrapper for `::fz_paint_shade()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_paint_shade(::fz_colorspace *override_cs, ::fz_matrix ctm, ::fz_pixmap *dest, ::fz_color_params color_params, ::fz_irect bbox, const ::fz_overprint *eop, ::fz_shade_color_cache **cache)` =>

        	Render a shade to a given pixmap.

        	shade: The shade to paint.

        	override_cs: NULL, or colorspace to override the shades
        	inbuilt colorspace.

        	ctm: The transform to apply.

        	dest: The pixmap to render into.

        	color_params: The color rendering settings

        	bbox: Pointer to a bounding box to limit the rendering
        	of the shade.

        	eop: NULL, or pointer to overprint bitmap.

        	cache: *cache is used to cache color information. If *cache is NULL it
        	is set to point to a new fz_shade_color_cache. If cache is NULL it is
        	ignored.
        )r   FzShade_fz_paint_shader   r  rW  r  r  r  r  r  s           r   fz_paint_shadezFzShade.fz_paint_shade{  s&    : ,,T;T<Y]_bdijjr#   c                 6    t        j                  | |||||      S )a?  
        Class-aware wrapper for `::fz_process_shade()`.
        	Process a shade, using supplied callback functions. This
        	decomposes the shading to a mesh (even ones that are not
        	natively meshes, such as linear or radial shadings), and
        	processes triangles from those meshes.

        	shade: The shade to process.

        	ctm: The transform to use

        	prepare: Callback function to 'prepare' each vertex.
        	This function is passed an array of floats, and populates
        	a fz_vertex structure.

        	process: This function is passed 3 pointers to vertex
        	structures, and actually performs the processing (typically
        	filling the area between the vertexes).

        	process_arg: An opaque argument passed through from caller
        	to callback functions.
        )r   FzShade_fz_process_shade)r   rW  rh	  r$  r%  r&  s         r   fz_process_shadezFzShade.fz_process_shade{  s     . ..tS'7GU`aar#   c           	      8    t        j                  | ||||||      S )z7Extra wrapper for fz_paint_shade(), passing cache=NULL.)r   FzShade_fz_paint_shade_no_cache)r   r  rW  r  r  r  r  s          r   fz_paint_shade_no_cachezFzShade.fz_paint_shade_no_cache{  s"    55dKdT`bfhkllr#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        Copy constructor using `fz_keep_shade()`.

        |

        *Overload 2:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_shade`.
        N)r   FzShade_swiginitnew_FzShader   s     r   rS   zFzShade.__init__{  r3  r#   c                 ,    t        j                  |       S r+  )r   FzShade_m_internal_valuerV   s    r   r+  zFzShade.m_internal_value{  r8/  r#   c                 ,    t        j                  |       S r-   )r   FzShade___nonzero__rV   s    r   r   zFzShade.__nonzero__{  rl   r#   r+  N)r   r   r6   r7   r   r   r   r   r:<  r><  rA<  rD<  rS   r   delete_FzShader   r+  r   r   FzShade_m_internal_getFzShade_m_internal_setr+  FzShade_s_num_instances_getFzShade_s_num_instances_setr+  r$   r#   r   r5<  r5<  {  s     -/IOdeGH8k>b2mA  ,,50H &779V9V\{|JvAA6CeCefOr#   r5<  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzShadeColorCachezLWrapper class for struct `fz_shade_color_cache`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzShadeColorCache.<lambda>|  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzShadeColorCache.<lambda>|  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_shade_color_cache`.
        N)r   FzShadeColorCache_swiginitnew_FzShadeColorCacher   s     r   rS   zFzShadeColorCache.__init__	|  rM.  r#   c                 ,    t        j                  |       S r+  )r   "FzShadeColorCache_m_internal_valuerV   s    r   r+  z"FzShadeColorCache.m_internal_value|  r-  r#   c                 ,    t        j                  |       S r-   )r   FzShadeColorCache___nonzero__rV   s    r   r   zFzShadeColorCache.__nonzero__|  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzShadeColorCacher   r+  r   r    FzShadeColorCache_m_internal_get FzShadeColorCache_m_internal_setr+  %FzShadeColorCache_s_num_instances_get%FzShadeColorCache_s_num_instances_setr+  r$   r#   r   rR<  rR<  |  z    W-/IOdeGH
U 66?:H &AA6CjCj  qP  QJvKKVMyMyzOr#   rR<  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzShaperDataTa  
    Wrapper class for struct `fz_shaper_data_t`. Not copyable or assignable.
    In order to shape a given font, we need to
    declare it to a shaper library (harfbuzz, by default, but others
    are possible). To avoid redeclaring it every time we need to
    shape, we hold a shaper handle and the destructor for it within
    the font itself. The handle is initialised by the caller when
    first required and the destructor is called when the fz_font is
    destroyed.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzShaperDataT.<lambda>0|  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzShaperDataT.<lambda>0|  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_shaper_data_t`.
        N)r   FzShaperDataT_swiginitnew_FzShaperDataTr   s     r   rS   zFzShaperDataT.__init__3|  r2  r#   c                 ,    t        j                  |       S r+  )r   FzShaperDataT_m_internal_valuerV   s    r   r+  zFzShaperDataT.m_internal_value@|  r0  r#   c                 ,    t        j                  |       S r-   )r   FzShaperDataT___nonzero__rV   s    r   r   zFzShaperDataT.__nonzero__D|  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzShaperDataTr   r+  r   r   FzShaperDataT_m_internal_getFzShaperDataT_m_internal_setr+  !FzShaperDataT_s_num_instances_get!FzShaperDataT_s_num_instances_setr+  r$   r#   r   rc<  rc<  $|  s~    	 -/IOdeGH
M 22;6H &==v?b?b  iH  IJvGGIqIqrOr#   rc<  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zej                  Zd Zd ZeZ eej&                  ej(                  d      Z eej,                  ej.                        Zy)FzStextBlockz*Wrapper class for struct `fz_stext_block`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStextBlock.<lambda>Q|  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStextBlock.<lambda>Q|  rL   r#   rM   rN   c                 ,    t        j                  |       S zZReturns m_internal.u.i.transform if m_internal->type is FZ_STEXT_BLOCK_IMAGE, else throws.)r   FzStextBlock_i_transformrV   s    r   i_transformzFzStextBlock.i_transformT|  r8/  r#   c                 ,    t        j                  |       S zVReturns m_internal.u.i.image if m_internal->type is FZ_STEXT_BLOCK_IMAGE, else throws.)r   FzStextBlock_i_imagerV   s    r   i_imagezFzStextBlock.i_imageX|  r//  r#   c                 ,    t        j                  |       S zcUsed for iteration over linked list of FzStextLine items starting at fz_stext_line::u.t.first_line.)r   FzStextBlock_beginrV   s    r   r   zFzStextBlock.begin\|  r.  r#   c                 ,    t        j                  |       S r<  )r   FzStextBlock_endrV   s    r   r   zFzStextBlock.end`|  r/;  r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_stext_block`.
        N)r   FzStextBlock_swiginitnew_FzStextBlockr   s     r   rS   zFzStextBlock.__init__d|  r2  r#   c                 ,    t        j                  |       S r+  )r   FzStextBlock_m_internal_valuerV   s    r   r+  zFzStextBlock.m_internal_valueq|  rK,  r#   c                 ,    t        j                  |       S r-   )r   FzStextBlock___nonzero__rV   s    r   r   zFzStextBlock.__nonzero__u|  r  r#   r+  N)r   r   r6   r7   r   r   r   r   ry<  r}<  r   r   rS   r   delete_FzStextBlockr   r+  r   r   FzStextBlock_m_internal_getFzStextBlock_m_internal_setr+   FzStextBlock_s_num_instances_get FzStextBlock_s_num_instances_setr+  r$   r#   r   rs<  rs<  N|  s    5-/IOdeGH51/-
K 11:5H &<<f>`>`  gF  GJvFFHoHopOr#   rs<  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzStextCharz
    Wrapper class for struct `fz_stext_char`.
    Text extraction device: Used for searching, format conversion etc.

    (In development - Subject to change in future versions)
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStextChar.<lambda>|  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStextChar.<lambda>|  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_stext_char`.
        N)r   FzStextChar_swiginitnew_FzStextCharr   s     r   rS   zFzStextChar.__init__|  r7  r#   c                 ,    t        j                  |       S r+  )r   FzStextChar_m_internal_valuerV   s    r   r+  zFzStextChar.m_internal_value|  r2  r#   c                 ,    t        j                  |       S r-   )r   FzStextChar___nonzero__rV   s    r   r   zFzStextChar.__nonzero__|  rs   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzStextCharr   r+  r   r   FzStextChar_m_internal_getFzStextChar_m_internal_setr+  FzStextChar_s_num_instances_getFzStextChar_s_num_instances_setr+  r$   r#   r   r<  r<  |  ~     -/IOdeGH
I 0094H &;;V=^=^  eD  EJvEEvGmGmnOr#   r<  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzStextGridPositionszOWrapper class for struct `fz_stext_grid_positions`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStextGridPositions.<lambda>|  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStextGridPositions.<lambda>|  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_stext_grid_positions`.
        N)r   FzStextGridPositions_swiginitnew_FzStextGridPositionsr   s     r   rS   zFzStextGridPositions.__init__|        	,,T63R3RTX3YZr#   c                 ,    t        j                  |       S r+  )r   %FzStextGridPositions_m_internal_valuerV   s    r   r+  z%FzStextGridPositions.m_internal_value|  r-  r#   c                 ,    t        j                  |       S r-   )r    FzStextGridPositions___nonzero__rV   s    r   r   z FzStextGridPositions.__nonzero__|  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzStextGridPositionsr   r+  r   r   #FzStextGridPositions_m_internal_get#FzStextGridPositions_m_internal_setr+  (FzStextGridPositions_s_num_instances_get(FzStextGridPositions_s_num_instances_setr+  r$   r#   r   r<  r<  |      Z-/IOdeGH
[ 99B=H &DDfFpFp  wV  WJvNNPVPP  AOr#   r<  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
ej                  Zd	 Zd
 ZeZ eej"                  ej$                  d      Z eej(                  ej*                        Zy)FzStextLinez)Wrapper class for struct `fz_stext_line`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStextLine.<lambda>|  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStextLine.<lambda>|  rL   r#   rM   rN   c                 ,    t        j                  |       S z_Used for iteration over linked list of FzStextChar items starting at fz_stext_char::first_char.)r   FzStextLine_beginrV   s    r   r   zFzStextLine.begin|  r4  r#   c                 ,    t        j                  |       S r<  )r   FzStextLine_endrV   s    r   r   zFzStextLine.end|  r5  r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_stext_line`.
        N)r   FzStextLine_swiginitnew_FzStextLiner   s     r   rS   zFzStextLine.__init__|  r7  r#   c                 ,    t        j                  |       S r+  )r   FzStextLine_m_internal_valuerV   s    r   r+  zFzStextLine.m_internal_value|  r2  r#   c                 ,    t        j                  |       S r-   )r   FzStextLine___nonzero__rV   s    r   r   zFzStextLine.__nonzero__|  rs   r#   r+  N)r   r   r6   r7   r   r   r   r   r   r   rS   r   delete_FzStextLiner   r+  r   r   FzStextLine_m_internal_getFzStextLine_m_internal_setr+  FzStextLine_s_num_instances_getFzStextLine_s_num_instances_setr+  r$   r#   r   r<  r<  |  s    4-/IOdeGH.,
I 0094H &;;V=^=^  eD  EJvEEvGmGmnOr#   r<  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
ej                  Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Zd	 Zd
 Zd Zy)FzStextOptionsz`
    Wrapper class for struct `fz_stext_options`.
    Options for creating structured text.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStextOptions.<lambda>|  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStextOptions.<lambda>|  rL   r#   rM   rN   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_parse_stext_options()`.
        	Parse stext device options from a comma separated key-value
        	string.
        )r   %FzStextOptions_fz_parse_stext_options)r   r  s     r   fz_parse_stext_optionsz%FzStextOptions.fz_parse_stext_options|  s     ;;D&IIr#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        Construct with .flags set to <flags>.

        |

        *Overload 2:*
        We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_stext_options`.

        |

        *Overload 4:*
        Constructor using raw copy of pre-existing `::fz_stext_options`.
        N)r   FzStextOptions_swiginitnew_FzStextOptionsr   s     r   rS   zFzStextOptions.__init__ }  s    ( 	&&tV-F-F-MNr#   c                 .    t        j                  | g| S rg+  )r   FzStextOptions_internalr   s     r   ri+  zFzStextOptions.internal}       --d:T::r#   c                 ,    t        j                  |       S rk+  )r   FzStextOptions_to_stringrV   s    r   r[+  zFzStextOptions.to_string&}  r8/  r#   c                 .    t        j                  | |      S ro+  )r   FzStextOptions___eq__rq+  s     r   r}   zFzStextOptions.__eq__*}      ++D#66r#   c                 .    t        j                  | |      S ro+  )r   FzStextOptions___ne__rq+  s     r   r   zFzStextOptions.__ne__.}  r<  r#   N)r   r   r6   r7   r   r   r   r   r<  rS   ri+  r   delete_FzStextOptionsr   FzStextOptions_flags_getFzStextOptions_flags_setr"  FzStextOptions_scale_getFzStextOptions_scale_setrU  "FzStextOptions_s_num_instances_get"FzStextOptions_s_num_instances_setr+  r[+  r}   r   r$   r#   r   r<  r<  |  s    
 -/IOdeGHJO,
; 33V44f6U6UVEV44f6U6UVEvHH&JsJstO577r#   r<  c                   "   e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zej.                  Zd Zd ZeZ eej8                  ej:                  d      Z eej>                  ej@                        Z!y)FzStextPagez
    Wrapper class for struct `fz_stext_page`. Not copyable or assignable.
    A text page is a list of blocks, together with an overall
    bounding box.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStextPage.<lambda>;}  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStextPage.<lambda>;}  rL   r#   rM   rN   c                 4    t        j                  | ||||      S )z
        Class-aware wrapper for `::fz_highlight_selection()`.
        	Return a list of quads to highlight lines inside the selection
        	points.
        )r   "FzStextPage_fz_highlight_selection)r   r  r  r  r  s        r   fz_highlight_selectionz"FzStextPage.fz_highlight_selection>}  s     88q!UIVVr#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::fz_highlight_selection2()`.
        C++ alternative to fz_highlight_selection() that returns quads in a
        std::vector.
        )r   #FzStextPage_fz_highlight_selection2)r   r  r  r  s       r   fz_highlight_selection2z#FzStextPage.fz_highlight_selection2F}  s     99$1iPPr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_new_buffer_from_stext_page()`.
        	Convert structured text into plain text.
        )r   )FzStextPage_fz_new_buffer_from_stext_pagerV   s    r   fz_new_buffer_from_stext_pagez)FzStextPage.fz_new_buffer_from_stext_pageN}  r-  r#   c                 .    t        j                  | |      S )ae  
        Class-aware wrapper for `::fz_new_stext_device()`.
        	Create a device to extract the text on a page.

        	Gather the text on a page into blocks and lines.

        	The reading order is taken from the order the text is drawn in
        	the source file, so may not be accurate.

        	page: The text page to which content should be added. This will
        	usually be a newly created (empty) text page, but it can be one
        	containing data already (for example when merging multiple
        	pages, or watermarking).

        	options: Options to configure the stext device.
        )r   FzStextPage_fz_new_stext_devicerx0  s     r   fz_new_stext_devicezFzStextPage.fz_new_stext_deviceU}  s    " 55dGDDr#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_search_stext_page()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_search_stext_page(const char *needle, ::fz_quad *hit_bbox, int hit_max)` => `(int, int hit_mark)`

        	Search for occurrence of 'needle' in text page.

        	Return the number of quads and store hit quads in the passed in
        	array.

        	NOTE: This is an experimental interface and subject to change
        	without notice.
        )r    FzStextPage_fz_search_stext_pager0  s        r   fz_search_stext_pagez FzStextPage.fz_search_stext_pageh}  s     66tVXxY`aar#   c                 2    t        j                  | |||      S )a  
        Class-aware wrapper for `::fz_search_stext_page_cb()`.
        	Search for occurrence of 'needle' in text page.

        	Call callback once for each hit. This callback will receive
        	(potentially) multiple quads for each hit.

        	Returns the number of hits - note that this is potentially
        	different from (i.e. is not greater than) the number of quads
        	as returned by the non callback API.

        	NOTE: This is an experimental interface and subject to change
        	without notice.
        )r   #FzStextPage_fz_search_stext_page_cbr0  s       r   fz_search_stext_page_cbz#FzStextPage.fz_search_stext_page_cby}  s     99$FSSr#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_segment_stext_page()`.
        	Perform segmentation analysis on an (unstructured) page to look for
        	recursive subdivisions.

        	Essentially this code attempts to split the page horizontally and/or
        	vertically repeatedly into smaller and smaller "segments" (divisions).

        	Returns 0 if no changes were made to the document.

        	This is experimental code, and may change (or be removed) in future
        	versions!
        )r   !FzStextPage_fz_segment_stext_pagerV   s    r   fz_segment_stext_pagez!FzStextPage.fz_segment_stext_page}  s     77==r#   c                 2    t        j                  | |||      S z0Class-aware wrapper for `::fz_snap_selection()`.)r   FzStextPage_fz_snap_selection)r   r  r  r`  s       r   fz_snap_selectionzFzStextPage.fz_snap_selection}  s    33D"b$GGr#   c                 2    t        j                  | |||      S )z9Wrapper for fz_copy_selection() that returns std::string.)r   FzStextPage_fz_copy_selection)r   r  r  r!  s       r   fz_copy_selectionzFzStextPage.fz_copy_selection}  s    33D!QEEr#   c                 0    t        j                  | ||      S )z;Wrapper for fz_copy_rectangle() that returns a std::string.)r   FzStextPage_fz_copy_rectangle)r   r  r!  s      r   fz_copy_rectanglezFzStextPage.fz_copy_rectangle}  s    33D$EEr#   c                 2    t        j                  | |||      S )zEWrapper for fz_search_stext_page() that returns std::vector of Quads.)r   FzStextPage_search_stext_page)r   rV  r5  r  s       r   search_stext_pagezFzStextPage.search_stext_page}  s    33D&(IVVr#   c                 ,    t        j                  |       S zbUsed for iteration over linked list of FzStextBlock items starting at fz_stext_block::first_block.)r   FzStextPage_beginrV   s    r   r   zFzStextPage.begin}  r4  r#   c                 ,    t        j                  |       S r	=  )r   FzStextPage_endrV   s    r   r   zFzStextPage.end}  r5  r#   c                 P    t        j                  | t        j                  |        y)aX  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_stext_page()`.
        		Create an empty text page.

        		The text page is filled out by the text device to contain the
        		blocks and lines of text on the page.

        		mediabox: optional mediabox information.


        |

        *Overload 2:*
         Constructor using `fz_new_stext_page_from_chapter_page_number()`.

        |

        *Overload 3:*
         Constructor using `fz_new_stext_page_from_display_list()`.

        |

        *Overload 4:*
         Constructor using `fz_new_stext_page_from_page()`.
        		Extract text from page.

        		Ownership of the fz_stext_page is returned to the caller.


        |

        *Overload 5:*
         Constructor using `fz_new_stext_page_from_page_number()`.

        |

        *Overload 6:*
         Constructor using `pdf_new_stext_page_from_annot()`.

        |

        *Overload 7:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 8:*
         Constructor using raw copy of pre-existing `::fz_stext_page`.
        N)r   FzStextPage_swiginitnew_FzStextPager   s     r   rS   zFzStextPage.__init__}  s     f 	##D&*@*@$*GHr#   c                 ,    t        j                  |       S r+  )r   FzStextPage_m_internal_valuerV   s    r   r+  zFzStextPage.m_internal_value}  r2  r#   c                 ,    t        j                  |       S r-   )r   FzStextPage___nonzero__rV   s    r   r   zFzStextPage.__nonzero__}  rs   r#   r+  N)"r   r   r6   r7   r   r   r   r   r<  r<  r<  r<  r<  r<  r<  r<  r=  r=  r=  r   r   rS   r   delete_FzStextPager   r+  r   r   FzStextPage_m_internal_getFzStextPage_m_internal_setr+  FzStextPage_s_num_instances_getFzStextPage_s_num_instances_setr+  r$   r#   r   r<  r<  4}  s     -/IOdeGHWQFE&b"T"> HFFW.,3Ih 0094H &;;V=^=^  eD  EJvEEvGmGmnOr#   r<  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzStextStructzGWrapper class for struct `fz_stext_struct`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStextStruct.<lambda>}  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStextStruct.<lambda>}  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_stext_struct`.
        N)r   FzStextStruct_swiginitnew_FzStextStructr   s     r   rS   zFzStextStruct.__init__}  r2  r#   c                 ,    t        j                  |       S r+  )r   FzStextStruct_m_internal_valuerV   s    r   r+  zFzStextStruct.m_internal_value	~  r0  r#   c                 ,    t        j                  |       S r-   )r   FzStextStruct___nonzero__rV   s    r   r   zFzStextStruct.__nonzero__~  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzStextStructr   r+  r   r   FzStextStruct_m_internal_getFzStextStruct_m_internal_setr+  !FzStextStruct_s_num_instances_get!FzStextStruct_s_num_instances_setr+  r$   r#   r   r=  r=  }  r2  r#   r=  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)
FzStorablea  
    Wrapper class for struct `fz_storable`.
    Resource store

    MuPDF stores decoded "objects" into a store for potential reuse.
    If the size of the store gets too big, objects stored within it
    can be evicted and freed to recover space. When MuPDF comes to
    decode such an object, it will check to see if a version of this
    object is already in the store - if it is, it will simply reuse
    it. If not, it will decode it and place it into the store.

    All objects that can be placed into the store are derived from
    the fz_storable type (i.e. this should be the first component of
    the objects structure). This allows for consistent (thread safe)
    reference counting, and includes a function that will be called
    to free the object as soon as the reference count reaches zero.

    Most objects offer fz_keep_XXXX/fz_drop_XXXX functions derived
    from fz_keep_storable/fz_drop_storable. Creation of such objects
    includes a call to FZ_INIT_STORABLE to set up the fz_storable
    header.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStorable.<lambda>/~  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStorable.<lambda>/~  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        Copy constructor using `fz_keep_storable()`.

        |

        *Overload 2:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_storable`.
        N)r   FzStorable_swiginitnew_FzStorabler   s     r   rS   zFzStorable.__init__2~  r)3  r#   c                 ,    t        j                  |       S r+  )r   FzStorable_m_internal_valuerV   s    r   r+  zFzStorable.m_internal_valueD~  r,  r#   c                 ,    t        j                  |       S r-   )r   FzStorable___nonzero__rV   s    r   r   zFzStorable.__nonzero__H~  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzStorabler   r+  r   r   FzStorable_m_internal_getFzStorable_m_internal_setr+  FzStorable_s_num_instances_getFzStorable_s_num_instances_setr+  r$   r#   r   r*=  r*=  ~  s~    . -/IOdeGHG  //83H &::F<\<\  cB  CJvDDfFkFklOr#   r*=  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzStorez@Wrapper class for struct `fz_store`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStore.<lambda>U~  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStore.<lambda>U~  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_store`.
        N)r   FzStore_swiginitnew_FzStorer   s     r   rS   zFzStore.__init__X~  rG;  r#   c                 ,    t        j                  |       S r+  )r   FzStore_m_internal_valuerV   s    r   r+  zFzStore.m_internal_valuee~  r8/  r#   c                 ,    t        j                  |       S r-   )r   FzStore___nonzero__rV   s    r   r   zFzStore.__nonzero__i~  rl   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzStorer   r+  r   r   FzStore_m_internal_getFzStore_m_internal_setr+  FzStore_s_num_instances_getFzStore_s_num_instances_setr+  r$   r#   r   r:=  r:=  R~  rQ;  r#   r:=  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzStoreHashaw
  
    Wrapper class for struct `fz_store_hash`. Not copyable or assignable.
    The store can be seen as a dictionary that maps keys to
    fz_storable values. In order to allow keys of different types to
    be stored, we have a structure full of functions for each key
    'type'; this fz_store_type pointer is stored with each key, and
    tells the store how to perform certain operations (like taking/
    dropping a reference, comparing two keys, outputting details for
    debugging etc).

    The store uses a hash table internally for speed where possible.
    In order for this to work, we need a mechanism for turning a
    generic 'key' into 'a hashable string'. For this purpose the
    type structure contains a make_hash_key function pointer that
    maps from a void * to a fz_store_hash structure. If
    make_hash_key function returns 0, then the key is determined not
    to be hashable, and the value is not stored in the hash table.

    Some objects can be used both as values within the store, and as
    a component of keys within the store. We refer to these objects
    as "key storable" objects. In this case, we need to take
    additional care to ensure that we do not end up keeping an item
    within the store, purely because its value is referred to by
    another key in the store.

    An example of this are fz_images in PDF files. Each fz_image is
    placed into the	store to enable it to be easily reused. When the
    image is rendered, a pixmap is generated from the image, and the
    pixmap is placed into the store so it can be reused on
    subsequent renders. The image forms part of the key for the
    pixmap.

    When we close the pdf document (and any associated pages/display
    lists etc), we drop the images from the store. This may leave us
    in the position of the images having non-zero reference counts
    purely because they are used as part of the keys for the
    pixmaps.

    We therefore use special reference counting functions to keep
    track of these "key storable" items, and hence store the number
    of references to these items that are used in keys.

    When the number of references to an object == the number of
    references to an object from keys in the store, we know that we
    can remove all the items which have that object as part of the
    key. This is done by running a pass over the store, 'reaping'
    those items.

    Reap passes are slower than we would like as they touch every
    item in the store. We therefore provide a way to 'batch' such
    reap passes together, using fz_defer_reap_start/
    fz_defer_reap_end to bracket a region in which many may be
    triggered.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStoreHash.<lambda>~  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStoreHash.<lambda>~  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_store_hash`.
        N)r   FzStoreHash_swiginitnew_FzStoreHashr   s     r   rS   zFzStoreHash.__init__~  r7  r#   c                 ,    t        j                  |       S r+  )r   FzStoreHash_m_internal_valuerV   s    r   r+  zFzStoreHash.m_internal_value~  r2  r#   c                 ,    t        j                  |       S r-   )r   FzStoreHash___nonzero__rV   s    r   r   zFzStoreHash.__nonzero__~  rs   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzStoreHashr   r+  r   r   FzStoreHash_m_internal_getFzStoreHash_m_internal_setr+  FzStoreHash_s_num_instances_getFzStoreHash_s_num_instances_setr+  r$   r#   r   rJ=  rJ=  s~  s    5n -/IOdeGH
I 0094H &;;V=^=^  eD  EJvEEvGmGmnOr#   rJ=  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzStoreTypea  
    Wrapper class for struct `fz_store_type`. Not copyable or assignable.
    Every type of object to be placed into the store defines an
    fz_store_type. This contains the pointers to functions to
    make hashes, manipulate keys, and check for needing reaping.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStoreType.<lambda>~  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStoreType.<lambda>~  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_store_type`.
        N)r   FzStoreType_swiginitnew_FzStoreTyper   s     r   rS   zFzStoreType.__init__~  r7  r#   c                 ,    t        j                  |       S r+  )r   FzStoreType_m_internal_valuerV   s    r   r+  zFzStoreType.m_internal_value~  r2  r#   c                 ,    t        j                  |       S r-   )r   FzStoreType___nonzero__rV   s    r   r   zFzStoreType.__nonzero__~  rs   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzStoreTyper   r+  r   r   FzStoreType_m_internal_getFzStoreType_m_internal_setr+  FzStoreType_s_num_instances_getFzStoreType_s_num_instances_setr+  r$   r#   r   rZ=  rZ=  ~  r<  r#   rZ=  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zej"                  Zd Zd ZeZ eej,                  ej.                  d      Z eej2                  ej4                        Zy)FzStoryz@Wrapper class for struct `fz_story`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStory.<lambda>~  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStory.<lambda>~  rL   r#   rM   rN   c                 0    t        j                  | ||      S z,Class-aware wrapper for `::fz_draw_story()`.)r   FzStory_fz_draw_story)r   rT  rW  s      r   fz_draw_storyzFzStory.fz_draw_story~  s    ++D#s;;r#   c                 0    t        j                  | ||      S z-Class-aware wrapper for `::fz_place_story()`.)r   FzStory_fz_place_story)r   r  r  s      r   fz_place_storyzFzStory.fz_place_story~  s    ,,T5&AAr#   c                 2    t        j                  | |||      S z3Class-aware wrapper for `::fz_place_story_flags()`.)r   FzStory_fz_place_story_flags)r   r  r  r"  s       r   fz_place_story_flagszFzStory.fz_place_story_flags~  s    224NNr#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::fz_reset_story()`.)r   FzStory_fz_reset_storyrV   s    r   fz_reset_storyzFzStory.fz_reset_story  r+  r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::fz_story_document()`.)r   FzStory_fz_story_documentrV   s    r   fz_story_documentzFzStory.fz_story_document  r,  r#   c                 0    t        j                  | ||      S z1Class-aware wrapper for `::fz_story_positions()`.)r   FzStory_fz_story_positions)r   r  r  s      r   fz_story_positionszFzStory.fz_story_positions	  s    00r3??r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::fz_story_warnings()`.)r   FzStory_fz_story_warningsrV   s    r   fz_story_warningszFzStory.fz_story_warnings  r,  r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        == Constructors.  Constructor using `fz_new_story()`.

        |

        *Overload 2:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_story`.
        N)r   FzStory_swiginitnew_FzStoryr   s     r   rS   zFzStory.__init__  r3  r#   c                 ,    t        j                  |       S r+  )r   FzStory_m_internal_valuerV   s    r   r+  zFzStory.m_internal_value#  r8/  r#   c                 ,    t        j                  |       S r-   )r   FzStory___nonzero__rV   s    r   r   zFzStory.__nonzero__'  rl   r#   r+  N)r   r   r6   r7   r   r   r   r   rp=  rt=  rx=  r|=  r=  r=  r=  rS   r   delete_FzStoryr   r+  r   r   FzStory_m_internal_getFzStory_m_internal_setr+  FzStory_s_num_instances_getFzStory_s_num_instances_setr+  r$   r#   r   rj=  rj=  ~  s    K-/IOdeGH<BO36@6A  ,,50H &779V9V\{|JvAA6CeCefOr#   rj=  c                   n   e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Z ee
j                  e
j                        Z ee
j                   e
j"                        Z ee
j&                  e
j(                        Z ee
j,                  e
j.                        Z ee
j2                  e
j4                        Z ee
j8                  e
j:                        Z ee
j>                  e
j@                        Z! ee
jD                  e
jF                        Z$ ee
jJ                  e
jL                        Z'd Z(d	 Z)d
 Z*y)FzStoryElementPositionz5Wrapper class for struct `fz_story_element_position`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStoryElementPosition.<lambda>4  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStoryElementPosition.<lambda>4  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)aw  
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_story_element_position`.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_story_element_position`.
        N)r   FzStoryElementPosition_swiginitnew_FzStoryElementPositionr   s     r   rS   zFzStoryElementPosition.__init__7  s      	..tV5V5VX\5]^r#   c                 .    t        j                  | g| S rg+  )r   FzStoryElementPosition_internalr   s     r   ri+  zFzStoryElementPosition.internalH  s     55dBTBBr#   c                 ,    t        j                  |       S rk+  )r    FzStoryElementPosition_to_stringrV   s    r   r[+  z FzStoryElementPosition.to_string^  rf4  r#   c                 .    t        j                  | |      S ro+  )r   FzStoryElementPosition___eq__rq+  s     r   r}   zFzStoryElementPosition.__eq__b      33D#>>r#   c                 .    t        j                  | |      S ro+  )r   FzStoryElementPosition___ne__rq+  s     r   r   zFzStoryElementPosition.__ne__f  r=  r#   N)+r   r   r6   r7   r   r   r   r   rS   ri+  r   delete_FzStoryElementPositionr    FzStoryElementPosition_depth_get FzStoryElementPosition_depth_setrG  "FzStoryElementPosition_heading_get"FzStoryElementPosition_heading_setrJ  FzStoryElementPosition_id_getFzStoryElementPosition_id_setrM  FzStoryElementPosition_href_getFzStoryElementPosition_href_setrP  FzStoryElementPosition_rect_getFzStoryElementPosition_rect_setr  FzStoryElementPosition_text_getFzStoryElementPosition_text_setr
  %FzStoryElementPosition_open_close_get%FzStoryElementPosition_open_close_setrW  (FzStoryElementPosition_rectangle_num_get(FzStoryElementPosition_rectangle_num_setrZ  *FzStoryElementPosition_s_num_instances_get*FzStoryElementPosition_s_num_instances_setr+  r[+  r}   r   r$   r#   r   r=  r=  1  s(   @-/IOdeGH_"
C ;;V<<f>e>efEv@@&BkBklG	&668\8\	]BF::F<b<bcDF::F<b<bcDF::F<b<bcD&FFHtHtuJVLLfN}N}~MvPPRX  SD  SD  EO=??r#   r=  c                      e Zd ZdZ ed d d      ZeZed        Z	d Z
d Zd	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d Z"d  Z#d! Z$d" Z%d# Z&d$ Z'd% Z(d& Z)d' Z*d( Z+d) Z,d* Z-d+ Z.d, Z/d- Z0d. Z1d/ Z2d0 Z3d1 Z4d2 Z5d3 Z6d4 Z7d5 Z8d6 Z9d7 Z:d8 Z;d9 Z<d: Z=d; Z>d< Z?d= Z@d> ZAd? ZBd@ ZCdA ZDdB ZEdC ZFdD ZGdE ZHdF ZIdG ZJdH ZKdI ZLdJ ZMdK ZNdL ZOdM ZPdN ZQdO ZRdP ZSdQ ZTdR ZUdS ZVdT ZWdU ZXeYj                  Z[dV Z\dW Z]e]Z^ eeYj                  eYj                  dX      Za eeYj                  eYj                        ZdyY)ZFzStreama  
    Wrapper class for struct `fz_stream`.
    fz_stream is a buffered reader capable of seeking in both
    directions.

    Streams are reference counted, so references must be dropped
    by a call to fz_drop_stream.

    Only the data between rp and wp is valid.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStream.<lambda>x  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStream.<lambda>x  rL   r#   rM   rN   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_open_file_autodelete()`.
        	Do the same as fz_open_file, but delete the file upon close.
        )r    FzStream_fz_open_file_autodeleter  s    r   fz_open_file_autodeletez FzStream.fz_open_file_autodelete{  s     66x@@r#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_available()`.
        	Ask how many bytes are available immediately from
        	a given stream.

        	stm: The stream to read from.

        	max: A hint for the underlying stream; the maximum number of
        	bytes that we are sure we will want to read. If you do not know
        	this number, give 1.

        	Returns the number of bytes immediately available between the
        	read and write pointers. This number is guaranteed only to be 0
        	if we have hit EOF. The number of bytes returned here need have
        	no relation to max (could be larger, could be smaller).
        )r   FzStream_fz_available)r   r  s     r   fz_availablezFzStream.fz_available  s    " ++D#66r#   c                 6    t        j                  | |||||      S )a  
        Class-aware wrapper for `::fz_decomp_image_from_stream()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_decomp_image_from_stream(::fz_compressed_image *image, ::fz_irect *subarea, int indexed, int l2factor)` => `(fz_pixmap *, int l2extra)`

        	Decode a subarea of a compressed image. l2factor is the amount
        	of subsampling inbuilt to the stream (i.e. performed by the
        	decoder). If non NULL, l2extra is the extra amount of
        	subsampling that should be performed by this routine. This will
        	be updated on exit to the amount of subsampling that is still
        	required to be done.

        	Returns a kept reference.
        )r   $FzStream_fz_decomp_image_from_stream)r   r  rZ  r[  r\  r]  s         r   fz_decomp_image_from_streamz$FzStream.fz_decomp_image_from_stream  s"      ::4QXZbdkllr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_is_cfb_archive()`.
        	Detect if stream object is a cfb archive.

        	Assumes that the stream object is seekable.
        )r   FzStream_fz_is_cfb_archiverV   s    r   fz_is_cfb_archivezFzStream.fz_is_cfb_archive  r0  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_is_eof()`.
        	Query if the stream has reached EOF (during normal bytewise
        	reading).

        	See fz_is_eof_bits for the equivalent function for bitwise
        	reading.
        )r   FzStream_fz_is_eofrV   s    r   	fz_is_eofzFzStream.fz_is_eof  s     ((..r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_is_eof_bits()`.
        	Query if the stream has reached EOF (during bitwise
        	reading).

        	See fz_is_eof for the equivalent function for bytewise
        	reading.
        )r   FzStream_fz_is_eof_bitsrV   s    r   fz_is_eof_bitszFzStream.fz_is_eof_bits       --d33r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_is_libarchive_archive()`.
        	Detect if stream object is an archive supported by libarchive.

        	Assumes that the stream object is seekable.
        )r   !FzStream_fz_is_libarchive_archiverV   s    r   fz_is_libarchive_archivez!FzStream.fz_is_libarchive_archive  r--  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_is_tar_archive()`.
        	Detect if stream object is a tar archive.

        	Assumes that the stream object is seekable.
        )r   FzStream_fz_is_tar_archiverV   s    r   fz_is_tar_archivezFzStream.fz_is_tar_archive  r0  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_is_zip_archive()`.
        	Detect if stream object is a zip archive.

        	Assumes that the stream object is seekable.
        )r   FzStream_fz_is_zip_archiverV   s    r   fz_is_zip_archivezFzStream.fz_is_zip_archive  r0  r#   c                 .    t        j                  | |      S z5Class-aware wrapper for `::fz_new_archive_of_size()`.)r   FzStream_fz_new_archive_of_sizer:  s     r   fz_new_archive_of_sizezFzStream.fz_new_archive_of_size      55dDAAr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_open_a85d()`.
        	a85d filter performs ASCII 85 Decoding of data read
        	from the chained filter.
        )r   FzStream_fz_open_a85drV   s    r   fz_open_a85dzFzStream.fz_open_a85d       ++D11r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_open_aesd()`.
        	aesd filter performs AES decoding of data read from the chained
        	filter using the supplied key.
        )r   FzStream_fz_open_aesdr   rk  r  s      r   fz_open_aesdzFzStream.fz_open_aesd       ++D#v>>r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_open_ahxd()`.
        	ahxd filter performs ASCII Hex decoding of data read
        	from the chained filter.
        )r   FzStream_fz_open_ahxdrV   s    r   fz_open_ahxdzFzStream.fz_open_ahxd  r=  r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_open_arc4()`.
        	arc4 filter performs RC4 decoding of data read from the chained
        	filter using the supplied key.
        )r   FzStream_fz_open_arc4r=  s      r   fz_open_arc4zFzStream.fz_open_arc4  r=  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_open_archive_with_stream()`.
        	Open zip or tar archive stream.

        	Open an archive using a seekable stream object rather than
        	opening a file or directory on disk.
        )r   $FzStream_fz_open_archive_with_streamrV   s    r   fz_open_archive_with_streamz$FzStream.fz_open_archive_with_stream  s     ::4@@r#   c                 ,    t        j                  |       S )a4  
        Class-aware wrapper for `::fz_open_cfb_archive_with_stream()`.
        	Open a cfb file as an archive.

        	Open an archive using a seekable stream object rather than
        	opening a file or directory on disk.

        	An exception is thrown if the file is not recognised as a chm.
        )r   (FzStream_fz_open_cfb_archive_with_streamrV   s    r   fz_open_cfb_archive_with_streamz(FzStream.fz_open_cfb_archive_with_stream  s     >>tDDr#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_open_dctd()`.
        	dctd filter performs DCT (JPEG) decoding of data read
        	from the chained filter.

        	color_transform implements the PDF color_transform option
        		use -1 for default behavior
        		use 0 to disable YUV-RGB / YCCK-CMYK transforms
        		use 1 to enable YUV-RGB / YCCK-CMYK transforms

        	invert_cmyk implements the necessary inversion for Photoshop CMYK images
        		use 0 if embedded in PDF
        		use 1 if not embedded in PDF

        	For subsampling on decode, set l2factor to the log2 of the
        	reduction required (therefore 0 = full size decode).

        	jpegtables is an optional stream from which the JPEG tables
        	can be read. Use NULL if not required.
        )r   FzStream_fz_open_dctd)r   r  r  r\  r  s        r   fz_open_dctdzFzStream.fz_open_dctd  s    * ++D/;PXZdeer#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_open_endstream_filter()`.
        	The endstream filter reads a PDF substream, and starts to look
        	for an 'endstream' token after the specified length.
        )r   !FzStream_fz_open_endstream_filterr   r  rb  s      r   fz_open_endstream_filterz!FzStream.fz_open_endstream_filter3  s     77c6JJr#   c           
      :    t        j                  | |||||||      S )a  
        Class-aware wrapper for `::fz_open_faxd()`.
        	faxd filter performs FAX decoding of data read from
        	the chained filter.

        	k: see fax specification (fax default is 0).

        	end_of_line: whether we expect end of line markers (fax default
        	is 0).

        	encoded_byte_align: whether we align to bytes after each line
        	(fax default is 0).

        	columns: how many columns in the image (fax default is 1728).

        	rows: 0 for unspecified or the number of rows of data to expect.

        	end_of_block: whether we expect end of block markers (fax
        	default is 1).

        	black_is_1: determines the polarity of the image (fax default is
        	0).
        )r   FzStream_fz_open_faxd)r   r  r   r  r  r  r  r  s           r   fz_open_faxdzFzStream.fz_open_faxd;  s(    0 ++D![BTV]_ceqs}~~r#   c                 .    t        j                  | |      S )a[  
        Class-aware wrapper for `::fz_open_flated()`.
        	flated filter performs LZ77 decoding (inflating) of data read
        	from the chained filter.

        	window_bits: How large a decompression window to use. Typically
        	15. A negative number, -n, means to use n bits, but to expect
        	raw data with no header.
        )r   FzStream_fz_open_flated)r   r  s     r   fz_open_flatedzFzStream.fz_open_flatedU  s     --dK@@r#   c                 0    t        j                  | ||      S )ak  
        Class-aware wrapper for `::fz_open_image_decomp_stream()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_open_image_decomp_stream(::fz_compression_params *arg_1)` => `(fz_stream *, int l2factor)`

        	Open a stream to read the decompressed version of another stream
        	with optional log2 subsampling.
        )r   $FzStream_fz_open_image_decomp_stream)r   r  r\  s      r   fz_open_image_decomp_streamz$FzStream.fz_open_image_decomp_streama  s     ::4QQr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_open_jbig2d()`.
        	Open a filter that performs jbig2 decompression on the chained
        	stream, using the optional globals record.
        )r   FzStream_fz_open_jbig2d)r   rS  r  s      r   fz_open_jbig2dzFzStream.fz_open_jbig2dm  s     --dGXFFr#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_open_leecher()`.
        	Attach a filter to a stream that will store any
        	characters read from the stream into the supplied buffer.

        	chain: The underlying stream to leech from.

        	buf: The buffer into which the read data should be appended.
        	The buffer will be resized as required.

        	Returns pointer to newly created stream. May throw exceptions on
        	failure to allocate.
        )r   FzStream_fz_open_leecherrH.  s     r   fz_open_leecherzFzStream.fz_open_leecheru  s     ..tS99r#   c                 ,    t        j                  |       S )aD  
        Class-aware wrapper for `::fz_open_libarchive_archive_with_stream()`.
        	Open an archive using libarchive.

        	Open an archive using a seekable stream object rather than
        	opening a file or directory on disk.

        	An exception is thrown if the stream is not supported by libarchive.
        )r   /FzStream_fz_open_libarchive_archive_with_streamrV   s    r   &fz_open_libarchive_archive_with_streamz/FzStream.fz_open_libarchive_archive_with_stream  s     EEdKKr#   c                 ,    t        j                  |       S )aU  
        Class-aware wrapper for `::fz_open_libarchived()`.
        	libarchived filter performs generic compressed decoding of data
        	in any format understood by libarchive from the chained filter.

        	This will throw an exception if libarchive is not built in, or
        	if the compression format is not recognised.
        )r   FzStream_fz_open_libarchivedrV   s    r   fz_open_libarchivedzFzStream.fz_open_libarchived  s     22488r#   c                 4    t        j                  | ||||      S )a(  
        Class-aware wrapper for `::fz_open_lzwd()`.
        	lzwd filter performs LZW decoding of data read from the chained
        	filter.

        	early_change: (Default 1) specifies whether to change codes 1
        	bit early.

        	min_bits: (Default 9) specifies the minimum number of bits to
        	use.

        	reverse_bits: (Default 0) allows for compatibility with gif and
        	old style tiffs (1).

        	old_tiff: (Default 0) allows for different handling of the clear
        	code, as found in old style tiffs.
        )r   FzStream_fz_open_lzwd)r   r#  r$  r%  r&  s        r   fz_open_lzwdzFzStream.fz_open_lzwd  s    $ ++D,,X`aar#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_open_null_filter()`.
        	The null filter reads a specified amount of data from the
        	substream.
        )r   FzStream_fz_open_null_filterr=  s      r   fz_open_null_filterzFzStream.fz_open_null_filter  s     224fEEr#   c                 4    t        j                  | ||||      S )ak  
        Class-aware wrapper for `::fz_open_predict()`.
        	predict filter performs pixel prediction on data read from
        	the chained filter.

        	predictor: 1 = copy, 2 = tiff, other = inline PNG predictor

        	columns: width of image in pixels

        	colors: number of components.

        	bpc: bits per component (typically 8)
        )r   FzStream_fz_open_predict)r   r/  r  r0  r  s        r   fz_open_predictzFzStream.fz_open_predict  s     ..tYQTUUr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_open_range_filter()`.
        	The range filter copies data from specified ranges of the
        	chained stream.
        )r   FzStream_fz_open_range_filter)r   r  r4  s      r   fz_open_range_filterzFzStream.fz_open_range_filterȀ  s     33D&'JJr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_open_rld()`.
        	rld filter performs Run Length Decoding of data read
        	from the chained filter.
        )r   FzStream_fz_open_rldrV   s    r   fz_open_rldzFzStream.fz_open_rldЀ  s     **400r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_open_sgilog16()`.
        	SGI Log 16bit (greyscale) decode from the chained filter.
        	Decodes lines of w pixels to 8bpp greyscale.
        )r   FzStream_fz_open_sgilog16r   r7  s     r   fz_open_sgilog16zFzStream.fz_open_sgilog16؀       //a88r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_open_sgilog24()`.
        	SGI Log 24bit (LUV) decode from the chained filter.
        	Decodes lines of w pixels to 8bpc rgb.
        )r   FzStream_fz_open_sgilog24r>  s     r   fz_open_sgilog24zFzStream.fz_open_sgilog24  r!>  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_open_sgilog32()`.
        	SGI Log 32bit (LUV) decode from the chained filter.
        	Decodes lines of w pixels to 8bpc rgb.
        )r   FzStream_fz_open_sgilog32r>  s     r   fz_open_sgilog32zFzStream.fz_open_sgilog32  r!>  r#   c                 ,    t        j                  |       S )af  
        Class-aware wrapper for `::fz_open_tar_archive_with_stream()`.
        	Open a tar archive stream.

        	Open an archive using a seekable stream object rather than
        	opening a file or directory on disk.

        	An exception is thrown if the stream is not a tar archive as
        	indicated by the presence of a tar signature.

        )r   (FzStream_fz_open_tar_archive_with_streamrV   s    r   fz_open_tar_archive_with_streamz(FzStream.fz_open_tar_archive_with_stream       >>tDDr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_open_thunder()`.
        	4bit greyscale Thunderscan decoding from the chained filter.
        	Decodes lines of w pixels to 8bpp greyscale.
        )r   FzStream_fz_open_thunderr>  s     r   fz_open_thunderzFzStream.fz_open_thunder  s     ..tQ77r#   c                 ,    t        j                  |       S )af  
        Class-aware wrapper for `::fz_open_zip_archive_with_stream()`.
        	Open a zip archive stream.

        	Open an archive using a seekable stream object rather than
        	opening a file or directory on disk.

        	An exception is thrown if the stream is not a zip archive as
        	indicated by the presence of a zip signature.

        )r   (FzStream_fz_open_zip_archive_with_streamrV   s    r   fz_open_zip_archive_with_streamz(FzStream.fz_open_zip_archive_with_stream  r+>  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_parse_xml_stream()`.
        	Parse the contents of buffer into a tree of xml nodes.

        	preserve_white: whether to keep or delete all-whitespace nodes.
        )r   FzStream_fz_parse_xml_streamr7-  s     r   fz_parse_xml_streamzFzStream.fz_parse_xml_stream  s     224HHr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_peek_byte()`.
        	Peek at the next byte in a stream.

        	stm: The stream to peek at.

        	Returns -1 for EOF, or the next byte that will be read.
        )r   FzStream_fz_peek_byterV   s    r   fz_peek_bytezFzStream.fz_peek_byte  s     ++D11r#   c                 0    t        j                  | ||      S )a<  
        Class-aware wrapper for `::fz_read()`.
        	Read from a stream into a given data block.

        	stm: The stream to read from.

        	data: The data block to read into.

        	len: The length of the data block (in bytes).

        	Returns the number of bytes read. May throw exceptions.
        )r   FzStream_fz_readr,  s      r   fz_readzFzStream.fz_read(  s     &&tT377r#   c                 .    t        j                  | |      S )aA  
        Class-aware wrapper for `::fz_read_all()`.
        	Read all of a stream into a buffer.

        	stm: The stream to read from

        	initial: Suggested initial size for the buffer.

        	Returns a buffer created from reading from the stream. May throw
        	exceptions on failure to allocate.
        )r   FzStream_fz_read_allr   r>  s     r   fz_read_allzFzStream.fz_read_all7  s     **499r#   c                 2    t        j                  | |||      S )a  
        Class-aware wrapper for `::fz_read_best()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_read_best(size_t initial, size_t worst_case)` => `(fz_buffer *, int truncated)`

        	Attempt to read a stream into a buffer. If truncated
        	is NULL behaves as fz_read_all, sets a truncated flag in case of
        	error.

        	stm: The stream to read from.

        	initial: Suggested initial size for the buffer.

        	truncated: Flag to store success/failure indication in.

        	worst_case: 0 for unknown, otherwise an upper bound for the
        	size of the stream.

        	Returns a buffer created from reading from the stream.
        )r   FzStream_fz_read_best)r   r>  rD  rE  s       r   fz_read_bestzFzStream.fz_read_bestE  s    , ++D'9jQQr#   c                 .    t        j                  | |      S )ad  
        Class-aware wrapper for `::fz_read_bits()`.
        	Read the next n bits from a stream (assumed to
        	be packed most significant bit first).

        	stm: The stream to read from.

        	n: The number of bits to read, between 1 and 8*sizeof(int)
        	inclusive.

        	Returns -1 for EOF, or the required number of bits.
        )r   FzStream_fz_read_bitsrZ   s     r   fz_read_bitszFzStream.fz_read_bits]  s     ++D!44r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_read_byte()`.
        	Read the next byte from a stream.

        	stm: The stream t read from.

        	Returns -1 for end of stream, or the next byte. May
        	throw exceptions.
        )r   FzStream_fz_read_byterV   s    r   fz_read_bytezFzStream.fz_read_bytel       ++D11r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::fz_read_float()`.)r   FzStream_fz_read_floatrV   s    r   fz_read_floatzFzStream.fz_read_floatx  r+  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::fz_read_float_le()`.)r   FzStream_fz_read_float_lerV   s    r   fz_read_float_lezFzStream.fz_read_float_le|  r,  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::fz_read_int16()`.)r   FzStream_fz_read_int16rV   s    r   fz_read_int16zFzStream.fz_read_int16  r+  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::fz_read_int16_le()`.)r   FzStream_fz_read_int16_lerV   s    r   fz_read_int16_lezFzStream.fz_read_int16_le  r,  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::fz_read_int32()`.)r   FzStream_fz_read_int32rV   s    r   fz_read_int32zFzStream.fz_read_int32  r+  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::fz_read_int32_le()`.)r   FzStream_fz_read_int32_lerV   s    r   fz_read_int32_lezFzStream.fz_read_int32_le  r,  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::fz_read_int64()`.)r   FzStream_fz_read_int64rV   s    r   fz_read_int64zFzStream.fz_read_int64  r+  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::fz_read_int64_le()`.)r   FzStream_fz_read_int64_lerV   s    r   fz_read_int64_lezFzStream.fz_read_int64_le  r,  r#   c                 0    t        j                  | ||      S )aD  
        Class-aware wrapper for `::fz_read_line()`.
        	Read a line from stream into the buffer until either a
        	terminating newline or EOF, which it replaces with a null byte
        	('').

        	Returns buf on success, and NULL when end of file occurs while
        	no characters have been read.
        )r   FzStream_fz_read_line)r   rb  r  s      r   fz_read_linezFzStream.fz_read_line  s     ++D#s;;r#   c                 .    t        j                  | |      S )at  
        Class-aware wrapper for `::fz_read_rbits()`.
        	Read the next n bits from a stream (assumed to
        	be packed least significant bit first).

        	stm: The stream to read from.

        	n: The number of bits to read, between 1 and 8*sizeof(int)
        	inclusive.

        	Returns (unsigned int)-1 for EOF, or the required number of bits.
        )r   FzStream_fz_read_rbitsrZ   s     r   fz_read_rbitszFzStream.fz_read_rbits  s     ,,T155r#   c                 ,    t        j                  |       S )aN  
        Class-aware wrapper for `::fz_read_rune()`.
        	Read a utf-8 rune from a stream.

        	In the event of encountering badly formatted utf-8 codes
        	(such as a leading code with an unexpected number of following
        	codes) no error/exception is given, but undefined values may be
        	returned.
        )r   FzStream_fz_read_runerV   s    r   fz_read_runezFzStream.fz_read_rune  rH>  r#   c                 0    t        j                  | ||      S )aC  
        Class-aware wrapper for `::fz_read_string()`.
        	Read a null terminated string from the stream into
        	a buffer of a given length. The buffer will be null terminated.
        	Throws on failure (including the failure to fit the entire
        	string including the terminator into the buffer).
        )r   FzStream_fz_read_string)r   r*  r  s      r   fz_read_stringzFzStream.fz_read_string  s     --dFC@@r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_read_uint16()`.
        	fz_read_[u]int(16|24|32|64)(_le)?

        	Read a 16/32/64 bit signed/unsigned integer from stream,
        	in big or little-endian byte orders.

        	Throws an exception if EOF is encountered.
        )r   FzStream_fz_read_uint16rV   s    r   fz_read_uint16zFzStream.fz_read_uint16Ɂ  s     --d33r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::fz_read_uint16_le()`.)r   FzStream_fz_read_uint16_lerV   s    r   fz_read_uint16_lezFzStream.fz_read_uint16_leՁ  r,  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::fz_read_uint24()`.)r   FzStream_fz_read_uint24rV   s    r   fz_read_uint24zFzStream.fz_read_uint24ف  r+  r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::fz_read_uint24_le()`.)r   FzStream_fz_read_uint24_lerV   s    r   fz_read_uint24_lezFzStream.fz_read_uint24_le݁  r,  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::fz_read_uint32()`.)r   FzStream_fz_read_uint32rV   s    r   fz_read_uint32zFzStream.fz_read_uint32  r+  r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::fz_read_uint32_le()`.)r   FzStream_fz_read_uint32_lerV   s    r   fz_read_uint32_lezFzStream.fz_read_uint32_le  r,  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::fz_read_uint64()`.)r   FzStream_fz_read_uint64rV   s    r   fz_read_uint64zFzStream.fz_read_uint64  r+  r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::fz_read_uint64_le()`.)r   FzStream_fz_read_uint64_lerV   s    r   fz_read_uint64_lezFzStream.fz_read_uint64_le  r,  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::fz_read_utf16_be()`.)r   FzStream_fz_read_utf16_berV   s    r   fz_read_utf16_bezFzStream.fz_read_utf16_be  r,  r#   c                 ,    t        j                  |       S )aS  
        Class-aware wrapper for `::fz_read_utf16_le()`.
        	Read a utf-16 rune from a stream. (little endian and
        	big endian respectively).

        	In the event of encountering badly formatted utf-16 codes
        	(mismatched surrogates) no error/exception is given, but
        	undefined values may be returned.
        )r   FzStream_fz_read_utf16_lerV   s    r   fz_read_utf16_lezFzStream.fz_read_utf16_le  s     //55r#   c                 0    t        j                  | ||      S )aZ  
        Class-aware wrapper for `::fz_seek()`.
        	Seek within a stream.

        	stm: The stream to seek within.

        	offset: The offset to seek to.

        	whence: From where the offset is measured (see fseek).
        	SEEK_SET - start of stream.
        	SEEK_CUR - current position.
        	SEEK_END - end of stream.

        )r   FzStream_fz_seek)r   rb  rY  s      r   fz_seekzFzStream.fz_seek  s     &&tVV<<r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_skip()`.
        	Read from a stream discarding data.

        	stm: The stream to read from.

        	len: The number of bytes to read.

        	Returns the number of bytes read. May throw exceptions.
        )r   FzStream_fz_skipr   r  s     r   fz_skipzFzStream.fz_skip  s     &&tS11r#   c                 ,    t        j                  |       S )zw
        Class-aware wrapper for `::fz_skip_space()`.
        	Skip over whitespace (bytes <= 32) in a stream.
        )r   FzStream_fz_skip_spacerV   s    r   fz_skip_spacezFzStream.fz_skip_space  rc2  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_skip_string()`.
        	Skip over a given string in a stream. Return 0 if successfully
        	skipped, non-zero otherwise. As many characters will be skipped
        	over as matched in the string.
        )r   FzStream_fz_skip_string)r   r  s     r   fz_skip_stringzFzStream.fz_skip_string&  r1  r#   c                 ,    t        j                  |       S )a  
        Class-aware wrapper for `::fz_stream_filename()`.
        	Return the filename (UTF-8 encoded) from which a stream was opened.

        	Returns NULL if the filename is not available (or the stream was
        	opened from a source other than a file).
        )r   FzStream_fz_stream_filenamerV   s    r   fz_stream_filenamezFzStream.fz_stream_filename/  r6  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_sync_bits()`.
        	Called after reading bits to tell the stream
        	that we are about to return to reading bytewise. Resyncs
        	the stream to whole byte boundaries.
        )r   FzStream_fz_sync_bitsrV   s    r   fz_sync_bitszFzStream.fz_sync_bits9  s     ++D11r#   c                 ,    t        j                  |       S )zu
        Class-aware wrapper for `::fz_tell()`.
        	return the current reading position within a stream
        )r   FzStream_fz_tellrV   s    r   fz_tellzFzStream.fz_tellB      
 &&t,,r#   c                 ,    t        j                  |       S )a?  
        Class-aware wrapper for `::fz_try_open_archive_with_stream()`.
        	Open zip or tar archive stream.

        	Does the same as fz_open_archive_with_stream, but will not throw
        	an error in the event of failing to recognise the format. Will
        	still throw errors in other cases though!
        )r   (FzStream_fz_try_open_archive_with_streamrV   s    r   fz_try_open_archive_with_streamz(FzStream.fz_try_open_archive_with_streamI  s     >>tDDr#   c           
      :    t        j                  | |||||||      S z/Class-aware wrapper for `::fz_unpack_stream()`.)r   FzStream_fz_unpack_stream)r   rG  r7  r:  r[   r[  r  r   s           r   fz_unpack_streamzFzStream.fz_unpack_streamT  s"    //eQ1gsTXYYr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_unread_byte()`.
        	Unread the single last byte successfully
        	read from a stream. Do not call this without having
        	successfully read a byte.

        	stm: The stream to operate upon.
        )r   FzStream_fz_unread_byterV   s    r   fz_unread_bytezFzStream.fz_unread_byteX  r=  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_load_cmap()`.)r   FzStream_pdf_load_cmaprV   s    r   pdf_load_cmapzFzStream.pdf_load_cmapc  r+  r#   c                 2    t        j                  | |||      S z-Class-aware wrapper for `::pdf_open_crypt()`.)r   FzStream_pdf_open_crypt)r   r\  rw  rZ  s       r   pdf_open_cryptzFzStream.pdf_open_cryptg  s    --dE3DDr#   c                 4    t        j                  | ||||      S z9Class-aware wrapper for `::pdf_open_crypt_with_filter()`.)r   #FzStream_pdf_open_crypt_with_filter)r   r\  r   rw  rZ  s        r   pdf_open_crypt_with_filterz#FzStream.pdf_open_crypt_with_filterk  s    99$tSRUVVr#   c                 ,    t        j                  |       S z<Class-aware wrapper for `::pdf_open_document_with_stream()`.)r   &FzStream_pdf_open_document_with_streamrV   s    r   pdf_open_document_with_streamz&FzStream.pdf_open_document_with_streamo  r-  r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_stream()`.
        		Create a new stream object with the given
        		internal state and function pointers.

        		state: Internal state (opaque to everything but implementation).

        		next: Should provide the next set of bytes (up to max) of stream
        		data. Return the number of bytes read, or EOF when there is no
        		more data.

        		drop: Should clean up and free the internal state. May not
        		throw exceptions.


        |

        *Overload 2:*
         Constructor using `fz_open_file()`.
        		Open the named file and wrap it in a stream.

        		filename: Path to a file. On non-Windows machines the filename
        		should be exactly as it would be passed to fopen(2). On Windows
        		machines, the path should be UTF-8 encoded so that non-ASCII
        		characters can be represented. Other platforms do the encoding
        		as standard anyway (and in most cases, particularly for MacOS
        		and Linux, the encoding they use is UTF-8 anyway).


        |

        *Overload 3:*
         Constructor using `fz_open_file_ptr_no_close()`.
        		Create a stream from a FILE * that will not be closed
        		when the stream is dropped.


        |

        *Overload 4:*
         Constructor using `fz_open_memory()`.
        		Open a block of memory as a stream.

        		data: Pointer to start of data block. Ownership of the data
        		block is NOT passed in.

        		len: Number of bytes in data block.

        		Returns pointer to newly created stream. May throw exceptions on
        		failure to allocate.


        |

        *Overload 5:*
         Construct using fz_open_file().

        |

        *Overload 6:*
         Copy constructor using `fz_keep_stream()`.

        |

        *Overload 7:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 8:*
         Constructor using raw copy of pre-existing `::fz_stream`.
        N)r   FzStream_swiginitnew_FzStreamr   s     r   rS   zFzStream.__init__s  s     T 	  v':':D'ABr#   c                 ,    t        j                  |       S r+  )r   FzStream_m_internal_valuerV   s    r   r+  zFzStream.m_internal_value  r,  r#   c                 ,    t        j                  |       S r-   )r   FzStream___nonzero__rV   s    r   r   zFzStream.__nonzero__Ă  rW   r#   r+  N)er   r   r6   r7   r   r   r   r   r   r=  r=  r=  r=  r=  r=  r=  r=  r=  r=  r=  r=  r=  r=  r=  r=  r=  r=  r=  r=  r>  r>  r>  r
>  r>  r>  r>  r>  r>  r>  r >  r$>  r'>  r*>  r.>  r1>  r4>  r7>  r:>  r>>  rA>  rD>  rG>  rL>  rP>  rT>  rX>  r\>  r`>  rd>  rh>  rk>  rn>  rq>  rt>  rw>  r{>  r>  r>  r>  r>  r>  r>  r>  r>  r>  r>  r>  r>  r>  r>  r>  r>  r>  r>  r>  r>  r>  r>  rS   r   delete_FzStreamr   r+  r   r   FzStream_m_internal_getFzStream_m_internal_setr+  FzStream_s_num_instances_getFzStream_s_num_instances_setr+  r$   r#   r   r=  r=  l  s,   	 -/IOdeGHA A7&m$7	/	4>77B2?2?A
Ef.K4
A
RG: 
L	9b(FV K1999E8EI	28:R05
236363636
<6
2A
474747476
6="23982-	EZ	43EWCJCV --61H &88&:X:X^}~JvBBFDgDghOr#   r=  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzStringz%Wrapper class for struct `fz_string`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzString.<lambda>т  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzString.<lambda>т  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)aq  
        *Overload 1:*
        == Constructors.  Constructor using `fz_new_string()`.

        |

        *Overload 2:*
        Copy constructor using `fz_keep_string()`.

        |

        *Overload 3:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 4:*
        Constructor using raw copy of pre-existing `::fz_string`.
        N)r   FzString_swiginitnew_FzStringr   s     r   rS   zFzString.__init__Ԃ  r5  r#   c                 ,    t        j                  |       S r+  )r   FzString_m_internal_valuerV   s    r   r+  zFzString.m_internal_value  r,  r#   c                 ,    t        j                  |       S r-   )r   FzString___nonzero__rV   s    r   r   zFzString.__nonzero__  rW   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzStringr   r+  r   r   FzString_m_internal_getFzString_m_internal_setr+  FzString_s_num_instances_getFzString_s_num_instances_setr+  r$   r#   r   r>  r>  ΂  ss    0-/IOdeGHC* --61H &88&:X:X^}~JvBBFDgDghOr#   r>  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zej                  Zd
 Zd ZeZ eej$                  ej&                  d      Z eej*                  ej,                        Zy)FzStrokeStatez+Wrapper class for struct `fz_stroke_state`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStrokeState.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStrokeState.<lambda>  rL   r#   rM   rN   c                 ,    t        j                  |       S )a+  
        Class-aware wrapper for `::fz_clone_stroke_state()`.
        	Create an identical stroke_state structure and return a
        	reference to it.

        	stroke: The stroke state reference to clone.

        	Exceptions may be thrown in the event of a failure to
        	allocate.
        )r   #FzStrokeState_fz_clone_stroke_staterV   s    r   fz_clone_stroke_statez#FzStrokeState.fz_clone_stroke_state  s     99$??r#   c                 ,    t        j                  |       S )a_  
        Class-aware wrapper for `::fz_unshare_stroke_state()`.
        	Given a reference to a (possibly) shared stroke_state structure,
        	return a reference to an equivalent stroke_state structure
        	that is guaranteed to be unshared (i.e. one that can
        	safely be modified).

        	shared: The reference to a (possibly) shared structure
        	to unshare. Ownership of this reference is passed in
        	to this function, even in the case of exceptions being
        	thrown.

        	Exceptions may be thrown in the event of failure to
        	allocate if required.
        )r   %FzStrokeState_fz_unshare_stroke_staterV   s    r   fz_unshare_stroke_statez%FzStrokeState.fz_unshare_stroke_state  s      ;;DAAr#   c                 .    t        j                  | |      S )a  
        Class-aware wrapper for `::fz_unshare_stroke_state_with_dash_len()`.
        	Given a reference to a (possibly) shared stroke_state structure,
        	return a reference to a stroke_state structure (with room for a
        	given amount of dash data) that is guaranteed to be unshared
        	(i.e. one that can safely be modified).

        	shared: The reference to a (possibly) shared structure
        	to unshare. Ownership of this reference is passed in
        	to this function, even in the case of exceptions being
        	thrown.

        	Exceptions may be thrown in the event of failure to
        	allocate if required.
        )r   3FzStrokeState_fz_unshare_stroke_state_with_dash_lenr>  s     r   %fz_unshare_stroke_state_with_dash_lenz3FzStrokeState.fz_unshare_stroke_state_with_dash_len  s      II$PSTTr#   c                 P    t        j                  | t        j                  |        y)a7  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_stroke_state()`.
        		Create a new (empty) stroke state structure (with no dash
        		data) and return a reference to it.

        		Throws exception on failure to allocate.


        |

        *Overload 2:*
         Constructor using `fz_new_stroke_state_with_dash_len()`.
        		Create a new (empty) stroke state structure, with room for
        		dash data of the given length, and return a reference to it.

        		len: The number of dash elements to allow room for.

        		Throws exception on failure to allocate.


        |

        *Overload 3:*
         Copy constructor using `fz_keep_stroke_state()`.

        |

        *Overload 4:*
         Constructor using raw copy of pre-existing `::fz_stroke_state`.
        N)r   FzStrokeState_swiginitnew_FzStrokeStater   s     r   rS   zFzStrokeState.__init__0  s     @ 	%%dF,D,Dd,KLr#   c                 ,    t        j                  |       S r+  )r   FzStrokeState_m_internal_valuerV   s    r   r+  zFzStrokeState.m_internal_valueS  r0  r#   c                 ,    t        j                  |       S r-   )r   FzStrokeState___nonzero__rV   s    r   r   zFzStrokeState.__nonzero__W  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   r>  r>  r>  rS   r   delete_FzStrokeStater   r+  r   r   FzStrokeState_m_internal_getFzStrokeState_m_internal_setr+  !FzStrokeState_s_num_instances_get!FzStrokeState_s_num_instances_setr+  r$   r#   r   r>  r>    s    6-/IOdeGH@B$U$ MB 22;6H &==v?b?b  iH  IJvGGIqIqrOr#   r>  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzStyleContextzHWrapper class for struct `fz_style_context`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStyleContext.<lambda>d  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStyleContext.<lambda>d  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_style_context`.
        N)r   FzStyleContext_swiginitnew_FzStyleContextr   s     r   rS   zFzStyleContext.__init__g  r+  r#   c                 ,    t        j                  |       S r+  )r   FzStyleContext_m_internal_valuerV   s    r   r+  zFzStyleContext.m_internal_valuet  r+  r#   c                 ,    t        j                  |       S r-   )r   FzStyleContext___nonzero__rV   s    r   r   zFzStyleContext.__nonzero__x  rX  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzStyleContextr   r+  r   r   FzStyleContext_m_internal_getFzStyleContext_m_internal_setr+  "FzStyleContext_s_num_instances_get"FzStyleContext_s_num_instances_setr+  r$   r#   r   r?  r?  a  r2  r#   r?  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zej                  Zd Zd ZeZ eej&                  ej(                  d      Z eej,                  ej.                        Zy)FzTextz#Wrapper class for struct `fz_text`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzText.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzText.<lambda>  rL   r#   rM   rN   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::fz_bound_text()`.
        	Find the bounds of a given text object.

        	text: The text object to find the bounds of.

        	stroke: Pointer to the stroke attributes (for stroked
        	text), or NULL (for filled text).

        	ctm: The matrix in use.

        	r: pointer to storage for the bounds.

        	Returns a pointer to r, which is updated to contain the
        	bounding box for the text object.
        )r   FzText_fz_bound_textrE8  s      r   fz_bound_textzFzText.fz_bound_text  s    " **4==r#   c	                 <    t        j                  | ||||||||	      S )a  
        Class-aware wrapper for `::fz_show_glyph()`.
        	Add a glyph/unicode value to a text object.

        	text: Text object to add to.

        	font: The font the glyph should be added in.

        	trm: The transform to use for the glyph.

        	glyph: The glyph id to add.

        	unicode: The unicode character for the glyph.

        	cid: The CJK CID value or raw character code.

        	wmode: 1 for vertical mode, 0 for horizontal.

        	bidi_level: The bidirectional level for this glyph.

        	markup_dir: The direction of the text as specified in the
        	markup.

        	language: The language in use (if known, 0 otherwise)
        	(e.g. FZ_LANG_zh_Hans).

        	Throws exception on failure to allocate.
        )r   FzText_fz_show_glyph)	r   r  r$	  r[  r  r'	  r*	  r-	  r0	  s	            r   fz_show_glyphzFzText.fz_show_glyph  s(    : **4sE7ES]_iksttr#   c                 @    t        j                  | |||||||||	|
      S z0Class-aware wrapper for `::fz_show_glyph_aux()`.)r   FzText_fz_show_glyph_aux)r   r  r$	  r	  r[  r  r	  r'	  r*	  r-	  r(  s              r   fz_show_glyph_auxzFzText.fz_show_glyph_aux  s,    ..tT3UGUXZ_akmwy}~~r#   c           
      :    t        j                  | |||||||      S )a  
        Class-aware wrapper for `::fz_show_string()`.
        	Add a UTF8 string to a text object.

        	text: Text object to add to.

        	font: The font the string should be added in.

        	trm: The transform to use.

        	s: The utf-8 string to add.

        	wmode: 1 for vertical mode, 0 for horizontal.

        	bidi_level: The bidirectional level for this glyph.

        	markup_dir: The direction of the text as specified in the markup.

        	language: The language in use (if known, 0 otherwise)
        		(e.g. FZ_LANG_zh_Hans).

        	Returns the transform updated with the advance width of the
        	string.
        )r   FzText_fz_show_string)r   r  r$	  r<  r'	  r*	  r-	  r0	  s           r   fz_show_stringzFzText.fz_show_string  s%    2 ++D$QzS]_ghhr#   c                 P    t        j                  | t        j                  |        y)av  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_text()`.
        		Create a new empty fz_text object.

        		Throws exception on failure to allocate.


        |

        *Overload 2:*
         Copy constructor using `fz_keep_text()`.

        |

        *Overload 3:*
         Constructor using raw copy of pre-existing `::fz_text`.
        N)r   FzText_swiginit
new_FzTextr   s     r   rS   zFzText.__init__ك  s    & 	tV%6%6%=>r#   c                 ,    t        j                  |       S r+  )r   FzText_m_internal_valuerV   s    r   r+  zFzText.m_internal_value  r+  r#   c                 ,    t        j                  |       S r-   )r   FzText___nonzero__rV   s    r   r   zFzText.__nonzero__  r  r#   r+  N)r   r   r6   r7   r   r   r   r   r?  r?  r?  r!?  rS   r   delete_FzTextr   r+  r   r   FzText_m_internal_getFzText_m_internal_setr+  FzText_s_num_instances_getFzText_s_num_instances_setr+  r$   r#   r   r?  r?    s    .-/IOdeGH>&u>i6?( ++4/H &668T8TZyzJv@@&BcBcdOr#   r?  c                       e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Zd Zd	 ZeZ ee
j                   e
j"                  d
      Z ee
j&                  e
j(                        Zy)FzTextDecoderz
     Wrapper class for struct `fz_text_decoder`. Not copyable or assignable.
    A text decoder (to read arbitrary encodings and convert to unicode).
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzTextDecoder.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzTextDecoder.<lambda>  rL   r#   rM   rN   c                 .    t        j                  | |      S z3Class-aware wrapper for `::fz_init_text_decoder()`.)r   "FzTextDecoder_fz_init_text_decoder)r   rM  s     r   fz_init_text_decoderz"FzTextDecoder.fz_init_text_decoder  s    88xHHr#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_text_decoder`.
        N)r   FzTextDecoder_swiginitnew_FzTextDecoderr   s     r   rS   zFzTextDecoder.__init__
  r2  r#   c                 ,    t        j                  |       S r+  )r   FzTextDecoder_m_internal_valuerV   s    r   r+  zFzTextDecoder.m_internal_value  r0  r#   c                 ,    t        j                  |       S r-   )r   FzTextDecoder___nonzero__rV   s    r   r   zFzTextDecoder.__nonzero__  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   r5?  rS   r   delete_FzTextDecoderr   r+  r   r   FzTextDecoder_m_internal_getFzTextDecoder_m_internal_setr+  !FzTextDecoder_s_num_instances_get!FzTextDecoder_s_num_instances_setr+  r$   r#   r   r/?  r/?    s    
 -/IOdeGHI
M 22;6H &==v?b?b  iH  IJvGGIqIqrOr#   r/?  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)
FzTextItema  
    Wrapper class for struct `fz_text_item`. Not copyable or assignable.
    Text buffer.

    The trm field contains the a, b, c and d coefficients.
    The e and f coefficients come from the individual elements,
    together they form the transform matrix for the glyph.

    Glyphs are referenced by glyph ID.
    The Unicode text equivalent is kept in a separate array
    with indexes into the glyph array.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzTextItem.<lambda>3  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzTextItem.<lambda>3  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_text_item`.
        N)r   FzTextItem_swiginitnew_FzTextItemr   s     r   rS   zFzTextItem.__init__6  r 4  r#   c                 ,    t        j                  |       S r+  )r   FzTextItem_m_internal_valuerV   s    r   r+  zFzTextItem.m_internal_valueC  r,  r#   c                 ,    t        j                  |       S r-   )r   FzTextItem___nonzero__rV   s    r   r   zFzTextItem.__nonzero__G  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzTextItemr   r+  r   r   FzTextItem_m_internal_getFzTextItem_m_internal_setr+  FzTextItem_s_num_instances_getFzTextItem_s_num_instances_setr+  r$   r#   r   rC?  rC?  %  s~     -/IOdeGH
G //83H &::F<\<\  cB  CJvDDfFkFklOr#   rC?  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zej                  Zd
 Zd ZeZ eej$                  ej&                  d      Z eej*                  ej,                        Zy)
FzTextSpanzDWrapper class for struct `fz_text_span`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzTextSpan.<lambda>T  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzTextSpan.<lambda>T  rL   r#   rM   rN   c                 ,    t        j                  |       S )z-Gives class-aware access to m_internal->font.)r   FzTextSpan_fontrV   s    r   r  zFzTextSpan.fontW  r5  r#   c                 ,    t        j                  |       S )z,Gives class-aware access to m_internal->trm.)r   FzTextSpan_trmrV   s    r   r$	  zFzTextSpan.trm[  s    $$T**r#   c                 .    t        j                  | |      S )z
        Gives access to m_internal->items[i].
        						Returned reference is only valid as long as `this`.
        						Provided mainly for use by SWIG bindings.
        )r   FzTextSpan_itemsr5  s     r   rz  zFzTextSpan.items_  s     &&tQ//r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_text_span`.
        N)r   FzTextSpan_swiginitnew_FzTextSpanr   s     r   rS   zFzTextSpan.__init__g  r 4  r#   c                 ,    t        j                  |       S r+  )r   FzTextSpan_m_internal_valuerV   s    r   r+  zFzTextSpan.m_internal_valuet  r,  r#   c                 ,    t        j                  |       S r-   )r   FzTextSpan___nonzero__rV   s    r   r   zFzTextSpan.__nonzero__x  r  r#   r+  N)r   r   r6   r7   r   r   r   r   r  r$	  rz  rS   r   delete_FzTextSpanr   r+  r   r   FzTextSpan_m_internal_getFzTextSpan_m_internal_setr+  FzTextSpan_s_num_instances_getFzTextSpan_s_num_instances_setr+  r$   r#   r   rS?  rS?  Q  s    O-/IOdeGH,+0
G //83H &::F<\<\  cB  CJvDDfFkFklOr#   rS?  c                   4   e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Z ee
j                  e
j                        Z ee
j                   e
j"                        Z ee
j&                  e
j(                        Z ee
j,                  e
j.                        Z ee
j2                  e
j4                        Z ee
j8                  e
j:                        Z ee
j>                  e
j@                        Z! ee
jD                  e
jF                        Z$d Z%d	 Z&d
 Z'y)FzTransitionz)Wrapper class for struct `fz_transition`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzTransition.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzTransition.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)a_  
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_transition`.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::fz_transition`.
        N)r   FzTransition_swiginitnew_FzTransitionr   s     r   rS   zFzTransition.__init__  s     	$$T6+B+BD+IJr#   c                 .    t        j                  | g| S rg+  )r   FzTransition_internalr   s     r   ri+  zFzTransition.internal  s     ++D8488r#   c                 ,    t        j                  |       S rk+  )r   FzTransition_to_stringrV   s    r   r[+  zFzTransition.to_string  r+  r#   c                 .    t        j                  | |      S ro+  )r   FzTransition___eq__rq+  s     r   r}   zFzTransition.__eq__  r;  r#   c                 .    t        j                  | |      S ro+  )r   FzTransition___ne__rq+  s     r   r   zFzTransition.__ne__  r;  r#   N)(r   r   r6   r7   r   r   r   r   rS   ri+  r   delete_FzTransitionr   FzTransition_type_getFzTransition_type_setr   FzTransition_duration_getFzTransition_duration_setr  FzTransition_vertical_getFzTransition_vertical_setr  FzTransition_outwards_getFzTransition_outwards_setr  FzTransition_direction_getFzTransition_direction_setr
  FzTransition_state0_getFzTransition_state0_setr  FzTransition_state1_getFzTransition_state1_setr   FzTransition_s_num_instances_get FzTransition_s_num_instances_setr+  r[+  r}   r   r$   r#   r   ri?  ri?    s   4-/IOdeGHK"
9 11F00&2N2NOD88&:Z:Z[H88&:Z:Z[H88&:Z:Z[H::F<]<]^If44f6T6TUFf44f6T6TUFvFFHoHopO355r#   ri?  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
ej                  Zd	 Zd
 ZeZ eej"                  ej$                  d      Z eej(                  ej*                        Zy)FzTreezs
    Wrapper class for struct `fz_tree`. Not copyable or assignable.
    AA-tree to look up things by strings.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzTree.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzTree.<lambda>  rL   r#   rM   rN   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_new_tree_archive()`.
        	Create an archive that holds named buffers.

        	tree can either be a preformed tree with fz_buffers as values,
        	or it can be NULL for an empty tree.
        )r   FzTree_fz_new_tree_archiverV   s    r   fz_new_tree_archivezFzTree.fz_new_tree_archiveń  s     0066r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_tree_lookup()`.
        	Look for the value of a node in the tree with the given key.

        	Simple pointer equivalence is used for key.

        	Returns NULL for no match.
        )r   FzTree_fz_tree_lookuprj  s     r   fz_tree_lookupzFzTree.fz_tree_lookupτ  s     ++D#66r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_tree`.
        N)r   FzTree_swiginit
new_FzTreer   s     r   rS   zFzTree.__init__ڄ  r+  r#   c                 ,    t        j                  |       S r+  )r   FzTree_m_internal_valuerV   s    r   r+  zFzTree.m_internal_value  r+  r#   c                 ,    t        j                  |       S r-   )r   FzTree___nonzero__rV   s    r   r   zFzTree.__nonzero__  r  r#   r+  N)r   r   r6   r7   r   r   r   r   r?  r?  rS   r   delete_FzTreer   r+  r   r   FzTree_m_internal_getFzTree_m_internal_setr+  FzTree_s_num_instances_getFzTree_s_num_instances_setr+  r$   r#   r   r?  r?    s    
 -/IOdeGH7	7
? ++4/H &668T8TZyzJv@@&BcBcdOr#   r?  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzTuningContextzIWrapper class for struct `fz_tuning_context`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzTuningContext.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzTuningContext.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_tuning_context`.
        N)r   FzTuningContext_swiginitnew_FzTuningContextr   s     r   rS   zFzTuningContext.__init__       	''f.H.H$.OPr#   c                 ,    t        j                  |       S r+  )r    FzTuningContext_m_internal_valuerV   s    r   r+  z FzTuningContext.m_internal_value  rf4  r#   c                 ,    t        j                  |       S r-   )r   FzTuningContext___nonzero__rV   s    r   r   zFzTuningContext.__nonzero__  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzTuningContextr   r+  r   r   FzTuningContext_m_internal_getFzTuningContext_m_internal_setr+  #FzTuningContext_s_num_instances_get#FzTuningContext_s_num_instances_setr+  r$   r#   r   r?  r?    sz    T-/IOdeGH
Q 44=8H &??AfAf  mL  MJvII6KuKuvOr#   r?  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzVertexz~
    Wrapper class for struct `fz_vertex`. Not copyable or assignable.
    Handy routine for processing mesh based shades
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzVertex.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzVertex.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_vertex`.
        N)r   FzVertex_swiginitnew_FzVertexr   s     r   rS   zFzVertex.__init__  rO4  r#   c                 ,    t        j                  |       S r+  )r   FzVertex_m_internal_valuerV   s    r   r+  zFzVertex.m_internal_value,  r,  r#   c                 ,    t        j                  |       S r-   )r   FzVertex___nonzero__rV   s    r   r   zFzVertex.__nonzero__0  rW   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzVertexr   r+  r   r   FzVertex_m_internal_getFzVertex_m_internal_setr+  FzVertex_s_num_instances_getFzVertex_s_num_instances_setr+  r$   r#   r   r?  r?    sw    
 -/IOdeGH
C --61H &88&:X:X^}~JvBBFDgDghOr#   r?  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzWarnContextzGWrapper class for struct `fz_warn_context`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzWarnContext.<lambda>=  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzWarnContext.<lambda>=  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_warn_context`.
        N)r   FzWarnContext_swiginitnew_FzWarnContextr   s     r   rS   zFzWarnContext.__init__@  r2  r#   c                 ,    t        j                  |       S r+  )r   FzWarnContext_m_internal_valuerV   s    r   r+  zFzWarnContext.m_internal_valueM  r0  r#   c                 ,    t        j                  |       S r-   )r   FzWarnContext___nonzero__rV   s    r   r   zFzWarnContext.__nonzero__Q  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzWarnContextr   r+  r   r   FzWarnContext_m_internal_getFzWarnContext_m_internal_setr+  !FzWarnContext_s_num_instances_get!FzWarnContext_s_num_instances_setr+  r$   r#   r   r?  r?  :  r2  r#   r?  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzWriteStoryPositionzOWrapper class for struct `fz_write_story_position`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzWriteStoryPosition.<lambda>^  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzWriteStoryPosition.<lambda>^  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_write_story_position`.
        N)r   FzWriteStoryPosition_swiginitnew_FzWriteStoryPositionr   s     r   rS   zFzWriteStoryPosition.__init__a  r<  r#   c                 ,    t        j                  |       S r+  )r   %FzWriteStoryPosition_m_internal_valuerV   s    r   r+  z%FzWriteStoryPosition.m_internal_valuen  r-  r#   c                 ,    t        j                  |       S r-   )r    FzWriteStoryPosition___nonzero__rV   s    r   r   z FzWriteStoryPosition.__nonzero__r  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzWriteStoryPositionr   r+  r   r   #FzWriteStoryPosition_m_internal_get#FzWriteStoryPosition_m_internal_setr+  (FzWriteStoryPosition_s_num_instances_get(FzWriteStoryPosition_s_num_instances_setr+  r$   r#   r   r?  r?  [  r<  r#   r?  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzWriteStoryPositionszPWrapper class for struct `fz_write_story_positions`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzWriteStoryPositions.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzWriteStoryPositions.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_write_story_positions`.
        N)r   FzWriteStoryPositions_swiginitnew_FzWriteStoryPositionsr   s     r   rS   zFzWriteStoryPositions.__init__        	--dF4T4TVZ4[\r#   c                 ,    t        j                  |       S r+  )r   &FzWriteStoryPositions_m_internal_valuerV   s    r   r+  z&FzWriteStoryPositions.m_internal_value  r-  r#   c                 ,    t        j                  |       S r-   )r   !FzWriteStoryPositions___nonzero__rV   s    r   r   z!FzWriteStoryPositions.__nonzero__      77==r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzWriteStoryPositionsr   r+  r   r   $FzWriteStoryPositions_m_internal_get$FzWriteStoryPositions_m_internal_setr+  )FzWriteStoryPositions_s_num_instances_get)FzWriteStoryPositions_s_num_instances_setr+  r$   r#   r   r?  r?  |      [-/IOdeGH
] ::C>H &EEvGrGr  yX  YJvOOQW  RB  RB  COr#   r?  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'd& Z(d' Z)d( Z*d) Z+d* Z,d+ Z-d, Z.d- Z/d. Z0d/ Z1d0 Z2d1 Z3d2 Z4d3 Z5d4 Z6d5 Z7d6 Z8e9jt                  Z;d7 Z<d8 Z=e=Z> ee9j~                  e9j                  d9      ZA ee9j                  e9j                        ZDy:);FzXmlzC
    Wrapper class for struct `fz_xml`.
    XML document model
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzXml.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzXml.<lambda>  rL   r#   rM   rN   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_debug_xml()`.
        	Pretty-print an XML tree to stdout. (Deprecated, use
        	fz_output_xml in preference).
        )r   FzXml_fz_debug_xml)r   rN  s     r   fz_debug_xmlzFzXml.fz_debug_xml  s     ((u55r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_detach_xml()`.
        	Detach a node from the tree, unlinking it from its parent,
        	and setting the document root to the node.
        )r   FzXml_fz_detach_xmlrV   s    r   fz_detach_xmlzFzXml.fz_detach_xml       ))$//r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_dom_add_attribute()`.
        	Add an attribute to an element.

        	Ownership of att and value remain with the caller.
        )r   FzXml_fz_dom_add_attribute)r   r  r    s      r   fz_dom_add_attributezFzXml.fz_dom_add_attribute       00sEBBr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_dom_append_child()`.
        	Insert an element as the last child of a parent, unlinking the
        	child from its current position if required.
        )r   FzXml_fz_dom_append_child)r   r  s     r   fz_dom_append_childzFzXml.fz_dom_append_child  s     //e<<r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_dom_attribute()`.
        	Retrieve the value of a given attribute from a given element.

        	Returns a borrowed pointer to the value or NULL if not found.
        )r   FzXml_fz_dom_attributer   r  s     r   fz_dom_attributezFzXml.fz_dom_attributeǅ  s     ,,T377r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_dom_body()`.
        	Return a borrowed reference for the 'body' element of
        	the given DOM.
        )r   FzXml_fz_dom_bodyrV   s    r   fz_dom_bodyzFzXml.fz_dom_bodyЅ       ''--r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_dom_clone()`.
        	Clone an element (and its children).

        	A borrowed reference to the clone is returned. The clone is not
        	yet linked into the DOM.
        )r   FzXml_fz_dom_clonerV   s    r   fz_dom_clonezFzXml.fz_dom_clone؅  s     ((..r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_dom_create_element()`.
        	Create an element of a given tag type for the given DOM.

        	The element is not linked into the DOM yet.
        )r   FzXml_fz_dom_create_elementr   r  s     r   fz_dom_create_elementzFzXml.fz_dom_create_element  r1  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_dom_create_text_node()`.
        	Create a text node for the given DOM.

        	The element is not linked into the DOM yet.
        )r   FzXml_fz_dom_create_text_noder,  s     r   fz_dom_create_text_nodezFzXml.fz_dom_create_text_node  s     33D$??r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_dom_document_element()`.
        	Return a borrowed reference for the document (the top
        	level element) of the DOM.
        )r   FzXml_fz_dom_document_elementrV   s    r   fz_dom_document_elementzFzXml.fz_dom_document_element  rf9  r#   c                 2    t        j                  | |||      S )aZ  
        Class-aware wrapper for `::fz_dom_find()`.
        	Find the first element matching the requirements in a depth first traversal from elt.

        	The tagname must match tag, unless tag is NULL, when all tag names are considered to match.

        	If att is NULL, then all tags match.
        	Otherwise:
        		If match is NULL, then only nodes that have an att attribute match.
        		If match is non-NULL, then only nodes that have an att attribute that matches match match.

        	Returns NULL (if no match found), or a borrowed reference to the first matching element.
        )r   FzXml_fz_dom_findr   r  r  r  s       r   fz_dom_findzFzXml.fz_dom_find  s     ''c3>>r#   c                 2    t        j                  | |||      S )z{
        Class-aware wrapper for `::fz_dom_find_next()`.
        	Find the next element matching the requirements.
        )r   FzXml_fz_dom_find_nextr@  s       r   fz_dom_find_nextzFzXml.fz_dom_find_next  s    
 ,,T3UCCr#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_dom_first_child()`.
        	Return a borrowed reference to the first child of a node,
        	or NULL if there isn't one.
        )r   FzXml_fz_dom_first_childrV   s    r   fz_dom_first_childzFzXml.fz_dom_first_child  r-  r#   c                 0    t        j                  | ||      S )a\  
        Class-aware wrapper for `::fz_dom_get_attribute()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_dom_get_attribute(int i)` => `(const char *, const char *att)`

        	Enumerate through the attributes of an element.

        	Call with i=0,1,2,3... to enumerate attributes.

        	On return *att and the return value will be NULL if there are not
        	that many attributes to read. Otherwise, *att will be filled in
        	with a borrowed pointer to the attribute name, and the return
        	value will be a borrowed pointer to the value.
        )r   FzXml_fz_dom_get_attribute)r   r   r  s      r   fz_dom_get_attributezFzXml.fz_dom_get_attribute  s      00q#>>r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_dom_insert_after()`.
        	Insert an element (new_elt), after another element (node),
        	unlinking the new_elt from its current position if required.
        )r   FzXml_fz_dom_insert_afterr   r  s     r   fz_dom_insert_afterzFzXml.fz_dom_insert_after-  s     //g>>r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_dom_insert_before()`.
        	Insert an element (new_elt), before another element (node),
        	unlinking the new_elt from its current position if required.
        )r   FzXml_fz_dom_insert_beforer(@  s     r   fz_dom_insert_beforezFzXml.fz_dom_insert_before5  s     00w??r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_dom_next()`.
        	Return a borrowed reference to the next sibling of a node,
        	or NULL if there isn't one.
        )r   FzXml_fz_dom_nextrV   s    r   fz_dom_nextzFzXml.fz_dom_next=  r@  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_dom_parent()`.
        	Return a borrowed reference to the parent of a node,
        	or NULL if there isn't one.
        )r   FzXml_fz_dom_parentrV   s    r   fz_dom_parentzFzXml.fz_dom_parentE  r?  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_dom_previous()`.
        	Return a borrowed reference to the previous sibling of a node,
        	or NULL if there isn't one.
        )r   FzXml_fz_dom_previousrV   s    r   fz_dom_previouszFzXml.fz_dom_previousM  r=  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_dom_remove()`.
        	Remove an element from the DOM. The element can be added back elsewhere
        	if required.

        	No reference counting changes for the element.
        )r   FzXml_fz_dom_removerV   s    r   fz_dom_removezFzXml.fz_dom_removeU  s     ))$//r#   c                 .    t        j                  | |      S )zv
        Class-aware wrapper for `::fz_dom_remove_attribute()`.
        	Remove an attribute from an element.
        )r   FzXml_fz_dom_remove_attributer@  s     r   fz_dom_remove_attributezFzXml.fz_dom_remove_attribute_  s    
 33D#>>r#   c                 6    t        j                  | |||||      S )aX  
        Class-aware wrapper for `::fz_new_display_list_from_svg_xml()`.

        This method has out-params. Python/C# wrappers look like:
        	`fz_new_display_list_from_svg_xml(::fz_xml *xml, const char *base_uri, ::fz_archive *dir)` => `(fz_display_list *, float w, float h)`

        	Parse an SVG document into a display-list.
        )r   &FzXml_fz_new_display_list_from_svg_xml)r   r  r_  r
  r7  r:  s         r    fz_new_display_list_from_svg_xmlz&FzXml.fz_new_display_list_from_svg_xmlf  s"     <<T3RUWXZ[\\r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_new_dom_node()`.
        	Create a new dom node.

        	This will NOT be linked in yet.
        )r   FzXml_fz_new_dom_noder@  s     r   fz_new_dom_nodezFzXml.fz_new_dom_nodeq  s     ++D#66r#   c                 .    t        j                  | g| S )a^  
        *Overload 1:*
         Class-aware wrapper for `::fz_new_dom_text_node()`.
        		Create a new dom text node.

        		This will NOT be linked in yet.


        |

        *Overload 2:*
         Class-aware wrapper for `::fz_new_dom_text_node()`.
        		Create a new dom text node.

        		This will NOT be linked in yet.
        )r   FzXml_fz_new_dom_text_noder   s     r   fz_new_dom_text_nodezFzXml.fz_new_dom_text_nodez  s    " 00===r#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::fz_new_image_from_svg_xml()`.
        	Create a scalable image from an SVG document.
        )r   FzXml_fz_new_image_from_svg_xml)r   r  r_  r
  s       r   fz_new_image_from_svg_xmlzFzXml.fz_new_image_from_svg_xml  s    
 55dC3OOr#   c                 0    t        j                  | ||      S )zp
        Class-aware wrapper for `::fz_save_xml()`.
        	As for fz_write_xml, but direct to a file.
        )r   FzXml_fz_save_xml)r   r  r+  s      r   fz_save_xmlzFzXml.fz_save_xml  s    
 ''dH==r#   c                 0    t        j                  | ||      S )aC  
        Class-aware wrapper for `::fz_write_xml()`.
        	Write our xml structure out to an xml stream.

        	Properly formatted XML is only allowed to have a single top-level node
        	under which everything must sit. Our structures allow for multiple
        	top level nodes. If required, we will output an extra 'ROOT' node
        	at the top so that the xml is well-formed.

        	If 'indented' is non-zero then additional whitespace will be added to
        	make the XML easier to read in a text editor. It will NOT be properly
        	compliant.
        )r   FzXml_fz_write_xml)r   rl  r+  s      r   fz_write_xmlzFzXml.fz_write_xml  s     ((sH==r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_xml_att()`.
        	Return the value of an attribute of an XML node.
        	NULL if the attribute doesn't exist.
        )r   FzXml_fz_xml_attr@  s     r   
fz_xml_attzFzXml.fz_xml_att  s     &&tS11r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_xml_att_alt()`.
        	Return the value of an attribute of an XML node.
        	If the first attribute doesn't exist, try the second.
        	NULL if neither attribute exists.
        )r   FzXml_fz_xml_att_alt)r   r!  r!  s      r   fz_xml_att_altzFzXml.fz_xml_att_alt  s     **4c::r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::fz_xml_att_eq()`.
        	Check for a matching attribute on an XML node.

        	If the node has the requested attribute (name), and the value
        	matches (match) then return 1. Otherwise, 0.
        )r   FzXml_fz_xml_att_eq)r   r   r  s      r   fz_xml_att_eqzFzXml.fz_xml_att_eq  s     ))$e<<r#   c                 ,    t        j                  |       S )ze
        Class-aware wrapper for `::fz_xml_down()`.
        	Return first child of XML node.
        )r   FzXml_fz_xml_downrV   s    r   fz_xml_downzFzXml.fz_xml_downƆ      
 ''--r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_xml_find()`.
        	Search the siblings of XML nodes starting with item looking for
        	the first with the given tag.

        	Return NULL if none found.
        )r   FzXml_fz_xml_findr@  s     r   fz_xml_findzFzXml.fz_xml_find͆  s     ''c22r#   c                 2    t        j                  | |||      S )a8  
        Class-aware wrapper for `::fz_xml_find_dfs()`.
        	Perform a depth first search from item, returning the first
        	child that matches the given tag (or any tag if tag is NULL),
        	with the given attribute (if att is non NULL), that matches
        	match (if match is non NULL).
        )r   FzXml_fz_xml_find_dfsr@  s       r   fz_xml_find_dfszFzXml.fz_xml_find_dfs׆  s     ++D#sEBBr#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_xml_find_dfs_top()`.
        	Perform a depth first search from item, returning the first
        	child that matches the given tag (or any tag if tag is NULL),
        	with the given attribute (if att is non NULL), that matches
        	match (if match is non NULL). The search stops if it ever
        	reaches the top of the tree, or the declared 'top' item.
        )r   FzXml_fz_xml_find_dfs_topr   r  r  r  r  s        r   fz_xml_find_dfs_topzFzXml.fz_xml_find_dfs_top  s     //c3sKKr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_xml_find_down()`.
        	Search the siblings of XML nodes starting with the first child
        	of item looking for the first with the given tag.

        	Return NULL if none found.
        )r   FzXml_fz_xml_find_downr@  s     r   fz_xml_find_downzFzXml.fz_xml_find_down       ,,T377r#   c                 2    t        j                  | |||      S )a3  
        Class-aware wrapper for `::fz_xml_find_down_match()`.
        	Search the siblings of XML nodes starting with the first child
        	of item looking for the first with the given tag (or any tag if
        	tag is NULL), and with a matching attribute.

        	Return NULL if none found.
        )r   FzXml_fz_xml_find_down_matchr@  s       r   fz_xml_find_down_matchzFzXml.fz_xml_find_down_match       224c5IIr#   c                 2    t        j                  | |||      S )a  
        Class-aware wrapper for `::fz_xml_find_match()`.
        	Search the siblings of XML nodes starting with item looking for
        	the first with the given tag (or any tag if tag is NULL), and
        	with a matching attribute.

        	Return NULL if none found.
        )r   FzXml_fz_xml_find_matchr@  s       r   fz_xml_find_matchzFzXml.fz_xml_find_match  s     --dCeDDr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::fz_xml_find_next()`.
        	Search the siblings of XML nodes starting with the first sibling
        	of item looking for the first with the given tag.

        	Return NULL if none found.
        )r   FzXml_fz_xml_find_nextr@  s     r   fz_xml_find_nextzFzXml.fz_xml_find_next  rh@  r#   c                 2    t        j                  | |||      S )aE  
        Class-aware wrapper for `::fz_xml_find_next_dfs()`.
        	Perform a depth first search onwards from item, returning the first
        	child that matches the given tag (or any tag if tag is NULL),
        	with the given attribute (if att is non NULL), that matches
        	match (if match is non NULL).
        )r   FzXml_fz_xml_find_next_dfsr@  s       r   fz_xml_find_next_dfszFzXml.fz_xml_find_next_dfs  s     00sCGGr#   c                 4    t        j                  | ||||      S )a  
        Class-aware wrapper for `::fz_xml_find_next_dfs_top()`.
        	Perform a depth first search onwards from item, returning the first
        	child that matches the given tag (or any tag if tag is NULL),
        	with the given attribute (if att is non NULL), that matches
        	match (if match is non NULL). The search stops if it ever reaches
        	the top of the tree, or the declared 'top' item.
        )r   FzXml_fz_xml_find_next_dfs_toprc@  s        r   fz_xml_find_next_dfs_topzFzXml.fz_xml_find_next_dfs_top   s     44T3UCPPr#   c                 2    t        j                  | |||      S )a5  
        Class-aware wrapper for `::fz_xml_find_next_match()`.
        	Search the siblings of XML nodes starting with the first sibling
        	of item looking for the first with the given tag (or any tag if tag
        	is NULL), and with a matching attribute.

        	Return NULL if none found.
        )r   FzXml_fz_xml_find_next_matchr@  s       r   fz_xml_find_next_matchzFzXml.fz_xml_find_next_match+  rl@  r#   c                 .    t        j                  | |      S )zl
        Class-aware wrapper for `::fz_xml_is_tag()`.
        	Return true if the tag name matches.
        )r   FzXml_fz_xml_is_tagr+  s     r   fz_xml_is_tagzFzXml.fz_xml_is_tag6  s    
 ))$55r#   c                 ,    t        j                  |       S )zf
        Class-aware wrapper for `::fz_xml_next()`.
        	Return next sibling of XML node.
        )r   FzXml_fz_xml_nextrV   s    r   fz_xml_nextzFzXml.fz_xml_next=  rZ@  r#   c                 ,    t        j                  |       S )zj
        Class-aware wrapper for `::fz_xml_prev()`.
        	Return previous sibling of XML node.
        )r   FzXml_fz_xml_prevrV   s    r   fz_xml_prevzFzXml.fz_xml_prevD  rZ@  r#   c                 ,    t        j                  |       S )zp
        Class-aware wrapper for `::fz_xml_root()`.
        	Return the topmost XML node of a document.
        )r   FzXml_fz_xml_rootrV   s    r   fz_xml_rootzFzXml.fz_xml_rootK  rZ@  r#   c                 ,    t        j                  |       S )zx
        Class-aware wrapper for `::fz_xml_tag()`.
        	Return tag of XML node. Return NULL for text nodes.
        )r   FzXml_fz_xml_tagrV   s    r   
fz_xml_tagzFzXml.fz_xml_tagR  r>  r#   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_xml_text()`.
        	Return the text content of an XML node.
        	Return NULL if the node is a tag.
        )r   FzXml_fz_xml_textrV   s    r   fz_xml_textzFzXml.fz_xml_textY  r@  r#   c                 ,    t        j                  |       S )z^
        Class-aware wrapper for `::fz_xml_up()`.
        	Return parent of XML node.
        )r   FzXml_fz_xml_uprV   s    r   	fz_xml_upzFzXml.fz_xml_upa  s    
 %%d++r#   c                 P    t        j                  | t        j                  |        y)a5  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_dom()`.
        		Make new xml dom root element.


        |

        *Overload 2:*
         Constructor using `fz_new_dom_node()`.
        		Create a new dom node.

        		This will NOT be linked in yet.


        |

        *Overload 3:*
         Copy constructor using `fz_keep_xml()`.

        |

        *Overload 4:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 5:*
         Constructor using raw copy of pre-existing `::fz_xml`.
        N)r   FzXml_swiginit	new_FzXmlr   s     r   rS   zFzXml.__init__h  s    > 	dF$4$4d$;<r#   c                 ,    t        j                  |       S r+  )r   FzXml_m_internal_valuerV   s    r   r+  zFzXml.m_internal_value  r+  r#   c                 ,    t        j                  |       S r-   )r   FzXml___nonzero__rV   s    r   r   zFzXml.__nonzero__  r   r#   r+  N)Er   r   r6   r7   r   r   r   r   r?  r?  r?  r@  r@  r
@  r@  r@  r@  r@  r@  r@  r"@  r%@  r)@  r,@  r/@  r2@  r5@  r8@  r;@  r>@  rA@  rD@  rG@  rJ@  rM@  rP@  rS@  rV@  rY@  r]@  r`@  rd@  rg@  rk@  ro@  rr@  ru@  rx@  r{@  r~@  r@  r@  r@  r@  r@  r@  rS   r   delete_FzXmlr   r+  r   r   FzXml_m_internal_getFzXml_m_internal_setr+  FzXml_s_num_instances_getFzXml_s_num_instances_setr+  r$   r#   r   r?  r?    st   
 -/IOdeGH60C=8./=@:? D5?$?@.020?	]7>&P>> 2;=.3C	L8	J	E8H	Q	J6...-.,=@ **3.H &55v7R7RXwxJv??AaAabOr#   r?  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)FzXmlDoczBWrapper class for struct `fz_xml_doc`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzXmlDoc.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzXmlDoc.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::fz_xml_doc`.
        N)r   FzXmlDoc_swiginitnew_FzXmlDocr   s     r   rS   zFzXmlDoc.__init__  rO4  r#   c                 ,    t        j                  |       S r+  )r   FzXmlDoc_m_internal_valuerV   s    r   r+  zFzXmlDoc.m_internal_value  r,  r#   c                 ,    t        j                  |       S r-   )r   FzXmlDoc___nonzero__rV   s    r   r   zFzXmlDoc.__nonzero__  rW   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzXmlDocr   r+  r   r   FzXmlDoc_m_internal_getFzXmlDoc_m_internal_setr+  FzXmlDoc_s_num_instances_getFzXmlDoc_s_num_instances_setr+  r$   r#   r   r@  r@    ss    M-/IOdeGH
C --61H &88&:X:X^}~JvBBFDgDghOr#   r@  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
ej                  Zd	 Zd
 ZeZ eej"                  ej$                  d      Z eej(                  ej*                        Zy)FzZipWriterz
    Wrapper class for struct `fz_zip_writer`. Not copyable or assignable.
    fz_zip_writer offers methods for creating and writing zip files.
    It can be seen as the reverse of the fz_archive zip
    implementation.
    c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzZipWriter.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzZipWriter.<lambda>  rL   r#   rM   rN   c                 ,    t        j                  |       S )z
        Class-aware wrapper for `::fz_close_zip_writer()`.
        	Close the zip file for writing.

        	This flushes any pending data to the file. This can throw
        	exceptions.
        )r   FzZipWriter_fz_close_zip_writerrV   s    r   fz_close_zip_writerzFzZipWriter.fz_close_zip_writerć  r-  r#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::fz_write_zip_entry()`.
        	Given a buffer of data, (optionally) compress it, and add it to
        	the zip file with the given name.
        )r   FzZipWriter_fz_write_zip_entry)r   r   rb  r  s       r   fz_write_zip_entryzFzZipWriter.fz_write_zip_entry·  s     44T4hOOr#   c                 P    t        j                  | t        j                  |        y)a>  
        *Overload 1:*
         == Constructors.  Constructor using `fz_new_zip_writer()`.
        		Create a new zip writer that writes to a given file.

        		Open an archive using a seekable stream object rather than
        		opening a file or directory on disk.


        |

        *Overload 2:*
         Constructor using `fz_new_zip_writer_with_output()`.
        		Create a new zip writer that writes to a given output stream.

        		Ownership of out passes in immediately upon calling this function.
        		The caller should never drop the fz_output, even if this function throws
        		an exception.


        |

        *Overload 3:*
         Default constructor, sets `m_internal` to null.

        |

        *Overload 4:*
         Constructor using raw copy of pre-existing `::fz_zip_writer`.
        N)r   FzZipWriter_swiginitnew_FzZipWriterr   s     r   rS   zFzZipWriter.__init__և  s    > 	##D&*@*@$*GHr#   c                 ,    t        j                  |       S r+  )r   FzZipWriter_m_internal_valuerV   s    r   r+  zFzZipWriter.m_internal_value  r2  r#   c                 ,    t        j                  |       S r-   )r   FzZipWriter___nonzero__rV   s    r   r   zFzZipWriter.__nonzero__  rs   r#   r+  N)r   r   r6   r7   r   r   r   r   r@  r@  rS   r   delete_FzZipWriterr   r+  r   r   FzZipWriter_m_internal_getFzZipWriter_m_internal_setr+  FzZipWriter_s_num_instances_getFzZipWriter_s_num_instances_setr+  r$   r#   r   r@  r@    s     -/IOdeGH<PI@ 0094H &;;V=^=^  eD  EJvEEvGmGmnOr#   r@  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfAlertEventzGWrapper class for struct `pdf_alert_event`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfAlertEvent.<lambda>	  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfAlertEvent.<lambda>	  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_alert_event`.
        N)r   PdfAlertEvent_swiginitnew_PdfAlertEventr   s     r   rS   zPdfAlertEvent.__init__  r2  r#   c                 ,    t        j                  |       S r+  )r   PdfAlertEvent_m_internal_valuerV   s    r   r+  zPdfAlertEvent.m_internal_value  r0  r#   c                 ,    t        j                  |       S r-   )r   PdfAlertEvent___nonzero__rV   s    r   r   zPdfAlertEvent.__nonzero__  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfAlertEventr   r+  r   r   PdfAlertEvent_m_internal_getPdfAlertEvent_m_internal_setr+  !PdfAlertEvent_s_num_instances_get!PdfAlertEvent_s_num_instances_setr+  r$   r#   r   r@  r@    r2  r#   r@  c                   
   e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'd& Z(d' Z)d( Z*d) Z+d* Z,d+ Z-d, Z.d- Z/d. Z0d/ Z1d0 Z2d1 Z3d2 Z4d3 Z5d4 Z6d5 Z7d6 Z8d7 Z9d8 Z:d9 Z;d: Z<d; Z=d< Z>d= Z?d> Z@d? ZAd@ ZBdA ZCdB ZDdC ZEdD ZFdE ZGdF ZHdG ZIdH ZJdI ZKdJ ZLdK ZMdL ZNdM ZOdN ZPdO ZQdP ZRdQ ZSdR ZTdS ZUdT ZVdU ZWdV ZXdW ZYdX ZZdY Z[dZ Z\d[ Z]d\ Z^d] Z_d^ Z`d_ Zad` Zbda Zcdb Zddc Zedd Zfde Zgdf Zhdg Zidh Zjdi Zkdj Zldk Zmdl Zndm Zodn Zpdo Zqdp Zrdq Zsdr Ztds Zudt Zvdu Zwdv Zxdw Zydx Zzdy Z{dz Z|d{ Z}d| Z~d} Zd~ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zejx                  Zd Zd ZeZ eej                  ej                  d      Z eej                  ej                        Zy)PdfAnnotz%Wrapper class for struct `pdf_annot`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfAnnot.<lambda>*  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfAnnot.<lambda>*  rL   r#   rM   rN   c                 .    t        j                  | |      S z=Class-aware wrapper for `::pdf_add_annot_border_dash_item()`.)r   'PdfAnnot_pdf_add_annot_border_dash_item)r   re  s     r   pdf_add_annot_border_dash_itemz'PdfAnnot.pdf_add_annot_border_dash_item-  s    ==dFKKr#   c                 ,    t        j                  |       S z<Class-aware wrapper for `::pdf_add_annot_ink_list_stroke()`.)r   &PdfAnnot_pdf_add_annot_ink_list_strokerV   s    r   pdf_add_annot_ink_list_strokez&PdfAnnot.pdf_add_annot_ink_list_stroke1  r-  r#   c                 .    t        j                  | |      S zCClass-aware wrapper for `::pdf_add_annot_ink_list_stroke_vertex()`.)r   -PdfAnnot_pdf_add_annot_ink_list_stroke_vertexr0  s     r   $pdf_add_annot_ink_list_stroke_vertexz-PdfAnnot.pdf_add_annot_ink_list_stroke_vertex5  s    CCD!LLr#   c                 .    t        j                  | |      S z7Class-aware wrapper for `::pdf_add_annot_quad_point()`.)r   !PdfAnnot_pdf_add_annot_quad_point)r   r
  s     r   pdf_add_annot_quad_pointz!PdfAnnot.pdf_add_annot_quad_point9      77dCCr#   c                 .    t        j                  | |      S z3Class-aware wrapper for `::pdf_add_annot_vertex()`.)r   PdfAnnot_pdf_add_annot_vertexr0  s     r   pdf_add_annot_vertexzPdfAnnot.pdf_add_annot_vertex=      33D!<<r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::pdf_annot_MK_BC()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_annot_MK_BC(float color[4])` => int n
        )r   PdfAnnot_pdf_annot_MK_BCr   r[   r  s      r   pdf_annot_MK_BCzPdfAnnot.pdf_annot_MK_BCA       ..tQ>>r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_annot_MK_BC_rgb()`.)r   PdfAnnot_pdf_annot_MK_BC_rgbr   r  s     r   pdf_annot_MK_BC_rgbzPdfAnnot.pdf_annot_MK_BC_rgbJ      224==r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::pdf_annot_MK_BG()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_annot_MK_BG(float color[4])` => int n
        )r   PdfAnnot_pdf_annot_MK_BGr@  s      r   pdf_annot_MK_BGzPdfAnnot.pdf_annot_MK_BGN  r@  r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_annot_MK_BG_rgb()`.)r   PdfAnnot_pdf_annot_MK_BG_rgbr@  s     r   pdf_annot_MK_BG_rgbzPdfAnnot.pdf_annot_MK_BG_rgbW  r@  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_annot_active()`.)r   PdfAnnot_pdf_annot_activerV   s    r   pdf_annot_activezPdfAnnot.pdf_annot_active[  r,  r#   c                 ,    t        j                  |       S z+Class-aware wrapper for `::pdf_annot_ap()`.)r   PdfAnnot_pdf_annot_aprV   s    r   pdf_annot_apzPdfAnnot.pdf_annot_ap_  rm+  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_annot_author()`.)r   PdfAnnot_pdf_annot_authorrV   s    r   pdf_annot_authorzPdfAnnot.pdf_annot_authorc  r,  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_annot_border()`.)r   PdfAnnot_pdf_annot_borderrV   s    r   pdf_annot_borderzPdfAnnot.pdf_annot_borderg  r,  r#   c                 ,    t        j                  |       S z:Class-aware wrapper for `::pdf_annot_border_dash_count()`.)r   $PdfAnnot_pdf_annot_border_dash_countrV   s    r   pdf_annot_border_dash_countz$PdfAnnot.pdf_annot_border_dash_countk  r-  r#   c                 .    t        j                  | |      S z9Class-aware wrapper for `::pdf_annot_border_dash_item()`.)r   #PdfAnnot_pdf_annot_border_dash_itemr5  s     r   pdf_annot_border_dash_itemz#PdfAnnot.pdf_annot_border_dash_itemo  s    99$BBr#   c                 ,    t        j                  |       S z6Class-aware wrapper for `::pdf_annot_border_effect()`.)r    PdfAnnot_pdf_annot_border_effectrV   s    r   pdf_annot_border_effectz PdfAnnot.pdf_annot_border_effects  rf4  r#   c                 ,    t        j                  |       S z@Class-aware wrapper for `::pdf_annot_border_effect_intensity()`.)r   *PdfAnnot_pdf_annot_border_effect_intensityrV   s    r   !pdf_annot_border_effect_intensityz*PdfAnnot.pdf_annot_border_effect_intensityw  r3  r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_annot_border_style()`.)r   PdfAnnot_pdf_annot_border_stylerV   s    r   pdf_annot_border_stylezPdfAnnot.pdf_annot_border_style{  r+  r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_annot_border_width()`.)r   PdfAnnot_pdf_annot_border_widthrV   s    r   pdf_annot_border_widthzPdfAnnot.pdf_annot_border_width  r+  r#   c                 ,    t        j                  |       S z6Class-aware wrapper for `::pdf_annot_callout_point()`.)r    PdfAnnot_pdf_annot_callout_pointrV   s    r   pdf_annot_callout_pointz PdfAnnot.pdf_annot_callout_point  rf4  r#   c                 ,    t        j                  |       S z6Class-aware wrapper for `::pdf_annot_callout_style()`.)r    PdfAnnot_pdf_annot_callout_stylerV   s    r   pdf_annot_callout_stylez PdfAnnot.pdf_annot_callout_style  rf4  r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::pdf_annot_color()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_annot_color(float color[4])` => int n
        )r   PdfAnnot_pdf_annot_colorr@  s      r   pdf_annot_colorzPdfAnnot.pdf_annot_color  r@  r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_annot_contents()`.)r   PdfAnnot_pdf_annot_contentsrV   s    r   pdf_annot_contentszPdfAnnot.pdf_annot_contents  r,  r#   c                 ,    t        j                  |       S z6Class-aware wrapper for `::pdf_annot_creation_date()`.)r    PdfAnnot_pdf_annot_creation_daterV   s    r   pdf_annot_creation_datez PdfAnnot.pdf_annot_creation_date  rf4  r#   c                 4    t        j                  | ||||      S )z
        Class-aware wrapper for `::pdf_annot_default_appearance()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_annot_default_appearance(float color[4])` => `(const char *font, float size, int n)`
        )r   %PdfAnnot_pdf_annot_default_appearancer   r  r   r[   r  s        r   pdf_annot_default_appearancez%PdfAnnot.pdf_annot_default_appearance  s     ;;D$aQVWWr#   c                 6    t        j                  | |||||      S )a  
        Class-aware wrapper for `::pdf_annot_default_appearance_unmapped()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_annot_default_appearance_unmapped(char *font_name, int font_name_len, float color[4])` => `(float size, int n)`
        )r   .PdfAnnot_pdf_annot_default_appearance_unmapped)r   rU"  rV"  r   r[   r  s         r   %pdf_annot_default_appearance_unmappedz.PdfAnnot.pdf_annot_default_appearance_unmapped  s#     DDT9Vceiklnsttr#   c                 ,    t        j                  |       S z:Class-aware wrapper for `::pdf_annot_ensure_local_xref()`.)r   $PdfAnnot_pdf_annot_ensure_local_xrefrV   s    r   pdf_annot_ensure_local_xrefz$PdfAnnot.pdf_annot_ensure_local_xref  r-  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::pdf_annot_event_blur()`.)r   PdfAnnot_pdf_annot_event_blurrV   s    r   pdf_annot_event_blurzPdfAnnot.pdf_annot_event_blur  rK,  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::pdf_annot_event_down()`.)r   PdfAnnot_pdf_annot_event_downrV   s    r   pdf_annot_event_downzPdfAnnot.pdf_annot_event_down  rK,  r#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::pdf_annot_event_enter()`.)r   PdfAnnot_pdf_annot_event_enterrV   s    r   pdf_annot_event_enterzPdfAnnot.pdf_annot_event_enter  r0  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::pdf_annot_event_exit()`.)r   PdfAnnot_pdf_annot_event_exitrV   s    r   pdf_annot_event_exitzPdfAnnot.pdf_annot_event_exit  rK,  r#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::pdf_annot_event_focus()`.)r   PdfAnnot_pdf_annot_event_focusrV   s    r   pdf_annot_event_focuszPdfAnnot.pdf_annot_event_focus  r0  r#   c                 ,    t        j                  |       S z9Class-aware wrapper for `::pdf_annot_event_page_close()`.)r   #PdfAnnot_pdf_annot_event_page_closerV   s    r   pdf_annot_event_page_closez#PdfAnnot.pdf_annot_event_page_closeƈ  r-  r#   c                 ,    t        j                  |       S z=Class-aware wrapper for `::pdf_annot_event_page_invisible()`.)r   'PdfAnnot_pdf_annot_event_page_invisiblerV   s    r   pdf_annot_event_page_invisiblez'PdfAnnot.pdf_annot_event_page_invisibleʈ  r[0  r#   c                 ,    t        j                  |       S z8Class-aware wrapper for `::pdf_annot_event_page_open()`.)r   "PdfAnnot_pdf_annot_event_page_openrV   s    r   pdf_annot_event_page_openz"PdfAnnot.pdf_annot_event_page_openΈ  r-  r#   c                 ,    t        j                  |       S z;Class-aware wrapper for `::pdf_annot_event_page_visible()`.)r   %PdfAnnot_pdf_annot_event_page_visiblerV   s    r   pdf_annot_event_page_visiblez%PdfAnnot.pdf_annot_event_page_visible҈  r-  r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_annot_event_up()`.)r   PdfAnnot_pdf_annot_event_uprV   s    r   pdf_annot_event_upzPdfAnnot.pdf_annot_event_upֈ  r,  r#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::pdf_annot_field_flags()`.)r   PdfAnnot_pdf_annot_field_flagsrV   s    r   pdf_annot_field_flagszPdfAnnot.pdf_annot_field_flagsڈ  r0  r#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::pdf_annot_field_label()`.)r   PdfAnnot_pdf_annot_field_labelrV   s    r   pdf_annot_field_labelzPdfAnnot.pdf_annot_field_labelވ  r0  r#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::pdf_annot_field_value()`.)r   PdfAnnot_pdf_annot_field_valuerV   s    r   pdf_annot_field_valuezPdfAnnot.pdf_annot_field_value  r0  r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_annot_filespec()`.)r   PdfAnnot_pdf_annot_filespecrV   s    r   pdf_annot_filespeczPdfAnnot.pdf_annot_filespec  r,  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_annot_flags()`.)r   PdfAnnot_pdf_annot_flagsrV   s    r   pdf_annot_flagszPdfAnnot.pdf_annot_flags  r8/  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::pdf_annot_has_author()`.)r   PdfAnnot_pdf_annot_has_authorrV   s    r   pdf_annot_has_authorzPdfAnnot.pdf_annot_has_author  rK,  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::pdf_annot_has_border()`.)r   PdfAnnot_pdf_annot_has_borderrV   s    r   pdf_annot_has_borderzPdfAnnot.pdf_annot_has_border  rK,  r#   c                 ,    t        j                  |       S z:Class-aware wrapper for `::pdf_annot_has_border_effect()`.)r   $PdfAnnot_pdf_annot_has_border_effectrV   s    r   pdf_annot_has_border_effectz$PdfAnnot.pdf_annot_has_border_effect  r-  r#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::pdf_annot_has_callout()`.)r   PdfAnnot_pdf_annot_has_calloutrV   s    r   pdf_annot_has_calloutzPdfAnnot.pdf_annot_has_callout  r0  r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_annot_has_filespec()`.)r   PdfAnnot_pdf_annot_has_filespecrV   s    r   pdf_annot_has_filespeczPdfAnnot.pdf_annot_has_filespec  r+  r#   c                 ,    t        j                  |       S z6Class-aware wrapper for `::pdf_annot_has_icon_name()`.)r    PdfAnnot_pdf_annot_has_icon_namerV   s    r   pdf_annot_has_icon_namez PdfAnnot.pdf_annot_has_icon_name  rf4  r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_annot_has_ink_list()`.)r   PdfAnnot_pdf_annot_has_ink_listrV   s    r   pdf_annot_has_ink_listzPdfAnnot.pdf_annot_has_ink_list  r+  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::pdf_annot_has_intent()`.)r   PdfAnnot_pdf_annot_has_intentrV   s    r   pdf_annot_has_intentzPdfAnnot.pdf_annot_has_intent
  rK,  r#   c                 ,    t        j                  |       S z;Class-aware wrapper for `::pdf_annot_has_interior_color()`.)r   %PdfAnnot_pdf_annot_has_interior_colorrV   s    r   pdf_annot_has_interior_colorz%PdfAnnot.pdf_annot_has_interior_color  r-  r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_annot_has_line()`.)r   PdfAnnot_pdf_annot_has_linerV   s    r   pdf_annot_has_linezPdfAnnot.pdf_annot_has_line  r,  r#   c                 ,    t        j                  |       S z?Class-aware wrapper for `::pdf_annot_has_line_ending_styles()`.)r   )PdfAnnot_pdf_annot_has_line_ending_stylesrV   s    r    pdf_annot_has_line_ending_stylesz)PdfAnnot.pdf_annot_has_line_ending_styles  r-  r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_annot_has_open()`.)r   PdfAnnot_pdf_annot_has_openrV   s    r   pdf_annot_has_openzPdfAnnot.pdf_annot_has_open  r,  r#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_annot_has_popup()`.)r   PdfAnnot_pdf_annot_has_popuprV   s    r   pdf_annot_has_popupzPdfAnnot.pdf_annot_has_popup  r2  r#   c                 ,    t        j                  |       S z8Class-aware wrapper for `::pdf_annot_has_quad_points()`.)r   "PdfAnnot_pdf_annot_has_quad_pointsrV   s    r   pdf_annot_has_quad_pointsz"PdfAnnot.pdf_annot_has_quad_points"  r-  r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_annot_has_quadding()`.)r   PdfAnnot_pdf_annot_has_quaddingrV   s    r   pdf_annot_has_quaddingzPdfAnnot.pdf_annot_has_quadding&  r+  r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_annot_has_rect()`.)r   PdfAnnot_pdf_annot_has_rectrV   s    r   pdf_annot_has_rectzPdfAnnot.pdf_annot_has_rect*  r,  r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_annot_has_vertices()`.)r   PdfAnnot_pdf_annot_has_verticesrV   s    r   pdf_annot_has_verticeszPdfAnnot.pdf_annot_has_vertices.  r+  r#   c                 ,    t        j                  |       S z;Class-aware wrapper for `::pdf_annot_hidden_for_editing()`.)r   %PdfAnnot_pdf_annot_hidden_for_editingrV   s    r   pdf_annot_hidden_for_editingz%PdfAnnot.pdf_annot_hidden_for_editing2  r-  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_annot_hot()`.)r   PdfAnnot_pdf_annot_hotrV   s    r   pdf_annot_hotzPdfAnnot.pdf_annot_hot6  r+  r#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_annot_icon_name()`.)r   PdfAnnot_pdf_annot_icon_namerV   s    r   pdf_annot_icon_namezPdfAnnot.pdf_annot_icon_name:  r2  r#   c                 ,    t        j                  |       S z7Class-aware wrapper for `::pdf_annot_ink_list_count()`.)r   !PdfAnnot_pdf_annot_ink_list_countrV   s    r   pdf_annot_ink_list_countz!PdfAnnot.pdf_annot_ink_list_count>  r,  r#   c                 .    t        j                  | |      S z>Class-aware wrapper for `::pdf_annot_ink_list_stroke_count()`.)r   (PdfAnnot_pdf_annot_ink_list_stroke_countr5  s     r   pdf_annot_ink_list_stroke_countz(PdfAnnot.pdf_annot_ink_list_stroke_countB  s    >>tQGGr#   c                 0    t        j                  | ||      S z?Class-aware wrapper for `::pdf_annot_ink_list_stroke_vertex()`.)r   )PdfAnnot_pdf_annot_ink_list_stroke_vertex)r   r   r  s      r    pdf_annot_ink_list_stroke_vertexz)PdfAnnot.pdf_annot_ink_list_stroke_vertexF  s    ??aKKr#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_annot_intent()`.)r   PdfAnnot_pdf_annot_intentrV   s    r   pdf_annot_intentzPdfAnnot.pdf_annot_intentJ  r,  r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::pdf_annot_interior_color()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_annot_interior_color(float color[4])` => int n
        )r   !PdfAnnot_pdf_annot_interior_colorr@  s      r   pdf_annot_interior_colorz!PdfAnnot.pdf_annot_interior_colorN  s     77aGGr#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::pdf_annot_is_open()`.)r   PdfAnnot_pdf_annot_is_openrV   s    r   pdf_annot_is_openzPdfAnnot.pdf_annot_is_openW  r,  r#   c                 ,    t        j                  |       S z:Class-aware wrapper for `::pdf_annot_is_standard_stamp()`.)r   $PdfAnnot_pdf_annot_is_standard_stamprV   s    r   pdf_annot_is_standard_stampz$PdfAnnot.pdf_annot_is_standard_stamp[  r-  r#   c                 0    t        j                  | ||      S z-Class-aware wrapper for `::pdf_annot_line()`.)r   PdfAnnot_pdf_annot_liner   r  r  s      r   pdf_annot_linezPdfAnnot.pdf_annot_line_  s    --dAq99r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_annot_line_caption()`.)r   PdfAnnot_pdf_annot_line_captionrV   s    r   pdf_annot_line_captionzPdfAnnot.pdf_annot_line_captionc  r+  r#   c                 ,    t        j                  |       S z<Class-aware wrapper for `::pdf_annot_line_caption_offset()`.)r   &PdfAnnot_pdf_annot_line_caption_offsetrV   s    r   pdf_annot_line_caption_offsetz&PdfAnnot.pdf_annot_line_caption_offsetg  r-  r#   c                 ,    t        j                  |       S z7Class-aware wrapper for `::pdf_annot_line_end_style()`.)r   !PdfAnnot_pdf_annot_line_end_stylerV   s    r   pdf_annot_line_end_stylez!PdfAnnot.pdf_annot_line_end_stylek  r,  r#   c                 0    t        j                  | ||      S )a  
        Class-aware wrapper for `::pdf_annot_line_ending_styles()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_annot_line_ending_styles()` => `(enum pdf_line_ending start_style, enum pdf_line_ending end_style)`
        )r   %PdfAnnot_pdf_annot_line_ending_stylesr   r"  r"  s      r   pdf_annot_line_ending_stylesz%PdfAnnot.pdf_annot_line_ending_styleso  s     ;;D+yYYr#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::pdf_annot_line_leader()`.)r   PdfAnnot_pdf_annot_line_leaderrV   s    r   pdf_annot_line_leaderzPdfAnnot.pdf_annot_line_leaderx  r0  r#   c                 ,    t        j                  |       S z>Class-aware wrapper for `::pdf_annot_line_leader_extension()`.)r   (PdfAnnot_pdf_annot_line_leader_extensionrV   s    r   pdf_annot_line_leader_extensionz(PdfAnnot.pdf_annot_line_leader_extension|  r.,  r#   c                 ,    t        j                  |       S z;Class-aware wrapper for `::pdf_annot_line_leader_offset()`.)r   %PdfAnnot_pdf_annot_line_leader_offsetrV   s    r   pdf_annot_line_leader_offsetz%PdfAnnot.pdf_annot_line_leader_offset  r-  r#   c                 ,    t        j                  |       S z9Class-aware wrapper for `::pdf_annot_line_start_style()`.)r   #PdfAnnot_pdf_annot_line_start_stylerV   s    r   pdf_annot_line_start_stylez#PdfAnnot.pdf_annot_line_start_style  r-  r#   c                 ,    t        j                  |       S z:Class-aware wrapper for `::pdf_annot_modification_date()`.)r   $PdfAnnot_pdf_annot_modification_daterV   s    r   pdf_annot_modification_datez$PdfAnnot.pdf_annot_modification_date  r-  r#   c                 ,    t        j                  |       S z:Class-aware wrapper for `::pdf_annot_needs_resynthesis()`.)r   $PdfAnnot_pdf_annot_needs_resynthesisrV   s    r   pdf_annot_needs_resynthesisz$PdfAnnot.pdf_annot_needs_resynthesis  r-  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_annot_obj()`.)r   PdfAnnot_pdf_annot_objrV   s    r   pdf_annot_objzPdfAnnot.pdf_annot_obj  r+  r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::pdf_annot_opacity()`.)r   PdfAnnot_pdf_annot_opacityrV   s    r   pdf_annot_opacityzPdfAnnot.pdf_annot_opacity  r,  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_annot_page()`.)r   PdfAnnot_pdf_annot_pagerV   s    r   pdf_annot_pagezPdfAnnot.pdf_annot_page  r+  r#   c                 ,    t        j                  |       S zCClass-aware wrapper for `::pdf_annot_pop_and_discard_local_xref()`.)r   -PdfAnnot_pdf_annot_pop_and_discard_local_xrefrV   s    r   $pdf_annot_pop_and_discard_local_xrefz-PdfAnnot.pdf_annot_pop_and_discard_local_xref  r.  r#   c                 ,    t        j                  |       S z7Class-aware wrapper for `::pdf_annot_pop_local_xref()`.)r   !PdfAnnot_pdf_annot_pop_local_xrefrV   s    r   pdf_annot_pop_local_xrefz!PdfAnnot.pdf_annot_pop_local_xref  r,  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_annot_popup()`.)r   PdfAnnot_pdf_annot_popuprV   s    r   pdf_annot_popupzPdfAnnot.pdf_annot_popup  r8/  r#   c                 ,    t        j                  |       S z8Class-aware wrapper for `::pdf_annot_push_local_xref()`.)r   "PdfAnnot_pdf_annot_push_local_xrefrV   s    r   pdf_annot_push_local_xrefz"PdfAnnot.pdf_annot_push_local_xref  r-  r#   c                 .    t        j                  | |      S z3Class-aware wrapper for `::pdf_annot_quad_point()`.)r   PdfAnnot_pdf_annot_quad_pointr5  s     r   pdf_annot_quad_pointzPdfAnnot.pdf_annot_quad_point  r@  r#   c                 ,    t        j                  |       S z9Class-aware wrapper for `::pdf_annot_quad_point_count()`.)r   #PdfAnnot_pdf_annot_quad_point_countrV   s    r   pdf_annot_quad_point_countz#PdfAnnot.pdf_annot_quad_point_count  r-  r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_annot_quadding()`.)r   PdfAnnot_pdf_annot_quaddingrV   s    r   pdf_annot_quaddingzPdfAnnot.pdf_annot_quadding  r,  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_annot_rect()`.)r   PdfAnnot_pdf_annot_rectrV   s    r   pdf_annot_rectzPdfAnnot.pdf_annot_rect  r+  r#   c                 ,    t        j                  |       S z<Class-aware wrapper for `::pdf_annot_request_resynthesis()`.)r   &PdfAnnot_pdf_annot_request_resynthesisrV   s    r   pdf_annot_request_resynthesisz&PdfAnnot.pdf_annot_request_resynthesis  r-  r#   c                 ,    t        j                  |       S z:Class-aware wrapper for `::pdf_annot_request_synthesis()`.)r   $PdfAnnot_pdf_annot_request_synthesisrV   s    r   pdf_annot_request_synthesisz$PdfAnnot.pdf_annot_request_synthesis  r-  r#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_annot_transform()`.)r   PdfAnnot_pdf_annot_transformrV   s    r   pdf_annot_transformzPdfAnnot.pdf_annot_transformĉ  r2  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_annot_type()`.)r   PdfAnnot_pdf_annot_typerV   s    r   pdf_annot_typezPdfAnnot.pdf_annot_typeȉ  r+  r#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_annot_vertex()`.)r   PdfAnnot_pdf_annot_vertexr5  s     r   pdf_annot_vertexzPdfAnnot.pdf_annot_vertex̉      //a88r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_annot_vertex_count()`.)r   PdfAnnot_pdf_annot_vertex_countrV   s    r   pdf_annot_vertex_countzPdfAnnot.pdf_annot_vertex_countЉ  r+  r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_apply_redaction()`.)r   PdfAnnot_pdf_apply_redactionr1  s     r   pdf_apply_redactionzPdfAnnot.pdf_apply_redactionԉ      224>>r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_bound_annot()`.)r   PdfAnnot_pdf_bound_annotrV   s    r   pdf_bound_annotzPdfAnnot.pdf_bound_annot؉  r8/  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_bound_widget()`.)r   PdfAnnot_pdf_bound_widgetrV   s    r   pdf_bound_widgetzPdfAnnot.pdf_bound_widget܉  r,  r#   c                 ,    t        j                  |       S z?Class-aware wrapper for `::pdf_choice_widget_is_multiselect()`.)r   )PdfAnnot_pdf_choice_widget_is_multiselectrV   s    r    pdf_choice_widget_is_multiselectz)PdfAnnot.pdf_choice_widget_is_multiselect  r-  r#   c                 0    t        j                  | ||      S z8Class-aware wrapper for `::pdf_choice_widget_options()`.)r   "PdfAnnot_pdf_choice_widget_options)r   r#  r  s      r   pdf_choice_widget_optionsz"PdfAnnot.pdf_choice_widget_options  s    88y$OOr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::pdf_choice_widget_options2()`.   Swig-friendly wrapper for pdf_choice_widget_options(), returns the
        options directly in a vector.
        )r   #PdfAnnot_pdf_choice_widget_options2)r   r#  s     r   pdf_choice_widget_options2z#PdfAnnot.pdf_choice_widget_options2  s    
 99$	JJr#   c                 0    t        j                  | ||      S z:Class-aware wrapper for `::pdf_choice_widget_set_value()`.)r   $PdfAnnot_pdf_choice_widget_set_value)r   r[   r  s      r   pdf_choice_widget_set_valuez$PdfAnnot.pdf_choice_widget_set_value  s    ::4DIIr#   c                 .    t        j                  | |      S z6Class-aware wrapper for `::pdf_choice_widget_value()`.)r    PdfAnnot_pdf_choice_widget_valuer1  s     r   pdf_choice_widget_valuez PdfAnnot.pdf_choice_widget_value      66tTBBr#   c                 ,    t        j                  |       S z:Class-aware wrapper for `::pdf_clear_annot_border_dash()`.)r   $PdfAnnot_pdf_clear_annot_border_dashrV   s    r   pdf_clear_annot_border_dashz$PdfAnnot.pdf_clear_annot_border_dash  r-  r#   c                 ,    t        j                  |       S z7Class-aware wrapper for `::pdf_clear_annot_ink_list()`.)r   !PdfAnnot_pdf_clear_annot_ink_listrV   s    r   pdf_clear_annot_ink_listz!PdfAnnot.pdf_clear_annot_ink_list  r,  r#   c                 ,    t        j                  |       S z:Class-aware wrapper for `::pdf_clear_annot_quad_points()`.)r   $PdfAnnot_pdf_clear_annot_quad_pointsrV   s    r   pdf_clear_annot_quad_pointsz$PdfAnnot.pdf_clear_annot_quad_points  r-  r#   c                 ,    t        j                  |       S z7Class-aware wrapper for `::pdf_clear_annot_vertices()`.)r   !PdfAnnot_pdf_clear_annot_verticesrV   s    r   pdf_clear_annot_verticesz!PdfAnnot.pdf_clear_annot_vertices  r,  r#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_clear_signature()`.)r   PdfAnnot_pdf_clear_signaturerV   s    r   pdf_clear_signaturezPdfAnnot.pdf_clear_signature  r2  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_dirty_annot()`.)r   PdfAnnot_pdf_dirty_annotrV   s    r   pdf_dirty_annotzPdfAnnot.pdf_dirty_annot  r8/  r#   c                 6    t        j                  | |||||      S )a  
        Class-aware wrapper for `::pdf_edit_text_field_value()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_edit_text_field_value(const char *value, const char *change)` => `(int, int selStart, int selEnd, char *newvalue)`
        )r   "PdfAnnot_pdf_edit_text_field_value)r   r    r7  r:  r=  r^%  s         r   pdf_edit_text_field_valuez"PdfAnnot.pdf_edit_text_field_value  s!     88ufhX^`hiir#   c                 ,    t        j                  |       S z;Class-aware wrapper for `::pdf_get_widget_editing_state()`.)r   %PdfAnnot_pdf_get_widget_editing_staterV   s    r   pdf_get_widget_editing_statez%PdfAnnot.pdf_get_widget_editing_state  r-  r#   c                 ,    t        j                  |       S zJClass-aware wrapper for `::pdf_incremental_change_since_signing_widget()`.)r   4PdfAnnot_pdf_incremental_change_since_signing_widgetrV   s    r   +pdf_incremental_change_since_signing_widgetz4PdfAnnot.pdf_incremental_change_since_signing_widget  s    JJ4PPr#   c                 ,    t        j                  |       S z>Class-aware wrapper for `::pdf_new_display_list_from_annot()`.)r   (PdfAnnot_pdf_new_display_list_from_annotrV   s    r   pdf_new_display_list_from_annotz(PdfAnnot.pdf_new_display_list_from_annot   r.,  r#   c                 4    t        j                  | ||||      S z8Class-aware wrapper for `::pdf_new_pixmap_from_annot()`.)r   "PdfAnnot_pdf_new_pixmap_from_annotr0  s        r   pdf_new_pixmap_from_annotz"PdfAnnot.pdf_new_pixmap_from_annot$  s    88sBeTTr#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_next_annot()`.)r   PdfAnnot_pdf_next_annotrV   s    r   pdf_next_annotzPdfAnnot.pdf_next_annot(  r+  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_next_widget()`.)r   PdfAnnot_pdf_next_widgetrV   s    r   pdf_next_widgetzPdfAnnot.pdf_next_widget,  r8/  r#   c                 2    t        j                  | |||      S z,Class-aware wrapper for `::pdf_run_annot()`.)r   PdfAnnot_pdf_run_annotr   rT  rW  r  s       r   pdf_run_annotzPdfAnnot.pdf_run_annot0  s    ,,T3VDDr#   c                 .    t        j                  | |      S z3Class-aware wrapper for `::pdf_set_annot_active()`.)r   PdfAnnot_pdf_set_annot_active)r   r*)  s     r   pdf_set_annot_activezPdfAnnot.pdf_set_annot_active4      33D&AAr#   c           	      8    t        j                  | ||||||      S z7Class-aware wrapper for `::pdf_set_annot_appearance()`.)r   !PdfAnnot_pdf_set_annot_appearance)r   r/)  r  rW  r  r#  r  s          r   pdf_set_annot_appearancez!PdfAnnot.pdf_set_annot_appearance8  s#    77j%QTVZ\_aijjr#   c                 4    t        j                  | ||||      S zIClass-aware wrapper for `::pdf_set_annot_appearance_from_display_list()`.)r   3PdfAnnot_pdf_set_annot_appearance_from_display_list)r   r/)  r  rW  r  s        r   *pdf_set_annot_appearance_from_display_listz3PdfAnnot.pdf_set_annot_appearance_from_display_list<  s    II$PZ\acfhlmmr#   c                 .    t        j                  | |      S z3Class-aware wrapper for `::pdf_set_annot_author()`.)r   PdfAnnot_pdf_set_annot_author)r   r6)  s     r   pdf_set_annot_authorzPdfAnnot.pdf_set_annot_author@  rB  r#   c                 .    t        j                  | |      S z3Class-aware wrapper for `::pdf_set_annot_border()`.)r   PdfAnnot_pdf_set_annot_borderr   r
  s     r   pdf_set_annot_borderzPdfAnnot.pdf_set_annot_borderD  r52  r#   c                 .    t        j                  | |      S z:Class-aware wrapper for `::pdf_set_annot_border_effect()`.)r   $PdfAnnot_pdf_set_annot_border_effect)r   r=)  s     r   pdf_set_annot_border_effectz$PdfAnnot.pdf_set_annot_border_effectH  r7  r#   c                 .    t        j                  | |      S zDClass-aware wrapper for `::pdf_set_annot_border_effect_intensity()`.)r   .PdfAnnot_pdf_set_annot_border_effect_intensity)r   rB)  s     r   %pdf_set_annot_border_effect_intensityz.PdfAnnot.pdf_set_annot_border_effect_intensityL  s    DDT9UUr#   c                 .    t        j                  | |      S z9Class-aware wrapper for `::pdf_set_annot_border_style()`.)r   #PdfAnnot_pdf_set_annot_border_styler   r  s     r   pdf_set_annot_border_stylez#PdfAnnot.pdf_set_annot_border_styleP      99$FFr#   c                 .    t        j                  | |      S z9Class-aware wrapper for `::pdf_set_annot_border_width()`.)r   #PdfAnnot_pdf_set_annot_border_widthrB  s     r   pdf_set_annot_border_widthz#PdfAnnot.pdf_set_annot_border_widthT  rB  r#   c                 .    t        j                  | |      S ztClass-aware wrapper for `::pdf_set_annot_callout_line2()`.   SWIG-friendly wrapper for pdf_set_annot_callout_line().)r   $PdfAnnot_pdf_set_annot_callout_line2)r   rC"  s     r   pdf_set_annot_callout_line2z$PdfAnnot.pdf_set_annot_callout_line2X  s    ::4IIr#   c                 .    t        j                  | |      S z:Class-aware wrapper for `::pdf_set_annot_callout_point()`.)r   $PdfAnnot_pdf_set_annot_callout_pointr0  s     r   pdf_set_annot_callout_pointz$PdfAnnot.pdf_set_annot_callout_point\  s    ::4CCr#   c                 .    t        j                  | |      S z:Class-aware wrapper for `::pdf_set_annot_callout_style()`.)r   $PdfAnnot_pdf_set_annot_callout_stylerB  s     r   pdf_set_annot_callout_stylez$PdfAnnot.pdf_set_annot_callout_style`  r,  r#   c                 0    t        j                  | ||      S z2Class-aware wrapper for `::pdf_set_annot_color()`.)r   PdfAnnot_pdf_set_annot_colorr@  s      r   pdf_set_annot_colorzPdfAnnot.pdf_set_annot_colord  s    224EBBr#   c                 .    t        j                  | |      S z5Class-aware wrapper for `::pdf_set_annot_contents()`.)r   PdfAnnot_pdf_set_annot_contentsr,  s     r   pdf_set_annot_contentszPdfAnnot.pdf_set_annot_contentsh  r=  r#   c                 .    t        j                  | |      S z:Class-aware wrapper for `::pdf_set_annot_creation_date()`.)r   $PdfAnnot_pdf_set_annot_creation_dater   rc  s     r   pdf_set_annot_creation_datez$PdfAnnot.pdf_set_annot_creation_datel  r1  r#   c                 4    t        j                  | ||||      S z?Class-aware wrapper for `::pdf_set_annot_default_appearance()`.)r   )PdfAnnot_pdf_set_annot_default_appearancer<A  s        r    pdf_set_annot_default_appearancez)PdfAnnot.pdf_set_annot_default_appearancep  s    ??dDRSUZ[[r#   c                 .    t        j                  | |      S z5Class-aware wrapper for `::pdf_set_annot_filespec()`.)r   PdfAnnot_pdf_set_annot_filespecr   rh  s     r   pdf_set_annot_filespeczPdfAnnot.pdf_set_annot_filespect      55dC@@r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_set_annot_flags()`.)r   PdfAnnot_pdf_set_annot_flags)r   r"  s     r   pdf_set_annot_flagszPdfAnnot.pdf_set_annot_flagsx  s    224??r#   c                 .    t        j                  | |      S z?Class-aware wrapper for `::pdf_set_annot_hidden_for_editing()`.)r   )PdfAnnot_pdf_set_annot_hidden_for_editing)r   r  s     r    pdf_set_annot_hidden_for_editingz)PdfAnnot.pdf_set_annot_hidden_for_editing|  s    ??fMMr#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::pdf_set_annot_hot()`.)r   PdfAnnot_pdf_set_annot_hot)r   rn)  s     r   pdf_set_annot_hotzPdfAnnot.pdf_set_annot_hot  rZ:  r#   c                 .    t        j                  | |      S z6Class-aware wrapper for `::pdf_set_annot_icon_name()`.)r    PdfAnnot_pdf_set_annot_icon_namer+  s     r   pdf_set_annot_icon_namez PdfAnnot.pdf_set_annot_icon_name  r~B  r#   c                 2    t        j                  | |||      S z5Class-aware wrapper for `::pdf_set_annot_ink_list()`.)r   PdfAnnot_pdf_set_annot_ink_list)r   r[   r  rK   s       r   pdf_set_annot_ink_listzPdfAnnot.pdf_set_annot_ink_list  s    55dAuaHHr#   c                 .    t        j                  | |      S z3Class-aware wrapper for `::pdf_set_annot_intent()`.)r   PdfAnnot_pdf_set_annot_intent)r   ry)  s     r   pdf_set_annot_intentzPdfAnnot.pdf_set_annot_intent  s    33D"==r#   c                 0    t        j                  | ||      S z;Class-aware wrapper for `::pdf_set_annot_interior_color()`.)r   %PdfAnnot_pdf_set_annot_interior_colorr@  s      r   pdf_set_annot_interior_colorz%PdfAnnot.pdf_set_annot_interior_color  s    ;;D!UKKr#   c                 .    t        j                  | |      S z4Class-aware wrapper for `::pdf_set_annot_is_open()`.)r   PdfAnnot_pdf_set_annot_is_open)r   rR  s     r   pdf_set_annot_is_openzPdfAnnot.pdf_set_annot_is_open  r;1  r#   c                 .    t        j                  | |      S z5Class-aware wrapper for `::pdf_set_annot_language()`.)r   PdfAnnot_pdf_set_annot_languager;  s     r   pdf_set_annot_languagezPdfAnnot.pdf_set_annot_language  r=  r#   c                 0    t        j                  | ||      S z1Class-aware wrapper for `::pdf_set_annot_line()`.)r   PdfAnnot_pdf_set_annot_linerA  s      r   pdf_set_annot_linezPdfAnnot.pdf_set_annot_line  s    11$1==r#   c                 .    t        j                  | |      S z9Class-aware wrapper for `::pdf_set_annot_line_caption()`.)r   #PdfAnnot_pdf_set_annot_line_caption)r   r  s     r   pdf_set_annot_line_captionz#PdfAnnot.pdf_set_annot_line_caption      99$DDr#   c                 .    t        j                  | |      S z@Class-aware wrapper for `::pdf_set_annot_line_caption_offset()`.)r   *PdfAnnot_pdf_set_annot_line_caption_offsetr9  s     r   !pdf_set_annot_line_caption_offsetz*PdfAnnot.pdf_set_annot_line_caption_offset  s    @@vNNr#   c                 .    t        j                  | |      S z;Class-aware wrapper for `::pdf_set_annot_line_end_style()`.)r   %PdfAnnot_pdf_set_annot_line_end_style)r   r  s     r   pdf_set_annot_line_end_stylez%PdfAnnot.pdf_set_annot_line_end_style  s    ;;D!DDr#   c                 0    t        j                  | ||      S z?Class-aware wrapper for `::pdf_set_annot_line_ending_styles()`.)r   )PdfAnnot_pdf_set_annot_line_ending_stylesrA  s      r    pdf_set_annot_line_ending_stylesz)PdfAnnot.pdf_set_annot_line_ending_styles  s    ??kS\]]r#   c                 .    t        j                  | |      S z8Class-aware wrapper for `::pdf_set_annot_line_leader()`.)r   "PdfAnnot_pdf_set_annot_line_leader)r   r  s     r   pdf_set_annot_line_leaderz"PdfAnnot.pdf_set_annot_line_leader  s    88rBBr#   c                 .    t        j                  | |      S zBClass-aware wrapper for `::pdf_set_annot_line_leader_extension()`.)r   ,PdfAnnot_pdf_set_annot_line_leader_extension)r   r)  s     r   #pdf_set_annot_line_leader_extensionz,PdfAnnot.pdf_set_annot_line_leader_extension  s    BB4MMr#   c                 .    t        j                  | |      S z?Class-aware wrapper for `::pdf_set_annot_line_leader_offset()`.)r   )PdfAnnot_pdf_set_annot_line_leader_offset)r   r)  s     r    pdf_set_annot_line_leader_offsetz)PdfAnnot.pdf_set_annot_line_leader_offset      ??cJJr#   c                 .    t        j                  | |      S z=Class-aware wrapper for `::pdf_set_annot_line_start_style()`.)r   'PdfAnnot_pdf_set_annot_line_start_stylerN7  s     r   pdf_set_annot_line_start_stylez'PdfAnnot.pdf_set_annot_line_start_style  s    ==dAFFr#   c                 .    t        j                  | |      S z>Class-aware wrapper for `::pdf_set_annot_modification_date()`.)r   (PdfAnnot_pdf_set_annot_modification_daterB  s     r   pdf_set_annot_modification_datez(PdfAnnot.pdf_set_annot_modification_date  r;  r#   c                 .    t        j                  | |      S z4Class-aware wrapper for `::pdf_set_annot_opacity()`.)r   PdfAnnot_pdf_set_annot_opacity)r   r)  s     r   pdf_set_annot_opacityzPdfAnnot.pdf_set_annot_opacityĊ  r;1  r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_set_annot_popup()`.)r   PdfAnnot_pdf_set_annot_popupr5  s     r   pdf_set_annot_popupzPdfAnnot.pdf_set_annot_popupȊ  rbB  r#   c                 0    t        j                  | ||      S z8Class-aware wrapper for `::pdf_set_annot_quad_points()`.)r   "PdfAnnot_pdf_set_annot_quad_points)r   r[   r)  s      r   pdf_set_annot_quad_pointsz"PdfAnnot.pdf_set_annot_quad_points̊  s    88q"EEr#   c                 .    t        j                  | |      S z5Class-aware wrapper for `::pdf_set_annot_quadding()`.)r   PdfAnnot_pdf_set_annot_quaddingr]:  s     r   pdf_set_annot_quaddingzPdfAnnot.pdf_set_annot_quaddingЊ  s    55dA>>r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_set_annot_rect()`.)r   PdfAnnot_pdf_set_annot_rectr5  s     r   pdf_set_annot_rectzPdfAnnot.pdf_set_annot_rectԊ  s    11$==r#   c                 ,    t        j                  |       S z:Class-aware wrapper for `::pdf_set_annot_resynthesised()`.)r   $PdfAnnot_pdf_set_annot_resynthesisedrV   s    r   pdf_set_annot_resynthesisedz$PdfAnnot.pdf_set_annot_resynthesised؊  r-  r#   c                 .    t        j                  | |      S z8Class-aware wrapper for `::pdf_set_annot_stamp_image()`.)r   "PdfAnnot_pdf_set_annot_stamp_imager,  s     r   pdf_set_annot_stamp_imagez"PdfAnnot.pdf_set_annot_stamp_image܊      88uEEr#   c                 0    t        j                  | ||      S z3Class-aware wrapper for `::pdf_set_annot_vertex()`.)r   PdfAnnot_pdf_set_annot_vertex)r   r   r  s      r   pdf_set_annot_vertexzPdfAnnot.pdf_set_annot_vertex  s    33D!Q??r#   c                 0    t        j                  | ||      S z5Class-aware wrapper for `::pdf_set_annot_vertices()`.)r   PdfAnnot_pdf_set_annot_vertices)r   r[   rK   s      r   pdf_set_annot_verticeszPdfAnnot.pdf_set_annot_vertices  s    55dAqAAr#   c                 .    t        j                  | |      S z9Class-aware wrapper for `::pdf_set_choice_field_value()`.)r   #PdfAnnot_pdf_set_choice_field_valuer39  s     r   pdf_set_choice_field_valuez#PdfAnnot.pdf_set_choice_field_value  rB  r#   c                 .    t        j                  | |      S z7Class-aware wrapper for `::pdf_set_text_field_value()`.)r   !PdfAnnot_pdf_set_text_field_valuer39  s     r   pdf_set_text_field_valuez!PdfAnnot.pdf_set_text_field_value  s    77eDDr#   c                 .    t        j                  | |      S z;Class-aware wrapper for `::pdf_set_widget_editing_state()`.)r   %PdfAnnot_pdf_set_widget_editing_state)r   r)  s     r   pdf_set_widget_editing_statez%PdfAnnot.pdf_set_widget_editing_state  s    ;;D'JJr#   c                 6    t        j                  | |||||      S z1Class-aware wrapper for `::pdf_sign_signature()`.)r   PdfAnnot_pdf_sign_signature)r   r  r(  r(  r(  r(  s         r   pdf_sign_signaturezPdfAnnot.pdf_sign_signature  s!    11$@PRY[ackllr#   c                 2    t        j                  | |||      S zAClass-aware wrapper for `::pdf_sign_signature_with_appearance()`.)r   +PdfAnnot_pdf_sign_signature_with_appearance)r   r  r *  r*  s       r   "pdf_sign_signature_with_appearancez+PdfAnnot.pdf_sign_signature_with_appearance  s    AA$PTV_``r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_text_widget_format()`.)r   PdfAnnot_pdf_text_widget_formatrV   s    r   pdf_text_widget_formatzPdfAnnot.pdf_text_widget_format  r+  r#   c                 ,    t        j                  |       S z6Class-aware wrapper for `::pdf_text_widget_max_len()`.)r    PdfAnnot_pdf_text_widget_max_lenrV   s    r   pdf_text_widget_max_lenz PdfAnnot.pdf_text_widget_max_len   rf4  r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::pdf_toggle_widget()`.)r   PdfAnnot_pdf_toggle_widgetrV   s    r   pdf_toggle_widgetzPdfAnnot.pdf_toggle_widget  r,  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_update_annot()`.)r   PdfAnnot_pdf_update_annotrV   s    r   pdf_update_annotzPdfAnnot.pdf_update_annot  r,  r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::pdf_update_widget()`.)r   PdfAnnot_pdf_update_widgetrV   s    r   pdf_update_widgetzPdfAnnot.pdf_update_widget  r,  r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_validate_signature()`.)r   PdfAnnot_pdf_validate_signaturerV   s    r   pdf_validate_signaturezPdfAnnot.pdf_validate_signature  r+  r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_widget_is_readonly()`.)r   PdfAnnot_pdf_widget_is_readonlyrV   s    r   pdf_widget_is_readonlyzPdfAnnot.pdf_widget_is_readonly  r+  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::pdf_widget_is_signed()`.)r   PdfAnnot_pdf_widget_is_signedrV   s    r   pdf_widget_is_signedzPdfAnnot.pdf_widget_is_signed  rK,  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_widget_type()`.)r   PdfAnnot_pdf_widget_typerV   s    r   pdf_widget_typezPdfAnnot.pdf_widget_type  r8/  r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        Copy constructor using `pdf_keep_annot()`.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_annot`.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_annot`.
        N)r   PdfAnnot_swiginitnew_PdfAnnotr   s     r   rS   zPdfAnnot.__init__   s     	  v':':D'ABr#   c                 ,    t        j                  |       S r+  )r   PdfAnnot_m_internal_valuerV   s    r   r+  zPdfAnnot.m_internal_value2  r,  r#   c                 ,    t        j                  |       S r-   )r   PdfAnnot___nonzero__rV   s    r   r   zPdfAnnot.__nonzero__6  rW   r#   r+  N)r   r   r6   r7   r   r   r   r   r@  r@  r@  r@  r@  r@  r@  r@  r@  rA  rA  r
A  rA  rA  rA  rA  rA  r"A  r&A  r*A  r.A  r1A  r5A  r9A  r=A  r@A  rDA  rHA  rLA  rPA  rTA  rXA  r\A  r`A  rdA  rhA  rlA  rpA  rtA  rxA  r|A  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  r B  rB  rB  rB  rB  rB  rB  rB  r B  r$B  r(B  r,B  r0B  r4B  r8B  r<B  r@B  rDB  rHB  rLB  rPB  rTB  rXB  r]B  raB  rfB  rjB  rnB  rrB  ruB  ryB  r}B  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  rB  r C  rC  r	C  rC  rC  rC  rC  rC  r!C  r%C  r)C  r-C  r2C  r6C  r:C  r>C  rBC  rFC  rKC  rOC  rSC  rWC  r[C  r_C  rcC  rgC  rkC  rpC  rtC  rxC  r|C  rC  rC  rC  rC  rC  rC  rC  rC  rC  rC  rC  rC  rS   r   delete_PdfAnnotr   r+  r   r   PdfAnnot_m_internal_getPdfAnnot_m_internal_setr+  PdfAnnot_s_num_instances_getPdfAnnot_s_num_instances_setr+  r$   r#   r   r@  r@  '  sF   0-/IOdeGHLCMD=?>?>6266AC=G<<==?8=XuA::;:;@D?B8;;;85::A;<=<:B8F89?<8<B39>HL6H7A:<C>Z;EB@AA374J>5?=@84CA949<?56FPKJCA>A>95jBQEU45EBknBAIVGGJDHCBG\A@N<CI>LDB>EOE^CNKGKD?F?>AF@BGEKma<=767<<:5C  --61H &88&:X:X^}~JvBBFDgDghOr#   r@  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zej                  Z eej                  ej                         Z eej$                  ej&                        Z eej*                  ej,                        Z eej0                  ej2                        Z eej6                  ej8                        Zd
 Zd Zd Z y)PdfCleanOptionsz-Wrapper class for struct `pdf_clean_options`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfCleanOptions.<lambda>C  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfCleanOptions.<lambda>C  rL   r#   rM   rN   c                 .    t        j                  | |      S )z%Copies <text> into write.opwd_utf8[].)r   #PdfCleanOptions_write_opwd_utf8_setr,  s     r   write_opwd_utf8_setz#PdfCleanOptions.write_opwd_utf8_setF      99$EEr#   c                 .    t        j                  | |      S zCopies <text> into upwd_utf8[].)r   #PdfCleanOptions_write_upwd_utf8_setr,  s     r   write_upwd_utf8_setz#PdfCleanOptions.write_upwd_utf8_setJ  rC  r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        Default constructor, makes copy of pdf_default_write_options.

        |

        *Overload 2:*
        Copy constructor using raw memcopy().

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_clean_options`.

        |

        *Overload 4:*
        Constructor using raw copy of pre-existing `::pdf_clean_options`.
        N)r   PdfCleanOptions_swiginitnew_PdfCleanOptionsr   s     r   rS   zPdfCleanOptions.__init__N      ( 	''f.H.H$.OPr#   c                 .    t        j                  | g| S rg+  )r   PdfCleanOptions_internalr   s     r   ri+  zPdfCleanOptions.internald  r8  r#   c                 ,    t        j                  |       S rk+  )r   PdfCleanOptions_to_stringrV   s    r   r[+  zPdfCleanOptions.to_stringv  r,  r#   c                 .    t        j                  | |      S ro+  )r   PdfCleanOptions___eq__rq+  s     r   r}   zPdfCleanOptions.__eq__z  r 5  r#   c                 .    t        j                  | |      S ro+  )r   PdfCleanOptions___ne__rq+  s     r   r   zPdfCleanOptions.__ne__~  r 5  r#   N)!r   r   r6   r7   r   r   r   r   rC  rC  rS   ri+  r   delete_PdfCleanOptionsr   PdfCleanOptions_write_getPdfCleanOptions_write_setr  PdfCleanOptions_image_getPdfCleanOptions_image_setr   PdfCleanOptions_subset_fonts_get PdfCleanOptions_subset_fonts_setr  PdfCleanOptions_structure_getPdfCleanOptions_structure_setr  #PdfCleanOptions_s_num_instances_get#PdfCleanOptions_s_num_instances_setr+  r[+  r}   r   r$   r#   r   rC  rC  @  s    8-/IOdeGHFFQ,
< 44V55v7W7WXEV55v7W7WXEFCCVElElmL==v?c?cdIvII6KuKuvO688r#   rC  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zej*                  Zd Zd ZeZ eej4                  ej6                  d      Z eej:                  ej<                        Zy)PdfCmapz$Wrapper class for struct `pdf_cmap`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfCmap.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfCmap.<lambda>  rL   r#   rM   rN   c                 2    t        j                  | |||      S z0Class-aware wrapper for `::pdf_add_codespace()`.)r   PdfCmap_pdf_add_codespace)r   r  r  r[   s       r   pdf_add_codespacezPdfCmap.pdf_add_codespace  s    //c4CCr#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_cmap_size()`.)r   PdfCmap_pdf_cmap_sizerV   s    r   pdf_cmap_sizezPdfCmap.pdf_cmap_size  rm+  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_cmap_wmode()`.)r   PdfCmap_pdf_cmap_wmoderV   s    r   pdf_cmap_wmodezPdfCmap.pdf_cmap_wmode  r+  r#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::pdf_decode_cmap()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_decode_cmap(unsigned char *s, unsigned char *e)` => `(int, unsigned int cpt)`
        )r   PdfCmap_pdf_decode_cmap)r   r<  r  rD$  s       r   pdf_decode_cmapzPdfCmap.pdf_decode_cmap  s     --dAq#>>r#   c                 .    t        j                  | |      S z.Class-aware wrapper for `::pdf_lookup_cmap()`.)r   PdfCmap_pdf_lookup_cmap)r   rD$  s     r   pdf_lookup_cmapzPdfCmap.pdf_lookup_cmap      --dC88r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::pdf_lookup_cmap_full()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_lookup_cmap_full(unsigned int cpt)` => `(int, int out)`
        )r   PdfCmap_pdf_lookup_cmap_full)r   rD$  rl  s      r   pdf_lookup_cmap_fullzPdfCmap.pdf_lookup_cmap_full  s     224cBBr#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::pdf_map_one_to_many()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_map_one_to_many(unsigned int one, size_t len)` => int many
        )r   PdfCmap_pdf_map_one_to_many)r   r!  rC'  r  s       r   pdf_map_one_to_manyzPdfCmap.pdf_map_one_to_many  s     11$T3GGr#   c                 2    t        j                  | |||      S z5Class-aware wrapper for `::pdf_map_range_to_range()`.)r   PdfCmap_pdf_map_range_to_range)r   rG'  rH'  rI'  s       r   pdf_map_range_to_rangezPdfCmap.pdf_map_range_to_range  s    44T5%OOr#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_set_cmap_wmode()`.)r   PdfCmap_pdf_set_cmap_wmoder   r'	  s     r   pdf_set_cmap_wmodezPdfCmap.pdf_set_cmap_wmode      00u==r#   c                 .    t        j                  | |      S z.Class-aware wrapper for `::pdf_set_usecmap()`.)r   PdfCmap_pdf_set_usecmap)r   r  s     r   pdf_set_usecmapzPdfCmap.pdf_set_usecmap  s    --dG<<r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_sort_cmap()`.)r   PdfCmap_pdf_sort_cmaprV   s    r   pdf_sort_cmapzPdfCmap.pdf_sort_cmap  rm+  r#   c                 P    t        j                  | t        j                  |        y)ak  
        *Overload 1:*
        == Constructors.  Constructor using `pdf_new_cmap()`.

        |

        *Overload 2:*
        Constructor using `pdf_new_identity_cmap()`.

        |

        *Overload 3:*
        Copy constructor using `pdf_keep_cmap()`.

        |

        *Overload 4:*
        Constructor using raw copy of pre-existing `::pdf_cmap`.
        N)r   PdfCmap_swiginitnew_PdfCmapr   s     r   rS   zPdfCmap.__init__ŋ  rr:  r#   c                 ,    t        j                  |       S r+  )r   PdfCmap_m_internal_valuerV   s    r   r+  zPdfCmap.m_internal_value܋  r8/  r#   c                 ,    t        j                  |       S r-   )r   PdfCmap___nonzero__rV   s    r   r   zPdfCmap.__nonzero__  rl   r#   r+  N) r   r   r6   r7   r   r   r   r   rC  rC  rC  rC  rC  rC  rC  rC  rD  rD  rD  rS   r   delete_PdfCmapr   r+  r   r   PdfCmap_m_internal_getPdfCmap_m_internal_setr+  PdfCmap_s_num_instances_getPdfCmap_s_num_instances_setr+  r$   r#   r   rC  rC    s    /-/IOdeGHD23?9CHP>=2A* ,,50H &779V9V\{|JvAA6CeCefOr#   rC  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfColorFilterOptionszPWrapper class for struct `pdf_color_filter_options`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfColorFilterOptions.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfColorFilterOptions.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_color_filter_options`.
        N)r   PdfColorFilterOptions_swiginitnew_PdfColorFilterOptionsr   s     r   rS   zPdfColorFilterOptions.__init__  r?  r#   c                 ,    t        j                  |       S r+  )r   &PdfColorFilterOptions_m_internal_valuerV   s    r   r+  z&PdfColorFilterOptions.m_internal_value  r-  r#   c                 ,    t        j                  |       S r-   )r   !PdfColorFilterOptions___nonzero__rV   s    r   r   z!PdfColorFilterOptions.__nonzero__  r?  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfColorFilterOptionsr   r+  r   r   $PdfColorFilterOptions_m_internal_get$PdfColorFilterOptions_m_internal_setr+  )PdfColorFilterOptions_s_num_instances_get)PdfColorFilterOptions_s_num_instances_setr+  r$   r#   r   rD  rD    r?  r#   rD  c                   :   e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zej6                  Zd Zd ZeZ eej@                  ejB                  d      Z" eejF                  ejH                        Z%y)PdfCryptzAWrapper class for struct `pdf_crypt`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfCrypt.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfCrypt.<lambda>  rL   r#   rM   rN   c                 ,    t        j                  |       S z9Class-aware wrapper for `::pdf_crypt_encrypt_metadata()`.)r   #PdfCrypt_pdf_crypt_encrypt_metadatarV   s    r   pdf_crypt_encrypt_metadataz#PdfCrypt.pdf_crypt_encrypt_metadata  r-  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_crypt_key()`.)r   PdfCrypt_pdf_crypt_keyrV   s    r   pdf_crypt_keyzPdfCrypt.pdf_crypt_key  r+  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_crypt_length()`.)r   PdfCrypt_pdf_crypt_lengthrV   s    r   pdf_crypt_lengthzPdfCrypt.pdf_crypt_length  r,  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_crypt_method()`.)r   PdfCrypt_pdf_crypt_methodrV   s    r   pdf_crypt_methodzPdfCrypt.pdf_crypt_method  r,  r#   c                 2    t        j                  | |||      S z,Class-aware wrapper for `::pdf_crypt_obj()`.)r   PdfCrypt_pdf_crypt_obj)r   rh  rw  rZ  s       r   pdf_crypt_objzPdfCrypt.pdf_crypt_obj!  s    ,,T3SAAr#   c                 ,    t        j                  |       S z9Class-aware wrapper for `::pdf_crypt_owner_encryption()`.)r   #PdfCrypt_pdf_crypt_owner_encryptionrV   s    r   pdf_crypt_owner_encryptionz#PdfCrypt.pdf_crypt_owner_encryption%  r-  r#   c                 ,    t        j                  |       S z7Class-aware wrapper for `::pdf_crypt_owner_password()`.)r   !PdfCrypt_pdf_crypt_owner_passwordrV   s    r   pdf_crypt_owner_passwordz!PdfCrypt.pdf_crypt_owner_password)  r,  r#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::pdf_crypt_permissions()`.)r   PdfCrypt_pdf_crypt_permissionsrV   s    r   pdf_crypt_permissionszPdfCrypt.pdf_crypt_permissions-  r0  r#   c                 ,    t        j                  |       S z?Class-aware wrapper for `::pdf_crypt_permissions_encryption()`.)r   )PdfCrypt_pdf_crypt_permissions_encryptionrV   s    r    pdf_crypt_permissions_encryptionz)PdfCrypt.pdf_crypt_permissions_encryption1  r-  r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_crypt_revision()`.)r   PdfCrypt_pdf_crypt_revisionrV   s    r   pdf_crypt_revisionzPdfCrypt.pdf_crypt_revision5  r,  r#   c                 ,    t        j                  |       S z6Class-aware wrapper for `::pdf_crypt_stream_method()`.)r    PdfCrypt_pdf_crypt_stream_methodrV   s    r   pdf_crypt_stream_methodz PdfCrypt.pdf_crypt_stream_method9  rf4  r#   c                 ,    t        j                  |       S z6Class-aware wrapper for `::pdf_crypt_string_method()`.)r    PdfCrypt_pdf_crypt_string_methodrV   s    r   pdf_crypt_string_methodz PdfCrypt.pdf_crypt_string_method=  rf4  r#   c                 ,    t        j                  |       S z8Class-aware wrapper for `::pdf_crypt_user_encryption()`.)r   "PdfCrypt_pdf_crypt_user_encryptionrV   s    r   pdf_crypt_user_encryptionz"PdfCrypt.pdf_crypt_user_encryptionA  r-  r#   c                 ,    t        j                  |       S z6Class-aware wrapper for `::pdf_crypt_user_password()`.)r    PdfCrypt_pdf_crypt_user_passwordrV   s    r   pdf_crypt_user_passwordz PdfCrypt.pdf_crypt_user_passwordE  rf4  r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::pdf_crypt_version()`.)r   PdfCrypt_pdf_crypt_versionrV   s    r   pdf_crypt_versionzPdfCrypt.pdf_crypt_versionI  r,  r#   c           	      8    t        j                  | ||||||      S z/Class-aware wrapper for `::pdf_encrypt_data()`.)r   PdfCrypt_pdf_encrypt_data)r   rw  rZ  rm%  r  r<  r[   s          r   pdf_encrypt_datazPdfCrypt.pdf_encrypt_dataM  s!    //c3SRSUVWWr#   c                 2    t        j                  | |||      S z0Class-aware wrapper for `::pdf_encrypted_len()`.)r   PdfCrypt_pdf_encrypted_len)r   rw  rZ  r  s       r   pdf_encrypted_lenzPdfCrypt.pdf_encrypted_lenQ  s    00sCEEr#   c                 P    t        j                  | t        j                  |        y)am  
        *Overload 1:*
        == Constructors.  Constructor using `pdf_new_crypt()`.

        |

        *Overload 2:*
        Constructor using `pdf_new_encrypt()`.

        |

        *Overload 3:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 4:*
        Constructor using raw copy of pre-existing `::pdf_crypt`.
        N)r   PdfCrypt_swiginitnew_PdfCryptr   s     r   rS   zPdfCrypt.__init__U  r5  r#   c                 ,    t        j                  |       S r+  )r   PdfCrypt_m_internal_valuerV   s    r   r+  zPdfCrypt.m_internal_valuel  r,  r#   c                 ,    t        j                  |       S r-   )r   PdfCrypt___nonzero__rV   s    r   r   zPdfCrypt.__nonzero__p  rW   r#   r+  N)&r   r   r6   r7   r   r   r   r   r/D  r3D  r7D  r;D  r?D  rCD  rGD  rKD  rOD  rSD  rWD  r[D  r_D  rcD  rgD  rkD  roD  rS   r   delete_PdfCryptr   r+  r   r   PdfCrypt_m_internal_getPdfCrypt_m_internal_setr+  PdfCrypt_s_num_instances_getPdfCrypt_s_num_instances_setr+  r$   r#   r   r)D  r)D    s    L-/IOdeGH@366B@>;F8==?=7XFC* --61H &88&:X:X^}~JvBBFDgDghOr#   r)D  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfCsiz?Wrapper class for struct `pdf_csi`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfCsi.<lambda>}  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfCsi.<lambda>}  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_csi`.
        N)r   PdfCsi_swiginit
new_PdfCsir   s     r   rS   zPdfCsi.__init__  r+  r#   c                 ,    t        j                  |       S r+  )r   PdfCsi_m_internal_valuerV   s    r   r+  zPdfCsi.m_internal_value  r+  r#   c                 ,    t        j                  |       S r-   )r   PdfCsi___nonzero__rV   s    r   r   zPdfCsi.__nonzero__  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfCsir   r+  r   r   PdfCsi_m_internal_getPdfCsi_m_internal_setr+  PdfCsi_s_num_instances_getPdfCsi_s_num_instances_setr+  r$   r#   r   r}D  r}D  z  r4  r#   r}D  c                       e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Zd Zd	 ZeZ ee
j                   e
j"                  d
      Z ee
j&                  e
j(                        Zy)PdfCycleListzFWrapper class for struct `pdf_cycle_list`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfCycleList.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfCycleList.<lambda>  rL   r#   rM   rN   c                 0    t        j                  | ||      S z(Class-aware wrapper for `::pdf_cycle()`.)r   PdfCycleList_pdf_cycle)r   r
  rh  s      r   	pdf_cyclezPdfCycleList.pdf_cycle  s    ,,T4==r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_cycle_list`.
        N)r   PdfCycleList_swiginitnew_PdfCycleListr   s     r   rS   zPdfCycleList.__init__  r2  r#   c                 ,    t        j                  |       S r+  )r   PdfCycleList_m_internal_valuerV   s    r   r+  zPdfCycleList.m_internal_value  rK,  r#   c                 ,    t        j                  |       S r-   )r   PdfCycleList___nonzero__rV   s    r   r   zPdfCycleList.__nonzero__  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rD  rS   r   delete_PdfCycleListr   r+  r   r   PdfCycleList_m_internal_getPdfCycleList_m_internal_setr+   PdfCycleList_s_num_instances_get PdfCycleList_s_num_instances_setr+  r$   r#   r   rD  rD    s    Q-/IOdeGH>
K 11:5H &<<f>`>`  gF  GJvFFHoHopOr#   rD  c                       e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Zd Zd	 ZeZ ee
j                   e
j"                  d
      Z ee
j&                  e
j(                        Zy)PdfDocEventzEWrapper class for struct `pdf_doc_event`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfDocEvent.<lambda>Ì  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfDocEvent.<lambda>Ì  rL   r#   rM   rN   c                 ,    t        j                  |       S z>Class-aware wrapper for `::pdf_access_exec_menu_item_event()`.)r   +PdfDocEvent_pdf_access_exec_menu_item_eventrV   s    r   pdf_access_exec_menu_item_eventz+PdfDocEvent.pdf_access_exec_menu_item_eventƌ      AA$GGr#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_doc_event`.
        N)r   PdfDocEvent_swiginitnew_PdfDocEventr   s     r   rS   zPdfDocEvent.__init__ʌ  r7  r#   c                 ,    t        j                  |       S r+  )r   PdfDocEvent_m_internal_valuerV   s    r   r+  zPdfDocEvent.m_internal_value׌  r2  r#   c                 ,    t        j                  |       S r-   )r   PdfDocEvent___nonzero__rV   s    r   r   zPdfDocEvent.__nonzero__ی  rs   r#   r+  N)r   r   r6   r7   r   r   r   r   rD  rS   r   delete_PdfDocEventr   r+  r   r   PdfDocEvent_m_internal_getPdfDocEvent_m_internal_setr+  PdfDocEvent_s_num_instances_getPdfDocEvent_s_num_instances_setr+  r$   r#   r   rD  rD    s    P-/IOdeGHH
I 0094H &;;V=^=^  eD  EJvEEvGmGmnOr#   rD  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'd& Z(d' Z)d( Z*d) Z+d* Z,d+ Z-d, Z.d- Z/d. Z0d/ Z1d0 Z2d1 Z3d2 Z4d3 Z5d4 Z6d5 Z7d6 Z8d7 Z9d8 Z:d9 Z;d: Z<d; Z=d< Z>d= Z?d> Z@d? ZAd@ ZBdA ZCdB ZDdC ZEdD ZFdE ZGdF ZHdG ZIdH ZJdI ZKdJ ZLdK ZMdL ZNdM ZOdN ZPdO ZQdP ZRdQ ZSdR ZTdS ZUdT ZVdU ZWdV ZXdW ZYdX ZZdY Z[dZ Z\d[ Z]d\ Z^d] Z_d^ Z`d_ Zad` Zbda Zcdb Zddc Zedd Zfde Zgdf Zhdg Zidh Zjdi Zkdj Zldk Zmdl Zndm Zodn Zpdo Zqdp Zrdq Zsdr Ztds Zudt Zvdu Zwdv Zxdw Zydx Zzdy Z{dz Z|d{ Z}d| Z~d} Zd~ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd ZdÄ ZdĄ Zdń ZdƄ ZdǄ ZdȄ ZdɄ Zdʄ Zd˄ Zd̄ Zd̈́ Zd΄ Zdτ ZdЄ Zdф Zd҄ Zdӄ ZdԄ ZdՄ Zdք Zdׄ Zd؄ Zdل Zdڄ Zdۄ Zd܄ Zd݄ Zdބ Zd߄ Zd Zd Zd Zej                  Zd Zd ZeZ eej                  ej                  d      Z eej                  ej                        Zy)PdfDocumentz(Wrapper class for struct `pdf_document`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfDocument.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfDocument.<lambda>  rL   r#   rM   rN   c                 ,    t        j                  |       S z4Class-aware wrapper for `::pdf_abandon_operation()`.)r   !PdfDocument_pdf_abandon_operationrV   s    r   pdf_abandon_operationz!PdfDocument.pdf_abandon_operation  r,  r#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_add_cid_font()`.)r   PdfDocument_pdf_add_cid_fontr   r  s     r   pdf_add_cid_fontzPdfDocument.pdf_add_cid_font  rbB  r#   c                 4    t        j                  | ||||      S z/Class-aware wrapper for `::pdf_add_cjk_font()`.)r   PdfDocument_pdf_add_cjk_font)r   r  r  r'	  r  s        r   pdf_add_cjk_fontzPdfDocument.pdf_add_cjk_font  s    224vueTTr#   c           	      8    t        j                  | ||||||      S z4Class-aware wrapper for `::pdf_add_embedded_file()`.)r   !PdfDocument_pdf_add_embedded_file)r   r  r  r  r  r!  r!  s          r   pdf_add_embedded_filez!PdfDocument.pdf_add_embedded_file  s#    77hRZ\celnz{{r#   c                 .    t        j                  | |      S z,Class-aware wrapper for `::pdf_add_image()`.)r   PdfDocument_pdf_add_imager,  s     r   pdf_add_imagezPdfDocument.pdf_add_image  r.  r#   c                 4    t        j                  | ||||      S z7Class-aware wrapper for `::pdf_add_journal_fragment()`.)r   $PdfDocument_pdf_add_journal_fragment)r   r
  r0   r!  r!  s        r   pdf_add_journal_fragmentz$PdfDocument.pdf_add_journal_fragment  s    ::4{\bccr#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::pdf_add_new_array()`.)r   PdfDocument_pdf_add_new_arrayr=>  s     r   pdf_add_new_arrayzPdfDocument.pdf_add_new_array  s    33D'BBr#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_add_new_dict()`.)r   PdfDocument_pdf_add_new_dictr=>  s     r   pdf_add_new_dictzPdfDocument.pdf_add_new_dict  r8  r#   c                 .    t        j                  | |      S z-Class-aware wrapper for `::pdf_add_object()`.)r   PdfDocument_pdf_add_objectrB  s     r   pdf_add_objectzPdfDocument.pdf_add_object  rZ:  r#   c                 4    t        j                  | ||||      S z+Class-aware wrapper for `::pdf_add_page()`.)r   PdfDocument_pdf_add_page)r   rq
  r
  r  r  s        r   pdf_add_pagezPdfDocument.pdf_add_page  s    ..tXvyRZ[[r#   c                 0    t        j                  | ||      S z2Class-aware wrapper for `::pdf_add_simple_font()`.)r   PdfDocument_pdf_add_simple_font)r   r  rM  s      r   pdf_add_simple_fontzPdfDocument.pdf_add_simple_font  s    55dD(KKr#   c                 2    t        j                  | |||      S z-Class-aware wrapper for `::pdf_add_stream()`.)r   PdfDocument_pdf_add_stream)r   rb  rh  r"  s       r   pdf_add_streamzPdfDocument.pdf_add_stream  s    00sCLLr#   c                 .    t        j                  | |      S z6Class-aware wrapper for `::pdf_add_substitute_font()`.)r   #PdfDocument_pdf_add_substitute_fontrD  s     r   pdf_add_substitute_fontz#PdfDocument.pdf_add_substitute_font  rC  r#   c                 0    t        j                  | ||      S z>Class-aware wrapper for `::pdf_annot_field_event_keystroke()`.)r   +PdfDocument_pdf_annot_field_event_keystroke)r   r!  r!  s      r   pdf_annot_field_event_keystrokez+PdfDocument.pdf_annot_field_event_keystroke  s    AA$sSSr#   c                 .    t        j                  | |      S z8Class-aware wrapper for `::pdf_authenticate_password()`.)r   %PdfDocument_pdf_authenticate_password)r   ru#  s     r   pdf_authenticate_passwordz%PdfDocument.pdf_authenticate_password#  s    ;;D"EEr#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::pdf_bake_document()`.)r   PdfDocument_pdf_bake_document)r   rz#  r{#  s      r   pdf_bake_documentzPdfDocument.pdf_bake_document'  s    33D+|TTr#   c                 ,    t        j                  |       S z;Class-aware wrapper for `::pdf_begin_implicit_operation()`.)r   (PdfDocument_pdf_begin_implicit_operationrV   s    r   pdf_begin_implicit_operationz(PdfDocument.pdf_begin_implicit_operation+  r.,  r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_begin_operation()`.)r   PdfDocument_pdf_begin_operation)r   r#  s     r   pdf_begin_operationzPdfDocument.pdf_begin_operation/  s    55dIFFr#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_calculate_form()`.)r   PdfDocument_pdf_calculate_formrV   s    r   pdf_calculate_formzPdfDocument.pdf_calculate_form3  r0  r#   c                 ,    t        j                  |       S z=Class-aware wrapper for `::pdf_can_be_saved_incrementally()`.)r   *PdfDocument_pdf_can_be_saved_incrementallyrV   s    r   pdf_can_be_saved_incrementallyz*PdfDocument.pdf_can_be_saved_incrementally7  r3  r#   c                 ,    t        j                  |       S z+Class-aware wrapper for `::pdf_can_redo()`.)r   PdfDocument_pdf_can_redorV   s    r   pdf_can_redozPdfDocument.pdf_can_redo;  r8/  r#   c                 ,    t        j                  |       S z+Class-aware wrapper for `::pdf_can_undo()`.)r   PdfDocument_pdf_can_undorV   s    r   pdf_can_undozPdfDocument.pdf_can_undo?  r8/  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_clear_xref()`.)r   PdfDocument_pdf_clear_xrefrV   s    r   pdf_clear_xrefzPdfDocument.pdf_clear_xrefC  r,  r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_clear_xref_to_mark()`.)r   "PdfDocument_pdf_clear_xref_to_markrV   s    r   pdf_clear_xref_to_markz"PdfDocument.pdf_clear_xref_to_markG  r-  r#   c                 ,    t        j                  |       S zBClass-aware wrapper for `::pdf_count_document_associated_files()`.)r   /PdfDocument_pdf_count_document_associated_filesrV   s    r   #pdf_count_document_associated_filesz/PdfDocument.pdf_count_document_associated_filesK  r0  r#   c                 ,    t        j                  |       S z8Class-aware wrapper for `::pdf_count_layer_config_ui()`.)r   %PdfDocument_pdf_count_layer_config_uirV   s    r   pdf_count_layer_config_uiz%PdfDocument.pdf_count_layer_config_uiO  r-  r#   c                 ,    t        j                  |       S z6Class-aware wrapper for `::pdf_count_layer_configs()`.)r   #PdfDocument_pdf_count_layer_configsrV   s    r   pdf_count_layer_configsz#PdfDocument.pdf_count_layer_configsS  r-  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_count_layers()`.)r   PdfDocument_pdf_count_layersrV   s    r   pdf_count_layerszPdfDocument.pdf_count_layersW  r2  r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::pdf_count_objects()`.)r   PdfDocument_pdf_count_objectsrV   s    r   pdf_count_objectszPdfDocument.pdf_count_objects[  rK,  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_count_pages()`.)r   PdfDocument_pdf_count_pagesrV   s    r   pdf_count_pageszPdfDocument.pdf_count_pages_  r,  r#   c                 4    t        j                  | ||||      S )z
        Class-aware wrapper for `::pdf_count_q_balance()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_count_q_balance(::pdf_obj *res, ::pdf_obj *stm)` => `(int prepend, int append)`
        )r   PdfDocument_pdf_count_q_balancer   r#  r  r#  r   s        r   pdf_count_q_balancezPdfDocument.pdf_count_q_balancec  s     55dCgvVVr#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::pdf_count_signatures()`.)r    PdfDocument_pdf_count_signaturesrV   s    r   pdf_count_signaturesz PdfDocument.pdf_count_signaturesl  rf4  r#   c                 ,    t        j                  |       S z9Class-aware wrapper for `::pdf_count_unsaved_versions()`.)r   &PdfDocument_pdf_count_unsaved_versionsrV   s    r   pdf_count_unsaved_versionsz&PdfDocument.pdf_count_unsaved_versionsp  r-  r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_count_versions()`.)r   PdfDocument_pdf_count_versionsrV   s    r   pdf_count_versionszPdfDocument.pdf_count_versionst  r0  r#   c                 2    t        j                  | |||      S z4Class-aware wrapper for `::pdf_create_field_name()`.)r   !PdfDocument_pdf_create_field_name)r   r$  rb  r  s       r   pdf_create_field_namez!PdfDocument.pdf_create_field_namex      77fc3OOr#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::pdf_create_object()`.)r   PdfDocument_pdf_create_objectrV   s    r   pdf_create_objectzPdfDocument.pdf_create_object|  rK,  r#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::pdf_debug_doc_changes()`.)r   !PdfDocument_pdf_debug_doc_changesrV   s    r   pdf_debug_doc_changesz!PdfDocument.pdf_debug_doc_changes  r,  r#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::pdf_delete_object()`.)r   PdfDocument_pdf_delete_objectr   rw  s     r   pdf_delete_objectzPdfDocument.pdf_delete_object  r=  r#   c                 .    t        j                  | |      S z.Class-aware wrapper for `::pdf_delete_page()`.)r   PdfDocument_pdf_delete_pager0  s     r   pdf_delete_pagezPdfDocument.pdf_delete_page      11$??r#   c                 .    t        j                  | |      S z5Class-aware wrapper for `::pdf_delete_page_labels()`.)r   "PdfDocument_pdf_delete_page_labelsr   s     r   pdf_delete_page_labelsz"PdfDocument.pdf_delete_page_labels  rlC  r#   c                 0    t        j                  | ||      S z4Class-aware wrapper for `::pdf_delete_page_range()`.)r   !PdfDocument_pdf_delete_page_rangerE-  s      r   pdf_delete_page_rangez!PdfDocument.pdf_delete_page_range  s    77eSIIr#   c                 .    t        j                  | |      S z;Class-aware wrapper for `::pdf_deselect_layer_config_ui()`.)r   (PdfDocument_pdf_deselect_layer_config_uir   r\$  s     r   pdf_deselect_layer_config_uiz(PdfDocument.pdf_deselect_layer_config_ui  r.  r#   c                 .    t        j                  | |      S z6Class-aware wrapper for `::pdf_deserialise_journal()`.)r   #PdfDocument_pdf_deserialise_journalr   r  s     r   pdf_deserialise_journalz#PdfDocument.pdf_deserialise_journal  r.C  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_disable_js()`.)r   PdfDocument_pdf_disable_jsrV   s    r   pdf_disable_jszPdfDocument.pdf_disable_js  r,  r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_doc_was_linearized()`.)r   "PdfDocument_pdf_doc_was_linearizedrV   s    r   pdf_doc_was_linearizedz"PdfDocument.pdf_doc_was_linearized  r-  r#   c                 .    t        j                  | |      S z;Class-aware wrapper for `::pdf_document_associated_file()`.)r   (PdfDocument_pdf_document_associated_filer+  s     r   pdf_document_associated_filez(PdfDocument.pdf_document_associated_file      >>tSIIr#   c                 ,    t        j                  |       S z;Class-aware wrapper for `::pdf_document_event_did_print()`.)r   (PdfDocument_pdf_document_event_did_printrV   s    r   pdf_document_event_did_printz(PdfDocument.pdf_document_event_did_print  r.,  r#   c                 ,    t        j                  |       S z:Class-aware wrapper for `::pdf_document_event_did_save()`.)r   'PdfDocument_pdf_document_event_did_saverV   s    r   pdf_document_event_did_savez'PdfDocument.pdf_document_event_did_save  r[0  r#   c                 ,    t        j                  |       S z<Class-aware wrapper for `::pdf_document_event_will_close()`.)r   )PdfDocument_pdf_document_event_will_closerV   s    r   pdf_document_event_will_closez)PdfDocument.pdf_document_event_will_close  r-  r#   c                 ,    t        j                  |       S z<Class-aware wrapper for `::pdf_document_event_will_print()`.)r   )PdfDocument_pdf_document_event_will_printrV   s    r   pdf_document_event_will_printz)PdfDocument.pdf_document_event_will_print  r-  r#   c                 ,    t        j                  |       S z;Class-aware wrapper for `::pdf_document_event_will_save()`.)r   (PdfDocument_pdf_document_event_will_saverV   s    r   pdf_document_event_will_savez(PdfDocument.pdf_document_event_will_save  r.,  r#   c                 ,    t        j                  |       S z9Class-aware wrapper for `::pdf_document_output_intent()`.)r   &PdfDocument_pdf_document_output_intentrV   s    r   pdf_document_output_intentz&PdfDocument.pdf_document_output_intent  r-  r#   c                 ,    t        j                  |       S z7Class-aware wrapper for `::pdf_document_permissions()`.)r   $PdfDocument_pdf_document_permissionsrV   s    r   pdf_document_permissionsz$PdfDocument.pdf_document_permissions  r-  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_empty_store()`.)r   PdfDocument_pdf_empty_storerV   s    r   pdf_empty_storezPdfDocument.pdf_empty_storeč  r,  r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_enable_journal()`.)r   PdfDocument_pdf_enable_journalrV   s    r   pdf_enable_journalzPdfDocument.pdf_enable_journalȍ  r0  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_enable_js()`.)r   PdfDocument_pdf_enable_jsrV   s    r   pdf_enable_jszPdfDocument.pdf_enable_js̍  r,  r#   c                 0    t        j                  | ||      S z/Class-aware wrapper for `::pdf_enable_layer()`.)r   PdfDocument_pdf_enable_layer)r   rh%  ri%  s      r   pdf_enable_layerzPdfDocument.pdf_enable_layerЍ  s    224HHr#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::pdf_end_operation()`.)r   PdfDocument_pdf_end_operationrV   s    r   pdf_end_operationzPdfDocument.pdf_end_operationԍ  rK,  r#   c                 .    t        j                  | |      S z4Class-aware wrapper for `::pdf_ensure_solid_xref()`.)r   !PdfDocument_pdf_ensure_solid_xrefrRE  s     r   pdf_ensure_solid_xrefz!PdfDocument.pdf_ensure_solid_xref؍      77cBBr#   c                 .    t        j                  | |      S z4Class-aware wrapper for `::pdf_event_issue_alert()`.)r   !PdfDocument_pdf_event_issue_alertr   r!  s     r   pdf_event_issue_alertz!PdfDocument.pdf_event_issue_alert܍  rE  r#   c                 .    t        j                  | |      S z=Class-aware wrapper for `::pdf_event_issue_exec_menu_item()`.)r   *PdfDocument_pdf_event_issue_exec_menu_itemr\6  s     r   pdf_event_issue_exec_menu_itemz*PdfDocument.pdf_event_issue_exec_menu_item  r9  r#   c                 0    t        j                  | ||      S z9Class-aware wrapper for `::pdf_event_issue_launch_url()`.)r   &PdfDocument_pdf_event_issue_launch_url)r   r~  r  s      r   pdf_event_issue_launch_urlz&PdfDocument.pdf_event_issue_launch_url  s    <<T3	RRr#   c                 .    t        j                  | |      S z7Class-aware wrapper for `::pdf_event_issue_mail_doc()`.)r   $PdfDocument_pdf_event_issue_mail_docrE  s     r   pdf_event_issue_mail_docz$PdfDocument.pdf_event_issue_mail_doc      ::4EEr#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::pdf_event_issue_print()`.)r   !PdfDocument_pdf_event_issue_printrV   s    r   pdf_event_issue_printz!PdfDocument.pdf_event_issue_print  r,  r#   c                 .    t        j                  | |      S z8Class-aware wrapper for `::pdf_field_event_calculate()`.)r   %PdfDocument_pdf_field_event_calculater   r  s     r   pdf_field_event_calculatez%PdfDocument.pdf_field_event_calculate  s    ;;D%HHr#   c                 .    t        j                  | |      S z5Class-aware wrapper for `::pdf_field_event_format()`.)r   "PdfDocument_pdf_field_event_formatrE  s     r   pdf_field_event_formatz"PdfDocument.pdf_field_event_format  rlC  r#   c                 0    t        j                  | ||      S z8Class-aware wrapper for `::pdf_field_event_keystroke()`.)r   %PdfDocument_pdf_field_event_keystroke)r   r  r!  s      r   pdf_field_event_keystrokez%PdfDocument.pdf_field_event_keystroke  s    ;;D%MMr#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::pdf_field_event_validate()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_field_event_validate(::pdf_obj *field, const char *value)` => `(int, char *newvalue)`
        )r   $PdfDocument_pdf_field_event_validate)r   r  r    r^%  s       r   pdf_field_event_validatez$PdfDocument.pdf_field_event_validate  s     ::4xXXr#   c                 .    t        j                  | |      S z.Class-aware wrapper for `::pdf_field_reset()`.)r   PdfDocument_pdf_field_resetrE  s     r   pdf_field_resetzPdfDocument.pdf_field_reset      11$>>r#   c                 0    t        j                  | ||      S z8Class-aware wrapper for `::pdf_filter_annot_contents()`.)r   %PdfDocument_pdf_filter_annot_contents)r   r!  r  s      r   pdf_filter_annot_contentsz%PdfDocument.pdf_filter_annot_contents	  s    ;;D%QQr#   c                 0    t        j                  | ||      S z7Class-aware wrapper for `::pdf_filter_page_contents()`.)r   $PdfDocument_pdf_filter_page_contents)r   r'
  r  s      r   pdf_filter_page_contentsz$PdfDocument.pdf_filter_page_contents  s    ::4wOOr#   c                 4    t        j                  | ||||      S z5Class-aware wrapper for `::pdf_find_font_resource()`.)r   "PdfDocument_pdf_find_font_resource)r   r   rM  r{  rk  s        r   pdf_find_font_resourcez"PdfDocument.pdf_find_font_resource  s    88tXtUXYYr#   c                 .    t        j                  | |      S z7Class-aware wrapper for `::pdf_find_version_for_obj()`.)r   $PdfDocument_pdf_find_version_for_objrB  s     r   pdf_find_version_for_objz$PdfDocument.pdf_find_version_for_obj  rE  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_forget_xref()`.)r   PdfDocument_pdf_forget_xrefrV   s    r   pdf_forget_xrefzPdfDocument.pdf_forget_xref  r,  r#   c                 ,    t        j                  |       S z>Class-aware wrapper for `::pdf_get_doc_event_callback_data()`.)r   +PdfDocument_pdf_get_doc_event_callback_datarV   s    r   pdf_get_doc_event_callback_dataz+PdfDocument.pdf_get_doc_event_callback_data  rD  r#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_graft_object()`.)r   PdfDocument_pdf_graft_objectrB  s     r   pdf_graft_objectzPdfDocument.pdf_graft_object!  r@  r#   c                 2    t        j                  | |||      S z-Class-aware wrapper for `::pdf_graft_page()`.)r   PdfDocument_pdf_graft_pager   r&  r  r	&  s       r   pdf_graft_pagezPdfDocument.pdf_graft_page%  s    00wYOOr#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_has_permission()`.)r   PdfDocument_pdf_has_permissionr0  s     r   pdf_has_permissionzPdfDocument.pdf_has_permission)  r4  r#   c                 ,    t        j                  |       S z6Class-aware wrapper for `::pdf_has_unsaved_changes()`.)r   #PdfDocument_pdf_has_unsaved_changesrV   s    r   pdf_has_unsaved_changesz#PdfDocument.pdf_has_unsaved_changes-  r-  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::pdf_has_unsaved_sigs()`.)r    PdfDocument_pdf_has_unsaved_sigsrV   s    r   pdf_has_unsaved_sigsz PdfDocument.pdf_has_unsaved_sigs1  rf4  r#   c                 0    t        j                  | ||      S z7Class-aware wrapper for `::pdf_insert_font_resource()`.)r   $PdfDocument_pdf_insert_font_resource)r   rk  rh  s      r   pdf_insert_font_resourcez$PdfDocument.pdf_insert_font_resource5  s    ::4cJJr#   c                 0    t        j                  | ||      S z.Class-aware wrapper for `::pdf_insert_page()`.)r   PdfDocument_pdf_insert_page)r   r&  r'
  s      r   pdf_insert_pagezPdfDocument.pdf_insert_page9  s    11$DAAr#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_invalidate_xfa()`.)r   PdfDocument_pdf_invalidate_xfarV   s    r   pdf_invalidate_xfazPdfDocument.pdf_invalidate_xfa=  r0  r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_is_local_object()`.)r   PdfDocument_pdf_is_local_objectrB  s     r   pdf_is_local_objectzPdfDocument.pdf_is_local_objectA  rC  r#   c                 2    t        j                  | |||      S z0Class-aware wrapper for `::pdf_is_ocg_hidden()`.)r   PdfDocument_pdf_is_ocg_hidden)r   r  r  r_  s       r   pdf_is_ocg_hiddenzPdfDocument.pdf_is_ocg_hiddenE  s    33D#ucJJr#   c                 0    t        j                  | ||      S z1Class-aware wrapper for `::pdf_js_set_console()`.)r   PdfDocument_pdf_js_set_console)r   rk&  r  s      r   pdf_js_set_consolezPdfDocument.pdf_js_set_consoleI  s    44T7DIIr#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_js_supported()`.)r   PdfDocument_pdf_js_supportedrV   s    r   pdf_js_supportedzPdfDocument.pdf_js_supportedM  r2  r#   c                 0    t        j                  | ||      S z4Class-aware wrapper for `::pdf_layer_config_info()`.)r   !PdfDocument_pdf_layer_config_info)r   r&  r&  s      r   pdf_layer_config_infoz!PdfDocument.pdf_layer_config_infoQ  s    77j$OOr#   c                 0    t        j                  | ||      S z7Class-aware wrapper for `::pdf_layer_config_ui_info()`.)r   $PdfDocument_pdf_layer_config_ui_info)r   r\$  r&  s      r   pdf_layer_config_ui_infoz$PdfDocument.pdf_layer_config_ui_infoU  s    ::4TJJr#   c                 .    t        j                  | |      S z3Class-aware wrapper for `::pdf_layer_is_enabled()`.)r    PdfDocument_pdf_layer_is_enabledr   rh%  s     r   pdf_layer_is_enabledz PdfDocument.pdf_layer_is_enabledY      66tUCCr#   c                 .    t        j                  | |      S z-Class-aware wrapper for `::pdf_layer_name()`.)r   PdfDocument_pdf_layer_namer,F  s     r   pdf_layer_namezPdfDocument.pdf_layer_name]  rD  r#   c                 6    t        j                  | |||||      S z?Class-aware wrapper for `::pdf_load_compressed_inline_image()`.)r   ,PdfDocument_pdf_load_compressed_inline_image)r   r  re  r&  r[  r  s         r    pdf_load_compressed_inline_imagez,PdfDocument.pdf_load_compressed_inline_imagea  s     BB4vW[]dfkllr#   c                 0    t        j                  | ||      S z9Class-aware wrapper for `::pdf_load_compressed_stream()`.)r   &PdfDocument_pdf_load_compressed_stream)r   rw  rE  s      r   pdf_load_compressed_streamz&PdfDocument.pdf_load_compressed_streame  s    <<T3
SSr#   c                 .    t        j                  | |      S z;Class-aware wrapper for `::pdf_load_default_colorspaces()`.)r   (PdfDocument_pdf_load_default_colorspacesr6  s     r   pdf_load_default_colorspacesz(PdfDocument.pdf_load_default_colorspacesi  r;  r#   c                 .    t        j                  | |      S z5Class-aware wrapper for `::pdf_load_embedded_cmap()`.)r   "PdfDocument_pdf_load_embedded_cmap)r   r&  s     r   pdf_load_embedded_cmapz"PdfDocument.pdf_load_embedded_cmapm      88sCCr#   c                 .    t        j                  | |      S z-Class-aware wrapper for `::pdf_load_image()`.)r   PdfDocument_pdf_load_imagerB  s     r   pdf_load_imagezPdfDocument.pdf_load_imageq  rZ:  r#   c                 2    t        j                  | |||      S z4Class-aware wrapper for `::pdf_load_inline_image()`.)r   !PdfDocument_pdf_load_inline_image)r   r  r  r  s       r   pdf_load_inline_imagez!PdfDocument.pdf_load_inline_imageu  s    77c4NNr#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_load_journal()`.)r   PdfDocument_pdf_load_journalrw,  s     r   pdf_load_journalzPdfDocument.pdf_load_journaly      224BBr#   c                 4    t        j                  | ||||      S z3Class-aware wrapper for `::pdf_load_link_annots()`.)r    PdfDocument_pdf_load_link_annots)r   r  r  r}  r&  s        r   pdf_load_link_annotsz PdfDocument.pdf_load_link_annots}  s    66tUFGU]^^r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_load_name_tree()`.)r   PdfDocument_pdf_load_name_tree)r   r&  s     r   pdf_load_name_treezPdfDocument.pdf_load_name_tree      44T5AAr#   c                 .    t        j                  | |      S )a-  
        Class-aware wrapper for `::pdf_load_object()`.
        	Load a given object.

        	This can cause xref reorganisations (solidifications etc) due to
        	repairs, so all held pdf_xref_entries should be considered
        	invalid after this call (other than the returned one).
        )r   PdfDocument_pdf_load_objectrRE  s     r   pdf_load_objectzPdfDocument.pdf_load_object  s     11$<<r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_load_outline()`.)r   PdfDocument_pdf_load_outlinerV   s    r   pdf_load_outlinezPdfDocument.pdf_load_outline  r2  r#   c                 .    t        j                  | |      S z,Class-aware wrapper for `::pdf_load_page()`.)r   PdfDocument_pdf_load_pager0  s     r   pdf_load_pagezPdfDocument.pdf_load_page  s    //f==r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_load_page_tree()`.)r   PdfDocument_pdf_load_page_treerV   s    r   pdf_load_page_treezPdfDocument.pdf_load_page_tree  r0  r#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_load_pattern()`.)r   PdfDocument_pdf_load_patternrB  s     r   pdf_load_patternzPdfDocument.pdf_load_pattern  r@  r#   c                 .    t        j                  | |      S z9Class-aware wrapper for `::pdf_load_raw_stream_number()`.)r   &PdfDocument_pdf_load_raw_stream_numberrRE  s     r   pdf_load_raw_stream_numberz&PdfDocument.pdf_load_raw_stream_number  rA:  r#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_load_shading()`.)r   PdfDocument_pdf_load_shadingrB  s     r   pdf_load_shadingzPdfDocument.pdf_load_shading  r@  r#   c                 .    t        j                  | |      S z5Class-aware wrapper for `::pdf_load_stream_number()`.)r   "PdfDocument_pdf_load_stream_numberrRE  s     r   pdf_load_stream_numberz"PdfDocument.pdf_load_stream_number  rCF  r#   c                 4    t        j                  | ||||      S )z
        Class-aware wrapper for `::pdf_load_to_unicode()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_load_to_unicode(::pdf_font_desc *font, char *collection, ::pdf_obj *cmapstm)` => const char *strings
        )r   PdfDocument_pdf_load_to_unicode)r   r  r	'  r
'  r'  s        r   pdf_load_to_unicodezPdfDocument.pdf_load_to_unicode  s     55dD':W^__r#   c                 .    t        j                  | |      S z4Class-aware wrapper for `::pdf_load_type3_glyphs()`.)r   !PdfDocument_pdf_load_type3_glyphsrq7  s     r   pdf_load_type3_glyphsz!PdfDocument.pdf_load_type3_glyphs  s    77hGGr#   c                 .    t        j                  | |      S z:Class-aware wrapper for `::pdf_load_unencrypted_object()`.)r   'PdfDocument_pdf_load_unencrypted_objectrRE  s     r   pdf_load_unencrypted_objectz'PdfDocument.pdf_load_unencrypted_object  r3  r#   c                 .    t        j                  | |      S z.Class-aware wrapper for `::pdf_lookup_dest()`.)r   PdfDocument_pdf_lookup_destr   rV  s     r   pdf_lookup_destzPdfDocument.pdf_lookup_dest  rXE  r#   c                 2    t        j                  | |||      S z2Class-aware wrapper for `::pdf_lookup_metadata()`.)r   PdfDocument_pdf_lookup_metadata)r   rk  r;   r   s       r   pdf_lookup_metadatazPdfDocument.pdf_lookup_metadata  s    55dCdKKr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::pdf_lookup_metadata2()`.
        C++ alternative to `pdf_lookup_metadata()` that returns a `std::string`
        or calls `fz_throw()` if not found.
        )r    PdfDocument_pdf_lookup_metadata2rj  s     r   pdf_lookup_metadata2z PdfDocument.pdf_lookup_metadata2Ŏ  s     66tSAAr#   c                 0    t        j                  | ||      S z.Class-aware wrapper for `::pdf_lookup_name()`.)r   PdfDocument_pdf_lookup_name)r   r&  rV  s      r   pdf_lookup_namezPdfDocument.pdf_lookup_name͎  s    11$vFFr#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::pdf_lookup_page_loc()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_lookup_page_loc(int needle, ::pdf_obj **parentp)` => `(pdf_obj *, int indexp)`
        )r   PdfDocument_pdf_lookup_page_loc)r   rV  r2'  r3'  s       r   pdf_lookup_page_loczPdfDocument.pdf_lookup_page_locю  s     55dFGVTTr#   c                 .    t        j                  | |      S z5Class-aware wrapper for `::pdf_lookup_page_number()`.)r   "PdfDocument_pdf_lookup_page_number)r   r7'  s     r   pdf_lookup_page_numberz"PdfDocument.pdf_lookup_page_numberڎ      88wGGr#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_lookup_page_obj()`.)r   PdfDocument_pdf_lookup_page_objrF  s     r   pdf_lookup_page_objzPdfDocument.pdf_lookup_page_objގ  s    55dFCCr#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_mark_xref()`.)r   PdfDocument_pdf_mark_xrefrV   s    r   pdf_mark_xrefzPdfDocument.pdf_mark_xref  r,  r#   c                 ,    t        j                  |       S z+Class-aware wrapper for `::pdf_metadata()`.)r   PdfDocument_pdf_metadatarV   s    r   pdf_metadatazPdfDocument.pdf_metadata  r8/  r#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::pdf_minimize_document()`.)r   !PdfDocument_pdf_minimize_documentrV   s    r   pdf_minimize_documentz!PdfDocument.pdf_minimize_document  r,  r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_needs_password()`.)r   PdfDocument_pdf_needs_passwordrV   s    r   pdf_needs_passwordzPdfDocument.pdf_needs_password  r0  r#   c                 .    t        j                  | |      S z7Class-aware wrapper for `::pdf_new_action_from_link()`.)r   $PdfDocument_pdf_new_action_from_linkr5  s     r   pdf_new_action_from_linkz$PdfDocument.pdf_new_action_from_link  rE  r#   c                 .    t        j                  | |      S z,Class-aware wrapper for `::pdf_new_array()`.)r   PdfDocument_pdf_new_arrayr   rs'  s     r   pdf_new_arrayzPdfDocument.pdf_new_array  s    //jAAr#   c                 6    t        j                  | |||||      S z3Class-aware wrapper for `::pdf_new_color_filter()`.)r    PdfDocument_pdf_new_color_filter)r   r  r}'  r  r  r~'  s         r   pdf_new_color_filterz PdfDocument.pdf_new_color_filter  s     66tUNT]_fhmnnr#   c                 .    t        j                  | |      S z+Class-aware wrapper for `::pdf_new_date()`.)r   PdfDocument_pdf_new_daterB  s     r   pdf_new_datezPdfDocument.pdf_new_date  r6  r#   c                 0    t        j                  | ||      S z5Class-aware wrapper for `::pdf_new_dest_from_link()`.)r   "PdfDocument_pdf_new_dest_from_link)r   r"  r'  s      r   pdf_new_dest_from_linkz"PdfDocument.pdf_new_dest_from_link  s    88sINNr#   c                 .    t        j                  | |      S z+Class-aware wrapper for `::pdf_new_dict()`.)r   PdfDocument_pdf_new_dictrF  s     r   pdf_new_dictzPdfDocument.pdf_new_dict  s    ..tZ@@r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::pdf_new_graft_map()`.)r   PdfDocument_pdf_new_graft_maprV   s    r   pdf_new_graft_mapzPdfDocument.pdf_new_graft_map
  rK,  r#   c                 0    t        j                  | ||      S z/Class-aware wrapper for `::pdf_new_indirect()`.)r   PdfDocument_pdf_new_indirect)r   rw  rZ  s      r   pdf_new_indirectzPdfDocument.pdf_new_indirect      224cBBr#   c                 .    t        j                  | |      S z-Class-aware wrapper for `::pdf_new_matrix()`.)r   PdfDocument_pdf_new_matrix)r   r'  s     r   pdf_new_matrixzPdfDocument.pdf_new_matrix  rZ:  r#   c                 2    t        j                  | |||      S z1Class-aware wrapper for `::pdf_new_pdf_device()`.)r   PdfDocument_pdf_new_pdf_device)r   r'  r  r  s       r   pdf_new_pdf_devicezPdfDocument.pdf_new_pdf_device  s    44T69hWWr#   c                 .    t        j                  | |      S z,Class-aware wrapper for `::pdf_new_point()`.)r   PdfDocument_pdf_new_point)r   rx   s     r   pdf_new_pointzPdfDocument.pdf_new_point  r.  r#   c                 .    t        j                  | |      S z+Class-aware wrapper for `::pdf_new_rect()`.)r   PdfDocument_pdf_new_rectr5  s     r   pdf_new_rectzPdfDocument.pdf_new_rect  r6  r#   c           
      :    t        j                  | |||||||      S z4Class-aware wrapper for `::pdf_new_run_processor()`.)r   !PdfDocument_pdf_new_run_processor)r   rT  rW  r'  r  r  r  r  s           r   pdf_new_run_processorz!PdfDocument.pdf_new_run_processor"  s%    77c3W\^dfprxyyr#   c                 6    t        j                  | |||||      S z6Class-aware wrapper for `::pdf_new_sanitize_filter()`.)r   #PdfDocument_pdf_new_sanitize_filter)r   r  r}'  r  r  r'  s         r   pdf_new_sanitize_filterz#PdfDocument.pdf_new_sanitize_filter&  s     99$~W`bikpqqr#   c                 4    t        j                  | ||||      S z.Class-aware wrapper for `::pdf_new_xobject()`.)r   PdfDocument_pdf_new_xobject)r   r  r  r#  r*  s        r   pdf_new_xobjectzPdfDocument.pdf_new_xobject*  s    11$fc6RRr#   c                 .    t        j                  | |      S z4Class-aware wrapper for `::pdf_obj_num_is_stream()`.)r   !PdfDocument_pdf_obj_num_is_streamrRE  s     r   pdf_obj_num_is_streamz!PdfDocument.pdf_obj_num_is_stream.  rE  r#   c                 .    t        j                  | |      S z7Class-aware wrapper for `::pdf_open_contents_stream()`.)r   $PdfDocument_pdf_open_contents_streamrB  s     r   pdf_open_contents_streamz$PdfDocument.pdf_open_contents_stream2  rE  r#   c                 4    t        j                  | ||||      S z5Class-aware wrapper for `::pdf_open_inline_stream()`.)r   "PdfDocument_pdf_open_inline_stream)r   r'(  re  r  r~  s        r   pdf_open_inline_streamz"PdfDocument.pdf_open_inline_stream6  s    88vvuV\]]r#   c                 .    t        j                  | |      S z9Class-aware wrapper for `::pdf_open_raw_stream_number()`.)r   &PdfDocument_pdf_open_raw_stream_numberrRE  s     r   pdf_open_raw_stream_numberz&PdfDocument.pdf_open_raw_stream_number:  rA:  r#   c                 .    t        j                  | |      S z5Class-aware wrapper for `::pdf_open_stream_number()`.)r   "PdfDocument_pdf_open_stream_numberrRE  s     r   pdf_open_stream_numberz"PdfDocument.pdf_open_stream_number>  rCF  r#   c                 2    t        j                  | |||      S z:Class-aware wrapper for `::pdf_open_stream_with_offset()`.)r   'PdfDocument_pdf_open_stream_with_offset)r   rw  r  rb  s       r   pdf_open_stream_with_offsetz'PdfDocument.pdf_open_stream_with_offsetB  s    ==dCwWWr#   c                 2    t        j                  | |||      S z-Class-aware wrapper for `::pdf_page_label()`.)r   PdfDocument_pdf_page_label)r   r'
  rb  r   s       r   pdf_page_labelzPdfDocument.pdf_page_labelF  s    00tS$GGr#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::pdf_page_write()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_page_write(::fz_rect mediabox, ::pdf_obj **presources, ::fz_buffer **pcontents)` => `(fz_device *)`
        )r   PdfDocument_pdf_page_write)r   rq
  r_(  r`(  s       r   pdf_page_writezPdfDocument.pdf_page_writeJ  s     00xYWWr#   c                 0    t        j                  | ||      S z.Class-aware wrapper for `::pdf_parse_array()`.)r   PdfDocument_pdf_parse_arrayr   r  rb  s      r   pdf_parse_arrayzPdfDocument.pdf_parse_arrayS  s    11$3??r#   c                 0    t        j                  | ||      S z-Class-aware wrapper for `::pdf_parse_dict()`.)r   PdfDocument_pdf_parse_dictrG  s      r   pdf_parse_dictzPdfDocument.pdf_parse_dictW  s    00q#>>r#   c                 6    t        j                  | |||||      S )z
        Class-aware wrapper for `::pdf_parse_ind_obj()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_parse_ind_obj(::fz_stream *f)` => `(pdf_obj *, int num, int gen, int64_t stm_ofs, int try_repair)`
        )r   PdfDocument_pdf_parse_ind_obj)r   r  rw  rZ  rb  rs(  s         r   pdf_parse_ind_objzPdfDocument.pdf_parse_ind_obj[  s      33D!S#wPZ[[r#   c                 4    t        j                  | ||||      S )z
        Class-aware wrapper for `::pdf_parse_journal_obj()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_parse_journal_obj(::fz_stream *stm, ::fz_buffer **ostm)` => `(pdf_obj *, int onum, int newobj)`
        )r   !PdfDocument_pdf_parse_journal_obj)r   r  rw(  rx(  r!  s        r   pdf_parse_journal_objz!PdfDocument.pdf_parse_journal_objd  s     77c4vVVr#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::pdf_parse_stm_obj()`.)r   PdfDocument_pdf_parse_stm_objrG  s      r   pdf_parse_stm_objzPdfDocument.pdf_parse_stm_objm  s    33D!SAAr#   c                 .    t        j                  | |      S z6Class-aware wrapper for `::pdf_progressive_advance()`.)r   #PdfDocument_pdf_progressive_advance)r   r}  s     r   pdf_progressive_advancez#PdfDocument.pdf_progressive_advanceq  s    99$HHr#   c                 ,    t        j                  |       S z=Class-aware wrapper for `::pdf_purge_local_font_resources()`.)r   *PdfDocument_pdf_purge_local_font_resourcesrV   s    r   pdf_purge_local_font_resourcesz*PdfDocument.pdf_purge_local_font_resourcesu  r3  r#   c                 ,    t        j                  |       S z:Class-aware wrapper for `::pdf_purge_locals_from_store()`.)r   'PdfDocument_pdf_purge_locals_from_storerV   s    r   pdf_purge_locals_from_storez'PdfDocument.pdf_purge_locals_from_storey  r[0  r#   c                 .    t        j                  | |      S z:Class-aware wrapper for `::pdf_purge_object_from_store()`.)r   'PdfDocument_pdf_purge_object_from_storerRE  s     r   pdf_purge_object_from_storez'PdfDocument.pdf_purge_object_from_store}  r3  r#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_read_journal()`.)r   PdfDocument_pdf_read_journalriE  s     r   pdf_read_journalzPdfDocument.pdf_read_journal  r@  r#   c                 2    t        j                  | |||      S z2Class-aware wrapper for `::pdf_rearrange_pages()`.)r   PdfDocument_pdf_rearrange_pages)r   r  rY!  r  s       r   pdf_rearrange_pageszPdfDocument.pdf_rearrange_pages  s    55dE5)TTr#   c                 0    t        j                  | ||      S zfClass-aware wrapper for `::pdf_rearrange_pages2()`.   Swig-friendly wrapper for pdf_rearrange_pages().)r    PdfDocument_pdf_rearrange_pages2)r   rY!  r  s      r   pdf_rearrange_pages2z PdfDocument.pdf_rearrange_pages2  s    66tUINNr#   c                 0    t        j                  | ||      S z/Class-aware wrapper for `::pdf_recolor_page()`.)r   PdfDocument_pdf_recolor_page)r   r}  r  s      r   pdf_recolor_pagezPdfDocument.pdf_recolor_page  s    224$GGr#   c                 0    t        j                  | ||      S z.Class-aware wrapper for `::pdf_redact_page()`.)r   PdfDocument_pdf_redact_page)r   r'
  r  s      r   pdf_redact_pagezPdfDocument.pdf_redact_page  s    11$dCCr#   c                 ,    t        j                  |       S z'Class-aware wrapper for `::pdf_redo()`.)r   PdfDocument_pdf_redorV   s    r   pdf_redozPdfDocument.pdf_redo  r//  r#   c                 ,    t        j                  |       S z8Class-aware wrapper for `::pdf_remove_output_intents()`.)r   %PdfDocument_pdf_remove_output_intentsrV   s    r   pdf_remove_output_intentsz%PdfDocument.pdf_remove_output_intents  r-  r#   c	                 <    t        j                  | ||||||||	      S )a5  
        Class-aware wrapper for `::pdf_repair_obj()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_repair_obj(::pdf_lexbuf *buf, ::pdf_obj **encrypt, ::pdf_obj **id, ::pdf_obj **page, ::pdf_obj **root)` => `(int, int64_t stmofsp, int64_t stmlenp, int64_t tmpofs)`
        )r   PdfDocument_pdf_repair_obj)	r   rb  r(  r(  r(  rM  r'
  r(  r*  s	            r   pdf_repair_objzPdfDocument.pdf_repair_obj  s)     00sGWgWY[_agimnnr#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_repair_obj_stms()`.)r   PdfDocument_pdf_repair_obj_stmsrV   s    r   pdf_repair_obj_stmszPdfDocument.pdf_repair_obj_stms  r+  r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_repair_trailer()`.)r   PdfDocument_pdf_repair_trailerrV   s    r   pdf_repair_trailerzPdfDocument.pdf_repair_trailer  r0  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_repair_xref()`.)r   PdfDocument_pdf_repair_xrefrV   s    r   pdf_repair_xrefzPdfDocument.pdf_repair_xref  r,  r#   c                 0    t        j                  | ||      S z/Class-aware wrapper for `::pdf_replace_xref()`.)r   PdfDocument_pdf_replace_xref)r   r(  r[   s      r   pdf_replace_xrefzPdfDocument.pdf_replace_xref  s    224!DDr#   c                 0    t        j                  | ||      S z-Class-aware wrapper for `::pdf_reset_form()`.)r   PdfDocument_pdf_reset_form)r   r(  r(  s      r   pdf_reset_formzPdfDocument.pdf_reset_form  s    00vwGGr#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::pdf_resolve_link()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_resolve_link(const char *uri)` => `(int, float xp, float yp)`
        )r   PdfDocument_pdf_resolve_linkr1  s       r   pdf_resolve_linkzPdfDocument.pdf_resolve_link  s     224b"EEr#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_rewrite_images()`.)r   PdfDocument_pdf_rewrite_imagesr1  s     r   pdf_rewrite_imageszPdfDocument.pdf_rewrite_imagesÏ  s    44T4@@r#   c                 0    t        j                  | ||      S z9Class-aware wrapper for `::pdf_run_document_structure()`.)r   &PdfDocument_pdf_run_document_structurer1  s      r   pdf_run_document_structurez&PdfDocument.pdf_run_document_structureǏ  s    <<T3OOr#   c           	      8    t        j                  | ||||||      S z,Class-aware wrapper for `::pdf_run_glyph()`.)r   PdfDocument_pdf_run_glyph)r   r  r  rT  rW  r  r  s          r   pdf_run_glyphzPdfDocument.pdf_run_glyphˏ  s"    //i3PSU[]ghhr#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::pdf_save_document()`.)r   PdfDocument_pdf_save_document)r   r  r  s      r   pdf_save_documentzPdfDocument.pdf_save_documentϏ  s    33D(DIIr#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_save_journal()`.)r   PdfDocument_pdf_save_journalrw,  s     r   pdf_save_journalzPdfDocument.pdf_save_journalӏ  rPF  r#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::pdf_save_snapshot()`.)r   PdfDocument_pdf_save_snapshotrw,  s     r   pdf_save_snapshotzPdfDocument.pdf_save_snapshot׏  r8  r#   c                 .    t        j                  | |      S z6Class-aware wrapper for `::pdf_select_layer_config()`.)r   #PdfDocument_pdf_select_layer_config)r   r&  s     r   pdf_select_layer_configz#PdfDocument.pdf_select_layer_configۏ  rl/  r#   c                 .    t        j                  | |      S z9Class-aware wrapper for `::pdf_select_layer_config_ui()`.)r   &PdfDocument_pdf_select_layer_config_uirdE  s     r   pdf_select_layer_config_uiz&PdfDocument.pdf_select_layer_config_uiߏ      <<T2FFr#   c                 .    t        j                  | |      S z4Class-aware wrapper for `::pdf_serialise_journal()`.)r   !PdfDocument_pdf_serialise_journalr   rl  s     r   pdf_serialise_journalz!PdfDocument.pdf_serialise_journal  rE  r#   c                 2    t        j                  | |||      S z8Class-aware wrapper for `::pdf_set_annot_field_value()`.)r   %PdfDocument_pdf_set_annot_field_value)r   ry"  r
  ra)  s       r   pdf_set_annot_field_valuez%PdfDocument.pdf_set_annot_field_value  s    ;;D&$Peffr#   c                 2    t        j                  | |||      S z9Class-aware wrapper for `::pdf_set_doc_event_callback()`.)r   &PdfDocument_pdf_set_doc_event_callback)r   r  r  r?   s       r   pdf_set_doc_event_callbackz&PdfDocument.pdf_set_doc_event_callback  s    <<T8M_aeffr#   c                 .    t        j                  | |      S z8Class-aware wrapper for `::pdf_set_document_language()`.)r   %PdfDocument_pdf_set_document_languager;  s     r   pdf_set_document_languagez%PdfDocument.pdf_set_document_language  s    ;;D$GGr#   c                 2    t        j                  | |||      S z2Class-aware wrapper for `::pdf_set_field_value()`.)r   PdfDocument_pdf_set_field_value)r   r  r
  ra)  s       r   pdf_set_field_valuezPdfDocument.pdf_set_field_value  s    55dE4I^__r#   c                 ,    t        j                  |       S z>Class-aware wrapper for `::pdf_set_layer_config_as_default()`.)r   +PdfDocument_pdf_set_layer_config_as_defaultrV   s    r   pdf_set_layer_config_as_defaultz+PdfDocument.pdf_set_layer_config_as_default  rD  r#   c                 4    t        j                  | ||||      S z2Class-aware wrapper for `::pdf_set_page_labels()`.)r   PdfDocument_pdf_set_page_labels)r   r   r  r$  rw  s        r   pdf_set_page_labelszPdfDocument.pdf_set_page_labels  s    55dE5&RWXXr#   c                 .    t        j                  | |      S z>Class-aware wrapper for `::pdf_set_populating_xref_trailer()`.)r   +PdfDocument_pdf_set_populating_xref_trailer)r   ri  s     r   pdf_set_populating_xref_trailerz+PdfDocument.pdf_set_populating_xref_trailer  s    AA$PPr#   c                 0    t        j                  | ||      S z7Class-aware wrapper for `::pdf_signature_byte_range()`.)r   $PdfDocument_pdf_signature_byte_range)r   r#  r*  s      r   pdf_signature_byte_rangez$PdfDocument.pdf_signature_byte_range  s    ::4JWWr#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::pdf_signature_contents()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_signature_contents(::pdf_obj *signature)` => `(size_t, char *contents)`
        )r   "PdfDocument_pdf_signature_contents)r   r#  r  s      r   pdf_signature_contentsz"PdfDocument.pdf_signature_contents  s     88y(SSr#   c                 .    t        j                  | |      S z7Class-aware wrapper for `::pdf_signature_hash_bytes()`.)r   $PdfDocument_pdf_signature_hash_bytesr   r#  s     r   pdf_signature_hash_bytesz$PdfDocument.pdf_signature_hash_bytes  s    ::4KKr#   c                 .    t        j                  | |      S zMClass-aware wrapper for `::pdf_signature_incremental_change_since_signing()`.)r   :PdfDocument_pdf_signature_incremental_change_since_signingrG  s     r   .pdf_signature_incremental_change_since_signingz:PdfDocument.pdf_signature_incremental_change_since_signing  s    PPQUW`aar#   c                 .    t        j                  | |      S z6Class-aware wrapper for `::pdf_signature_is_signed()`.)r   #PdfDocument_pdf_signature_is_signedrE  s     r   pdf_signature_is_signedz#PdfDocument.pdf_signature_is_signed  rB  r#   c                 2    t        j                  | |||      S z6Class-aware wrapper for `::pdf_signature_set_value()`.)r   #PdfDocument_pdf_signature_set_value)r   r  r  r/*  s       r   pdf_signature_set_valuez#PdfDocument.pdf_signature_set_value  s    99$vuUUr#   c                 0    t        j                  | ||      S z/Class-aware wrapper for `::pdf_subset_fonts()`.)r   PdfDocument_pdf_subset_fonts)r   rI*  rY!  s      r   pdf_subset_fontszPdfDocument.pdf_subset_fonts   s    224EJJr#   c                 .    t        j                  | |      S z`Class-aware wrapper for `::pdf_subset_fonts2()`.   Swig-friendly wrapper for pdf_subset_fonts().)r   PdfDocument_pdf_subset_fonts2rA7  s     r   pdf_subset_fonts2zPdfDocument.pdf_subset_fonts2$  r52  r#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_sync_open_pages()`.)r   PdfDocument_pdf_sync_open_pagesrV   s    r   pdf_sync_open_pageszPdfDocument.pdf_sync_open_pages(  r+  r#   c                 .    t        j                  | |      S z9Class-aware wrapper for `::pdf_toggle_layer_config_ui()`.)r   &PdfDocument_pdf_toggle_layer_config_uirdE  s     r   pdf_toggle_layer_config_uiz&PdfDocument.pdf_toggle_layer_config_ui,  rG  r#   c                 ,    t        j                  |       S z*Class-aware wrapper for `::pdf_trailer()`.)r   PdfDocument_pdf_trailerrV   s    r   pdf_trailerzPdfDocument.pdf_trailer0  r+  r#   c                 ,    t        j                  |       S z'Class-aware wrapper for `::pdf_undo()`.)r   PdfDocument_pdf_undorV   s    r   pdf_undozPdfDocument.pdf_undo4  r//  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::pdf_undoredo_state()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_undoredo_state()` => `(int, int steps)`
        )r   PdfDocument_pdf_undoredo_state)r   r*  s     r   pdf_undoredo_statezPdfDocument.pdf_undoredo_state8  s     44T5AAr#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::pdf_undoredo_step()`.)r   PdfDocument_pdf_undoredo_step)r   r*  s     r   pdf_undoredo_stepzPdfDocument.pdf_undoredo_stepA  s    33D$??r#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::pdf_update_object()`.)r   PdfDocument_pdf_update_object)r   rw  rh  s      r   pdf_update_objectzPdfDocument.pdf_update_objectE  s    33D#sCCr#   c                 2    t        j                  | |||      S z0Class-aware wrapper for `::pdf_update_stream()`.)r   PdfDocument_pdf_update_stream)r   r&  rb  r"  s       r   pdf_update_streamzPdfDocument.pdf_update_streamI  s    33D#sJOOr#   c                 6    t        j                  | |||||      S z1Class-aware wrapper for `::pdf_update_xobject()`.)r   PdfDocument_pdf_update_xobject)r   r*  r  r*  r#  r*  s         r   pdf_update_xobjectzPdfDocument.pdf_update_xobjectM  s    44T4sCQWXXr#   c                 ,    t        j                  |       S z:Class-aware wrapper for `::pdf_validate_change_history()`.)r   'PdfDocument_pdf_validate_change_historyrV   s    r   pdf_validate_change_historyz'PdfDocument.pdf_validate_change_historyQ  r[0  r#   c                 .    t        j                  | |      S z3Class-aware wrapper for `::pdf_validate_changes()`.)r    PdfDocument_pdf_validate_changesr   rP  s     r   pdf_validate_changesz PdfDocument.pdf_validate_changesU  s    66tWEEr#   c                 ,    t        j                  |       S z*Class-aware wrapper for `::pdf_version()`.)r   PdfDocument_pdf_versionrV   s    r   pdf_versionzPdfDocument.pdf_versionY  r+  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_was_pure_xfa()`.)r   PdfDocument_pdf_was_pure_xfarV   s    r   pdf_was_pure_xfazPdfDocument.pdf_was_pure_xfa]  r2  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_was_repaired()`.)r   PdfDocument_pdf_was_repairedrV   s    r   pdf_was_repairedzPdfDocument.pdf_was_repaireda  r2  r#   c                 0    t        j                  | ||      S z1Class-aware wrapper for `::pdf_write_document()`.)r   PdfDocument_pdf_write_document)r   rl  r  s      r   pdf_write_documentzPdfDocument.pdf_write_documente  s    44T3EEr#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::pdf_write_journal()`.)r   PdfDocument_pdf_write_journalrG  s     r   pdf_write_journalzPdfDocument.pdf_write_journali  r=  r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_write_snapshot()`.)r   PdfDocument_pdf_write_snapshotrG  s     r   pdf_write_snapshotzPdfDocument.pdf_write_snapshotm      44T3??r#   c                 .    t        j                  | |      S zAClass-aware wrapper for `::pdf_xref_ensure_incremental_object()`.)r   .PdfDocument_pdf_xref_ensure_incremental_objectrRE  s     r   "pdf_xref_ensure_incremental_objectz.PdfDocument.pdf_xref_ensure_incremental_objectq  s    DDT3OOr#   c                 .    t        j                  | |      S z;Class-aware wrapper for `::pdf_xref_ensure_local_object()`.)r   (PdfDocument_pdf_xref_ensure_local_objectrRE  s     r   pdf_xref_ensure_local_objectz(PdfDocument.pdf_xref_ensure_local_objectu  rwE  r#   c                 0    t        j                  | ||      S z1Class-aware wrapper for `::pdf_xref_entry_map()`.)r   PdfDocument_pdf_xref_entry_map)r   r  r  s      r   pdf_xref_entry_mapzPdfDocument.pdf_xref_entry_mapy  s    44T2sCCr#   c                 .    t        j                  | |      S z6Class-aware wrapper for `::pdf_xref_is_incremental()`.)r   #PdfDocument_pdf_xref_is_incrementalrRE  s     r   pdf_xref_is_incrementalz#PdfDocument.pdf_xref_is_incremental}  r.C  r#   c                 ,    t        j                  |       S z+Class-aware wrapper for `::pdf_xref_len()`.)r   PdfDocument_pdf_xref_lenrV   s    r   pdf_xref_lenzPdfDocument.pdf_xref_len  r8/  r#   c                 .    t        j                  | |      S z@Class-aware wrapper for `::pdf_xref_obj_is_unsaved_signature()`.)r   -PdfDocument_pdf_xref_obj_is_unsaved_signaturerB  s     r   !pdf_xref_obj_is_unsaved_signaturez-PdfDocument.pdf_xref_obj_is_unsaved_signature  s    CCD#NNr#   c                 .    t        j                  | |      S z@Class-aware wrapper for `::pdf_xref_remove_unsaved_signature()`.)r   -PdfDocument_pdf_xref_remove_unsaved_signaturerE  s     r   !pdf_xref_remove_unsaved_signaturez-PdfDocument.pdf_xref_remove_unsaved_signature  s    CCD%PPr#   c                 0    t        j                  | ||      S z?Class-aware wrapper for `::pdf_xref_store_unsaved_signature()`.)r   ,PdfDocument_pdf_xref_store_unsaved_signature)r   r  r  s      r    pdf_xref_store_unsaved_signaturez,PdfDocument.pdf_xref_store_unsaved_signature  s    BB4PVWWr#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::pdf_zugferd_profile()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_zugferd_profile()` => `(enum pdf_zugferd_profile, float version)`
        )r   PdfDocument_pdf_zugferd_profilerG  s     r   pdf_zugferd_profilezPdfDocument.pdf_zugferd_profile  s     55dGDDr#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_zugferd_xml()`.)r   PdfDocument_pdf_zugferd_xmlrV   s    r   pdf_zugferd_xmlzPdfDocument.pdf_zugferd_xml  r,  r#   c                 ,    t        j                  |       S z"Returns wrapper for .super member.)r   PdfDocument_superrV   s    r   rK  zPdfDocument.super  r4  r#   c                 P    t        j                  | t        j                  |        y)a4  
        *Overload 1:*
        == Constructors.  Constructor using `pdf_create_document()`.

        |

        *Overload 2:*
        Constructor using `pdf_document_from_fz_document()`.

        |

        *Overload 3:*
        Constructor using `pdf_open_document()`.

        |

        *Overload 4:*
        Constructor using `pdf_open_document_with_stream()`.

        |

        *Overload 5:*
        Copy constructor using `pdf_keep_document()`.

        |

        *Overload 6:*
        Constructor using raw copy of pre-existing `::pdf_document`.
        N)r   PdfDocument_swiginitnew_PdfDocumentr   s     r   rS   zPdfDocument.__init__  s    < 	##D&*@*@$*GHr#   c                 ,    t        j                  |       S r+  )r   PdfDocument_m_internal_valuerV   s    r   r+  zPdfDocument.m_internal_valueÐ  r2  r#   c                 ,    t        j                  |       S r-   )r   PdfDocument___nonzero__rV   s    r   r   zPdfDocument.__nonzero__ǐ  rs   r#   r+  N)r   r   r6   r7   r   r   r   r   rD  rD  rD  rD  rD  rD  rD  rD  rD  rD  rD  rD  rD  rD  rD  rD  rD  rE  rE  r	E  rE  rE  rE  rE  rE  r!E  r%E  r)E  r-E  r1E  r5E  r9E  r=E  rAE  rEE  rJE  rNE  rSE  rWE  r\E  r`E  reE  rjE  rnE  rrE  rvE  r{E  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  rE  r F  rF  rF  rF  rF  rF  rF  rF  r F  r$F  r(F  r-F  r2F  r6F  r:F  r>F  rBF  rGF  rKF  rOF  rTF  rXF  r\F  r`F  rdF  rhF  rlF  rpF  rtF  rxF  r{F  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rF  rG  rG  r	G  rG  rG  rG  rG  rG  rG  r#G  r'G  r+G  r/G  r3G  r7G  r;G  r?G  rCG  rGG  rKG  rNG  rRG  rVG  rZG  r^G  rbG  reG  riG  rmG  rqG  ruG  ryG  r}G  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rG  rH  rH  rH  rH  rH  rH  rH  r H  r$H  r(H  r,H  r/H  r3H  rK  rS   r   delete_PdfDocumentr   r+  r   r   PdfDocument_m_internal_getPdfDocument_m_internal_setr+  PdfDocument_s_num_instances_getPdfDocument_s_num_instances_setr+  r$   r#   r   rD  rD    sb   3-/IOdeGH>?U|=dCB<\LMFTFUEG;G557?LB@9:8W=C;P:>?@FJIE7?JEDFFECA8;6I:CCMSF>IFNY?RPZF8H>P>@=KB;AKJ9PKD>mTKD<OC_B	=9>;>H>D`HI@LBGUHD65>;FBo;OA:C<X=;zrSCF^HDXHX@?\WBIGDI>UOHD1Bo<;8EHFAPiJCDLGCggH`HYQXTLbGVKA<G41B@DPYDF499F?@PJDE5OQXE8.I> 0094H &;;V=^=^  eD  EJvEEvGmGmnOr#   rD  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfEmbeddedFileParamszPWrapper class for struct `pdf_embedded_file_params`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfEmbeddedFileParams.<lambda>Ԑ  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfEmbeddedFileParams.<lambda>Ԑ  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_embedded_file_params`.
        N)r   PdfEmbeddedFileParams_swiginitnew_PdfEmbeddedFileParamsr   s     r   rS   zPdfEmbeddedFileParams.__init__א  r?  r#   c                 ,    t        j                  |       S r+  )r   &PdfEmbeddedFileParams_m_internal_valuerV   s    r   r+  z&PdfEmbeddedFileParams.m_internal_value  r-  r#   c                 ,    t        j                  |       S r-   )r   !PdfEmbeddedFileParams___nonzero__rV   s    r   r   z!PdfEmbeddedFileParams.__nonzero__  r?  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfEmbeddedFileParamsr   r+  r   r   $PdfEmbeddedFileParams_m_internal_get$PdfEmbeddedFileParams_m_internal_setr+  )PdfEmbeddedFileParams_s_num_instances_get)PdfEmbeddedFileParams_s_num_instances_setr+  r$   r#   r   rDH  rDH  ѐ  r?  r#   rDH  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfFilespecParamszKWrapper class for struct `pdf_filespec_params`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfFilespecParams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfFilespecParams.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_filespec_params`.
        N)r   PdfFilespecParams_swiginitnew_PdfFilespecParamsr   s     r   rS   zPdfFilespecParams.__init__  rM.  r#   c                 ,    t        j                  |       S r+  )r   "PdfFilespecParams_m_internal_valuerV   s    r   r+  z"PdfFilespecParams.m_internal_value  r-  r#   c                 ,    t        j                  |       S r-   )r   PdfFilespecParams___nonzero__rV   s    r   r   zPdfFilespecParams.__nonzero__	  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfFilespecParamsr   r+  r   r    PdfFilespecParams_m_internal_get PdfFilespecParams_m_internal_setr+  %PdfFilespecParams_s_num_instances_get%PdfFilespecParams_s_num_instances_setr+  r$   r#   r   rTH  rTH    z    V-/IOdeGH
U 66?:H &AA6CjCj  qP  QJvKKVMyMyzOr#   rTH  c                      e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Z ee
j                  e
j                        Z ee
j                   e
j"                        Z ee
j&                  e
j(                        Zd Zd	 Zd
 Zy)PdfFilterFactoryz.Wrapper class for struct `pdf_filter_factory`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfFilterFactory.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfFilterFactory.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)ai  
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_filter_factory`.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_filter_factory`.
        N)r   PdfFilterFactory_swiginitnew_PdfFilterFactoryr   s     r   rS   zPdfFilterFactory.__init__       	((v/J/JD/QRr#   c                 .    t        j                  | g| S rg+  )r   PdfFilterFactory_internalr   s     r   ri+  zPdfFilterFactory.internal*       //<t<<r#   c                 ,    t        j                  |       S rk+  )r   PdfFilterFactory_to_stringrV   s    r   r[+  zPdfFilterFactory.to_string:  r,  r#   c                 .    t        j                  | |      S ro+  )r   PdfFilterFactory___eq__rq+  s     r   r}   zPdfFilterFactory.__eq__>  rC  r#   c                 .    t        j                  | |      S ro+  )r   PdfFilterFactory___ne__rq+  s     r   r   zPdfFilterFactory.__ne__B  rC  r#   N)r   r   r6   r7   r   r   r   r   rS   ri+  r   delete_PdfFilterFactoryr   PdfFilterFactory_filter_getPdfFilterFactory_filter_setr
  PdfFilterFactory_options_getPdfFilterFactory_options_setr  $PdfFilterFactory_s_num_instances_get$PdfFilterFactory_s_num_instances_setr+  r[+  r}   r   r$   r#   r   reH  reH    s    9-/IOdeGHS"
= 55f88&:\:\]Fv::F<_<_`GvJJFLwLwxO799r#   reH  c                   `    e Zd ZdZ ed d d      ZeZd Ze	j                  ZddZd Zd	 Zy
)PdfFilterFactory2zvWrapper class for struct pdf_filter_factory with virtual fns for each fnptr; this is for use as a SWIG Director class.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfFilterFactory2.<lambda>K  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfFilterFactory2.<lambda>K  rL   r#   rM   rN   c                     | j                   t        k(  rd}n| }t        j                  | t        j                  |             yr/  )r   r}H  r   PdfFilterFactory2_swiginitnew_PdfFilterFactory2r/  s     r   rS   zPdfFilterFactory2.__init__N  4    >>..EE))$0L0LU0UVr#   c                 .    t        j                  | |      S r/  )r   $PdfFilterFactory2_use_virtual_filterr/  s     r   use_virtual_filterz$PdfFilterFactory2.use_virtual_filterW  s    
 ::4EEr#   c           	      8    t        j                  | ||||||      S r/  )r   PdfFilterFactory2_filterr3  s          r   r
  zPdfFilterFactory2.filter^  s!    ..tUE5%QVX]^^r#   c                     | j                   j                          t        j                  |        t	        j
                  |       S r-   )r
   rJ0  r   disown_PdfFilterFactory2rL0  rM0  rV   s    r   rN0  zPdfFilterFactory2.__disown__a  /    		''-}}T""r#   NrP0  )r   r   r6   r7   r   r   r   r   rS   r   delete_PdfFilterFactory2r   rH  r
  rN0  r$   r#   r   r}H  r}H  H  sC     B-/IOdeGHW 66F_#r#   r}H  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
ej                  Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Z eej:                  ej<                        Z eej@                  ejB                        Z" eejF                  ejH                        Z% eejL                  ejN                        Z(d	 Z)d
 Z*d Z+ eejX                  ejZ                        Z.y)PdfFilterOptionsz.Wrapper class for struct `pdf_filter_options`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfFilterOptions.<lambda>k  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfFilterOptions.<lambda>k  rL   r#   rM   rN   c                 .    t        j                  | |      S )zoWe use default copy constructor and operator=.  Appends `factory` to internal vector and updates this->filters.)r   PdfFilterOptions_add_factory)r   factorys     r   add_factoryzPdfFilterOptions.add_factoryn  r8  r#   c                 P    t        j                  | t        j                  |        y)a:  
        *Overload 1:*
        Default constructor initialises all fields to null/zero.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_filter_options`.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_filter_options`.
        N)r   PdfFilterOptions_swiginitnew_PdfFilterOptionsr   s     r   rS   zPdfFilterOptions.__init__r  rkH  r#   c                 .    t        j                  | g| S rg+  )r   PdfFilterOptions_internalr   s     r   ri+  zPdfFilterOptions.internal  rnH  r#   c                 ,    t        j                  |       S rk+  )r   PdfFilterOptions_to_stringrV   s    r   r[+  zPdfFilterOptions.to_string  r,  r#   c                 .    t        j                  | |      S ro+  )r   PdfFilterOptions___eq__rq+  s     r   r}   zPdfFilterOptions.__eq__  rC  r#   c                 .    t        j                  | |      S ro+  )r   PdfFilterOptions___ne__rq+  s     r   r   zPdfFilterOptions.__ne__  rC  r#   N)/r   r   r6   r7   r   r   r   r   rH  rS   ri+  r   delete_PdfFilterOptionsr   PdfFilterOptions_recurse_getPdfFilterOptions_recurse_setr  #PdfFilterOptions_instance_forms_get#PdfFilterOptions_instance_forms_setr  PdfFilterOptions_ascii_getPdfFilterOptions_ascii_setr  PdfFilterOptions_no_update_getPdfFilterOptions_no_update_setr!  PdfFilterOptions_opaque_getPdfFilterOptions_opaque_setrt  PdfFilterOptions_complete_getPdfFilterOptions_complete_setr&  PdfFilterOptions_filters_getPdfFilterOptions_filters_setr)  PdfFilterOptions_newlines_getPdfFilterOptions_newlines_setr,  $PdfFilterOptions_s_num_instances_get$PdfFilterOptions_s_num_instances_setr+  r[+  r}   r   PdfFilterOptions_m_filters_getPdfFilterOptions_m_filters_set	m_filtersr$   r#   r   rH  rH  h  s;   9-/IOdeGHBS"
= 55v::F<_<_`GfHH&JtJtuNV668Y8YZE>>@e@efIf88&:\:\]F<<f>b>bcHv::F<_<_`G<<f>b>bcHvJJFLwLwxO799 >>@e@efIr#   rH  c                   `    e Zd ZdZ ed d d      ZeZd Ze	j                  ZddZd Zd	 Zy
)PdfFilterOptions2zvWrapper class for struct pdf_filter_options with virtual fns for each fnptr; this is for use as a SWIG Director class.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfFilterOptions2.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfFilterOptions2.<lambda>  rL   r#   rM   rN   c                     | j                   t        k(  rd}n| }t        j                  | t        j                  |             yr/  )r   rH  r   PdfFilterOptions2_swiginitnew_PdfFilterOptions2r/  s     r   rS   zPdfFilterOptions2.__init__  rH  r#   c                 .    t        j                  | |      S r/  )r   &PdfFilterOptions2_use_virtual_completer/  s     r   use_virtual_completez&PdfFilterOptions2.use_virtual_complete  s    
 <<T3GGr#   c                 0    t        j                  | ||      S r/  )r   PdfFilterOptions2_complete)r   r   r  s      r   r&  zPdfFilterOptions2.complete  s    00ueDDr#   c                     | j                   j                          t        j                  |        t	        j
                  |       S r-   )r
   rJ0  r   disown_PdfFilterOptions2rL0  rM0  rV   s    r   rN0  zPdfFilterOptions2.__disown__  rH  r#   NrP0  )r   r   r6   r7   r   r   r   r   rS   r   delete_PdfFilterOptions2r   rH  r&  rN0  r$   r#   r   rH  rH    sC     B-/IOdeGHW 66HE#r#   rH  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zej$                  Zd Zd ZeZ eej.                  ej0                  d      Z eej4                  ej6                        Zy)PdfFontDesczEWrapper class for struct `pdf_font_desc`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfFontDesc.<lambda>ˑ  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfFontDesc.<lambda>ˑ  rL   r#   rM   rN   c                 2    t        j                  | |||      S z+Class-aware wrapper for `::pdf_add_hmtx()`.)r   PdfFontDesc_pdf_add_hmtx)r   r  r  r7  s       r   pdf_add_hmtxzPdfFontDesc.pdf_add_hmtxΑ  s    ..tRQ??r#   c                 6    t        j                  | |||||      S z+Class-aware wrapper for `::pdf_add_vmtx()`.)r   PdfFontDesc_pdf_add_vmtx)r   r  r  rF   r  r7  s         r   pdf_add_vmtxzPdfFontDesc.pdf_add_vmtxґ  s    ..tRQ1EEr#   c                 ,    t        j                  |       S z+Class-aware wrapper for `::pdf_end_hmtx()`.)r   PdfFontDesc_pdf_end_hmtxrV   s    r   pdf_end_hmtxzPdfFontDesc.pdf_end_hmtx֑  r8/  r#   c                 ,    t        j                  |       S z+Class-aware wrapper for `::pdf_end_vmtx()`.)r   PdfFontDesc_pdf_end_vmtxrV   s    r   pdf_end_vmtxzPdfFontDesc.pdf_end_vmtxڑ  r8/  r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_font_cid_to_gid()`.)r   PdfFontDesc_pdf_font_cid_to_gid)r   r	  s     r   pdf_font_cid_to_gidzPdfFontDesc.pdf_font_cid_to_gidޑ  rC  r#   c                 .    t        j                  | |      S z3Class-aware wrapper for `::pdf_set_default_hmtx()`.)r    PdfFontDesc_pdf_set_default_hmtxr>  s     r   pdf_set_default_hmtxz PdfFontDesc.pdf_set_default_hmtx  s    66tQ??r#   c                 0    t        j                  | ||      S z3Class-aware wrapper for `::pdf_set_default_vmtx()`.)r    PdfFontDesc_pdf_set_default_vmtx)r   r  r7  s      r   pdf_set_default_vmtxz PdfFontDesc.pdf_set_default_vmtx      66tQBBr#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_set_font_wmode()`.)r   PdfFontDesc_pdf_set_font_wmoderD  s     r   pdf_set_font_wmodezPdfFontDesc.pdf_set_font_wmode  rYF  r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        == Constructors.  Constructor using `pdf_new_font_desc()`.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_font_desc`.
        N)r   PdfFontDesc_swiginitnew_PdfFontDescr   s     r   rS   zPdfFontDesc.__init__  r7  r#   c                 ,    t        j                  |       S r+  )r   PdfFontDesc_m_internal_valuerV   s    r   r+  zPdfFontDesc.m_internal_value  r2  r#   c                 ,    t        j                  |       S r-   )r   PdfFontDesc___nonzero__rV   s    r   r   zPdfFontDesc.__nonzero__  rs   r#   r+  N)r   r   r6   r7   r   r   r   r   rH  rH  rH  rH  rH  rH  rH  rH  rS   r   delete_PdfFontDescr   r+  r   r   PdfFontDesc_m_internal_getPdfFontDesc_m_internal_setr+  PdfFontDesc_s_num_instances_getPdfFontDesc_s_num_instances_setr+  r$   r#   r   rH  rH  ȑ  s    P-/IOdeGH@F55A@CB
I 0094H &;;V=^=^  eD  EJvEEvGmGmnOr#   rH  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfFontResourceKeyzMWrapper class for struct `pdf_font_resource_key`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfFontResourceKey.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfFontResourceKey.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_font_resource_key`.
        N)r   PdfFontResourceKey_swiginitnew_PdfFontResourceKeyr   s     r   rS   zPdfFontResourceKey.__init__        	**41N1NPT1UVr#   c                 ,    t        j                  |       S r+  )r   #PdfFontResourceKey_m_internal_valuerV   s    r   r+  z#PdfFontResourceKey.m_internal_value  r-  r#   c                 ,    t        j                  |       S r-   )r   PdfFontResourceKey___nonzero__rV   s    r   r   zPdfFontResourceKey.__nonzero__   r'  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfFontResourceKeyr   r+  r   r   !PdfFontResourceKey_m_internal_get!PdfFontResourceKey_m_internal_setr+  &PdfFontResourceKey_s_num_instances_get&PdfFontResourceKey_s_num_instances_setr+  r$   r#   r   rH  rH  	  s{    X-/IOdeGH
W 77@;H &BBFDlDl  sR  SJvLLfN{N{|Or#   rH  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
ej                  Zd	 Zd
 ZeZ eej"                  ej$                  d      Z eej(                  ej*                        Zy)PdfFunctionz(Wrapper class for struct `pdf_function`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfFunction.<lambda>-  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfFunction.<lambda>-  rL   r#   rM   rN   c                 4    t        j                  | ||||      S )z
        Class-aware wrapper for `::pdf_eval_function()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_eval_function(const float *in, int inlen, int outlen)` => float out
        )r   PdfFunction_pdf_eval_functionr2  s        r   pdf_eval_functionzPdfFunction.pdf_eval_function0  s     33D#uc6RRr#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::pdf_function_size()`.)r   PdfFunction_pdf_function_sizerV   s    r   pdf_function_sizezPdfFunction.pdf_function_size9  rK,  r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        Copy constructor using `pdf_keep_function()`.

        |

        *Overload 2:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_function`.
        N)r   PdfFunction_swiginitnew_PdfFunctionr   s     r   rS   zPdfFunction.__init__=  re+  r#   c                 ,    t        j                  |       S r+  )r   PdfFunction_m_internal_valuerV   s    r   r+  zPdfFunction.m_internal_valueO  r2  r#   c                 ,    t        j                  |       S r-   )r   PdfFunction___nonzero__rV   s    r   r   zPdfFunction.__nonzero__S  rs   r#   r+  N)r   r   r6   r7   r   r   r   r   rI  rI  rS   r   delete_PdfFunctionr   r+  r   r   PdfFunction_m_internal_getPdfFunction_m_internal_setr+  PdfFunction_s_num_instances_getPdfFunction_s_num_instances_setr+  r$   r#   r   rI  rI  *  s    3-/IOdeGHS:I  0094H &;;V=^=^  eD  EJvEEvGmGmnOr#   rI  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
ej                  Zd	 Zd
 ZeZ eej"                  ej$                  d      Z eej(                  ej*                        Zy)PdfGraftMapz)Wrapper class for struct `pdf_graft_map`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfGraftMap.<lambda>`  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfGraftMap.<lambda>`  rL   r#   rM   rN   c                 .    t        j                  | |      S z6Class-aware wrapper for `::pdf_graft_mapped_object()`.)r   #PdfGraftMap_pdf_graft_mapped_objectrB  s     r   pdf_graft_mapped_objectz#PdfGraftMap.pdf_graft_mapped_objectc  r.C  r#   c                 2    t        j                  | |||      S z4Class-aware wrapper for `::pdf_graft_mapped_page()`.)r   !PdfGraftMap_pdf_graft_mapped_pagerE  s       r   pdf_graft_mapped_pagez!PdfGraftMap.pdf_graft_mapped_pageg  s    77gsIVVr#   c                 P    t        j                  | t        j                  |        y)a}  
        *Overload 1:*
        == Constructors.  Constructor using `pdf_new_graft_map()`.

        |

        *Overload 2:*
        Copy constructor using `pdf_keep_graft_map()`.

        |

        *Overload 3:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 4:*
        Constructor using raw copy of pre-existing `::pdf_graft_map`.
        N)r   PdfGraftMap_swiginitnew_PdfGraftMapr   s     r   rS   zPdfGraftMap.__init__k  s    ( 	##D&*@*@$*GHr#   c                 ,    t        j                  |       S r+  )r   PdfGraftMap_m_internal_valuerV   s    r   r+  zPdfGraftMap.m_internal_value  r2  r#   c                 ,    t        j                  |       S r-   )r   PdfGraftMap___nonzero__rV   s    r   r   zPdfGraftMap.__nonzero__  rs   r#   r+  N)r   r   r6   r7   r   r   r   r   r%I  r)I  rS   r   delete_PdfGraftMapr   r+  r   r   PdfGraftMap_m_internal_getPdfGraftMap_m_internal_setr+  PdfGraftMap_s_num_instances_getPdfGraftMap_s_num_instances_setr+  r$   r#   r   rI  rI  ]  s    4-/IOdeGHEWI* 0094H &;;V=^=^  eD  EJvEEvGmGmnOr#   rI  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)	PdfGstatezBWrapper class for struct `pdf_gstate`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfGstate.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfGstate.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_gstate`.
        N)r   PdfGstate_swiginitnew_PdfGstater   s     r   rS   zPdfGstate.__init__  r>4  r#   c                 ,    t        j                  |       S r+  )r   PdfGstate_m_internal_valuerV   s    r   r+  zPdfGstate.m_internal_value  r,  r#   c                 ,    t        j                  |       S r-   )r   PdfGstate___nonzero__rV   s    r   r   zPdfGstate.__nonzero__  r\  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfGstater   r+  r   r   PdfGstate_m_internal_getPdfGstate_m_internal_setr+  PdfGstate_s_num_instances_getPdfGstate_s_num_instances_setr+  r$   r#   r   r7I  r7I    v    M-/IOdeGH
E ..72H &996;Z;Z`  AJvCCVEiEijOr#   r7I  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfHintPagezEWrapper class for struct `pdf_hint_page`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfHintPage.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfHintPage.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_hint_page`.
        N)r   PdfHintPage_swiginitnew_PdfHintPager   s     r   rS   zPdfHintPage.__init__  r7  r#   c                 ,    t        j                  |       S r+  )r   PdfHintPage_m_internal_valuerV   s    r   r+  zPdfHintPage.m_internal_valueĒ  r2  r#   c                 ,    t        j                  |       S r-   )r   PdfHintPage___nonzero__rV   s    r   r   zPdfHintPage.__nonzero__Ȓ  rs   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfHintPager   r+  r   r   PdfHintPage_m_internal_getPdfHintPage_m_internal_setr+  PdfHintPage_s_num_instances_getPdfHintPage_s_num_instances_setr+  r$   r#   r   rHI  rHI    sz    P-/IOdeGH
I 0094H &;;V=^=^  eD  EJvEEvGmGmnOr#   rHI  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfHintSharedzGWrapper class for struct `pdf_hint_shared`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfHintShared.<lambda>Ւ  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfHintShared.<lambda>Ւ  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_hint_shared`.
        N)r   PdfHintShared_swiginitnew_PdfHintSharedr   s     r   rS   zPdfHintShared.__init__ؒ  r2  r#   c                 ,    t        j                  |       S r+  )r   PdfHintShared_m_internal_valuerV   s    r   r+  zPdfHintShared.m_internal_value  r0  r#   c                 ,    t        j                  |       S r-   )r   PdfHintShared___nonzero__rV   s    r   r   zPdfHintShared.__nonzero__  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfHintSharedr   r+  r   r   PdfHintShared_m_internal_getPdfHintShared_m_internal_setr+  !PdfHintShared_s_num_instances_get!PdfHintShared_s_num_instances_setr+  r$   r#   r   rXI  rXI  Ғ  r2  r#   rXI  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfHmtxz@Wrapper class for struct `pdf_hmtx`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfHmtx.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfHmtx.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_hmtx`.
        N)r   PdfHmtx_swiginitnew_PdfHmtxr   s     r   rS   zPdfHmtx.__init__  rG;  r#   c                 ,    t        j                  |       S r+  )r   PdfHmtx_m_internal_valuerV   s    r   r+  zPdfHmtx.m_internal_value  r8/  r#   c                 ,    t        j                  |       S r-   )r   PdfHmtx___nonzero__rV   s    r   r   zPdfHmtx.__nonzero__
  rl   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfHmtxr   r+  r   r   PdfHmtx_m_internal_getPdfHmtx_m_internal_setr+  PdfHmtx_s_num_instances_getPdfHmtx_s_num_instances_setr+  r$   r#   r   rhI  rhI    rQ;  r#   rhI  c                   H   e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Z ee
j                  e
j                        Z ee
j                   e
j"                        Z ee
j&                  e
j(                        Z ee
j,                  e
j.                        Z ee
j2                  e
j4                        Z ee
j8                  e
j:                        Z ee
j>                  e
j@                        Z! ee
jD                  e
jF                        Z$ ee
jJ                  e
jL                        Z' ee
jP                  e
jR                        Z* ee
jV                  e
jX                        Z- ee
j\                  e
j^                        Z0 ee
jb                  e
jd                        Z3 ee
jh                  e
jj                        Z6 ee
jn                  e
jp                        Z9 ee
jt                  e
jv                        Z< ee
jz                  e
j|                        Z? ee
j                  e
j                        ZB ee
j                  e
j                        ZE ee
j                  e
j                        ZH ee
j                  e
j                        ZK ee
j                  e
j                        ZN ee
j                  e
j                        ZQ ee
j                  e
j                        ZT ee
j                  e
j                        ZW ee
j                  e
j                        ZZd Z[d	 Z\d
 Z]y)PdfImageRewriterOptionsz6Wrapper class for struct `pdf_image_rewriter_options`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   z PdfImageRewriterOptions.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z PdfImageRewriterOptions.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)ay  
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_image_rewriter_options`.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_image_rewriter_options`.
        N)r    PdfImageRewriterOptions_swiginitnew_PdfImageRewriterOptionsr   s     r   rS   z PdfImageRewriterOptions.__init__  s      	//f6X6XZ^6_`r#   c                 .    t        j                  | g| S rg+  )r    PdfImageRewriterOptions_internalr   s     r   ri+  z PdfImageRewriterOptions.internal+  s     66tCdCCr#   c                 ,    t        j                  |       S rk+  )r   !PdfImageRewriterOptions_to_stringrV   s    r   r[+  z!PdfImageRewriterOptions.to_stringR  r,  r#   c                 .    t        j                  | |      S ro+  )r   PdfImageRewriterOptions___eq__rq+  s     r   r}   zPdfImageRewriterOptions.__eq__V  rH  r#   c                 .    t        j                  | |      S ro+  )r   PdfImageRewriterOptions___ne__rq+  s     r   r   zPdfImageRewriterOptions.__ne__Z  rH  r#   N)^r   r   r6   r7   r   r   r   r   rS   ri+  r   delete_PdfImageRewriterOptionsr   APdfImageRewriterOptions_color_lossless_image_subsample_method_getAPdfImageRewriterOptions_color_lossless_image_subsample_method_setr  >PdfImageRewriterOptions_color_lossy_image_subsample_method_get>PdfImageRewriterOptions_color_lossy_image_subsample_method_setr  DPdfImageRewriterOptions_color_lossless_image_subsample_threshold_getDPdfImageRewriterOptions_color_lossless_image_subsample_threshold_setr  =PdfImageRewriterOptions_color_lossless_image_subsample_to_get=PdfImageRewriterOptions_color_lossless_image_subsample_to_setr  APdfImageRewriterOptions_color_lossy_image_subsample_threshold_getAPdfImageRewriterOptions_color_lossy_image_subsample_threshold_setr  :PdfImageRewriterOptions_color_lossy_image_subsample_to_get:PdfImageRewriterOptions_color_lossy_image_subsample_to_setr  BPdfImageRewriterOptions_color_lossless_image_recompress_method_getBPdfImageRewriterOptions_color_lossless_image_recompress_method_setr  ?PdfImageRewriterOptions_color_lossy_image_recompress_method_get?PdfImageRewriterOptions_color_lossy_image_recompress_method_setr  @PdfImageRewriterOptions_color_lossy_image_recompress_quality_get@PdfImageRewriterOptions_color_lossy_image_recompress_quality_setr  CPdfImageRewriterOptions_color_lossless_image_recompress_quality_getCPdfImageRewriterOptions_color_lossless_image_recompress_quality_setr  @PdfImageRewriterOptions_gray_lossless_image_subsample_method_get@PdfImageRewriterOptions_gray_lossless_image_subsample_method_setr  =PdfImageRewriterOptions_gray_lossy_image_subsample_method_get=PdfImageRewriterOptions_gray_lossy_image_subsample_method_setr  CPdfImageRewriterOptions_gray_lossless_image_subsample_threshold_getCPdfImageRewriterOptions_gray_lossless_image_subsample_threshold_setr  <PdfImageRewriterOptions_gray_lossless_image_subsample_to_get<PdfImageRewriterOptions_gray_lossless_image_subsample_to_setr  @PdfImageRewriterOptions_gray_lossy_image_subsample_threshold_get@PdfImageRewriterOptions_gray_lossy_image_subsample_threshold_setr  9PdfImageRewriterOptions_gray_lossy_image_subsample_to_get9PdfImageRewriterOptions_gray_lossy_image_subsample_to_setr  APdfImageRewriterOptions_gray_lossless_image_recompress_method_getAPdfImageRewriterOptions_gray_lossless_image_recompress_method_setr  >PdfImageRewriterOptions_gray_lossy_image_recompress_method_get>PdfImageRewriterOptions_gray_lossy_image_recompress_method_setr  ?PdfImageRewriterOptions_gray_lossy_image_recompress_quality_get?PdfImageRewriterOptions_gray_lossy_image_recompress_quality_setr  BPdfImageRewriterOptions_gray_lossless_image_recompress_quality_getBPdfImageRewriterOptions_gray_lossless_image_recompress_quality_setr  :PdfImageRewriterOptions_bitonal_image_subsample_method_get:PdfImageRewriterOptions_bitonal_image_subsample_method_setr  =PdfImageRewriterOptions_bitonal_image_subsample_threshold_get=PdfImageRewriterOptions_bitonal_image_subsample_threshold_setr  6PdfImageRewriterOptions_bitonal_image_subsample_to_get6PdfImageRewriterOptions_bitonal_image_subsample_to_setr  ;PdfImageRewriterOptions_bitonal_image_recompress_method_get;PdfImageRewriterOptions_bitonal_image_recompress_method_setr  <PdfImageRewriterOptions_bitonal_image_recompress_quality_get<PdfImageRewriterOptions_bitonal_image_recompress_quality_setr  +PdfImageRewriterOptions_s_num_instances_get+PdfImageRewriterOptions_s_num_instances_setr+  r[+  r}   r   r$   r#   r   rxI  rxI    sM   A-/IOdeGHa"
D <<,4V5}5}  @F  @H  @H  -I))1&2w2wy  z  z  *@&/7  9D  9D  FL  FQ  FQ  0R,(01u1uw}  x|  x|  )}%,4V5}5}  @F  @H  @H  -I)%-f.o.oqw  rs  rs  &t"-5f66  BH  BK  BK  .L**263y3y  |B  |B  |B  +C'+3F4{4{  ~D  ~E  ~E  ,F(.6v  8B  8B  DJ  DN  DN  /O++3F4{4{  ~D  ~E  ~E  ,F((01u1uw}  x|  x|  )}%.6v  8B  8B  DJ  DN  DN  /O+'/0s0su{  vy  vy  (z$+3F4{4{  ~D  ~E  ~E  ,F($,V-m-mou  pp  pp  %q!,4V5}5}  @F  @H  @H  -I))1&2w2wy  z  z  *@&*263y3y  |B  |B  |B  +C'-5f66  BH  BK  BK  .L*%-f.o.oqw  rs  rs  &t"(01u1uw}  x|  x|  )}%!)&*g*gio  jg  jg  "h&.v/q/qsy  tv  tv  'w#'/0s0su{  vy  vy  (z$vQQSY  TF  TF  GO>@@r#   rxI  c                       e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Zd Zd	 ZeZ ee
j                   e
j"                  d
      Z ee
j&                  e
j(                        Zy)
PdfJournalzCWrapper class for struct `pdf_journal`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfJournal.<lambda>c  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfJournal.<lambda>c  rL   r#   rM   rN   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_discard_journal()`.)r   PdfJournal_pdf_discard_journalrV   s    r   pdf_discard_journalzPdfJournal.pdf_discard_journalf  r0  r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_journal`.
        N)r   PdfJournal_swiginitnew_PdfJournalr   s     r   rS   zPdfJournal.__init__j  r 4  r#   c                 ,    t        j                  |       S r+  )r   PdfJournal_m_internal_valuerV   s    r   r+  zPdfJournal.m_internal_valuew  r,  r#   c                 ,    t        j                  |       S r-   )r   PdfJournal___nonzero__rV   s    r   r   zPdfJournal.__nonzero__{  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rI  rS   r   delete_PdfJournalr   r+  r   r   PdfJournal_m_internal_getPdfJournal_m_internal_setr+  PdfJournal_s_num_instances_getPdfJournal_s_num_instances_setr+  r$   r#   r   rI  rI  `  s    N-/IOdeGH;
G //83H &::F<\<\  cB  CJvDDfFkFklOr#   rI  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zej"                  Zd Zd ZeZ eej,                  ej.                  d      Z eej2                  ej4                        Zy)PdfJsz>Wrapper class for struct `pdf_js`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfJs.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfJs.<lambda>  rL   r#   rM   rN   c                 2    t        j                  | |||      S z0Class-aware wrapper for `::pdf_js_event_init()`.)r   PdfJs_pdf_js_event_init)r   r  r    r@  s       r   pdf_js_event_initzPdfJs.pdf_js_event_init  s    --dFE:NNr#   c                 0    t        j                  | ||      S z:Class-aware wrapper for `::pdf_js_event_init_keystroke()`.)r   !PdfJs_pdf_js_event_init_keystroke)r   r  r!  s      r   pdf_js_event_init_keystrokez!PdfJs.pdf_js_event_init_keystroke  s    77fcJJr#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_js_event_result()`.)r   PdfJs_pdf_js_event_resultrV   s    r   pdf_js_event_resultzPdfJs.pdf_js_event_result  r,  r#   c                 .    t        j                  | |      S z<Class-aware wrapper for `::pdf_js_event_result_keystroke()`.)r   #PdfJs_pdf_js_event_result_keystrokerE  s     r   pdf_js_event_result_keystrokez#PdfJs.pdf_js_event_result_keystroke  r.C  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::pdf_js_event_result_validate()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_js_event_result_validate()` => `(int, char *newvalue)`
        )r   "PdfJs_pdf_js_event_result_validate)r   r^%  s     r   pdf_js_event_result_validatez"PdfJs.pdf_js_event_result_validate  s     88xHHr#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_js_event_value()`.)r   PdfJs_pdf_js_event_valuerV   s    r   pdf_js_event_valuezPdfJs.pdf_js_event_value  r8/  r#   c                 2    t        j                  | |||      S )z
        Class-aware wrapper for `::pdf_js_execute()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_js_execute(const char *name, const char *code)` => char *result
        )r   PdfJs_pdf_js_executer   r   r  re&  s       r   pdf_js_executezPdfJs.pdf_js_execute  s     **4tVDDr#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_js`.
        N)r   PdfJs_swiginit	new_PdfJsr   s     r   rS   zPdfJs.__init__  r+  r#   c                 ,    t        j                  |       S r+  )r   PdfJs_m_internal_valuerV   s    r   r+  zPdfJs.m_internal_value  r+  r#   c                 ,    t        j                  |       S r-   )r   PdfJs___nonzero__rV   s    r   r   zPdfJs.__nonzero__  r   r#   r+  N)r   r   r6   r7   r   r   r   r   rI  rI  rI  rI  rI  rI  rI  rS   r   delete_PdfJsr   r+  r   r   PdfJs_m_internal_getPdfJs_m_internal_setr+  PdfJs_s_num_instances_getPdfJs_s_num_instances_setr+  r$   r#   r   rI  rI    s    I-/IOdeGHOK6EI5E
= **3.H &55v7R7RXwxJv??AaAabOr#   rI  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfJsConsolezFWrapper class for struct `pdf_js_console`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfJsConsole.<lambda>ϓ  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfJsConsole.<lambda>ϓ  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_js_console`.
        N)r   PdfJsConsole_swiginitnew_PdfJsConsoler   s     r   rS   zPdfJsConsole.__init__ғ  r2  r#   c                 ,    t        j                  |       S r+  )r   PdfJsConsole_m_internal_valuerV   s    r   r+  zPdfJsConsole.m_internal_valueߓ  rK,  r#   c                 ,    t        j                  |       S r-   )r   PdfJsConsole___nonzero__rV   s    r   r   zPdfJsConsole.__nonzero__  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfJsConsoler   r+  r   r   PdfJsConsole_m_internal_getPdfJsConsole_m_internal_setr+   PdfJsConsole_s_num_instances_get PdfJsConsole_s_num_instances_setr+  r$   r#   r   rI  rI  ̓  r!3  r#   rI  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfKeystrokeEventzKWrapper class for struct `pdf_keystroke_event`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfKeystrokeEvent.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfKeystrokeEvent.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_keystroke_event`.
        N)r   PdfKeystrokeEvent_swiginitnew_PdfKeystrokeEventr   s     r   rS   zPdfKeystrokeEvent.__init__  rM.  r#   c                 ,    t        j                  |       S r+  )r   "PdfKeystrokeEvent_m_internal_valuerV   s    r   r+  z"PdfKeystrokeEvent.m_internal_value   r-  r#   c                 ,    t        j                  |       S r-   )r   PdfKeystrokeEvent___nonzero__rV   s    r   r   zPdfKeystrokeEvent.__nonzero__  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfKeystrokeEventr   r+  r   r    PdfKeystrokeEvent_m_internal_get PdfKeystrokeEvent_m_internal_setr+  %PdfKeystrokeEvent_s_num_instances_get%PdfKeystrokeEvent_s_num_instances_setr+  r$   r#   r   rJ  rJ    rcH  r#   rJ  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfLaunchUrlEventzLWrapper class for struct `pdf_launch_url_event`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfLaunchUrlEvent.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfLaunchUrlEvent.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_launch_url_event`.
        N)r   PdfLaunchUrlEvent_swiginitnew_PdfLaunchUrlEventr   s     r   rS   zPdfLaunchUrlEvent.__init__  rM.  r#   c                 ,    t        j                  |       S r+  )r   "PdfLaunchUrlEvent_m_internal_valuerV   s    r   r+  z"PdfLaunchUrlEvent.m_internal_value!  r-  r#   c                 ,    t        j                  |       S r-   )r   PdfLaunchUrlEvent___nonzero__rV   s    r   r   zPdfLaunchUrlEvent.__nonzero__%  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfLaunchUrlEventr   r+  r   r    PdfLaunchUrlEvent_m_internal_get PdfLaunchUrlEvent_m_internal_setr+  %PdfLaunchUrlEvent_s_num_instances_get%PdfLaunchUrlEvent_s_num_instances_setr+  r$   r#   r   rJ  rJ    ra<  r#   rJ  c                      e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Z ee
j                  e
j                        Z ee
j                   e
j"                        Z ee
j&                  e
j(                        Zd Zd	 Zd
 Zy)PdfLayerConfigz,Wrapper class for struct `pdf_layer_config`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfLayerConfig.<lambda>2  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfLayerConfig.<lambda>2  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)ae  
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_layer_config`.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_layer_config`.
        N)r   PdfLayerConfig_swiginitnew_PdfLayerConfigr   s     r   rS   zPdfLayerConfig.__init__5  r4  r#   c                 .    t        j                  | g| S rg+  )r   PdfLayerConfig_internalr   s     r   ri+  zPdfLayerConfig.internalF  r<  r#   c                 ,    t        j                  |       S rk+  )r   PdfLayerConfig_to_stringrV   s    r   r[+  zPdfLayerConfig.to_stringV  r8/  r#   c                 .    t        j                  | |      S ro+  )r   PdfLayerConfig___eq__rq+  s     r   r}   zPdfLayerConfig.__eq__Z  r<  r#   c                 .    t        j                  | |      S ro+  )r   PdfLayerConfig___ne__rq+  s     r   r   zPdfLayerConfig.__ne__^  r<  r#   N)r   r   r6   r7   r   r   r   r   rS   ri+  r   delete_PdfLayerConfigr   PdfLayerConfig_name_getPdfLayerConfig_name_setr   PdfLayerConfig_creator_getPdfLayerConfig_creator_setr  "PdfLayerConfig_s_num_instances_get"PdfLayerConfig_s_num_instances_setr+  r[+  r}   r   r$   r#   r   r+J  r+J  /  s    7-/IOdeGHO"
; 33F22F4R4RSDv88&:[:[\GvHH&JsJstO577r#   r+J  c                      e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Z ee
j                  e
j                        Z ee
j                   e
j"                        Z ee
j&                  e
j(                        Z ee
j,                  e
j.                        Z ee
j2                  e
j4                        Z ee
j8                  e
j:                        Zd Zd	 Z d
 Z!y)PdfLayerConfigUiz/Wrapper class for struct `pdf_layer_config_ui`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfLayerConfigUi.<lambda>g  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfLayerConfigUi.<lambda>g  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        Default constructor sets .text to null, .type to PDF_LAYER_UI_LABEL, and other fields to zero.

        |

        *Overload 2:*
        We use default copy constructor and operator=.  Constructor using raw copy of pre-existing `::pdf_layer_config_ui`.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_layer_config_ui`.
        N)r   PdfLayerConfigUi_swiginitnew_PdfLayerConfigUir   s     r   rS   zPdfLayerConfigUi.__init__j  rkH  r#   c                 .    t        j                  | g| S rg+  )r   PdfLayerConfigUi_internalr   s     r   ri+  zPdfLayerConfigUi.internal{  rnH  r#   c                 ,    t        j                  |       S rk+  )r   PdfLayerConfigUi_to_stringrV   s    r   r[+  zPdfLayerConfigUi.to_string  r,  r#   c                 .    t        j                  | |      S ro+  )r   PdfLayerConfigUi___eq__rq+  s     r   r}   zPdfLayerConfigUi.__eq__  rC  r#   c                 .    t        j                  | |      S ro+  )r   PdfLayerConfigUi___ne__rq+  s     r   r   zPdfLayerConfigUi.__ne__  rC  r#   N)"r   r   r6   r7   r   r   r   r   rS   ri+  r   delete_PdfLayerConfigUir   PdfLayerConfigUi_text_getPdfLayerConfigUi_text_setr
  PdfLayerConfigUi_depth_getPdfLayerConfigUi_depth_setrG  PdfLayerConfigUi_type_getPdfLayerConfigUi_type_setr   PdfLayerConfigUi_selected_getPdfLayerConfigUi_selected_setr  PdfLayerConfigUi_locked_getPdfLayerConfigUi_locked_setr  $PdfLayerConfigUi_s_num_instances_get$PdfLayerConfigUi_s_num_instances_setr+  r[+  r}   r   r$   r#   r   rAJ  rAJ  d  s    :-/IOdeGHS"
= 55F44f6V6VWDV668Y8YZEF44f6V6VWD<<f>b>bcHf88&:\:\]FvJJFLwLwxO799r#   rAJ  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
ej                  Zd	 Zd
 Zd ZeZ eej$                  ej&                  d      Z eej*                  ej,                        Zy)	PdfLexbufzBWrapper class for struct `pdf_lexbuf`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfLexbuf.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfLexbuf.<lambda>  rL   r#   rM   rN   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_lexbuf_fin()`.)r   PdfLexbuf_pdf_lexbuf_finrV   s    r   pdf_lexbuf_finzPdfLexbuf.pdf_lexbuf_fin  r8/  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_lexbuf_grow()`.)r   PdfLexbuf_pdf_lexbuf_growrV   s    r   pdf_lexbuf_growzPdfLexbuf.pdf_lexbuf_grow  r,  r#   c                 .    t        j                  | |      S z.Class-aware wrapper for `::pdf_lexbuf_init()`.)r   PdfLexbuf_pdf_lexbuf_initr:  s     r   pdf_lexbuf_initzPdfLexbuf.pdf_lexbuf_init  r-  r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        Constructor that calls pdf_lexbuf_init(size).

        |

        *Overload 2:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_lexbuf`.
        N)r   PdfLexbuf_swiginitnew_PdfLexbufr   s     r   rS   zPdfLexbuf.__init__  rn.  r#   c                 ,    t        j                  |       S r+  )r   PdfLexbuf_m_internal_valuerV   s    r   r+  zPdfLexbuf.m_internal_value  r,  r#   c                 ,    t        j                  |       S r-   )r   PdfLexbuf___nonzero__rV   s    r   r   zPdfLexbuf.__nonzero__Ĕ  r\  r#   r+  N)r   r   r6   r7   r   r   r   r   rcJ  rgJ  rkJ  r   delete_PdfLexbufr   rS   r+  r   r   PdfLexbuf_m_internal_getPdfLexbuf_m_internal_setr+  PdfLexbuf_s_num_instances_getPdfLexbuf_s_num_instances_setr+  r$   r#   r   r]J  r]J    s    M-/IOdeGH56< ..E"72H &996;Z;Z`  AJvCCVEiEijOr#   r]J  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfLexbufLargezHWrapper class for struct `pdf_lexbuf_large`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfLexbufLarge.<lambda>є  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfLexbufLarge.<lambda>є  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_lexbuf_large`.
        N)r   PdfLexbufLarge_swiginitnew_PdfLexbufLarger   s     r   rS   zPdfLexbufLarge.__init__Ԕ  r+  r#   c                 ,    t        j                  |       S r+  )r   PdfLexbufLarge_m_internal_valuerV   s    r   r+  zPdfLexbufLarge.m_internal_value  r+  r#   c                 ,    t        j                  |       S r-   )r   PdfLexbufLarge___nonzero__rV   s    r   r   zPdfLexbufLarge.__nonzero__  rX  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfLexbufLarger   r+  r   r   PdfLexbufLarge_m_internal_getPdfLexbufLarge_m_internal_setr+  "PdfLexbufLarge_s_num_instances_get"PdfLexbufLarge_s_num_instances_setr+  r$   r#   r   ryJ  ryJ  Δ  r2  r#   ryJ  c                       e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Zd Zd	 ZeZ ee
j                   e
j"                  d
      Z ee
j&                  e
j(                        Zy)PdfLockedFieldszIWrapper class for struct `pdf_locked_fields`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfLockedFields.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfLockedFields.<lambda>  rL   r#   rM   rN   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_is_field_locked()`.)r   #PdfLockedFields_pdf_is_field_lockedr+  s     r   pdf_is_field_lockedz#PdfLockedFields.pdf_is_field_locked  rC  r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_locked_fields`.
        N)r   PdfLockedFields_swiginitnew_PdfLockedFieldsr   s     r   rS   zPdfLockedFields.__init__  r?  r#   c                 ,    t        j                  |       S r+  )r    PdfLockedFields_m_internal_valuerV   s    r   r+  z PdfLockedFields.m_internal_value  rf4  r#   c                 ,    t        j                  |       S r-   )r   PdfLockedFields___nonzero__rV   s    r   r   zPdfLockedFields.__nonzero__
  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rJ  rS   r   delete_PdfLockedFieldsr   r+  r   r   PdfLockedFields_m_internal_getPdfLockedFields_m_internal_setr+  #PdfLockedFields_s_num_instances_get#PdfLockedFields_s_num_instances_setr+  r$   r#   r   rJ  rJ    s    T-/IOdeGHF
Q 44=8H &??AfAf  mL  MJvII6KuKuvOr#   rJ  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfMailDocEventzJWrapper class for struct `pdf_mail_doc_event`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfMailDocEvent.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfMailDocEvent.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_mail_doc_event`.
        N)r   PdfMailDocEvent_swiginitnew_PdfMailDocEventr   s     r   rS   zPdfMailDocEvent.__init__  r?  r#   c                 ,    t        j                  |       S r+  )r    PdfMailDocEvent_m_internal_valuerV   s    r   r+  z PdfMailDocEvent.m_internal_value'  rf4  r#   c                 ,    t        j                  |       S r-   )r   PdfMailDocEvent___nonzero__rV   s    r   r   zPdfMailDocEvent.__nonzero__+  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfMailDocEventr   r+  r   r   PdfMailDocEvent_m_internal_getPdfMailDocEvent_m_internal_setr+  #PdfMailDocEvent_s_num_instances_get#PdfMailDocEvent_s_num_instances_setr+  r$   r#   r   rJ  rJ    sz    U-/IOdeGH
Q 44=8H &??AfAf  mL  MJvII6KuKuvOr#   rJ  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
ej                  Zd	 Zd
 ZeZ eej"                  ej$                  d      Z eej(                  ej*                        Zy)PdfMarkBitszEWrapper class for struct `pdf_mark_bits`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfMarkBits.<lambda>8  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfMarkBits.<lambda>8  rL   r#   rM   rN   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_mark_bits_reset()`.)r   PdfMarkBits_pdf_mark_bits_resetrV   s    r   pdf_mark_bits_resetzPdfMarkBits.pdf_mark_bits_reset;  r+  r#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::pdf_mark_bits_set()`.)r   PdfMarkBits_pdf_mark_bits_setrB  s     r   pdf_mark_bits_setzPdfMarkBits.pdf_mark_bits_set?  r=  r#   c                 P    t        j                  | t        j                  |        y)a$  
        *Overload 1:*
        == Constructors.  Constructor using `pdf_new_mark_bits()`.

        |

        *Overload 2:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_mark_bits`.
        N)r   PdfMarkBits_swiginitnew_PdfMarkBitsr   s     r   rS   zPdfMarkBits.__init__C  re+  r#   c                 ,    t        j                  |       S r+  )r   PdfMarkBits_m_internal_valuerV   s    r   r+  zPdfMarkBits.m_internal_valueU  r2  r#   c                 ,    t        j                  |       S r-   )r   PdfMarkBits___nonzero__rV   s    r   r   zPdfMarkBits.__nonzero__Y  rs   r#   r+  N)r   r   r6   r7   r   r   r   r   rJ  rJ  rS   r   delete_PdfMarkBitsr   r+  r   r   PdfMarkBits_m_internal_getPdfMarkBits_m_internal_setr+  PdfMarkBits_s_num_instances_getPdfMarkBits_s_num_instances_setr+  r$   r#   r   rJ  rJ  5  s    P-/IOdeGH<?I  0094H &;;V=^=^  eD  EJvEEvGmGmnOr#   rJ  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zej                  Zd Zd ZeZ eej(                  ej*                  d      Z eej.                  ej0                        Zy)PdfMarkListzEWrapper class for struct `pdf_mark_list`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfMarkList.<lambda>f  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfMarkList.<lambda>f  rL   r#   rM   rN   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_mark_list_check()`.)r   PdfMarkList_pdf_mark_list_checkrB  s     r   pdf_mark_list_checkzPdfMarkList.pdf_mark_list_checki  rC  r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_mark_list_free()`.)r   PdfMarkList_pdf_mark_list_freerV   s    r   pdf_mark_list_freezPdfMarkList.pdf_mark_list_freem  r0  r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_mark_list_init()`.)r   PdfMarkList_pdf_mark_list_initrV   s    r   pdf_mark_list_initzPdfMarkList.pdf_mark_list_initq  r0  r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::pdf_mark_list_pop()`.)r   PdfMarkList_pdf_mark_list_poprV   s    r   pdf_mark_list_popzPdfMarkList.pdf_mark_list_popu  rK,  r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_mark_list_push()`.)r   PdfMarkList_pdf_mark_list_pushrB  s     r   pdf_mark_list_pushzPdfMarkList.pdf_mark_list_pushy  rH  r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_mark_list`.
        N)r   PdfMarkList_swiginitnew_PdfMarkListr   s     r   rS   zPdfMarkList.__init__}  r7  r#   c                 ,    t        j                  |       S r+  )r   PdfMarkList_m_internal_valuerV   s    r   r+  zPdfMarkList.m_internal_value  r2  r#   c                 ,    t        j                  |       S r-   )r   PdfMarkList___nonzero__rV   s    r   r   zPdfMarkList.__nonzero__  rs   r#   r+  N)r   r   r6   r7   r   r   r   r   rJ  rJ  rJ  rJ  rJ  rS   r   delete_PdfMarkListr   r+  r   r   PdfMarkList_m_internal_getPdfMarkList_m_internal_setr+  PdfMarkList_s_num_instances_getPdfMarkList_s_num_instances_setr+  r$   r#   r   rJ  rJ  c  s    P-/IOdeGHA;;:@
I 0094H &;;V=^=^  eD  EJvEEvGmGmnOr#   rJ  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)	PdfMrangezBWrapper class for struct `pdf_mrange`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfMrange.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfMrange.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_mrange`.
        N)r   PdfMrange_swiginitnew_PdfMranger   s     r   rS   zPdfMrange.__init__  r>4  r#   c                 ,    t        j                  |       S r+  )r   PdfMrange_m_internal_valuerV   s    r   r+  zPdfMrange.m_internal_value  r,  r#   c                 ,    t        j                  |       S r-   )r   PdfMrange___nonzero__rV   s    r   r   zPdfMrange.__nonzero__  r\  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfMranger   r+  r   r   PdfMrange_m_internal_getPdfMrange_m_internal_setr+  PdfMrange_s_num_instances_getPdfMrange_s_num_instances_setr+  r$   r#   r   rJ  rJ    rFI  r#   rJ  c                      e Zd ZdZ ed d d      ZeZed        Z	ed        Z
d Zd	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d Z"d  Z#d! Z$d" Z%d# Z&d$ Z'd% Z(d& Z)d' Z*d( Z+d) Z,d* Z-d+ Z.d, Z/d- Z0d. Z1d/ Z2d0 Z3d1 Z4d2 Z5d3 Z6d4 Z7d5 Z8d6 Z9d7 Z:d8 Z;d9 Z<d: Z=d; Z>d< Z?d= Z@d> ZAd? ZBd@ ZCdA ZDdB ZEdC ZFdD ZGdE ZHdF ZIdG ZJdH ZKdI ZLdJ ZMdK ZNdL ZOdM ZPdN ZQdO ZRdP ZSdQ ZTdR ZUdS ZVdT ZWdU ZXdV ZYdW ZZdX Z[dY Z\dZ Z]d[ Z^d\ Z_d] Z`d^ Zad_ Zbd` Zcda Zddb Zedc Zfdd Zgde Zhdf Zidg Zjdh Zkdi Zldj Zmdk Zndl Zodm Zpdn Zqdo Zrdp Zsdq Ztdr Zuds Zvdt Zwdu Zxdv Zydw Zzdx Z{dy Z|dz Z}d{ Z~d| Zd} Zd~ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd ZdÄ ZdĄ Zdń ZdƄ ZdǄ ZdȄ ZdɄ Zdʄ Zd˄ Zd̄ Zd̈́ Zd΄ ZeҐj                  Zdτ ZdЄ ZeZ eeҐj                  eҐj                  dѬ      Z eeҐj                  eҐj                        Zy)PdfObjz#Wrapper class for struct `pdf_obj`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfObj.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfObj.<lambda>  rL   r#   rM   rN   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_new_text_string()`.)r   PdfObj_pdf_new_text_stringr;  s    r   pdf_new_text_stringzPdfObj.pdf_new_text_string  s     0033r#   c                 .    t        j                  | |      S rF  )r   PdfObj_pdf_new_dictrr'  s     r   rF  zPdfObj.pdf_new_dictĕ  s     ))#z::r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_array_contains()`.)r   PdfObj_pdf_array_containsrB  s     r   pdf_array_containszPdfObj.pdf_array_containsɕ      //c::r#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_array_delete()`.)r   PdfObj_pdf_array_deleter   s     r   pdf_array_deletezPdfObj.pdf_array_delete͕  s    --dE::r#   c                 .    t        j                  | |      S z-Class-aware wrapper for `::pdf_array_find()`.)r   PdfObj_pdf_array_findrB  s     r   pdf_array_findzPdfObj.pdf_array_findѕ  r<  r#   c                 .    t        j                  | |      S z,Class-aware wrapper for `::pdf_array_get()`.)r   PdfObj_pdf_array_getr5  s     r   pdf_array_getzPdfObj.pdf_array_getՕ  s    **433r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_array_get_bool()`.)r   PdfObj_pdf_array_get_boolr   s     r   pdf_array_get_boolzPdfObj.pdf_array_get_boolٕ  r.  r#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::pdf_array_get_int()`.)r   PdfObj_pdf_array_get_intr   s     r   pdf_array_get_intzPdfObj.pdf_array_get_intݕ  ri7  r#   c                 .    t        j                  | |      S z3Class-aware wrapper for `::pdf_array_get_matrix()`.)r   PdfObj_pdf_array_get_matrixr   s     r   pdf_array_get_matrixzPdfObj.pdf_array_get_matrix  rE  r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_array_get_name()`.)r   PdfObj_pdf_array_get_namer   s     r   pdf_array_get_namezPdfObj.pdf_array_get_name  r.  r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_array_get_real()`.)r   PdfObj_pdf_array_get_realr   s     r   pdf_array_get_realzPdfObj.pdf_array_get_real  r.  r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_array_get_rect()`.)r   PdfObj_pdf_array_get_rectr   s     r   pdf_array_get_rectzPdfObj.pdf_array_get_rect  r.  r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::pdf_array_get_string()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_array_get_string(int index)` => `(const char *, size_t sizep)`
        )r   PdfObj_pdf_array_get_string)r   r   r3#  s      r   pdf_array_get_stringzPdfObj.pdf_array_get_string  s     11$uEEr#   c                 .    t        j                  | |      S z8Class-aware wrapper for `::pdf_array_get_text_string()`.)r    PdfObj_pdf_array_get_text_stringr   s     r   pdf_array_get_text_stringz PdfObj.pdf_array_get_text_string  r.F  r#   c                 0    t        j                  | ||      S z/Class-aware wrapper for `::pdf_array_insert()`.)r   PdfObj_pdf_array_insert)r   rh  r   s      r   pdf_array_insertzPdfObj.pdf_array_insert  s    --dC??r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_array_len()`.)r   PdfObj_pdf_array_lenrV   s    r   pdf_array_lenzPdfObj.pdf_array_len  r//  r#   c                 .    t        j                  | |      S z-Class-aware wrapper for `::pdf_array_push()`.)r   PdfObj_pdf_array_pushrB  s     r   pdf_array_pushzPdfObj.pdf_array_push  r<  r#   c                 .    t        j                  | |      S z3Class-aware wrapper for `::pdf_array_push_array()`.)r   PdfObj_pdf_array_push_arrayr=>  s     r   pdf_array_push_arrayzPdfObj.pdf_array_push_array
  s    11$@@r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_array_push_bool()`.)r   PdfObj_pdf_array_push_boolrc   s     r   pdf_array_push_boolzPdfObj.pdf_array_push_bool  r6  r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_array_push_dict()`.)r   PdfObj_pdf_array_push_dictr=>  s     r   pdf_array_push_dictzPdfObj.pdf_array_push_dict  s    00w??r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_array_push_int()`.)r   PdfObj_pdf_array_push_intrc   s     r   pdf_array_push_intzPdfObj.pdf_array_push_int  rYB  r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_array_push_name()`.)r   PdfObj_pdf_array_push_namerc   s     r   pdf_array_push_namezPdfObj.pdf_array_push_name  r6  r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_array_push_real()`.)r   PdfObj_pdf_array_push_realrc   s     r   pdf_array_push_realzPdfObj.pdf_array_push_real  r6  r#   c                 0    t        j                  | ||      S z4Class-aware wrapper for `::pdf_array_push_string()`.)r   PdfObj_pdf_array_push_string)r   rF   r[   s      r   pdf_array_push_stringzPdfObj.pdf_array_push_string"  s    224A>>r#   c                 .    t        j                  | |      S z9Class-aware wrapper for `::pdf_array_push_text_string()`.)r   !PdfObj_pdf_array_push_text_stringrc   s     r   pdf_array_push_text_stringz!PdfObj.pdf_array_push_text_string&  s    77a@@r#   c                 0    t        j                  | ||      S z,Class-aware wrapper for `::pdf_array_put()`.)r   PdfObj_pdf_array_put)r   r   rh  s      r   pdf_array_putzPdfObj.pdf_array_put*  s    **4C88r#   c                 0    t        j                  | ||      S z2Class-aware wrapper for `::pdf_array_put_array()`.)r   PdfObj_pdf_array_put_arrayr   r   r>  s      r   pdf_array_put_arrayzPdfObj.pdf_array_put_array.  s    00q'BBr#   c                 0    t        j                  | ||      S z1Class-aware wrapper for `::pdf_array_put_bool()`.)r   PdfObj_pdf_array_put_boolr   r   rF   s      r   pdf_array_put_boolzPdfObj.pdf_array_put_bool2      //a;;r#   c                 0    t        j                  | ||      S z1Class-aware wrapper for `::pdf_array_put_dict()`.)r   PdfObj_pdf_array_put_dictreK  s      r   pdf_array_put_dictzPdfObj.pdf_array_put_dict6  s    //aAAr#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::pdf_array_put_int()`.)r   PdfObj_pdf_array_put_intrjK  s      r   pdf_array_put_intzPdfObj.pdf_array_put_int:  s    ..tQ::r#   c                 0    t        j                  | ||      S z1Class-aware wrapper for `::pdf_array_put_name()`.)r   PdfObj_pdf_array_put_namerjK  s      r   pdf_array_put_namezPdfObj.pdf_array_put_name>  rlK  r#   c                 0    t        j                  | ||      S z1Class-aware wrapper for `::pdf_array_put_real()`.)r   PdfObj_pdf_array_put_realrjK  s      r   pdf_array_put_realzPdfObj.pdf_array_put_realB  rlK  r#   c                 2    t        j                  | |||      S z3Class-aware wrapper for `::pdf_array_put_string()`.)r   PdfObj_pdf_array_put_string)r   r   rF   r[   s       r   pdf_array_put_stringzPdfObj.pdf_array_put_stringF  s    11$1a@@r#   c                 0    t        j                  | ||      S z8Class-aware wrapper for `::pdf_array_put_text_string()`.)r    PdfObj_pdf_array_put_text_stringrjK  s      r   pdf_array_put_text_stringz PdfObj.pdf_array_put_text_stringJ  rH  r#   c                 ,    t        j                  |       S z8Class-aware wrapper for `::pdf_button_field_on_state()`.)r    PdfObj_pdf_button_field_on_staterV   s    r   pdf_button_field_on_statez PdfObj.pdf_button_field_on_stateN  rf4  r#   c                 0    t        j                  | ||      S z6Class-aware wrapper for `::pdf_choice_field_option()`.)r   PdfObj_pdf_choice_field_option)r   r#  r   s      r   pdf_choice_field_optionzPdfObj.pdf_choice_field_optionR  s    44T9aHHr#   c                 ,    t        j                  |       S z<Class-aware wrapper for `::pdf_choice_field_option_count()`.)r   $PdfObj_pdf_choice_field_option_countrV   s    r   pdf_choice_field_option_countz$PdfObj.pdf_choice_field_option_countV  r-  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_clean_obj()`.)r   PdfObj_pdf_clean_objrV   s    r   pdf_clean_objzPdfObj.pdf_clean_objZ  r//  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_copy_array()`.)r   PdfObj_pdf_copy_arrayrV   s    r   pdf_copy_arrayzPdfObj.pdf_copy_array^  rm+  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_copy_dict()`.)r   PdfObj_pdf_copy_dictrV   s    r   pdf_copy_dictzPdfObj.pdf_copy_dictb  r//  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_debug_obj()`.)r   PdfObj_pdf_debug_objrV   s    r   pdf_debug_objzPdfObj.pdf_debug_objf  r//  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_debug_ref()`.)r   PdfObj_pdf_debug_refrV   s    r   pdf_debug_refzPdfObj.pdf_debug_refj  r//  r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::pdf_deep_copy_obj()`.)r   PdfObj_pdf_deep_copy_objrV   s    r   pdf_deep_copy_objzPdfObj.pdf_deep_copy_objn  r8/  r#   c                 .    t        j                  | |      S z+Class-aware wrapper for `::pdf_dict_del()`.)r   PdfObj_pdf_dict_delrj  s     r   pdf_dict_delzPdfObj.pdf_dict_delr  r;  r#   c                 .    t        j                  | |      S z,Class-aware wrapper for `::pdf_dict_dels()`.)r   PdfObj_pdf_dict_delsrj  s     r   pdf_dict_delszPdfObj.pdf_dict_delsv  r~-  r#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::pdf_dict_get_bool()`.)r   PdfObj_pdf_dict_get_boolrj  s     r   pdf_dict_get_boolzPdfObj.pdf_dict_get_boolz  r7  r#   c                 0    t        j                  | ||      S z8Class-aware wrapper for `::pdf_dict_get_bool_default()`.)r    PdfObj_pdf_dict_get_bool_defaultr   rk  ro$  s      r   pdf_dict_get_bool_defaultz PdfObj.pdf_dict_get_bool_default~      66tS$GGr#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::pdf_dict_get_date()`.)r   PdfObj_pdf_dict_get_daterj  s     r   pdf_dict_get_datezPdfObj.pdf_dict_get_date  r7  r#   c                 .    t        j                  | |      S z7Class-aware wrapper for `::pdf_dict_get_inheritable()`.)r   PdfObj_pdf_dict_get_inheritablerj  s     r   pdf_dict_get_inheritablezPdfObj.pdf_dict_get_inheritable  rC  r#   c                 .    t        j                  | |      S z<Class-aware wrapper for `::pdf_dict_get_inheritable_bool()`.)r   $PdfObj_pdf_dict_get_inheritable_boolrj  s     r   pdf_dict_get_inheritable_boolz$PdfObj.pdf_dict_get_inheritable_bool  rE  r#   c                 .    t        j                  | |      S z<Class-aware wrapper for `::pdf_dict_get_inheritable_date()`.)r   $PdfObj_pdf_dict_get_inheritable_daterj  s     r   pdf_dict_get_inheritable_datez$PdfObj.pdf_dict_get_inheritable_date  rE  r#   c                 .    t        j                  | |      S z;Class-aware wrapper for `::pdf_dict_get_inheritable_int()`.)r   #PdfObj_pdf_dict_get_inheritable_intrj  s     r   pdf_dict_get_inheritable_intz#PdfObj.pdf_dict_get_inheritable_int  r.C  r#   c                 .    t        j                  | |      S z=Class-aware wrapper for `::pdf_dict_get_inheritable_int64()`.)r   %PdfObj_pdf_dict_get_inheritable_int64rj  s     r   pdf_dict_get_inheritable_int64z%PdfObj.pdf_dict_get_inheritable_int64  s    ;;D#FFr#   c                 .    t        j                  | |      S z>Class-aware wrapper for `::pdf_dict_get_inheritable_matrix()`.)r   &PdfObj_pdf_dict_get_inheritable_matrixrj  s     r   pdf_dict_get_inheritable_matrixz&PdfObj.pdf_dict_get_inheritable_matrix  rA:  r#   c                 .    t        j                  | |      S z<Class-aware wrapper for `::pdf_dict_get_inheritable_name()`.)r   $PdfObj_pdf_dict_get_inheritable_namerj  s     r   pdf_dict_get_inheritable_namez$PdfObj.pdf_dict_get_inheritable_name  rE  r#   c                 .    t        j                  | |      S z<Class-aware wrapper for `::pdf_dict_get_inheritable_real()`.)r   $PdfObj_pdf_dict_get_inheritable_realrj  s     r   pdf_dict_get_inheritable_realz$PdfObj.pdf_dict_get_inheritable_real  rE  r#   c                 .    t        j                  | |      S z<Class-aware wrapper for `::pdf_dict_get_inheritable_rect()`.)r   $PdfObj_pdf_dict_get_inheritable_rectrj  s     r   pdf_dict_get_inheritable_rectz$PdfObj.pdf_dict_get_inheritable_rect  rE  r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::pdf_dict_get_inheritable_string()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_dict_get_inheritable_string(::pdf_obj *key)` => `(const char *, size_t sizep)`
        )r   &PdfObj_pdf_dict_get_inheritable_stringr   rk  r3#  s      r   pdf_dict_get_inheritable_stringz&PdfObj.pdf_dict_get_inheritable_string  s     <<T3NNr#   c                 .    t        j                  | |      S zCClass-aware wrapper for `::pdf_dict_get_inheritable_text_string()`.)r   +PdfObj_pdf_dict_get_inheritable_text_stringrj  s     r   $pdf_dict_get_inheritable_text_stringz+PdfObj.pdf_dict_get_inheritable_text_string  s    AA$LLr#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_dict_get_int()`.)r   PdfObj_pdf_dict_get_intrj  s     r   pdf_dict_get_intzPdfObj.pdf_dict_get_int  rC  r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_dict_get_int64()`.)r   PdfObj_pdf_dict_get_int64rj  s     r   pdf_dict_get_int64zPdfObj.pdf_dict_get_int64  rK  r#   c                 0    t        j                  | ||      S z7Class-aware wrapper for `::pdf_dict_get_int_default()`.)r   PdfObj_pdf_dict_get_int_defaultrK  s      r   pdf_dict_get_int_defaultzPdfObj.pdf_dict_get_int_default  s    55dCFFr#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_dict_get_key()`.)r   PdfObj_pdf_dict_get_keyr+  s     r   pdf_dict_get_keyzPdfObj.pdf_dict_get_keyÖ  rC  r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_dict_get_matrix()`.)r   PdfObj_pdf_dict_get_matrixrj  s     r   pdf_dict_get_matrixzPdfObj.pdf_dict_get_matrixǖ  rZ:  r#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::pdf_dict_get_name()`.)r   PdfObj_pdf_dict_get_namerj  s     r   pdf_dict_get_namezPdfObj.pdf_dict_get_name˖  r7  r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_dict_get_point()`.)r   PdfObj_pdf_dict_get_pointrj  s     r   pdf_dict_get_pointzPdfObj.pdf_dict_get_pointϖ  rK  r#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::pdf_dict_get_real()`.)r   PdfObj_pdf_dict_get_realrj  s     r   pdf_dict_get_realzPdfObj.pdf_dict_get_realӖ  r7  r#   c                 0    t        j                  | ||      S z8Class-aware wrapper for `::pdf_dict_get_real_default()`.)r    PdfObj_pdf_dict_get_real_defaultrK  s      r   pdf_dict_get_real_defaultz PdfObj.pdf_dict_get_real_defaultז  rK  r#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::pdf_dict_get_rect()`.)r   PdfObj_pdf_dict_get_rectrj  s     r   pdf_dict_get_rectzPdfObj.pdf_dict_get_rectۖ  r7  r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::pdf_dict_get_string()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_dict_get_string(::pdf_obj *key)` => `(const char *, size_t sizep)`
        )r   PdfObj_pdf_dict_get_stringrK  s      r   pdf_dict_get_stringzPdfObj.pdf_dict_get_stringߖ  r @  r#   c                 .    t        j                  | |      S z7Class-aware wrapper for `::pdf_dict_get_text_string()`.)r   PdfObj_pdf_dict_get_text_stringrj  s     r   pdf_dict_get_text_stringzPdfObj.pdf_dict_get_text_string  rC  r#   c                 .    t        j                  | |      S z;Class-aware wrapper for `::pdf_dict_get_text_string_opt()`.)r   #PdfObj_pdf_dict_get_text_string_optrj  s     r   pdf_dict_get_text_string_optz#PdfObj.pdf_dict_get_text_string_opt  r.C  r#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_dict_get_val()`.)r   PdfObj_pdf_dict_get_valr+  s     r   pdf_dict_get_valzPdfObj.pdf_dict_get_val  rC  r#   c                 0    t        j                  | ||      S z,Class-aware wrapper for `::pdf_dict_geta()`.)r   PdfObj_pdf_dict_getar   rk  r$  s      r   pdf_dict_getazPdfObj.pdf_dict_geta  s    **4f==r#   c                 .    t        j                  | |      S z,Class-aware wrapper for `::pdf_dict_getp()`.)r   PdfObj_pdf_dict_getpr   r  s     r   pdf_dict_getpzPdfObj.pdf_dict_getp  s    **466r#   c                 .    t        j                  | |      S z8Class-aware wrapper for `::pdf_dict_getp_inheritable()`.)r    PdfObj_pdf_dict_getp_inheritabler*L  s     r   pdf_dict_getp_inheritablez PdfObj.pdf_dict_getp_inheritable  r~B  r#   c                 .    t        j                  | |      S z,Class-aware wrapper for `::pdf_dict_gets()`.)r   PdfObj_pdf_dict_getsrj  s     r   pdf_dict_getszPdfObj.pdf_dict_gets   r~-  r#   c                 .    t        j                  | |      S z8Class-aware wrapper for `::pdf_dict_gets_inheritable()`.)r    PdfObj_pdf_dict_gets_inheritablerj  s     r   pdf_dict_gets_inheritablez PdfObj.pdf_dict_gets_inheritable      66tSAAr#   c                 0    t        j                  | ||      S z-Class-aware wrapper for `::pdf_dict_getsa()`.)r   PdfObj_pdf_dict_getsar%L  s      r   pdf_dict_getsazPdfObj.pdf_dict_getsa  s    ++D#v>>r#   c                 ,    t        j                  |       S z+Class-aware wrapper for `::pdf_dict_len()`.)r   PdfObj_pdf_dict_lenrV   s    r   pdf_dict_lenzPdfObj.pdf_dict_len      ))$//r#   c                 0    t        j                  | ||      S z+Class-aware wrapper for `::pdf_dict_put()`.)r   PdfObj_pdf_dict_putrC3  s      r   pdf_dict_putzPdfObj.pdf_dict_put  s    ))$S99r#   c                 0    t        j                  | ||      S z1Class-aware wrapper for `::pdf_dict_put_array()`.)r   PdfObj_pdf_dict_put_arrayr   rk  r>  s      r   pdf_dict_put_arrayzPdfObj.pdf_dict_put_array      //c7CCr#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::pdf_dict_put_bool()`.)r   PdfObj_pdf_dict_put_boolr   rk  rF   s      r   pdf_dict_put_boolzPdfObj.pdf_dict_put_bool      ..tS!<<r#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::pdf_dict_put_date()`.)r   PdfObj_pdf_dict_put_date)r   rk  rc  s      r   pdf_dict_put_datezPdfObj.pdf_dict_put_date      ..tS$??r#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::pdf_dict_put_dict()`.)r   PdfObj_pdf_dict_put_dictrIL  s      r   pdf_dict_put_dictzPdfObj.pdf_dict_put_dict   s    ..tS'BBr#   c                 0    t        j                  | ||      S z4Class-aware wrapper for `::pdf_dict_put_indirect()`.)r   PdfObj_pdf_dict_put_indirect)r   rk  rw  s      r   pdf_dict_put_indirectzPdfObj.pdf_dict_put_indirect$  rF  r#   c                 0    t        j                  | ||      S z/Class-aware wrapper for `::pdf_dict_put_int()`.)r   PdfObj_pdf_dict_put_intrOL  s      r   pdf_dict_put_intzPdfObj.pdf_dict_put_int(  s    --dC;;r#   c                 0    t        j                  | ||      S z2Class-aware wrapper for `::pdf_dict_put_matrix()`.)r   PdfObj_pdf_dict_put_matrixrOL  s      r   pdf_dict_put_matrixzPdfObj.pdf_dict_put_matrix,  s    00sA>>r#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::pdf_dict_put_name()`.)r   PdfObj_pdf_dict_put_namerOL  s      r   pdf_dict_put_namezPdfObj.pdf_dict_put_name0  rQL  r#   c                 0    t        j                  | ||      S z1Class-aware wrapper for `::pdf_dict_put_point()`.)r   PdfObj_pdf_dict_put_pointrOL  s      r   pdf_dict_put_pointzPdfObj.pdf_dict_put_point4  s    //c1==r#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::pdf_dict_put_real()`.)r   PdfObj_pdf_dict_put_realrOL  s      r   pdf_dict_put_realzPdfObj.pdf_dict_put_real8  rQL  r#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::pdf_dict_put_rect()`.)r   PdfObj_pdf_dict_put_rectrOL  s      r   pdf_dict_put_rectzPdfObj.pdf_dict_put_rect<  rQL  r#   c                 2    t        j                  | |||      S z2Class-aware wrapper for `::pdf_dict_put_string()`.)r   PdfObj_pdf_dict_put_string)r   rk  rF   r[   s       r   pdf_dict_put_stringzPdfObj.pdf_dict_put_string@  s    00sAqAAr#   c                 0    t        j                  | ||      S z7Class-aware wrapper for `::pdf_dict_put_text_string()`.)r   PdfObj_pdf_dict_put_text_stringrOL  s      r   pdf_dict_put_text_stringzPdfObj.pdf_dict_put_text_stringD  s    55dCCCr#   c                 .    t        j                  | |      S z4Class-aware wrapper for `::pdf_dict_put_val_null()`.)r   PdfObj_pdf_dict_put_val_nullr+  s     r   pdf_dict_put_val_nullzPdfObj.pdf_dict_put_val_nullH  r@  r#   c                 0    t        j                  | ||      S z,Class-aware wrapper for `::pdf_dict_putp()`.)r   PdfObj_pdf_dict_putp)r   r  r  s      r   pdf_dict_putpzPdfObj.pdf_dict_putpL  s    **4s;;r#   c                 0    t        j                  | ||      S z,Class-aware wrapper for `::pdf_dict_puts()`.)r   PdfObj_pdf_dict_putsrC3  s      r   pdf_dict_putszPdfObj.pdf_dict_putsP  s    **4c::r#   c                 0    t        j                  | ||      S z1Class-aware wrapper for `::pdf_dict_puts_dict()`.)r   PdfObj_pdf_dict_puts_dictrIL  s      r   pdf_dict_puts_dictzPdfObj.pdf_dict_puts_dictT  rKL  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_dirty_obj()`.)r   PdfObj_pdf_dirty_objrV   s    r   pdf_dirty_objzPdfObj.pdf_dirty_objX  r//  r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_field_border_style()`.)r   PdfObj_pdf_field_border_stylerV   s    r   pdf_field_border_stylezPdfObj.pdf_field_border_style\  rK,  r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::pdf_field_display()`.)r   PdfObj_pdf_field_displayrV   s    r   pdf_field_displayzPdfObj.pdf_field_display`  r8/  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_field_flags()`.)r   PdfObj_pdf_field_flagsrV   s    r   pdf_field_flagszPdfObj.pdf_field_flagsd  r+  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_field_label()`.)r   PdfObj_pdf_field_labelrV   s    r   pdf_field_labelzPdfObj.pdf_field_labelh  r+  r#   c                 .    t        j                  | |      S z9Class-aware wrapper for `::pdf_field_set_border_style()`.)r   !PdfObj_pdf_field_set_border_styler,  s     r   pdf_field_set_border_stylez!PdfObj.pdf_field_set_border_stylel  r@  r#   c                 .    t        j                  | |      S z;Class-aware wrapper for `::pdf_field_set_button_caption()`.)r   #PdfObj_pdf_field_set_button_captionr,  s     r   pdf_field_set_button_captionz#PdfObj.pdf_field_set_button_captionp  rC  r#   c                 .    t        j                  | |      S z4Class-aware wrapper for `::pdf_field_set_display()`.)r   PdfObj_pdf_field_set_display)r   r  s     r   pdf_field_set_displayzPdfObj.pdf_field_set_displayt  r24  r#   c                 .    t        j                  | |      S z7Class-aware wrapper for `::pdf_field_set_fill_color()`.)r   PdfObj_pdf_field_set_fill_colorr   r%  s     r   pdf_field_set_fill_colorzPdfObj.pdf_field_set_fill_colorx  rC  r#   c                 .    t        j                  | |      S z7Class-aware wrapper for `::pdf_field_set_text_color()`.)r   PdfObj_pdf_field_set_text_colorrL  s     r   pdf_field_set_text_colorzPdfObj.pdf_field_set_text_color|  rC  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_field_type()`.)r   PdfObj_pdf_field_typerV   s    r   pdf_field_typezPdfObj.pdf_field_type  rm+  r#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::pdf_field_type_string()`.)r   PdfObj_pdf_field_type_stringrV   s    r   pdf_field_type_stringzPdfObj.pdf_field_type_string  r2  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_field_value()`.)r   PdfObj_pdf_field_valuerV   s    r   pdf_field_valuezPdfObj.pdf_field_value  r+  r#   c                 4    t        j                  | ||||      S z:Class-aware wrapper for `::pdf_filter_xobject_instance()`.)r   "PdfObj_pdf_filter_xobject_instance)r   r%  rW  r  r%  s        r   pdf_filter_xobject_instancez"PdfObj.pdf_filter_xobject_instance  s    88xgW_``r#   c                 ,    t        j                  |       S zAClass-aware wrapper for `::pdf_flatten_inheritable_page_items()`.)r   )PdfObj_pdf_flatten_inheritable_page_itemsrV   s    r   "pdf_flatten_inheritable_page_itemsz)PdfObj.pdf_flatten_inheritable_page_items  r-  r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_get_bound_document()`.)r   PdfObj_pdf_get_bound_documentrV   s    r   pdf_get_bound_documentzPdfObj.pdf_get_bound_document  rK,  r#   c                 .    t        j                  | |      S z;Class-aware wrapper for `::pdf_get_embedded_file_params()`.)r   #PdfObj_pdf_get_embedded_file_paramsrG  s     r   pdf_get_embedded_file_paramsz#PdfObj.pdf_get_embedded_file_params  r.C  r#   c                 .    t        j                  | |      S z6Class-aware wrapper for `::pdf_get_filespec_params()`.)r   PdfObj_pdf_get_filespec_paramsrG  s     r   pdf_get_filespec_paramszPdfObj.pdf_get_filespec_params  rH  r#   c                 ,    t        j                  |       S z8Class-aware wrapper for `::pdf_get_indirect_document()`.)r    PdfObj_pdf_get_indirect_documentrV   s    r   pdf_get_indirect_documentz PdfObj.pdf_get_indirect_document  rf4  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::pdf_intent_from_name()`.)r   PdfObj_pdf_intent_from_namerV   s    r   pdf_intent_from_namezPdfObj.pdf_intent_from_name  r,  r#   c                 ,    t        j                  |       S z+Class-aware wrapper for `::pdf_is_array()`.)r   PdfObj_pdf_is_arrayrV   s    r   pdf_is_arrayzPdfObj.pdf_is_array  rAL  r#   c                 ,    t        j                  |       S z*Class-aware wrapper for `::pdf_is_bool()`.)r   PdfObj_pdf_is_boolrV   s    r   pdf_is_boolzPdfObj.pdf_is_bool  r.  r#   c                 ,    t        j                  |       S z*Class-aware wrapper for `::pdf_is_dict()`.)r   PdfObj_pdf_is_dictrV   s    r   pdf_is_dictzPdfObj.pdf_is_dict  r.  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::pdf_is_embedded_file()`.)r   PdfObj_pdf_is_embedded_filerV   s    r   pdf_is_embedded_filezPdfObj.pdf_is_embedded_file  r,  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_is_filespec()`.)r   PdfObj_pdf_is_filespecrV   s    r   pdf_is_filespeczPdfObj.pdf_is_filespec  r+  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_is_indirect()`.)r   PdfObj_pdf_is_indirectrV   s    r   pdf_is_indirectzPdfObj.pdf_is_indirect  r+  r#   c                 ,    t        j                  |       S z)Class-aware wrapper for `::pdf_is_int()`.)r   PdfObj_pdf_is_intrV   s    r   
pdf_is_intzPdfObj.pdf_is_int  r4  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_is_jpx_image()`.)r   PdfObj_pdf_is_jpx_imagerV   s    r   pdf_is_jpx_imagezPdfObj.pdf_is_jpx_imageė  r+  r#   c                 ,    t        j                  |       S z*Class-aware wrapper for `::pdf_is_name()`.)r   PdfObj_pdf_is_namerV   s    r   pdf_is_namezPdfObj.pdf_is_nameȗ  r.  r#   c                 ,    t        j                  |       S z*Class-aware wrapper for `::pdf_is_null()`.)r   PdfObj_pdf_is_nullrV   s    r   pdf_is_nullzPdfObj.pdf_is_null̗  r.  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_is_number()`.)r   PdfObj_pdf_is_numberrV   s    r   pdf_is_numberzPdfObj.pdf_is_numberЗ  r//  r#   c                 ,    t        j                  |       S z*Class-aware wrapper for `::pdf_is_real()`.)r   PdfObj_pdf_is_realrV   s    r   pdf_is_realzPdfObj.pdf_is_realԗ  r.  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_is_stream()`.)r   PdfObj_pdf_is_streamrV   s    r   pdf_is_streamzPdfObj.pdf_is_streamؗ  r//  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_is_string()`.)r   PdfObj_pdf_is_stringrV   s    r   pdf_is_stringzPdfObj.pdf_is_stringܗ  r//  r#   c                 ,    t        j                  |       S z8Class-aware wrapper for `::pdf_line_ending_from_name()`.)r    PdfObj_pdf_line_ending_from_namerV   s    r   pdf_line_ending_from_namez PdfObj.pdf_line_ending_from_name  rf4  r#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_load_colorspace()`.)r   PdfObj_pdf_load_colorspacerV   s    r   pdf_load_colorspacezPdfObj.pdf_load_colorspace  r,  r#   c                 ,    t        j                  |       S z>Class-aware wrapper for `::pdf_load_embedded_file_contents()`.)r   &PdfObj_pdf_load_embedded_file_contentsrV   s    r   pdf_load_embedded_file_contentsz&PdfObj.pdf_load_embedded_file_contents  r-  r#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_load_field_name()`.)r   PdfObj_pdf_load_field_namerV   s    r   pdf_load_field_namezPdfObj.pdf_load_field_name  r,  r#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::pdf_load_function()`.)r   PdfObj_pdf_load_functionr-  s      r   pdf_load_functionzPdfObj.pdf_load_function  s    ..tS#>>r#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_load_raw_stream()`.)r   PdfObj_pdf_load_raw_streamrV   s    r   pdf_load_raw_streamzPdfObj.pdf_load_raw_stream  r,  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_load_stream()`.)r   PdfObj_pdf_load_streamrV   s    r   pdf_load_streamzPdfObj.pdf_load_stream  r+  r#   c                 ,    t        j                  |       S z@Class-aware wrapper for `::pdf_load_stream_or_string_as_utf8()`.)r   (PdfObj_pdf_load_stream_or_string_as_utf8rV   s    r   !pdf_load_stream_or_string_as_utf8z(PdfObj.pdf_load_stream_or_string_as_utf8  r.,  r#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_lookup_field()`.)r   PdfObj_pdf_lookup_fieldr+  s     r   pdf_lookup_fieldzPdfObj.pdf_lookup_field   r5  r#   c                 .    t        j                  | |      S z0Class-aware wrapper for `::pdf_lookup_number()`.)r   PdfObj_pdf_lookup_numberrF  s     r   pdf_lookup_numberzPdfObj.pdf_lookup_number  s    ..tV<<r#   c                 ,    t        j                  |       S z+Class-aware wrapper for `::pdf_mark_obj()`.)r   PdfObj_pdf_mark_objrV   s    r   pdf_mark_objzPdfObj.pdf_mark_obj  rAL  r#   c                 .    t        j                  | |      S z*Class-aware wrapper for `::pdf_name_eq()`.)r   PdfObj_pdf_name_eqr4  s     r   pdf_name_eqzPdfObj.pdf_name_eq      ((q11r#   c                 ,    t        j                  |       S z?Class-aware wrapper for `::pdf_new_utf8_from_pdf_stream_obj()`.)r   'PdfObj_pdf_new_utf8_from_pdf_stream_objrV   s    r    pdf_new_utf8_from_pdf_stream_objz'PdfObj.pdf_new_utf8_from_pdf_stream_obj  r[0  r#   c                 ,    t        j                  |       S z?Class-aware wrapper for `::pdf_new_utf8_from_pdf_string_obj()`.)r   'PdfObj_pdf_new_utf8_from_pdf_string_objrV   s    r    pdf_new_utf8_from_pdf_string_objz'PdfObj.pdf_new_utf8_from_pdf_string_obj  r[0  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_obj_is_dirty()`.)r   PdfObj_pdf_obj_is_dirtyrV   s    r   pdf_obj_is_dirtyzPdfObj.pdf_obj_is_dirty  r+  r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_obj_is_incremental()`.)r   PdfObj_pdf_obj_is_incrementalrV   s    r   pdf_obj_is_incrementalzPdfObj.pdf_obj_is_incremental  rK,  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_obj_marked()`.)r   PdfObj_pdf_obj_markedrV   s    r   pdf_obj_markedzPdfObj.pdf_obj_marked   rm+  r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::pdf_obj_memo()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_obj_memo(int bit)` => `(int, int memo)`
        )r   PdfObj_pdf_obj_memor   rT  r	(  s      r   pdf_obj_memozPdfObj.pdf_obj_memo$  s     ))$T::r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_obj_parent_num()`.)r   PdfObj_pdf_obj_parent_numrV   s    r   pdf_obj_parent_numzPdfObj.pdf_obj_parent_num-  r,  r#   c                 ,    t        j                  |       S z+Class-aware wrapper for `::pdf_obj_refs()`.)r   PdfObj_pdf_obj_refsrV   s    r   pdf_obj_refszPdfObj.pdf_obj_refs1  rAL  r#   c                 .    t        j                  | |      S z)Class-aware wrapper for `::pdf_objcmp()`.)r   PdfObj_pdf_objcmpr4  s     r   
pdf_objcmpzPdfObj.pdf_objcmp5  rn:  r#   c                 .    t        j                  | |      S z.Class-aware wrapper for `::pdf_objcmp_deep()`.)r   PdfObj_pdf_objcmp_deepr4  s     r   pdf_objcmp_deepzPdfObj.pdf_objcmp_deep9  r6  r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_objcmp_resolve()`.)r   PdfObj_pdf_objcmp_resolver4  s     r   pdf_objcmp_resolvezPdfObj.pdf_objcmp_resolve=  rYB  r#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_open_raw_stream()`.)r   PdfObj_pdf_open_raw_streamrV   s    r   pdf_open_raw_streamzPdfObj.pdf_open_raw_streamA  r,  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_open_stream()`.)r   PdfObj_pdf_open_streamrV   s    r   pdf_open_streamzPdfObj.pdf_open_streamE  r+  r#   c                 0    t        j                  | ||      S z5Class-aware wrapper for `::pdf_page_obj_transform()`.)r   PdfObj_pdf_page_obj_transform)r   rK(  rL(  s      r   pdf_page_obj_transformzPdfObj.pdf_page_obj_transformI  s    33D&&IIr#   c                 2    t        j                  | |||      S z9Class-aware wrapper for `::pdf_page_obj_transform_box()`.)r   !PdfObj_pdf_page_obj_transform_box)r   rK(  rl  r  s       r   pdf_page_obj_transform_boxz!PdfObj.pdf_page_obj_transform_boxM  rFE  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_pin_document()`.)r   PdfObj_pdf_pin_documentrV   s    r   pdf_pin_documentzPdfObj.pdf_pin_documentQ  r+  r#   c                 0    t        j                  | ||      S )z\
        Class-aware wrapper for `::pdf_recolor_shade()`.
        	Recolor a shade.
        )r   PdfObj_pdf_recolor_shade)r   r(  rt  s      r   pdf_recolor_shadezPdfObj.pdf_recolor_shadeU  s    
 ..tWfEEr#   c                 ,    t        j                  |       S )aO  
        Class-aware wrapper for `::pdf_resolve_indirect()`.
        	Resolve an indirect object (or chain of objects).

        	This can cause xref reorganisations (solidifications etc) due to
        	repairs, so all held pdf_xref_entries should be considered
        	invalid after this call (other than the returned one).
        )r   PdfObj_pdf_resolve_indirectrV   s    r   pdf_resolve_indirectzPdfObj.pdf_resolve_indirect\  s     11$77r#   c                 ,    t        j                  |       S z9Class-aware wrapper for `::pdf_resolve_indirect_chain()`.)r   !PdfObj_pdf_resolve_indirect_chainrV   s    r   pdf_resolve_indirect_chainz!PdfObj.pdf_resolve_indirect_chaing  r,  r#   c                 .    t        j                  | |      S z*Class-aware wrapper for `::pdf_set_int()`.)r   PdfObj_pdf_set_intr5  s     r   pdf_set_intzPdfObj.pdf_set_intk  rHM  r#   c                 0    t        j                  | ||      S z/Class-aware wrapper for `::pdf_set_obj_memo()`.)r   PdfObj_pdf_set_obj_memor_M  s      r   pdf_set_obj_memozPdfObj.pdf_set_obj_memoo  s    --dC>>r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_set_obj_parent()`.)r   PdfObj_pdf_set_obj_parentrRE  s     r   pdf_set_obj_parentzPdfObj.pdf_set_obj_parents  rK  r#   c                 .    t        j                  | |      S z.Class-aware wrapper for `::pdf_set_str_len()`.)r   PdfObj_pdf_set_str_len)r   r)  s     r   pdf_set_str_lenzPdfObj.pdf_set_str_lenw  rq9  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_sort_dict()`.)r   PdfObj_pdf_sort_dictrV   s    r   pdf_sort_dictzPdfObj.pdf_sort_dict{  r//  r#   c                 0    t        j                  | ||      S z-Class-aware wrapper for `::pdf_store_item()`.)r   PdfObj_pdf_store_item)r   r  r  s      r   pdf_store_itemzPdfObj.pdf_store_item  s    ++D#x@@r#   c                 ,    t        j                  |       S z*Class-aware wrapper for `::pdf_to_bool()`.)r   PdfObj_pdf_to_boolrV   s    r   pdf_to_boolzPdfObj.pdf_to_bool  r.  r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_to_bool_default()`.)r   PdfObj_pdf_to_bool_defaultr   ro$  s     r   pdf_to_bool_defaultzPdfObj.pdf_to_bool_default      00t<<r#   c                 ,    t        j                  |       S z*Class-aware wrapper for `::pdf_to_date()`.)r   PdfObj_pdf_to_daterV   s    r   pdf_to_datezPdfObj.pdf_to_date  r.  r#   c                 ,    t        j                  |       S z)Class-aware wrapper for `::pdf_to_gen()`.)r   PdfObj_pdf_to_genrV   s    r   
pdf_to_genzPdfObj.pdf_to_gen  r4  r#   c                 ,    t        j                  |       S z)Class-aware wrapper for `::pdf_to_int()`.)r   PdfObj_pdf_to_intrV   s    r   
pdf_to_intzPdfObj.pdf_to_int  r4  r#   c                 ,    t        j                  |       S z+Class-aware wrapper for `::pdf_to_int64()`.)r   PdfObj_pdf_to_int64rV   s    r   pdf_to_int64zPdfObj.pdf_to_int64  rAL  r#   c                 .    t        j                  | |      S z1Class-aware wrapper for `::pdf_to_int_default()`.)r   PdfObj_pdf_to_int_defaultrM  s     r   pdf_to_int_defaultzPdfObj.pdf_to_int_default  r-  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_to_matrix()`.)r   PdfObj_pdf_to_matrixrV   s    r   pdf_to_matrixzPdfObj.pdf_to_matrix  r//  r#   c                 ,    t        j                  |       S z*Class-aware wrapper for `::pdf_to_name()`.)r   PdfObj_pdf_to_namerV   s    r   pdf_to_namezPdfObj.pdf_to_name  r.  r#   c                 ,    t        j                  |       S z)Class-aware wrapper for `::pdf_to_num()`.)r   PdfObj_pdf_to_numrV   s    r   
pdf_to_numzPdfObj.pdf_to_num  r4  r#   c                 .    t        j                  | |      S z+Class-aware wrapper for `::pdf_to_point()`.)r   PdfObj_pdf_to_pointr9  s     r   pdf_to_pointzPdfObj.pdf_to_point  s    ))$77r#   c                 .    t        j                  | |      S z*Class-aware wrapper for `::pdf_to_quad()`.)r   PdfObj_pdf_to_quadr9  s     r   pdf_to_quadzPdfObj.pdf_to_quad  s    ((v66r#   c                 ,    t        j                  |       S z*Class-aware wrapper for `::pdf_to_real()`.)r   PdfObj_pdf_to_realrV   s    r   pdf_to_realzPdfObj.pdf_to_real  r.  r#   c                 .    t        j                  | |      S z2Class-aware wrapper for `::pdf_to_real_default()`.)r   PdfObj_pdf_to_real_defaultrM  s     r   pdf_to_real_defaultzPdfObj.pdf_to_real_default  rM  r#   c                 ,    t        j                  |       S z*Class-aware wrapper for `::pdf_to_rect()`.)r   PdfObj_pdf_to_rectrV   s    r   pdf_to_rectzPdfObj.pdf_to_rect  r.  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_to_str_buf()`.)r   PdfObj_pdf_to_str_bufrV   s    r   pdf_to_str_bufzPdfObj.pdf_to_str_buf  rm+  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_to_str_len()`.)r   PdfObj_pdf_to_str_lenrV   s    r   pdf_to_str_lenzPdfObj.pdf_to_str_lenØ  rm+  r#   c                 .    t        j                  | |      S )z
        Class-aware wrapper for `::pdf_to_string()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_to_string()` => `(const char *, size_t sizep)`
        )r   PdfObj_pdf_to_string)r   r3#  s     r   pdf_to_stringzPdfObj.pdf_to_stringǘ  s     **477r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_to_text_string()`.)r   PdfObj_pdf_to_text_stringrV   s    r   pdf_to_text_stringzPdfObj.pdf_to_text_stringИ  r,  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_unmark_obj()`.)r   PdfObj_pdf_unmark_objrV   s    r   pdf_unmark_objzPdfObj.pdf_unmark_objԘ  rm+  r#   c                 ,    t        j                  |       S z@Class-aware wrapper for `::pdf_verify_embedded_file_checksum()`.)r   (PdfObj_pdf_verify_embedded_file_checksumrV   s    r   !pdf_verify_embedded_file_checksumz(PdfObj.pdf_verify_embedded_file_checksumؘ  r.,  r#   c           	      8    t        j                  | ||||||      S )a`  
        Class-aware wrapper for `::pdf_walk_tree()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_walk_tree(::pdf_obj *kid_name, void (*arrive)(::fz_context *, ::pdf_obj *, void *, ::pdf_obj **), void (*leave)(::fz_context *, ::pdf_obj *, void *), void *arg, ::pdf_obj **names, ::pdf_obj **values)` => `()`
        )r   PdfObj_pdf_walk_tree)r   r*  r*  r*  r  r*  rw  s          r   pdf_walk_treezPdfObj.pdf_walk_treeܘ  s"     **465#uV\]]r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_xobject_bbox()`.)r   PdfObj_pdf_xobject_bboxrV   s    r   pdf_xobject_bboxzPdfObj.pdf_xobject_bbox  r+  r#   c                 ,    t        j                  |       S z5Class-aware wrapper for `::pdf_xobject_colorspace()`.)r   PdfObj_pdf_xobject_colorspacerV   s    r   pdf_xobject_colorspacezPdfObj.pdf_xobject_colorspace  rK,  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::pdf_xobject_isolated()`.)r   PdfObj_pdf_xobject_isolatedrV   s    r   pdf_xobject_isolatedzPdfObj.pdf_xobject_isolated  r,  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::pdf_xobject_knockout()`.)r   PdfObj_pdf_xobject_knockoutrV   s    r   pdf_xobject_knockoutzPdfObj.pdf_xobject_knockout  r,  r#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_xobject_matrix()`.)r   PdfObj_pdf_xobject_matrixrV   s    r   pdf_xobject_matrixzPdfObj.pdf_xobject_matrix  r,  r#   c                 ,    t        j                  |       S z4Class-aware wrapper for `::pdf_xobject_resources()`.)r   PdfObj_pdf_xobject_resourcesrV   s    r   pdf_xobject_resourceszPdfObj.pdf_xobject_resources  r2  r#   c                 ,    t        j                  |       S z7Class-aware wrapper for `::pdf_xobject_transparency()`.)r   PdfObj_pdf_xobject_transparencyrV   s    r   pdf_xobject_transparencyzPdfObj.pdf_xobject_transparency  r+  r#   c                 .    t        j                  | g| S )z
        *Overload 1:*
        Class-aware wrapper for `::pdf_dict_get()`.

        |

        *Overload 2:*
        Typesafe wrapper for looking up things such as PDF_ENUM_NAME_Annots.
        )r   PdfObj_pdf_dict_getr   s     r   pdf_dict_getzPdfObj.pdf_dict_get  rX5  r#   c                 ,    t        j                  |       S zBAlternative to `pdf_load_field_name()` that returns a std::string.)r   PdfObj_pdf_load_field_name2rV   s    r   pdf_load_field_name2zPdfObj.pdf_load_field_name2  r,  r#   c                 P    t        j                  | t        j                  |        y)aE  
        *Overload 1:*
        == Constructors.  Constructor using `pdf_new_action_from_link()`.

        |

        *Overload 2:*
        Constructor using `pdf_new_array()`.

        |

        *Overload 3:*
        Constructor using `pdf_new_date()`.

        |

        *Overload 4:*
        Constructor using `pdf_new_dest_from_link()`.

        |

        *Overload 5:*
        Constructor using `pdf_new_indirect()`.

        |

        *Overload 6:*
        Constructor using `pdf_new_int()`.

        |

        *Overload 7:*
        Constructor using `pdf_new_matrix()`.

        |

        *Overload 8:*
        Constructor using `pdf_new_name()`.

        |

        *Overload 9:*
        Constructor using `pdf_new_point()`.

        |

        *Overload 10:*
        Constructor using `pdf_new_real()`.

        |

        *Overload 11:*
        Constructor using `pdf_new_rect()`.

        |

        *Overload 12:*
        Constructor using `pdf_new_string()`.

        |

        *Overload 13:*
        Constructor using `pdf_new_xobject()`.

        |

        *Overload 14:*
        Copy constructor using `pdf_keep_obj()`.

        |

        *Overload 15:*
        Constructor using raw copy of pre-existing `::pdf_obj`.

        |

        *Overload 16:*
        Constructor using raw copy of pre-existing `::pdf_obj`.
        N)r   PdfObj_swiginit
new_PdfObjr   s     r   rS   zPdfObj.__init__  s     ` 	tV%6%6%=>r#   c                 ,    t        j                  |       S r+  )r   PdfObj_m_internal_valuerV   s    r   r+  zPdfObj.m_internal_valued  r+  r#   c                 ,    t        j                  |       S r-   )r   PdfObj___nonzero__rV   s    r   r   zPdfObj.__nonzero__h  r  r#   r+  N)r   r   r6   r7   r   r   r   r   r   rJ  rF  rK  r
K  rK  rK  rK  rK  rK  r"K  r&K  r*K  r-K  r1K  r5K  r9K  r=K  rAK  rEK  rIK  rMK  rQK  rUK  rYK  r]K  raK  rfK  rkK  rpK  rtK  rxK  r|K  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rL  rL  r
L  rL  rL  rL  rL  rL  r!L  r&L  r+L  r/L  r3L  r7L  r<L  r@L  rEL  rJL  rPL  rUL  rZL  r^L  rbL  rfL  rjL  rnL  rrL  rvL  rzL  r~L  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rL  rM  rM  rM  rM  rM  rM  rM  rM  r#M  r'M  r+M  r/M  r3M  r7M  r;M  r?M  rCM  rGM  rLM  rPM  rTM  rXM  r\M  r`M  rdM  rhM  rlM  rpM  rtM  rxM  r|M  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rN  rN  r
N  rN  rN  rN  rN  rN  r!N  r%N  rS   r   delete_PdfObjr   r+  r   r   PdfObj_m_internal_getPdfObj_m_internal_setr+  PdfObj_s_num_instances_getPdfObj_s_num_instances_setr+  r$   r#   r   rJ  rJ    s   .-/IOdeGH4 4 ; ;;;74=<?===FD@17A:@9::?A9C<B;<<AC=IA12111556:H:AFFEGHFFFOM9;G9<:;:H:CAE9>7C6B?0:D=@CC<?=>==BD><;D1:533DF<AA293aF:E@=80//833.4//1/11=7C7?73E:=02DD4:2;6016973JP4F	8>2?;;1A/=/..0<1/.87/=/22862E^4:8869<
78P?b ++4/H &668T8TZyzJv@@&BcBcdOr#   rJ  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfOcgDescriptorzJWrapper class for struct `pdf_ocg_descriptor`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfOcgDescriptor.<lambda>u  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfOcgDescriptor.<lambda>u  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_ocg_descriptor`.
        N)r   PdfOcgDescriptor_swiginitnew_PdfOcgDescriptorr   s     r   rS   zPdfOcgDescriptor.__init__x  r,  r#   c                 ,    t        j                  |       S r+  )r   !PdfOcgDescriptor_m_internal_valuerV   s    r   r+  z!PdfOcgDescriptor.m_internal_value  r,  r#   c                 ,    t        j                  |       S r-   )r   PdfOcgDescriptor___nonzero__rV   s    r   r   zPdfOcgDescriptor.__nonzero__  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfOcgDescriptorr   r+  r   r   PdfOcgDescriptor_m_internal_getPdfOcgDescriptor_m_internal_setr+  $PdfOcgDescriptor_s_num_instances_get$PdfOcgDescriptor_s_num_instances_setr+  r$   r#   r   r3N  r3N  r  z    U-/IOdeGH
S 55>9H &@@&BhBh  oN  OJvJJFLwLwxOr#   r3N  c                      e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d" Z$d# Z%d$ Z&d% Z'd& Z(d' Z)d( Z*d) Z+d* Z,d+ Z-d, Z.d- Z/d. Z0d/ Z1d0 Z2d1 Z3d2 Z4d3 Z5d4 Z6e7jp                  Z9d5 Z:d6 Z;e;Z< ee7jz                  e7j|                  d7      Z? ee7j                  e7j                        ZBy8)9PdfPagez$Wrapper class for struct `pdf_page`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfPage.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfPage.<lambda>  rL   r#   rM   rN   c                 .    t        j                  | |      S z-Class-aware wrapper for `::pdf_bound_page()`.)r   PdfPage_pdf_bound_pager7  s     r   pdf_bound_pagezPdfPage.pdf_bound_page  r 5  r#   c                 ,    t        j                  |       S z>Class-aware wrapper for `::pdf_count_page_associated_files()`.)r   'PdfPage_pdf_count_page_associated_filesrV   s    r   pdf_count_page_associated_filesz'PdfPage.pdf_count_page_associated_files  r[0  r#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_create_annot()`.)r   PdfPage_pdf_create_annotr   r   s     r   pdf_create_annotzPdfPage.pdf_create_annot  r6  r#   c                 .    t        j                  | |      S z3Class-aware wrapper for `::pdf_create_annot_raw()`.)r   PdfPage_pdf_create_annot_rawrRN  s     r   pdf_create_annot_rawzPdfPage.pdf_create_annot_raw  rbB  r#   c                 0    t        j                  | ||      S z.Class-aware wrapper for `::pdf_create_link()`.)r   PdfPage_pdf_create_linkr7  s      r   pdf_create_linkzPdfPage.pdf_create_link  rY/  r#   c                 .    t        j                  | |      S z:Class-aware wrapper for `::pdf_create_signature_widget()`.)r   #PdfPage_pdf_create_signature_widgetr+  s     r   pdf_create_signature_widgetz#PdfPage.pdf_create_signature_widget  rC  r#   c                 .    t        j                  | |      S z/Class-aware wrapper for `::pdf_delete_annot()`.)r   PdfPage_pdf_delete_annot)r   r!  s     r   pdf_delete_annotzPdfPage.pdf_delete_annot  ri7  r#   c                 .    t        j                  | |      S z.Class-aware wrapper for `::pdf_delete_link()`.)r   PdfPage_pdf_delete_linkr7  s     r   pdf_delete_linkzPdfPage.pdf_delete_link  r5  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_first_annot()`.)r   PdfPage_pdf_first_annotrV   s    r   pdf_first_annotzPdfPage.pdf_first_annot  r+  r#   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_first_widget()`.)r   PdfPage_pdf_first_widgetrV   s    r   pdf_first_widgetzPdfPage.pdf_first_widget  r8/  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_load_links()`.)r   PdfPage_pdf_load_linksrV   s    r   pdf_load_linkszPdfPage.pdf_load_links  r+  r#   c                 2    t        j                  | |||      S z+Class-aware wrapper for `::pdf_new_link()`.)r   PdfPage_pdf_new_link)r   r  r"  rh  s       r   pdf_new_linkzPdfPage.pdf_new_linkř  s    **4sC@@r#   c           	      8    t        j                  | ||||||      S z[Class-aware wrapper for `::pdf_new_pixmap_from_page_contents_with_separations_and_usage()`.)r   DPdfPage_pdf_new_pixmap_from_page_contents_with_separations_and_usager   rW  rM  rI  rA  r  r  s          r   <pdf_new_pixmap_from_page_contents_with_separations_and_usagezDPdfPage.pdf_new_pixmap_from_page_contents_with_separations_and_usageə  s0    ZZ[_adfhjnpuw|  B  C  	Cr#   c                 6    t        j                  | |||||      S zKClass-aware wrapper for `::pdf_new_pixmap_from_page_contents_with_usage()`.)r   4PdfPage_pdf_new_pixmap_from_page_contents_with_usager   rW  rM  rA  r  r  s         r   ,pdf_new_pixmap_from_page_contents_with_usagez4PdfPage.pdf_new_pixmap_from_page_contents_with_usage͙  s"    JJ4QTVXZ_afhkllr#   c           	      8    t        j                  | ||||||      S r 9  )r   ;PdfPage_pdf_new_pixmap_from_page_with_separations_and_usager{N  s          r   r"9  z;PdfPage.pdf_new_pixmap_from_page_with_separations_and_usageљ  s&    QQRVX[]_aeglnsuxyyr#   c                 6    t        j                  | |||||      S r9  )r   +PdfPage_pdf_new_pixmap_from_page_with_usagerN  s         r   r9  z+PdfPage.pdf_new_pixmap_from_page_with_usageՙ  s     AA$RQVX]_bccr#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_nuke_annots()`.)r   PdfPage_pdf_nuke_annotsrV   s    r   pdf_nuke_annotszPdfPage.pdf_nuke_annotsٙ  r+  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_nuke_links()`.)r   PdfPage_pdf_nuke_linksrV   s    r   pdf_nuke_linkszPdfPage.pdf_nuke_linksݙ  r+  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_nuke_page()`.)r   PdfPage_pdf_nuke_pagerV   s    r   pdf_nuke_pagezPdfPage.pdf_nuke_page  rm+  r#   c                 .    t        j                  | |      S z7Class-aware wrapper for `::pdf_page_associated_file()`.)r    PdfPage_pdf_page_associated_filer+  s     r   pdf_page_associated_filez PdfPage.pdf_page_associated_file  r8L  r#   c                 ,    t        j                  |       S z0Class-aware wrapper for `::pdf_page_contents()`.)r   PdfPage_pdf_page_contentsrV   s    r   pdf_page_contentszPdfPage.pdf_page_contents  r,  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::pdf_page_event_close()`.)r   PdfPage_pdf_page_event_closerV   s    r   pdf_page_event_closezPdfPage.pdf_page_event_close  r2  r#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_page_event_open()`.)r   PdfPage_pdf_page_event_openrV   s    r   pdf_page_event_openzPdfPage.pdf_page_event_open  r,  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_page_group()`.)r   PdfPage_pdf_page_grouprV   s    r   pdf_page_groupzPdfPage.pdf_page_group  r+  r#   c                 ,    t        j                  |       S z8Class-aware wrapper for `::pdf_page_has_transparency()`.)r   !PdfPage_pdf_page_has_transparencyrV   s    r   pdf_page_has_transparencyz!PdfPage.pdf_page_has_transparency  r,  r#   c                 0    t        j                  | ||      S )z
        Class-aware wrapper for `::pdf_page_presentation()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_page_presentation(::fz_transition *transition)` => `(fz_transition *, float duration)`
        )r   PdfPage_pdf_page_presentationr8  s      r   pdf_page_presentationzPdfPage.pdf_page_presentation  s     33D*hOOr#   c                 ,    t        j                  |       S z1Class-aware wrapper for `::pdf_page_resources()`.)r   PdfPage_pdf_page_resourcesrV   s    r   pdf_page_resourceszPdfPage.pdf_page_resources  r,  r#   c                 ,    t        j                  |       S z3Class-aware wrapper for `::pdf_page_separations()`.)r   PdfPage_pdf_page_separationsrV   s    r   pdf_page_separationszPdfPage.pdf_page_separations
  r2  r#   c                 0    t        j                  | ||      S z1Class-aware wrapper for `::pdf_page_transform()`.)r   PdfPage_pdf_page_transform)r   rq
  rW  s      r   pdf_page_transformzPdfPage.pdf_page_transform  s    00xEEr#   c                 2    t        j                  | |||      S z5Class-aware wrapper for `::pdf_page_transform_box()`.)r   PdfPage_pdf_page_transform_box)r   rq
  rW  r  s       r   pdf_page_transform_boxzPdfPage.pdf_page_transform_box  s    44T8S#NNr#   c                 2    t        j                  | |||      S z+Class-aware wrapper for `::pdf_run_page()`.)r   PdfPage_pdf_run_pagerB  s       r   pdf_run_pagezPdfPage.pdf_run_page  s    **4c6BBr#   c                 2    t        j                  | |||      S z2Class-aware wrapper for `::pdf_run_page_annots()`.)r   PdfPage_pdf_run_page_annotsrB  s       r   pdf_run_page_annotszPdfPage.pdf_run_page_annots  s    11$S&IIr#   c                 4    t        j                  | ||||      S z=Class-aware wrapper for `::pdf_run_page_annots_with_usage()`.)r   &PdfPage_pdf_run_page_annots_with_usager   rT  rW  r  r  s        r   pdf_run_page_annots_with_usagez&PdfPage.pdf_run_page_annots_with_usage  s    <<T3UTZ[[r#   c                 2    t        j                  | |||      S z4Class-aware wrapper for `::pdf_run_page_contents()`.)r   PdfPage_pdf_run_page_contentsrB  s       r   pdf_run_page_contentszPdfPage.pdf_run_page_contents"  s    33D#sFKKr#   c                 4    t        j                  | ||||      S z?Class-aware wrapper for `::pdf_run_page_contents_with_usage()`.)r   (PdfPage_pdf_run_page_contents_with_usagerN  s        r    pdf_run_page_contents_with_usagez(PdfPage.pdf_run_page_contents_with_usage&  s    >>tS#uV\]]r#   c                 2    t        j                  | |||      S z3Class-aware wrapper for `::pdf_run_page_widgets()`.)r   PdfPage_pdf_run_page_widgetsrB  s       r   pdf_run_page_widgetszPdfPage.pdf_run_page_widgets*  s    224c6JJr#   c                 4    t        j                  | ||||      S z>Class-aware wrapper for `::pdf_run_page_widgets_with_usage()`.)r   'PdfPage_pdf_run_page_widgets_with_usagerN  s        r   pdf_run_page_widgets_with_usagez'PdfPage.pdf_run_page_widgets_with_usage.  s    ==dCeU[\\r#   c                 4    t        j                  | ||||      S z6Class-aware wrapper for `::pdf_run_page_with_usage()`.)r   PdfPage_pdf_run_page_with_usagerN  s        r   pdf_run_page_with_usagezPdfPage.pdf_run_page_with_usage2  s    55dCeVTTr#   c                 0    t        j                  | ||      S z/Class-aware wrapper for `::pdf_set_page_box()`.)r   PdfPage_pdf_set_page_box)r   r  r  s      r   pdf_set_page_boxzPdfPage.pdf_set_page_box6  rVL  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_sync_annots()`.)r   PdfPage_pdf_sync_annotsrV   s    r   pdf_sync_annotszPdfPage.pdf_sync_annots:  r+  r#   c                 ,    t        j                  |       S z-Class-aware wrapper for `::pdf_sync_links()`.)r   PdfPage_pdf_sync_linksrV   s    r   pdf_sync_linkszPdfPage.pdf_sync_links>  r+  r#   c                 ,    t        j                  |       S z,Class-aware wrapper for `::pdf_sync_page()`.)r   PdfPage_pdf_sync_pagerV   s    r   pdf_sync_pagezPdfPage.pdf_sync_pageB  rm+  r#   c                 ,    t        j                  |       S z.Class-aware wrapper for `::pdf_update_page()`.)r   PdfPage_pdf_update_pagerV   s    r   pdf_update_pagezPdfPage.pdf_update_pageF  r+  r#   c                 ,    t        j                  |       S r5H  )r   PdfPage_superrV   s    r   rK  zPdfPage.superJ  s    ##D))r#   c                 ,    t        j                  |       S r18  )r   PdfPage_docrV   s    r   rO   zPdfPage.docN      !!$''r#   c                 ,    t        j                  |       S )z Returns wrapper for .obj member.)r   PdfPage_objrV   s    r   rh  zPdfPage.objR  rN  r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        Copy constructor using `pdf_keep_page()`.

        |

        *Overload 2:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_page`.
        N)r   PdfPage_swiginitnew_PdfPager   s     r   rS   zPdfPage.__init__V  r3  r#   c                 ,    t        j                  |       S r+  )r   PdfPage_m_internal_valuerV   s    r   r+  zPdfPage.m_internal_valueh  r8/  r#   c                 ,    t        j                  |       S r-   )r   PdfPage___nonzero__rV   s    r   r   zPdfPage.__nonzero__l  rl   r#   r+  N)Cr   r   r6   r7   r   r   r   r   rJN  rNN  rSN  rWN  r[N  r_N  rcN  rgN  rkN  roN  rsN  rwN  r|N  rN  r"9  r9  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rN  rK  rO   rh  rS   r   delete_PdfPager   r+  r   r   PdfPage_m_internal_getPdfPage_m_internal_setr+  PdfPage_s_num_instances_getPdfPage_s_num_instances_setr+  r$   r#   r   rDN  rDN    sm   /-/IOdeGH8D;??F<:453ACmzd432B6983>P79FOCJ\L^K]U@4324*((A  ,,50H &779V9V\{|JvAA6CeCefOr#   rDN  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)
PdfPatternz'Wrapper class for struct `pdf_pattern`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfPattern.<lambda>y  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfPattern.<lambda>y  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        Copy constructor using `pdf_keep_pattern()`.

        |

        *Overload 2:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_pattern`.
        N)r   PdfPattern_swiginitnew_PdfPatternr   s     r   rS   zPdfPattern.__init__|  r)3  r#   c                 ,    t        j                  |       S r+  )r   PdfPattern_m_internal_valuerV   s    r   r+  zPdfPattern.m_internal_value  r,  r#   c                 ,    t        j                  |       S r-   )r   PdfPattern___nonzero__rV   s    r   r   zPdfPattern.__nonzero__  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfPatternr   r+  r   r   PdfPattern_m_internal_getPdfPattern_m_internal_setr+  PdfPattern_s_num_instances_getPdfPattern_s_num_instances_setr+  r$   r#   r   rO  rO  v  sz    2-/IOdeGHG  //83H &::F<\<\  cB  CJvDDfFkFklOr#   rO  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
ej                  Zd	 Zd
 ZeZ eej"                  ej$                  d      Z eej(                  ej*                        Zy)PdfPkcs7DistinguishedNamezTWrapper class for struct `pdf_pkcs7_distinguished_name`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   z"PdfPkcs7DistinguishedName.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z"PdfPkcs7DistinguishedName.<lambda>  rL   r#   rM   rN   c                 ,    t        j                  |       S zDClass-aware wrapper for `::pdf_signature_drop_distinguished_name()`.)r   ?PdfPkcs7DistinguishedName_pdf_signature_drop_distinguished_namerV   s    r   %pdf_signature_drop_distinguished_namez?PdfPkcs7DistinguishedName.pdf_signature_drop_distinguished_name  s    UUVZ[[r#   c                 ,    t        j                  |       S zFClass-aware wrapper for `::pdf_signature_format_distinguished_name()`.)r   APdfPkcs7DistinguishedName_pdf_signature_format_distinguished_namerV   s    r   'pdf_signature_format_distinguished_namezAPdfPkcs7DistinguishedName.pdf_signature_format_distinguished_name  s    WWX\]]r#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_pkcs7_distinguished_name`.
        N)r   "PdfPkcs7DistinguishedName_swiginitnew_PdfPkcs7DistinguishedNamer   s     r   rS   z"PdfPkcs7DistinguishedName.__init__  s      	11$8\8\^b8cdr#   c                 ,    t        j                  |       S r+  )r   *PdfPkcs7DistinguishedName_m_internal_valuerV   s    r   r+  z*PdfPkcs7DistinguishedName.m_internal_value  r3  r#   c                 ,    t        j                  |       S r-   )r   %PdfPkcs7DistinguishedName___nonzero__rV   s    r   r   z%PdfPkcs7DistinguishedName.__nonzero__  r.  r#   r+  N)r   r   r6   r7   r   r   r   r   rO  r O  rS   r    delete_PdfPkcs7DistinguishedNamer   r+  r   r   (PdfPkcs7DistinguishedName_m_internal_get(PdfPkcs7DistinguishedName_m_internal_setr+  -PdfPkcs7DistinguishedName_s_num_instances_get-PdfPkcs7DistinguishedName_s_num_instances_setr+  r$   r#   r   rO  rO    s    _-/IOdeGH\^
e >>GBH &II6KzKz  A`  aJvSSU[  VJ  VJ  KOr#   rO  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfPkcs7SignerzHWrapper class for struct `pdf_pkcs7_signer`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfPkcs7Signer.<lambda>Ț  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfPkcs7Signer.<lambda>Ț  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_pkcs7_signer`.
        N)r   PdfPkcs7Signer_swiginitnew_PdfPkcs7Signerr   s     r   rS   zPdfPkcs7Signer.__init__˚  r+  r#   c                 ,    t        j                  |       S r+  )r   PdfPkcs7Signer_m_internal_valuerV   s    r   r+  zPdfPkcs7Signer.m_internal_valueؚ  r+  r#   c                 ,    t        j                  |       S r-   )r   PdfPkcs7Signer___nonzero__rV   s    r   r   zPdfPkcs7Signer.__nonzero__ܚ  rX  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfPkcs7Signerr   r+  r   r   PdfPkcs7Signer_m_internal_getPdfPkcs7Signer_m_internal_setr+  "PdfPkcs7Signer_s_num_instances_get"PdfPkcs7Signer_s_num_instances_setr+  r$   r#   r   r.O  r.O  Ś  r2  r#   r.O  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfPkcs7VerifierzJWrapper class for struct `pdf_pkcs7_verifier`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfPkcs7Verifier.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfPkcs7Verifier.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_pkcs7_verifier`.
        N)r   PdfPkcs7Verifier_swiginitnew_PdfPkcs7Verifierr   s     r   rS   zPdfPkcs7Verifier.__init__  r,  r#   c                 ,    t        j                  |       S r+  )r   !PdfPkcs7Verifier_m_internal_valuerV   s    r   r+  z!PdfPkcs7Verifier.m_internal_value  r,  r#   c                 ,    t        j                  |       S r-   )r   PdfPkcs7Verifier___nonzero__rV   s    r   r   zPdfPkcs7Verifier.__nonzero__  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfPkcs7Verifierr   r+  r   r   PdfPkcs7Verifier_m_internal_getPdfPkcs7Verifier_m_internal_setr+  $PdfPkcs7Verifier_s_num_instances_get$PdfPkcs7Verifier_s_num_instances_setr+  r$   r#   r   r>O  r>O    rBN  r#   r>O  c                      e Zd ZdZ ed d d      ZeZed        Z	d Z
d Zd	 Zd
 Zd Zd Zd Zd Zd Zej(                  Zd Zd ZeZ eej2                  ej4                  d      Z eej8                  ej:                        Zy)PdfProcessorz)Wrapper class for struct `pdf_processor`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfProcessor.<lambda>
  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfProcessor.<lambda>
  rL   r#   rM   rN   c                 6    t        j                  | |||||      S rF  )r   !PdfProcessor_pdf_new_color_filterr|'  s         r   rF  z!PdfProcessor.pdf_new_color_filter  s"     77UNT]_fhmnnr#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_close_processor()`.)r    PdfProcessor_pdf_close_processorrV   s    r   pdf_close_processorz PdfProcessor.pdf_close_processor  rf4  r#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::pdf_process_annot()`.)r   PdfProcessor_pdf_process_annot)r   r!  r  s      r   pdf_process_annotzPdfProcessor.pdf_process_annot  s    44T5&IIr#   c                 6    t        j                  | |||||      S )a
  
        Class-aware wrapper for `::pdf_process_contents()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_process_contents(::pdf_document *doc, ::pdf_obj *res, ::pdf_obj *stm, ::fz_cookie *cookie, ::pdf_obj **out_res)` =>
        )r   !PdfProcessor_pdf_process_contentsr   rO   r#  r  r  r(  s         r   pdf_process_contentsz!PdfProcessor.pdf_process_contents  s      77c3VU\]]r#   c                 2    t        j                  | |||      S z0Class-aware wrapper for `::pdf_process_glyph()`.)r   PdfProcessor_pdf_process_glyph)r   rO   r  r  s       r   pdf_process_glyphzPdfProcessor.pdf_process_glyph#  s    44T3	8TTr#   c                 4    t        j                  | ||||      S z7Class-aware wrapper for `::pdf_process_raw_contents()`.)r   %PdfProcessor_pdf_process_raw_contents)r   rO   r  r'(  r  s        r   pdf_process_raw_contentsz%PdfProcessor.pdf_process_raw_contents'  s    ;;D#sFTZ[[r#   c                 ,    t        j                  |       S z:Class-aware wrapper for `::pdf_processor_pop_resources()`.)r   (PdfProcessor_pdf_processor_pop_resourcesrV   s    r   pdf_processor_pop_resourcesz(PdfProcessor.pdf_processor_pop_resources+  r.,  r#   c                 .    t        j                  | |      S z;Class-aware wrapper for `::pdf_processor_push_resources()`.)r   )PdfProcessor_pdf_processor_push_resourcesr.  s     r   pdf_processor_push_resourcesz)PdfProcessor.pdf_processor_push_resources/  rGC  r#   c                 ,    t        j                  |       S z2Class-aware wrapper for `::pdf_reset_processor()`.)r    PdfProcessor_pdf_reset_processorrV   s    r   pdf_reset_processorz PdfProcessor.pdf_reset_processor3  rf4  r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        == Constructors.  Constructor using `pdf_new_buffer_processor()`.

        |

        *Overload 2:*
        Constructor using `pdf_new_output_processor()`.

        |

        *Overload 3:*
        Constructor using `pdf_new_run_processor()`.

        |

        *Overload 4:*
        Constructor using `pdf_new_sanitize_filter()`.

        |

        *Overload 5:*
        Copy constructor using `pdf_keep_processor()`.

        |

        *Overload 6:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 7:*
        Constructor using raw copy of pre-existing `::pdf_processor`.
        N)r   PdfProcessor_swiginitnew_PdfProcessorr   s     r   rS   zPdfProcessor.__init__7  s     F 	$$T6+B+BD+IJr#   c                 ,    t        j                  |       S r+  )r   PdfProcessor_m_internal_valuerV   s    r   r+  zPdfProcessor.m_internal_value]  rK,  r#   c                 ,    t        j                  |       S r-   )r   PdfProcessor___nonzero__rV   s    r   r   zPdfProcessor.__nonzero__a  r  r#   r+  N)r   r   r6   r7   r   r   r   r   r   rF  rVO  rZO  r^O  rbO  rfO  rjO  rnO  rrO  rS   r   delete_PdfProcessorr   r+  r   r   PdfProcessor_m_internal_getPdfProcessor_m_internal_setr+   PdfProcessor_s_num_instances_get PdfProcessor_s_num_instances_setr+  r$   r#   r   rNO  rNO    s    4-/IOdeGHo o=J^U\EK=#KH 11:5H &<<f>`>`  gF  GJvFFHoHopOr#   rNO  c                   >   e Zd ZdZ ed d d      ZeZd Ze	j                  ZddZddZdd	Zdd
ZddZddZddZddZddZddZddZddZddZddZddZddZddZddZddZddZddZ ddZ!ddZ"ddZ#ddZ$dd Z%dd!Z&dd"Z'dd#Z(dd$Z)dd%Z*dd&Z+dd'Z,dd(Z-dd)Z.dd*Z/dd+Z0dd,Z1dd-Z2dd.Z3dd/Z4dd0Z5dd1Z6dd2Z7dd3Z8dd4Z9dd5Z:dd6Z;dd7Z<dd8Z=dd9Z>dd:Z?dd;Z@dd<ZAdd=ZBdd>ZCdd?ZDdd@ZEddAZFddBZGddCZHddDZIddEZJddFZKddGZLddHZMddIZNddJZOddKZPddLZQddMZRddNZSddOZTddPZUddQZVddRZWddSZXddTZYddUZZddVZ[ddWZ\ddXZ]ddYZ^ddZZ_dd[Z`dd\Zadd]Zbdd^Zcdd_Zddd`Zeda Zfdb Zgdc Zhdd Zide Zjdf Zkdg Zldh Zmdi Zndj Zodk Zpdl Zqdm Zrdn Zsdo Ztdp Zudq Zvdr Zwds Zxdt Zydu Zzdv Z{dw Z|dx Z}dy Z~dz Zd{ Zd| Zd} Zd~ Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zy)PdfProcessor2zqWrapper class for struct pdf_processor with virtual fns for each fnptr; this is for use as a SWIG Director class.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfProcessor2.<lambda>n  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfProcessor2.<lambda>n  rL   r#   rM   rN   c                     | j                   t        k(  rd}n| }t        j                  | t        j                  |             yr/  )r   rO  r   PdfProcessor2_swiginitnew_PdfProcessor2r/  s     r   rS   zPdfProcessor2.__init__q  r8  r#   c                 .    t        j                  | |      S r/  )r   )PdfProcessor2_use_virtual_close_processorr/  s     r   use_virtual_close_processorz)PdfProcessor2.use_virtual_close_processorz  s    
 ??cJJr#   c                 .    t        j                  | |      S r-   )r   (PdfProcessor2_use_virtual_drop_processorr/  s     r   use_virtual_drop_processorz(PdfProcessor2.use_virtual_drop_processor      >>tSIIr#   c                 .    t        j                  | |      S r-   )r   )PdfProcessor2_use_virtual_reset_processorr/  s     r   use_virtual_reset_processorz)PdfProcessor2.use_virtual_reset_processor  s    ??cJJr#   c                 .    t        j                  | |      S r-   )r   (PdfProcessor2_use_virtual_push_resourcesr/  s     r   use_virtual_push_resourcesz(PdfProcessor2.use_virtual_push_resources  rO  r#   c                 .    t        j                  | |      S r-   )r   'PdfProcessor2_use_virtual_pop_resourcesr/  s     r   use_virtual_pop_resourcesz'PdfProcessor2.use_virtual_pop_resources      ==dCHHr#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_wr/  s     r   use_virtual_op_wzPdfProcessor2.use_virtual_op_w  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_jr/  s     r   use_virtual_op_jzPdfProcessor2.use_virtual_op_j  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Jr/  s     r   use_virtual_op_JzPdfProcessor2.use_virtual_op_J  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Mr/  s     r   use_virtual_op_MzPdfProcessor2.use_virtual_op_M  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_dr/  s     r   use_virtual_op_dzPdfProcessor2.use_virtual_op_d  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_rir/  s     r   use_virtual_op_rizPdfProcessor2.use_virtual_op_ri  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_ir/  s     r   use_virtual_op_izPdfProcessor2.use_virtual_op_i  r/  r#   c                 .    t        j                  | |      S r-   )r   %PdfProcessor2_use_virtual_op_gs_beginr/  s     r   use_virtual_op_gs_beginz%PdfProcessor2.use_virtual_op_gs_begin  r/  r#   c                 .    t        j                  | |      S r-   )r   "PdfProcessor2_use_virtual_op_gs_BMr/  s     r   use_virtual_op_gs_BMz"PdfProcessor2.use_virtual_op_gs_BM  r/  r#   c                 .    t        j                  | |      S r-   )r   "PdfProcessor2_use_virtual_op_gs_car/  s     r   use_virtual_op_gs_caz"PdfProcessor2.use_virtual_op_gs_ca  r/  r#   c                 .    t        j                  | |      S r-   )r   "PdfProcessor2_use_virtual_op_gs_CAr/  s     r   use_virtual_op_gs_CAz"PdfProcessor2.use_virtual_op_gs_CA  r/  r#   c                 .    t        j                  | |      S r-   )r   %PdfProcessor2_use_virtual_op_gs_SMaskr/  s     r   use_virtual_op_gs_SMaskz%PdfProcessor2.use_virtual_op_gs_SMask  r/  r#   c                 .    t        j                  | |      S r-   )r   #PdfProcessor2_use_virtual_op_gs_endr/  s     r   use_virtual_op_gs_endz#PdfProcessor2.use_virtual_op_gs_end  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_qr/  s     r   use_virtual_op_qzPdfProcessor2.use_virtual_op_q  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Qr/  s     r   use_virtual_op_QzPdfProcessor2.use_virtual_op_Q  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_cmr/  s     r   use_virtual_op_cmzPdfProcessor2.use_virtual_op_cm  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_mr/  s     r   use_virtual_op_mzPdfProcessor2.use_virtual_op_m  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_lr/  s     r   use_virtual_op_lzPdfProcessor2.use_virtual_op_l  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_cr/  s     r   use_virtual_op_czPdfProcessor2.use_virtual_op_cÛ  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_vr/  s     r   use_virtual_op_vzPdfProcessor2.use_virtual_op_vƛ  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_yr/  s     r   use_virtual_op_yzPdfProcessor2.use_virtual_op_yɛ  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_hr/  s     r   use_virtual_op_hzPdfProcessor2.use_virtual_op_h̛  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_rer/  s     r   use_virtual_op_rezPdfProcessor2.use_virtual_op_reϛ  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Sr/  s     r   use_virtual_op_SzPdfProcessor2.use_virtual_op_Sқ  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_sr/  s     r   use_virtual_op_szPdfProcessor2.use_virtual_op_s՛  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Fr/  s     r   use_virtual_op_FzPdfProcessor2.use_virtual_op_F؛  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_fr/  s     r   use_virtual_op_fzPdfProcessor2.use_virtual_op_fۛ  r/  r#   c                 .    t        j                  | |      S r-   )r   "PdfProcessor2_use_virtual_op_fstarr/  s     r   use_virtual_op_fstarz"PdfProcessor2.use_virtual_op_fstarޛ  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Br/  s     r   use_virtual_op_BzPdfProcessor2.use_virtual_op_B  r/  r#   c                 .    t        j                  | |      S r-   )r   "PdfProcessor2_use_virtual_op_Bstarr/  s     r   use_virtual_op_Bstarz"PdfProcessor2.use_virtual_op_Bstar  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_br/  s     r   use_virtual_op_bzPdfProcessor2.use_virtual_op_b  r/  r#   c                 .    t        j                  | |      S r-   )r   "PdfProcessor2_use_virtual_op_bstarr/  s     r   use_virtual_op_bstarz"PdfProcessor2.use_virtual_op_bstar  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_nr/  s     r   use_virtual_op_nzPdfProcessor2.use_virtual_op_n  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Wr/  s     r   use_virtual_op_WzPdfProcessor2.use_virtual_op_W  r/  r#   c                 .    t        j                  | |      S r-   )r   "PdfProcessor2_use_virtual_op_Wstarr/  s     r   use_virtual_op_Wstarz"PdfProcessor2.use_virtual_op_Wstar  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_BTr/  s     r   use_virtual_op_BTzPdfProcessor2.use_virtual_op_BT  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_ETr/  s     r   use_virtual_op_ETzPdfProcessor2.use_virtual_op_ET  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Tcr/  s     r   use_virtual_op_TczPdfProcessor2.use_virtual_op_Tc  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Twr/  s     r   use_virtual_op_TwzPdfProcessor2.use_virtual_op_Tw  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Tzr/  s     r   use_virtual_op_TzzPdfProcessor2.use_virtual_op_Tz  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_TLr/  s     r   use_virtual_op_TLzPdfProcessor2.use_virtual_op_TL  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Tfr/  s     r   use_virtual_op_TfzPdfProcessor2.use_virtual_op_Tf  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Trr/  s     r   use_virtual_op_TrzPdfProcessor2.use_virtual_op_Tr  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Tsr/  s     r   use_virtual_op_TszPdfProcessor2.use_virtual_op_Ts  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Tdr/  s     r   use_virtual_op_TdzPdfProcessor2.use_virtual_op_Td  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_TDr/  s     r   use_virtual_op_TDzPdfProcessor2.use_virtual_op_TD  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Tmr/  s     r   use_virtual_op_TmzPdfProcessor2.use_virtual_op_Tm  r/  r#   c                 .    t        j                  | |      S r-   )r   "PdfProcessor2_use_virtual_op_Tstarr/  s     r   use_virtual_op_Tstarz"PdfProcessor2.use_virtual_op_Tstar  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_TJr/  s     r   use_virtual_op_TJzPdfProcessor2.use_virtual_op_TJ  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Tjr/  s     r   use_virtual_op_TjzPdfProcessor2.use_virtual_op_Tj   r/  r#   c                 .    t        j                  | |      S r-   )r   #PdfProcessor2_use_virtual_op_squoter/  s     r   use_virtual_op_squotez#PdfProcessor2.use_virtual_op_squote#  r/  r#   c                 .    t        j                  | |      S r-   )r   #PdfProcessor2_use_virtual_op_dquoter/  s     r   use_virtual_op_dquotez#PdfProcessor2.use_virtual_op_dquote&  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_d0r/  s     r   use_virtual_op_d0zPdfProcessor2.use_virtual_op_d0)  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_d1r/  s     r   use_virtual_op_d1zPdfProcessor2.use_virtual_op_d1,  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_CSr/  s     r   use_virtual_op_CSzPdfProcessor2.use_virtual_op_CS/  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_csr/  s     r   use_virtual_op_cszPdfProcessor2.use_virtual_op_cs2  r/  r#   c                 .    t        j                  | |      S r-   )r   'PdfProcessor2_use_virtual_op_SC_patternr/  s     r   use_virtual_op_SC_patternz'PdfProcessor2.use_virtual_op_SC_pattern5  rO  r#   c                 .    t        j                  | |      S r-   )r   'PdfProcessor2_use_virtual_op_sc_patternr/  s     r   use_virtual_op_sc_patternz'PdfProcessor2.use_virtual_op_sc_pattern8  rO  r#   c                 .    t        j                  | |      S r-   )r   %PdfProcessor2_use_virtual_op_SC_shader/  s     r   use_virtual_op_SC_shadez%PdfProcessor2.use_virtual_op_SC_shade;  r/  r#   c                 .    t        j                  | |      S r-   )r   %PdfProcessor2_use_virtual_op_sc_shader/  s     r   use_virtual_op_sc_shadez%PdfProcessor2.use_virtual_op_sc_shade>  r/  r#   c                 .    t        j                  | |      S r-   )r   %PdfProcessor2_use_virtual_op_SC_colorr/  s     r   use_virtual_op_SC_colorz%PdfProcessor2.use_virtual_op_SC_colorA  r/  r#   c                 .    t        j                  | |      S r-   )r   %PdfProcessor2_use_virtual_op_sc_colorr/  s     r   use_virtual_op_sc_colorz%PdfProcessor2.use_virtual_op_sc_colorD  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Gr/  s     r   use_virtual_op_GzPdfProcessor2.use_virtual_op_GG  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_gr/  s     r   use_virtual_op_gzPdfProcessor2.use_virtual_op_gJ  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_RGr/  s     r   use_virtual_op_RGzPdfProcessor2.use_virtual_op_RGM  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_rgr/  s     r   use_virtual_op_rgzPdfProcessor2.use_virtual_op_rgP  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_Kr/  s     r   use_virtual_op_KzPdfProcessor2.use_virtual_op_KS  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_kr/  s     r   use_virtual_op_kzPdfProcessor2.use_virtual_op_kV  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_BIr/  s     r   use_virtual_op_BIzPdfProcessor2.use_virtual_op_BIY  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_shr/  s     r   use_virtual_op_shzPdfProcessor2.use_virtual_op_sh\  r/  r#   c                 .    t        j                  | |      S r-   )r   %PdfProcessor2_use_virtual_op_Do_imager/  s     r   use_virtual_op_Do_imagez%PdfProcessor2.use_virtual_op_Do_image_  r/  r#   c                 .    t        j                  | |      S r-   )r   $PdfProcessor2_use_virtual_op_Do_formr/  s     r   use_virtual_op_Do_formz$PdfProcessor2.use_virtual_op_Do_formb  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_MPr/  s     r   use_virtual_op_MPzPdfProcessor2.use_virtual_op_MPe  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_DPr/  s     r   use_virtual_op_DPzPdfProcessor2.use_virtual_op_DPh  r/  r#   c                 .    t        j                  | |      S r-   )r    PdfProcessor2_use_virtual_op_BMCr/  s     r   use_virtual_op_BMCz PdfProcessor2.use_virtual_op_BMCk  r/  r#   c                 .    t        j                  | |      S r-   )r    PdfProcessor2_use_virtual_op_BDCr/  s     r   use_virtual_op_BDCz PdfProcessor2.use_virtual_op_BDCn  r/  r#   c                 .    t        j                  | |      S r-   )r    PdfProcessor2_use_virtual_op_EMCr/  s     r   use_virtual_op_EMCz PdfProcessor2.use_virtual_op_EMCq  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_BXr/  s     r   use_virtual_op_BXzPdfProcessor2.use_virtual_op_BXt  r/  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_use_virtual_op_EXr/  s     r   use_virtual_op_EXzPdfProcessor2.use_virtual_op_EXw  r/  r#   c                 .    t        j                  | |      S r-   )r   "PdfProcessor2_use_virtual_op_gs_OPr/  s     r   use_virtual_op_gs_OPz"PdfProcessor2.use_virtual_op_gs_OPz  r/  r#   c                 .    t        j                  | |      S r-   )r   "PdfProcessor2_use_virtual_op_gs_opr/  s     r   use_virtual_op_gs_opz"PdfProcessor2.use_virtual_op_gs_op}  r/  r#   c                 .    t        j                  | |      S r-   )r   #PdfProcessor2_use_virtual_op_gs_OPMr/  s     r   use_virtual_op_gs_OPMz#PdfProcessor2.use_virtual_op_gs_OPM  r/  r#   c                 .    t        j                  | |      S r-   )r   .PdfProcessor2_use_virtual_op_gs_UseBlackPtCompr/  s     r    use_virtual_op_gs_UseBlackPtCompz.PdfProcessor2.use_virtual_op_gs_UseBlackPtComp  s    DDT3OOr#   c                 .    t        j                  | |      S r-   )r    PdfProcessor2_use_virtual_op_EODr/  s     r   use_virtual_op_EODz PdfProcessor2.use_virtual_op_EOD  r/  r#   c                 .    t        j                  | |      S r-   )r    PdfProcessor2_use_virtual_op_ENDr/  s     r   use_virtual_op_ENDz PdfProcessor2.use_virtual_op_END  r/  r#   c                 .    t        j                  | |      S r/  )r   PdfProcessor2_close_processorr/  s     r   r  zPdfProcessor2.close_processor  r52  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_drop_processorr/  s     r   r  zPdfProcessor2.drop_processor  s    224??r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_reset_processorr/  s     r   r  zPdfProcessor2.reset_processor  s    33D%@@r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_push_resourcesr+0  s      r   r  zPdfProcessor2.push_resources  s    224FFr#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_pop_resourcesr/  s     r   r  zPdfProcessor2.pop_resources  s    11$>>r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_wr+0  s      r   r  zPdfProcessor2.op_w  r,0  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_jr+0  s      r   r  zPdfProcessor2.op_j  r,0  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_Jr+0  s      r   r  zPdfProcessor2.op_J  r,0  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_Mr+0  s      r   r  zPdfProcessor2.op_M  r,0  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_dr0  s       r   r  zPdfProcessor2.op_d      ((ueUCCr#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_rir+0  s      r   r  zPdfProcessor2.op_ri      ))$u==r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_ir+0  s      r   r  zPdfProcessor2.op_i  r,0  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_gs_beginr0  s       r   r  zPdfProcessor2.op_gs_begin      //eUEJJr#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_gs_BMr+0  s      r   r  zPdfProcessor2.op_gs_BM      ,,T5%@@r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_gs_car+0  s      r   r  zPdfProcessor2.op_gs_ca  rP  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_gs_CAr+0  s      r   r  zPdfProcessor2.op_gs_CA  rP  r#   c           	      8    t        j                  | ||||||      S r-   )r   PdfProcessor2_op_gs_SMaskr(0  s          r   r  zPdfProcessor2.op_gs_SMask  s!    //eUE5RWY^__r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_gs_endr/  s     r   r  zPdfProcessor2.op_gs_end  r   r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_qr/  s     r   r  zPdfProcessor2.op_qÜ  r%0  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_Qr/  s     r   r  zPdfProcessor2.op_QƜ  r%0  r#   c           
      :    t        j                  | |||||||      S r-   )r   PdfProcessor2_op_cmr0  s           r   r  zPdfProcessor2.op_cmɜ  r0  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_mr0  s       r   r  zPdfProcessor2.op_m̜  rP  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_lr0  s       r   r  zPdfProcessor2.op_lϜ  rP  r#   c           
      :    t        j                  | |||||||      S r-   )r   PdfProcessor2_op_cr0  s           r   r  zPdfProcessor2.op_cҜ  s#    ((ueUE5RWY^__r#   c                 6    t        j                  | |||||      S r-   )r   PdfProcessor2_op_vr0  s         r   r  zPdfProcessor2.op_v՜      ((ueUE5QQr#   c                 6    t        j                  | |||||      S r-   )r   PdfProcessor2_op_yr0  s         r   r  zPdfProcessor2.op_y؜  rP  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_hr/  s     r   r  zPdfProcessor2.op_hۜ  r%0  r#   c                 6    t        j                  | |||||      S r-   )r   PdfProcessor2_op_rer0  s         r   r  zPdfProcessor2.op_reޜ  r0  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_Sr/  s     r   r  zPdfProcessor2.op_S  r%0  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_sr/  s     r   r  zPdfProcessor2.op_s  r%0  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_Fr/  s     r   r  zPdfProcessor2.op_F  r%0  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_fr/  s     r   r  zPdfProcessor2.op_f  r%0  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_fstarr/  s     r   r   zPdfProcessor2.op_fstar  rH0  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_Br/  s     r   r#  zPdfProcessor2.op_B  r%0  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_Bstarr/  s     r   r&  zPdfProcessor2.op_Bstar  rH0  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_br/  s     r   r)  zPdfProcessor2.op_b  r%0  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_bstarr/  s     r   r,  zPdfProcessor2.op_bstar  rH0  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_nr/  s     r   r/  zPdfProcessor2.op_n  r%0  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_Wr/  s     r   r2  zPdfProcessor2.op_W  r%0  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_Wstarr/  s     r   r5  zPdfProcessor2.op_Wstar  rH0  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_BTr/  s     r   r8  zPdfProcessor2.op_BT  r20  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_ETr/  s     r   r;  zPdfProcessor2.op_ET  r20  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_Tcr+0  s      r   r>  zPdfProcessor2.op_Tc  rP  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_Twr+0  s      r   rA  zPdfProcessor2.op_Tw  rP  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_Tzr+0  s      r   rD  zPdfProcessor2.op_Tz  rP  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_TLr+0  s      r   rG  zPdfProcessor2.op_TL  rP  r#   c                 4    t        j                  | ||||      S r-   )r   PdfProcessor2_op_Tfr0  s        r   rJ  zPdfProcessor2.op_Tf  r0  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_Trr+0  s      r   rM  zPdfProcessor2.op_Tr  rP  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_Tsr+0  s      r   rP  zPdfProcessor2.op_Ts  rP  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_Tdr0  s       r   rS  zPdfProcessor2.op_Td       ))$ueDDr#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_TDr0  s       r   rV  zPdfProcessor2.op_TD#  rP  r#   c           
      :    t        j                  | |||||||      S r-   )r   PdfProcessor2_op_Tmr0  s           r   rY  zPdfProcessor2.op_Tm&  r0  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_Tstarr/  s     r   r\  zPdfProcessor2.op_Tstar)  rH0  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_TJr+0  s      r   r_  zPdfProcessor2.op_TJ,  rP  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_Tjr0  s       r   rb  zPdfProcessor2.op_Tj/  rP  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_squoter0  s       r   re  zPdfProcessor2.op_squote2  s    --dE5%HHr#   c                 6    t        j                  | |||||      S r-   )r   PdfProcessor2_op_dquoter0  s         r   rh  zPdfProcessor2.op_dquote5  s    --dE5%PUVVr#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_d0r0  s       r   rk  zPdfProcessor2.op_d08  rP  r#   c           
      :    t        j                  | |||||||      S r-   )r   PdfProcessor2_op_d1r0  s           r   rn  zPdfProcessor2.op_d1;  r0  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_CSr0  s       r   rq  zPdfProcessor2.op_CS>  rP  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_csr0  s       r   rt  zPdfProcessor2.op_csA  rP  r#   c                 6    t        j                  | |||||      S r-   )r   PdfProcessor2_op_SC_patternr0  s         r   rw  zPdfProcessor2.op_SC_patternD      11$ueUTYZZr#   c                 6    t        j                  | |||||      S r-   )r   PdfProcessor2_op_sc_patternr0  s         r   rz  zPdfProcessor2.op_sc_patternG  rQ  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_SC_shader0  s       r   r}  zPdfProcessor2.op_SC_shadeJ  rP  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_sc_shader0  s       r   r  zPdfProcessor2.op_sc_shadeM  rP  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_SC_colorr0  s       r   r  zPdfProcessor2.op_SC_colorP  rP  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_sc_colorr0  s       r   r  zPdfProcessor2.op_sc_colorS  rP  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_Gr+0  s      r   r  zPdfProcessor2.op_GV  r,0  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_gr+0  s      r   r  zPdfProcessor2.op_gY  r,0  r#   c                 4    t        j                  | ||||      S r-   )r   PdfProcessor2_op_RGr0  s        r   r  zPdfProcessor2.op_RG\  r0  r#   c                 4    t        j                  | ||||      S r-   )r   PdfProcessor2_op_rgr0  s        r   r  zPdfProcessor2.op_rg_  r0  r#   c                 6    t        j                  | |||||      S r-   )r   PdfProcessor2_op_Kr0  s         r   r  zPdfProcessor2.op_Kb  rP  r#   c                 6    t        j                  | |||||      S r-   )r   PdfProcessor2_op_kr0  s         r   r  zPdfProcessor2.op_ke  rP  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_BIr0  s       r   r  zPdfProcessor2.op_BIh  rP  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_shr0  s       r   r  zPdfProcessor2.op_shk  rP  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_Do_imager0  s       r   r  zPdfProcessor2.op_Do_imagen  rP  r#   c                 2    t        j                  | |||      S r-   )r   PdfProcessor2_op_Do_formr0  s       r   r  zPdfProcessor2.op_Do_formq  rE0  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_MPr+0  s      r   r  zPdfProcessor2.op_MPt  rP  r#   c                 4    t        j                  | ||||      S r-   )r   PdfProcessor2_op_DPr0  s        r   r  zPdfProcessor2.op_DPw  r0  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_BMCr+0  s      r   r  zPdfProcessor2.op_BMCz  s    **4>>r#   c                 4    t        j                  | ||||      S r-   )r   PdfProcessor2_op_BDCr0  s        r   r  zPdfProcessor2.op_BDC}  s    **4ueLLr#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_EMCr/  s     r   r  zPdfProcessor2.op_EMC      **477r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_BXr/  s     r   r  zPdfProcessor2.op_BX  r20  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_EXr/  s     r   r  zPdfProcessor2.op_EX  r20  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_gs_OPr+0  s      r   r  zPdfProcessor2.op_gs_OP  rP  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_gs_opr+0  s      r   r  zPdfProcessor2.op_gs_op  rP  r#   c                 0    t        j                  | ||      S r-   )r   PdfProcessor2_op_gs_OPMr+0  s      r   r  zPdfProcessor2.op_gs_OPM  r   r#   c                 0    t        j                  | ||      S r-   )r   "PdfProcessor2_op_gs_UseBlackPtCompr+0  s      r   r  z"PdfProcessor2.op_gs_UseBlackPtComp  s    88ueLLr#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_EODr/  s     r   r  zPdfProcessor2.op_EOD  rAQ  r#   c                 .    t        j                  | |      S r-   )r   PdfProcessor2_op_ENDr/  s     r   r  zPdfProcessor2.op_END  rAQ  r#   c                     | j                   j                          t        j                  |        t	        j
                  |       S r-   )r
   rJ0  r   disown_PdfProcessor2rL0  rM0  rV   s    r   rN0  zPdfProcessor2.__disown__  r8  r#   NrP0  )r   r   r6   r7   r   r   r   r   rS   r   delete_PdfProcessor2r   rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rO  rP  rP  rP  rP  rP  rP  rP  rP  rP  rP  r P  r#P  r&P  r)P  r,P  r/P  r2P  r5P  r8P  r;P  r>P  rAP  rDP  rGP  rJP  rMP  rPP  rSP  rVP  rYP  r\P  r_P  rbP  reP  rhP  rkP  rnP  rqP  rtP  rwP  rzP  r}P  rP  rP  rP  rP  rP  rP  rP  rP  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r#  r&  r)  r,  r/  r2  r5  r8  r;  r>  rA  rD  rG  rJ  rM  rP  rS  rV  rY  r\  r_  rb  re  rh  rk  rn  rq  rt  rw  rz  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  rN0  r$   r#   r   rO  rO  k  sB   |-/IOdeGHO 22KJKJI@@@@@A@GDDDGE@@A@@@@@@A@@@@D@D@D@@DAAAAAAAAAAAADAAEEAAAAIIGGGG@@AA@@AAGFAABBBAADDEPBBA@AG?====D>=KAAA`;66aDD`RR6S6666:6:6:66:77>>>>L>>EEa:>EIWEaEE[[KKKK==LLRREEKJ>L?M877AABM88#r#   rO  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfRangezAWrapper class for struct `pdf_range`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfRange.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfRange.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_range`.
        N)r   PdfRange_swiginitnew_PdfRanger   s     r   rS   zPdfRange.__init__  rO4  r#   c                 ,    t        j                  |       S r+  )r   PdfRange_m_internal_valuerV   s    r   r+  zPdfRange.m_internal_value  r,  r#   c                 ,    t        j                  |       S r-   )r   PdfRange___nonzero__rV   s    r   r   zPdfRange.__nonzero__  rW   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfRanger   r+  r   r   PdfRange_m_internal_getPdfRange_m_internal_setr+  PdfRange_s_num_instances_getPdfRange_s_num_instances_setr+  r$   r#   r   rVQ  rVQ    rY4  r#   rVQ  c                       e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Z ee
j                  e
j                        Z ee
j                   e
j"                        Zd Zd	 Zd
 Zy)PdfRecolorOptionsz/Wrapper class for struct `pdf_recolor_options`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfRecolorOptions.<lambda>ŝ  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfRecolorOptions.<lambda>ŝ  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)ak  
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_recolor_options`.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_recolor_options`.
        N)r   PdfRecolorOptions_swiginitnew_PdfRecolorOptionsr   s     r   rS   zPdfRecolorOptions.__init__ȝ  s     	))$0L0Ld0STr#   c                 .    t        j                  | g| S rg+  )r   PdfRecolorOptions_internalr   s     r   ri+  zPdfRecolorOptions.internalٝ  s     00===r#   c                 ,    t        j                  |       S rk+  )r   PdfRecolorOptions_to_stringrV   s    r   r[+  zPdfRecolorOptions.to_string  r,  r#   c                 .    t        j                  | |      S ro+  )r   PdfRecolorOptions___eq__rq+  s     r   r}   zPdfRecolorOptions.__eq__  r7  r#   c                 .    t        j                  | |      S ro+  )r   PdfRecolorOptions___ne__rq+  s     r   r   zPdfRecolorOptions.__ne__  r7  r#   N)r   r   r6   r7   r   r   r   r   rS   ri+  r   delete_PdfRecolorOptionsr   PdfRecolorOptions_num_comp_getPdfRecolorOptions_num_comp_setr  %PdfRecolorOptions_s_num_instances_get%PdfRecolorOptions_s_num_instances_setr+  r[+  r}   r   r$   r#   r   rfQ  rfQ    ss    :-/IOdeGHU"
> 66==v?d?deHvKKVMyMyzO8::r#   rfQ  c                      e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Z ee
j                  e
j                        Z ee
j                   e
j"                        Z ee
j&                  e
j(                        Z ee
j,                  e
j.                        Z ee
j2                  e
j4                        Zd Zd	 Zd
 Zy)PdfRedactOptionsz.Wrapper class for struct `pdf_redact_options`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfRedactOptions.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfRedactOptions.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)ai  
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_redact_options`.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_redact_options`.
        N)r   PdfRedactOptions_swiginitnew_PdfRedactOptionsr   s     r   rS   zPdfRedactOptions.__init__  rkH  r#   c                 .    t        j                  | g| S rg+  )r   PdfRedactOptions_internalr   s     r   ri+  zPdfRedactOptions.internal  rnH  r#   c                 ,    t        j                  |       S rk+  )r   PdfRedactOptions_to_stringrV   s    r   r[+  zPdfRedactOptions.to_string  r,  r#   c                 .    t        j                  | |      S ro+  )r   PdfRedactOptions___eq__rq+  s     r   r}   zPdfRedactOptions.__eq__#  rC  r#   c                 .    t        j                  | |      S ro+  )r   PdfRedactOptions___ne__rq+  s     r   r   zPdfRedactOptions.__ne__'  rC  r#   N)r   r   r6   r7   r   r   r   r   rS   ri+  r   delete_PdfRedactOptionsr    PdfRedactOptions_black_boxes_get PdfRedactOptions_black_boxes_setr  !PdfRedactOptions_image_method_get!PdfRedactOptions_image_method_setr  PdfRedactOptions_line_art_getPdfRedactOptions_line_art_setr  PdfRedactOptions_text_getPdfRedactOptions_text_setr
  $PdfRedactOptions_s_num_instances_get$PdfRedactOptions_s_num_instances_setr+  r[+  r}   r   r$   r#   r   rzQ  rzQ    s    9-/IOdeGHS"
= 556BBFDkDklKFDDfFnFnoL<<f>b>bcHF44f6V6VWDvJJFLwLwxO799r#   rzQ  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfRevPageMapzHWrapper class for struct `pdf_rev_page_map`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfRevPageMap.<lambda>0  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfRevPageMap.<lambda>0  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_rev_page_map`.
        N)r   PdfRevPageMap_swiginitnew_PdfRevPageMapr   s     r   rS   zPdfRevPageMap.__init__3  r2  r#   c                 ,    t        j                  |       S r+  )r   PdfRevPageMap_m_internal_valuerV   s    r   r+  zPdfRevPageMap.m_internal_value@  r0  r#   c                 ,    t        j                  |       S r-   )r   PdfRevPageMap___nonzero__rV   s    r   r   zPdfRevPageMap.__nonzero__D  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfRevPageMapr   r+  r   r   PdfRevPageMap_m_internal_getPdfRevPageMap_m_internal_setr+  !PdfRevPageMap_s_num_instances_get!PdfRevPageMap_s_num_instances_setr+  r$   r#   r   rQ  rQ  -  sz    S-/IOdeGH
M 22;6H &==v?b?b  iH  IJvGGIqIqrOr#   rQ  c                      e Zd ZdZ ed d d      ZeZd Zd Z	e
j                  Z ee
j                  e
j                        Z ee
j                   e
j"                        Z ee
j&                  e
j(                        Z ee
j,                  e
j.                        Z ee
j2                  e
j4                        Z ee
j8                  e
j:                        Zd Zd	 Z d
 Z!y)PdfSanitizeFilterOptionsz7Wrapper class for struct `pdf_sanitize_filter_options`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   z!PdfSanitizeFilterOptions.<lambda>Q  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z!PdfSanitizeFilterOptions.<lambda>Q  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)a{  
        *Overload 1:*
        We use default copy constructor and operator=.  Default constructor, sets each member to default value.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_sanitize_filter_options`.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_sanitize_filter_options`.
        N)r   !PdfSanitizeFilterOptions_swiginitnew_PdfSanitizeFilterOptionsr   s     r   rS   z!PdfSanitizeFilterOptions.__init__T  s      	00v7Z7Z\`7abr#   c                 .    t        j                  | g| S rg+  )r   !PdfSanitizeFilterOptions_internalr   s     r   ri+  z!PdfSanitizeFilterOptions.internale  s     77DtDDr#   c                 ,    t        j                  |       S rk+  )r   "PdfSanitizeFilterOptions_to_stringrV   s    r   r[+  z"PdfSanitizeFilterOptions.to_stringx  r-  r#   c                 .    t        j                  | |      S ro+  )r   PdfSanitizeFilterOptions___eq__rq+  s     r   r}   zPdfSanitizeFilterOptions.__eq__|  rC  r#   c                 .    t        j                  | |      S ro+  )r   PdfSanitizeFilterOptions___ne__rq+  s     r   r   zPdfSanitizeFilterOptions.__ne__  rC  r#   N)"r   r   r6   r7   r   r   r   r   rS   ri+  r   delete_PdfSanitizeFilterOptionsr   #PdfSanitizeFilterOptions_opaque_get#PdfSanitizeFilterOptions_opaque_setrt  )PdfSanitizeFilterOptions_image_filter_get)PdfSanitizeFilterOptions_image_filter_setr:  (PdfSanitizeFilterOptions_text_filter_get(PdfSanitizeFilterOptions_text_filter_setr=  .PdfSanitizeFilterOptions_after_text_object_get.PdfSanitizeFilterOptions_after_text_object_setr@  #PdfSanitizeFilterOptions_culler_get#PdfSanitizeFilterOptions_culler_setrC  ,PdfSanitizeFilterOptions_s_num_instances_get,PdfSanitizeFilterOptions_s_num_instances_setr+  r[+  r}   r   r$   r#   r   rQ  rQ  N  s    B-/IOdeGHc"
E ==f@@&BlBlmFFLLfN~N~L6JJFL{L{|K !V!VX^  YN  YN  Of@@&BlBlmFvRRTZ  UH  UH  IO?AAr#   rQ  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  ZddZddZdd	Zdd
Zd Zd Zd Zd Zd Zy)PdfSanitizeFilterOptions2zWrapper class for struct pdf_sanitize_filter_options with virtual fns for each fnptr; this is for use as a SWIG Director class.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   z"PdfSanitizeFilterOptions2.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z"PdfSanitizeFilterOptions2.<lambda>  rL   r#   rM   rN   c                     | j                   t        k(  rd}n| }t        j                  | t        j                  |             yr/  )r   rQ  r   "PdfSanitizeFilterOptions2_swiginitnew_PdfSanitizeFilterOptions2r/  s     r   rS   z"PdfSanitizeFilterOptions2.__init__  s5    >>66EE11$8\8\]b8efr#   c                 .    t        j                  | |      S r/  )r   2PdfSanitizeFilterOptions2_use_virtual_image_filterr/  s     r   use_virtual_image_filterz2PdfSanitizeFilterOptions2.use_virtual_image_filter  s    
 HHsSSr#   c                 .    t        j                  | |      S r-   )r   1PdfSanitizeFilterOptions2_use_virtual_text_filterr/  s     r   use_virtual_text_filterz1PdfSanitizeFilterOptions2.use_virtual_text_filter  s    GGcRRr#   c                 .    t        j                  | |      S r-   )r   7PdfSanitizeFilterOptions2_use_virtual_after_text_objectr/  s     r   use_virtual_after_text_objectz7PdfSanitizeFilterOptions2.use_virtual_after_text_object  s    MMdTWXXr#   c                 .    t        j                  | |      S r-   )r   ,PdfSanitizeFilterOptions2_use_virtual_cullerr/  s     r   use_virtual_cullerz,PdfSanitizeFilterOptions2.use_virtual_culler  s    BB4MMr#   c                 6    t        j                  | |||||      S r/  )r   &PdfSanitizeFilterOptions2_image_filterr0  s         r   r:  z&PdfSanitizeFilterOptions2.image_filter  s     <<T5%QVX]_deer#   c           	      8    t        j                  | ||||||      S r-   )r   %PdfSanitizeFilterOptions2_text_filterr(0  s          r   r=  z%PdfSanitizeFilterOptions2.text_filter  s#    ;;D%PUW\^cejkkr#   c                 4    t        j                  | ||||      S r-   )r   +PdfSanitizeFilterOptions2_after_text_objectr0  s        r   r@  z+PdfSanitizeFilterOptions2.after_text_object  s    AA$uV[]bccr#   c                 2    t        j                  | |||      S r-   )r    PdfSanitizeFilterOptions2_cullerr0  s       r   rC  z PdfSanitizeFilterOptions2.culler  s    66tUE5QQr#   c                     | j                   j                          t        j                  |        t	        j
                  |       S r-   )r
   rJ0  r    disown_PdfSanitizeFilterOptions2rL0  rM0  rV   s    r   rN0  z$PdfSanitizeFilterOptions2.__disown__  s/    		//5}}T""r#   NrP0  )r   r   r6   r7   r   r   r   r   rS   r    delete_PdfSanitizeFilterOptions2r   rQ  rQ  rQ  rQ  r:  r=  r@  rC  rN0  r$   r#   r   rQ  rQ    sg     K-/IOdeGHg >>TSYNfldR#r#   rQ  c                       e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zd Zd Zd Zej"                  Zd Zd ZeZ eej,                  ej.                  d      Z eej2                  ej4                        Zy)PdfTextObjectStatezMWrapper class for struct `pdf_text_object_state`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfTextObjectState.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfTextObjectState.<lambda>  rL   r#   rM   rN   c                 ,    t        j                  |       S z/Class-aware wrapper for `::pdf_tos_get_text()`.)r   #PdfTextObjectState_pdf_tos_get_textrV   s    r   pdf_tos_get_textz#PdfTextObjectState.pdf_tos_get_text  r-  r#   c                 6    t        j                  | |||||      S )a  
        Class-aware wrapper for `::pdf_tos_make_trm()`.

        This method has out-params. Python/C# wrappers look like:
        	`pdf_tos_make_trm(::pdf_text_state *text, ::pdf_font_desc *fontdesc, int cid, ::fz_matrix *trm)` => `(int, float adv)`
        )r   #PdfTextObjectState_pdf_tos_make_trm)r   r
  r  r	  r$	  r	  s         r   pdf_tos_make_trmz#PdfTextObjectState.pdf_tos_make_trm  s"     99$hPSUXZ]^^r#   c                 ,    t        j                  |       S z6Class-aware wrapper for `::pdf_tos_move_after_char()`.)r   *PdfTextObjectState_pdf_tos_move_after_charrV   s    r   pdf_tos_move_after_charz*PdfTextObjectState.pdf_tos_move_after_char˞  r3  r#   c                 .    t        j                  | |      S z.Class-aware wrapper for `::pdf_tos_newline()`.)r   "PdfTextObjectState_pdf_tos_newline)r   rl  s     r   pdf_tos_newlinez"PdfTextObjectState.pdf_tos_newlineϞ  rF  r#   c                 .    t        j                  | |      S z,Class-aware wrapper for `::pdf_tos_reset()`.)r    PdfTextObjectState_pdf_tos_reset)r   rv  s     r   pdf_tos_resetz PdfTextObjectState.pdf_tos_resetӞ  s    66tVDDr#   c           	      8    t        j                  | ||||||      S z1Class-aware wrapper for `::pdf_tos_set_matrix()`.)r   %PdfTextObjectState_pdf_tos_set_matrix)r   r  r  r  r  r  r  s          r   pdf_tos_set_matrixz%PdfTextObjectState.pdf_tos_set_matrixמ  s     ;;D!Q1aQRSSr#   c                 0    t        j                  | ||      S z0Class-aware wrapper for `::pdf_tos_translate()`.)r   $PdfTextObjectState_pdf_tos_translater5  s      r   pdf_tos_translatez$PdfTextObjectState.pdf_tos_translate۞  s    ::4RHHr#   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_text_object_state`.
        N)r   PdfTextObjectState_swiginitnew_PdfTextObjectStater   s     r   rS   zPdfTextObjectState.__init__ߞ  rH  r#   c                 ,    t        j                  |       S r+  )r   #PdfTextObjectState_m_internal_valuerV   s    r   r+  z#PdfTextObjectState.m_internal_value  r-  r#   c                 ,    t        j                  |       S r-   )r   PdfTextObjectState___nonzero__rV   s    r   r   zPdfTextObjectState.__nonzero__  r'  r#   r+  N)r   r   r6   r7   r   r   r   r   rQ  rQ  rQ  rQ  rQ  rQ  rQ  rS   r   delete_PdfTextObjectStater   r+  r   r   !PdfTextObjectState_m_internal_get!PdfTextObjectState_m_internal_setr+  &PdfTextObjectState_s_num_instances_get&PdfTextObjectState_s_num_instances_setr+  r$   r#   r   rQ  rQ    s    X-/IOdeGH@_GHETI
W 77@;H &BBFDlDl  sR  SJvLLfN{N{|Or#   rQ  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfTextStatezFWrapper class for struct `pdf_text_state`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfTextState.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfTextState.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_text_state`.
        N)r   PdfTextState_swiginitnew_PdfTextStater   s     r   rS   zPdfTextState.__init__   r2  r#   c                 ,    t        j                  |       S r+  )r   PdfTextState_m_internal_valuerV   s    r   r+  zPdfTextState.m_internal_value  rK,  r#   c                 ,    t        j                  |       S r-   )r   PdfTextState___nonzero__rV   s    r   r   zPdfTextState.__nonzero__  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfTextStater   r+  r   r   PdfTextState_m_internal_getPdfTextState_m_internal_setr+   PdfTextState_s_num_instances_get PdfTextState_s_num_instances_setr+  r$   r#   r   r	R  r	R    r!3  r#   r	R  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfUnsavedSigzGWrapper class for struct `pdf_unsaved_sig`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfUnsavedSig.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfUnsavedSig.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_unsaved_sig`.
        N)r   PdfUnsavedSig_swiginitnew_PdfUnsavedSigr   s     r   rS   zPdfUnsavedSig.__init__!  r2  r#   c                 ,    t        j                  |       S r+  )r   PdfUnsavedSig_m_internal_valuerV   s    r   r+  zPdfUnsavedSig.m_internal_value.  r0  r#   c                 ,    t        j                  |       S r-   )r   PdfUnsavedSig___nonzero__rV   s    r   r   zPdfUnsavedSig.__nonzero__2  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfUnsavedSigr   r+  r   r   PdfUnsavedSig_m_internal_getPdfUnsavedSig_m_internal_setr+  !PdfUnsavedSig_s_num_instances_get!PdfUnsavedSig_s_num_instances_setr+  r$   r#   r   rR  rR    r2  r#   rR  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfVmtxz@Wrapper class for struct `pdf_vmtx`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfVmtx.<lambda>?  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfVmtx.<lambda>?  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_vmtx`.
        N)r   PdfVmtx_swiginitnew_PdfVmtxr   s     r   rS   zPdfVmtx.__init__B  rG;  r#   c                 ,    t        j                  |       S r+  )r   PdfVmtx_m_internal_valuerV   s    r   r+  zPdfVmtx.m_internal_valueO  r8/  r#   c                 ,    t        j                  |       S r-   )r   PdfVmtx___nonzero__rV   s    r   r   zPdfVmtx.__nonzero__S  rl   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfVmtxr   r+  r   r   PdfVmtx_m_internal_getPdfVmtx_m_internal_setr+  PdfVmtx_s_num_instances_getPdfVmtx_s_num_instances_setr+  r$   r#   r   r)R  r)R  <  rQ;  r#   r)R  c                   r   e Zd ZdZ ed d d      ZeZd Zd Z	d Z
d	 Zd
 Zej                  Z eej                   ej"                        Z eej&                  ej(                        Z eej,                  ej.                        Z eej2                  ej4                        Z eej8                  ej:                        Z eej>                  ej@                        Z! eejD                  ejF                        Z$ eejJ                  ejL                        Z' eejP                  ejR                        Z* eejV                  ejX                        Z- eej\                  ej^                        Z0 eejb                  ejd                        Z3 eejh                  ejj                        Z6 eejn                  ejp                        Z9 eejt                  ejv                        Z< eejz                  ej|                        Z? eej                  ej                        ZB eej                  ej                        ZE eej                  ej                        ZH eej                  ej                        ZK eej                  ej                        ZN eej                  ej                        ZQd ZRd ZSd ZTy)PdfWriteOptionsz-Wrapper class for struct `pdf_write_options`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfWriteOptions.<lambda>`  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfWriteOptions.<lambda>`  rL   r#   rM   rN   c                 .    t        j                  | |      S )zfWe use default copy constructor and operator=.  Class-aware wrapper for `::pdf_parse_write_options()`.)r   'PdfWriteOptions_pdf_parse_write_optionsr   s     r   pdf_parse_write_optionsz'PdfWriteOptions.pdf_parse_write_optionsc  s    ==dDIIr#   c                 .    t        j                  | |      S )zCopies <text> into opwd_utf8[].)r   #PdfWriteOptions_opwd_utf8_set_valuer,  s     r   opwd_utf8_set_valuez#PdfWriteOptions.opwd_utf8_set_valueg  rC  r#   c                 .    t        j                  | |      S rC  )r   #PdfWriteOptions_upwd_utf8_set_valuer,  s     r   upwd_utf8_set_valuez#PdfWriteOptions.upwd_utf8_set_valuek  rC  r#   c                 P    t        j                  | t        j                  |        y)a  
        *Overload 1:*
        Default constructor, makes copy of pdf_default_write_options.

        |

        *Overload 2:*
        Copy constructor using raw memcopy().

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_write_options`.

        |

        *Overload 4:*
        Constructor using raw copy of pre-existing `::pdf_write_options`.
        N)r   PdfWriteOptions_swiginitnew_PdfWriteOptionsr   s     r   rS   zPdfWriteOptions.__init__o  rC  r#   c                 .    t        j                  | g| S rg+  )r   PdfWriteOptions_internalr   s     r   ri+  zPdfWriteOptions.internal  r8  r#   c                 ,    t        j                  |       S rk+  )r   PdfWriteOptions_to_stringrV   s    r   r[+  zPdfWriteOptions.to_string  r,  r#   c                 .    t        j                  | |      S ro+  )r   PdfWriteOptions___eq__rq+  s     r   r}   zPdfWriteOptions.__eq__  r 5  r#   c                 .    t        j                  | |      S ro+  )r   PdfWriteOptions___ne__rq+  s     r   r   zPdfWriteOptions.__ne__  r 5  r#   N)Ur   r   r6   r7   r   r   r   r   r>R  rAR  rDR  rS   ri+  r   delete_PdfWriteOptionsr   "PdfWriteOptions_do_incremental_get"PdfWriteOptions_do_incremental_setr  PdfWriteOptions_do_pretty_getPdfWriteOptions_do_pretty_setr  PdfWriteOptions_do_ascii_getPdfWriteOptions_do_ascii_setr  PdfWriteOptions_do_compress_getPdfWriteOptions_do_compress_setr  &PdfWriteOptions_do_compress_images_get&PdfWriteOptions_do_compress_images_setr  %PdfWriteOptions_do_compress_fonts_get%PdfWriteOptions_do_compress_fonts_setr  !PdfWriteOptions_do_decompress_get!PdfWriteOptions_do_decompress_setr   PdfWriteOptions_do_garbage_getPdfWriteOptions_do_garbage_setr#  PdfWriteOptions_do_linear_getPdfWriteOptions_do_linear_setr&  PdfWriteOptions_do_clean_getPdfWriteOptions_do_clean_setr)  PdfWriteOptions_do_sanitize_getPdfWriteOptions_do_sanitize_setr,  !PdfWriteOptions_do_appearance_get!PdfWriteOptions_do_appearance_setr/  PdfWriteOptions_do_encrypt_getPdfWriteOptions_do_encrypt_setr2  &PdfWriteOptions_dont_regenerate_id_get&PdfWriteOptions_dont_regenerate_id_setr5  PdfWriteOptions_permissions_getPdfWriteOptions_permissions_setr8  PdfWriteOptions_opwd_utf8_getPdfWriteOptions_opwd_utf8_setr;  PdfWriteOptions_upwd_utf8_getPdfWriteOptions_upwd_utf8_setr>  PdfWriteOptions_do_snapshot_getPdfWriteOptions_do_snapshot_setrA  (PdfWriteOptions_do_preserve_metadata_get(PdfWriteOptions_do_preserve_metadata_setrD  "PdfWriteOptions_do_use_objstms_get"PdfWriteOptions_do_use_objstms_setrG  &PdfWriteOptions_compression_effort_get&PdfWriteOptions_compression_effort_setrJ  #PdfWriteOptions_s_num_instances_get#PdfWriteOptions_s_num_instances_setr+  r[+  r}   r   r$   r#   r   r9R  r9R  ]  sy   8-/IOdeGHJFFQ,
< 44fGGIrIrsN==v?c?cdI;;V=`=`aH6AA6CiCijK!&"O"OQWQ~Q~ !M!MvO{O{|VEEvGoGopM&??AfAfgJ==v?c?cdI;;V=`=`aH6AA6CiCijKVEEvGoGopM&??AfAfgJ!&"O"OQWQ~Q~6AA6CiCijK==v?c?cdI==v?c?cdI6AA6CiCijK#F$S$SU[  VE  VE  FfGGIrIrsN!&"O"OQWQ~Q~vII6KuKuvO688r#   r9R  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)	PdfXrangezBWrapper class for struct `pdf_xrange`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfXrange.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfXrange.<lambda>  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_xrange`.
        N)r   PdfXrange_swiginitnew_PdfXranger   s     r   rS   zPdfXrange.__init__  r>4  r#   c                 ,    t        j                  |       S r+  )r   PdfXrange_m_internal_valuerV   s    r   r+  zPdfXrange.m_internal_valueɟ  r,  r#   c                 ,    t        j                  |       S r-   )r   PdfXrange___nonzero__rV   s    r   r   zPdfXrange.__nonzero__͟  r\  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfXranger   r+  r   r   PdfXrange_m_internal_getPdfXrange_m_internal_setr+  PdfXrange_s_num_instances_getPdfXrange_s_num_instances_setr+  r$   r#   r   r~R  r~R    rFI  r#   r~R  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfXrefz@Wrapper class for struct `pdf_xref`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfXref.<lambda>ڟ  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfXref.<lambda>ڟ  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)a   
        *Overload 1:*
        == Constructors.  Constructor using `pdf_new_local_xref()`.

        |

        *Overload 2:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 3:*
        Constructor using raw copy of pre-existing `::pdf_xref`.
        N)r   PdfXref_swiginitnew_PdfXrefr   s     r   rS   zPdfXref.__init__ݟ  r3  r#   c                 ,    t        j                  |       S r+  )r   PdfXref_m_internal_valuerV   s    r   r+  zPdfXref.m_internal_value  r8/  r#   c                 ,    t        j                  |       S r-   )r   PdfXref___nonzero__rV   s    r   r   zPdfXref.__nonzero__  rl   r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfXrefr   r+  r   r   PdfXref_m_internal_getPdfXref_m_internal_setr+  PdfXref_s_num_instances_getPdfXref_s_num_instances_setr+  r$   r#   r   rR  rR  ן  ss    K-/IOdeGHA  ,,50H &779V9V\{|JvAA6CeCefOr#   rR  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfXrefEntryzFWrapper class for struct `pdf_xref_entry`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfXrefEntry.<lambda>   rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfXrefEntry.<lambda>   rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_xref_entry`.
        N)r   PdfXrefEntry_swiginitnew_PdfXrefEntryr   s     r   rS   zPdfXrefEntry.__init__  r2  r#   c                 ,    t        j                  |       S r+  )r   PdfXrefEntry_m_internal_valuerV   s    r   r+  zPdfXrefEntry.m_internal_value  rK,  r#   c                 ,    t        j                  |       S r-   )r   PdfXrefEntry___nonzero__rV   s    r   r   zPdfXrefEntry.__nonzero__  r  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfXrefEntryr   r+  r   r   PdfXrefEntry_m_internal_getPdfXrefEntry_m_internal_setr+   PdfXrefEntry_s_num_instances_get PdfXrefEntry_s_num_instances_setr+  r$   r#   r   rR  rR    r!3  r#   rR  c                       e Zd ZdZ ed d d      ZeZd Ze	j                  Zd Zd ZeZ ee	j                  e	j                   d	      Z ee	j$                  e	j&                        Zy
)PdfXrefSubseczGWrapper class for struct `pdf_xref_subsec`. Not copyable or assignable.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zPdfXrefSubsec.<lambda>!  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zPdfXrefSubsec.<lambda>!  rL   r#   rM   rN   c                 P    t        j                  | t        j                  |        y)z
        *Overload 1:*
        Default constructor, sets `m_internal` to null.

        |

        *Overload 2:*
        Constructor using raw copy of pre-existing `::pdf_xref_subsec`.
        N)r   PdfXrefSubsec_swiginitnew_PdfXrefSubsecr   s     r   rS   zPdfXrefSubsec.__init__$  r2  r#   c                 ,    t        j                  |       S r+  )r   PdfXrefSubsec_m_internal_valuerV   s    r   r+  zPdfXrefSubsec.m_internal_value1  r0  r#   c                 ,    t        j                  |       S r-   )r   PdfXrefSubsec___nonzero__rV   s    r   r   zPdfXrefSubsec.__nonzero__5  r0  r#   r+  N)r   r   r6   r7   r   r   r   r   rS   r   delete_PdfXrefSubsecr   r+  r   r   PdfXrefSubsec_m_internal_getPdfXrefSubsec_m_internal_setr+  !PdfXrefSubsec_s_num_instances_get!PdfXrefSubsec_s_num_instances_setr+  r$   r#   r   rR  rR    r2  r#   rR  c                  *    t        j                         S )zHReturns map from class name (for example FzDocument) to s_num_instances.)r   num_instancesr$   r#   r   rR  rR  @  rR  r#   c                      e Zd Z ed d d      ZeZd Zd Zd Z	d Z
d	 Zd
 Zej                  Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd ZeZ eej6                  ej8                  d      Z eej<                  ej>                        Z y)FzLinkIteratorc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzLinkIterator.<lambda>D  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzLinkIterator.<lambda>D  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzLinkIterator_swiginitnew_FzLinkIteratorr\6  s     r   rS   zFzLinkIterator.__init__G  s    &&tV-F-Ft-LMr#   c                 ,    t        j                  |       S r-   )r   FzLinkIterator___increment__rV   s    r   __increment__zFzLinkIterator.__increment__J  r  r#   c                 .    t        j                  | |      S r-   )r   FzLinkIterator___eq__rq+  s     r   r}   zFzLinkIterator.__eq__M      ++D#66r#   c                 .    t        j                  | |      S r-   )r   FzLinkIterator___ne__rq+  s     r   r   zFzLinkIterator.__ne__P  rR  r#   c                 ,    t        j                  |       S r-   )r   FzLinkIterator___ref__rV   s    r   __ref__zFzLinkIterator.__ref__S  r  r#   c                 ,    t        j                  |       S r-   )r   FzLinkIterator___deref__rV   s    r   	__deref__zFzLinkIterator.__deref__V  r  r#   c                 .    t        j                  | |      S r5  )r   FzLinkIterator_fz_set_link_rectr5  s     r   r5  zFzLinkIterator.fz_set_link_rectZ  r=  r#   c                 .    t        j                  | |      S r5  )r   FzLinkIterator_fz_set_link_urir5  s     r   r5  zFzLinkIterator.fz_set_link_uri^  rH  r#   c                 ,    t        j                  |       S r"5  )r   FzLinkIterator_beginrV   s    r   r   zFzLinkIterator.beginb  r//  r#   c                 ,    t        j                  |       S r"5  )r   FzLinkIterator_endrV   s    r   r   zFzLinkIterator.endf  r.  r#   c                 ,    t        j                  |       S r-   )r   FzLinkIterator_refsrV   s    r   r  zFzLinkIterator.refsj  rl   r#   c                 ,    t        j                  |       S r-   )r   FzLinkIterator_nextrV   s    r   ro   zFzLinkIterator.nextm  rl   r#   c                 ,    t        j                  |       S r-   )r   FzLinkIterator_rectrV   s    r   r  zFzLinkIterator.rectp  rl   r#   c                 ,    t        j                  |       S r-   )r   FzLinkIterator_urirV   s    r   r"  zFzLinkIterator.uris  r  r#   c                 ,    t        j                  |       S r+  )r   FzLinkIterator_m_internal_valuerV   s    r   r+  zFzLinkIterator.m_internal_valuev  r+  r#   c                 ,    t        j                  |       S r-   )r   FzLinkIterator___nonzero__rV   s    r   r   zFzLinkIterator.__nonzero__z  rX  r#   r+  N)!r   r   r6   r   r   r   r   rS   rR  r}   r   rR  rR  r   delete_FzLinkIteratorr   r5  r5  r   r   r  ro   r  r"  r+  r   r   FzLinkIterator_m_internal_getFzLinkIterator_m_internal_setr+  "FzLinkIterator_s_num_instances_get"FzLinkIterator_s_num_instances_setr+  r$   r#   r   rR  rR  C  s    -/IOdeGHN9773533B@1/000/<7H &>>@d@d  kJ  KJvHH&JsJstOr#   rR  c                       e Zd Z ed d d      ZeZd Zd Zd Z	d Z
d	 Zd
 Zej                  Zd Zd Zd Zd ZeZ eej*                  ej,                  d      Z eej0                  ej2                        Zy)FzStextBlockIteratorc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStextBlockIterator.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStextBlockIterator.<lambda>  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzStextBlockIterator_swiginitnew_FzStextBlockIteratorr\6  s     r   rS   zFzStextBlockIterator.__init__  s    ,,T63R3RSW3XYr#   c                 ,    t        j                  |       S r-   )r   "FzStextBlockIterator___increment__rV   s    r   rR  z"FzStextBlockIterator.__increment__  rR  r#   c                 .    t        j                  | |      S r-   )r   FzStextBlockIterator___eq__rq+  s     r   r}   zFzStextBlockIterator.__eq__  r~  r#   c                 .    t        j                  | |      S r-   )r   FzStextBlockIterator___ne__rq+  s     r   r   zFzStextBlockIterator.__ne__  r~  r#   c                 ,    t        j                  |       S r-   )r   FzStextBlockIterator___ref__rV   s    r   rR  zFzStextBlockIterator.__ref__  r  r#   c                 ,    t        j                  |       S r-   )r   FzStextBlockIterator___deref__rV   s    r   rR  zFzStextBlockIterator.__deref__  r'  r#   c                 ,    t        j                  |       S r<  )r   FzStextBlockIterator_beginrV   s    r   r   zFzStextBlockIterator.begin  r,  r#   c                 ,    t        j                  |       S r<  )r   FzStextBlockIterator_endrV   s    r   r   zFzStextBlockIterator.end  r8/  r#   c                 ,    t        j                  |       S r+  )r   %FzStextBlockIterator_m_internal_valuerV   s    r   r+  z%FzStextBlockIterator.m_internal_value  r-  r#   c                 ,    t        j                  |       S r-   )r    FzStextBlockIterator___nonzero__rV   s    r   r   z FzStextBlockIterator.__nonzero__  r  r#   r+  N)r   r   r6   r   r   r   r   rS   rR  r}   r   rR  rR  r   delete_FzStextBlockIteratorr   r   r   r+  r   r   #FzStextBlockIterator_m_internal_get#FzStextBlockIterator_m_internal_setr+  (FzStextBlockIterator_s_num_instances_get(FzStextBlockIterator_s_num_instances_setr+  r$   r#   r   rR  rR    s    -/IOdeGHZ?==9;9975B=H &DDfFpFp  wV  WJvNNPVPP  AOr#   rR  c                       e Zd Z ed d d      ZeZd Zd Zd Z	d Z
d	 Zd
 Zej                  Zd Zd ZeZ eej&                  ej(                  d      Z eej,                  ej.                        Zy)FzStextLineIteratorc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStextLineIterator.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStextLineIterator.<lambda>  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzStextLineIterator_swiginitnew_FzStextLineIteratorr\6  s     r   rS   zFzStextLineIterator.__init__      ++D&2P2PQU2VWr#   c                 ,    t        j                  |       S r-   )r   !FzStextLineIterator___increment__rV   s    r   rR  z!FzStextLineIterator.__increment__  r?  r#   c                 .    t        j                  | |      S r-   )r   FzStextLineIterator___eq__rq+  s     r   r}   zFzStextLineIterator.__eq__  rl  r#   c                 .    t        j                  | |      S r-   )r   FzStextLineIterator___ne__rq+  s     r   r   zFzStextLineIterator.__ne__  rl  r#   c                 ,    t        j                  |       S r-   )r   FzStextLineIterator___ref__rV   s    r   rR  zFzStextLineIterator.__ref__  r  r#   c                 ,    t        j                  |       S r-   )r   FzStextLineIterator___deref__rV   s    r   rR  zFzStextLineIterator.__deref__Ġ  r  r#   c                 ,    t        j                  |       S r+  )r   $FzStextLineIterator_m_internal_valuerV   s    r   r+  z$FzStextLineIterator.m_internal_valueȠ  r-  r#   c                 ,    t        j                  |       S r-   )r   FzStextLineIterator___nonzero__rV   s    r   r   zFzStextLineIterator.__nonzero__̠  r  r#   r+  N)r   r   r6   r   r   r   r   rS   rR  r}   r   rR  rR  r   delete_FzStextLineIteratorr   r+  r   r   "FzStextLineIterator_m_internal_get"FzStextLineIterator_m_internal_setr+  'FzStextLineIterator_s_num_instances_get'FzStextLineIterator_s_num_instances_setr+  r$   r#   r   rS  rS    s    -/IOdeGHX><<8:88A<H &CCVEnEn  uT  UJvMMvO}O}~Or#   rS  c                      e Zd Z ed d d      ZeZd Zd Zd Z	d Z
d	 Zd
 Zej                  Zd Zd Zd Zd Zd Zd ZeZ eej.                  ej0                  d      Z eej4                  ej6                        Zy)FzStextPageIteratorc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzStextPageIterator.<lambda>נ  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzStextPageIterator.<lambda>נ  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzStextPageIterator_swiginitnew_FzStextPageIteratorr\6  s     r   rS   zFzStextPageIterator.__init__ڠ  rS  r#   c                 ,    t        j                  |       S r-   )r   !FzStextPageIterator___increment__rV   s    r   rR  z!FzStextPageIterator.__increment__ݠ  r?  r#   c                 .    t        j                  | |      S r-   )r   FzStextPageIterator___eq__rq+  s     r   r}   zFzStextPageIterator.__eq__  rl  r#   c                 .    t        j                  | |      S r-   )r   FzStextPageIterator___ne__rq+  s     r   r   zFzStextPageIterator.__ne__  rl  r#   c                 ,    t        j                  |       S r-   )r   FzStextPageIterator___ref__rV   s    r   rR  zFzStextPageIterator.__ref__  r  r#   c                 ,    t        j                  |       S r-   )r   FzStextPageIterator___deref__rV   s    r   rR  zFzStextPageIterator.__deref__  r  r#   c                 ,    t        j                  |       S rw<  )r   FzStextPageIterator_i_transformrV   s    r   ry<  zFzStextPageIterator.i_transform  r+  r#   c                 ,    t        j                  |       S r{<  )r   FzStextPageIterator_i_imagerV   s    r   r}<  zFzStextPageIterator.i_image  r,  r#   c                 ,    t        j                  |       S r<  )r   FzStextPageIterator_beginrV   s    r   r   zFzStextPageIterator.begin  r,  r#   c                 ,    t        j                  |       S r<  )r   FzStextPageIterator_endrV   s    r   r   zFzStextPageIterator.end  r+  r#   c                 ,    t        j                  |       S r+  )r   $FzStextPageIterator_m_internal_valuerV   s    r   r+  z$FzStextPageIterator.m_internal_value  r-  r#   c                 ,    t        j                  |       S r-   )r   FzStextPageIterator___nonzero__rV   s    r   r   zFzStextPageIterator.__nonzero__  r  r#   r+  N)r   r   r6   r   r   r   r   rS   rR  r}   r   rR  rR  r   delete_FzStextPageIteratorr   ry<  r}<  r   r   r+  r   r   "FzStextPageIterator_m_internal_get"FzStextPageIterator_m_internal_setr+  'FzStextPageIterator_s_num_instances_get'FzStextPageIterator_s_num_instances_setr+  r$   r#   r   r'S  r'S  ֠  s    -/IOdeGHX><<8:88<864A<H &CCVEnEn  uT  UJvMMvO}O}~Or#   r'S  c                  *    t        j                         S )z
    Class-aware wrapper for `::fz_aa_level()`.
    	Get the number of bits of antialiasing we are
    	using (for graphics). Between 0 and 8.
    )r   fz_aa_levelr$   r#   r   rIS  rIS    s     r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_abs()`.
    	Some standard math functions, done as static inlines for speed.
    	People with compilers that do not adequately implement inline
    	may like to reimplement these using macros.
    )r   fz_absr=  s    r   rKS  rKS    s     ==r#   c                 ,    t        j                  |       S )z&Class-aware wrapper for `::fz_absi()`.)r   fz_absir@  s    r   rMS  rMS    s    >>!r#   c                 2    t        j                  | |||      S )z{
    Class-aware wrapper for `::fz_add_layout_char()`.
    	Add a new char to the line at the end of the layout block.
    )r   r4  rD  s       r   r4  r4  !  s    
 $$UAq!44r#   c                 4    t        j                  | ||||      S )zo
    Class-aware wrapper for `::fz_add_layout_line()`.
    	Add a new line to the end of the layout block.
    )r   r4  rH  s        r   r4  r4  (  s    
 $$UAq!Q77r#   c                 2    t        j                  | |||      S )zs
    Class-aware wrapper for `::fz_add_separation()`.
    	Add a separation (null terminated name, colorspace)
    )r   r;  rK  s       r   r;  r;  /  s    
 ##Cr:>>r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_add_separation_equivalents()`.
    	Add a separation with equivalents (null terminated name,
    	colorspace)

    	(old, deprecated)
    )r   r;  rQ  s       r   r;  r;  6  s     //T4FFr#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_adjust_rect_for_stroke()`.
    	Given a rectangle (assumed to be the bounding box for a path),
    	expand it to allow for the expansion of the bbox that would be
    	seen by stroking the path with the given stroke state and
    	transform.
    )r   rX;  rU  s      r   rX;  rX;  @  s     ++D&#>>r#   c                 0    t        j                  | ||      S )a   
    Class-aware wrapper for `::fz_advance_glyph()`.
    	Return the advance for a given glyph.

    	font: The font to look for the glyph in.

    	glyph: The glyph to find the advance for.

    	wmode: 1 for vertical mode, 0 for horizontal.

    	Returns the advance for the glyph.
    )r   r-2  rZ  s      r   r-2  r-2  J  s     ""466r#   c                 6    t        j                  | |||||      S )ab  
    Class-aware wrapper for `::fz_aes_crypt_cbc()`.
    	AES block processing. Encrypts or Decrypts (according to mode,
    	which must match what was initially set up) length bytes (which
    	must be a multiple of 16), using (and modifying) the insertion
    	vector iv, reading from input, and writing to output.

    	Never throws an exception.
    )r   r+  r^  s         r   r+  r+  Y  s     ""3fb%HHr#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_aes_setkey_dec()`.
    	AES decryption intialisation. Fills in the supplied context
    	and prepares for decryption using the given key.

    	Returns non-zero for error (key size other than 128/192/256).

    	Never throws an exception.
    )r   r+  rf  s      r   r+  r+  e       ##Cg66r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_aes_setkey_enc()`.
    	AES encryption intialisation. Fills in the supplied context
    	and prepares for encryption using the given key.

    	Returns non-zero for error (key size other than 128/192/256).

    	Never throws an exception.
    )r   r+  rf  s      r   r+  r+  q  rVS  r#   c                 ,    t        j                  |       S r(9  )r   r*9  rm  s    r   r*9  r*9  }  r%  r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_append_base64()`.
    	Write a base64 encoded data block, optionally with periodic newlines.
    )r   r,  rq  s       r   r,  r,    s    
 ""3dG<<r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_append_base64_buffer()`.
    	Append a base64 encoded fz_buffer, optionally with periodic newlines.
    )r   r,  ru  s      r   r,  r,    s    
 ))#tW==r#   c                 0    t        j                  | ||      S r,  )r   r,  rx  s      r   r,  r,    s      eU33r#   c                 ,    t        j                  |       S r,  )r   r,  r{  s    r   r,  r,    r  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_append_buffer()`.
    	Append the contents of the source buffer onto the end of the
    	destination buffer, extending automatically as required.

    	Ownership of buffers does not change.
    )r   r,  r  s     r   r,  r,    s     "";77r#   c                 .    t        j                  | |      S r,  )r   r,  r  s     r   r,  r,    r)  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_append_data()`.
    	fz_append_*: Append data to a buffer.

    	The buffer will automatically grow as required.
    )r   r,  r  s      r   r,  r,    s       dC00r#   c                 .    t        j                  | |      S r,  )r   r,  r  s     r   r,  r,    s    --c599r#   c                 .    t        j                  | |      S r,  )r   r,  r  s     r   r,  r,        $$S!,,r#   c                 .    t        j                  | |      S r,  )r   r,  r  s     r   r,  r,    rbS  r#   c                 .    t        j                  | |      S r,  )r   r,  r  s     r   r,  r,    rbS  r#   c                 .    t        j                  | |      S r,  )r   r,  r  s     r   r,  r,    rbS  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_append_pdf_string()`.
    	fz_append_pdf_string: Append a string with PDF syntax quotes and
    	escapes.

    	The buffer will automatically grow as required.
    )r   r,  r  s     r   r,  r,  ¡  s     &&vt44r#   c                 .    t        j                  | |      S r -  )r   r-  r  s     r   r-  r-  ̡  s    ..sF;;r#   c                 .    t        j                  | |      S r-  )r   r-  r  s     r   r-  r-  С  r)  r#   c                 .    t        j                  | |      S r	-  )r   r-  r  s     r   r-  r-  ԡ      ""3--r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_arc4_encrypt()`.
    	RC4 block encrypt operation; encrypt src into dst (both of
    	length len) updating the RC4 state as we go.

    	Never throws an exception.
    )r   r+  r  s       r   r+  r+  ء  s     !!%sC88r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_arc4_final()`.
    	RC4 finalization. Zero the context.

    	Never throws an exception.
    )r   r+  r  s    r   r+  r+    s     &&r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_arc4_init()`.
    	RC4 initialization. Begins an RC4 operation, writing a new
    	context.

    	Never throws an exception.
    )r   r+  r  s      r   r+  r+    s     uc3//r#   c                 ,    t        j                  |       S )a/  
    Class-aware wrapper for `::fz_archive_format()`.
    	Return a pointer to a string describing the format of the
    	archive.

    	The lifetime of the string is unspecified (in current
    	implementations the string will persist until the archive
    	is closed, but this is not guaranteed).
    )r   r+  r  s    r   r+  r+    s     ##D))r#   c                 ,    t        j                  |       S )zI
    Class-aware wrapper for `::fz_atof()`.
    	Range checking atof
    )r   fz_atofr;  s    r   rpS  rpS        
 >>!r#   c                 ,    t        j                  |       S )zO
    Class-aware wrapper for `::fz_atoi()`.
    	atoi that copes with NULL
    )r   fz_atoir;  s    r   rsS  rsS    rqS  r#   c                 ,    t        j                  |       S )zW
    Class-aware wrapper for `::fz_atoi64()`.
    	64bit atoi that copes with NULL
    )r   	fz_atoi64r;  s    r   ruS  ruS        
 Ar#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_atoz()`.
    	size_t atoi that copes with NULL.

    	NOTE: limited to 63bits. Negative numbers
    	are returned as 0.
    )r   fz_atozr;  s    r   rxS  rxS    s     >>!r#   c                 .    t        j                  | |      S )a<  
    Class-aware wrapper for `::fz_authenticate_password()`.
    	Test if the given password can decrypt the document.

    	password: The password string to be checked. Some document
    	specifications do not specify any particular text encoding, so
    	neither do we.

    	Returns 0 for failure to authenticate, non-zero for success.

    	For PDF documents, further information can be given by examining
    	the bits in the return code.

    		Bit 0 => No password required
    		Bit 1 => User password authenticated
    		Bit 2 => Owner password authenticated
    )r   r0  r  s     r   r0  r0     s    $ **399r#   c                 .    t        j                  | |      S )z1Class-aware wrapper for `::fz_autowarp_pixmap()`.)r   fz_autowarp_pixmapr  s     r   r{S  r{S  4  rQ$  r#   c                 .    t        j                  | |      S )aR  
    Class-aware wrapper for `::fz_available()`.
    	Ask how many bytes are available immediately from
    	a given stream.

    	stm: The stream to read from.

    	max: A hint for the underlying stream; the maximum number of
    	bytes that we are sure we will want to read. If you do not know
    	this number, give 1.

    	Returns the number of bytes immediately available between the
    	read and write pointers. This number is guaranteed only to be 0
    	if we have hit EOF. The number of bytes returned here need have
    	no relation to max (could be larger, could be smaller).
    )r   r=  r  s     r   r=  r=  8  s    " sC((r#   c                 ,    t        j                  |       S )ac  
    Class-aware wrapper for `::fz_base_colorspace()`.
    	Get the 'base' colorspace for a colorspace.

    	For indexed colorspaces, this is the colorspace the index
    	decodes into. For all other colorspaces, it is the colorspace
    	itself.

    	The returned colorspace is 'borrowed' (i.e. no additional
    	references are taken or dropped).
    )r   r-  r  s    r   r-  r-  K  s     $$R((r#   c                 ,    t        j                  |       S )z`
    Class-aware wrapper for `::fz_basename()`.
    	Find the filename component in a path.
    )r   fz_basenamer  s    r   rS  rS  Y      
 d##r#   c           	      8    t        j                  | ||||||      S r.  )r   r.  r  s          r   r.  r.  `  s      dB(IuUUr#   c                 .    t        j                  | |      S r.  )r   r.  r  s     r   r.  r.  d  s      j11r#   c                 6    t        j                  | |||||      S r.  )r   r.  r  s         r   r.  r.  h  s    T:z2|TTr#   c                 0    t        j                  | ||      S r.  )r   r.  r  s      r   r.  r.  l  s    ##Ct44r#   c                 .    t        j                  | |      S )a1  
    Class-aware wrapper for `::fz_begin_page()`.
    	Called to start the process of writing a page to
    	a document.

    	mediabox: page size rectangle in points.

    	Returns a borrowed fz_device to write page contents to. This
    	should be kept if required, and only dropped if it was kept.
    )r   r1  r  s     r   r1  r1  p  s     X..r#   c                 2    t        j                  | |||      S r.  )r   r.  r  s       r   r.  r.  }  s    $$S(C==r#   c                 6    t        j                  | |||||      S r.  )r   r.  r  s         r   r.  r.    s    T4sCCr#   c           	      8    t        j                  | ||||||      S r.  )r   r /  r  s          r   r /  r /    s    ""3dE5#rJJr#   c                 6    t        j                  | |||||      S )a  
     Class-aware wrapper for `::fz_bidi_fragment_text()`.

    	This function has out-params. Python/C# wrappers look like:
    		`fz_bidi_fragment_text(const uint32_t *text, size_t textlen, ::fz_bidi_fragment_fn *callback, void *arg, int flags)` => ::fz_bidi_direction baseDir

    		Partitions the given Unicode sequence into one or more
    		unidirectional fragments and invokes the given callback
    		function for each fragment.

    		For example, if directionality of text is:
    				0123456789
    				rrlllrrrrr,
    		we'll invoke callback with:
    				&text[0], length == 2
    				&text[2], length == 3
    				&text[5], length == 5

    		:type text: int, in
    :param text:	start of Unicode sequence
        		:type textlen: int, in
    :param textlen:   number of Unicodes to analyse
        		:type baseDir: int, in
    :param baseDir:   direction of paragraph (specify FZ_BIDI_NEUTRAL to force auto-detection)
        		:type callback: ::fz_bidi_fragment_fn, in
    :param callback:  function to be called for each fragment
        		:type arg: void, in
    :param arg:	data to be passed to the callback function
        		:type flags: int, in
    :param flags:     flags to control operation (see fz_bidi_flags above)
    )r   fz_bidi_fragment_textr  s         r   rS  rS    s     @ ''gw#uUUr#   c                 4    t        j                  | ||||      S )a)  
    Class-aware wrapper for `::fz_bitmap_details()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_bitmap_details(::fz_bitmap *bitmap)` => `(int w, int h, int n, int stride)`

    	Retrieve details of a given bitmap.

    	bitmap: The bitmap to query.

    	w: Pointer to storage to retrieve width (or NULL).

    	h: Pointer to storage to retrieve height (or NULL).

    	n: Pointer to storage to retrieve number of color components (or
    	NULL).

    	stride: Pointer to storage to retrieve bitmap stride (or NULL).
    )r   rl,  r  s        r   rl,  rl,    s    ( ##FAq!V<<r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_blendmode_name()`.
    	Map from enumeration to blend mode string.

    	The string is static, with arbitrary lifespan.
    )r   fz_blendmode_namer  s    r   rS  rS    s     ##I..r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_bound_display_list()`.
    	Return the bounding box of the page recorded in a display list.
    )r   rm0  r  s    r   rm0  rm0  ʢ  r  r#   c                 0    t        j                  | ||      S )aB  
    Class-aware wrapper for `::fz_bound_glyph()`.
    	Return a bbox for a given glyph in a font.

    	font: The font to look for the glyph in.

    	gid: The glyph to bound.

    	trm: The matrix to apply to the glyph before bounding.

    	Returns rectangle by value containing the bounds of the given
    	glyph.
    )r   r02  r  s      r   r02  r02  Ѣ  s       sC00r#   c                 ,    t        j                  |       S )zc
    Class-aware wrapper for `::fz_bound_page()`.
    	Determine the size of a page at 72 dpi.
    )r   r7  r  s    r   r7  r7    r!  r#   c                 .    t        j                  | |      S r7  )r   r7  r  s     r   r7  r7    r#  r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_bound_path()`.
    	Return a bounding rectangle for a path.

    	path: The path to bound.

    	stroke: If NULL, the bounding rectangle given is for
    	the filled path. If non-NULL the bounding rectangle
    	given is for the path stroked with the given attributes.

    	ctm: The matrix to apply to the path during stroking.

    	r: Pointer to a fz_rect which will be used to hold
    	the result.

    	Returns r, updated to contain the bounding rectangle.
    )r   rF8  r  s      r   rF8  rF8    s    $ fc22r#   c                 .    t        j                  | |      S )a&  
    Class-aware wrapper for `::fz_bound_shade()`.
    	Bound a given shading.

    	shade: The shade to bound.

    	ctm: The transform to apply to the shade before bounding.

    	r: Pointer to storage to put the bounds in.

    	Returns r, updated to contain the bounds for the shading.
    )r   r:<  r  s     r   r:<  r:<     s       ,,r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_bound_text()`.
    	Find the bounds of a given text object.

    	text: The text object to find the bounds of.

    	stroke: Pointer to the stroke attributes (for stroked
    	text), or NULL (for filled text).

    	ctm: The matrix in use.

    	r: pointer to storage for the bounds.

    	Returns a pointer to r, which is updated to contain the
    	bounding box for the text object.
    )r   r?  r  s      r   r?  r?    s    " fc22r#   c                 ,    t        j                  |       S )z6Class-aware wrapper for `::fz_box_type_from_string()`.)r   fz_box_type_from_stringr  s    r   rS  rS  "  r'  r#   c                 .    t        j                  | |      S )aa  
    Class-aware wrapper for `::fz_buffer_extract()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_buffer_extract(::fz_buffer *buf)` => `(size_t, unsigned char *data)`

    	Take ownership of buffer contents.

    	Performs the same task as fz_buffer_storage, but ownership of
    	the data buffer returns with this call. The buffer is left
    	empty.

    	Note: Bad things may happen if this is called on a buffer with
    	multiple references that is being used from multiple threads.

    	data: Pointer to place to retrieve data pointer.

    	Returns length of stream.
    )r   r-  r  s     r   r-  r-  &  s    ( ##C..r#   c                 .    t        j                  | |      S )ai  
    Class-aware wrapper for `::fz_buffer_storage()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_buffer_storage(::fz_buffer *buf)` => `(size_t, unsigned char *datap)`

    	Retrieve internal memory of buffer.

    	datap: Output parameter that will be pointed to the data.

    	Returns the current size of the data in bytes.
    )r   r-  r$  s     r   r-  r-  <  s     ##C//r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_calloc()`.
    	Allocate array of memory of count entries of size bytes.
    	Clears the memory to zero.

    	Throws exception in the event of failure to allocate.
    )r   	fz_callocr(  s     r   rS  rS  K  s     E4((r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_calloc_no_throw()`.
    	fz_calloc equivalent that returns NULL rather than throwing
    	exceptions.
    )r   fz_calloc_no_throwr(  s     r   rS  rS  U  s     $$UD11r#   c                  *    t        j                         S )z
    Class-aware wrapper for `::fz_caught()`.
    	Within an fz_catch() block, retrieve the error code for
    	the current exception.

    	This assumes no intervening use of fz_try/fz_catch.
    )r   	fz_caughtr$   r#   r   rS  rS  ]  s     r#   c                  *    t        j                         S )z.Class-aware wrapper for `::fz_caught_errno()`.)r   fz_caught_errnor$   r#   r   rS  rS  g  r  r#   c                  *    t        j                         S )z
    Class-aware wrapper for `::fz_caught_message()`.
    	Within an fz_catch() block, retrieve the formatted message
    	string for the current exception.

    	This assumes no intervening use of fz_try/fz_catch.
    )r   fz_caught_messager$   r#   r   rS  rS  k  r  r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_chartorune()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_chartorune(const char *str)` => `(int, int rune)`

    	UTF8 decode a single rune from a sequence of chars.

    	rune: Pointer to an int to assign the decoded 'rune' to.

    	str: Pointer to a UTF8 encoded string.

    	Returns the number of bytes consumed.
    )r   fz_chartoruner4  s     r   rS  rS  u  s     c**r#   c                 0    t        j                  | ||      S )z'Class-aware wrapper for `::fz_clamp()`.)r   fz_clampr8  s      r   rS  rS    s    ??1c3''r#   c                 0    t        j                  | ||      S )z)Class-aware wrapper for `::fz_clamp64()`.)r   
fz_clamp64r8  s      r   rS  rS    s    QS))r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_clamp_color()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_clamp_color(::fz_colorspace *cs, const float *in)` => float out

    	Clamp the samples in a color to the correct ranges for a
    	given colorspace.
    )r   r-  r>  s      r   r-  r-    s       S#..r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_clamp_location()`.
    	Clamps a location into valid chapter/page range. (First clamps
    	the chapter into range, then the page into range).
    )r   r0  rB  s     r   r0  r0         ##C--r#   c                 0    t        j                  | ||      S )z(Class-aware wrapper for `::fz_clampd()`.)r   	fz_clampdr8  s      r   rS  rS        AsC((r#   c                 0    t        j                  | ||      S )z(Class-aware wrapper for `::fz_clampi()`.)r   	fz_clampir8  s      r   rS  rS    rS  r#   c                 0    t        j                  | ||      S )z(Class-aware wrapper for `::fz_clampp()`.)r   	fz_clamppr8  s      r   rS  rS    rS  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_cleanname()`.
    	rewrite path to the shortest string that names the same path.

    	Eliminates multiple and trailing slashes, interprets "." and
    	"..". Overwrites the string in place.
    )r   fz_cleannamer  s    r   rS  rS    s     t$$r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_cleanname_strdup()`.
    	rewrite path to the shortest string that names the same path.

    	Eliminates multiple and trailing slashes, interprets "." and
    	"..". Allocates a new string that the caller must free.
    )r   fz_cleanname_strdupr  s    r   rS  rS    r  r#   c                 ,    t        j                  |       S )zx
    Class-aware wrapper for `::fz_clear_bitmap()`.
    	Set the entire bitmap to 0.

    	Never throws exceptions.
    )r   ro,  rS  s    r   ro,  ro,  £  r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_clear_buffer()`.
    	Empties the buffer. Storage is not freed, but is held ready
    	to be reused as the buffer is refilled.

    	Never throws exceptions.
    )r   r-  r{  s    r   r-  r-  ˣ  r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_clear_pixmap()`.
    	Sets all components (including alpha) of
    	all pixels in a pixmap to 0.

    	pix: The pixmap to clear.
    )r   r-9  r[  s    r   r-9  r-9  գ  r  r#   c                 0    t        j                  | ||      S )a~  
    Class-aware wrapper for `::fz_clear_pixmap_rect_with_value()`.
    	Clears a subrect of a pixmap with the given value.

    	pix: The pixmap to clear.

    	value: Values in the range 0 to 255 are valid. Each component
    	sample for each pixel in the pixmap will be set to this value,
    	while alpha will always be set to 255 (non-transparent).

    	r: the rectangle.
    )r   r09  r_  s      r   r09  r09  ߣ  s     11#ua@@r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_clear_pixmap_with_value()`.
    	Clears a pixmap with the given value.

    	pix: The pixmap to clear.

    	value: Values in the range 0 to 255 are valid. Each component
    	sample for each pixel in the pixmap will be set to this value,
    	while alpha will always be set to 255 (non-transparent).

    	This function is horrible, and should be removed from the
    	API and replaced with a less magic one.
    )r   r49  rc  s     r   r49  r49    s     ,,S%88r#   c                 2    t        j                  | |||      S r/  )r   r/  rf  s       r   r/  r/    s    $$S%g>>r#   c                 4    t        j                  | ||||      S r/  )r   r/  ri  s        r   r/  r/    s    sD(CAAr#   c                 4    t        j                  | ||||      S r
/  )r   r/  rm  s        r   r/  r/        %%c4gFFr#   c                 4    t        j                  | ||||      S r/  )r   r/  rq  s        r   r/  r/  
  rS  r#   c                 2    t        j                  | |||      S r/  )r   r/  rt  s       r   r/  r/    s    sD#w77r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_clone_buffer()`.
    	Make a new buffer, containing a copy of the data used in
    	the original.
    )r   r-  r{  s    r   r-  r-    r  r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_clone_default_colorspaces()`.
    	Returns a reference to a newly cloned default colorspaces
    	structure.

    	The new clone may safely be altered without fear of race
    	conditions as the caller is the only reference holder.
    )r   r.  r|  s    r   r.  r.    s     ..t44r#   c                 ,    t        j                  |       S )ap  
    Class-aware wrapper for `::fz_clone_path()`.
    	Clone the data for a path.

    	This is used in preference to fz_keep_path when a whole
    	new copy of a path is required, rather than just a shared
    	pointer. This probably indicates that the path is about to
    	be modified.

    	path: path to clone.

    	Throws exceptions on failure to allocate.
    )r   rI8  r  s    r   rI8  rI8  %  s     %%r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_clone_pixmap()`.
    	Clone a pixmap, copying the pixels and associated data to new
    	storage.

    	The reference count of 'old' is unchanged.
    )r   r79  r  s    r   r79  r79  5  r  r#   c                 6    t        j                  | |||||      S r99  )r   r;9  r  s         r   r;9  r;9  ?  s    ::3c4Q]_ijjr#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_clone_separations_for_overprint()`.
    	Return a separations object with all the spots in the input
    	separations object that are set to composite, reset to be
    	enabled. If there ARE no spots in the object, this returns
    	NULL. If the object already has all its spots enabled, then
    	just returns another handle on the same object.
    )r   r;  r  s    r   r;  r;  C  r   r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_clone_stroke_state()`.
    	Create an identical stroke_state structure and return a
    	reference to it.

    	stroke: The stroke state reference to clone.

    	Exceptions may be thrown in the event of a failure to
    	allocate.
    )r   r>  r  s    r   r>  r>  N  s     ''//r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_close_band_writer()`.
    	Finishes up the output and closes the band writer. After this
    	call no more headers or bands may be written.
    )r   r<,  r  s    r   r<,  r<,  [  s     &&v..r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_close_device()`.
    	Signal the end of input, and flush any buffered output.
    	This is NOT called implicitly on fz_drop_device. This
    	may throw exceptions.
    )r   r/  r  s    r   r/  r/  c  r  r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_close_document_writer()`.
    	Called to end the process of writing
    	pages to a document.

    	This writes any file level trailers required. After this
    	completes successfully the file is up to date and complete.
    )r   r1  r  s    r   r1  r1  l  s     **3//r#   c                 ,    t        j                  |       S )zn
    Class-aware wrapper for `::fz_close_output()`.
    	Flush pending output and close an output stream.
    )r   rt6  r   s    r   rt6  rt6  w      
 !!%((r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_close_zip_writer()`.
    	Close the zip file for writing.

    	This flushes any pending data to the file. This can throw
    	exceptions.
    )r   r@  r  s    r   r@  r@  ~  r  r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_closepath()`.
    	Close the current subpath.

    	path: The path to modify.

    	Throws exceptions on failure to allocate, attempting to modify
    	a packed path, and illegal path closes (i.e. closing a non open
    	path).
    )r   rL8  r  s    r   rL8  rL8         t$$r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_colorspace_colorant()`.
    	Retrieve a the name for a colorant.

    	Returns a pointer with the same lifespan as the colorspace.
    )r   r-  r  s     r   r-  r-    s     ((Q//r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_colorspace_device_n_has_cmyk()`.
    	True if DeviceN color space has cyan magenta yellow or black as
    	one of its colorants.
    )r   r-  r  s    r   r-  r-    r`  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_colorspace_device_n_has_only_cmyk()`.
    	True if DeviceN color space has only colorants from the CMYK set.
    )r   r-  r  s    r   r-  r-    s    
 66r::r#   c                 ,    t        j                  |       S r-  )r   r-  r  s    r   r-  r-    ra&  r#   c                 ,    t        j                  |       S r-  )r   r-  r  s    r   r-  r-    r  r#   c                 ,    t        j                  |       S r-  )r   r-  r  s    r   r-  r-    r  r#   c                 ,    t        j                  |       S r-  )r   r-  r  s    r   r-  r-    r  r#   c                 ,    t        j                  |       S r-  )r   r-  r  s    r   r-  r-    rO&  r#   c                 ,    t        j                  |       S )zm
    Class-aware wrapper for `::fz_colorspace_is_gray()`.
    	Tests for particular types of colorspaces
    )r   r-  r  s    r   r-  r-    r  r#   c                 ,    t        j                  |       S r-  )r   r-  r  s    r   r-  r-  Ȥ  r  r#   c                 ,    t        j                  |       S r-  )r   r-  r  s    r   r-  r-  ̤      &&r**r#   c                 ,    t        j                  |       S r-  )r   r-  r  s    r   r-  r-  Ф  r  r#   c                 ,    t        j                  |       S r-  )r   r-  r  s    r   r-  r-  Ԥ  rS  r#   c                 ,    t        j                  |       S )z}
    Class-aware wrapper for `::fz_colorspace_is_subtractive()`.
    	True for CMYK, Separation and DeviceN colorspaces.
    )r   r-  r  s    r   r-  r-  ؤ  s    
 ..r22r#   c                 ,    t        j                  |       S )zl
    Class-aware wrapper for `::fz_colorspace_n()`.
    	Query the number of colorants in a colorspace.
    )r   r-  r  s    r   r-  r-  ߤ  s    
 !!"%%r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_colorspace_name()`.
    	Query the name of a colorspace.

    	The returned string has the same lifespan as the colorspace
    	does. Caller should not free it.
    )r   r-  r  s    r   r-  r-    s     $$R((r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_colorspace_name_colorant()`.
    	Assign a name for a given colorant in a colorspace.

    	Used while initially setting up a colorspace. The string is
    	copied into local storage, so need not be retained by the
    	caller.
    )r   r-  r  s      r   r-  r-    s     --b!T::r#   c                 ,    t        j                  |       S )z^
    Class-aware wrapper for `::fz_colorspace_type()`.
    	Query the type of colorspace.
    )r   r-  r  s    r   r-  r-    r  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_compare_separations()`.
    	Compare 2 separations structures (or NULLs).

    	Return 0 if identical, non-zero if not identical.
    )r   r;  r  s     r   r;  r;    s     ((t44r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_compress_ccitt_fax_g3()`.
    	Compress bitmap data as CCITT Group 3 1D fax image.
    	Creates a stream assuming the default PDF parameters,
    	except the number of columns.
    )r   fz_compress_ccitt_fax_g3r  s       r   rS  rS         **4$GGr#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_compress_ccitt_fax_g4()`.
    	Compress bitmap data as CCITT Group 4 2D fax image.
    	Creates a stream assuming the default PDF parameters, except
    	K=-1 and the number of columns.
    )r   fz_compress_ccitt_fax_g4r  s       r   rS  rS    rS  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_compressed_buffer_size()`.
    	Return the storage size used for a buffer and its data.
    	Used in implementing store handling.

    	Never throws exceptions.
    )r   r+.  r  s    r   r+.  r+.    s     ++F33r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_compressed_image_buffer()`.
    	Retrieve the underlying compressed data for an image.

    	Returns a pointer to the underlying data buffer for an image,
    	or NULL if this image is not based upon a compressed data
    	buffer.

    	This is not a reference counted structure, so no reference is
    	returned. Lifespan is limited to that of the image itself.
    )r   rk3  r  s    r   rk3  rk3  '  s     ,,U33r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_compressed_image_type()`.
    	Return the type of a compressed image.

    	Any non-compressed image will have the type returned as UNKNOWN.
    )r   ro3  r  s    r   ro3  ro3  5  s     **511r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_concat()`.
    	Multiply two matrices.

    	The order of the two matrices are important since matrix
    	multiplication is not commutative.

    	Returns result.
    )r   r5  r  s     r   r5  r5  >  s     D%((r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_contains_rect()`.
    	Test rectangle inclusion.

    	Return true if a entirely contains b.
    )r   r[;  r  s     r   r[;  r[;  J  s     ""1a((r#   c                 6    t        j                  | |||||      S )a  
    Class-aware wrapper for `::fz_convert_color()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_convert_color(::fz_colorspace *ss, const float *sv, ::fz_colorspace *ds, ::fz_colorspace *is, ::fz_color_params params)` => float dv

    	Convert color values sv from colorspace ss into colorvalues dv
    	for colorspace ds, via an optional intervening space is,
    	respecting the given color_params.
    )r   r-  r  s         r   r-  r-  S  s     ""2r2r3??r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_convert_error()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_convert_error()` => `(const char *, int code)`
    )r   fz_convert_errorr   s    r   rS  rS  `  s     ""4((r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_convert_indexed_pixmap_to_base()`.
    	Convert pixmap from indexed to base colorspace.

    	This creates a new bitmap containing the converted pixmap data.
    )r   r>9  r  s    r   r>9  r>9  i  s     33C88r#   c                 6    t        j                  | |||||      S )a  
    Class-aware wrapper for `::fz_convert_pixmap()`.
    	Convert an existing pixmap to a desired
    	colorspace. Other properties of the pixmap, such as resolution
    	and position are copied to the converted pixmap.

    	pix: The pixmap to convert.

    	default_cs: If NULL pix->colorspace is used. It is possible that
    	the data may need to be interpreted as one of the color spaces
    	in default_cs.

    	cs_des: Desired colorspace, may be NULL to denote alpha-only.

    	prf: Proofing color space through which we need to convert.

    	color_params: Parameters that may be used in conversion (e.g.
    	ri).

    	keep_alpha: If 0 any alpha component is removed, otherwise
    	alpha is kept if present in the pixmap.
    )r   rA9  r  s         r   rA9  rA9  r  s     . ##Cj,PZ[[r#   c                 6    t        j                  | |||||      S )a  
    Class-aware wrapper for `::fz_convert_separation_colors()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_convert_separation_colors(::fz_colorspace *src_cs, const float *src_color, ::fz_separations *dst_seps, ::fz_colorspace *dst_cs, ::fz_color_params color_params)` => float dst_color

    	Convert a color given in terms of one colorspace,
    	to a color in terms of another colorspace/separations.
    )r   r-  r  s         r   r-  r-    s!     ..vy(FT]_kllr#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_convert_separation_pixmap_to_base()`.
    	Convert pixmap from DeviceN/Separation to base colorspace.

    	This creates a new bitmap containing the converted pixmap data.
    )r   rD9  r  s    r   rD9  rD9    r  r#   c                 0    t        j                  | ||      S )a'  
    Class-aware wrapper for `::fz_copy_option()`.
    	Copy an option (val) into a destination buffer (dest), of maxlen
    	bytes.

    	Returns the number of bytes (including terminator) that did not
    	fit. If val is maxlen or greater bytes in size, it will be left
    	unterminated.
    )r   fz_copy_optionr  s      r   rS  rS    s       dF33r#   c                 2    t        j                  | |||      S rF9  )r   rH9  r  s       r   rH9  rH9    s    %%dCJ??r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_copy_rectangle()`.
    	Return a newly allocated UTF-8 string with the text for a given
    	selection rectangle.

    	crlf: If true, write "\r\n" style line endings (otherwise "\n"
    	only).
    )r   r=  r   s      r   r=  r=    s     ##D$55r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_copy_selection()`.
    	Return a newly allocated UTF-8 string with the text for a given
    	selection.

    	crlf: If true, write "\r\n" style line endings (otherwise "\n"
    	only).
    )r   r=  r$  s       r   r=  r=    s     ##D!Q55r#   c                 ,    t        j                  |       S )zr
    Class-aware wrapper for `::fz_count_active_separations()`.
    	Return the number of active separations.
    )r   r;  r  s    r   r;  r;  ƥ  ri  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_count_archive_entries()`.
    	Number of entries in archive.

    	Will always return a value >= 0.

    	May throw an exception if this type of archive cannot count the
    	entries (such as a directory).
    )r   r+  r  s    r   r+  r+  ͥ  s     **400r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_count_chapter_pages()`.
    	Return the number of pages in a chapter.
    	May return 0.
    )r   r0  r+  s     r   r0  r0  ٥  s     ((g66r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_count_chapters()`.
    	Return the number of chapters in the document.
    	At least 1.
    )r   r0  rN   s    r   r0  r0    rJ  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_count_pages()`.
    	Return the number of pages in document

    	May return 0 for documents with no pages.
    )r   r0  rN   s    r   r0  r0    r  r#   c                 ,    t        j                  |       S r;  )r   r;  r4  s    r   r;  r;    rm  r#   c                 0    t        j                  | ||      S )zY
    Class-aware wrapper for `::fz_create_link()`.
    	Create a new link on a page.
    )r   r7  r8  s      r   r7  r7    s    
   tS11r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_currentpoint()`.
    	Return the current point that a path has
    	reached or (0,0) if empty.

    	path: path to return the current point of.
    )r   rP8  r  s    r   rP8  rP8    rM  r#   c           	      8    t        j                  | ||||||      S )a  
    Class-aware wrapper for `::fz_curveto()`.
    	Append a 'curveto' command to an open path. (For a
    	cubic bezier).

    	path: The path to modify.

    	x0, y0: The coordinates of the first control point for the
    	curve.

    	x1, y1: The coordinates of the second control point for the
    	curve.

    	x2, y2: The end coordinates for the curve.

    	Throws exceptions on failure to allocate, or attempting to
    	modify a packed path.
    )r   rS8  r>  s          r   rS8  rS8    s!    & T2r2r2r::r#   c                 4    t        j                  | ||||      S )a  
    Class-aware wrapper for `::fz_curvetov()`.
    	Append a 'curvetov' command to an open path. (For a
    	cubic bezier with the first control coordinate equal to
    	the start point).

    	path: The path to modify.

    	x1, y1: The coordinates of the second control point for the
    	curve.

    	x2, y2: The end coordinates for the curve.

    	Throws exceptions on failure to allocate, or attempting to
    	modify a packed path.
    )r   rV8  rC  s        r   rV8  rV8    s    " dBB33r#   c                 4    t        j                  | ||||      S )a  
    Class-aware wrapper for `::fz_curvetoy()`.
    	Append a 'curvetoy' command to an open path. (For a
    	cubic bezier with the second control coordinate equal to
    	the end point).

    	path: The path to modify.

    	x0, y0: The coordinates of the first control point for the
    	curve.

    	x2, y2: The end coordinates for the curve (and the second
    	control coordinate).

    	Throws exceptions on failure to allocate, or attempting to
    	modify a packed path.
    )r   rY8  rF  s        r   rY8  rY8  /  s    $ dBB33r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_debug_store()`.
    	Output debugging information for the current state of the store
    	to the given output channel.
    )r   rw6  rI  s    r   rw6  rw6  C  r  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_debug_xml()`.
    	Pretty-print an XML tree to stdout. (Deprecated, use
    	fz_output_xml in preference).
    )r   r?  rM  s     r   r?  r?  K  s     tU++r#   c                 .    t        j                  | |      S rJ9  )r   rL9  rQ  s     r   rL9  rL9  S  s      f--r#   c                 ,    t        j                  |       S )a  
     Class-aware wrapper for `::fz_decode_uri()`.
    Return a new string representing the unencoded version of the given URI.
    This decodes all escape sequences except those that would result in a reserved
    character that are part of the URI syntax (; / ? : @ & = + $ , #).
    )r   fz_decode_urir;  s    r   r
T  r
T  W  s     ""r#   c                 ,    t        j                  |       S )z
     Class-aware wrapper for `::fz_decode_uri_component()`.
    Return a new string representing the unencoded version of the given URI component.
    This decodes all escape sequences!
    )r   fz_decode_uri_componentr;  s    r   rT  rT  `  r9  r#   c                 6    t        j                  | |||||      S )a  
    Class-aware wrapper for `::fz_decomp_image_from_stream()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_decomp_image_from_stream(::fz_stream *stm, ::fz_compressed_image *image, ::fz_irect *subarea, int indexed, int l2factor)` => `(fz_pixmap *, int l2extra)`

    	Decode a subarea of a compressed image. l2factor is the amount
    	of subsampling inbuilt to the stream (i.e. performed by the
    	decoder). If non NULL, l2extra is the extra amount of
    	subsampling that should be performed by this routine. This will
    	be updated on exit to the amount of subsampling that is still
    	required to be done.

    	Returns a kept reference.
    )r   r=  rY  s         r   r=  r=  h  s       --c5'7HV]^^r#   c                 .    t        j                  | |      S r22  )r   r42  r`  s     r   r42  r42  z  s    ((u55r#   c                 ,    t        j                  |       S r.  )r   r.  rc  s    r   r.  r.  ~  s    !!*--r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_default_error_callback()`.
    	FIXME: Better not to expose fz_default_error_callback, and
    	fz_default_warning callback and to allow 'NULL' to be used
    	int fz_set_xxxx_callback to mean "defaults".

    	FIXME: Do we need/want functions like
    	fz_error_callback(ctx, message) to allow callers to inject
    	stuff into the error/warning streams?

    	The default error callback. Declared publicly just so that the
    	error callback can be set back to this after it has been
    	overridden.
    )r   fz_default_error_callbackrf  s     r   rT  rT    s     ++D'::r#   c                 ,    t        j                  |       S )aL  
    Class-aware wrapper for `::fz_default_gray()`.
    	Retrieve default colorspaces (typically page local).

    	If default_cs is non NULL, the default is retrieved from there,
    	otherwise the global default is retrieved.

    	These return borrowed references that should not be dropped,
    	unless they are kept first.
    )r   r.  rc  s    r   r.  r.    s     !!*--r#   c                 ,    t        j                  |       S )a_  
    Class-aware wrapper for `::fz_default_halftone()`.
    	Create a 'default' halftone structure
    	for the given number of components.

    	num_comps: The number of components to use.

    	Returns a simple default halftone. The default halftone uses
    	the same halftone tile for each plane, which may not be ideal
    	for all purposes.
    )r   fz_default_halftonerk  s    r   rT  rT    s     %%i00r#   c                 ,    t        j                  |       S r.  )r   r.  rc  s    r   r.  r.    s    **:66r#   c                 ,    t        j                  |       S r.  )r   r.  rc  s    r   r.  r.    s      ,,r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_default_warning_callback()`.
    	The default warning callback. Declared publicly just so that
    	the warning callback can be set back to this after it has been
    	overridden.
    )r   fz_default_warning_callbackrf  s     r   rT  rT    s     --dG<<r#   c                  *    t        j                         S )a  
    Class-aware wrapper for `::fz_defer_reap_end()`.
    	Decrement the defer reap count.

    	If the defer reap count returns to 0, and the store
    	has reapable objects in, a reap pass will begin.

    	Call this at the end of a process during which you
    	potentially might drop many reapable objects.

    	It is vital that every fz_defer_reap_start is matched
    	by a fz_defer_reap_end call.
    )r   fz_defer_reap_endr$   r#   r   rT  rT    s     ##%%r#   c                  *    t        j                         S )a  
    Class-aware wrapper for `::fz_defer_reap_start()`.
    	Increment the defer reap count.

    	No reap operations will take place (except for those
    	triggered by an immediate failed malloc) until the
    	defer reap count returns to 0.

    	Call this at the start of a process during which you
    	potentially might drop many reapable objects.

    	It is vital that every fz_defer_reap_start is matched
    	by a fz_defer_reap_end call.
    )r   fz_defer_reap_startr$   r#   r   rT  rT  Ϧ  s     %%''r#   c                 4    t        j                  | ||||      S )a  
     Class-aware wrapper for `::fz_deflate()`.

    	This function has out-params. Python/C# wrappers look like:
    		`fz_deflate(unsigned char *dest, const unsigned char *source, size_t source_length, ::fz_deflate_level level)` => size_t compressed_length

    		Compress source_length bytes of data starting
    		at source, into a buffer of length *destLen, starting at dest.
    compressed_length will be updated on exit to contain the size
    		actually used.
    )r   
fz_deflaterz  s        r   rT  rT    s     T#4fmUSSr#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_deflate_bound()`.
    	Returns the upper bound on the
    	size of flated data of length size.
    )r   fz_deflate_boundr  s    r   r T  r T    r  r#   c                 .    t        j                  | |      S )z_
    Class-aware wrapper for `::fz_delete_link()`.
    	Delete an existing link on a page.
    )r   r7  r  s     r   r7  r7    s    
   t,,r#   c                 0    t        j                  | ||      S rN9  )r   rP9  r  s      r   rP9  rP9    s    ""388r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_detach_xml()`.
    	Detach a node from the tree, unlinking it from its parent,
    	and setting the document root to the node.
    )r   r?  r  s    r   r?  r?    s     %%r#   c                 .    t        j                  | |      S rW:  )r   rY:  r  s     r   rY:  rY:  	  s    $$VS11r#   c                  *    t        j                         S )z,Class-aware wrapper for `::fz_device_bgr()`.)r   fz_device_bgrr$   r#   r   r&T  r&T    rR  r#   c                  *    t        j                         S )z-Class-aware wrapper for `::fz_device_cmyk()`.)r   fz_device_cmykr$   r#   r   r(T  r(T    r  r#   c                 ,    t        j                  |       S )z}
    Class-aware wrapper for `::fz_device_current_scissor()`.
    	Find current scissor region as tracked by the device.
    )r   r/  r  s    r   r/  r/    r  r#   c                  *    t        j                         S )z
    Class-aware wrapper for `::fz_device_gray()`.
    	Retrieve global default colorspaces.

    	These return borrowed references that should not be dropped,
    	unless they are kept first.
    )r   fz_device_grayr$   r#   r   r+T  r+T    s       ""r#   c                  *    t        j                         S )z,Class-aware wrapper for `::fz_device_lab()`.)r   fz_device_labr$   r#   r   r-T  r-T  &  rR  r#   c                  *    t        j                         S )z,Class-aware wrapper for `::fz_device_rgb()`.)r   fz_device_rgbr$   r#   r   r/T  r/T  *  rR  r#   c                 0    t        j                  | ||      S )ze
    Class-aware wrapper for `::fz_dirname()`.
    	extract the directory component from a path.
    )r   
fz_dirnamer  s      r   r1T  r1T  .  s    
 S$00r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_disable_device_hints()`.
    	Disable (clear) hint bits within the hint bitfield for a device.
    )r   r/  r  s     r   r/  r/  5  s    
 ))#u55r#   c                  *    t        j                         S )za
    Class-aware wrapper for `::fz_disable_icc()`.
    	Disable icc profile based operation.
    )r   fz_disable_iccr$   r#   r   r4T  r4T  <  r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_display_list_is_empty()`.
    	Check for a display list being empty

    	list: The list to check.

    	Returns true if empty, false otherwise.
    )r   rp0  r  s    r   rp0  rp0  C  rQ  r#   c                 .    t        j                  | |      S )zU
    Class-aware wrapper for `::fz_div255()`.
    	Undo alpha premultiplication.
    )r   	fz_div255r  s     r   r7T  r7T  N      
 Aq!!r#   c                  *    t        j                         S )z+Class-aware wrapper for `::fz_do_always()`.)r   fz_do_alwaysr$   r#   r   r:T  r:T  U  r  r#   c                  *    t        j                         S )z*Class-aware wrapper for `::fz_do_catch()`.)r   fz_do_catchr$   r#   r   r<T  r<T  Y  s    r#   c                  *    t        j                         S )z(Class-aware wrapper for `::fz_do_try()`.)r   	fz_do_tryr$   r#   r   r>T  r>T  ]  s    r#   c                 4    t        j                  | ||||      S )z
    Class-aware wrapper for `::fz_document_handler_open()`.   Helper for calling `fz_document_handler::open` function pointer via
    Swig from Python/C#.
    )r   r^1  r  s        r   r^1  r^1  a  s    
 **7FE3XXr#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_document_handler_recognize()`.   Helper for calling a `fz_document_handler::recognize` function
    pointer via Swig from Python/C#.
    )r   ra1  r  s     r   ra1  ra1  h  s    
 //??r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_document_output_intent()`.
    	Find the output intent colorspace if the document has defined
    	one.

    	Returns a borrowed reference that should not be dropped, unless
    	it is kept first.
    )r   r0  rN   s    r   r0  r0  o  s     ++C00r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_document_supports_accelerator()`.
    	Query if the document supports the saving of accelerator data.
    )r   r0  rN   s    r   r0  r0  z  s    
 22377r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_dom_add_attribute()`.
    	Add an attribute to an element.

    	Ownership of att and value remain with the caller.
    )r   r?  r  s      r   r?  r?    s     &&sC77r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_dom_append_child()`.
    	Insert an element as the last child of a parent, unlinking the
    	child from its current position if required.
    )r   r@  r  s     r   r@  r@    s     %%fe44r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_dom_attribute()`.
    	Retrieve the value of a given attribute from a given element.

    	Returns a borrowed pointer to the value or NULL if not found.
    )r   r@  r  s     r   r@  r@         ""3,,r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_dom_body()`.
    	Return a borrowed reference for the 'body' element of
    	the given DOM.
    )r   r
@  r  s    r   r
@  r
@         c""r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_dom_clone()`.
    	Clone an element (and its children).

    	A borrowed reference to the clone is returned. The clone is not
    	yet linked into the DOM.
    )r   r@  r  s    r   r@  r@    s     s##r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_dom_create_element()`.
    	Create an element of a given tag type for the given DOM.

    	The element is not linked into the DOM yet.
    )r   r@  r  s     r   r@  r@    s     ''S11r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_dom_create_text_node()`.
    	Create a text node for the given DOM.

    	The element is not linked into the DOM yet.
    )r   r@  r  s     r   r@  r@    r}  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_dom_document_element()`.
    	Return a borrowed reference for the document (the top
    	level element) of the DOM.
    )r   r@  r  s    r   r@  r@    r  r#   c                 2    t        j                  | |||      S )a6  
    Class-aware wrapper for `::fz_dom_find()`.
    	Find the first element matching the requirements in a depth first traversal from elt.

    	The tagname must match tag, unless tag is NULL, when all tag names are considered to match.

    	If att is NULL, then all tags match.
    	Otherwise:
    		If match is NULL, then only nodes that have an att attribute match.
    		If match is non-NULL, then only nodes that have an att attribute that matches match match.

    	Returns NULL (if no match found), or a borrowed reference to the first matching element.
    )r   r@  r  s       r   r@  r@  ǧ  s     c3U33r#   c                 2    t        j                  | |||      S )zo
    Class-aware wrapper for `::fz_dom_find_next()`.
    	Find the next element matching the requirements.
    )r   r@  r  s       r   r@  r@  ק  s    
 ""3S%88r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_dom_first_child()`.
    	Return a borrowed reference to the first child of a node,
    	or NULL if there isn't one.
    )r   r"@  r  s    r   r"@  r"@  ާ  rw  r#   c                 0    t        j                  | ||      S )aE  
    Class-aware wrapper for `::fz_dom_get_attribute()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_dom_get_attribute(::fz_xml *elt, int i)` => `(const char *, const char *att)`

    	Enumerate through the attributes of an element.

    	Call with i=0,1,2,3... to enumerate attributes.

    	On return *att and the return value will be NULL if there are not
    	that many attributes to read. Otherwise, *att will be filled in
    	with a borrowed pointer to the attribute name, and the return
    	value will be a borrowed pointer to the value.
    )r   r%@  r  s      r   r%@  r%@    s      &&sAs33r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_dom_insert_after()`.
    	Insert an element (new_elt), after another element (node),
    	unlinking the new_elt from its current position if required.
    )r   r)@  r  s     r   r)@  r)@    s     %%dG44r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_dom_insert_before()`.
    	Insert an element (new_elt), before another element (node),
    	unlinking the new_elt from its current position if required.
    )r   r,@  r  s     r   r,@  r,@     s     &&tW55r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_dom_next()`.
    	Return a borrowed reference to the next sibling of a node,
    	or NULL if there isn't one.
    )r   r/@  r  s    r   r/@  r/@    rHT  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_dom_parent()`.
    	Return a borrowed reference to the parent of a node,
    	or NULL if there isn't one.
    )r   r2@  r  s    r   r2@  r2@         $$r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_dom_previous()`.
    	Return a borrowed reference to the previous sibling of a node,
    	or NULL if there isn't one.
    )r   r5@  r  s    r   r5@  r5@    r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_dom_remove()`.
    	Remove an element from the DOM. The element can be added back elsewhere
    	if required.

    	No reference counting changes for the element.
    )r   r8@  r  s    r   r8@  r8@     s     $$r#   c                 .    t        j                  | |      S )zj
    Class-aware wrapper for `::fz_dom_remove_attribute()`.
    	Remove an attribute from an element.
    )r   r;@  r  s     r   r;@  r;@  *  s    
 ))#s33r#   c                 0    t        j                  | ||      S rn=  )r   rp=  r	  s      r   rp=  rp=  1  s    sC00r#   c                 ,    t        j                  |       S )zr
    Class-aware wrapper for `::fz_dump_glyph_cache_stats()`.
    	Dump debug statistics for the glyph cache.
    )r   rz6  rI  s    r   rz6  rz6  5  r  r#   c                 ,    t        j                  |       S )zDClass-aware wrapper for `::fz_duplicate_glyph_names_from_unicode()`.)r   %fz_duplicate_glyph_names_from_unicoder  s    r   r\T  r\T  <  s    77@@r#   c                  *    t        j                         S )z]
    Class-aware wrapper for `::fz_empty_store()`.
    	Evict every item from the store.
    )r   fz_empty_storer$   r#   r   r^T  r^T  @  r  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_enable_device_hints()`.
    	Enable (set) hint bits within the hint bitfield for a device.
    )r   r"/  r  s     r   r"/  r"/  G  r  r#   c                  *    t        j                         S )z_
    Class-aware wrapper for `::fz_enable_icc()`.
    	Enable icc profile based operation.
    )r   fz_enable_iccr$   r#   r   raT  raT  N  s    
 !!r#   c                 .    t        j                  | |      S )a>  
    Class-aware wrapper for `::fz_encode_character()`.
    	Find the glyph id for a given unicode
    	character within a font.

    	font: The font to look for the unicode character in.

    	unicode: The unicode character to encode.

    	Returns the glyph id for the given unicode value, or 0 if
    	unknown.
    )r   r92  r  s     r   r92  r92  U  s     %%dG44r#   c                 .    t        j                  | |      S )a0  
    Class-aware wrapper for `::fz_encode_character_by_glyph_name()`.
    	Encode character.

    	Either by direct lookup of glyphname within a font, or, failing
    	that, by mapping glyphname to unicode and thence to the glyph
    	index within the given font.

    	Returns zero for type3 fonts.
    )r   r<2  r  s     r   r<2  r<2  d  s     33D)DDr#   c                 .    t        j                  | |      S )a;  
    Class-aware wrapper for `::fz_encode_character_sc()`.
    	Encode character, preferring small-caps variant if available.

    	font: The font to look for the unicode character in.

    	unicode: The unicode character to encode.

    	Returns the glyph id for the given unicode value, or 0 if
    	unknown.
    )r   r?2  r  s     r   r?2  r?2  q  s     ((w77r#   c                 4    t        j                  | ||||      S )a  
    Class-aware wrapper for `::fz_encode_character_with_fallback()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_encode_character_with_fallback(::fz_font *font, int unicode, int script, int language, ::fz_font **out_font)` => `(int)`

    	Find the glyph id for
    	a given unicode character within a font, falling back to
    	an alternative if not found.

    	font: The font to look for the unicode character in.

    	unicode: The unicode character to encode.

    	script: The script in use.

    	language: The language in use.

    	out_font: The font handle in which the given glyph represents
    	the requested unicode character. The caller does not own the
    	reference it is passed, so should call fz_keep_font if it is
    	not simply to be used immediately.

    	Returns the glyph id for the given unicode value in the supplied
    	font (and sets *out_font to font) if it is present. Otherwise
    	an alternative fallback font (based on script/language) is
    	searched for. If the glyph is found therein, *out_font is set
    	to this reference, and the glyph reference is returned. If it
    	cannot be found anywhere, the function returns 0.
    )r   rB2  r  s        r   rB2  rB2    s    > 33D'68U]^^r#   c                 ,    t        j                  |       S )z
     Class-aware wrapper for `::fz_encode_uri()`.
    Return a new string representing the provided string encoded as a URI.
    )r   fz_encode_urir;  s    r   rgT  rgT    rk   r#   c                 ,    t        j                  |       S )z
     Class-aware wrapper for `::fz_encode_uri_component()`.
    Return a new string representing the provided string encoded as an URI component.
    This also encodes the special reserved characters (; / ? : @ & = + $ , #).
    )r   fz_encode_uri_componentr;  s    r   riT  riT    r9  r#   c                 ,    t        j                  |       S )z
     Class-aware wrapper for `::fz_encode_uri_pathname()`.
    Return a new string representing the provided string encoded as an URI path name.
    This also encodes the special reserved characters except /.
    )r   fz_encode_uri_pathnamer;  s    r   rkT  rkT    s     ((++r#   c                 ,    t        j                  |       S r$/  )r   r&/  r  s    r   r&/  r&/        s##r#   c                 ,    t        j                  |       S r(/  )r   r*/  r  s    r   r*/  r*/    rmT  r#   c                 ,    t        j                  |       S r,/  )r   r./  r  s    r   r./  r./    r(  r#   c                 .    t        j                  | |      S r1/  )r   r3/  r  s     r   r3/  r3/  è  s      b))r#   c                 ,    t        j                  |       S r5/  )r   r7/  r  s    r   r7/  r7/  Ǩ  r  r#   c                 ,    t        j                  |       S )zy
    Class-aware wrapper for `::fz_end_page()`.
    	Called to end the process of writing a page to a
    	document.
    )r   r1  r  s    r   r1  r1  ˨  rHT  r#   c                 ,    t        j                  |       S r:/  )r   r</  r  s    r   r</  r</  Ө  r  r#   c                  *    t        j                         S )z5Class-aware wrapper for `::fz_end_throw_on_repair()`.)r   fz_end_throw_on_repairr$   r#   r   ruT  ruT  ר  r$  r#   c                 ,    t        j                  |       S r>/  )r   r@/  r  s    r   r@/  r@/  ۨ  r(  r#   c                 0    t        j                  | ||      S )zg
    Class-aware wrapper for `::fz_enumerate_font_cmap()`.
    	Enumerate a cmap using a callback.
    )r   rE2  r  s      r   rE2  rE2  ߨ  s    
 ((r6::r#   c                 ,    t        j                  |       S rG2  )r   rI2  r/  s    r   rI2  rI2    r'  r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_error_callback()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_error_callback()` => `(fz_error_cb *, void *user)`

    	Retrieve the currently set error callback, or NULL if none
    	has been set. Optionally, if user is non-NULL, the user pointer
    	given when the warning callback was set is also passed back to
    	the caller.
    )r   fz_error_callbackr  s    r   rzT  rzT    s     ##D))r#   c                 4    t        j                  | ||||      S )z
    Class-aware wrapper for `::fz_eval_function()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_eval_function(::fz_function *func, const float *in, int inlen, int outlen)` => float out
    )r   r2  r  s        r   r2  r2    s     ""4eS&AAr#   c                 .    t        j                  | |      S r|4  )r   r4  r  s     r   r4  r4    s    !!!V,,r#   c                 .    t        j                  | |      S )zo
    Class-aware wrapper for `::fz_expand_rect()`.
    	Expand a bbox by a given amount in all directions.
    )r   r^;  r  s     r   r^;  r^;    s    
   F++r#   c                 ,    t        j                  |       S rK2  )r   rM2  r/  s    r   rM2  rM2    r'  r#   c                 ,    t        j                  |       S )zr
    Class-aware wrapper for `::fz_file_exists()`.
    	Return true if the named file exists and is readable.
    )r   fz_file_existsr  s    r   rT  rT    r  r#   c                 4    t        j                  | ||||      S rB/  )r   rD/  r  s        r   rD/  rD/        UCEEr#   c           	      8    t        j                  | ||||||      S rG/  )r   rI/  r  s          r   rI/  rI/    s     $$S%j%P\]]r#   c           
      :    t        j                  | |||||||      S )zl
    Class-aware wrapper for `::fz_fill_path()`.
    	Device calls; graphics primitives and containers.
    )r   rL/  r  s           r   rL/  rL/    s$    
 sD(CUES_``r#   c                 0    t        j                  | ||      S rr0  )r   rt0  r	  s      r   rt0  rt0  &  s    224cBBr#   c                 2    t        j                  | |||      S )a&  
    Class-aware wrapper for `::fz_fill_pixmap_with_color()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_fill_pixmap_with_color(::fz_pixmap *pix, ::fz_colorspace *colorspace, ::fz_color_params color_params)` => float color

    	Fill pixmap with solid color.
    )r   rS9  r  s       r   rS9  rS9  *  s     ++CULQQr#   c                 4    t        j                  | ||||      S rN/  )r   rP/  r  s        r   rP/  rP/  5  rT  r#   c           	      8    t        j                  | ||||||      S rR/  )r   rT/  r  s          r   rT/  rT/  9  s    sD#z5%VVr#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_filter_store()`.
    	Filter every element in the store with a matching type with the
    	given function.

    	If the function returns 1 for an element, drop the element.
    )r   fz_filter_storer  s      r   rT  rT  =  s     !!"c400r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_find_item()`.
    	Find an item within the store.

    	drop: The function used to free the value (to ensure we get a
    	value of the correct type).

    	key: The key used to index the item.

    	type: Functions used to manipulate the key.

    	Returns NULL for not found, otherwise returns a pointer to the
    	value indexed by key to which a reference has been taken.
    )r   fz_find_itemr  s      r   rT  rT  G  s     tS$//r#   c                 ,    t        j                  |       S )zS
    Class-aware wrapper for `::fz_flush_output()`.
    	Flush unwritten data.
    )r   r}6  rI  s    r   r}6  r}6  X  r   r#   c                  *    t        j                         S )a  
    Class-aware wrapper for `::fz_flush_warnings()`.
    	Flush any repeated warnings.

    	Repeated warnings are buffered, counted and eventually printed
    	along with the number of repetitions. Call fz_flush_warnings
    	to force printing of the latest buffered warning and the
    	number of repetitions, for example to make sure that all
    	warnings are printed before exiting an application.
    )r   fz_flush_warningsr$   r#   r   rT  rT  _  s     ##%%r#   c                 ,    t        j                  |       S )z]
    Class-aware wrapper for `::fz_font_ascender()`.
    	Retrieve font ascender in ems.
    )r   rP2  r/  s    r   rP2  rP2  l  r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_font_bbox()`.
    	Retrieve the font bbox.

    	font: The font to query.

    	Returns the font bbox by value; it is valid only if
    	fz_font_flags(font)->invalid_bbox is zero.
    )r   rS2  r/  s    r   rS2  rS2  s  rk  r#   c                 ,    t        j                  |       S )z_
    Class-aware wrapper for `::fz_font_descender()`.
    	Retrieve font descender in ems.
    )r   rW2  r/  s    r   rW2  rW2    r  r#   c                 .    t        j                  | |      S )zi
    Class-aware wrapper for `::fz_font_digest()`.
    	Retrieve the MD5 digest for the font's data.
    )r   r[2  r(  s     r   r[2  r[2    s    
   v..r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_font_ft_face()`.
    	Retrieve the FT_Face handle
    	for the font.

    	font: The font to query

    	Returns the FT_Face handle for the font, or NULL
    	if not a freetype handled font. (Cast to void *
    	to avoid nasty header exposure).
    )r   r_2  r/  s    r   r_2  r_2    rq  r#   c                 ,    t        j                  |       S )zv
    Class-aware wrapper for `::fz_font_is_bold()`.
    	Query whether the font flags say that this font is bold.
    )r   rb2  r/  s    r   rb2  rb2        
 !!$''r#   c                 ,    t        j                  |       S )zz
    Class-aware wrapper for `::fz_font_is_italic()`.
    	Query whether the font flags say that this font is italic.
    )r   rf2  r/  s    r   rf2  rf2    r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_font_is_monospaced()`.
    	Query whether the font flags say that this font is monospaced.
    )r   ri2  r/  s    r   ri2  ri2    r  r#   c                 ,    t        j                  |       S )zx
    Class-aware wrapper for `::fz_font_is_serif()`.
    	Query whether the font flags say that this font is serif.
    )r   rl2  r/  s    r   rl2  rl2    r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_font_name()`.
    	Retrieve a pointer to the name of the font.

    	font: The font to query.

    	Returns a pointer to an internal copy of the font name.
    	Will never be NULL, but may be the empty string.
    )r   ro2  r/  s    r   ro2  ro2    rk  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_font_t3_procs()`.
    	Retrieve the Type3 procs
    	for a font.

    	font: The font to query

    	Returns the t3_procs pointer. Will be NULL for a
    	non type-3 font.
    )r   rr2  r/  s    r   rr2  rr2  é  r+  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_format_double()`.   Swig-friendly and typesafe way to do fz_snprintf(fmt, value). `fmt`
    must end with one of 'efg' otherwise we throw an exception.
    )r   fz_format_doublerA  s     r   rT  rT  Щ  s    
 ""3..r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_format_link_uri()`.
    	Format an internal link to a page number, location, and possible viewing parameters,
    	suitable for use with fz_create_link.

    	Returns a newly allocated string that the caller must free.
    )r   r0  rF  s     r   r0  r0  ש  s     $$S$//r#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_format_output_path()`.
    	create output file name using a template.

    	If the path contains %[0-9]*d, the first such pattern will be
    	replaced with the page number. If the template does not contain
    	such a pattern, the page number will be inserted before the
    	filename extension. If the template does not have a filename
    	extension, the page number will be added to the end.
    )r   fz_format_output_pathrI  s       r   rT  rT    s     ''dC>>r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_free()`.
    	Free a previously allocated block of memory.

    	fz_free(ctx, NULL) does nothing.

    	Never throws exceptions.
    )r   fz_freerL  s    r   rT  rT    s     >>!r#   c                 ,    t        j                  |       S )z}
    Class-aware wrapper for `::fz_free_aligned()`.
    	fz_free equivalent, for blocks allocated via fz_malloc_aligned.
    )r   fz_free_alignedrL  s    r   rT  rT        
 !!!$$r#   c                  *    t        j                         S )z)Class-aware wrapper for `::fz_ft_lock()`.)r   
fz_ft_lockr$   r#   r   rT  rT         r#   c                  *    t        j                         S )z.Class-aware wrapper for `::fz_ft_lock_held()`.)r   fz_ft_lock_heldr$   r#   r   rT  rT    r  r#   c                  *    t        j                         S )z+Class-aware wrapper for `::fz_ft_unlock()`.)r   fz_ft_unlockr$   r#   r   rT  rT    r  r#   c                 ,    t        j                  |       S r2  )r   r2  r2  s    r   r2  r2    r  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_gamma_pixmap()`.
    	Apply gamma correction to a pixmap. All components
    	of all pixels are modified (except alpha, which is unchanged).

    	gamma: The gamma value to apply; 1.0 for no change.
    )r   rV9  r[  s     r   rV9  rV9    s     !!#u--r#   c                 4    t        j                  | ||||      S )a[  
    Class-aware wrapper for `::fz_generate_transition()`.
    	Generate a frame of a transition.

    	tpix: Target pixmap
    	opix: Old pixmap
    	npix: New pixmap
    	time: Position within the transition (0 to 256)
    	trans: Transition details

    	Returns 1 if successfully generated a frame.

    	Note: Pixmaps must include alpha.
    )r   rY9  r_  s        r   rY9  rY9    s     ((tT4GGr#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_get_glyph_name()`.
    	Find the name of a glyph

    	font: The font to look for the glyph in.

    	glyph: The glyph id to look for.

    	buf: Pointer to a buffer for the name to be inserted into.

    	size: The size of the buffer.

    	If a font contains a name table, then the name of the glyph
    	will be returned in the supplied buffer. Otherwise a name
    	is synthesised. The name will be truncated to fit in
    	the buffer.
    )r   ru2  rg  s       r   ru2  ru2  +  s    $ ##D%d;;r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_get_glyph_name2()`.
    C++ alternative to fz_get_glyph_name() that returns information in a std::string.
    )r   rx2  rj  s     r   rx2  rx2  ?  s    
 $$T511r#   c                 4    t        j                  | ||||      S )a^  
    Class-aware wrapper for `::fz_get_pixmap_from_image()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_get_pixmap_from_image(::fz_image *image, const ::fz_irect *subarea, ::fz_matrix *ctm)` => `(fz_pixmap *, int w, int h)`

    	Called to get a handle to a pixmap from an image.

    	image: The image to retrieve a pixmap from.

    	subarea: The subarea of the image that we actually care about
    	(or NULL to indicate the whole image).

    	ctm: Optional, unless subarea is given. If given, then on
    	entry this is the transform that will be applied to the complete
    	image. It should be updated on exit to the transform to apply to
    	the given subarea of the image. This is used to calculate the
    	desired width/height for subsampling.

    	w: If non-NULL, a pointer to an int to be updated on exit to the
    	width (in pixels) that the scaled output will cover.

    	h: If non-NULL, a pointer to an int to be updated on exit to the
    	height (in pixels) that the scaled output will cover.

    	Returns a non NULL kept pixmap pointer. May throw exceptions.
    )r   rr3  rn  s        r   rr3  rr3  F  s    8 **5'31EEr#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_get_unscaled_pixmap_from_image()`.
    	Calls fz_get_pixmap_from_image() with ctm, subarea, w and h all set to NULL.
    )r   ru3  r  s    r   ru3  ru3  d  s    
 33E::r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_getopt()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_getopt(int nargc, const char *ostr)` => `(int, char *nargv)`

    	Identical to fz_getopt_long, but with a NULL longopts field, signifying no long
    	options.
    )r   	fz_getoptrs  s      r   rT  rT  k  s     E5$//r#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_getopt_long()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_getopt_long(int nargc, const char *ostr, const ::fz_getopt_long_options *longopts)` => `(int, char *nargv)`

    	Simple functions/variables for use in tools.

    	ostr = option string. Comprises single letter options, followed by : if there
    	is an argument to the option.

    	longopts: NULL (indicating no long options), or a pointer to an array of
    	longoptions, terminated by an entry with option == NULL.

    	In the event of matching a single char option, this function will normally
    	return the char. The exception to this is when the option requires an
    	argument and none is supplied; in this case we return ':'.

    	In the event of matching a long option, this function returns 0, with fz_optlong
    	set to point to the matching option.

    	A long option entry may be followed with : to indicate there is an argument to the
    	option. If the need for an argument is specified in this way, and no argument is
    	given, an error will be displayed and argument processing will stop. If an argument
    	is given, and the long option record contains a non-null flag pointer, then the code
    	will decode the argument and fill in that flag pointer. Specifically,
    	case-insensitive matches to 'yes', 'no', 'true' and 'false' will cause a value of 0
    	or 1 as appropriate to be written; failing this the arg will be interpreted as a
    	decimal integer using atoi.

    	A long option entry may be followed by an list of options (e.g. myoption=foo|bar|baz)
    	and the option will be passed to fz_opt_from_list. The return value of that will be
    	placed in fz_optitem. If the return value of that function is -1, then an error will
    	be displayed and argument processing will stop.

    	In the event of reaching the end of the arg list or '--', this function returns EOF.

    	In the event of failing to match anything, an error is printed, and we return '?'.

    	If an argument is expected for the option, then fz_optarg will be returned pointing
    	at the start of the argument. Examples of supported argument formats: '-r500', '-r 500',
    	'--resolution 500', '--resolution=500'.
    )r   fz_getopt_longry  s       r   rT  rT  w  s    X   tX>>r#   c                 ,    t        j                  |       S )zk
    Class-aware wrapper for `::fz_glyph_bbox()`.
    	Return the bounding box of the glyph in pixels.
    )r   r2  r}  s    r   r2  r2    s    
 &&r#   c                 ,    t        j                  |       S r2  )r   r2  r  s    r   r2  r2    rm  r#   c                 .    t        j                  | |      S )at  
    Class-aware wrapper for `::fz_glyph_cacheable()`.
    	Determine if a given glyph in a font
    	is cacheable. Certain glyphs in a type 3 font cannot safely
    	be cached, as their appearance depends on the enclosing
    	graphic state.

    	font: The font to look for the glyph in.

    	gif: The glyph to query.

    	Returns non-zero if cacheable, 0 if not.
    )r   r|2  r  s     r   r|2  r|2    s     $$T3//r#   c                 ,    t        j                  |       S )zg
    Class-aware wrapper for `::fz_glyph_height()`.
    	Return the height of the glyph in pixels.
    )r   r 3  r}  s    r   r 3  r 3    rS  r#   c                 ,    t        j                  |       S )z<Class-aware wrapper for `::fz_glyph_name_from_unicode_sc()`.)r   fz_glyph_name_from_unicode_scr  s    r   rT  rT  Ǫ  r"  r#   c                 ,    t        j                  |       S )ze
    Class-aware wrapper for `::fz_glyph_width()`.
    	Return the width of the glyph in pixels.
    )r   r3  r}  s    r   r3  r3  ˪  s    
   ''r#   c                  *    t        j                         S )z
    Class-aware wrapper for `::fz_graphics_aa_level()`.
    	Get the number of bits of antialiasing we are
    	using for graphics. Between 0 and 8.
    )r   fz_graphics_aa_levelr$   r#   r   rT  rT  Ҫ  s     &&((r#   c                  *    t        j                         S )z
    Class-aware wrapper for `::fz_graphics_min_line_width()`.
    	Get the minimum line width to be
    	used for stroked lines.

    	min_line_width: The minimum line width to use (in pixels).
    )r   fz_graphics_min_line_widthr$   r#   r   rT  rT  ڪ  s     ,,..r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_gridfit_matrix()`.
    	Grid fit a matrix.

    	as_tiled = 0 => adjust the matrix so that the image of the unit
    	square completely covers any pixel that was touched by the
    	image of the unit square under the original matrix.

    	as_tiled = 1 => adjust the matrix so that the corners of the
    	image of the unit square align with the closest integer corner
    	of the image of the unit square under the original matrix.
    )r   fz_gridfit_matrixr  s     r   rT  rT    s     ##Ha00r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_grisu()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_grisu(float f, char *s)` => `(int, int exp)`
    )r   fz_grisur  s      r   rT  rT    s     ??1a%%r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_grow_buffer()`.
    	Make some space within a buffer (i.e. ensure that
    	capacity > size).
    )r   r-  r{  s    r   r-  r-    r  r#   c                 .    t        j                  | |      S )a+  
    Class-aware wrapper for `::fz_has_archive_entry()`.
    	Check if entry by given name exists.

    	If named entry does not exist 0 will be returned, if it does
    	exist 1 is returned.

    	name: Entry name to look for, this must be an exact match to
    	the entry name in the archive.
    )r   r+  r  s     r   r+  r+    s     &&tT22r#   c                 0    t        j                  | ||      S )aR  
    Class-aware wrapper for `::fz_has_option()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_has_option(const char *opts, const char *key)` => `(int, const char *val)`

    	Look for a given option (key) in the opts string. Return 1 if
    	it has it, and update *val to point to the value within opts.
    )r   fz_has_optionr  s      r   rT  rT    s     c3//r#   c                 .    t        j                  | |      S )zc
    Class-aware wrapper for `::fz_has_permission()`.
    	Check permission flags on document.
    )r   r0  r  s     r   r0  r0        
 ##C++r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_hash_filter()`.
    	Iterate over the entries in a hash table, removing all the ones where callback returns true.
    	Does NOT free the value of the entry, so the caller is expected to take care of this.
    )r   r:3  r  s      r   r:3  r:3  $  s       x88r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_hash_find()`.
    	Search for a matching hash within the table, and return the
    	associated value.
    )r   r=3  r  s     r   r=3  r=3  ,  s     uc**r#   c                 0    t        j                  | ||      S )zh
    Class-aware wrapper for `::fz_hash_for_each()`.
    	Iterate over the entries in a hash table.
    )r   r@3  r  s      r   r@3  r@3  4  s    
 ""5%::r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_hash_insert()`.
    	Insert a new key/value pair into the hash table.

    	If an existing entry with the same key is found, no change is
    	made to the hash table, and a pointer to the existing value is
    	returned.

    	If no existing entry with the same key is found, ownership of
    	val passes in, key is copied, and NULL is returned.
    )r   rD3  r  s      r   rD3  rD3  ;  s       S11r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_hash_remove()`.
    	Remove the entry for a given key.

    	The value is NOT freed, so the caller is expected to take care
    	of this.
    )r   rG3  r  s     r   rG3  rG3  I  s       ,,r#   c                  *    t        j                         S )z
    Class-aware wrapper for `::fz_hb_lock()`.
    	Lock against Harfbuzz being called
    	simultaneously in several threads. This reuses
    	FZ_LOCK_FREETYPE.
    )r   
fz_hb_lockr$   r#   r   rT  rT  S  s     r#   c                  *    t        j                         S )z{
    Class-aware wrapper for `::fz_hb_unlock()`.
    	Unlock after a Harfbuzz call. This reuses
    	FZ_LOCK_FREETYPE.
    )r   fz_hb_unlockr$   r#   r   rT  rT  \  s       r#   c                 4    t        j                  | ||||      S )z
    Class-aware wrapper for `::fz_highlight_selection()`.
    	Return a list of quads to highlight lines inside the selection
    	points.
    )r   r<  r  s        r   r<  r<  d  s     ((q!UIFFr#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_highlight_selection2()`.
    C++ alternative to fz_highlight_selection() that returns quads in a
    std::vector.
    )r   r<  r  s       r   r<  r<  l  s     ))$1i@@r#   c                  *    t        j                         S )z.Class-aware wrapper for `::fz_ignore_error()`.)r   fz_ignore_errorr$   r#   r   rT  rT  t  r  r#   c                 0    t        j                  | ||      S rV/  )r   rX/  r  s      r   rX/  rX/  x  s      dC00r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_image_orientation()`.
    	Request the natural orientation of an image.

    	This is for images (such as JPEG) that can contain internal
    	specifications of rotation/flips. This is ignored by all the
    	internal decode/rendering routines, but can be used by callers
    	(such as the image document handler) to respect such
    	specifications.

    	The values used by MuPDF are as follows, with the equivalent
    	Exif specifications given for information:

    	0: Undefined
    	1: 0 degree ccw rotation. (Exif = 1)
    	2: 90 degree ccw rotation. (Exif = 8)
    	3: 180 degree ccw rotation. (Exif = 3)
    	4: 270 degree ccw rotation. (Exif = 6)
    	5: flip on X. (Exif = 2)
    	6: flip on X, then rotate ccw by 90 degrees. (Exif = 5)
    	7: flip on X, then rotate ccw by 180 degrees. (Exif = 4)
    	8: flip on X, then rotate ccw by 270 degrees. (Exif = 7)
    )r   rx3  r  s    r   rx3  rx3  |  s    0 &&u--r#   c                 ,    t        j                  |       S rz3  )r   r|3  r  s    r   r|3  r|3    r"  r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_image_resolution()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_image_resolution(::fz_image *image)` => `(int xres, int yres)`

    	Request the natural resolution
    	of an image.

    	xres, yres: Pointers to ints to be updated with the
    	natural resolution of an image (or a sensible default
    	if not encoded).
    )r   r3  r  s      r   r3  r3    s     %%eT488r#   c                 ,    t        j                  |       S )zl
    Class-aware wrapper for `::fz_image_size()`.
    	Return the size of the storage used by an image.
    )r   r3  r  s    r   r3  r3    s    
 ##r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_image_type_name()`.
    	Map from FZ_IMAGE_* value to string.

    	The returned string is static and therefore must not be freed.
    )r   fz_image_type_namer  s    r   rT  rT    s     $$T**r#   c                 .    t        j                  | |      S )a&  
    Class-aware wrapper for `::fz_include_point_in_rect()`.
    	Expand a bbox to include a given point.
    	To create a rectangle that encompasses a sequence of points, the
    	rectangle must first be set to be the empty rectangle at one of
    	the points before including the others.
    )r   ra;  r  s     r   ra;  ra;    s     **1a00r#   c                 .    t        j                  | |      S r3?  )r   r5?  r  s     r   r5?  r5?  ī  r)  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_install_load_system_font_funcs()`.
    	Install functions to allow MuPDF to request fonts from the
    	system.

    	Only one set of hooks can be in use at a time.
    )r   !fz_install_load_system_font_funcsr  s      r   rT  rT  ȫ  s     33AujIIr#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_install_load_system_font_funcs2()`.
    Alternative to fz_install_load_system_font_funcs() that takes args in a
    struct, to allow use from Python/C# via Swig Directors.
    )r   r3  r  s    r   r3  r3  ҫ       44T::r#   c                 .    t        j                  | |      S r4  )r   r4  r  s     r   r4  r4  ګ  s    %%dA..r#   c                 ,    t        j                  |       S r4  )r   r4  r  s    r   r4  r4  ޫ  r#  r#   c                 ,    t        j                  |       S r4  )r   r4  r  s    r   r4  r4    r#  r#   c                 .    t        j                  | |      S r/4  )r   r14  r  s     r   r14  r14    s    $$T1--r#   c                 ,    t        j                  |       S r44  )r   r64  r  s    r   r64  r64    r  r#   c                 ,    t        j                  |       S r84  )r   r:4  r  s    r   r:4  r:4    r  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_intersect_irect()`.
    	Compute intersection of two bounding boxes.

    	Similar to fz_intersect_rect but operates on two bounding
    	boxes instead of two rectangles.
    )r   r4  r  s     r   r4  r4    s     $$Q**r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_intersect_rect()`.
    	Compute intersection of two rectangles.

    	Given two rectangles, update the first to be the smallest
    	axis-aligned rectangle that covers the area covered by both
    	given rectangles. If either rectangle is empty then the
    	intersection is also empty. If either rectangle is infinite
    	then the intersection is simply the non-infinite rectangle.
    	Should both rectangles be infinite, then the intersection is
    	also infinite.
    )r   rd;  r  s     r   rd;  rd;    s     ##Aq))r#   c                 .    t        j                  | |      S r_4  )r   ra4  r  s     r   ra4  ra4    r  r#   c                 ,    t        j                  |       S rc4  )r   re4  r  s    r   re4  re4    r4  r#   c                 ,    t        j                  |       S rh4  )r   rj4  r  s    r   rj4  rj4    r4  r#   c                 ,    t        j                  |       S )zl
    Class-aware wrapper for `::fz_invert_bitmap()`.
    	Invert bitmap.

    	Never throws exceptions.
    )r   rs,  r  s    r   rs,  rs,         ""3''r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_invert_matrix()`.
    	Create an inverse matrix.

    	matrix: Matrix to invert. A degenerate matrix, where the
    	determinant is equal to zero, can not be inverted and the
    	original matrix is returned instead.

    	Returns inverse.
    )r   r5  r  s    r   r5  r5     s     ""6**r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_invert_pixmap()`.
    	Invert all the pixels in a pixmap. All components (process and
    	spots) of all pixels are inverted (except alpha, which is
    	unchanged).
    )r   r\9  r[  s    r   r\9  r\9  -  rT  r#   c                 ,    t        j                  |       S )zt
    Class-aware wrapper for `::fz_invert_pixmap_alpha()`.
    	Invert the alpha fo all the pixels in a pixmap.
    )r   r_9  r[  s    r   r_9  r_9  6  r  r#   c                 ,    t        j                  |       S )aa  
    Class-aware wrapper for `::fz_invert_pixmap_luminance()`.
    	Transform the pixels in a pixmap so that luminance of each
    	pixel is inverted, and the chrominance remains unchanged (as
    	much as accuracy allows).

    	All components of all pixels are inverted (except alpha, which
    	is unchanged). Only supports Grey and RGB bitmaps.
    )r   rb9  r[  s    r   rb9  rb9  =  r,  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_invert_pixmap_raw()`.
    	Invert all the pixels in a non-premultiplied pixmap in a
    	very naive manner.
    )r   re9  r[  s    r   re9  re9  I  r.  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_invert_pixmap_rect()`.
    	Invert all the pixels in a given rectangle of a (premultiplied)
    	pixmap. All components of all pixels in the rectangle are
    	inverted (except alpha, which is unchanged).
    )r   ri9  r  s     r   ri9  ri9  Q  s     ''t44r#   c                 ,    t        j                  |       S )au  
    Class-aware wrapper for `::fz_irect_from_rect()`.
    	Convert a rect into the minimal bounding box
    	that covers the rectangle.

    	Coordinates in a bounding box are integers, so rounding of the
    	rects coordinates takes place. The top left corner is rounded
    	upwards and left while the bottom right corner is rounded
    	downwards and to the right.
    )r   rg;  r  s    r   rg;  rg;  Z  s     $$T**r#   c                 ,    t        j                  |       S )zu
    Class-aware wrapper for `::fz_irect_height()`.
    	Return the height of an irect. Invalid irects return 0.
    )r   r4  r  s    r   r4  r4  g  rT  r#   c                 ,    t        j                  |       S )zs
    Class-aware wrapper for `::fz_irect_width()`.
    	Return the width of an irect. Invalid irects return 0.
    )r   r4  r  s    r   r4  r4  n  s    
   ##r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_is_cfb_archive()`.
    	Detect if stream object is a cfb archive.

    	Assumes that the stream object is seekable.
    )r   r=  r  s    r   r=  r=  u       ##D))r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_is_directory()`.
    	Determine if a given path is a directory.

    	In the case of the path not existing, or having no access
    	we will return 0.
    )r   fz_is_directoryr  s    r   r U  r U  ~  rM  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_is_document_reflowable()`.
    	Is the document reflowable.

    	Returns 1 to indicate reflowable documents, otherwise 0.
    )r   r0  rN   s    r   r0  r0         ++C00r#   c                 ,    t        j                  |       S r4  )r   r4  r  s    r   r4  r4    r6  r#   c                 ,    t        j                  |       S )zO
    Class-aware wrapper for `::fz_is_empty_quad()`.
    	Is a quad empty?
    )r   r;  r%  s    r   r;  r;    r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_is_empty_rect()`.
    	Check if rectangle is empty.

    	An empty rectangle is defined as one whose area is zero.
    	All invalid rectangles are empty.
    )r   rj;  r  s    r   rj;  rj;    s     ""1%%r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_is_eof()`.
    	Query if the stream has reached EOF (during normal bytewise
    	reading).

    	See fz_is_eof_bits for the equivalent function for bitwise
    	reading.
    )r   r=  r  s    r   r=  r=    s     C  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_is_eof_bits()`.
    	Query if the stream has reached EOF (during bitwise
    	reading).

    	See fz_is_eof for the equivalent function for bytewise
    	reading.
    )r   r=  r  s    r   r=  r=           %%r#   c                 ,    t        j                  |       S )a   
    Class-aware wrapper for `::fz_is_external_link()`.
    	Query whether a link is external to a document (determined by
    	uri containing a ':', intended to match with '://' which
    	separates the scheme from the scheme specific parts in URIs).
    )r   fz_is_external_linkr2  s    r   r
U  r
U    r  r#   c                 ,    t        j                  |       S r5  )r   r5  r5  s    r   r5  r5  Ŭ  r'  r#   c                 ,    t        j                  |       S )zr
    Class-aware wrapper for `::fz_is_infinite_irect()`.
    	Check if an integer rectangle
    	is infinite.
    )r   r4  r  s    r   r4  r4  ɬ  s     &&q))r#   c                 ,    t        j                  |       S )zU
    Class-aware wrapper for `::fz_is_infinite_quad()`.
    	Is a quad infinite?
    )r   r;  r%  s    r   r;  r;  Ѭ  r'  r#   c                 ,    t        j                  |       S )za
    Class-aware wrapper for `::fz_is_infinite_rect()`.
    	Check if rectangle is infinite.
    )r   rn;  r  s    r   rn;  rn;  ج  r'  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_is_libarchive_archive()`.
    	Detect if stream object is an archive supported by libarchive.

    	Assumes that the stream object is seekable.
    )r   r=  r  s    r   r=  r=  ߬       **400r#   c                 ,    t        j                  |       S )z
     Class-aware wrapper for `::fz_is_page_range()`.
    		Check and parse string into page ranges:
    ,?(-?+|N)(-(-?+|N))?/
    )r   fz_is_page_ranger;  s    r   rU  rU    s     ""1%%r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_is_pixmap_monochrome()`.
    	Check if the pixmap is a 1-channel image containing samples with
    	only values 0 and 255
    )r   rl9  rF  s    r   rl9  rl9    r  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_is_point_inside_irect()`.
    	Inclusion test for irects. (Rect is assumed to be open, i.e.
    	top right corner is not included).
    )r   fz_is_point_inside_irectrI  s      r   rU  rU    s     **1a33r#   c                 .    t        j                  | |      S )z_
    Class-aware wrapper for `::fz_is_point_inside_quad()`.
    	Inclusion test for quads.
    )r   r^:  rL  s     r   r^:  r^:     s    
 ))!Q//r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_is_point_inside_rect()`.
    	Inclusion test for rects. (Rect is assumed to be open, i.e.
    	top right corner is not included).
    )r   ra:  rO  s     r   ra:  ra:    s     ))!Q//r#   c                 ,    t        j                  |       S )z)Class-aware wrapper for `::fz_is_pow2()`.)r   
fz_is_pow2r
  s    r   rU  rU    rA  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_is_quad_inside_quad()`.
    	Inclusion test for quad in quad.

    	This may break down if quads are not 'well formed'.
    )r   r;  rU  s     r   r;  r;    s     ((::r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_is_quad_intersecting_quad()`.
    	Intersection test for quads.

    	This may break down if quads are not 'well formed'.
    )r   r;  r  s     r   r;  r;    s     ..q!44r#   c                 ,    t        j                  |       S )ap  
    Class-aware wrapper for `::fz_is_rectilinear()`.
    	Check if a transformation is rectilinear.

    	Rectilinear means that no shearing is present and that any
    	rotations present are a multiple of 90 degrees. Usually this
    	is used to make sure that axis-aligned rectangles before the
    	transformation are still axis-aligned rectangles afterwards.
    )r   r5  r5  s    r   r5  r5  %  s     ##A&&r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_is_tar_archive()`.
    	Detect if stream object is a tar archive.

    	Assumes that the stream object is seekable.
    )r   r=  r  s    r   r=  r=  1  rT  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_is_valid_blend_colorspace()`.
    	Check to see that a colorspace is appropriate to be used as
    	a blending space (i.e. only grey, rgb or cmyk).
    )r   r-  r  s    r   r-  r-  :  s     ..r22r#   c                 ,    t        j                  |       S )zg
    Class-aware wrapper for `::fz_is_valid_irect()`.
    	Check if an integer rectangle is valid.
    )r   r4  r  s    r   r4  r4  B  r  r#   c                 ,    t        j                  |       S )zO
    Class-aware wrapper for `::fz_is_valid_quad()`.
    	Is a quad valid?
    )r   r ;  r%  s    r   r ;  r ;  I  r  r#   c                 ,    t        j                  |       S )z[
    Class-aware wrapper for `::fz_is_valid_rect()`.
    	Check if rectangle is valid.
    )r   rq;  r  s    r   rq;  rq;  P  r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_is_zip_archive()`.
    	Detect if stream object is a zip archive.

    	Assumes that the stream object is seekable.
    )r   r=  r  s    r   r=  r=  W  rT  r#   c                 ,    t        j                  |       S )z8Class-aware wrapper for `::fz_iso8859_1_from_unicode()`.)r   fz_iso8859_1_from_unicoderl  s    r   r$U  r$U  `  r+  r#   c                 ,    t        j                  |       S )z8Class-aware wrapper for `::fz_iso8859_7_from_unicode()`.)r   fz_iso8859_7_from_unicoderl  s    r   r&U  r&U  d  r+  r#   c                 ,    t        j                  |       S )zw
    Class-aware wrapper for `::fz_jbig2_globals_data()`.
    	Return buffer containing jbig2 globals data stream.
    )r   r4  rR  s    r   r4  r4  h  s    
 ''00r#   c                 ,    t        j                  |       S )z4Class-aware wrapper for `::fz_koi8u_from_unicode()`.)r   fz_koi8u_from_unicoderl  s    r   r)U  r)U  o  r,+  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_last_page()`.
    	Function to get the location for the last page in the document.
    	Using this can be far more efficient in some cases than calling
    	fz_count_pages and using the page number.
    )r   r0  rN   s    r   r0  r0  s       s##r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_layout_document()`.
    	Layout reflowable document types.

    	w, h: Page size in points.
    	em: Default font size in points.
    )r   r0  r  s       r   r0  r0  |  s     $$S!Q33r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_lineto()`.
    	Append a 'lineto' command to an open path.

    	path: The path to modify.

    	x, y: The coordinate to line to.

    	Throws exceptions on failure to allocate, or attempting to
    	modify a packed path.
    )r   r]8  r  s      r   r]8  r]8    s     D!Q''r#   c                 .    t        j                  | |      S )aR  
    Class-aware wrapper for `::fz_list_archive_entry()`.
    	Get listed name of entry position idx.

    	idx: Must be a value >= 0 < return value from
    	fz_count_archive_entries. If not in range NULL will be
    	returned.

    	May throw an exception if this type of archive cannot list the
    	entries (such as a directory).
    )r   r+  r  s     r   r+  r+    s     ''c22r#   c                 0    t        j                  | ||      S )z3Class-aware wrapper for `::fz_load_bmp_subimage()`.)r   fz_load_bmp_subimager  s      r   r0U  r0U        &&sC::r#   c                 .    t        j                  | |      S )z9Class-aware wrapper for `::fz_load_bmp_subimage_count()`.)r   fz_load_bmp_subimage_countr  s     r   r3U  r3U    r`$  r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_load_chapter_page()`.
    	Load a page.

    	After fz_load_page is it possible to retrieve the size of the
    	page using fz_bound_page, or to render the page using
    	fz_run_page_*. Free the page by calling fz_drop_page.

    	chapter: chapter number, 0 is the first chapter of the document.
    	number: page number, 0 is the first page of the chapter.
    )r   r0  r  s      r   r0  r0    s     &&sGT::r#   c                 4    t        j                  | ||||      S )a2  
    Class-aware wrapper for `::fz_load_fallback_font()`.
    	Try to load a fallback font for the
    	given combination of font attributes. Whether a font is
    	present or not will depend on the configuration in which
    	MuPDF is built.

    	script: The script desired (e.g. UCDN_SCRIPT_KATAKANA).

    	language: The language desired (e.g. FZ_LANG_ja).

    	serif: 1 if serif desired, 0 otherwise.

    	bold: 1 if bold desired, 0 otherwise.

    	italic: 1 if italic desired, 0 otherwise.

    	Returns a new font handle, or NULL if not available.
    )r   fz_load_fallback_fontr  s        r   r6U  r6U    s    ( ''%vNNr#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_load_jbig2_globals()`.
    	Create a jbig2 globals record from a buffer.

    	Immutable once created.
    )r   r"-  r{  s    r   r"-  r"-  έ  s     '',,r#   c                 0    t        j                  | ||      S )z5Class-aware wrapper for `::fz_load_jbig2_subimage()`.)r   fz_load_jbig2_subimager  s      r   r9U  r9U  ׭  s    ((c8<<r#   c                 .    t        j                  | |      S )z;Class-aware wrapper for `::fz_load_jbig2_subimage_count()`.)r   fz_load_jbig2_subimage_countr  s     r   r;U  r;U  ۭ      ..sC88r#   c                 0    t        j                  | ||      S )zJ
    Class-aware wrapper for `::fz_load_jpx()`.
    	Exposed for PDF.
    )r   fz_load_jpxr  s      r   r>U  r>U  ߭  s    
 dD"--r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_load_links()`.
    	Load the list of links for a page.

    	Returns a linked list of all the links on the page, each with
    	its clickable region and link destination. Each link is
    	reference counted so drop and free the list of links by
    	calling fz_drop_link on the pointer return from fz_load_links.

    	page: Page obtained from fz_load_page.
    )r   r7  r  s    r   r7  r7    s     %%r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_load_outline()`.
    	Load the hierarchical document outline.

    	Should be freed by fz_drop_outline.
    )r   r0  rN   s    r   r0  r0    r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_load_outline_from_iterator()`.
    	Routine to implement the old Structure based API from an iterator.
    )r   rC6  rg  s    r   rC6  rC6        
 //55r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_load_page()`.
    	Load a given page number from a document. This may be much less
    	efficient than loading by location (chapter+page) for some
    	document types.
    )r   r0  r  s     r   r0  r0    s     sF++r#   c                 0    t        j                  | ||      S )z3Class-aware wrapper for `::fz_load_pnm_subimage()`.)r   fz_load_pnm_subimager  s      r   rEU  rEU    r1U  r#   c                 .    t        j                  | |      S )z9Class-aware wrapper for `::fz_load_pnm_subimage_count()`.)r   fz_load_pnm_subimage_countr  s     r   rGU  rGU    r`$  r#   c                 0    t        j                  | ||      S )at  
    Class-aware wrapper for `::fz_load_system_cjk_font()`.
    	Attempt to load a given font from
    	the system.

    	name: The name of the desired font.

    	ordering: The ordering to load the font from (e.g. FZ_ADOBE_KOREA)

    	serif: 1 if serif desired, 0 otherwise.

    	Returns a new font handle, or NULL if no matching font was found
    	(or on error).
    )r   fz_load_system_cjk_fontr  s      r   rIU  rIU    s     ))$%@@r#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_load_system_font()`.
    	Attempt to load a given font from the system.

    	name: The name of the desired font.

    	bold: 1 if bold desired, 0 otherwise.

    	italic: 1 if italic desired, 0 otherwise.

    	needs_exact_metrics: 1 if an exact metrical match is required,
    	0 otherwise.

    	Returns a new font handle, or NULL if no matching font was found
    	(or on error).
    )r   fz_load_system_fontr  s       r   rKU  rKU  &  s    " %%dD&:MNNr#   c                 0    t        j                  | ||      S )z4Class-aware wrapper for `::fz_load_tiff_subimage()`.)r   fz_load_tiff_subimager  s      r   rMU  rMU  9  s    ''S(;;r#   c                 .    t        j                  | |      S )zZ
    Class-aware wrapper for `::fz_load_tiff_subimage_count()`.
    	Exposed for CBZ.
    )r   fz_load_tiff_subimage_countr  s     r   rOU  rOU  =  s    
 --c377r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_load_user_css()`.
    	Set the user stylesheet by loading the source from a file.
    	If the file is missing, do nothing.
    )r   fz_load_user_cssr  s    r   rQU  rQU  D  s     ""8,,r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_location_from_page_number()`.
    	Converts from page number to chapter+page. This may cause many
    	chapters to be laid out in order to calculate the number of
    	pages within those chapters.
    )r   r0  r  s     r   r0  r0  L  s     ..sF;;r#   c                 ,    t        j                  |       S )z\
    Class-aware wrapper for `::fz_lock()`.
    	Lock one of the user supplied mutexes.
    )r   fz_lockr  s    r   rTU  rTU  U  s    
 >>$r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_log_error()`.
    	Log a (preformatted) string to the registered
    	error stream (stderr by default).
    )r   fz_log_errorr  s    r   rVU  rVU  \  s     s##r#   c                 .    t        j                  | |      S )a;  
    Class-aware wrapper for `::fz_lookup_base14_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_lookup_base14_font(const char *name)` => `(const unsigned char *, int len)`

    	Search the builtin base14 fonts for a match.
    	Whether a given font is present or not will depend on the
    	configuration in which MuPDF is built.

    	name: The name of the font desired.

    	len: Pointer to a place to receive the length of the discovered
    	font buffer.

    	Returns a pointer to the font file data, or NULL if not present.
    )r   fz_lookup_base14_fontr  s     r   rXU  rXU  d  s    $ ''c22r#   c                 ,    t        j                  |       S )z}
    Class-aware wrapper for `::fz_lookup_blendmode()`.
    	Map from (case sensitive) blend mode string to enumeration.
    )r   fz_lookup_blendmoder  s    r   rZU  rZU  x  r   r#   c                 .    t        j                  | |      S )zl
    Class-aware wrapper for `::fz_lookup_bookmark()`.
    	Find a bookmark and return its page number.
    )r   r0  r  s     r   r0  r0    s    
 $$S$//r#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_lookup_builtin_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_lookup_builtin_font(const char *name, int bold, int italic)` => `(const unsigned char *, int len)`

    	Search the builtin fonts for a match.
    	Whether a given font is present or not will depend on the
    	configuration in which MuPDF is built.

    	name: The name of the font desired.

    	bold: 1 if bold desired, 0 otherwise.

    	italic: 1 if italic desired, 0 otherwise.

    	len: Pointer to a place to receive the length of the discovered
    	font buffer.

    	Returns a pointer to the font file data, or NULL if not present.
    )r   fz_lookup_builtin_fontr!  s       r   r]U  r]U    s    , ((tVSAAr#   c                 0    t        j                  | ||      S )aQ  
    Class-aware wrapper for `::fz_lookup_cjk_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_lookup_cjk_font(int ordering)` => `(const unsigned char *, int len, int index)`

    	Search the builtin cjk fonts for a match.
    	Whether a font is present or not will depend on the
    	configuration in which MuPDF is built.

    	ordering: The desired ordering of the font (e.g. FZ_ADOBE_KOREA).

    	len: Pointer to a place to receive the length of the discovered
    	font buffer.

    	Returns a pointer to the font file data, or NULL if not present.
    )r   fz_lookup_cjk_fontr$  s      r   r_U  r_U    s    $ $$XsE::r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_lookup_cjk_font_by_language()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_lookup_cjk_font_by_language(const char *lang)` => `(const unsigned char *, int len, int subfont)`

    	Search the builtin cjk fonts for a match for a given language.
    	Whether a font is present or not will depend on the
    	configuration in which MuPDF is built.

    	lang: Pointer to a (case sensitive) language string (e.g.
    	"ja", "ko", "zh-Hant" etc).

    	len: Pointer to a place to receive the length of the discovered
    	font buffer.

    	subfont: Pointer to a place to store the subfont index of the
    	discovered font.

    	Returns a pointer to the font file data, or NULL if not present.
    )r   fz_lookup_cjk_font_by_languager'  s      r   raU  raU    s    , 00sGDDr#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_lookup_cjk_ordering_by_language()`.
    	Return the matching FZ_ADOBE_* ordering
    	for the given language tag, such as "zh-Hant", "zh-Hans", "ja", or "ko".
    )r   "fz_lookup_cjk_ordering_by_languager  s    r   rcU  rcU  ʮ  rT  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_lookup_image_type()`.
    	Map from (case sensitive) image type string to FZ_IMAGE_*
    	type value.
    )r   fz_lookup_image_typer  s    r   reU  reU  Ү  s     &&t,,r#   c                 2    t        j                  | |||      S )a:  
    Class-aware wrapper for `::fz_lookup_metadata()`.
    	Retrieve document meta data strings.

    	doc: The document to query.

    	key: Which meta data key to retrieve...

    	Basic information:
    		'format'	-- Document format and version.
    		'encryption'	-- Description of the encryption used.

    	From the document information dictionary:
    		'info:Title'
    		'info:Author'
    		'info:Subject'
    		'info:Keywords'
    		'info:Creator'
    		'info:Producer'
    		'info:CreationDate'
    		'info:ModDate'

    	buf: The buffer to hold the results (a nul-terminated UTF-8
    	string).

    	size: Size of 'buf'.

    	Returns the number of bytes need to store the string plus terminator
    	(will be larger than 'size' if the output was truncated), or -1 if the
    	key is not recognized or found.
    )r   r0  r/  s       r   r0  r0  ڮ  s    @ $$S#sD99r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_lookup_metadata2()`.
    C++ alternative to `fz_lookup_metadata()` that returns a `std::string`
    or calls `fz_throw()` if not found.
    )r   r0  r2  s     r   r0  r0    s     %%c3//r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_lookup_noto_boxes_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_lookup_noto_boxes_font()` => `(const unsigned char *, int len)`
    )r   fz_lookup_noto_boxes_fontr5  s    r   riU  riU    rU  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_lookup_noto_emoji_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_lookup_noto_emoji_font()` => `(const unsigned char *, int len)`
    )r   fz_lookup_noto_emoji_fontr5  s    r   rkU  rkU    rU  r#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_lookup_noto_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_lookup_noto_font(int script, int lang)` => `(const unsigned char *, int len, int subfont)`

    	Search the builtin noto fonts for a match.
    	Whether a font is present or not will depend on the
    	configuration in which MuPDF is built.

    	script: The script desired (e.g. UCDN_SCRIPT_KATAKANA).

    	lang: The language desired (e.g. FZ_LANG_ja).

    	len: Pointer to a place to receive the length of the discovered
    	font buffer.

    	Returns a pointer to the font file data, or NULL if not present.
    )r   fz_lookup_noto_fontr:  s       r   rmU  rmU    s    ( %%fdCAAr#   c                 ,    t        j                  |       S )aj  
    Class-aware wrapper for `::fz_lookup_noto_math_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_lookup_noto_math_font()` => `(const unsigned char *, int len)`

    	Search the builtin noto fonts specific symbol fonts.
    	Whether a font is present or not will depend on the
    	configuration in which MuPDF is built.
    )r   fz_lookup_noto_math_fontr5  s    r   roU  roU  ,  s     **3//r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_lookup_noto_music_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_lookup_noto_music_font()` => `(const unsigned char *, int len)`
    )r   fz_lookup_noto_music_fontr5  s    r   rqU  rqU  9  rU  r#   c                 .    t        j                  | |      S )a
  
    Class-aware wrapper for `::fz_lookup_noto_stem_from_script()`.
    	Look up the Noto font file name for a given script.
    	From the returned font stem, you can look for Noto fonts on the system in the form:
    		Noto(Sans|Serif)${STEM}-Regular.(otf|ttf)
    )r   fz_lookup_noto_stem_from_scriptrA  s     r   rsU  rsU  B  s     11&(CCr#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_lookup_noto_symbol1_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_lookup_noto_symbol1_font()` => `(const unsigned char *, int len)`
    )r   fz_lookup_noto_symbol1_fontr5  s    r   ruU  ruU  K       --c22r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_lookup_noto_symbol2_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_lookup_noto_symbol2_font()` => `(const unsigned char *, int len)`
    )r   fz_lookup_noto_symbol2_fontr5  s    r   rxU  rxU  T  rvU  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_lookup_rendering_intent()`.
    	Map from (case sensitive) rendering intent string to enumeration
    	value.
    )r   fz_lookup_rendering_intentr  s    r   rzU  rzU  ]  s     ,,T22r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_make_bookmark()`.
    	Create a bookmark for the given page, which can be used to find
    	the same location after the document has been laid out with
    	different parameters.
    )r   fz_make_bookmarkrB  s     r   r|U  r|U  e  rFT  r#   c                 2    t        j                  | |||      S )z,Class-aware wrapper for `::fz_make_irect()`.)r   fz_make_irectrM  s       r   r~U  r~U  n  s    BB//r#   c                 .    t        j                  | |      S )zc
    Class-aware wrapper for `::fz_make_location()`.
    	Simple constructor for fz_locations.
    )r   fz_make_locationrU  s     r   rU  rU  r  s    
 ""7D11r#   c                 6    t        j                  | |||||      S )z-Class-aware wrapper for `::fz_make_matrix()`.)r   fz_make_matrixrX  s         r   rU  rU  y  s      Aq!Q22r#   c                 .    t        j                  | |      S )z,Class-aware wrapper for `::fz_make_point()`.)r   fz_make_pointr[  s     r   rU  rU  }  r(  r#   c           
      :    t        j                  | |||||||      S )zd
    Class-aware wrapper for `::fz_make_quad()`.
    	Inline convenience construction function.
    )r   fz_make_quadr^  s           r   rU  rU    s#    
 tT4tT4NNr#   c                 2    t        j                  | |||      S )z+Class-aware wrapper for `::fz_make_rect()`.)r   fz_make_rectrM  s       r   rU  rU    s    r2r2..r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_malloc()`.
    	Allocate uninitialized memory of a given size.
    	Does NOT clear the memory!

    	May return NULL for size = 0.

    	Throws exception in the event of failure to allocate.
    )r   	fz_mallocr  s    r   rU  rU    s     D!!r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_malloc_aligned()`.
    	fz_malloc equivalent, except that the block is guaranteed aligned.
    	Block must be freed later using fz_free_aligned.
    )r   fz_malloc_alignedrn  s     r   rU  rU    s     ##D%00r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_malloc_no_throw()`.
    	fz_malloc equivalent that returns NULL rather than throwing
    	exceptions.
    )r   fz_malloc_no_throwr  s    r   rU  rU    s     $$T**r#   c                 ,    t        j                  |       S )zm
    Class-aware wrapper for `::fz_matrix_expansion()`.
    	Calculate average scaling factor of matrix.
    )r   r5  r5  s    r   r5  r5    r'  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_matrix_max_expansion()`.
    	Find the largest expansion performed by this matrix.
    	(i.e. max(abs(m.a),abs(m.b),abs(m.c),abs(m.d))
    )r   r5  r5  s    r   r5  r5    r9  r#   c                 .    t        j                  | |      S )z%Class-aware wrapper for `::fz_max()`.)r   fz_maxr  s     r   rU  rU        ==Ar#   c                 .    t        j                  | |      S )z&Class-aware wrapper for `::fz_maxi()`.)r   fz_maxir  s     r   rU  rU        >>!Qr#   c                 .    t        j                  | |      S )z(Class-aware wrapper for `::fz_maxi64()`.)r   	fz_maxi64r  s     r   rU  rU    rx  r#   c                 .    t        j                  | |      S )z&Class-aware wrapper for `::fz_maxz()`.)r   fz_maxzr  s     r   rU  rU  ï  rU  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_md5_buffer()`.
    	Create an MD5 digest from buffer contents.

    	Never throws exceptions.
    )r   r&-  r  s     r   r&-  r&-  ǯ  s     //r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_md5_final()`.
    	MD5 finalization. Ends an MD5 message-digest operation, writing
    	the message digest and zeroizing the context.

    	Never throws an exception.
    )r   r5  r  s     r   r5  r5  Я  s     uf--r#   c                 ,    t        j                  |       S )z~
    Class-aware wrapper for `::fz_md5_final2()`.
    C++ alternative to fz_md5_final() that returns the digest by value.
    )r   r5  r  s    r   r5  r5  گ  rx  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_md5_init()`.
    	MD5 initialization. Begins an MD5 operation, writing a new
    	context.

    	Never throws an exception.
    )r   r5  r  s    r   r5  r5    s     e$$r#   c                 .    t        j                  | |      S rn9  )r   rp9  r  s     r   rp9  rp9    s    //r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_md5_pixmap2()`.
    C++ alternative to `fz_md5_pixmap()` that returns the digest by value.
    )r   rt9  rF  s    r   rt9  rt9    s    
   ((r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_md5_update()`.
    	MD5 block update operation. Continues an MD5 message-digest
    	operation, processing another message block, and updating the
    	context.

    	Never throws an exception.
    )r   r5  r  s      r   r5  r5    s     ue44r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_md5_update_int64()`.
    	MD5 block update operation. Continues an MD5 message-digest
    	operation, processing an int64, and updating the context.

    	Never throws an exception.
    )r   r5  r  s     r   r5  r5    s     %%eQ//r#   c           	      8    t        j                  | ||||||      S )a  
    Class-aware wrapper for `::fz_measure_string()`.
    	Measure the advance width of a UTF8 string should it be added to a text object.

    	This uses the same layout algorithms as fz_show_string, and can be used
    	to calculate text alignment adjustments.
    )r   r2  r  s          r   r2  r2    s"     ##IsAuj*V^__r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_memmem()`.
    	Find the start of the first occurrence of the substring needle in haystack.
    )r   	fz_memmemr  s       r   rU  rU    s    
 Hk69EEr#   c                 .    t        j                  | |      S )zg
    Class-aware wrapper for `::fz_memrnd()`.
    	Fill block with len bytes of pseudo-randomness.
    )r   	fz_memrndr  s     r   rU  rU    s    
 E3''r#   c                 .    t        j                  | |      S )z%Class-aware wrapper for `::fz_min()`.)r   fz_minr  s     r   rU  rU  #  rU  r#   c                 .    t        j                  | |      S )z&Class-aware wrapper for `::fz_mini()`.)r   fz_minir  s     r   rU  rU  '  rU  r#   c                 .    t        j                  | |      S )z(Class-aware wrapper for `::fz_mini64()`.)r   	fz_mini64r  s     r   rU  rU  +  rx  r#   c                 .    t        j                  | |      S )z&Class-aware wrapper for `::fz_minz()`.)r   fz_minzr  s     r   rU  rU  /  rU  r#   c                 ,    t        j                  |       S )z'Class-aware wrapper for `::fz_mkdir()`.)r   fz_mkdirr  s    r   rU  rU  3  s    ??4  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_morph_error()`.
    	Called within a catch block this modifies the current
    	exception's code. If it's of type 'fromcode' it is
    	modified to 'tocode'. Typically used for 'downgrading'
    	exception severity.
    )r   fz_morph_errorr  s     r   rU  rU  7  s       622r#   c                 0    t        j                  | ||      S )a#  
    Class-aware wrapper for `::fz_mount_multi_archive()`.
    	Add an archive to the set of archives handled by a multi
    	archive.

    	If path is NULL, then the archive contents will appear at the
    	top level, otherwise, the archives contents will appear prefixed
    	by path.
    )r   r+  r  s      r   r+  r+  A  s     ((T::r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_moveto()`.
    	Append a 'moveto' command to a path.
    	This 'opens' a path.

    	path: The path to modify.

    	x, y: The coordinate to move to.

    	Throws exceptions on failure to allocate, or attempting to
    	modify a packed path.
    )r   r`8  r  s      r   r`8  r`8  M  s     D!Q''r#   c                 .    t        j                  | |      S )zh
    Class-aware wrapper for `::fz_mul255()`.
    	Multiply scaled two integers in the 0..255 range
    )r   	fz_mul255r  s     r   rU  rU  \  r8T  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_needs_password()`.
    	Check if a document is encrypted with a
    	non-blank password.
    )r   r0  rN   s    r   r0  r0  c  rJ  r#   c                 .    t        j                  | |      S r=  )r   r=  r  s     r   r=  r=  k  s    ((t44r#   c                 ,    t        j                  |       S )zr
    Class-aware wrapper for `::fz_new_base14_font()`.
    	Create a new font from one of the built-in fonts.
    )r   fz_new_base14_fontr  s    r   rU  rU  o  r0  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_new_bbox_device()`.
    	Create a device to compute the bounding
    	box of all marks on a page.

    	The returned bounding box will be the union of all bounding
    	boxes of all objects on a page.
    )r   rt;  r  s    r   rt;  rt;  v  s     $$U++r#   c                 4    t        j                  | ||||      S )aU  
    Class-aware wrapper for `::fz_new_bitmap()`.
    	Create a new bitmap.

    	w, h: Width and Height for the bitmap

    	n: Number of color components (assumed to be a divisor of 8)

    	xres, yres: X and Y resolutions (in pixels per inch).

    	Returns pointer to created bitmap structure. The bitmap
    	data is uninitialised.
    )r   fz_new_bitmapr  s        r   rU  rU    s     1at44r#   c                 .    t        j                  | |      S )a{  
    Class-aware wrapper for `::fz_new_bitmap_from_pixmap()`.
    	Make a bitmap from a pixmap and a halftone.

    	pix: The pixmap to generate from. Currently must be a single
    	color component with no alpha.

    	ht: The halftone to use. NULL implies the default halftone.

    	Returns the resultant bitmap. Throws exceptions in the case of
    	failure to allocate.
    )r   rw9  r  s     r   rw9  rw9    s     ++C44r#   c                 0    t        j                  | ||      S )a-  
    Class-aware wrapper for `::fz_new_bitmap_from_pixmap_band()`.
    	Make a bitmap from a pixmap and a
    	halftone, allowing for the position of the pixmap within an
    	overall banded rendering.

    	pix: The pixmap to generate from. Currently must be a single
    	color component with no alpha.

    	ht: The halftone to use. NULL implies the default halftone.

    	band_start: Vertical offset within the overall banded rendering
    	(in pixels)

    	Returns the resultant bitmap. Throws exceptions in the case of
    	failure to allocate.
    )r   rz9  r  s      r   rz9  rz9    s    $ 00b*EEr#   c                 ,    t        j                  |       S )z,Class-aware wrapper for `::fz_new_buffer()`.)r   fz_new_bufferr  s    r   rU  rU    s    ))r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_new_buffer_from_base64()`.
    	Create a new buffer with data decoded from a base64 input string.
    )r   fz_new_buffer_from_base64r  s     r   rU  rU    s    
 ++D$77r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_new_buffer_from_copied_data()`.
    	Create a new buffer containing a copy of the passed data.
    )r   r,  r  s     r   r,  r,        
 00t<<r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_new_buffer_from_data()`.
    	Create a new buffer with existing data.

    	data: Pointer to existing data.
    	size: Size of existing data.

    	Takes ownership of data. Does not make a copy. Calls fz_free on
    	the data when the buffer is deallocated. Do not use 'data' after
    	passing to this function.

    	Returns pointer to new buffer. Throws exception on allocation
    	failure.
    )r   fz_new_buffer_from_datar  s     r   rU  rU  ư  s     ))$55r#   c                 .    t        j                  | |      S rv0  )r   ry0  r  s     r   ry0  ry0  װ  s    11$@@r#   c                 2    t        j                  | |||      S r3  )r   r3  r  s       r   r3  r3  ۰  s    225,Q\]]r#   c                 0    t        j                  | ||      S r3  )r   r3  r  s      r   r3  r3  ߰  s    11%wOOr#   c                 .    t        j                  | |      S r,  )r   r,  r  s     r   r,  r,        11%FFr#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_new_buffer_from_image_as_png()`.
    	Reencode a given image as a PNG into a buffer.

    	Ownership of the buffer is returned.
    )r   r3  r  s     r   r3  r3    s     11%FFr#   c                 .    t        j                  | |      S r,  )r   r,  r  s     r   r,  r,    rU  r#   c                 .    t        j                  | |      S r,  )r   r,  r  s     r   r,  r,    rU  r#   c                 .    t        j                  | |      S r7  )r   r7  r  s     r   r7  r7    r  r#   c                 0    t        j                  | ||      S r0  )r   r0  r  s      r   r0  r0    s    00fgFFr#   c                 4    t        j                  | ||||      S )aL  
    Class-aware wrapper for `::fz_new_buffer_from_page_with_format()`.
    	Returns an fz_buffer containing a page after conversion to specified format.

    	page: The page to convert.
    	format, options: Passed to fz_new_document_writer_with_output() internally.
    	transform, cookie: Passed to fz_run_page() internally.
    )r   r7  r  s        r   r7  r7     s     55dFGYX^__r#   c                 2    t        j                  | |||      S r|9  )r   r~9  r  s       r   r~9  r~9    s    33FL'S^__r#   c                 0    t        j                  | ||      S r9  )r   r9  r  s      r   r9  r9    s    223gNNr#   c                 .    t        j                  | |      S r,  )r   r,  r  s     r   r,  r,        226<HHr#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_new_buffer_from_pixmap_as_png()`.
    	Reencode a given pixmap as a PNG into a buffer.

    	Ownership of the buffer is returned.
    )r   r9  r  s     r   r9  r9    s     226<HHr#   c                 .    t        j                  | |      S r,  )r   r,  r  s     r   r,  r,     rU  r#   c                 .    t        j                  | |      S r,  )r   r,  r   s     r   r,  r,  $  s    223EEr#   c                 .    t        j                  | |      S )z}
    Class-aware wrapper for `::fz_new_buffer_from_shared_data()`.
    	Like fz_new_buffer, but does not take ownership.
    )r   fz_new_buffer_from_shared_datar  s     r   rU  rU  (  rU  r#   c                 ,    t        j                  |       S )zt
    Class-aware wrapper for `::fz_new_buffer_from_stext_page()`.
    	Convert structured text into plain text.
    )r   r<  r  s    r   r<  r<  /  rBU  r#   c                 0    t        j                  | ||      S )z2Class-aware wrapper for `::fz_new_builtin_font()`.)r   fz_new_builtin_fontr'  s      r   rU  rU  6  s    %%dGY??r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_new_cal_gray_colorspace()`.
    	Create a calibrated gray colorspace.

    	The returned reference should be dropped when it is finished
    	with.

    	Colorspaces are immutable once created.
    )r   fz_new_cal_gray_colorspacer*  s      r   rU  rU  :  s     ,,RU;;r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_new_cal_rgb_colorspace()`.
    	Create a calibrated rgb colorspace.

    	The returned reference should be dropped when it is finished
    	with.

    	Colorspaces are immutable once created.
    )r   fz_new_cal_rgb_colorspacer-  s       r   rU  rU  F  s     ++BE6BBr#   c                 ,    t        j                  |       S )z.Class-aware wrapper for `::fz_new_cjk_font()`.)r   fz_new_cjk_fontr8  s    r   rU  rU  R      !!(++r#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_new_colorspace()`.
    	Creates a new colorspace instance and returns a reference.

    	No internal checking is done that the colorspace type (e.g.
    	CMYK) matches with the flags (e.g. FZ_COLORSPACE_HAS_CMYK) or
    	colorant count (n) or name.

    	The reference should be dropped when it is finished with.

    	Colorspaces are immutable once created (with the exception of
    	setting up colorant names for separation spaces).
    )r   fz_new_colorspacer>  s       r   rU  rU  V  s     ##D%D99r#   c                  *    t        j                         S )zw
    Class-aware wrapper for `::fz_new_compressed_buffer()`.
    	Create a new, UNKNOWN format, compressed_buffer.
    )r   fz_new_compressed_bufferr$   r#   r   rU  rU  f  s    
 **,,r#   c                  *    t        j                         S )a  
    Class-aware wrapper for `::fz_new_default_colorspaces()`.
    	Create a new default colorspace structure with values inherited
    	from the context, and return a reference to it.

    	These can be overridden using fz_set_default_xxxx.

    	These should not be overridden while more than one caller has
    	the reference for fear of race conditions.

    	The caller should drop this reference once finished with it.
    )r   fz_new_default_colorspacesr$   r#   r   rU  rU  m  s     ,,..r#   c                 2    t        j                  | |||      S )a  
     Class-aware wrapper for `::fz_new_deflated_data()`.

    	This function has out-params. Python/C# wrappers look like:
    		`fz_new_deflated_data(const unsigned char *source, size_t source_length, ::fz_deflate_level level)` => `(unsigned char *, size_t compressed_length)`

    		Compress source_length bytes of data starting
    		at source, into a new memory block malloced for that purpose.
    compressed_length is updated on exit to contain the size used.
    		Ownership of the block is returned from this function, and the
    		caller is therefore responsible for freeing it. The block may be
    		considerably larger than is actually required. The caller is
    		free to fz_realloc it down if it wants to.
    )r   fz_new_deflated_datarK  s       r   rU  rU  |  s     &&'8&-QVWWr#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_new_deflated_data_from_buffer()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_new_deflated_data_from_buffer(::fz_buffer *buffer, ::fz_deflate_level level)` => `(unsigned char *, size_t compressed_length)`

    	Compress the contents of a fz_buffer into a
    	new block malloced for that purpose. *compressed_length is
    	updated on exit to contain the size used. Ownership of the block
    	is returned from this function, and the caller is therefore
    	responsible for freeing it. The block may be considerably larger
    	than is actually required. The caller is free to fz_realloc it
    	down if it wants to.
    )r    fz_new_deflated_data_from_bufferrN  s      r   rU  rU    s     223DfeTTr#   c                 ,    t        j                  |       S )a~  
    Class-aware wrapper for `::fz_new_device_of_size()`.
    	Devices are created by calls to device implementations, for
    	instance: foo_new_device(). These will be implemented by calling
    	fz_new_derived_device(ctx, foo_device) where foo_device is a
    	structure "derived from" fz_device, for instance
    	typedef struct { fz_device base;  ...extras...} foo_device;
    )r   fz_new_device_of_sizer  s    r   rU  rU    s     ''--r#   c                 ,    t        j                  |       S )a.  
    Class-aware wrapper for `::fz_new_display_list()`.
    	Create an empty display list.

    	A display list contains drawing commands (text, images, etc.).
    	Use fz_new_list_device for populating the list.

    	mediabox: Bounds of the page (in points) represented by the
    	display list.
    )r   rw;  rT  s    r   rw;  rw;         %%h//r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_new_display_list_from_page()`.
    	Create a display list.

    	Ownership of the display list is returned to the caller.
    )r   r7  r  s    r   r7  r7    rZ  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_new_display_list_from_page_contents()`.
    	Create a display list from page contents (no annotations).

    	Ownership of the display list is returned to the caller.
    )r   rj0  r  s    r   rj0  rj0    s     88>>r#   c                 .    t        j                  | |      S r0  )r   r0  r  s     r   r0  r0  ȱ  s    66sFCCr#   c                 4    t        j                  | ||||      S )aA  
    Class-aware wrapper for `::fz_new_display_list_from_svg()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_new_display_list_from_svg(::fz_buffer *buf, const char *base_uri, ::fz_archive *dir)` => `(fz_display_list *, float w, float h)`

    	Parse an SVG document into a display-list.
    )r   r)-  r^  s        r   r)-  r)-  ̱  s     ..sHc1aHHr#   c                 6    t        j                  | |||||      S )a\  
    Class-aware wrapper for `::fz_new_display_list_from_svg_xml()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_new_display_list_from_svg_xml(::fz_xml_doc *xmldoc, ::fz_xml *xml, const char *base_uri, ::fz_archive *dir)` => `(fz_display_list *, float w, float h)`

    	Parse an SVG document into a display-list.
    )r   r>@  rb  s         r   r>@  r>@  ױ  s      2263#qRSTTr#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_new_document_of_size()`.
    	New documents are typically created by calls like
    	foo_new_document(fz_context *ctx, ...). These work by
    	deriving a new document type from fz_document, for instance:
    	typedef struct { fz_document base; ...extras... } foo_document;
    	These are allocated by calling
    	fz_new_derived_document(ctx, foo_document)
    )r   fz_new_document_of_sizer  s    r   rU  rU    s     ))$//r#   c                 ,    t        j                  |       S )zW
    Class-aware wrapper for `::fz_new_dom()`.
    	Make new xml dom root element.
    )r   
fz_new_domrw  s    r   rU  rU    rZ   r#   c                 .    t        j                  | |      S )zz
    Class-aware wrapper for `::fz_new_dom_node()`.
    	Create a new dom node.

    	This will NOT be linked in yet.
    )r   rA@  r  s     r   rA@  rA@    r  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_new_dom_text_node()`.
    	Create a new dom text node.

    	This will NOT be linked in yet.
    )r   rD@  r  s     r   rD@  rD@    s     &&sD11r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_new_draw_device()`.
    	Create a device to draw on a pixmap.

    	dest: Target pixmap for the draw device. See fz_new_pixmap*
    	for how to obtain a pixmap. The pixmap is not cleared by the
    	draw device, see fz_clear_pixmap* for how to clear it prior to
    	calling fz_new_draw_device. Free the device by calling
    	fz_drop_device.

    	transform: Transform from user space in points to device space
    	in pixels.
    )r   fz_new_draw_devicer  s     r   rV  rV    s     $$Y55r#   c                 .    t        j                  | |      S r.  )r   r.  r  s     r   r.  r.    s    **9d;;r#   c                 0    t        j                  | ||      S )a2  
    Class-aware wrapper for `::fz_new_draw_device_with_bbox()`.
    	Create a device to draw on a pixmap.

    	dest: Target pixmap for the draw device. See fz_new_pixmap*
    	for how to obtain a pixmap. The pixmap is not cleared by the
    	draw device, see fz_clear_pixmap* for how to clear it prior to
    	calling fz_new_draw_device. Free the device by calling
    	fz_drop_device.

    	transform: Transform from user space in points to device space
    	in pixels.

    	clip: Bounding box to restrict any marking operations of the
    	draw device.
    )r   fz_new_draw_device_with_bboxr  s      r   rV  rV    s    " ..y$EEr#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_new_draw_device_with_bbox_proof()`.
    	Create a device to draw on a pixmap.

    	dest: Target pixmap for the draw device. See fz_new_pixmap*
    	for how to obtain a pixmap. The pixmap is not cleared by the
    	draw device, see fz_clear_pixmap* for how to clear it prior to
    	calling fz_new_draw_device. Free the device by calling
    	fz_drop_device.

    	transform: Transform from user space in points to device space
    	in pixels.

    	clip: Bounding box to restrict any marking operations of the
    	draw device.

    	proof_cs: Color space to render to prior to mapping to color
    	space defined by pixmap.
    )r   "fz_new_draw_device_with_bbox_proofr  s       r   rV  rV  .  s    ( 44YdBOOr#   c                 0    t        j                  | ||      S )a1  
    Class-aware wrapper for `::fz_new_draw_device_with_options()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_new_draw_device_with_options(const ::fz_draw_options *options, ::fz_rect mediabox, ::fz_pixmap **pixmap)` => `(fz_device *)`

    	Create a new pixmap and draw device, using the specified options.

    	options: Options to configure the draw device, and choose the
    	resolution and colorspace.

    	mediabox: The bounds of the page in points.

    	pixmap: An out parameter containing the newly created pixmap.
    )r   fz_new_draw_device_with_optionsr  s      r   rV  rV  D  s      11'8VLLr#   c                 0    t        j                  | ||      S )aI  
    Class-aware wrapper for `::fz_new_draw_device_with_proof()`.
    	Create a device to draw on a pixmap.

    	dest: Target pixmap for the draw device. See fz_new_pixmap*
    	for how to obtain a pixmap. The pixmap is not cleared by the
    	draw device, see fz_clear_pixmap* for how to clear it prior to
    	calling fz_new_draw_device. Free the device by calling
    	fz_drop_device.

    	transform: Transform from user space in points to device space
    	in pixels.

    	proof_cs: Intermediate color space to map though when mapping to
    	color space defined by pixmap.
    )r   fz_new_draw_device_with_proofr  s      r   r
V  r
V  V  s    " //	4JJr#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_new_font_from_buffer()`.
    	Create a new font from a font file in a fz_buffer.

    	Fonts created in this way, will be eligible for embedding by default.

    	name: Name of font (leave NULL to use name from font).

    	buffer: Buffer to load from.

    	index: Which font from the file to load (0 for default).

    	use_glyph_box: 1 if we should use the glyph bbox, 0 otherwise.

    	Returns new font handle, or throws exception on error.
    )r   fz_new_font_from_bufferr  s       r   rV  rV  i  s    " ))$~NNr#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_new_font_from_file()`.
    	Create a new font from a font file.

    	Fonts created in this way, will be eligible for embedding by default.

    	name: Name of font (leave NULL to use name from font).

    	path: File path to load from.

    	index: Which font from the file to load (0 for default).

    	use_glyph_box: 1 if we should use the glyph bbox, 0 otherwise.

    	Returns new font handle, or throws exception on error.
    )r   fz_new_font_from_filer  s       r   rV  rV  |  s    " ''dE>JJr#   c                 4    t        j                  | ||||      S )a  
    Class-aware wrapper for `::fz_new_font_from_memory()`.
    	Create a new font from a font file in memory.

    	Fonts created in this way, will be eligible for embedding by default.

    	name: Name of font (leave NULL to use name from font).

    	data: Pointer to the font file data.

    	len: Length of the font file data.

    	index: Which font from the file to load (0 for default).

    	use_glyph_box: 1 if we should use the glyph bbox, 0 otherwise.

    	Returns new font handle, or throws exception on error.
    )r   fz_new_font_from_memoryr  s        r   rV  rV    s    & ))$c5.QQr#   c                 6    t        j                  | |||||      S )z6Class-aware wrapper for `::fz_new_function_of_size()`.)r   fz_new_function_of_sizer  s         r   rV  rV    s    ))$q!T4HHr#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_new_icc_colorspace()`.
    	Create a colorspace from an ICC profile supplied in buf.

    	Limited checking is done to ensure that the colorspace type is
    	appropriate for the supplied ICC profile.

    	An additional reference is taken to buf, which will be dropped
    	on destruction. Ownership is NOT passed in.

    	The returned reference should be dropped when it is finished
    	with.

    	Colorspaces are immutable once created.
    )r   fz_new_icc_colorspacer  s       r   rV  rV    s      ''eT3??r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_new_image_from_buffer()`.
    	Create a new image from a
    	buffer of data, inferring its type from the format
    	of the data.
    )r   r,-  r  s    r   r,-  r,-    r  r#   c                 B    t        j                  | |||||||||	|
|      S )a  
    Class-aware wrapper for `::fz_new_image_from_compressed_buffer()`.
    	Create an image based on
    	the data in the supplied compressed buffer.

    	w,h: Width and height of the created image.

    	bpc: Bits per component.

    	colorspace: The colorspace (determines the number of components,
    	and any color conversions required while decoding).

    	xres, yres: The X and Y resolutions respectively.

    	interpolate: 1 if interpolation should be used when decoding
    	this image, 0 otherwise.

    	imagemask: 1 if this is an imagemask (i.e. transparency bitmap
    	mask), 0 otherwise.

    	decode: NULL, or a pointer to to a decode array. The default
    	decode array is [0 1] (repeated n times, for n color components).

    	colorkey: NULL, or a pointer to a colorkey array. The default
    	colorkey array is [0 255] (repeated n times, for n color
    	components).

    	buffer: Buffer of compressed data and compression parameters.
    	Ownership of this reference is passed in.

    	mask: NULL, or another image to use as a mask for this one.
    	A new reference is taken to this image. Supplying a masked
    	image as a mask to another image is illegal!
    )r   #fz_new_image_from_compressed_bufferr  s               r   rV  rV  ò  sE    F 55aCTSWYdfoqw  zB  DJ  LP  Q  Qr#   c                 B    t        j                  | |||||||||	|
|      S )a#  
    Class-aware wrapper for `::fz_new_image_from_compressed_buffer2()`.   Swig-friendly wrapper for fz_new_image_from_compressed_buffer(),
    uses specified `decode` and `colorkey` if they are not null (in which
    case we assert that they have size `2*fz_colorspace_n(colorspace)`).
    )r   $fz_new_image_from_compressed_buffer2r  s               r   rV  rV    sD     66q!S*dTXZegprx  {C  EK  MQ  R  Rr#   c                 0    t        j                  | ||      S )a:  
    Class-aware wrapper for `::fz_new_image_from_display_list()`.
    	Create a new image from a display list.

    	w, h: The conceptual width/height of the image.

    	transform: The matrix that needs to be applied to the given
    	list to make it render to the unit square.

    	list: The display list.
    )r   fz_new_image_from_display_listr  s      r   rV  rV    s     00At<<r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_new_image_from_file()`.
    	Create a new image from the contents
    	of a file, inferring its type from the format of the
    	data.
    )r   fz_new_image_from_filer  s    r   rV  rV    s     ((..r#   c                 .    t        j                  | |      S )a~  
    Class-aware wrapper for `::fz_new_image_from_pixmap()`.
    	Create an image from the given
    	pixmap.

    	pixmap: The pixmap to base the image upon. A new reference
    	to this is taken.

    	mask: NULL, or another image to use as a mask for this one.
    	A new reference is taken to this image. Supplying a masked
    	image as a mask to another image is illegal!
    )r   r9  r  s     r   r9  r9    s     **6488r#   c                 0    t        j                  | ||      S )zq
    Class-aware wrapper for `::fz_new_image_from_svg()`.
    	Create a scalable image from an SVG document.
    )r   r0-  r  s      r   r0-  r0-    s    
 ''Xs;;r#   c                 2    t        j                  | |||      S )zu
    Class-aware wrapper for `::fz_new_image_from_svg_xml()`.
    	Create a scalable image from an SVG document.
    )r   rG@  r  s       r   rG@  rG@    s    
 ++FC3GGr#   c                 H    t        j                  | |||||||||	|
||||      S )aY  
    Class-aware wrapper for `::fz_new_image_of_size()`.
    	Internal function to make a new fz_image structure
    	for a derived class.

    	w,h: Width and height of the created image.

    	bpc: Bits per component.

    	colorspace: The colorspace (determines the number of components,
    	and any color conversions required while decoding).

    	xres, yres: The X and Y resolutions respectively.

    	interpolate: 1 if interpolation should be used when decoding
    	this image, 0 otherwise.

    	imagemask: 1 if this is an imagemask (i.e. transparent), 0
    	otherwise.

    	decode: NULL, or a pointer to to a decode array. The default
    	decode array is [0 1] (repeated n times, for n color components).

    	colorkey: NULL, or a pointer to a colorkey array. The default
    	colorkey array is [0 255] (repeated n times, for n color
    	components).

    	mask: NULL, or another image to use as a mask for this one.
    	A new reference is taken to this image. Supplying a masked
    	image as a mask to another image is illegal!

    	size: The size of the required allocated structure (the size of
    	the derived structure).

    	get: The function to be called to obtain a decoded pixmap.

    	get_size: The function to be called to return the storage size
    	used by this image.

    	drop: The function to be called to dispose of this image once
    	the last reference is dropped.

    	Returns a pointer to an allocated structure of the required size,
    	with the first sizeof(fz_image) bytes initialised as appropriate
    	given the supplied parameters, and the other bytes set to zero.
    )r   fz_new_image_of_sizer  s                  r   r"V  r"V  $  sL    ^ &&q!S*dD+W`bhjrtxz~  AK  MU  W[  \  \r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_new_indexed_colorspace()`.
    	Create an indexed colorspace.

    	The supplied lookup table is high palette entries long. Each
    	entry is n bytes long, where n is given by the number of
    	colorants in the base colorspace, one byte per colorant.

    	Ownership of lookup is passed it; it will be freed on
    	destruction, so must be heap allocated.

    	The colorspace will keep an additional reference to the base
    	colorspace that will be dropped on destruction.

    	The returned reference should be dropped when it is finished
    	with.

    	Colorspaces are immutable once created.
    )r   r-  r  s      r   r-  r-  U  s    ( ++D$??r#   c                 0    t        j                  | ||      S )a}  
    Class-aware wrapper for `::fz_new_link_of_size()`.
    	Create a new link record.

    	next is set to NULL with the expectation that the caller will
    	handle the linked list setup. Internal function.

    	Different document types will be implemented by deriving from
    	fz_link. This macro allocates such derived structures, and
    	initialises the base sections.
    )r   fz_new_link_of_sizer  s      r   r%V  r%V  k  s     %%dD#66r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_new_list_device()`.
    	Create a rendering device for a display list.

    	When the device is rendering a page it will populate the
    	display list with drawing commands (text, images, etc.). The
    	display list can later be reused to render a page many times
    	without having to re-interpret the page from the document file
    	for each rendering. Once the device is no longer needed, free
    	it with fz_drop_device.

    	list: A display list that the list device takes a reference to.
    )r   r|0  r  s    r   r|0  r|0  y       $$T**r#   c                  *    t        j                         S )zp
    Class-aware wrapper for `::fz_new_multi_archive()`.
    	Create a new multi archive (initially empty).
    )r   fz_new_multi_archiver$   r#   r   r)V  r)V        
 &&((r#   c           
      :    t        j                  | |||||||      S )a  
    Class-aware wrapper for `::fz_new_ocr_device()`.
    	Create a device to OCR the text on the page.

    	Renders the page internally to a bitmap that is then OCRd. Text
    	is then forwarded onto the target device.

    	target: The target device to receive the OCRd text.

    	ctm: The transform to apply to the mediabox to get the size for
    	the rendered page image. Also used to calculate the resolution
    	for the page image. In general, this will be the same as the CTM
    	that you pass to fz_run_page (or fz_run_display_list) to feed
    	this device.

    	mediabox: The mediabox (in points). Combined with the CTM to get
    	the bounds of the pixmap used internally for the rendered page
    	image.

    	with_list: If with_list is false, then all non-text operations
    	are forwarded instantly to the target device. This results in
    	the target device seeing all NON-text operations, followed by
    	all the text operations (derived from OCR).

    	If with_list is true, then all the marking operations are
    	collated into a display list which is then replayed to the
    	target device at the end.

    	language: NULL (for "eng"), or a pointer to a string to describe
    	the languages/scripts that should be used for OCR (e.g.
    	"eng,ara").

    	datadir: NULL (for ""), or a pointer to a path string otherwise
    	provided to Tesseract in the TESSDATA_PREFIX environment variable.

    	progress: NULL, or function to be called periodically to indicate
    	progress. Return 0 to continue, or 1 to cancel. progress_arg is
    	returned as the void *. The int is a value between 0 and 100 to
    	indicate progress.

    	progress_arg: A void * value to be parrotted back to the progress
    	function.
    )r   r\/  r  s           r   r\/  r\/    s'    X ##FC9hPWYacoppr#   c                  *    t        j                         S )z
    Class-aware wrapper for `::fz_new_outline()`.
    	Create a new outline entry with zeroed fields for the caller
    	to fill in.
    )r   fz_new_outliner$   r#   r   r-V  r-V    r:  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_new_page_of_size()`.
    	Different document types will be implemented by deriving from
    	fz_page. This macro allocates such derived structures, and
    	initialises the base sections.
    )r   fz_new_page_of_sizer  s     r   r/V  r/V  Ƴ  s     %%dC00r#   c                  *    t        j                         S )z^
    Class-aware wrapper for `::fz_new_path()`.
    	Create a new (empty) path structure.
    )r   fz_new_pathr$   r#   r   r1V  r1V  ϳ      
 r#   c                 ,    t        j                  |       S r0  )r   r0  r  s    r   r0  r0  ֳ  r7%  r#   c                 4    t        j                  | ||||      S )a  
    Class-aware wrapper for `::fz_new_pixmap()`.
    	Create a new pixmap, with its origin at (0,0)

    	cs: The colorspace to use for the pixmap, or NULL for an alpha
    	plane/mask.

    	w: The width of the pixmap (in pixels)

    	h: The height of the pixmap (in pixels)

    	seps: Details of separations.

    	alpha: 0 for no alpha, 1 for alpha.

    	Returns a pointer to the new pixmap. Throws exception on failure
    	to allocate.
    )r   r-  r  s        r   r-  r-  ڳ  s    & Aq$66r#   c                 ,    t        j                  |       S r9  )r   r9  r  s    r   r9  r9    r  r#   c                 .    t        j                  | |      S r9  )r   r9  r%  s     r   r9  r9    s    33E4@@r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_new_pixmap_from_display_list()`.
    	Render the page to a pixmap using the transform and colorspace.

    	Ownership of the pixmap is returned to the caller.
    )r   r0  r(  s       r   r0  r0    s     11$RGGr#   c                 4    t        j                  | ||||      S )z
    Class-aware wrapper for `::fz_new_pixmap_from_display_list_with_separations()`.
    	Render the page contents with control over spot colors.

    	Ownership of the pixmap is returned to the caller.
    )r   r0  r+  s        r   r0  r0     s     BB4bRVX]^^r#   c                 2    t        j                  | |||      S r7  )r   r7  r.  s       r   r7  r7  	  s    ))$R??r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_new_pixmap_from_page_contents()`.
    	Render the page contents without annotations.

    	Ownership of the pixmap is returned to the caller.
    )r   r8  r.  s       r   r8  r8    s     224b%HHr#   c                 4    t        j                  | ||||      S r8  )r   r8  r3  s        r   r8  r8    s    CCD#rSWY^__r#   c                 4    t        j                  | ||||      S r0  )r   r0  r6  s        r   r0  r0    s    00fc2uMMr#   c                 6    t        j                  | |||||      S r0  )r   r0  r9  s         r   r0  r0    s     AA#vsTVX\^cddr#   c                 4    t        j                  | ||||      S r	8  )r   r8  r3  s        r   r8  r8  "  s    ::4b$PUVVr#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_new_pixmap_from_pixmap()`.
    	Create a new pixmap that represents a subarea of the specified
    	pixmap. A reference is taken to this pixmap that will be dropped
    	on destruction.

    	The supplied rectangle must be wholly contained within the
    	original pixmap.

    	Returns a pointer to the new pixmap. Throws exception on failure
    	to allocate.
    )r   r9  r>  s     r   r9  r9  &  s     ++FD99r#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_new_pixmap_with_bbox()`.
    	Create a pixmap of a given size, location and pixel format.

    	The bounding box specifies the size of the created pixmap and
    	where it will be located. The colorspace determines the number
    	of components per pixel. Alpha is always present. Pixmaps are
    	reference counted, so drop references using fz_drop_pixmap.

    	colorspace: Colorspace format used for the created pixmap. The
    	pixmap will keep a reference to the colorspace.

    	bbox: Bounding box specifying location/size of created pixmap.

    	seps: Details of separations.

    	alpha: 0 for no alpha, 1 for alpha.

    	Returns a pointer to the new pixmap. Throws exception on failure
    	to allocate.
    )r   r-  rA  s       r   r-  r-  5  s    , ))*dD%HHr#   c                 4    t        j                  | ||||      S )aZ  
    Class-aware wrapper for `::fz_new_pixmap_with_bbox_and_data()`.
    	Create a pixmap of a given size, location and pixel format,
    	using the supplied data block.

    	The bounding box specifies the size of the created pixmap and
    	where it will be located. The colorspace determines the number
    	of components per pixel. Alpha is always present. Pixmaps are
    	reference counted, so drop references using fz_drop_pixmap.

    	colorspace: Colorspace format used for the created pixmap. The
    	pixmap will keep a reference to the colorspace.

    	rect: Bounding box specifying location/size of created pixmap.

    	seps: Details of separations.

    	alpha: Number of alpha planes (0 or 1).

    	samples: The data block to keep the samples in.

    	Returns a pointer to the new pixmap. Throws exception on failure
    	to allocate.
    )r   r-  rD  s        r   r-  r-  M  s    2 22:tT5RYZZr#   c           	      8    t        j                  | ||||||      S )a  
    Class-aware wrapper for `::fz_new_pixmap_with_data()`.
    	Create a new pixmap, with its origin at
    	(0,0) using the supplied data block.

    	cs: The colorspace to use for the pixmap, or NULL for an alpha
    	plane/mask.

    	w: The width of the pixmap (in pixels)

    	h: The height of the pixmap (in pixels)

    	seps: Details of separations.

    	alpha: 0 for no alpha, 1 for alpha.

    	stride: The byte offset from the pixel data in a row to the
    	pixel data in the next row.

    	samples: The data block to keep the samples in.

    	Returns a pointer to the new pixmap. Throws exception on failure to
    	allocate.
    )r   r-  rG  s          r   r-  r-  h  s"    2 ))*aD%QXYYr#   c                 ,    t        j                  |       S )zu
    Class-aware wrapper for `::fz_new_separations()`.
    	Create a new separations structure (initially empty)
    )r   fz_new_separationsrq  s    r   rDV  rDV    s    
 $$\22r#   c                 .    t        j                  | |      S )a9  
    Class-aware wrapper for `::fz_new_stext_device()`.
    	Create a device to extract the text on a page.

    	Gather the text on a page into blocks and lines.

    	The reading order is taken from the order the text is drawn in
    	the source file, so may not be accurate.

    	page: The text page to which content should be added. This will
    	usually be a newly created (empty) text page, but it can be one
    	containing data already (for example when merging multiple
    	pages, or watermarking).

    	options: Options to configure the stext device.
    )r   r<  r  s     r   r<  r<    s    " %%dG44r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_new_store_context()`.
    	Create a new store inside the context

    	max: The maximum size (in bytes) that the store is allowed to
    	grow to. FZ_STORE_UNLIMITED means no limit.
    )r   fz_new_store_contextr  s    r   rGV  rGV    s     &&s++r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_new_stream()`.
    	Create a new stream object with the given
    	internal state and function pointers.

    	state: Internal state (opaque to everything but implementation).

    	next: Should provide the next set of bytes (up to max) of stream
    	data. Return the number of bytes read, or EOF when there is no
    	more data.

    	drop: Should clean up and free the internal state. May not
    	throw exceptions.
    )r   fz_new_streamr  s      r   rIV  rIV    s     tT22r#   c                 ,    t        j                  |       S )z,Class-aware wrapper for `::fz_new_string()`.)r   fz_new_stringr  s    r   rKV  rKV    r9&  r#   c                  *    t        j                         S )z
    Class-aware wrapper for `::fz_new_stroke_state()`.
    	Create a new (empty) stroke state structure (with no dash
    	data) and return a reference to it.

    	Throws exception on failure to allocate.
    )r   fz_new_stroke_stater$   r#   r   rMV  rMV    s     %%''r#   c                 ,    t        j                  |       S )a5  
    Class-aware wrapper for `::fz_new_stroke_state_with_dash_len()`.
    	Create a new (empty) stroke state structure, with room for
    	dash data of the given length, and return a reference to it.

    	len: The number of dash elements to allow room for.

    	Throws exception on failure to allocate.
    )r   !fz_new_stroke_state_with_dash_lenr5  s    r   rOV  rOV  ƴ  s     33C88r#   c                 4    t        j                  | ||||      S )z
    Class-aware wrapper for `::fz_new_svg_device()`.
    	Create a device that outputs (single page) SVG files to
    	the given output stream.

    	Equivalent to fz_new_svg_device_with_id passing id = NULL.
    )r   r6  r  s        r   r6  r6  Ҵ  s     ##C[+|\\r#   c                 6    t        j                  | |||||      S )a  
    Class-aware wrapper for `::fz_new_svg_device_with_id()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_new_svg_device_with_id(::fz_output *out, float page_width, float page_height, int text_format, int reuse_images)` => `(fz_device *, int id)`

    	Create a device that outputs (single page) SVG files to
    	the given output stream.

    	output: The output stream to send the constructed SVG page to.

    	page_width, page_height: The page dimensions to use (in points).

    	text_format: How to emit text. One of the following values:
    		FZ_SVG_TEXT_AS_TEXT: As <text> elements with possible
    		layout errors and mismatching fonts.
    		FZ_SVG_TEXT_AS_PATH: As <path> elements with exact
    		visual appearance.

    	reuse_images: Share image resources using <symbol> definitions.

    	id: ID parameter to keep generated IDs unique across SVG files.
    )r   r6  r  s         r   r6  r6  ܴ  s!    0 ++C[+Wceghhr#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_new_test_device()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_new_test_device(float threshold, int options, ::fz_device *passthrough)` => `(fz_device *, int is_color)`

    	Create a device to test for features.

    	Currently only tests for the presence of non-grayscale colors.

    	is_color: Possible values returned:
    		0: Definitely greyscale
    		1: Probably color (all colors were grey, but there
    		were images or shadings in a non grey colorspace).
    		2: Definitely color

    	threshold: The difference from grayscale that will be tolerated.
    	Typical values to use are either 0 (be exact) and 0.02 (allow an
    	imperceptible amount of slop).

    	options: A set of bitfield options, from the FZ_TEST_OPT set.

    	passthrough: A device to pass all calls through to, or NULL.
    	If set, then the test device can both test and pass through to
    	an underlying device (like, say, the display list device). This
    	means that a display list can be created and at the end we'll
    	know if it's colored or not.

    	In the absence of a passthrough device, the device will throw
    	an exception to stop page interpretation when color is found.
    )r   fz_new_test_devicer  s       r   rSV  rSV    s    @ $$Xy';OOr#   c                  *    t        j                         S )z
    Class-aware wrapper for `::fz_new_text()`.
    	Create a new empty fz_text object.

    	Throws exception on failure to allocate.
    )r   fz_new_textr$   r#   r   rUV  rUV    s     r#   c                 ,    t        j                  |       S )z}
    Class-aware wrapper for `::fz_new_trace_device()`.
    	Create a device to print a debug trace of all device calls.
    )r   r6  rI  s    r   r6  r6  !  r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_new_tree_archive()`.
    	Create an archive that holds named buffers.

    	tree can either be a preformed tree with fz_buffers as values,
    	or it can be NULL for an empty tree.
    )r   r?  r  s    r   r?  r?  (  r  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_new_type3_font()`.
    	Create a new (empty) type3 font.

    	name: Name of font (or NULL).

    	matrix: Font matrix.

    	Returns a new font handle, or throws exception on
    	allocation failure.
    )r   fz_new_type3_fontr  s     r   rYV  rYV  2  s     ##D&11r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_new_xhtml_document_from_document()`.
    	Use text extraction to convert the input document into XHTML,
    	then open the result as a new document that can be reflowed.
    )r   r0  r  s     r   r0  r0  @  s     55gtDDr#   c                 ,    t        j                  |       S )zn
    Class-aware wrapper for `::fz_new_xmltext_device()`.
    	Create a device to output raw information.
    )r   r.  rI  s    r   r.  r.  H  r!  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_next_page()`.
    	Function to get the location of the next page (allowing for the
    	end of chapters etc). If at the end of the document, returns the
    	current location.
    )r   r1  rB  s     r   r1  r1  O  s     sC((r#   c                 ,    t        j                  |       S )zc
    Class-aware wrapper for `::fz_normalize_vector()`.
    	Normalize a vector to length one.
    )r   rd:  rL  s    r   rd:  rd:  X  r'  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_open_a85d()`.
    	a85d filter performs ASCII 85 Decoding of data read
    	from the chained filter.
    )r   r=  r  s    r   r=  r=  _       u%%r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_open_accelerated_document()`.
    	Open a document file and read its basic structure so pages and
    	objects can be located. MuPDF will try to repair broken
    	documents (without actually changing the file contents).

    	The returned fz_document is used when calling most other
    	document related functions.

    	filename: a path to a file as it would be given to open(2).
    )r   fz_open_accelerated_documentr  s     r   raV  raV  g  s     ..x??r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_open_accelerated_document_with_stream()`.
    	Open a document using the specified stream object rather than
    	opening a file on disk.

    	magic: a string used to detect document type; either a file name
    	or mime-type.

    	stream: a stream of the document contents.

    	accel: NULL, or a stream of the 'accelerator' contents for this document.

    	NOTE: The caller retains ownership of 'stream' and 'accel' - the document will
    	take its own references if required.
    )r   (fz_open_accelerated_document_with_streamr  s      r   rcV  rcV  u  s      ::5&%PPr#   c                 2    t        j                  | |||      S )a_  
    Class-aware wrapper for `::fz_open_accelerated_document_with_stream_and_dir()`.
    	Open a document using the specified stream object rather than
    	opening a file on disk.

    	magic: a string used to detect document type; either a file name
    	or mime-type.

    	stream: a stream of the document contents.

    	accel: NULL, or a stream of the 'accelerator' contents for this document.

    	dir: NULL, or the 'directory context' for the stream contents.

    	NOTE: The caller retains ownership of 'stream', 'accel' and 'dir' - the document will
    	take its own references if required.
    )r   0fz_open_accelerated_document_with_stream_and_dirr  s       r   reV  reV    s    $ BB5&RWY\]]r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_open_aesd()`.
    	aesd filter performs AES decoding of data read from the chained
    	filter using the supplied key.
    )r   r=  r  s      r   r=  r=         uc622r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_open_ahxd()`.
    	ahxd filter performs ASCII Hex decoding of data read
    	from the chained filter.
    )r   r=  r  s    r   r=  r=    r_V  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_open_arc4()`.
    	arc4 filter performs RC4 decoding of data read from the chained
    	filter using the supplied key.
    )r   r=  r  s      r   r=  r=    rgV  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_open_archive()`.
    	Open a zip or tar archive

    	Open a file and identify its archive type based on the archive
    	signature contained inside.

    	filename: a path to a file as it would be given to open(2).
    )r   fz_open_archiver  s    r   rkV  rkV    s     !!(++r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_open_archive_entry()`.
    	Opens an archive entry as a stream.

    	name: Entry name to look for, this must be an exact match to
    	the entry name in the archive.

    	Throws an exception if a matching entry cannot be found.
    )r   r+  r  s     r   r+  r+    s     ''d33r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_open_archive_with_stream()`.
    	Open zip or tar archive stream.

    	Open an archive using a seekable stream object rather than
    	opening a file or directory on disk.
    )r   r=  r  s    r   r=  r=  ˵  s     --d33r#   c                 ,    t        j                  |       S )a.  
    Class-aware wrapper for `::fz_open_buffer()`.
    	Open a buffer as a stream.

    	buf: The buffer to open. Ownership of the buffer is NOT passed
    	in (this function takes its own reference).

    	Returns pointer to newly created stream. May throw exceptions on
    	failure to allocate.
    )r   r3-  r{  s    r   r3-  r3-  յ  s       %%r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_open_cfb_archive()`.
    	Open a cfb file as an archive.

    	An exception is thrown if the file is not recognised as a cfb.

    	filename: a path to an archive file as it would be given to
    	open(2).
    )r   fz_open_cfb_archiver  s    r   rpV  rpV    s     %%h//r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_open_cfb_archive_with_stream()`.
    	Open a cfb file as an archive.

    	Open an archive using a seekable stream object rather than
    	opening a file or directory on disk.

    	An exception is thrown if the file is not recognised as a chm.
    )r   r=  r  s    r   r=  r=    s     11$77r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_open_compressed_buffer()`.
    	Open a stream to read the decompressed version of a buffer.
    )r   r..  r   s    r   r..  r..    s    
 ++E22r#   c                 .    t        j                  | |      S )zq
    Class-aware wrapper for `::fz_open_concat()`.
    	Concat filter concatenates several streams into one.
    )r   fz_open_concatr  s     r   rtV  rtV    s    
   c**r#   c                 4    t        j                  | ||||      S )a  
    Class-aware wrapper for `::fz_open_dctd()`.
    	dctd filter performs DCT (JPEG) decoding of data read
    	from the chained filter.

    	color_transform implements the PDF color_transform option
    		use -1 for default behavior
    		use 0 to disable YUV-RGB / YCCK-CMYK transforms
    		use 1 to enable YUV-RGB / YCCK-CMYK transforms

    	invert_cmyk implements the necessary inversion for Photoshop CMYK images
    		use 0 if embedded in PDF
    		use 1 if not embedded in PDF

    	For subsampling on decode, set l2factor to the log2 of the
    	reduction required (therefore 0 = full size decode).

    	jpegtables is an optional stream from which the JPEG tables
    	can be read. Use NULL if not required.
    )r   r=  r  s        r   r=  r=    s    * uo{HjYYr#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_open_directory()`.
    	Open a directory as if it was an archive.

    	A special case where a directory is opened as if it was an
    	archive.

    	Note that for directories it is not possible to retrieve the
    	number of entries or list the entries. It is however possible
    	to check if the archive has a particular entry.

    	path: a path to a directory as it would be given to opendir(3).
    )r   fz_open_directoryr  s    r   rwV  rwV    s     ##D))r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_open_document()`.
    	Open a document file and read its basic structure so pages and
    	objects can be located. MuPDF will try to repair broken
    	documents (without actually changing the file contents).

    	The returned fz_document is used when calling most other
    	document related functions.

    	filename: a path to a file as it would be given to open(2).
    )r   fz_open_documentr  s    r   ryV  ryV  /  s     ""8,,r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_open_document_with_buffer()`.
    	Open a document using a buffer rather than opening a file on disk.
    )r   fz_open_document_with_bufferr  s     r   r{V  r{V  =  s    
 ..uf==r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_open_document_with_stream()`.
    	Open a document using the specified stream object rather than
    	opening a file on disk.

    	magic: a string used to detect document type; either a file name
    	or mime-type.

    	stream: a stream representing the contents of the document file.

    	NOTE: The caller retains ownership of 'stream' - the document will take its
    	own reference if required.
    )r   fz_open_document_with_streamr  s     r   r}V  r}V  D  s     ..uf==r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_open_document_with_stream_and_dir()`.
    	Open a document using the specified stream object rather than
    	opening a file on disk.

    	magic: a string used to detect document type; either a file name
    	or mime-type.

    	stream: a stream representing the contents of the document file.

    	dir: a 'directory context' for those filetypes that need it.

    	NOTE: The caller retains ownership of 'stream' and 'dir' - the document will
    	take its own references if required.
    )r   $fz_open_document_with_stream_and_dirr  s      r   rV  rV  T  s      66ufcJJr#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_open_endstream_filter()`.
    	The endstream filter reads a PDF substream, and starts to look
    	for an 'endstream' token after the specified length.
    )r   r=  r  s      r   r=  r=  f  s     **5#v>>r#   c           
      :    t        j                  | |||||||      S )a  
    Class-aware wrapper for `::fz_open_faxd()`.
    	faxd filter performs FAX decoding of data read from
    	the chained filter.

    	k: see fax specification (fax default is 0).

    	end_of_line: whether we expect end of line markers (fax default
    	is 0).

    	encoded_byte_align: whether we align to bytes after each line
    	(fax default is 0).

    	columns: how many columns in the image (fax default is 1728).

    	rows: 0 for unspecified or the number of rows of data to expect.

    	end_of_block: whether we expect end of block markers (fax
    	default is 1).

    	black_is_1: determines the polarity of the image (fax default is
    	0).
    )r   r=  r  s           r   r=  r=  n  s'    0 ua6H'SWYegqrrr#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_open_file()`.
    	Open the named file and wrap it in a stream.

    	filename: Path to a file. On non-Windows machines the filename
    	should be exactly as it would be passed to fopen(2). On Windows
    	machines, the path should be UTF-8 encoded so that non-ASCII
    	characters can be represented. Other platforms do the encoding
    	as standard anyway (and in most cases, particularly for MacOS
    	and Linux, the encoding they use is UTF-8 anyway).
    )r   fz_open_filer  s    r   rV  rV    s     x((r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_open_file_autodelete()`.
    	Do the same as fz_open_file, but delete the file upon close.
    )r   r=  r  s    r   r=  r=    s    
 ))(33r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_open_file_ptr_no_close()`.
    	Create a stream from a FILE * that will not be closed
    	when the stream is dropped.
    )r   fz_open_file_ptr_no_closer  s    r   rV  rV    s     ++D11r#   c                 .    t        j                  | |      S )a?  
    Class-aware wrapper for `::fz_open_flated()`.
    	flated filter performs LZ77 decoding (inflating) of data read
    	from the chained filter.

    	window_bits: How large a decompression window to use. Typically
    	15. A negative number, -n, means to use n bits, but to expect
    	raw data with no header.
    )r   r=  r  s     r   r=  r=    s       44r#   c                 0    t        j                  | ||      S )ai  
    Class-aware wrapper for `::fz_open_image_decomp_stream()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_open_image_decomp_stream(::fz_stream *arg_0, ::fz_compression_params *arg_1)` => `(fz_stream *, int l2factor)`

    	Open a stream to read the decompressed version of another stream
    	with optional log2 subsampling.
    )r   r>  )r   r  r\  s      r   r>  r>    s     --eUHEEr#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_open_image_decomp_stream_from_buffer()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_open_image_decomp_stream_from_buffer(::fz_compressed_buffer *arg_0)` => `(fz_stream *, int l2factor)`

    	Open a stream to read the decompressed version of a buffer,
    	with optional log2 subsampling.

    	l2factor = NULL for no subsampling, or a pointer to an integer
    	containing the maximum log2 subsample factor acceptable (0 =
    	none, 1 = halve dimensions, 2 = quarter dimensions etc). If
    	non-NULL, then *l2factor will be updated on exit with the actual
    	log2 subsample factor achieved.
    )r   r1.  )r   r\  s     r   r1.  r1.    s      99%JJr#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_open_jbig2d()`.
    	Open a filter that performs jbig2 decompression on the chained
    	stream, using the optional globals record.
    )r   r>  r  s      r   r>  r>  ϶  s       ::r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_open_leecher()`.
    	Attach a filter to a stream that will store any
    	characters read from the stream into the supplied buffer.

    	chain: The underlying stream to leech from.

    	buf: The buffer into which the read data should be appended.
    	The buffer will be resized as required.

    	Returns pointer to newly created stream. May throw exceptions on
    	failure to allocate.
    )r   r>  r  s     r   r>  r>  ׶  s     !!%--r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_open_libarchive_archive()`.
    	Open an archive using libarchive.

    	An exception is thrown if the file is not supported by libarchive.

    	filename: a path to an archive file as it would be given to
    	open(2).
    )r   fz_open_libarchive_archiver  s    r   rV  rV    s     ,,X66r#   c                 ,    t        j                  |       S )a,  
    Class-aware wrapper for `::fz_open_libarchive_archive_with_stream()`.
    	Open an archive using libarchive.

    	Open an archive using a seekable stream object rather than
    	opening a file or directory on disk.

    	An exception is thrown if the stream is not supported by libarchive.
    )r   r
>  r  s    r   r
>  r
>    s     88>>r#   c                 ,    t        j                  |       S )a=  
    Class-aware wrapper for `::fz_open_libarchived()`.
    	libarchived filter performs generic compressed decoding of data
    	in any format understood by libarchive from the chained filter.

    	This will throw an exception if libarchive is not built in, or
    	if the compression format is not recognised.
    )r   r>  r  s    r   r>  r>    r  r#   c                 4    t        j                  | ||||      S )a  
    Class-aware wrapper for `::fz_open_lzwd()`.
    	lzwd filter performs LZW decoding of data read from the chained
    	filter.

    	early_change: (Default 1) specifies whether to change codes 1
    	bit early.

    	min_bits: (Default 9) specifies the minimum number of bits to
    	use.

    	reverse_bits: (Default 0) allows for compatibility with gif and
    	old style tiffs (1).

    	old_tiff: (Default 0) allows for different handling of the clear
    	code, as found in old style tiffs.
    )r   r>  r"  s        r   r>  r>  
  s    $ ulHlHUUr#   c                 .    t        j                  | |      S )aJ  
    Class-aware wrapper for `::fz_open_memory()`.
    	Open a block of memory as a stream.

    	data: Pointer to start of data block. Ownership of the data
    	block is NOT passed in.

    	len: Number of bytes in data block.

    	Returns pointer to newly created stream. May throw exceptions on
    	failure to allocate.
    )r   fz_open_memoryr)  s     r   rV  rV    s       s++r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_open_null_filter()`.
    	The null filter reads a specified amount of data from the
    	substream.
    )r   r>  r  s      r   r>  r>  -  s     %%eS&99r#   c                 4    t        j                  | ||||      S )aK  
    Class-aware wrapper for `::fz_open_predict()`.
    	predict filter performs pixel prediction on data read from
    	the chained filter.

    	predictor: 1 = copy, 2 = tiff, other = inline PNG predictor

    	columns: width of image in pixels

    	colors: number of components.

    	bpc: bits per component (typically 8)
    )r   r>  r.  s        r   r>  r>  5  s     !!%GVSIIr#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_open_range_filter()`.
    	The range filter copies data from specified ranges of the
    	chained stream.
    )r   r>  r3  s      r   r>  r>  E  s     &&ufg>>r#   c                 .    t        j                  | |      S r1  )r   r1  r7  s     r   r1  r1  M  s    ++Hd;;r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_open_rld()`.
    	rld filter performs Run Length Decoding of data read
    	from the chained filter.
    )r   r>  r  s    r   r>  r>  Q  s     e$$r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_open_sgilog16()`.
    	SGI Log 16bit (greyscale) decode from the chained filter.
    	Decodes lines of w pixels to 8bpp greyscale.
    )r   r >  r=  s     r   r >  r >  Y       ""5!,,r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_open_sgilog24()`.
    	SGI Log 24bit (LUV) decode from the chained filter.
    	Decodes lines of w pixels to 8bpc rgb.
    )r   r$>  r=  s     r   r$>  r$>  a  rV  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_open_sgilog32()`.
    	SGI Log 32bit (LUV) decode from the chained filter.
    	Decodes lines of w pixels to 8bpc rgb.
    )r   r'>  r=  s     r   r'>  r'>  i  rV  r#   c                 ,    t        j                  |       S )a!  
    Class-aware wrapper for `::fz_open_tar_archive()`.
    	Open a tar archive file.

    	An exception is thrown if the file is not a tar archive as
    	indicated by the presence of a tar signature.

    	filename: a path to a tar archive file as it would be given to
    	open(2).
    )r   fz_open_tar_archiver  s    r   rV  rV  q  rU  r#   c                 ,    t        j                  |       S )aJ  
    Class-aware wrapper for `::fz_open_tar_archive_with_stream()`.
    	Open a tar archive stream.

    	Open an archive using a seekable stream object rather than
    	opening a file or directory on disk.

    	An exception is thrown if the stream is not a tar archive as
    	indicated by the presence of a tar signature.

    )r   r*>  r  s    r   r*>  r*>  ~       11$77r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_open_thunder()`.
    	4bit greyscale Thunderscan decoding from the chained filter.
    	Decodes lines of w pixels to 8bpp greyscale.
    )r   r.>  r=  s     r   r.>  r.>    s     !!%++r#   c                 ,    t        j                  |       S )a!  
    Class-aware wrapper for `::fz_open_zip_archive()`.
    	Open a zip archive file.

    	An exception is thrown if the file is not a zip archive as
    	indicated by the presence of a zip signature.

    	filename: a path to a zip archive file as it would be given to
    	open(2).
    )r   fz_open_zip_archiver  s    r   rV  rV    r>  r#   c                 ,    t        j                  |       S )aJ  
    Class-aware wrapper for `::fz_open_zip_archive_with_stream()`.
    	Open a zip archive stream.

    	Open an archive using a seekable stream object rather than
    	opening a file or directory on disk.

    	An exception is thrown if the stream is not a zip archive as
    	indicated by the presence of a zip signature.

    )r   r1>  r  s    r   r1>  r1>    rV  r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_opt_from_list()`.
    	Return the index of a (case-insensitive) option within an optlist.

    	For instance for optlist = "Foo|Bar|Baz", and  opt = "bar",
    	this would return 1.

    	If the optlist ends with "|*" then that is a catch all case and
    	matches all options allowing the caller to process it itself.
    	fz_optarg will be set to point to the option, and the return
    	value will be the index of the '*' option within that list.

    	If an optlist entry ends with ':' (e.g. "Foo:") then that option
    	may have suboptions appended to it (for example "JPG:80") and
    	fz_optarg will be set to point at "80". Otherwise fz_optarg will
    	be set to NULL.

    	In the event of no-match found, prints an error and returns -1.
    )r   fz_opt_from_listrP  s     r   rV  rV    s    ( ""300r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_option_eq()`.
    	Check to see if an option, a, from a string matches a reference
    	option, b.

    	(i.e. a could be 'foo' or 'foo,bar...' etc, but b can only be
    	'foo'.)
    )r   fz_option_eqr  s     r   rV  rV  ŷ  s     q!$$r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_outline_glyph()`.
    	Look a glyph up from a font, and return the outline of the
    	glyph using the given transform.

    	The caller owns the returned path, and so is responsible for
    	ensuring that it eventually gets dropped.
    )r   r2  rW  s      r   r2  r2  з  s     ""4c22r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_outline_iterator_delete()`.
    	Delete the current item.

    	This implicitly moves us to the 'next' item, and the return code is as for fz_outline_iterator_next.
    )r   rF6  rg  s    r   rF6  rF6  ۷  s     ,,T22r#   c                 ,    t        j                  |       S rH6  )r   rJ6  rg  s    r   rJ6  rJ6    r&  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_outline_iterator_item()`.
    	Call to get the current outline item.

    	Can return NULL. The item is only valid until the next call.
    )r   rM6  rg  s    r   rM6  rM6    rU  r#   c                 ,    t        j                  |       S )a#  
    Class-aware wrapper for `::fz_outline_iterator_next()`.
    	Calls to move the iterator position.

    	A negative return value means we could not move as requested. Otherwise:
    	0 = the final position has a valid item.
    	1 = not a valid item, but we can insert an item here.
    )r   rQ6  rg  s    r   rQ6  rQ6    rQ  r#   c                 ,    t        j                  |       S rS6  )r   rU6  rg  s    r   rU6  rU6    r&  r#   c                 ,    t        j                  |       S rW6  )r   rY6  rg  s    r   rY6  rY6     r  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_output_accelerator()`.
    	Output accelerator data for the document to a given output
    	stream.
    )r   r1  rp  s     r   r1  r1    s     ''U33r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_output_supports_stream()`.
    	Query whether a given fz_output supports fz_stream_from_output.
    )r   r6  rI  s    r   r6  r6    r  r#   c                 0    t        j                  | ||      S )ze
    Class-aware wrapper for `::fz_output_xml()`.
    	Pretty-print an XML tree to given output.
    )r   r6  ru  s      r   r6  r6    s    
 T511r#   c                 .    t        j                  | |      S )a!  
    Class-aware wrapper for `::fz_pack_path()`.
    	Pack a path into the given block.
    	To minimise the size of paths, this function allows them to be
    	packed into a buffer with other information. Paths can be used
    	interchangeably regardless of how they are packed.

    	pack: Pointer to a block of data to pack the path into. Should
    	be aligned by the caller to the same alignment as required for
    	a fz_path pointer.

    	path: The path to pack.

    	Returns the number of bytes within the block used. Callers can
    	access the packed path data by casting the value of pack on
    	entry to be a fz_path *.

    	Throws exceptions on failure to allocate.

    	Implementation details: Paths can be 'unpacked', 'flat', or
    	'open'. Standard paths, as created are 'unpacked'. Paths
    	will be packed as 'flat', unless they are too large
    	(where large indicates that they exceed some private
    	implementation defined limits, currently including having
    	more than 256 coordinates or commands).

    	Large paths are 'open' packed as a header into the given block,
    	plus pointers to other data blocks.

    	Users should not have to care about whether paths are 'open'
    	or 'flat' packed. Simply pack a path (if required), and then
    	forget about the details.
    )r   fz_pack_pathrx  s     r   rV  rV    s    D tT**r#   c                 ,    t        j                  |       S )zu
    Class-aware wrapper for `::fz_packed_path_size()`.
    	Return the number of bytes required to pack a path.
    )r   rc8  r  s    r   rc8  rc8  >  r   r#   c                 0    t        j                  | ||      S )z\
    Class-aware wrapper for `::fz_page_label()`.
    	Get page label for a given page.
    )r   r8  r~  s      r   r8  r8  E  s    
 c400r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_page_number_from_location()`.
    	Converts from chapter+page to page number. This may cause many
    	chapters to be laid out in order to calculate the number of
    	pages within those chapters.
    )r   r1  rB  s     r   r1  r1  L  s     ..sC88r#   c                 0    t        j                  | ||      S )aj  
    Class-aware wrapper for `::fz_page_presentation()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_page_presentation(::fz_page *page, ::fz_transition *transition)` => `(fz_transition *, float duration)`

    	Get the presentation details for a given page.

    	transition: A pointer to a transition struct to fill out.

    	duration: A pointer to a place to set the page duration in
    	seconds. Will be set to 0 if no transition is specified for the
    	page.

    	Returns: a pointer to the transition structure, or NULL if there
    	is no transition specified for the page.
    )r   r8  r  s      r   r8  r8  U  s    $ &&tZBBr#   c                 ,    t        j                  |       S )a@  
    Class-aware wrapper for `::fz_page_separations()`.
    	Get the separations details for a page.
    	This will be NULL, unless the format specifically supports
    	separations (such as PDF files). May be NULL even
    	so, if there are no separations on a page.

    	Returns a reference that must be dropped.
    )r   r8  r  s    r   r8  r8  i  s     %%d++r#   c                 ,    t        j                  |       S )zn
    Class-aware wrapper for `::fz_page_uses_overprint()`.
    	Query if a given page requires overprint.
    )r   r8  r  s    r   r8  r8  u  r  r#   c           
      :    t        j                  | |||||||      S )a  
    Class-aware wrapper for `::fz_paint_shade()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_paint_shade(::fz_shade *shade, ::fz_colorspace *override_cs, ::fz_matrix ctm, ::fz_pixmap *dest, ::fz_color_params color_params, ::fz_irect bbox, const ::fz_overprint *eop, ::fz_shade_color_cache **cache)` =>

    	Render a shade to a given pixmap.

    	shade: The shade to paint.

    	override_cs: NULL, or colorspace to override the shades
    	inbuilt colorspace.

    	ctm: The transform to apply.

    	dest: The pixmap to render into.

    	color_params: The color rendering settings

    	bbox: Pointer to a bounding box to limit the rendering
    	of the shade.

    	eop: NULL, or pointer to overprint bitmap.

    	cache: *cache is used to cache color information. If *cache is NULL it
    	is set to point to a new fz_shade_color_cache. If cache is NULL it is
    	ignored.
    )r   r><  r  s           r   r><  r><  |  s%    :   S$dTWY^__r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_parse_page_range()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_parse_page_range(const char *s, int n)` => `(const char *, int a, int b)`
    )r   fz_parse_page_ranger  s       r   rV  rV    s     %%aAq11r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_parse_pdfocr_options()`.
    	Parse PDFOCR options.

    	Currently defined options and values are as follows:

    		compression=none: No compression
    		compression=flate: Flate compression
    		strip-height=n: Strip height (default 16)
    		ocr-language=<lang>: OCR Language (default eng)
    		ocr-datadir=<datadir>: OCR data path (default rely on TESSDATA_PREFIX)
    )r   r8  r  s     r   r8  r8    s     ))$55r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_parse_stext_options()`.
    	Parse stext device options from a comma separated key-value
    	string.
    )r   r<  r  s     r   r<  r<    s     ((v66r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_parse_xml()`.
    	Parse the contents of buffer into a tree of xml nodes.

    	preserve_white: whether to keep or delete all-whitespace nodes.
    )r   r8-  r  s     r   r8-  r8-    s     sN33r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_parse_xml_archive_entry()`.
    	Parse the contents of an archive entry into a tree of xml nodes.

    	preserve_white: whether to keep or delete all-whitespace nodes.
    )r   r+  r  s      r   r+  r+  ĸ  s     ,,S(NKKr#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_parse_xml_from_html5()`.
    	Parse the contents of a buffer into a tree of XML nodes,
    	using the HTML5 parsing algorithm.
    )r   r;-  r{  s    r   r;-  r;-  ͸  r  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_parse_xml_stream()`.
    	Parse the contents of buffer into a tree of xml nodes.

    	preserve_white: whether to keep or delete all-whitespace nodes.
    )r   r4>  r  s     r   r4>  r4>  ո  s     %%fn==r#   c                 .    t        j                  | |      S )a$  
    Class-aware wrapper for `::fz_pcl_preset()`.
    	Initialize PCL option struct for a given preset.

    	Currently defined presets include:

    		generic	Generic PCL printer
    		ljet4	HP DeskJet
    		dj500	HP DeskJet 500
    		fs600	Kyocera FS-600
    		lj	HP LaserJet, HP LaserJet Plus
    		lj2	HP LaserJet IIp, HP LaserJet IId
    		lj3	HP LaserJet III
    		lj3d	HP LaserJet IIId
    		lj4	HP LaserJet 4
    		lj4pl	HP LaserJet 4 PL
    		lj4d	HP LaserJet 4d
    		lp2563b	HP 2563B line printer
    		oce9050	Oce 9050 Line printer
    )r   r8  r  s     r   r8  r8  ޸  s    * f--r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_pdfocr_band_writer_set_progress()`.
    	Set the progress callback for a pdfocr bandwriter.
    )r   r?,  r  s      r   r?,  r?,    s    
 44V[,WWr#   c                 0    t        j                  | ||      S r1  )r   r1  )r  r	  r  s      r   r1  r1    s    //%HHr#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_peek_byte()`.
    	Peek at the next byte in a stream.

    	stm: The stream to peek at.

    	Returns -1 for EOF, or the next byte that will be read.
    )r   r7>  r  s    r   r7>  r7>     r,  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_pixmap_alpha()`.
    	Return the number of alpha planes in a pixmap.

    	Returns the number of alphas. Does not throw exceptions.
    )r   r9  r[  s    r   r9  r9    r  r#   c                 ,    t        j                  |       S )zb
    Class-aware wrapper for `::fz_pixmap_bbox()`.
    	Return the bounding box for a pixmap.
    )r   r9  r[  s    r   r9  r9    r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_pixmap_colorants()`.
    	Return the number of colorants in a pixmap.

    	Returns the number of colorants (components, less any spots and
    	alpha).
    )r   r9  r[  s    r   r9  r9    r  r#   c                 ,    t        j                  |       S )z~
    Class-aware wrapper for `::fz_pixmap_colorspace()`.
    	Return the colorspace of a pixmap

    	Returns colorspace.
    )r   r9  r[  s    r   r9  r9  %  r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_pixmap_components()`.
    	Return the number of components in a pixmap.

    	Returns the number of components (including spots and alpha).
    )r   r9  r[  s    r   r9  r9  .  r  r#   c                 ,    t        j                  |       S )zi
    Class-aware wrapper for `::fz_pixmap_height()`.
    	Return the height of the pixmap in pixels.
    )r   r9  r[  s    r   r9  r9  7  r  r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_pixmap_image_tile()`.
    	Retrieve the underlying fz_pixmap for an image.

    	Returns a pointer to the underlying fz_pixmap for an image,
    	or NULL if this image is not based upon an fz_pixmap.

    	No reference is returned. Lifespan is limited to that of
    	the image itself. If required, use fz_keep_pixmap to take
    	a reference to keep it longer.
    )r   r<:  r  s    r   r<:  r<:  >  r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_pixmap_samples()`.
    	Returns a pointer to the pixel data of a pixmap.

    	Returns the pointer.
    )r   r9  r[  s    r   r9  r9  L  r1  r#   c                 ,    t        j                  |       S r9  )r   r9  rF  s    r   r9  r9  U      ''//r#   c                 ,    t        j                  |       S )zq
    Class-aware wrapper for `::fz_pixmap_size()`.
    	Return sizeof fz_pixmap plus size of data, in bytes.
    )r   r9  r[  s    r   r9  r9  Y  r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_pixmap_spots()`.
    	Return the number of spots in a pixmap.

    	Returns the number of spots (components, less colorants and
    	alpha). Does not throw exceptions.
    )r   r9  r[  s    r   r9  r9  `  r  r#   c                 ,    t        j                  |       S )zq
    Class-aware wrapper for `::fz_pixmap_stride()`.
    	Return the number of bytes in a row in the pixmap.
    )r   r9  r[  s    r   r9  r9  j  r  r#   c                 ,    t        j                  |       S )zg
    Class-aware wrapper for `::fz_pixmap_width()`.
    	Return the width of the pixmap in pixels.
    )r   r9  r[  s    r   r9  r9  q  r   r#   c                 ,    t        j                  |       S )ze
    Class-aware wrapper for `::fz_pixmap_x()`.
    	Return the x value of the pixmap in pixels.
    )r   r9  r[  s    r   r9  r9  x      
 c""r#   c                 ,    t        j                  |       S )ze
    Class-aware wrapper for `::fz_pixmap_y()`.
    	Return the y value of the pixmap in pixels.
    )r   r9  r[  s    r   r9  r9    rV  r#   c                 0    t        j                  | ||      S rr=  )r   rt=  r  s      r   rt=  rt=    s      v66r#   c                 2    t        j                  | |||      S rv=  )r   rx=  r  s       r   rx=  rx=    s    &&ueVUCCr#   c                 .    t        j                  | |      S )zi
    Class-aware wrapper for `::fz_pool_alloc()`.
    	Allocate a block of size bytes from the pool.
    )r   r:  r  s     r   r:  r:        
 d++r#   c                 ,    t        j                  |       S )a~  
    Class-aware wrapper for `::fz_pool_size()`.
    	The current size of the pool.

    	The number of bytes of storage currently allocated to the pool.
    	This is the total of the storage used for the blocks making
    	up the pool, rather then total of the allocated blocks so far,
    	so it will increase in 'lumps'.
    	from the pool, then the pool size may still be X
    )r   r:  rv  s    r   r:  r:    rS  r#   c                 .    t        j                  | |      S )zh
    Class-aware wrapper for `::fz_pool_strdup()`.
    	strdup equivalent allocating from the pool.
    )r   r:  r  s     r   r:  r:    s    
   q))r#   c                 ,    t        j                  |       S r^/  )r   r`/  r  s    r   r`/  r`/    r(  r#   c                 0    t        j                  | ||      S )a1  
    Class-aware wrapper for `::fz_post_scale()`.
    	Scale a matrix by postmultiplication.

    	m: Pointer to the matrix to scale

    	sx, sy: Scaling factors along the X- and Y-axes. A scaling
    	factor of 1.0 will not cause any scaling along the relevant
    	axis.

    	Returns m (updated).
    )r   r5  r  s      r   r5  r5    s     2r**r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_pre_rotate()`.
    	Rotate a transformation by premultiplying.

    	The premultiplied matrix is of the form
    	[ cos(deg) sin(deg) -sin(deg) cos(deg) 0 0 ].

    	m: Pointer to matrix to premultiply.

    	degrees: Degrees of counter clockwise rotation. Values less
    	than zero and greater than 360 are handled as expected.

    	Returns m (updated).
    )r   r5  r  s     r   r5  r5    s     7++r#   c                 0    t        j                  | ||      S )a/  
    Class-aware wrapper for `::fz_pre_scale()`.
    	Scale a matrix by premultiplication.

    	m: Pointer to the matrix to scale

    	sx, sy: Scaling factors along the X- and Y-axes. A scaling
    	factor of 1.0 will not cause any scaling along the relevant
    	axis.

    	Returns m (updated).
    )r   r5  r  s      r   r5  r5  ͹  s     q"b))r#   c                 0    t        j                  | ||      S )a[  
    Class-aware wrapper for `::fz_pre_shear()`.
    	Premultiply a matrix with a shearing matrix.

    	The shearing matrix is of the form [ 1 sy sx 1 0 0 ].

    	m: pointer to matrix to premultiply

    	sx, sy: Shearing factors. A shearing factor of 0.0 will not
    	cause any shearing along the relevant axis.

    	Returns m (updated).
    )r   r5  r  s      r   r5  r5  ܹ  s     q"b))r#   c                 0    t        j                  | ||      S )a+  
    Class-aware wrapper for `::fz_pre_translate()`.
    	Translate a matrix by premultiplication.

    	m: The matrix to translate

    	tx, ty: Translation distances along the X- and Y-axes. A
    	translation of 0 will not cause any translation along the
    	relevant axis.

    	Returns m.
    )r   r5  r  s      r   r5  r5    r  r#   c                 .    t        j                  | |      S )a<  
    Class-aware wrapper for `::fz_prepare_t3_glyph()`.
    	Force a type3 font to cache the displaylist for a given glyph
    	id.

    	This caching can involve reading the underlying file, so must
    	happen ahead of time, so we aren't suddenly forced to read the
    	file while playing a displaylist back.
    )r   r2  r  s     r   r2  r2    s     %%dC00r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_previous_page()`.
    	Function to get the location of the previous page (allowing for
    	the end of chapters etc). If already at the start of the
    	document, returns the current page.
    )r   r1  rB  s     r   r1  r1    rFT  r#   c                 ,    t        j                  |       S r6  )r   r6  rI  s    r   r6  r6    r $  r#   c                 ,    t        j                  |       S r6  )r   r6  rI  s    r   r6  r6    r!  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_print_stext_page_as_html()`.
    	Output structured text to a file in HTML (visual) format.
    )r   r6  r  s      r   r6  r6    s    
 --c4<<r#   c                 0    t        j                  | ||      S )zz
    Class-aware wrapper for `::fz_print_stext_page_as_json()`.
    	Output structured text to a file in JSON format.
    )r   r6  r  s      r   r6  r6    s    
 --c4??r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_print_stext_page_as_text()`.
    	Output structured text to a file in plain-text UTF-8 format.
    )r   r6  r  s     r   r6  r6  &  s    
 --c488r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_print_stext_page_as_xhtml()`.
    	Output structured text to a file in XHTML (semantic) format.
    )r   r6  r  s      r   r6  r6  -  s    
 ..sD"==r#   c                 0    t        j                  | ||      S )zx
    Class-aware wrapper for `::fz_print_stext_page_as_xml()`.
    	Output structured text to a file in XML format.
    )r   r6  r  s      r   r6  r6  4  s    
 ,,S$;;r#   c                 ,    t        j                  |       S r6  )r   r6  rI  s    r   r6  r6  ;  r!  r#   c                 ,    t        j                  |       S r6  )r   r6  rI  s    r   r6  r6  ?  r~#  r#   c                 0    t        j                  | ||      S )a?  
    Class-aware wrapper for `::fz_process_opened_pages()`.
    	Iterates over all opened pages of the document, calling the
    	provided callback for each page for processing. If the callback
    	returns non-NULL then the iteration stops and that value is returned
    	to the called of fz_process_opened_pages().

    	The state pointer provided to fz_process_opened_pages() is
    	passed on to the callback but is owned by the caller.

    	Returns the first non-NULL value returned by the callback,
    	or NULL if the callback returned NULL for all opened pages.
    )r   r1  r  s      r   r1  r1  C  s     ))#/CUKKr#   c                 6    t        j                  | |||||      S )a  
    Class-aware wrapper for `::fz_process_shade()`.
    	Process a shade, using supplied callback functions. This
    	decomposes the shading to a mesh (even ones that are not
    	natively meshes, such as linear or radial shadings), and
    	processes triangles from those meshes.

    	shade: The shade to process.

    	ctm: The transform to use

    	prepare: Callback function to 'prepare' each vertex.
    	This function is passed an array of floats, and populates
    	a fz_vertex structure.

    	process: This function is passed 3 pointers to vertex
    	structures, and actually performs the processing (typically
    	filling the area between the vertexes).

    	process_arg: An opaque argument passed through from caller
    	to callback functions.
    )r   rA<  r#  s         r   rA<  rA<  S  s    . ""5#w+VVr#   c                 0    t        j                  | ||      S r:  )r   r:  r)  s      r   r:  r:  l  s    $$T1h77r#   c                 .    t        j                  | |      S r:  )r   r:  r-  s     r   r:  r:  p      ""422r#   c                 .    t        j                  | |      S r:  )r   r:  r-  s     r   r:  r:  t  rV  r#   c                  *    t        j                         S )zg
    Class-aware wrapper for `::fz_purge_glyph_cache()`.
    	Purge all the glyphs from the cache.
    )r   fz_purge_glyph_cacher$   r#   r   rV  rV  x  r*V  r#   c                 ,    t        j                  |       S )zf
    Class-aware wrapper for `::fz_quad_from_rect()`.
    	Convert a rect to a quad (losslessly).
    )r   rz;  r  s    r   rz;  rz;    r  r#   c                 4    t        j                  | ||||      S )aw  
    Class-aware wrapper for `::fz_quadto()`.
    	Append a 'quadto' command to an open path. (For a
    	quadratic bezier).

    	path: The path to modify.

    	x0, y0: The control coordinates for the quadratic curve.

    	x1, y1: The end coordinates for the quadratic curve.

    	Throws exceptions on failure to allocate, or attempting to
    	modify a packed path.
    )r   rh8  r7  s        r   rh8  rh8    s     D"b"b11r#   c                 0    t        j                  | ||      S )a   
    Class-aware wrapper for `::fz_read()`.
    	Read from a stream into a given data block.

    	stm: The stream to read from.

    	data: The data block to read into.

    	len: The length of the data block (in bytes).

    	Returns the number of bytes read. May throw exceptions.
    )r   r:>  r:  s      r   r:>  r:>    s     >>#tS))r#   c                 .    t        j                  | |      S )a%  
    Class-aware wrapper for `::fz_read_all()`.
    	Read all of a stream into a buffer.

    	stm: The stream to read from

    	initial: Suggested initial size for the buffer.

    	Returns a buffer created from reading from the stream. May throw
    	exceptions on failure to allocate.
    )r   r>>  r=  s     r   r>>  r>>    s     c7++r#   c                 .    t        j                  | |      S )a!  
    Class-aware wrapper for `::fz_read_archive_entry()`.
    	Reads all bytes in an archive entry
    	into a buffer.

    	name: Entry name to look for, this must be an exact match to
    	the entry name in the archive.

    	Throws an exception if a matching entry cannot be found.
    )r   r+  r  s     r   r+  r+    s     ''d33r#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_read_best()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_read_best(::fz_stream *stm, size_t initial, size_t worst_case)` => `(fz_buffer *, int truncated)`

    	Attempt to read a stream into a buffer. If truncated
    	is NULL behaves as fz_read_all, sets a truncated flag in case of
    	error.

    	stm: The stream to read from.

    	initial: Suggested initial size for the buffer.

    	truncated: Flag to store success/failure indication in.

    	worst_case: 0 for unknown, otherwise an upper bound for the
    	size of the stream.

    	Returns a buffer created from reading from the stream.
    )r   rA>  rC  s       r   rA>  rA>    s    , sGY
CCr#   c                 .    t        j                  | |      S )aD  
    Class-aware wrapper for `::fz_read_bits()`.
    	Read the next n bits from a stream (assumed to
    	be packed most significant bit first).

    	stm: The stream to read from.

    	n: The number of bits to read, between 1 and 8*sizeof(int)
    	inclusive.

    	Returns -1 for EOF, or the required number of bits.
    )r   rD>  rH  s     r   rD>  rD>  ٺ  s     sA&&r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_read_byte()`.
    	Read the next byte from a stream.

    	stm: The stream t read from.

    	Returns -1 for end of stream, or the next byte. May
    	throw exceptions.
    )r   rG>  r  s    r   rG>  rG>         s##r#   c                 ,    t        j                  |       S )zi
    Class-aware wrapper for `::fz_read_file()`.
    	Read all the contents of a file into a buffer.
    )r   fz_read_filer  s    r   rW  rW    s    
 x((r#   c                 ,    t        j                  |       S rJ>  )r   rL>  r  s    r   rL>  rL>    r9&  r#   c                 ,    t        j                  |       S rN>  )r   rP>  r  s    r   rP>  rP>    r  r#   c                 ,    t        j                  |       S rR>  )r   rT>  r  s    r   rT>  rT>    r9&  r#   c                 ,    t        j                  |       S rV>  )r   rX>  r  s    r   rX>  rX>    r  r#   c                 ,    t        j                  |       S rZ>  )r   r\>  r  s    r   r\>  r\>    r9&  r#   c                 ,    t        j                  |       S r^>  )r   r`>  r  s    r   r`>  r`>    r  r#   c                 ,    t        j                  |       S rb>  )r   rd>  r  s    r   rd>  rd>    r9&  r#   c                 ,    t        j                  |       S rf>  )r   rh>  r  s    r   rh>  rh>    r  r#   c                 0    t        j                  | ||      S )a(  
    Class-aware wrapper for `::fz_read_line()`.
    	Read a line from stream into the buffer until either a
    	terminating newline or EOF, which it replaces with a null byte
    	('').

    	Returns buf on success, and NULL when end of file occurs while
    	no characters have been read.
    )r   rk>  r`  s      r   rk>  rk>    s     sC--r#   c                 .    t        j                  | |      S )aT  
    Class-aware wrapper for `::fz_read_rbits()`.
    	Read the next n bits from a stream (assumed to
    	be packed least significant bit first).

    	stm: The stream to read from.

    	n: The number of bits to read, between 1 and 8*sizeof(int)
    	inclusive.

    	Returns (unsigned int)-1 for EOF, or the required number of bits.
    )r   rn>  rH  s     r   rn>  rn>  '  s     Q''r#   c                 ,    t        j                  |       S )a2  
    Class-aware wrapper for `::fz_read_rune()`.
    	Read a utf-8 rune from a stream.

    	In the event of encountering badly formatted utf-8 codes
    	(such as a leading code with an unexpected number of following
    	codes) no error/exception is given, but undefined values may be
    	returned.
    )r   rq>  re  s    r   rq>  rq>  6  rV  r#   c                 0    t        j                  | ||      S )a+  
    Class-aware wrapper for `::fz_read_string()`.
    	Read a null terminated string from the stream into
    	a buffer of a given length. The buffer will be null terminated.
    	Throws on failure (including the failure to fit the entire
    	string including the terminator into the buffer).
    )r   rt>  rh  s      r   rt>  rt>  B  s       fc22r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_read_uint16()`.
    	fz_read_[u]int(16|24|32|64)(_le)?

    	Read a 16/32/64 bit signed/unsigned integer from stream,
    	in big or little-endian byte orders.

    	Throws an exception if EOF is encountered.
    )r   rw>  r  s    r   rw>  rw>  L  s       %%r#   c                 ,    t        j                  |       S ry>  )r   r{>  r  s    r   r{>  r{>  X  r  r#   c                 ,    t        j                  |       S r}>  )r   r>  r  s    r   r>  r>  \  r  r#   c                 ,    t        j                  |       S r>  )r   r>  r  s    r   r>  r>  `  r  r#   c                 ,    t        j                  |       S r>  )r   r>  r  s    r   r>  r>  d  r  r#   c                 ,    t        j                  |       S r>  )r   r>  r  s    r   r>  r>  h  r  r#   c                 ,    t        j                  |       S r>  )r   r>  r  s    r   r>  r>  l  r  r#   c                 ,    t        j                  |       S r>  )r   r>  r  s    r   r>  r>  p  r  r#   c                 ,    t        j                  |       S r>  )r   r>  r  s    r   r>  r>  t  r  r#   c                 ,    t        j                  |       S )a7  
    Class-aware wrapper for `::fz_read_utf16_le()`.
    	Read a utf-16 rune from a stream. (little endian and
    	big endian respectively).

    	In the event of encountering badly formatted utf-16 codes
    	(mismatched surrogates) no error/exception is given, but
    	undefined values may be returned.
    )r   r>  r  s    r   r>  r>  x  s     ""3''r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_realloc()`.
    	Reallocates a block of memory to given size. Existing contents
    	up to min(old_size,new_size) are maintained. The rest of the
    	block is uninitialised.

    	fz_realloc(ctx, NULL, size) behaves like fz_malloc(ctx, size).

    	fz_realloc(ctx, p, 0); behaves like fz_free(ctx, p).

    	Throws exception in the event of failure to allocate.
    )r   
fz_reallocr  s     r   rW  rW    s     Q%%r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_realloc_no_throw()`.
    	fz_realloc equivalent that returns NULL rather than throwing
    	exceptions.
    )r   fz_realloc_no_throwr  s     r   rW  rW    s     %%a..r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_realpath()`.
    	Resolve a path to an absolute file name.
    	The resolved path buffer must be of at least PATH_MAX size.
    )r   fz_realpathr  s     r   rW  rW    s     dM22r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_recognize_image_format()`.
    	Recognise image format strings in the first 8 bytes from image
    	data.
    )r   fz_recognize_image_formatrL  s    r   rW  rW    r  r#   c                 ,    t        j                  |       S )a>  
    Class-aware wrapper for `::fz_rect_from_irect()`.
    	Convert a bbox into a rect.

    	For our purposes, a rect can represent all the values we meet in
    	a bbox, so nothing can go wrong.

    	rect: A place to store the generated rectangle.

    	bbox: The bbox to convert.

    	Returns rect (updated).
    )r   r4  r  s    r   r4  r4    r'V  r#   c                 ,    t        j                  |       S )zs
    Class-aware wrapper for `::fz_rect_from_quad()`.
    	Convert a quad to the smallest rect that covers it.
    )r   r#;  r%  s    r   r#;  r#;    r  r#   c                 4    t        j                  | ||||      S )a  
    Class-aware wrapper for `::fz_rectto()`.
    	Append a 'rectto' command to an open path.

    	The rectangle is equivalent to:
    		moveto x0 y0
    		lineto x1 y0
    		lineto x1 y1
    		lineto x0 y1
    		closepath

    	path: The path to modify.

    	x0, y0: First corner of the rectangle.

    	x1, y1: Second corner of the rectangle.

    	Throws exceptions on failure to allocate, or attempting to
    	modify a packed path.
    )r   rk8  r7  s        r   rk8  rk8  »  s    * D"b"b11r#   c                 ,    t        j                  |       S r,  )r   r,  r  s    r   r,  r,  ٻ  s    --g66r#   c                 ,    t        j                  |       S )a?  
    Class-aware wrapper for `::fz_register_document_handler()`.
    	Register a handler for a document type.

    	handler: The handler to register. This must live on for the duration of the
    	use of this handler. It will be passed back to the handler for calls so
    	the caller can use it to retrieve state.
    )r   rd1  r  s    r   rd1  rd1  ݻ  s     ..w77r#   c                  *    t        j                         S )z
    Class-aware wrapper for `::fz_register_document_handlers()`.
    	Register handlers for all the standard document types supported in
    	this build.
    )r   fz_register_document_handlersr$   r#   r   r&W  r&W    s     //11r#   c                 0    t        j                  | ||      S )au  
    Class-aware wrapper for `::fz_remove_item()`.
    	Remove an item from the store.

    	If an item indexed by the given key exists in the store, remove
    	it.

    	drop: The function used to free the value (to ensure we get a
    	value of the correct type).

    	key: The key used to find the item to remove.

    	type: Functions used to manipulate the key.
    )r   fz_remove_itemr  s      r   r(W  r(W    s       sD11r#   c                 0    t        j                  | ||      S rb/  )r   rd/  r  s      r   rd/  rd/        !!#sE22r#   c                 4    t        j                  | ||||      S )a  
    Class-aware wrapper for `::fz_render_glyph_pixmap()`.
    	Create a pixmap containing a rendered glyph.

    	Lookup gid from font, clip it with scissor, and rendering it
    	with aa bits of antialiasing into a new pixmap.

    	The caller takes ownership of the pixmap and so must free it.

    	Note: This function is no longer used for normal rendering
    	operations, and is kept around just because we use it in the
    	app. It should be considered "at risk" of removal from the API.
    )r   r2  r  s        r   r2  r2    s     ((sC"EEr#   c                 6    t        j                  | |||||      S )aq  
    Class-aware wrapper for `::fz_render_t3_glyph_direct()`.
    	Nasty PDF interpreter specific hernia, required to allow the
    	interpreter to replay glyphs from a type3 font directly into
    	the target device.

    	This is only used in exceptional circumstances (such as type3
    	glyphs that inherit current graphics state, or nested type3
    	glyphs).
    )r   rg/  r  s         r   rg/  rg/    s     ++CsCPPr#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_rendering_intent_name()`.
    	Map from enumerated rendering intent to string.

    	The returned string is static and therefore must not be freed.
    )r   fz_rendering_intent_namer  s    r   r.W  r.W  "  s     **2..r#   c                  *    t        j                         S )z.Class-aware wrapper for `::fz_report_error()`.)r   fz_report_errorr$   r#   r   r0W  r0W  +  r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_reset_output()`.
    	Reset a closed output stream. Returns state to
    	(broadly) that which it was in when opened. Not
    	all outputs can be reset, so this may throw an
    	exception.
    )r   r6  r   s    r   r6  r6  /  s     !!%((r#   c                 ,    t        j                  |       S rz=  )r   r|=  r  s    r   r|=  r|=  9  r}*  r#   c                 .    t        j                  | |      S )a   
    Class-aware wrapper for `::fz_resize_buffer()`.
    	Ensure that a buffer has a given capacity,
    	truncating data if required.

    	capacity: The desired capacity for the buffer. If the current
    	size of the buffer contents is smaller than capacity, it is
    	truncated.
    )r   r?-  r  s     r   r?-  r?-  =  s     ""311r#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_resolve_link()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_resolve_link(::fz_document *doc, const char *uri)` => `(fz_location, float xp, float yp)`

    	Resolve an internal link to a page number.

    	xp, yp: Pointer to store coordinate of destination on the page.

    	Returns (-1,-1) if the URI cannot be resolved.
    )r   r1  r  s       r   r1  r1  I  s     !!#sB33r#   c                  *    t        j                         S )z)Class-aware wrapper for `::fz_rethrow()`.)r   
fz_rethrowr$   r#   r   r6W  r6W  X  rT  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_rethrow_if()`.
    	Within an fz_catch() block, rethrow the current exception
    	if the errcode of the current exception matches.

    	This assumes no intervening use of fz_try/fz_catch.
    )r   fz_rethrow_ifr  s    r   r8W  r8W  \  s     ((r#   c                 ,    t        j                  |       S )z0Class-aware wrapper for `::fz_rethrow_unless()`.)r   fz_rethrow_unlessr  s    r   r:W  r:W  f  s    ##G,,r#   c                 ,    t        j                  |       S )ag  
    Class-aware wrapper for `::fz_rotate()`.
    	Create a rotation matrix.

    	The returned matrix is of the form
    	[ cos(deg) sin(deg) -sin(deg) cos(deg) 0 0 ].

    	m: Pointer to place to store matrix

    	degrees: Degrees of counter clockwise rotation. Values less
    	than zero and greater than 360 are handled as expected.

    	Returns m.
    )r   r5  r  s    r   r5  r5  j  s     G$$r#   c                 ,    t        j                  |       S )aa  
    Class-aware wrapper for `::fz_round_rect()`.
    	Round rectangle coordinates.

    	Coordinates in a bounding box are integers, so rounding of the
    	rects coordinates takes place. The top left corner is rounded
    	upwards and left while the bottom right corner is rounded
    	downwards and to the right.

    	This differs from fz_irect_from_rect, in that fz_irect_from_rect
    	slavishly follows the numbers (i.e any slight over/under
    	calculations can cause whole extra pixels to be added).
    	fz_round_rect allows for a small amount of rounding error when
    	calculating the bbox.
    )r   r};  r  s    r   r};  r};  {  s      %%r#   c                 4    t        j                  | ||||      S )aW  
    Class-aware wrapper for `::fz_run_display_list()`.
    	(Re)-run a display list through a device.

    	list: A display list, created by fz_new_display_list and
    	populated with objects from a page by running fz_run_page on a
    	device obtained from fz_new_list_device.

    	ctm: Transform to apply to display list contents. May include
    	for example scaling and rotation, see fz_scale, fz_rotate and
    	fz_concat. Set to fz_identity if no transformation is desired.

    	scissor: Only the part of the contents of the display list
    	visible within this area will be considered when the list is
    	run through the device. This does not imply for tile objects
    	contained in the display list.

    	cookie: Communication mechanism between caller and library
    	running the page. Intended for multi-threaded applications,
    	while single-threaded applications set cookie to NULL. The
    	caller may abort an ongoing page run. Cookie also communicates
    	progress information back to the caller. The fields inside
    	cookie are continually updated while the page is being run.
    )r   r0  r  s        r   r0  r0    s    2 %%dCgvFFr#   c                 0    t        j                  | ||      S )aL  
    Class-aware wrapper for `::fz_run_document_structure()`.
    	Run the document structure through a device.

    	doc: Document in question.

    	dev: Device obtained from fz_new_*_device.

    	cookie: Communication mechanism between caller and library.
    	Intended for multi-threaded applications, while
    	single-threaded applications set cookie to NULL. The
    	caller may abort an ongoing rendering of a page. Cookie also
    	communicates progress information back to the caller. The
    	fields inside cookie are continually updated while the page is
    	rendering.
    )r   r1  r  s      r   r1  r1    s    " ++Cf==r#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_run_page()`.
    	Run a page through a device.

    	page: Page obtained from fz_load_page.

    	dev: Device obtained from fz_new_*_device.

    	transform: Transform to apply to page. May include for example
    	scaling and rotation, see fz_scale, fz_rotate and fz_concat.
    	Set to fz_identity if no transformation is desired.

    	cookie: Communication mechanism between caller and library
    	rendering the page. Intended for multi-threaded applications,
    	while single-threaded applications set cookie to NULL. The
    	caller may abort an ongoing rendering of a page. Cookie also
    	communicates progress information back to the caller. The
    	fields inside cookie are continually updated while the page is
    	rendering.
    )r   r8  r  s       r   r8  r8    s    * dCF;;r#   c                 2    t        j                  | |||      S )zp
    Class-aware wrapper for `::fz_run_page_annots()`.
    	Run the annotations on a page through a device.
    )r   r8  r  s       r   r8  r8  Ҽ  s    
 $$T3	6BBr#   c                 2    t        j                  | |||      S )aX  
    Class-aware wrapper for `::fz_run_page_contents()`.
    	Run a page through a device. Just the main
    	page content, without the annotations, if any.

    	page: Page obtained from fz_load_page.

    	dev: Device obtained from fz_new_*_device.

    	transform: Transform to apply to page. May include for example
    	scaling and rotation, see fz_scale, fz_rotate and fz_concat.
    	Set to fz_identity if no transformation is desired.

    	cookie: Communication mechanism between caller and library
    	rendering the page. Intended for multi-threaded applications,
    	while single-threaded applications set cookie to NULL. The
    	caller may abort an ongoing rendering of a page. Cookie also
    	communicates progress information back to the caller. The
    	fields inside cookie are continually updated while the page is
    	rendering.
    )r   r"8  r  s       r   r"8  r"8  ټ  s    , &&tS)VDDr#   c                 2    t        j                  | |||      S )zm
    Class-aware wrapper for `::fz_run_page_widgets()`.
    	Run the widgets on a page through a device.
    )r   r%8  r  s       r   r%8  r%8    s    
 %%dCFCCr#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_run_t3_glyph()`.
    	Run a glyph from a Type3 font to
    	a given device.

    	font: The font to find the glyph in.

    	gid: The glyph to run.

    	trm: The transform to apply.

    	dev: The device to render onto.
    )r   r2  r  s       r   r2  r2    s     !!$S#66r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_runeidx()`.
    	Compute the index of a rune in a string.

    	str: Pointer to beginning of a string.

    	p: Pointer to a char in str.

    	Returns the index of the rune pointed to by p in str.
    )r   
fz_runeidxr  s     r   rEW  rEW    s     S!$$r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_runelen()`.
    	Count how many chars are required to represent a rune.

    	rune: The rune to encode.

    	Returns the number of bytes required to represent this run in
    	UTF8.
    )r   
fz_runelenr  s    r   rGW  rGW    s     T""r#   c                 .    t        j                  | |      S )ag  
    Class-aware wrapper for `::fz_runeptr()`.
    	Obtain a pointer to the char representing the rune
    	at a given index.

    	str: Pointer to beginning of a string.

    	idx: Index of a rune to return a char pointer to.

    	Returns a pointer to the char where the desired rune starts,
    	or NULL if the string ends before the index is reached.
    )r   
fz_runeptrr  s     r   rIW  rIW  !  s     S#&&r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_runetochar()`.
    	UTF8 encode a rune to a sequence of chars.

    	str: Pointer to a place to put the UTF8 encoded character.

    	rune: Pointer to a 'rune'.

    	Returns the number of bytes the rune took to output.
    )r   fz_runetocharr  s     r   rKW  rKW  0  s     T**r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_samples_get()`.
    Provides simple (but slow) access to pixmap data from Python and C#.
    )r   r9  r  s     r   r9  r9  =  s    
   00r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_samples_set()`.
    Provides simple (but slow) write access to pixmap data from Python and
    C#.
    )r   r9  r  s      r   r9  r9  D  s       77r#   c                 .    t        j                  | |      S )zy
    Class-aware wrapper for `::fz_save_accelerator()`.
    	Save accelerator data for the document to a given file.
    )r   r!1  rp  s     r   r!1  r!1  L  rC  r#   c                 .    t        j                  | |      S )z[
    Class-aware wrapper for `::fz_save_bitmap_as_pbm()`.
    	Save a bitmap as a pbm.
    )r   rx,  r  s     r   rx,  rx,  S      
 ''99r#   c                 2    t        j                  | |||      S )z^
    Class-aware wrapper for `::fz_save_bitmap_as_pcl()`.
    	Save a bitmap as mono PCL.
    )r   r},  r  s       r   r},  r},  Z      
 ''&#FFr#   c                 .    t        j                  | |      S )z`
    Class-aware wrapper for `::fz_save_bitmap_as_pkm()`.
    	Save a CMYK bitmap as a pkm.
    )r   r,  r  s     r   r,  r,  a  rPW  r#   c                 2    t        j                  | |||      S )z[
    Class-aware wrapper for `::fz_save_bitmap_as_pwg()`.
    	Save a bitmap as a PWG.
    )r   r,  r  s       r   r,  r,  h  rRW  r#   c                 .    t        j                  | |      S )ze
    Class-aware wrapper for `::fz_save_buffer()`.
    	Save the contents of a buffer to a file.
    )r   rB-  r  s     r   rB-  rB-  o  s    
   h//r#   c                 0    t        j                  | ||      S )z]
    Class-aware wrapper for `::fz_save_pixmap_as_jpeg()`.
    	Save a pixmap as a JPEG.
    )r   r9  r  s      r   r9  r9  v  s    
 ((7CCr#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_save_pixmap_as_jpx()`.
    	Save pixmap data as JP2K with no subsampling.

    	quality = 100 = lossless
    	otherwise for a factor of x compression use 100-x. (so 80 is 1:20 compression)
    )r   r9  r  s      r   r9  r9  }  s     ''!<<r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_save_pixmap_as_pam()`.
    	Save a pixmap as a pnm (greyscale, rgb or cmyk, with or without
    	alpha).
    )r   r9  r  s     r   r9  r9    s     ''99r#   c                 .    t        j                  | |      S )zt
    Class-aware wrapper for `::fz_save_pixmap_as_pbm()`.
    	Save a pixmap as a pbm. (Performing halftoning).
    )r   r9  r  s     r   r9  r9    rPW  r#   c                 2    t        j                  | |||      S )zf
    Class-aware wrapper for `::fz_save_pixmap_as_pcl()`.
    	Save an (RGB) pixmap as color PCL.
    )r   r9  r  s       r   r9  r9    rRW  r#   c                 2    t        j                  | |||      S )zn
    Class-aware wrapper for `::fz_save_pixmap_as_pclm()`.
    	Save a (Greyscale or RGB) pixmap as pclm.
    )r   r9  r  s       r   r9  r9    s    
 ((67KKr#   c                 2    t        j                  | |||      S )zr
    Class-aware wrapper for `::fz_save_pixmap_as_pdfocr()`.
    	Save a (Greyscale or RGB) pixmap as pdfocr.
    )r   r9  r  s       r   r9  r9    s    
 **68VWMMr#   c                 .    t        j                  | |      S )zy
    Class-aware wrapper for `::fz_save_pixmap_as_pkm()`.
    	Save a CMYK pixmap as a pkm. (Performing halftoning).
    )r   r9  r  s     r   r9  r9    rPW  r#   c                 .    t        j                  | |      S )zn
    Class-aware wrapper for `::fz_save_pixmap_as_png()`.
    	Save a (Greyscale or RGB) pixmap as a png.
    )r   r9  r  s     r   r9  r9    rPW  r#   c                 .    t        j                  | |      S )zx
    Class-aware wrapper for `::fz_save_pixmap_as_pnm()`.
    	Save a pixmap as a pnm (greyscale or rgb, no alpha).
    )r   r9  r  s     r   r9  r9    rPW  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_save_pixmap_as_ps()`.
    	Save a (gray, rgb, or cmyk, no alpha) pixmap out as postscript.
    )r   r9  r!  s      r   r9  r9    s    
 &&vx@@r#   c                 .    t        j                  | |      S )z`
    Class-aware wrapper for `::fz_save_pixmap_as_psd()`.
    	Save a pixmap as a PSD file.
    )r   r9  r  s     r   r9  r9  ǽ  rPW  r#   c                 2    t        j                  | |||      S )z[
    Class-aware wrapper for `::fz_save_pixmap_as_pwg()`.
    	Save a pixmap as a PWG.
    )r   r9  r&  s       r   r9  r9  ν  rRW  r#   c                 0    t        j                  | ||      S )zd
    Class-aware wrapper for `::fz_save_xml()`.
    	As for fz_write_xml, but direct to a file.
    )r   rJ@  r)  s      r   rJ@  rJ@  ս  s    
 dD(33r#   c                 .    t        j                  | |      S )aT  
    Class-aware wrapper for `::fz_scale()`.
    	Create a scaling matrix.

    	The returned matrix is of the form [ sx 0 0 sy 0 0 ].

    	m: Pointer to the matrix to populate

    	sx, sy: Scaling factors along the X- and Y-axes. A scaling
    	factor of 1.0 will not cause any scaling along the relevant
    	axis.

    	Returns m.
    )r   r}5  r.  s     r   r}5  r}5  ܽ  s     ??2r""r#   c                 6    t        j                  | |||||      S r9  )r   r9  r1  s         r   r9  r9    s    !!#q!Q488r#   c           	      8    t        j                  | ||||||      S )a&  
    Class-aware wrapper for `::fz_search_chapter_page_number()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_search_chapter_page_number(::fz_document *doc, int chapter, int page, const char *needle, ::fz_quad *hit_bbox, int hit_max)` => `(int, int hit_mark)`
    )r   r$1  r4  s          r   r$1  r$1    s#     //WdFHV^`ghhr#   c                 6    t        j                  | |||||      S r&1  )r   r(1  r:  s         r   r(1  r(1    s    223vrSYZZr#   c                 4    t        j                  | ||||      S )a  
    Class-aware wrapper for `::fz_search_display_list()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_search_display_list(::fz_display_list *list, const char *needle, ::fz_quad *hit_bbox, int hit_max)` => `(int, int hit_mark)`
    )r   r0  r=  s        r   r0  r0    s     ((vx7SSr#   c                 2    t        j                  | |||      S r0  )r   r0  r@  s       r   r0  r0    s    ++D&"fEEr#   c                 4    t        j                  | ||||      S )a  
    Class-aware wrapper for `::fz_search_page()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_search_page(::fz_page *page, const char *needle, ::fz_quad *hit_bbox, int hit_max)` => `(int, int hit_mark)`

    	Search for the 'needle' text on the page.
    	Record the hits in the hit_bbox array and return the number of
    	hits. Will stop looking once it has filled hit_max rectangles.
    )r   r(8  rC  s        r   r(8  r(8    s       vx7KKr#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_search_page2()`.
    C++ alternative to fz_search_page() that returns information in a std::vector.
    )r   r+1  rF  s       r   r+1  r+1    s    
 !!#vvw??r#   c                 2    t        j                  | |||      S )zi
    Class-aware wrapper for `::fz_search_page_cb()`.
    	Search for the 'needle' text on the page.
    )r   r+8  rI  s       r   r+8  r+8    s    
 ##D&"f==r#   c                 6    t        j                  | |||||      S )a  
    Class-aware wrapper for `::fz_search_page_number()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_search_page_number(::fz_document *doc, int number, const char *needle, ::fz_quad *hit_bbox, int hit_max)` => `(int, int hit_mark)`
    )r   r.1  rL  s         r   r.1  r.1  &  s      ''VVXxQXYYr#   c                 4    t        j                  | ||||      S r01  )r   r21  rO  s        r   r21  r21  /  s    **3FKKr#   c                 4    t        j                  | ||||      S )a  
    Class-aware wrapper for `::fz_search_stext_page()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_search_stext_page(::fz_stext_page *text, const char *needle, ::fz_quad *hit_bbox, int hit_max)` => `(int, int hit_mark)`

    	Search for occurrence of 'needle' in text page.

    	Return the number of quads and store hit quads in the passed in
    	array.

    	NOTE: This is an experimental interface and subject to change
    	without notice.
    )r   r<  rR  s        r   r<  r<  3  s     &&tVXxQQr#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_search_stext_page_cb()`.
    	Search for occurrence of 'needle' in text page.

    	Call callback once for each hit. This callback will receive
    	(potentially) multiple quads for each hit.

    	Returns the number of hits - note that this is potentially
    	different from (i.e. is not greater than) the number of quads
    	as returned by the non callback API.

    	NOTE: This is an experimental interface and subject to change
    	without notice.
    )r   r<  rU  s       r   r<  r<  D  s     ))$FCCr#   c                 0    t        j                  | ||      S )a6  
    Class-aware wrapper for `::fz_seek()`.
    	Seek within a stream.

    	stm: The stream to seek within.

    	offset: The offset to seek to.

    	whence: From where the offset is measured (see fseek).
    	SEEK_SET - start of stream.
    	SEEK_CUR - current position.
    	SEEK_END - end of stream.

    )r   r>  rX  s      r   r>  r>  U  s     >>#vv..r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_seek_output()`.
    	Seek to the specified file position.
    	See fseek for arguments.

    	Throw an error on unseekable outputs.
    )r   r6  r\  s      r   r6  r6  f  s       c622r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_segment_stext_page()`.
    	Perform segmentation analysis on an (unstructured) page to look for
    	recursive subdivisions.

    	Essentially this code attempts to split the page horizontally and/or
    	vertically repeatedly into smaller and smaller "segments" (divisions).

    	Returns 0 if no changes were made to the document.

    	This is experimental code, and may change (or be removed) in future
    	versions!
    )r   r<  r  s    r   r<  r<  p  r  r#   c                 .    t        j                  | |      S )z{
    Class-aware wrapper for `::fz_separation_current_behavior()`.
    	Test for the current behavior of a separation.
    )r   fz_separation_current_behaviorrb  s     r   ruW  ruW    s    
 00jAAr#   c                 6    t        j                  | |||||      S )al  
    Class-aware wrapper for `::fz_separation_equivalent()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_separation_equivalent(const ::fz_separations *seps, int idx, ::fz_colorspace *dst_cs, ::fz_colorspace *prf, ::fz_color_params color_params)` => float dst_color

    	Get the equivalent separation color in a given colorspace.
    )r   r;  rf  s         r   r;  r;    s     **4fil[[r#   c                 .    t        j                  | |      S r;  )r   r;  rb  s     r   r;  r;    s    $$S*55r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_set_aa_level()`.
    	Set the number of bits of antialiasing we should
    	use (for both text and graphics).

    	bits: The number of bits of antialiasing to use (values are
    	clamped to within the 0 to 8 range).
    )r   fz_set_aa_levelrk  s    r   ryW  ryW    r  r#   c                 .    t        j                  | |      S rF.  )r   rI.  rn  s     r   rI.  rI.        00s;;r#   c                 .    t        j                  | |      S r.  )r   r.  rr  s     r   r.  r.    s    %%j"55r#   c                 .    t        j                  | |      S ri/  )r   rk/  ru  s     r   rk/  rk/    r )  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_set_default_gray()`.
    	Set new defaults within the default colorspace structure.

    	New references are taken to the new default, and references to
    	the old defaults dropped.

    	Never throws exceptions.
    )r   r.  rr  s     r   r.  r.    s     %%j"55r#   c                 .    t        j                  | |      S r.  )r   r.  rr  s     r   r.  r.    s    ..z2>>r#   c                 .    t        j                  | |      S r.  )r   r.  rr  s     r   r.  r.    s    $$Z44r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_set_error_callback()`.
    	Set the error callback. This will be called as part of the
    	exception handling.

    	The callback must not throw exceptions!
    )r   fz_set_error_callbackr~  s     r   rW  rW    s     ''$77r#   c                 4    t        j                  | ||||      S )z
    Class-aware wrapper for `::fz_set_font_bbox()`.
    	Set the font bbox.

    	font: The font to set the bbox for.

    	xmin, ymin, xmax, ymax: The bounding box.
    )r   r2  r  s        r   r2  r2  ˾  s     ""4tT4@@r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_set_font_embedding()`.
    	Control whether a given font should be embedded or not when writing.
    )r   r2  r  s     r   r2  r2  ־  rk  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_set_graphics_aa_level()`.
    	Set the number of bits of antialiasing we
    	should use for graphics.

    	bits: The number of bits of antialiasing to use (values are
    	clamped to within the 0 to 8 range).
    )r   fz_set_graphics_aa_levelrk  s    r   rW  rW  ݾ  rQ  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_set_graphics_min_line_width()`.
    	Set the minimum line width to be
    	used for stroked lines.

    	min_line_width: The minimum line width to use (in pixels).
    )r   fz_set_graphics_min_line_widthr  s    r   rW  rW    s     00@@r#   c                 .    t        j                  | |      S r5  )r   r5  r  s     r   r5  r5    r$  r#   c                 .    t        j                  | |      S r5  )r   r5  r  s     r   r5  r5    rd$  r#   c                 0    t        j                  | ||      S r41  )r   r61  r  s      r   r61  r61    r*W  r#   c                 .    t        j                  | |      S r>:  )r   r@:  r  s     r   r@:  r@:        **455r#   c                 0    t        j                  | ||      S )zx
    Class-aware wrapper for `::fz_set_pixmap_resolution()`.
    	Set the pixels per inch resolution of the pixmap.
    )r   r9  r  s      r   r9  r9    s    
 **3d;;r#   c                 0    t        j                  | ||      S )zu
    Class-aware wrapper for `::fz_set_separation_behavior()`.
    	Control the rendering of a given separation.
    )r   r;  r  s      r   r;  r;  	  s    
 ,,S*hGGr#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_set_stddbg()`.
    	Set the output stream to be used for fz_stddbg. Set to NULL to
    	reset to default (stderr).
    )r   r6  rI  s    r   r6  r6    rUT  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_set_text_aa_level()`.
    	Set the number of bits of antialiasing we
    	should use for text.

    	bits: The number of bits of antialiasing to use (values are
    	clamped to within the 0 to 8 range).
    )r   fz_set_text_aa_levelrk  s    r   rW  rW    s     &&t,,r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_set_use_document_css()`.
    	Toggle whether to respect document styles in HTML and EPUB.
    )r   fz_set_use_document_cssr  s    r   rW  rW  #      
 ))#..r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_set_user_context()`.
    	Set the user field in the context.

    	NULL initially, this field can be set to any opaque value
    	required by the user. It is copied on clones.
    )r   fz_set_user_contextr  s    r   rW  rW  *  r  r#   c                 ,    t        j                  |       S )z}
    Class-aware wrapper for `::fz_set_user_css()`.
    	Set the user stylesheet source text for use with HTML and EPUB.
    )r   fz_set_user_cssr  s    r   rW  rW  4  rT  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_set_warning_callback()`.
    	Set the warning callback. This will be called as part of the
    	exception handling.

    	The callback must not throw exceptions!
    )r   fz_set_warning_callbackr  s     r   rW  rW  ;  s     ))*d;;r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_sha256_final()`.
    	MD5 finalization. Ends an MD5 message-digest operation, writing
    	the message digest and zeroizing the context.

    	Never throws an exception.
    )r   r;  r  s     r   r;  r;  E  r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_sha256_init()`.
    	SHA256 initialization. Begins an SHA256 operation, initialising
    	the supplied context.

    	Never throws an exception.
    )r   r;  r  s    r   r;  r;  O  r  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_sha256_update()`.
    	SHA256 block update operation. Continues an SHA256 message-
    	digest operation, processing another message block, and updating
    	the context.

    	Never throws an exception.
    )r   r;  r  s      r   r;  r;  Y  r  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_sha384_final()`.
    	SHA384 finalization. Ends an SHA384 message-digest operation,
    	writing the message digest and zeroizing the context.

    	Never throws an exception.
    )r   r<  r  s     r   r<  r<  d  r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_sha384_init()`.
    	SHA384 initialization. Begins an SHA384 operation, initialising
    	the supplied context.

    	Never throws an exception.
    )r   r<  r  s    r   r<  r<  n  r  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_sha384_update()`.
    	SHA384 block update operation. Continues an SHA384 message-
    	digest operation, processing another message block, and updating
    	the context.

    	Never throws an exception.
    )r   r<  r  s      r   r<  r<  x  r  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_sha512_final()`.
    	SHA512 finalization. Ends an SHA512 message-digest operation,
    	writing the message digest and zeroizing the context.

    	Never throws an exception.
    )r   r!<  r  s     r   r!<  r!<    r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_sha512_init()`.
    	SHA512 initialization. Begins an SHA512 operation, initialising
    	the supplied context.

    	Never throws an exception.
    )r   r$<  r  s    r   r$<  r$<    r  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_sha512_update()`.
    	SHA512 block update operation. Continues an SHA512 message-
    	digest operation, processing another message block, and updating
    	the context.

    	Never throws an exception.
    )r   r'<  r  s      r   r'<  r'<    r  r#   c                 .    t        j                  | |      S )aC  
    Class-aware wrapper for `::fz_shear()`.
    	Create a shearing matrix.

    	The returned matrix is of the form [ 1 sy sx 1 0 0 ].

    	m: pointer to place to store returned matrix

    	sx, sy: Shearing factors. A shearing factor of 0.0 will not
    	cause any shearing along the relevant axis.

    	Returns m.
    )r   r5  r.  s     r   r5  r5    s     ??2r""r#   c	                 <    t        j                  | ||||||||	      S )a  
    Class-aware wrapper for `::fz_show_glyph()`.
    	Add a glyph/unicode value to a text object.

    	text: Text object to add to.

    	font: The font the glyph should be added in.

    	trm: The transform to use for the glyph.

    	glyph: The glyph id to add.

    	unicode: The unicode character for the glyph.

    	cid: The CJK CID value or raw character code.

    	wmode: 1 for vertical mode, 0 for horizontal.

    	bidi_level: The bidirectional level for this glyph.

    	markup_dir: The direction of the text as specified in the
    	markup.

    	language: The language in use (if known, 0 otherwise)
    	(e.g. FZ_LANG_zh_Hans).

    	Throws exception on failure to allocate.
    )r   r?  r  s	            r   r?  r?    s'    : dC
T^`hiir#   c                 @    t        j                  | |||||||||	|
      S r?  )r   r?  r  s              r   r?  r?  ѿ  s*    ##D$S%#uV`blnrssr#   c           
      :    t        j                  | |||||||      S )aY  
    Class-aware wrapper for `::fz_show_string()`.
    	Add a UTF8 string to a text object.

    	text: Text object to add to.

    	font: The font the string should be added in.

    	trm: The transform to use.

    	s: The utf-8 string to add.

    	wmode: 1 for vertical mode, 0 for horizontal.

    	bidi_level: The bidirectional level for this glyph.

    	markup_dir: The direction of the text as specified in the markup.

    	language: The language in use (if known, 0 otherwise)
    		(e.g. FZ_LANG_zh_Hans).

    	Returns the transform updated with the advance width of the
    	string.
    )r   r!?  r  s           r   r!?  r!?  տ  s$    2   tS!UJ
T\]]r#   c                 ,    t        j                  |       S )aV  
    Class-aware wrapper for `::fz_shrink_store()`.
    	Evict items from the store until the total size of
    	the objects in the store is reduced to a given percentage of its
    	current size.

    	percent: %age of current size to reduce the store to.

    	Returns non zero if we managed to free enough memory, zero
    	otherwise.
    )r   fz_shrink_storer  s    r   rW  rW    s     !!'**r#   c                 ,    t        j                  |       S r :  )r   r:  rF  s    r   r:  r:          ((r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_skip()`.
    	Read from a stream discarding data.

    	stm: The stream to read from.

    	len: The number of bytes to read.

    	Returns the number of bytes read. May throw exceptions.
    )r   r>  r  s     r   r>  r>    s     >>#s##r#   c                 ,    t        j                  |       S )zk
    Class-aware wrapper for `::fz_skip_space()`.
    	Skip over whitespace (bytes <= 32) in a stream.
    )r   r>  r  s    r   r>  r>    rx  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_skip_string()`.
    	Skip over a given string in a stream. Return 0 if successfully
    	skipped, non-zero otherwise. As many characters will be skipped
    	over as matched in the string.
    )r   r>  r  s     r   r>  r>    s       c**r#   c                 0    t        j                  | ||      S )a'  
    Class-aware wrapper for `::fz_slice_buffer()`.
    	Create a new buffer with a (subset of) the data from the buffer.

    	start: if >= 0, offset from start of buffer, if < 0 offset from end of buffer.

    	end: if >= 0, offset from start of buffer, if < 0 offset from end of buffer.

    )r   rF-  r  s      r   rF-  rF-    s     !!#uc22r#   c                 2    t        j                  | |||      S r<  )r   r<  r  s       r   r<  r<  +  s    ##D"b$77r#   c                  *    t        j                         S )z7Class-aware wrapper for `::fz_start_throw_on_repair()`.)r   fz_start_throw_on_repairr$   r#   r   rW  rW  /  s    **,,r#   c                 ,    t        j                  |       S )z,Class-aware wrapper for `::fz_stat_ctime()`.)r   fz_stat_ctimer  s    r   rW  rW  3      %%r#   c                 ,    t        j                  |       S )z,Class-aware wrapper for `::fz_stat_mtime()`.)r   fz_stat_mtimer  s    r   rW  rW  7  rW  r#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_store_item()`.
    	Add an item to the store.

    	Add an item into the store, returning NULL for success. If an
    	item with the same key is found in the store, then our item will
    	not be inserted, and the function will return a pointer to that
    	value instead. This function takes its own reference to val, as
    	required (i.e. the caller maintains ownership of its own
    	reference).

    	key: The key used to index the item.

    	val: The value to store.

    	itemsize: The size in bytes of the value (as counted towards the
    	store size).

    	type: Functions used to manipulate the key.
    )r   fz_store_itemr  s       r   rW  rW  ;  s    * S(D99r#   c                 .    t        j                  | |      S )au  
    Class-aware wrapper for `::fz_store_scavenge()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_store_scavenge(size_t size)` => `(int, int phase)`

    	Internal function used as part of the scavenging
    	allocator; when we fail to allocate memory, before returning a
    	failure to the caller, we try to scavenge space within the store
    	by evicting at least 'size' bytes. The allocator then retries.

    	size: The number of bytes we are trying to have free.

    	phase: What phase of the scavenge we are in. Updated on exit.

    	Returns non zero if we managed to free any memory.
    )r   fz_store_scavenger    s     r   rW  rW  R  s    $ ##D%00r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_store_scavenge_external()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_store_scavenge_external(size_t size)` => `(int, int phase)`

    	External function for callers to use
    	to scavenge while trying allocations.

    	size: The number of bytes we are trying to have free.

    	phase: What phase of the scavenge we are in. Updated on exit.

    	Returns non zero if we managed to free any memory.
    )r   fz_store_scavenge_externalr    s     r   rW  rW  f  s      ,,T599r#   c                 ,    t        j                  |       S r~=  )r   r=  r  s    r   r=  r=  x  r  r#   c                 0    t        j                  | ||      S r=  )r   r=  r   s      r   r=  r=  |  s    $$UB44r#   c                 ,    t        j                  |       S r=  )r   r=  r  s    r   r=  r=    r  r#   c                 .    t        j                  | |      S )zl
    Class-aware wrapper for `::fz_strcasecmp()`.
    	Case insensitive (ASCII only) string comparison.
    )r   fz_strcasecmpr  s     r   rW  rW    s    
 1%%r#   c                 ,    t        j                  |       S )zl
    Class-aware wrapper for `::fz_strdup()`.
    	Portable strdup implementation, using fz allocators.
    )r   	fz_strdupr;  s    r   rW  rW    rvS  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_stream_filename()`.
    	Return the filename (UTF-8 encoded) from which a stream was opened.

    	Returns NULL if the filename is not available (or the stream was
    	opened from a source other than a file).
    )r   r>  r  s    r   r>  r>    rX  r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_stream_from_output()`.
    	Obtain the fz_output in the form of a fz_stream.

    	This allows data to be read back from some forms of fz_output
    	object. When finished reading, the fz_stream should be released
    	by calling fz_drop_stream. Until the fz_stream is dropped, no
    	further operations should be performed on the fz_output object.
    )r   r6  r   s    r   r6  r6    s     ''..r#   c                 ,    t        j                  |       S )z6Class-aware wrapper for `::fz_string_from_box_type()`.)r   fz_string_from_box_typer   s    r   rW  rW    r5  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_string_from_buffer()`.
    	Ensure that a buffer's data ends in a
    	0 byte, and return a pointer to it.
    )r   rI-  r{  s    r   rI-  rI-    r  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_string_from_text_language()`.
    	Recover ISO 639 (639-{1,2,3,5}) language specification
    	strings losslessly from a 15 bit fz_text_language code.

    	No validation is carried out. See note above.
    )r   fz_string_from_text_languager   s     r   rW  rW    s     ..sD99r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_string_from_text_language2()`.
    C++ alternative to fz_string_from_text_language() that returns information in a std::string.
    )r   fz_string_from_text_language2r   s    r   rW  rW    rBU  r#   c                 0    t        j                  | ||      S )an  
    Class-aware wrapper for `::fz_strlcat()`.
    	Concatenate 2 strings, with a maximum length.

    	dst: pointer to first string in a buffer of n bytes.

    	src: pointer to string to concatenate.

    	n: Size (in bytes) of buffer that dst is in.

    	Returns the real length that a concatenated dst + src would have
    	been (not including terminator).
    )r   
fz_strlcatr!   s      r   rW  rW    s     S#q))r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_strlcpy()`.
    	Copy at most n-1 chars of a string into a destination
    	buffer with null termination, returning the real length of the
    	initial string (excluding terminator).

    	dst: Destination buffer, at least n bytes long.

    	src: C string (non-NULL).

    	n: Size of dst buffer in bytes.

    	Returns the length (excluding terminator) of src.
    )r   
fz_strlcpyr!   s      r   rW  rW    s     S#q))r#   c                 0    t        j                  | ||      S )z-Class-aware wrapper for `::fz_strncasecmp()`.)r   fz_strncasecmpr'   s      r   rW  rW    s      Aq))r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_strnlen()`.
    	Return strlen(s), if that is less than maxlen, or maxlen if
    	there is no null byte ('') among the first maxlen bytes.
    )r   
fz_strnlenr*   s     r   rW  rW    s     Q''r#   c           
      :    t        j                  | |||||||      S rn/  )r   rp/  r-   s           r   rp/  rp/    "      dFCUES_``r#   c           
      :    t        j                  | |||||||      S rs/  )r   ru/  r1   s           r   ru/  ru/    rW  r#   c                 .    t        j                  | |      S )a.  
    Class-aware wrapper for `::fz_strsep()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_strsep(const char *delim)` => `(char *, char *stringp)`

    	Given a pointer to a C string (or a pointer to NULL) break
    	it at the first occurrence of a delimiter char (from a given
    	set).

    	stringp: Pointer to a C string pointer (or NULL). Updated on
    	exit to point to the first char of the string after the
    	delimiter that was found. The string pointed to by stringp will
    	be corrupted by this call (as the found delimiter will be
    	overwritten by 0).

    	delim: A C string of acceptable delimiter characters.

    	Returns a pointer to a C string containing the chars of stringp
    	up to the first delimiter char (or the end of the string), or
    	NULL.
    )r   	fz_strsepr4   s     r   rW  rW    s    . GU++r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_strtof()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_strtof(const char *s)` => `(float, char *es)`

    	Locale-independent decimal to binary conversion. On overflow
    	return (-)INFINITY and set errno to ERANGE. On underflow return
    	0 and set errno to ERANGE. Special inputs (case insensitive):
    	"NAN", "INF" or "INFINITY".
    )r   	fz_strtofr9   s     r   rW  rW    s     Ar""r#   c                 ,    t        j                  |       S )z7Class-aware wrapper for `::fz_structure_from_string()`.)r   fz_structure_from_stringr  s    r   rW  rW  !  r!  r#   c                 ,    t        j                  |       S )z5Class-aware wrapper for `::fz_structure_to_string()`.)r   fz_structure_to_stringr  s    r   rW  rW  %  r  r#   c                 2    t        j                  | |||      S )al  
    Class-aware wrapper for `::fz_subpixel_adjust()`.
    	Perform subpixel quantisation and adjustment on a glyph matrix.

    	ctm: On entry, the desired 'ideal' transformation for a glyph.
    	On exit, adjusted to a (very similar) transformation quantised
    	for subpixel caching.

    	subpix_ctm: Initialised by the routine to the transform that
    	should be used to render the glyph.

    	qe, qf: which subpixel position we quantised to.

    	Returns: the size of the glyph.

    	Note: This is currently only exposed for use in our app. It
    	should be considered "at risk" of removal from the API.
    )r   r5  rB   s       r   r5  r5  )  s    & $$S*b"==r#   c                 .    t        j                  | |      S r:  )r   r:  rH   s     r   r:  r:  >  s    %%dF33r#   c                 4    t        j                  | ||||      S )z
    Class-aware wrapper for `::fz_subset_cff_for_gids()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_subset_cff_for_gids(::fz_buffer *orig, int num_gids, int symbolic, int cidfont)` => `(fz_buffer *, int gids)`
    )r   rM-  rM   s        r   rM-  rM-  B       ((tXxQQr#   c                 4    t        j                  | ||||      S )z
    Class-aware wrapper for `::fz_subset_ttf_for_gids()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_subset_ttf_for_gids(::fz_buffer *orig, int num_gids, int symbolic, int cidfont)` => `(fz_buffer *, int gids)`
    )r   rQ-  rM   s        r   rQ-  rQ-  K  rW  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_sync_bits()`.
    	Called after reading bits to tell the stream
    	that we are about to return to reading bytewise. Resyncs
    	the stream to whole byte boundaries.
    )r   r>  r  s    r   r>  r>  T  r+U  r#   c                 ,    t        j                  |       S )zi
    Class-aware wrapper for `::fz_tell()`.
    	return the current reading position within a stream
    )r   r>  r  s    r   r>  r>  ]  s    
 >>#r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_tell_output()`.
    	Return the current file position.

    	Throw an error on untellable outputs.
    )r   r6  rI  s    r   r6  r6  d  r  r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_terminate_buffer()`.
    	Zero-terminate buffer in order to use as a C string.

    	This byte is invisible and does not affect the length of the
    	buffer as returned by fz_buffer_storage. The zero byte is
    	written *after* the data, and subsequent writes will overwrite
    	the terminating byte.

    	Subsequent changes to the size of the buffer (such as by
    	fz_buffer_trim, fz_buffer_grow, fz_resize_buffer, etc) may
    	invalidate this.
    )r   rT-  r{  s    r   rT-  rT-  m  s     %%c**r#   c                  *    t        j                         S )z
    Class-aware wrapper for `::fz_text_aa_level()`.
    	Get the number of bits of antialiasing we are
    	using for text. Between 0 and 8.
    )r   fz_text_aa_levelr$   r#   r   rW  rW  }  r  r#   c                 ,    t        j                  |       S )aw  
    Class-aware wrapper for `::fz_text_language_from_string()`.
    	Convert ISO 639 (639-{1,2,3,5}) language specification
    	strings losslessly to a 15 bit fz_text_language code.

    	No validation is carried out. Obviously invalid (out
    	of spec) codes will be mapped to FZ_LANG_UNSET, but
    	well-formed (but undefined) codes will be blithely
    	accepted.
    )r   fz_text_language_from_stringr  s    r   rW  rW    s     ..s33r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_tint_pixmap()`.
    	Tint all the pixels in an RGB, BGR, or Gray pixmap.

    	black: Map black to this hexadecimal RGB color.

    	white: Map white to this hexadecimal RGB color.
    )r   r	:  re   s      r   r	:  r	:    s       eU33r#   c                 ,    t        j                  |       S )ze
    Class-aware wrapper for `::fz_tolower()`.
    	Unicode aware tolower and toupper functions.
    )r   
fz_tolowerrj   s    r   rW  rW    r  r#   c                 ,    t        j                  |       S )z)Class-aware wrapper for `::fz_toupper()`.)r   
fz_toupperrj   s    r   rW  rW    rA  r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_transform_page()`.
    	Create transform matrix to draw page
    	at a given resolution and rotation. Adjusts the scaling
    	factors so that the page covers whole number of
    	pixels and adjust the page origin to be at 0,0.
    )r   r5  rp   s      r   r5  r5    s     ##Hj&AAr#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_transform_path()`.
    	Transform a path by a given
    	matrix.

    	path: The path to modify (must not be a packed path).

    	transform: The transform to apply.

    	Throws exceptions if the path is packed, or on failure
    	to allocate.
    )r   rn8  rt   s     r   rn8  rn8    s     ##D)44r#   c                 .    t        j                  | |      S )a<  
    Class-aware wrapper for `::fz_transform_point()`.
    	Apply a transformation to a point.

    	transform: Transformation matrix to apply. See fz_concat,
    	fz_scale, fz_rotate and fz_translate for how to create a
    	matrix.

    	point: Pointer to point to update.

    	Returns transform (unchanged).
    )r   rg:  rw   s     r   rg:  rg:    s     $$UA..r#   c                 0    t        j                  | ||      S rS:  )r   rU:  r{   s      r   rU:  rU:    s    ''1a00r#   c                 .    t        j                  | |      S )z]
    Class-aware wrapper for `::fz_transform_quad()`.
    	Transform a quad by a matrix.
    )r   r&;  r~   s     r   r&;  r&;    s    
 ##Aq))r#   c                 .    t        j                  | |      S )ag  
    Class-aware wrapper for `::fz_transform_rect()`.
    	Apply a transform to a rectangle.

    	After the four corner points of the axis-aligned rectangle
    	have been transformed it may not longer be axis-aligned. So a
    	new axis-aligned rectangle is created covering at least the
    	area of the transformed rectangle.

    	transform: Transformation matrix to apply. See fz_concat,
    	fz_scale and fz_rotate for how to create a matrix.

    	rect: Rectangle to be transformed. The two special cases
    	fz_empty_rect and fz_infinite_rect, may be used but are
    	returned unchanged as expected.
    )r   r;  r   s     r   r;  r;    s    " ##D!,,r#   c                 .    t        j                  | |      S )a.  
    Class-aware wrapper for `::fz_transform_vector()`.
    	Apply a transformation to a vector.

    	transform: Transformation matrix to apply. See fz_concat,
    	fz_scale and fz_rotate for how to create a matrix. Any
    	translation will be ignored.

    	vector: Pointer to vector to update.
    )r   rj:  r   s     r   rj:  rj:    s     %%fa00r#   c                 .    t        j                  | |      S )ad  
    Class-aware wrapper for `::fz_translate()`.
    	Create a translation matrix.

    	The returned matrix is of the form [ 1 0 0 1 tx ty ].

    	m: A place to store the created matrix.

    	tx, ty: Translation distances along the X- and Y-axes. A
    	translation of 0 will not cause any translation along the
    	relevant axis.

    	Returns m.
    )r   r5  r   s     r   r5  r5    s     r2&&r#   c                 0    t        j                  | ||      S r4  )r   r4  r   s      r   r4  r4    s    $$Qd33r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_translate_rect()`.
    	Translate bounding box.

    	Translate a bbox by a given x and y offset. Allows for overflow.
    )r   r;  r   s      r   r;  r;    s     ##AtT22r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_tree_archive_add_buffer()`.
    	Add a named buffer to an existing tree archive.

    	The tree will take a new reference to the buffer. Ownership
    	is not transferred.
    )r   r+  r   s      r   r+  r+    s     ,,UD#>>r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_tree_archive_add_data()`.
    	Add a named block of data to an existing tree archive.

    	The data will be copied into a buffer, and so the caller
    	may free it as soon as this returns.
    )r   r+  r   s       r   r+  r+  #  s     **5$dCCr#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_tree_lookup()`.
    	Look for the value of a node in the tree with the given key.

    	Simple pointer equivalence is used for key.

    	Returns NULL for no match.
    )r   r?  r   s     r   r?  r?  -  s       s++r#   c                 ,    t        j                  |       S )z|
    Class-aware wrapper for `::fz_trim_buffer()`.
    	Trim wasted capacity from a buffer by resizing internal memory.
    )r   rW-  r{  s    r   rW-  rW-  8  r  r#   c                 ,    t        j                  |       S )aQ  
    Class-aware wrapper for `::fz_trim_path()`.
    	Minimise the internal storage used by a path.

    	As paths are constructed, the internal buffers
    	grow. To avoid repeated reallocations they
    	grow with some spare space. Once a path has
    	been fully constructed, this call allows the
    	excess space to be trimmed.
    )r   rq8  r  s    r   rq8  rq8  ?  rS  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_truncate_output()`.
    	Truncate the output at the current position.

    	This allows output streams which have seeked back from the end
    	of their storage to be truncated at the current point.
    )r   r6  r   s    r   r6  r6  L  r  r#   c                 .    t        j                  | |      S )aI  
    Class-aware wrapper for `::fz_try_invert_matrix()`.
    	Attempt to create an inverse matrix.

    	inv: Place to store inverse matrix.

    	src: Matrix to invert. A degenerate matrix, where the
    	determinant is equal to zero, can not be inverted.

    	Returns 1 if matrix is degenerate (singular), or 0 otherwise.
    )r   r5  r   s     r   r5  r5  V  s     &&sC00r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_try_open_archive_entry()`.
    	Opens an archive entry as a stream.

    	Returns NULL if a matching entry cannot be found, otherwise
    	behaves exactly as fz_open_archive_entry.
    )r   r+  r  s     r   r+  r+  d  s     ++D$77r#   c                 ,    t        j                  |       S )a'  
    Class-aware wrapper for `::fz_try_open_archive_with_stream()`.
    	Open zip or tar archive stream.

    	Does the same as fz_open_archive_with_stream, but will not throw
    	an error in the event of failing to recognise the format. Will
    	still throw errors in other cases though!
    )r   r>  r  s    r   r>  r>  n  r}  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_try_open_file()`.
    	Open the named file and wrap it in a stream.

    	Does the same as fz_open_file, but in the event the file
    	does not open, it will return NULL rather than throw an
    	exception.
    )r   fz_try_open_filer  s    r   rX  rX  y  s     ""4((r#   c                 0    t        j                  | ||      S )al  
    Class-aware wrapper for `::fz_try_parse_xml_archive_entry()`.
    	Try and parse the contents of an archive entry into a tree of xml nodes.

    	preserve_white: whether to keep or delete all-whitespace nodes.

    	Will return NULL if the archive entry can't be found. Otherwise behaves
    	the same as fz_parse_xml_archive_entry. May throw exceptions.
    )r   r+  r  s      r   r+  r+    s     00hOOr#   c                 .    t        j                  | |      S )ar  
    Class-aware wrapper for `::fz_try_read_archive_entry()`.
    	Reads all bytes in an archive entry
    	into a buffer.

    	name: Entry name to look for, this must be an exact match to
    	the entry name in the archive.

    	Returns NULL if a matching entry cannot be found. Otherwise behaves
    	the same as fz_read_archive_entry. Exceptions may be thrown.
    )r   r,  r  s     r   r,  r,    s     ++D$77r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_try_read_file()`.
    	Read all the contents of a file into a buffer.

    	Returns NULL if the file does not exist, otherwise
    	behaves exactly as fz_read_file.
    )r   fz_try_read_filer  s    r   rX  rX    s     ""8,,r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_tune_image_decode()`.
    	Set the tuning function to use for
    	image decode.

    	image_decode: Function to use.

    	arg: Opaque argument to be passed to tuning function.
    )r   fz_tune_image_decoder   s     r   rX  rX    s     &&|S99r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_tune_image_scale()`.
    	Set the tuning function to use for
    	image scaling.

    	image_scale: Function to use.

    	arg: Opaque argument to be passed to tuning function.
    )r   fz_tune_image_scaler   s     r   rX  rX    s     %%k377r#   c                 ,    t        j                  |       S )z9Class-aware wrapper for `::fz_unicode_from_glyph_name()`.)r   fz_unicode_from_glyph_namer  s    r   rX  rX    r  r#   c                 ,    t        j                  |       S )z@Class-aware wrapper for `::fz_unicode_from_glyph_name_strict()`.)r   !fz_unicode_from_glyph_name_strictr  s    r   rX  rX    r'  r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::fz_union_rect()`.
    	Compute union of two rectangles.

    	Given two rectangles, update the first to be the smallest
    	axis-aligned rectangle that encompasses both given rectangles.
    	If either rectangle is infinite then the union is also infinite.
    	If either rectangle is empty then the union is simply the
    	non-empty rectangle. Should both rectangles be empty, then the
    	union is also empty.
    )r   r;  r  s     r   r;  r;    s     1%%r#   c                 ,    t        j                  |       S )z`
    Class-aware wrapper for `::fz_unlock()`.
    	Unlock one of the user supplied mutexes.
    )r   	fz_unlockr  s    r   rX  rX        
 D!!r#   c           
      :    t        j                  | |||||||      S r>  )r   r>  r   s           r   r>  r>    s!    ""3q!QdKKr#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_unread_byte()`.
    	Unread the single last byte successfully
    	read from a stream. Do not call this without having
    	successfully read a byte.

    	stm: The stream to operate upon.
    )r   r>  r  s    r   r>  r>    rU  r#   c                 ,    t        j                  |       S )a/  
    Class-aware wrapper for `::fz_unshare_stroke_state()`.
    	Given a reference to a (possibly) shared stroke_state structure,
    	return a reference to an equivalent stroke_state structure
    	that is guaranteed to be unshared (i.e. one that can
    	safely be modified).

    	shared: The reference to a (possibly) shared structure
    	to unshare. Ownership of this reference is passed in
    	to this function, even in the case of exceptions being
    	thrown.

    	Exceptions may be thrown in the event of failure to
    	allocate if required.
    )r   r>  r   s    r   r>  r>    s      ))&11r#   c                 .    t        j                  | |      S )a]  
    Class-aware wrapper for `::fz_unshare_stroke_state_with_dash_len()`.
    	Given a reference to a (possibly) shared stroke_state structure,
    	return a reference to a stroke_state structure (with room for a
    	given amount of dash data) that is guaranteed to be unshared
    	(i.e. one that can safely be modified).

    	shared: The reference to a (possibly) shared structure
    	to unshare. Ownership of this reference is passed in
    	to this function, even in the case of exceptions being
    	thrown.

    	Exceptions may be thrown in the event of failure to
    	allocate if required.
    )r   r>  r   s     r   r>  r>    s      77DDr#   c                 ,    t        j                  |       S )ze
    Class-aware wrapper for `::fz_urldecode()`.
    	Like fz_decode_uri_component but in-place.
    )r   fz_urldecoder   s    r   rX  rX    s    
 s##r#   c                  *    t        j                         S )z}
    Class-aware wrapper for `::fz_use_document_css()`.
    	Return whether to respect document styles in HTML and EPUB.
    )r   fz_use_document_cssr$   r#   r   r X  r X    s    
 %%''r#   c                  *    t        j                         S )zc
    Class-aware wrapper for `::fz_user_context()`.
    	Read the user field from the context.
    )r   fz_user_contextr$   r#   r   r"X  r"X    s    
 !!##r#   c                  *    t        j                         S )z^
    Class-aware wrapper for `::fz_user_css()`.
    	Get the user stylesheet source text.
    )r   fz_user_cssr$   r#   r   r$X  r$X  %  r2V  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_utflen()`.
    	Count how many runes the UTF-8 encoded string
    	consists of.

    	s: The UTF-8 encoded, NUL-terminated text string.

    	Returns the number of runes in the string.
    )r   	fz_utflenr;  s    r   r&X  r&X  ,  s     Ar#   c                 ,    t        j                  |       S )z)Class-aware wrapper for `::fz_var_imp()`.)r   
fz_var_impr   s    r   r(X  r(X  8  s    U##r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_walk_path()`.
    	Walk the segments of a path, calling the
    	appropriate callback function from a given set for each
    	segment of the path.

    	path: The path to walk.

    	walker: The set of callback functions to use. The first
    	4 callback pointers in the set must be non-NULL. The
    	subsequent ones can either be supplied, or can be left
    	as NULL, in which case the top 4 functions will be
    	called as appropriate to simulate them.

    	arg: An opaque argument passed in to each callback.

    	Exceptions will only be thrown if the underlying callback
    	functions throw them.
    )r   rt8  r   s      r   rt8  rt8  <  s    ( tVS11r#   c                  &    t        j                  |  S )z&Class-aware wrapper for `::fz_warn()`.)r   fz_warnr  s    r   r+X  r+X  R  s    >>4  r#   c                 ,    t        j                  |       S )a  
    Class-aware wrapper for `::fz_warning_callback()`.

    This function has out-params. Python/C# wrappers look like:
    	`fz_warning_callback()` => `(fz_warning_cb *, void *user)`

    	Retrieve the currently set warning callback, or NULL if none
    	has been set. Optionally, if user is non-NULL, the user pointer
    	given when the warning callback was set is also passed back to
    	the caller.
    )r   fz_warning_callbackr  s    r   r-X  r-X  V  s     %%d++r#   c                 2    t        j                  | |||      S )z-Class-aware wrapper for `::fz_warp_pixmap()`.)r   fz_warp_pixmapr   s       r   r/X  r/X  d  s      feV<<r#   c                 ,    t        j                  |       S )z;Class-aware wrapper for `::fz_windows_1250_from_unicode()`.)r   fz_windows_1250_from_unicoderl  s    r   r1X  r1X  h  rn  r#   c                 ,    t        j                  |       S )z;Class-aware wrapper for `::fz_windows_1251_from_unicode()`.)r   fz_windows_1251_from_unicoderl  s    r   r3X  r3X  l  rn  r#   c                 ,    t        j                  |       S )z;Class-aware wrapper for `::fz_windows_1252_from_unicode()`.)r   fz_windows_1252_from_unicoderl  s    r   r5X  r5X  p  rn  r#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_write_band()`.
    	Cause a band writer to write the next band
    	of data for an image.

    	stride: The byte offset from the first byte of the data
    	for a pixel to the first byte of the data for the same pixel
    	on the row below.

    	band_height: The number of lines in this band.

    	samples: Pointer to first byte of the data.
    )r   rB,  r   s       r   rB,  rB,  t  s     WEEr#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_write_base64()`.
    	Write a base64 encoded data block, optionally with periodic
    	newlines.
    )r   r6  rq  s       r   r6  r6    s     !!#tT7;;r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_write_base64_buffer()`.
    	Write a base64 encoded fz_buffer, optionally with periodic
    	newlines.
    )r   r6  ru  s      r   r6  r6    s     ((dG<<r#   c                 .    t        j                  | |      S )z]
    Class-aware wrapper for `::fz_write_bitmap_as_pbm()`.
    	Write a bitmap as a pbm.
    )r   r6  r   s     r   r6  r6        
 ((f55r#   c                 0    t        j                  | ||      S )z`
    Class-aware wrapper for `::fz_write_bitmap_as_pcl()`.
    	Write a bitmap as mono PCL.
    )r   r6  r!  s      r   r6  r6        
 ((fc::r#   c                 .    t        j                  | |      S )zb
    Class-aware wrapper for `::fz_write_bitmap_as_pkm()`.
    	Write a CMYK bitmap as a pkm.
    )r   r6  r   s     r   r6  r6    r:X  r#   c                 0    t        j                  | ||      S )z]
    Class-aware wrapper for `::fz_write_bitmap_as_pwg()`.
    	Write a bitmap as a PWG.
    )r   r6  r!  s      r   r6  r6    r<X  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_write_bitmap_as_pwg_page()`.
    	Write a bitmap as a PWG page.

    	Caller should provide a file header by calling
    	fz_write_pwg_file_header, but can then write several pages to
    	the same file.
    )r   r6  r!  s      r   r6  r6         --c63??r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_write_bits()`.
    	Write num_bits of data to the end of the output stream, assumed to be packed
    	most significant bits first.
    )r   r6  r!  s      r   r6  r6    s     T844r#   c                 ,    t        j                  |       S )zj
    Class-aware wrapper for `::fz_write_bits_sync()`.
    	Sync to byte boundary after writing bits.
    )r   r6  rI  s    r   r6  r6    r  r#   c                 .    t        j                  | |      S r6  )r   r6  r!  s     r   r6  r6    r'  r#   c                 .    t        j                  | |      S r6  )r   r6  r!  s     r   r6  r6        Q''r#   c                 .    t        j                  | |      S r6  )r   r6  r!  s     r   r6  r6    rEX  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_write_data()`.
    	Write data to output.

    	data: Pointer to data to write.
    	size: Size of data to write in bytes.
    )r   r6  r!  s      r   r6  r6    s     T400r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_write_document()`.
    	Convenience function to feed all the pages of a document to
    	fz_begin_page/fz_run_page/fz_end_page.
    )r   r1  r!!  s     r   r1  r1    rS  r#   c                 .    t        j                  | |      S r6  )r   r6  r$!  s     r   r6  r6    r  r#   c                 .    t        j                  | |      S r6  )r   r6  r$!  s     r   r6  r6    r  r#   c
                 >    t        j                  | |||||||||	
      S )a$  
    Class-aware wrapper for `::fz_write_header()`.
    	Cause a band writer to write the header for
    	a banded image with the given properties/dimensions etc. This
    	also configures the bandwriter for the format of the data to be
    	passed in future calls.

    	w, h: Width and Height of the entire page.

    	n: Number of components (including spots and alphas).

    	alpha: Number of alpha components.

    	xres, yres: X and Y resolutions in dpi.

    	cs: Colorspace (NULL for bitmaps)

    	seps: Separation details (or NULL).
    )r   rE,  r*!  s
             r   rE,  rE,    s(    ( !!&!Q5$grSWXXr#   c                 .    t        j                  | |      S )z}
    Class-aware wrapper for `::fz_write_image_as_data_uri()`.
    	Write image as a data URI (for HTML and SVG output).
    )r   r7  r  s     r   r7  r7    r  r#   c                 .    t        j                  | |      S r7  )r   r7  r!  s     r   r7  r7    r  r#   c                 .    t        j                  | |      S r7  )r   r	7  r!  s     r   r	7  r	7    r  r#   c                 .    t        j                  | |      S )zo
    Class-aware wrapper for `::fz_write_int32_be()`.
    	Write different sized data to an output stream.
    )r   r7  r!  s     r   r7  r7    rT  r#   c                 .    t        j                  | |      S r7  )r   r7  r!  s     r   r7  r7    r  r#   c                 .    t        j                  | |      S r7  )r   r7  r  s     r   r7  r7     s    --c6::r#   c                 2    t        j                  | |||      S )z_
    Class-aware wrapper for `::fz_write_pixmap_as_jpeg()`.
    	Write a pixmap as a JPEG.
    )r   r7  r9!  s       r   r7  r7  $  s    
 ))#sG[IIr#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_write_pixmap_as_jpx()`.
    	Pixmap data as JP2K with no subsampling.

    	quality = 100 = lossless
    	otherwise for a factor of x compression use 100-x. (so 80 is 1:20 compression)
    )r   r7  r<!  s      r   r7  r7  +  s     ((c7;;r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_write_pixmap_as_pam()`.
    	Write a pixmap as a pnm (greyscale, rgb or cmyk, with or without
    	alpha).
    )r   r7  r  s     r   r7  r7  5  s     ((f55r#   c                 0    t        j                  | ||      S )zh
    Class-aware wrapper for `::fz_write_pixmap_as_pcl()`.
    	Write an (RGB) pixmap as color PCL.
    )r   r!7  rA!  s      r   r!7  r!7  =  r<X  r#   c                 0    t        j                  | ||      S )zp
    Class-aware wrapper for `::fz_write_pixmap_as_pclm()`.
    	Write a (Greyscale or RGB) pixmap as pclm.
    )r   r%7  rD!  s      r   r%7  r%7  D  s    
 ))#vw??r#   c                 0    t        j                  | ||      S )zt
    Class-aware wrapper for `::fz_write_pixmap_as_pdfocr()`.
    	Write a (Greyscale or RGB) pixmap as pdfocr.
    )r   r(7  rD!  s      r   r(7  r(7  K  s    
 ++CAAr#   c                 .    t        j                  | |      S )zp
    Class-aware wrapper for `::fz_write_pixmap_as_png()`.
    	Write a (Greyscale or RGB) pixmap as a png.
    )r   r+7  r  s     r   r+7  r+7  R  r:X  r#   c                 .    t        j                  | |      S )zz
    Class-aware wrapper for `::fz_write_pixmap_as_pnm()`.
    	Write a pixmap as a pnm (greyscale or rgb, no alpha).
    )r   r.7  r  s     r   r.7  r.7  Y  r:X  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_write_pixmap_as_ps()`.
    	Write a (gray, rgb, or cmyk, no alpha) pixmap out as postscript.
    )r   r17  r  s     r   r17  r17  `  s    
 ''V44r#   c                 .    t        j                  | |      S )zb
    Class-aware wrapper for `::fz_write_pixmap_as_psd()`.
    	Write a pixmap as a PSD file.
    )r   r47  r  s     r   r47  r47  g  r:X  r#   c                 0    t        j                  | ||      S )z]
    Class-aware wrapper for `::fz_write_pixmap_as_pwg()`.
    	Write a pixmap as a PWG.
    )r   r87  rQ!  s      r   r87  r87  n  r<X  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_write_pixmap_as_pwg_page()`.
    	Write a pixmap as a PWG page.

    	Caller should provide a file header by calling
    	fz_write_pwg_file_header, but can then write several pages to
    	the same file.
    )r   r;7  rQ!  s      r   r;7  r;7  u  r@X  r#   c                 ,    t        j                  |       S )z|
    Class-aware wrapper for `::fz_write_ps_file_header()`.
    	Write the file level header for ps band writer output.
    )r   r>7  rI  s    r   r>7  r>7    rW  r#   c                 .    t        j                  | |      S )z~
    Class-aware wrapper for `::fz_write_ps_file_trailer()`.
    	Write the file level trailer for ps band writer output.
    )r   rB7  rX!  s     r   rB7  rB7    s    
 **366r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_write_pwg_file_header()`.
    	Output the file header to a pwg stream, ready for pages to follow it.
    )r   rE7  rI  s    r   rE7  rE7    r  r#   c                 .    t        j                  | |      S )zd
    Class-aware wrapper for `::fz_write_rune()`.
    	Write a UTF-8 encoded unicode character.
    )r   rH7  r^!  s     r   rH7  rH7    s    
 T**r#   c
                 >    t        j                  | |||||||||	
      S r1  )r   r1  ra!  s
             r   r1  r1    s8    ++FHb)]\bdnpv  yC  EH  I  Ir#   c           
      :    t        j                  | |||||||      S r1  )r   r1  rj!  s           r   r1  r1    s$      
JP^`fhrssr#   c                 .    t        j                  | |      S )ze
    Class-aware wrapper for `::fz_write_stream()`.
    	Copy the stream contents to the output.
    )r   rK7  ro!  s     r   rK7  rK7    s    
 !!#s++r#   c                 .    t        j                  | |      S )zm
    Class-aware wrapper for `::fz_write_string()`.
    	Write a string. Does not write zero terminator.
    )r   rO7  rr!  s     r   rO7  rO7    s    
 !!#q))r#   c                 .    t        j                  | |      S rR7  )r   rT7  r!  s     r   rT7  rT7    rbS  r#   c                 .    t        j                  | |      S rV7  )r   rX7  r!  s     r   rX7  rX7    rbS  r#   c                 .    t        j                  | |      S rZ7  )r   r\7  r!  s     r   r\7  r\7    rbS  r#   c                 .    t        j                  | |      S r^7  )r   r`7  r!  s     r   r`7  r`7    rbS  r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::fz_write_xml()`.
    	Write our xml structure out to an xml stream.

    	Properly formatted XML is only allowed to have a single top-level node
    	under which everything must sit. Our structures allow for multiple
    	top level nodes. If required, we will output an extra 'ROOT' node
    	at the top so that the xml is well-formed.

    	If 'indented' is non-zero then additional whitespace will be added to
    	make the XML easier to read in a text editor. It will NOT be properly
    	compliant.
    )r   rM@  r}!  s      r   rM@  rM@    s     tS(33r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::fz_write_zip_entry()`.
    	Given a buffer of data, (optionally) compress it, and add it to
    	the zip file with the given name.
    )r   r@  r!  s       r   r@  r@    s     $$S$X>>r#   c                 2    t        j                  | |||      S )z]
    Class-aware wrapper for `::fz_xml_add_att()`.
    	Add an attribute to an XML node.
    )r   r:  r!  s       r   r:  r:    s    
   tS#66r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_xml_att()`.
    	Return the value of an attribute of an XML node.
    	NULL if the attribute doesn't exist.
    )r   rP@  r!  s     r   rP@  rP@    s     T3''r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_xml_att_alt()`.
    	Return the value of an attribute of an XML node.
    	If the first attribute doesn't exist, try the second.
    	NULL if neither attribute exists.
    )r   rS@  r!  s      r   rS@  rS@    s       sC00r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::fz_xml_att_eq()`.
    	Check for a matching attribute on an XML node.

    	If the node has the requested attribute (name), and the value
    	matches (match) then return 1. Otherwise, 0.
    )r   rV@  r!  s      r   rV@  rV@    s     dE22r#   c                 ,    t        j                  |       S )zY
    Class-aware wrapper for `::fz_xml_down()`.
    	Return first child of XML node.
    )r   rY@  r!  s    r   rY@  rY@    rS  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_xml_find()`.
    	Search the siblings of XML nodes starting with item looking for
    	the first with the given tag.

    	Return NULL if none found.
    )r   r]@  r!  s     r   r]@  r]@    s     dC((r#   c                 2    t        j                  | |||      S )a   
    Class-aware wrapper for `::fz_xml_find_dfs()`.
    	Perform a depth first search from item, returning the first
    	child that matches the given tag (or any tag if tag is NULL),
    	with the given attribute (if att is non NULL), that matches
    	match (if match is non NULL).
    )r   r`@  r!  s       r   r`@  r`@    s     !!$S%88r#   c                 4    t        j                  | ||||      S )a~  
    Class-aware wrapper for `::fz_xml_find_dfs_top()`.
    	Perform a depth first search from item, returning the first
    	child that matches the given tag (or any tag if tag is NULL),
    	with the given attribute (if att is non NULL), that matches
    	match (if match is non NULL). The search stops if it ever
    	reaches the top of the tree, or the declared 'top' item.
    )r   rd@  r!  s        r   rd@  rd@    s     %%dCeSAAr#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_xml_find_down()`.
    	Search the siblings of XML nodes starting with the first child
    	of item looking for the first with the given tag.

    	Return NULL if none found.
    )r   rg@  r!  s     r   rg@  rg@  "       ""4--r#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_xml_find_down_match()`.
    	Search the siblings of XML nodes starting with the first child
    	of item looking for the first with the given tag (or any tag if
    	tag is NULL), and with a matching attribute.

    	Return NULL if none found.
    )r   rk@  r!  s       r   rk@  rk@  ,       ((sC??r#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_xml_find_match()`.
    	Search the siblings of XML nodes starting with item looking for
    	the first with the given tag (or any tag if tag is NULL), and
    	with a matching attribute.

    	Return NULL if none found.
    )r   ro@  r!  s       r   ro@  ro@  7  s     ##D#sE::r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::fz_xml_find_next()`.
    	Search the siblings of XML nodes starting with the first sibling
    	of item looking for the first with the given tag.

    	Return NULL if none found.
    )r   rr@  r!  s     r   rr@  rr@  B  ruX  r#   c                 2    t        j                  | |||      S )a-  
    Class-aware wrapper for `::fz_xml_find_next_dfs()`.
    	Perform a depth first search onwards from item, returning the first
    	child that matches the given tag (or any tag if tag is NULL),
    	with the given attribute (if att is non NULL), that matches
    	match (if match is non NULL).
    )r   ru@  r!  s       r   ru@  ru@  L  s     &&tS#u==r#   c                 4    t        j                  | ||||      S )a  
    Class-aware wrapper for `::fz_xml_find_next_dfs_top()`.
    	Perform a depth first search onwards from item, returning the first
    	child that matches the given tag (or any tag if tag is NULL),
    	with the given attribute (if att is non NULL), that matches
    	match (if match is non NULL). The search stops if it ever reaches
    	the top of the tree, or the declared 'top' item.
    )r   rx@  r!  s        r   rx@  rx@  V  s     **4c5#FFr#   c                 2    t        j                  | |||      S )a  
    Class-aware wrapper for `::fz_xml_find_next_match()`.
    	Search the siblings of XML nodes starting with the first sibling
    	of item looking for the first with the given tag (or any tag if tag
    	is NULL), and with a matching attribute.

    	Return NULL if none found.
    )r   r{@  r!  s       r   r{@  r{@  a  rwX  r#   c                 .    t        j                  | |      S )z`
    Class-aware wrapper for `::fz_xml_is_tag()`.
    	Return true if the tag name matches.
    )r   r~@  r!  s     r   r~@  r~@  l  rV  r#   c                 ,    t        j                  |       S )zZ
    Class-aware wrapper for `::fz_xml_next()`.
    	Return next sibling of XML node.
    )r   r@  r!  s    r   r@  r@  s  rS  r#   c                 ,    t        j                  |       S )z^
    Class-aware wrapper for `::fz_xml_prev()`.
    	Return previous sibling of XML node.
    )r   r@  r!  s    r   r@  r@  z  rS  r#   c                 ,    t        j                  |       S )zd
    Class-aware wrapper for `::fz_xml_root()`.
    	Return the topmost XML node of a document.
    )r   r@  r  s    r   r@  r@    rV  r#   c                 ,    t        j                  |       S )zl
    Class-aware wrapper for `::fz_xml_tag()`.
    	Return tag of XML node. Return NULL for text nodes.
    )r   r@  r!  s    r   r@  r@    r  r#   c                 ,    t        j                  |       S )z
    Class-aware wrapper for `::fz_xml_text()`.
    	Return the text content of an XML node.
    	Return NULL if the node is a tag.
    )r   r@  r!  s    r   r@  r@    s     d##r#   c                 ,    t        j                  |       S )zR
    Class-aware wrapper for `::fz_xml_up()`.
    	Return parent of XML node.
    )r   r@  r!  s    r   r@  r@    rX  r#   c                 ,    t        j                  |       S rD  )r   rD  rN   s    r   rD  rD    r|  r#   c                 ,    t        j                  |       S rD  )r   rD  r!  s    r   rD  rD    r~#  r#   c                 .    t        j                  | |      S r@  )r   r@  r!  s     r   r@  r@    r>)  r#   c                 0    t        j                  | ||      S )z5Class-aware wrapper for `::pdf_add_annot_ink_list()`.)r   pdf_add_annot_ink_listr!  s      r   rX  rX    s    ((6::r#   c                 ,    t        j                  |       S r@  )r   r@  r!  s    r   r@  r@    rf"  r#   c                 .    t        j                  | |      S r@  )r   r@  r!  s     r   r@  r@    s    66ua@@r#   c                 .    t        j                  | |      S r@  )r   r@  r!  s     r   r@  r@    s    **5$77r#   c                 .    t        j                  | |      S r@  )r   r@  r!  s     r   r@  r@        &&ua00r#   c                 .    t        j                  | |      S rD  )r   rD  r!  s     r   rD  rD    rjS  r#   c                 4    t        j                  | ||||      S rD  )r   rD  r!  s        r   rD  rD    s    ""3feUCCr#   c                 2    t        j                  | |||      S rC  )r   rC  r!  s       r   rC  rC    s    ##D#tQ77r#   c           	      8    t        j                  | ||||||      S rD  )r   rD  r!  s          r   rD  rD    s!    ''Xx7T[]ijjr#   c                 2    t        j                  | |||      S rH  )r   rH  r!  s       r   rH  rH    s    tRQ//r#   c                 .    t        j                  | |      S rD  )r   rD  r!  s     r   rD  rD        U++r#   c                 4    t        j                  | ||||      S rD  )r   rD  r!  s        r   rD  rD    s    **3k6RRr#   c                 .    t        j                  | |      S rD  )r   rD  r!  s     r   rD  rD    s    ##C11r#   c                 .    t        j                  | |      S rD  )r   rD  r!  s     r   rD  rD    s    ""300r#   c                 .    t        j                  | |      S rD  )r   rD  r"  s     r   rD  rD          c**r#   c                 4    t        j                  | ||||      S rD  )r   rD  r"  s        r   rD  rD    s    sHfiJJr#   c                 0    t        j                  | ||      S rD  )r   rD  r"  s      r   rD  rD    s    %%c4::r#   c                 2    t        j                  | |||      S rD  )r   rD  r"  s       r   rD  rD    s      c3
;;r#   c                 .    t        j                  | |      S rD  )r   rD  r!  s     r   rD  rD    s    ))#t44r#   c                 6    t        j                  | |||||      S rH  )r   rH  r"  s         r   rH  rH    s    tRQ155r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::pdf_annot_MK_BC()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_annot_MK_BC(::pdf_annot *annot, float color[4])` => int n
    )r   r@  r"  s      r   r@  r@         !!%E22r#   c                 .    t        j                  | |      S r@  )r   r@  r"  s     r   r@  r@        %%eS11r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::pdf_annot_MK_BG()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_annot_MK_BG(::pdf_annot *annot, float color[4])` => int n
    )r   r@  r"  s      r   r@  r@    rX  r#   c                 .    t        j                  | |      S r@  )r   r@  r"  s     r   r@  r@    rX  r#   c                 ,    t        j                  |       S r A  )r   rA  r!  s    r   rA  rA    r  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    s    u%%r#   c                 ,    t        j                  |       S rA  )r   r
A  r!  s    r   r
A  r
A    r  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA     r  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA  $  r"  r#   c                 .    t        j                  | |      S rA  )r   rA  r3"  s     r   rA  rA  (      ,,UA66r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA  ,  r["  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA  0  ri"  r#   c                 ,    t        j                  |       S r A  )r   r"A  r!  s    r   r"A  r"A  4  r"  r#   c                 ,    t        j                  |       S r$A  )r   r&A  r!  s    r   r&A  r&A  8  r"  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::pdf_annot_callout_line()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_annot_callout_line(::pdf_annot *annot, ::fz_point callout[3])` => int n
    )r   pdf_annot_callout_linerB"  s      r   rX  rX  <  s     ((;;r#   c                 ,    t        j                  |       S r(A  )r   r*A  r!  s    r   r*A  r*A  E  r["  r#   c                 ,    t        j                  |       S r,A  )r   r.A  r!  s    r   r.A  r.A  I  r["  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::pdf_annot_color()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_annot_color(::pdf_annot *annot, float color[4])` => int n
    )r   r1A  r"  s      r   r1A  r1A  M  rX  r#   c                 ,    t        j                  |       S r3A  )r   r5A  r!  s    r   r5A  r5A  V  r"  r#   c                 ,    t        j                  |       S r7A  )r   r9A  r!  s    r   r9A  r9A  Z  r["  r#   c                 4    t        j                  | ||||      S )z
    Class-aware wrapper for `::pdf_annot_default_appearance()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_annot_default_appearance(::pdf_annot *annot, float color[4])` => `(const char *font, float size, int n)`
    )r   r=A  rQ"  s        r   r=A  r=A  ^  s     ..udD!UKKr#   c                 6    t        j                  | |||||      S )a  
    Class-aware wrapper for `::pdf_annot_default_appearance_unmapped()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_annot_default_appearance_unmapped(::pdf_annot *annot, char *font_name, int font_name_len, float color[4])` => `(float size, int n)`
    )r   r@A  rT"  s         r   r@A  r@A  g  s"     77y-Y]_`bghhr#   c                 ,    t        j                  |       S rBA  )r   rDA  r!  s    r   rDA  rDA  p  r"  r#   c                 ,    t        j                  |       S rFA  )r   rHA  r!  s    r   rHA  rHA  t  rn  r#   c                 ,    t        j                  |       S rJA  )r   rLA  r!  s    r   rLA  rLA  x  rn  r#   c                 ,    t        j                  |       S rNA  )r   rPA  r!  s    r   rPA  rPA  |  rL"  r#   c                 ,    t        j                  |       S rRA  )r   rTA  r!  s    r   rTA  rTA    rn  r#   c                 ,    t        j                  |       S rVA  )r   rXA  r!  s    r   rXA  rXA    rL"  r#   c                 ,    t        j                  |       S rZA  )r   r\A  r!  s    r   r\A  r\A    r7"  r#   c                 ,    t        j                  |       S r^A  )r   r`A  r!  s    r   r`A  r`A    r  r#   c                 ,    t        j                  |       S rbA  )r   rdA  r!  s    r   rdA  rdA    r="  r#   c                 ,    t        j                  |       S rfA  )r   rhA  r!  s    r   rhA  rhA    r  r#   c                 ,    t        j                  |       S rjA  )r   rlA  r!  s    r   rlA  rlA    r"  r#   c                 0    t        j                  | ||      S rD  )r   rD  rs"  s      r   rD  rD    s    11#ucBBr#   c                 ,    t        j                  |       S rnA  )r   rpA  r!  s    r   rpA  rpA    rL"  r#   c                 ,    t        j                  |       S rrA  )r   rtA  rx"  s    r   rtA  rtA    rV  r#   c                 ,    t        j                  |       S rvA  )r   rxA  r!  s    r   rxA  rxA    rL"  r#   c                 ,    t        j                  |       S rzA  )r   r|A  r!  s    r   r|A  r|A    r"  r#   c                 ,    t        j                  |       S r~A  )r   rA  r!  s    r   rA  rA    r*"  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    rn  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    rn  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r"  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    rL"  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r"  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r["  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r"  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    rn  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r"  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r!  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r"  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r'"  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r="  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r"  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r"  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r"  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r   r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA     r'"  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r  r#   c                 .    t        j                  | |      S rA  )r   rA  r3"  s     r   rA  rA    r)  r#   c                 0    t        j                  | ||      S rA  )r   rA  r"  s      r   rA  rA    s    225!Q??r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::pdf_annot_interior_color()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_annot_interior_color(::pdf_annot *annot, float color[4])` => int n
    )r   rA  r"  s      r   rA  rA    s     **5!U;;r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA    r  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA  !  r"  r#   c                 ,    t        j                  |       S )z1Class-aware wrapper for `::pdf_annot_language()`.)r   pdf_annot_languager!  s    r   rX  rX  %  r"  r#   c                 0    t        j                  | ||      S rA  )r   rA  r"  s      r   rA  rA  )  s      1--r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA  -  r"  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA  1  rf"  r#   c                 ,    t        j                  |       S rA  )r   rA  r!  s    r   rA  rA  5  r  r#   c                 0    t        j                  | ||      S )a  
    Class-aware wrapper for `::pdf_annot_line_ending_styles()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_annot_line_ending_styles(::pdf_annot *annot)` => `(enum pdf_line_ending start_style, enum pdf_line_ending end_style)`
    )r   r B  r"  s      r   r B  r B  9  s     ..uk9MMr#   c                 ,    t        j                  |       S rB  )r   rB  r!  s    r   rB  rB  B  rL"  r#   c                 ,    t        j                  |       S rB  )r   rB  r!  s    r   rB  rB  F  rn"  r#   c                 ,    t        j                  |       S r
B  )r   rB  r!  s    r   rB  rB  J  r  r#   c                 ,    t        j                  |       S rB  )r   rB  r!  s    r   rB  rB  N  r7"  r#   c                 ,    t        j                  |       S rB  )r   rB  r!  s    r   rB  rB  R  r"  r#   c                 ,    t        j                  |       S rB  )r   rB  r!  s    r   rB  rB  V  r"  r#   c                 ,    t        j                  |       S rB  )r   rB  r!  s    r   rB  rB  Z  r   r#   c                 ,    t        j                  |       S rB  )r   r B  r!  s    r   r B  r B  ^  r  r#   c                 ,    t        j                  |       S r"B  )r   r$B  r!  s    r   r$B  r$B  b  r}*  r#   c                 ,    t        j                  |       S r&B  )r   r(B  r!  s    r   r(B  r(B  f  r:"  r#   c                 ,    t        j                  |       S r*B  )r   r,B  r!  s    r   r,B  r,B  j  r  r#   c                 ,    t        j                  |       S r.B  )r   r0B  r!  s    r   r0B  r0B  n  r*"  r#   c                 ,    t        j                  |       S r2B  )r   r4B  r!  s    r   r4B  r4B  r  r="  r#   c                 .    t        j                  | |      S r6B  )r   r8B  r3"  s     r   r8B  r8B  v  rX  r#   c                 ,    t        j                  |       S r:B  )r   r<B  r!  s    r   r<B  r<B  z  r7"  r#   c                 ,    t        j                  |       S r>B  )r   r@B  r!  s    r   r@B  r@B  ~  r"  r#   c                 ,    t        j                  |       S rBB  )r   rDB  r!  s    r   rDB  rDB    r}*  r#   c                 ,    t        j                  |       S rFB  )r   rHB  r!  s    r   rHB  rHB    rf"  r#   c                 ,    t        j                  |       S rJB  )r   rLB  r!  s    r   rLB  rLB    r"  r#   c                 ,    t        j                  |       S rNB  )r   rPB  r!  s    r   rPB  rPB    r'"  r#   c                 ,    t        j                  |       S rRB  )r   rTB  r!  s    r   rTB  rTB    r}*  r#   c                 ,    t        j                  |       S )z9Class-aware wrapper for `::pdf_annot_type_from_string()`.)r   pdf_annot_type_from_stringr"  s    r   rY  rY    s    ,,W55r#   c                 .    t        j                  | |      S rVB  )r   rXB  r3"  s     r   rXB  rXB    r #  r#   c                 ,    t        j                  |       S r[B  )r   r]B  r!  s    r   r]B  r]B    r"  r#   c                 .    t        j                  | |      S )z>Class-aware wrapper for `::pdf_append_explicit_dest_to_uri()`.)r   pdf_append_explicit_dest_to_urir#  s     r   rY  rY    r#  r#   c                 .    t        j                  | |      S )z;Class-aware wrapper for `::pdf_append_named_dest_to_uri()`.)r   pdf_append_named_dest_to_urir#  s     r   rY  rY    r)  r#   c                 0    t        j                  | ||      S rZ-  )r   r\-  r
#  s      r   r\-  r\-    r&  r#   c                 .    t        j                  | |      S r_B  )r   raB  r#  s     r   raB  raB        %%eT22r#   c                 .    t        j                  | |      S rK  )r   rK  r#  s     r   rK  rK    s    $$UC00r#   c                 .    t        j                  | |      S rK  )r   r
K  r#  s     r   r
K  r
K    s    ""5%00r#   c                 .    t        j                  | |      S rK  )r   rK  r#  s     r   rK  rK          ,,r#   c                 .    t        j                  | |      S rK  )r   rK  r#  s     r   rK  rK    s    q))r#   c                 .    t        j                  | |      S rK  )r   rK  r#  s     r   rK  rK        $$UE22r#   c                 .    t        j                  | |      S rK  )r   rK  r#  s     r   rK  rK    s    ##E511r#   c                 .    t        j                  | |      S rK  )r   rK  r#  s     r   rK  rK    r&#  r#   c                 .    t        j                  | |      S r K  )r   r"K  r#  s     r   r"K  r"K    rY  r#   c                 .    t        j                  | |      S r$K  )r   r&K  r#  s     r   r&K  r&K    rY  r#   c                 .    t        j                  | |      S r(K  )r   r*K  r#  s     r   r*K  r*K    rY  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::pdf_array_get_string()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_array_get_string(::pdf_obj *array, int index)` => `(const char *, size_t sizep)`
    )r   r-K  r2#  s      r   r-K  r-K    s     &&ueU;;r#   c                 .    t        j                  | |      S r/K  )r   r1K  r#  s     r   r1K  r1K        ++E599r#   c                 0    t        j                  | ||      S r3K  )r   r5K  r9#  s      r   r5K  r5K    s    ""5#u55r#   c                 ,    t        j                  |       S r7K  )r   r9K  r>#  s    r   r9K  r9K    r   r#   c                 .    t        j                  | |      S r;K  )r   r=K  r#  s     r   r=K  r=K    rY  r#   c                 .    t        j                  | |      S r?K  )r   rAK  rC#  s     r   rAK  rAK    s    &&ug66r#   c                 .    t        j                  | |      S rCK  )r   rEK  rF#  s     r   rEK  rEK    r"  r#   c                 .    t        j                  | |      S rGK  )r   rIK  rC#  s     r   rIK  rIK    s    %%eW55r#   c                 .    t        j                  | |      S rKK  )r   rMK  rF#  s     r   rMK  rMK    s    $$UA..r#   c                 .    t        j                  | |      S rOK  )r   rQK  rF#  s     r   rQK  rQK    r"  r#   c                 .    t        j                  | |      S rSK  )r   rUK  rF#  s     r   rUK  rUK    r"  r#   c                 0    t        j                  | ||      S rWK  )r   rYK  rU#  s      r   rYK  rYK    ra#  r#   c                 .    t        j                  | |      S r[K  )r   r]K  rF#  s     r   r]K  r]K    rX  r#   c                 0    t        j                  | ||      S r_K  )r   raK  rZ#  s      r   raK  raK    s    q#..r#   c                 0    t        j                  | ||      S rcK  )r   rfK  r]#  s      r   rfK  rfK    s    %%eQ88r#   c                 0    t        j                  | ||      S rhK  )r   rkK  r`#  s      r   rkK  rkK        $$UAq11r#   c                 0    t        j                  | ||      S rnK  )r   rpK  r]#  s      r   rpK  rpK    s    $$UAw77r#   c                 0    t        j                  | ||      S rrK  )r   rtK  r`#  s      r   rtK  rtK  #  r"  r#   c                 0    t        j                  | ||      S rvK  )r   rxK  r`#  s      r   rxK  rxK  '  r)Y  r#   c                 0    t        j                  | ||      S rzK  )r   r|K  r`#  s      r   r|K  r|K  +  r)Y  r#   c                 2    t        j                  | |||      S r~K  )r   rK  ro#  s       r   rK  rK  /  s    &&uaA66r#   c                 0    t        j                  | ||      S rK  )r   rK  r`#  s      r   rK  rK  3  r)  r#   c                 .    t        j                  | |      S rD  )r   rD  rt#  s     r   rD  rD  7  s    ++C44r#   c                 0    t        j                  | ||      S rD  )r   rD  ry#  s      r   rD  rD  ;  s    ##ClCCr#   c                 ,    t        j                  |       S rD  )r   rD  rN   s    r   rD  rD  ?  r!  r#   c                 .    t        j                  | |      S rD  )r   rE  r#  s     r   rE  rE  C  s    %%c955r#   c                 ,    t        j                  |       S rdB  )r   rfB  r!  s    r   rfB  rfB  G  r*"  r#   c                 .    t        j                  | |      S rHN  )r   rJN  r  s     r   rJN  rJN  K  s      s++r#   c                 ,    t        j                  |       S rhB  )r   rjB  rx"  s    r   rjB  rjB  O  s    ""6**r#   c                 ,    t        j                  |       S rK  )r   rK  r#  s    r   rK  rK  S  r="  r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE  W  r  r#   c                 ,    t        j                  |       S rE  )r   r	E  rN   s    r   r	E  r	E  [  r!  r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE  _  rmT  r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE  c  rmT  r#   c                 0    t        j                  | ||      S )z4Class-aware wrapper for `::pdf_check_certificate()`.)r   pdf_check_certificater#  s      r   r=Y  r=Y  g  s    ''#yAAr#   c                 0    t        j                  | ||      S )z/Class-aware wrapper for `::pdf_check_digest()`.)r   pdf_check_digestr#  s      r   r?Y  r?Y  k  s    ""8S)<<r#   c                 .    t        j                  | |      S )z;Class-aware wrapper for `::pdf_check_widget_certificate()`.)r   pdf_check_widget_certificater#  s     r   rAY  rAY  o  s    ..x@@r#   c                 .    t        j                  | |      S )z6Class-aware wrapper for `::pdf_check_widget_digest()`.)r   pdf_check_widget_digestr#  s     r   rCY  rCY  s  s    ))(F;;r#   c                 0    t        j                  | ||      S rK  )r   rK  r#  s      r   rK  rK  w  s    ))%A>>r#   c                 ,    t        j                  |       S rK  )r   rK  r#  s    r   rK  rK  {  rf"  r#   c                 ,    t        j                  |       S rlB  )r   rnB  r#  s    r   rnB  rnB    s    22266r#   c                 0    t        j                  | ||      S rpB  )r   rrB  r#  s      r   rrB  rrB    s    ++B	4@@r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::pdf_choice_widget_options2()`.   Swig-friendly wrapper for pdf_choice_widget_options(), returns the
    options directly in a vector.
    )r   ruB  r#  s     r   ruB  ruB    s    
 ,,R;;r#   c                 0    t        j                  | ||      S rwB  )r   ryB  r#  s      r   ryB  ryB    s    --b!T::r#   c                 .    t        j                  | |      S r{B  )r   r}B  r#  s     r   r}B  r}B    s    ))"d33r#   c                 4    t        j                  | ||||      S )z-Class-aware wrapper for `::pdf_clean_file()`.)r   pdf_clean_filer#  s        r   rLY  rLY    s      (D)LLr#   c                 ,    t        j                  |       S )z2Class-aware wrapper for `::pdf_clean_font_name()`.)r   pdf_clean_font_namer#  s    r   rNY  rNY    s    %%h//r#   c                 ,    t        j                  |       S rK  )r   rK  r#  s    r   rK  rK    r9&  r#   c                 ,    t        j                  |       S rB  )r   rB  r!  s    r   rB  rB    r"  r#   c                 ,    t        j                  |       S rB  )r   rB  r!  s    r   rB  rB    r  r#   c                 ,    t        j                  |       S rB  )r   rB  r!  s    r   rB  rB    r"  r#   c                 ,    t        j                  |       S rB  )r   rB  r!  s    r   rB  rB    r  r#   c                 ,    t        j                  |       S rB  )r   rB  rx"  s    r   rB  rB    r#  r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE    r  r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE    r&  r#   c                 ,    t        j                  |       S rTO  )r   rVO  r#  s    r   rVO  rVO    r4  r#   c                 ,    t        j                  |       S rC  )r   rC  r#  s    r   rC  rC    rW  r#   c                 ,    t        j                  |       S rC  )r   rC  r#  s    r   rC  rC    rc*  r#   c                 ,    t        j                  |       S rK  )r   rK  r>#  s    r   rK  rK    r}*  r#   c                 ,    t        j                  |       S rK  )r   rK  r#  s    r   rK  rK    rW  r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE    r"  r#   c                 ,    t        j                  |       S rE  )r   r!E  rN   s    r   r!E  r!E    r  r#   c                 ,    t        j                  |       S r#E  )r   r%E  rN   s    r   r%E  r%E    r5  r#   c                 ,    t        j                  |       S r'E  )r   r)E  rN   s    r   r)E  r)E    r  r#   c                 ,    t        j                  |       S r+E  )r   r-E  rN   s    r   r-E  r-E    r  r#   c                 ,    t        j                  |       S rLN  )r   rNN  r  s    r   rNN  rNN    s    11$77r#   c                 ,    t        j                  |       S r/E  )r   r1E  rN   s    r   r1E  r1E    r  r#   c                 .    t        j                  | |      S r81  )r   r:1  r+  s     r   r:1  r:1    r"  r#   c                 4    t        j                  | ||||      S )z
    Class-aware wrapper for `::pdf_count_q_balance()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_count_q_balance(::pdf_document *doc, ::pdf_obj *res, ::pdf_obj *stm)` => `(int prepend, int append)`
    )r   r5E  r#  s        r   r5E  r5E    s     %%c3WfEEr#   c                 ,    t        j                  |       S r7E  )r   r9E  rN   s    r   r9E  r9E    rm  r#   c                 ,    t        j                  |       S r;E  )r   r=E  rN   s    r   r=E  r=E    r   r#   c                 ,    t        j                  |       S r?E  )r   rAE  rN   s    r   rAE  rAE    r  r#   c                 .    t        j                  | |      S rPN  )r   rSN  r$  s     r   rSN  rSN    r$  r#   c                 .    t        j                  | |      S rUN  )r   rWN  r$  s     r   rWN  rWN    s    &&tT22r#   c                  *    t        j                         S )z2Class-aware wrapper for `::pdf_create_document()`.)r   pdf_create_documentr$   r#   r   rkY  rkY    s    %%''r#   c                 2    t        j                  | |||      S rCE  )r   rEE  r$  s       r   rEE  rEE    s    ''VS#>>r#   c                 0    t        j                  | ||      S rYN  )r   r[N  r8  s      r   r[N  r[N    s    !!$c22r#   c                 ,    t        j                  |       S rHE  )r   rJE  rN   s    r   rJE  rJE    r  r#   c                 .    t        j                  | |      S r]N  )r   r_N  r$  s     r   r_N  r_N    s    --dD99r#   c                 ,    t        j                  |       S r-D  )r   r/D  r$  s    r   r/D  r/D  #  r7"  r#   c                 ,    t        j                  |       S r1D  )r   r3D  r$  s    r   r3D  r3D  '  r   r#   c                 ,    t        j                  |       S r5D  )r   r7D  r$  s    r   r7D  r7D  +  r  r#   c                 ,    t        j                  |       S r9D  )r   r;D  r$  s    r   r;D  r;D  /  r  r#   c                 2    t        j                  | |||      S r=D  )r   r?D  r"$  s       r   r?D  r?D  3  s    sC55r#   c                 ,    t        j                  |       S rAD  )r   rCD  r$  s    r   rCD  rCD  7  r7"  r#   c                 ,    t        j                  |       S rED  )r   rGD  r$  s    r   rGD  rGD  ;  r  r#   c                 ,    t        j                  |       S rID  )r   rKD  r$  s    r   rKD  rKD  ?  rL"  r#   c                 ,    t        j                  |       S rMD  )r   rOD  r$  s    r   rOD  rOD  C  r!  r#   c                 ,    t        j                  |       S rQD  )r   rSD  r$  s    r   rSD  rSD  G  r"  r#   c                 ,    t        j                  |       S rUD  )r   rWD  r$  s    r   rWD  rWD  K  r["  r#   c                 ,    t        j                  |       S rYD  )r   r[D  r$  s    r   r[D  r[D  O  r["  r#   c                 ,    t        j                  |       S r]D  )r   r_D  r$  s    r   r_D  r_D  S  r="  r#   c                 ,    t        j                  |       S raD  )r   rcD  r$  s    r   rcD  rcD  W  r["  r#   c                 ,    t        j                  |       S reD  )r   rgD  r$  s    r   rgD  rgD  [  r  r#   c                 0    t        j                  | ||      S rD  )r   rD  r9$  s      r   rD  rD  _  s    D$,,r#   c                 ,    t        j                  |       S rLE  )r   rNE  rN   s    r   rNE  rNE  c  r|  r#   c                 ,    t        j                  |       S rK  )r   rK  r#  s    r   rK  rK  g  r9&  r#   c                 ,    t        j                  |       S rK  )r   rK  r#  s    r   rK  rK  k  r9&  r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::pdf_decode_cmap()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_decode_cmap(::pdf_cmap *cmap, unsigned char *s, unsigned char *e)` => `(int, unsigned int cpt)`
    )r   rC  rC$  s       r   rC  rC  o  s     !!$1c22r#   c                 ,    t        j                  |       S rK  )r   rK  r#  s    r   rK  rK  x  r  r#   c                 .    t        j                  | |      S raN  )r   rcN  rI$  s     r   rcN  rcN  |  s    ""4//r#   c                 .    t        j                  | |      S reN  )r   rgN  r  s     r   rgN  rgN    s    !!$--r#   c                 .    t        j                  | |      S rPE  )r   rSE  r#  s     r   rSE  rSE    r"  r#   c                 .    t        j                  | |      S rUE  )r   rWE  r  s     r   rWE  rWE        !!#v..r#   c                 .    t        j                  | |      S rZE  )r   r\E  rT$  s     r   r\E  r\E        ((e44r#   c                 0    t        j                  | ||      S r^E  )r   r`E  rX$  s      r   r`E  r`E    s    ''UC88r#   c                 .    t        j                  | |      S rbE  )r   reE  r[$  s     r   reE  reE    rv#  r#   c                 .    t        j                  | |      S rgE  )r   rjE  r_$  s     r   rjE  rjE        ))#s33r#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK        tS))r#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK        c**r#   c                 .    t        j                  | |      S )z+Class-aware wrapper for `::pdf_dict_get()`.)r   r!N  rc$  s     r   r!N  r!N    rY  r#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK    r#  r#   c                 0    t        j                  | ||      S rK  )r   rK  rn$  s      r   rK  rK        ++D#t<<r#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK    r#  r#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK    rW  r#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK    r  r#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK    r  r#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK    r$  r#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK    r{W  r#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK    r|$  r#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK    r  r#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK    r  r#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK    r  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::pdf_dict_get_inheritable_string()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_dict_get_inheritable_string(::pdf_obj *dict, ::pdf_obj *key)` => `(const char *, size_t sizep)`
    )r   rK  r$  s      r   rK  rK    s     11$UCCr#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK    s    66tSAAr#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK    rg$  r#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK    r  r#   c                 0    t        j                  | ||      S rK  )r   rK  rn$  s      r   rK  rK    s    **4d;;r#   c                 .    t        j                  | |      S rK  )r   rK  r$  s     r   rK  rK    rg$  r#   c                 .    t        j                  | |      S rK  )r   rK  rc$  s     r   rK  rK    r$  r#   c                 .    t        j                  | |      S r L  )r   rL  rc$  s     r   rL  rL    r#  r#   c                 .    t        j                  | |      S rL  )r   rL  rc$  s     r   rL  rL    r  r#   c                 .    t        j                  | |      S rL  )r   r
L  rc$  s     r   r
L  r
L    r#  r#   c                 0    t        j                  | ||      S rL  )r   rL  rn$  s      r   rL  rL    rY  r#   c                 .    t        j                  | |      S rL  )r   rL  rc$  s     r   rL  rL  	  r#  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::pdf_dict_get_string()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_dict_get_string(::pdf_obj *dict, ::pdf_obj *key)` => `(const char *, size_t sizep)`
    )r   rL  r$  s      r   rL  rL    s     %%dC77r#   c                 .    t        j                  | |      S rL  )r   rL  rc$  s     r   rL  rL    rW  r#   c                 .    t        j                  | |      S rL  )r   rL  rc$  s     r   rL  rL    r$  r#   c                 .    t        j                  | |      S rL  )r   r!L  r$  s     r   r!L  r!L    rg$  r#   c                 0    t        j                  | ||      S r#L  )r   r&L  r$  s      r   r&L  r&L  "  s    c622r#   c                 .    t        j                  | |      S r(L  )r   r+L  r$  s     r   r+L  r+L  &  s    d++r#   c                 .    t        j                  | |      S r-L  )r   r/L  r$  s     r   r/L  r/L  *  r  r#   c                 .    t        j                  | |      S r1L  )r   r3L  rc$  s     r   r3L  r3L  .  rY  r#   c                 .    t        j                  | |      S r5L  )r   r7L  rc$  s     r   r7L  r7L  2  s    ++D#66r#   c                 0    t        j                  | ||      S r:L  )r   r<L  r$  s      r   r<L  r<L  6  s      sF33r#   c                 ,    t        j                  |       S r>L  )r   r@L  r#  s    r   r@L  r@L  :      t$$r#   c                 0    t        j                  | ||      S rCL  )r   rEL  r$  s      r   rEL  rEL  >  s    tS#..r#   c                 0    t        j                  | ||      S rGL  )r   rJL  r$  s      r   rJL  rJL  B      $$T388r#   c                 0    t        j                  | ||      S rML  )r   rPL  r$  s      r   rPL  rPL  F      ##D#q11r#   c                 0    t        j                  | ||      S rSL  )r   rUL  r$  s      r   rUL  rUL  J  s    ##D#t44r#   c                 0    t        j                  | ||      S rXL  )r   rZL  r$  s      r   rZL  rZL  N  s    ##D#w77r#   c                 0    t        j                  | ||      S r\L  )r   r^L  r$  s      r   r^L  r^L  R  r$  r#   c                 0    t        j                  | ||      S r`L  )r   rbL  r$  s      r   rbL  rbL  V  s    ""4a00r#   c                 0    t        j                  | ||      S rdL  )r   rfL  r$  s      r   rfL  rfL  Z  r$  r#   c                 0    t        j                  | ||      S rhL  )r   rjL  r$  s      r   rjL  rjL  ^  rY  r#   c                 0    t        j                  | ||      S rlL  )r   rnL  r$  s      r   rnL  rnL  b  s    $$T322r#   c                 0    t        j                  | ||      S rpL  )r   rrL  r$  s      r   rrL  rrL  f  rY  r#   c                 0    t        j                  | ||      S rtL  )r   rvL  r$  s      r   rvL  rvL  j  rY  r#   c                 2    t        j                  | |||      S rxL  )r   rzL  r$  s       r   rzL  rzL  n  s    %%dCA66r#   c                 0    t        j                  | ||      S r|L  )r   r~L  r$  s      r   r~L  r~L  r  s    **4a88r#   c                 .    t        j                  | |      S rL  )r   rL  r$  s     r   rL  rL  v  r)  r#   c                 0    t        j                  | ||      S rL  )r   rL  r$  s      r   rL  rL  z  s    dC00r#   c                 0    t        j                  | ||      S rL  )r   rL  r$  s      r   rL  rL  ~  s    c3//r#   c                 0    t        j                  | ||      S rL  )r   rL  r$  s      r   rL  rL    rY  r#   c                 ,    t        j                  |       S rB  )r   rB  r!  s    r   rB  rB    r*"  r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL    r9&  r#   c                 ,    t        j                  |       S rlE  )r   rnE  rN   s    r   rnE  rnE    r  r#   c                 ,    t        j                  |       S rI  )r   rI  r%  s    r   rI  rI    r.%  r#   c                 ,    t        j                  |       S rpE  )r   rrE  rN   s    r   rrE  rrE    r&  r#   c                 .    t        j                  | |      S rtE  )r   rvE  r%  s     r   rvE  rvE    r<U  r#   c                 ,    t        j                  |       S ryE  )r   r{E  rN   s    r   r{E  r{E    r!  r#   c                 ,    t        j                  |       S r}E  )r   rE  rN   s    r   rE  rE    r=   r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE    r $  r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE    r $  r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE    r!  r#   c                 ,    t        j                  |       S r=1  )r   r?1  r  s    r   r?1  r?1    r $  r#   c                 ,    t        j                  |       S )z4Class-aware wrapper for `::pdf_document_language()`.)r   pdf_document_languagerN   s    r   rY  rY    r|  r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE    r   r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE    r!  r#   c                 6    t        j                  | |||||      S )a  
    Class-aware wrapper for `::pdf_edit_text_field_value()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_edit_text_field_value(::pdf_annot *widget, const char *value, const char *change)` => `(int, int selStart, int selEnd, char *newvalue)`
    )r   rB  r]%  s         r   rB  rB    s      ++FE68VU]^^r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE    r  r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE    r  r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE    r9&  r#   c                 0    t        j                  | ||      S rE  )r   rE  rg%  s      r   rE  rE    s    ""3w77r#   c           	      8    t        j                  | ||||||      S riD  )r   rkD  rl%  s          r   rkD  rkD    s    ""5#sKaKKr#   c                 2    t        j                  | |||      S rmD  )r   roD  rp%  s       r   roD  roD    s    ##E3S99r#   c                 ,    t        j                  |       S rH  )r   rH  r/  s    r   rH  rH    rY  r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE    r  r#   c                 ,    t        j                  |       S rH  )r   rH  r/  s    r   rH  rH    rY  r#   c                 .    t        j                  | |      S rE  )r   rE  r#  s     r   rE  rE    r)  r#   c                 4    t        j                  | ||||      S )z
    Class-aware wrapper for `::pdf_eval_function()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_eval_function(::pdf_function *func, const float *in, int inlen, int outlen)` => float out
    )r   rI  r  s        r   rI  rI    s     ##D#uc6BBr#   c                 .    t        j                  | |      S rE  )r   rE  r}%  s     r   rE  rE    r)  r#   c                 .    t        j                  | |      S rE  )r   rE  r%  s     r   rE  rE     s    00d;;r#   c                 0    t        j                  | ||      S rE  )r   rE  r%  s      r   rE  rE    s    ,,S#yAAr#   c                 .    t        j                  | |      S rE  )r   rE  r}%  s     r   rE  rE    r$  r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE    r|  r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL    r"  r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL    r  r#   c                 .    t        j                  | |      S rE  )r   rE  r%  s     r   rE  rE    rU$  r#   c                 .    t        j                  | |      S rE  )r   rE  r%  s     r   rE  rE    rY  r#   c                 0    t        j                  | ||      S rE  )r   rE  r%  s      r   rE  rE     s    ++C<<r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::pdf_field_event_validate()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_field_event_validate(::pdf_document *doc, ::pdf_obj *field, const char *value)` => `(int, char *newvalue)`
    )r   rE  r%  s       r   rE  rE  $  s     **3uhGGr#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL  -  r*"  r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL  1  r*"  r#   c                 .    t        j                  | |      S rE  )r   rE  r%  s     r   rE  rE  5      !!#u--r#   c                 .    t        j                  | |      S rL  )r   rL  r%  s     r   rL  rL  9  rr)  r#   c                 .    t        j                  | |      S rL  )r   rL  r%  s     r   rL  rL  =  s    ..ud;;r#   c                 .    t        j                  | |      S rL  )r   rL  r%  s     r   rL  rL  A  rN#  r#   c                 .    t        j                  | |      S rL  )r   rL  r%  s     r   rL  rL  E      **5#66r#   c                 .    t        j                  | |      S rL  )r   rL  r%  s     r   rL  rL  I  rY  r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL  M  r}*  r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL  Q  rL"  r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL  U  r*"  r#   c                 0    t        j                  | ||      S rE  )r   rE  r%  s      r   rE  rE  Y  s    ++C@@r#   c                 0    t        j                  | ||      S rE  )r   rE  r%  s      r   rE  rE  ]  s    **3g>>r#   c                 4    t        j                  | ||||      S rL  )r   rL  r%  s        r   rL  rL  a  s    --h#wPXYYr#   c                 4    t        j                  | ||||      S rE  )r   rE  r%  s        r   rE  rE  e  s    ((dHdCHHr#   c                 .    t        j                  | |      S )z,Class-aware wrapper for `::pdf_find_item()`.)r   pdf_find_itemr%  s     r   rZ  rZ  i  rY  r#   c                 .    t        j                  | |      S rE  )r   rE  r"  s     r   rE  rE  m  r$  r#   c                 ,    t        j                  |       S riN  )r   rkN  r  s    r   rkN  rkN  q  r$  r#   c                 ,    t        j                  |       S rmN  )r   roN  r  s    r   roN  roN  u  r  r#   c                 ,    t        j                  |       S rL  )r   rL  r  s    r   rL  rL  y  r#  r#   c                 .    t        j                  | |      S rH  )r   rH  r%  s     r   rH  rH  }  s    %%h44r#   c                 ,    t        j                  |       S r2  )r   r2  r/  s    r   r2  r2    r  r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE    r  r#   c                 0    t        j                  | ||      S )z.Class-aware wrapper for `::pdf_format_date()`.)r   pdf_format_dater%  s      r   rZ  rZ    s    !!$1--r#   c                 0    t        j                  | ||      S )z7Class-aware wrapper for `::pdf_format_write_options()`.)r   pdf_format_write_optionsr%  s      r   rZ  rZ    s    **6:tDDr#   c                 ,    t        j                  |       S rI  )r   rI  r2  s    r   rI  rI    r#  r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL    r&  r#   c                 ,    t        j                  |       S rE  )r   rE  rN   s    r   rE  rE    r~#  r#   c                 .    t        j                  | |      S rL  )r   rL  r%  s     r   rL  rL    s    ..r377r#   c                 .    t        j                  | |      S rL  )r   rL  r%  s     r   rL  rL    s    ))"c22r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL    r  r#   c                 ,    t        j                  |       S rB  )r   rB  rx"  s    r   rB  rB    s    ..v66r#   c                 .    t        j                  | |      S r#I  )r   r%I  r&  s     r   r%I  r%I    rY  r#   c                 2    t        j                  | |||      S r'I  )r   r)I  r&  s       r   r)I  r)I    s    ''Wc9EEr#   c                 .    t        j                  | |      S rE  )r   rE  r&  s     r   rE  rE        ""3,,r#   c                 2    t        j                  | |||      S rE  )r   rE  r&  s       r   rE  rE    s      gsI>>r#   c                 .    t        j                  | |      S rE  )r   rE  r  s     r   rE  rE    rbS  r#   c                 ,    t        j                  |       S rE  )r   r F  rN   s    r   r F  r F    r5  r#   c                 ,    t        j                  |       S rF  )r   rF  rN   s    r   rF  rF    rm  r#   c                 ,    t        j                  |       S rB  )r   rB  rx"  s    r   rB  rB    s    ==fEEr#   c                 0    t        j                  | ||      S rF  )r   rF  r&  s      r   rF  rF    s    **3S99r#   c                 0    t        j                  | ||      S r
F  )r   rF  r&  s      r   rF  rF    s    !!#r400r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL    rm  r#   c                 ,    t        j                  |       S )z5Class-aware wrapper for `::pdf_intent_from_string()`.)r   pdf_intent_from_stringr  s    r   r'Z  r'Z    r&  r#   c                 ,    t        j                  |       S rF  )r   rF  rN   s    r   rF  rF    r  r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL    rmT  r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL    r(  r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL    r(  r#   c                 ,    t        j                  |       S rL  )r   rL  r.&  s    r   rL  rL    rS  r#   c                 .    t        j                  | |      S rJ  )r   rJ  r1&  s     r   rJ  rJ    s    %%fd33r#   c                 ,    t        j                  |       S rL  )r   rL  r.&  s    r   rL  rL    s    !!"%%r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL    r  r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL        S!!r#   c                 ,    t        j                  |       S rL  )r   rL  r#  s    r   rL  rL    r  r#   c                 .    t        j                  | |      S rF  )r   rF  r"  s     r   rF  rF    r&  r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM  	  r(  r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM    r(  r#   c                 ,    t        j                  |       S r	M  )r   rM  r#  s    r   rM  rM    r9&  r#   c                 2    t        j                  | |||      S rF  )r   rF  rF&  s       r   rF  rF    s    ##CeS99r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM    r(  r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM    r9&  r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM  !  r9&  r#   c                 ,    t        j                  |       S r-  )r   r-  r  s    r   r-  r-  %  rX&  r#   c                 2    t        j                  | |||      S rI  )r   rI  rR&  s       r   rI  rI  )  s    ##BzBBr#   c                 0    t        j                  | ||      S rI  )r   rI  rU&  s      r   rI  rI  -  s    --b&#>>r#   c                 ,    t        j                  |       S rI  )r   rI  r1%  s    r   rI  rI  1  s    %%b))r#   c                 .    t        j                  | |      S rI  )r   rI  r[&  s     r   rI  rI  5  s    //C88r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::pdf_js_event_result_validate()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_js_event_result_validate(::pdf_js *js)` => `(int, char *newvalue)`
    )r   rI  r^&  s     r   rI  rI  9  s     ..r8<<r#   c                 ,    t        j                  |       S rI  )r   rI  r1%  s    r   rI  rI  B  r4&  r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::pdf_js_execute()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_js_execute(::pdf_js *js, const char *name, const char *code)` => char *result
    )r   rI  rd&  s       r   rI  rI  F  s       T488r#   c                 0    t        j                  | ||      S rF  )r   rF  rj&  s      r   rF  rF  O  s    $$S'488r#   c                 ,    t        j                  |       S rF  )r   r F  rN   s    r   r F  r F  S  r  r#   c                 0    t        j                  | ||      S r"F  )r   r$F  r&  s      r   r$F  r$F  W  s    ''Z>>r#   c                 0    t        j                  | ||      S r&F  )r   r(F  r&  s      r   r(F  r(F  [  s    **3D99r#   c                 .    t        j                  | |      S r*F  )r   r-F  r&  s     r   r-F  r-F  _  rM*  r#   c                 .    t        j                  | |      S r0F  )r   r2F  r&  s     r   r2F  r2F  c  s      e,,r#   c                 2    t        j                  | |||      S r2  )r   r2  r&  s       r   r2  r2  g  s    %%dD#v>>r#   c                 .    t        j                  | |      S )z&Class-aware wrapper for `::pdf_lex()`.)r   pdf_lexr&  s     r   rKZ  rKZ  k  s    >>!V$$r#   c                 .    t        j                  | |      S )z0Class-aware wrapper for `::pdf_lex_no_string()`.)r   pdf_lex_no_stringr&  s     r   rMZ  rMZ  o  s    ##Av..r#   c                 ,    t        j                  |       S raJ  )r   rcJ  r&  s    r   rcJ  rcJ  s  rW  r#   c                 ,    t        j                  |       S reJ  )r   rgJ  r&  s    r   rgJ  rgJ  w      !!&))r#   c                 .    t        j                  | |      S riJ  )r   rkJ  r&  s     r   rkJ  rkJ  {  s    !!&$//r#   c                 ,    t        j                  |       S rM  )r   rM  r&  s    r   rM  rM    r  r#   c                 ,    t        j                  |       S )z:Class-aware wrapper for `::pdf_line_ending_from_string()`.)r   pdf_line_ending_from_stringr&  s    r   rTZ  rTZ    r=   r#   c                 ,    t        j                  |       S )z4Class-aware wrapper for `::pdf_load_builtin_cmap()`.)r   pdf_load_builtin_cmapr  s    r   rVZ  rVZ    rn  r#   c                 ,    t        j                  |       S r>  )r   r>  r  s    r   r>  r>    rW  r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM    r  r#   c                 6    t        j                  | |||||      S r4F  )r   r6F  r&  s         r   r6F  r6F    s    223fdGUZ[[r#   c                 0    t        j                  | ||      S r8F  )r   r:F  r&  s      r   r:F  r:F    s    ,,S#zBBr#   c                 .    t        j                  | |      S r<F  )r   r>F  r&  s     r   r>F  r>F    r)  r#   c                 .    t        j                  | |      S r@F  )r   rBF  r&  s     r   rBF  rBF    r"  r#   c                 ,    t        j                  |       S r!M  )r   r#M  r.&  s    r   r#M  r#M    r  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::pdf_load_encoding()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_load_encoding(const char *encoding)` => const char *estrings
    )r   pdf_load_encodingr&  s     r   r_Z  r_Z    s     ##Hh77r#   c                 ,    t        j                  |       S r%M  )r   r'M  r#  s    r   r'M  r'M    r'"  r#   c                 ,    t        j                  |       S r#N  )r   r%N  r#  s    r   r%N  r%N    rn  r#   c                 0    t        j                  | ||      S r)M  )r   r+M  r&  s      r   r+M  r+M        ##Cc22r#   c                 .    t        j                  | |      S rEF  )r   rGF  r"  s     r   rGF  rGF    rX  r#   c                 2    t        j                  | |||      S rIF  )r   rKF  r&  s       r   rKF  rKF    s    ''S$==r#   c                 .    t        j                  | |      S rMF  )r   rOF  r&  s     r   rOF  rOF        ""311r#   c                 4    t        j                  | ||||      S rRF  )r   rTF  )r   r  r  r}  r&  s        r   rTF  rTF    s    &&ueVWhOOr#   c                 ,    t        j                  |       S rqN  )r   rsN  r  s    r   rsN  rsN    rc*  r#   c                 .    t        j                  | |      S rVF  )r   rXF  r&  s     r   rXF  rXF    r%  r#   c                 .    t        j                  | |      S )a  
    Class-aware wrapper for `::pdf_load_object()`.
    	Load a given object.

    	This can cause xref reorganisations (solidifications etc) due to
    	repairs, so all held pdf_xref_entries should be considered
    	invalid after this call (other than the returned one).
    )r   r\F  r#  s     r   r\F  r\F    s     !!#s++r#   c                 ,    t        j                  |       S r^F  )r   r`F  rN   s    r   r`F  r`F    r  r#   c                 .    t        j                  | |      S rbF  )r   rdF  r  s     r   rdF  rdF        V,,r#   c                 0    t        j                  | ||      S rA1  )r   rC1  r&  s      r   rC1  rC1    s    ##C&99r#   c                 ,    t        j                  |       S rfF  )r   rhF  rN   s    r   rhF  rhF    r  r#   c                 .    t        j                  | |      S rjF  )r   rlF  r"  s     r   rlF  rlF    rZ  r#   c                 ,    t        j                  |       S r-M  )r   r/M  r&  s    r   r/M  r/M    r  r#   c                 .    t        j                  | |      S rnF  )r   rpF  r#  s     r   rpF  rpF    r`$  r#   c                 .    t        j                  | |      S rrF  )r   rtF  r"  s     r   rtF  rtF    rZ  r#   c                 ,    t        j                  |       S r1M  )r   r3M  r&  s    r   r3M  r3M    r  r#   c                 .    t        j                  | |      S rvF  )r   rxF  r#  s     r   rxF  rxF    r"  r#   c                 ,    t        j                  |       S r5M  )r   r7M  r  s    r   r7M  r7M    r
  r#   c                 ,    t        j                  |       S )z3Class-aware wrapper for `::pdf_load_system_cmap()`.)r   pdf_load_system_cmapr  s    r   ryZ  ryZ    r  r#   c                 4    t        j                  | ||||      S )a  
    Class-aware wrapper for `::pdf_load_to_unicode()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_load_to_unicode(::pdf_document *doc, ::pdf_font_desc *font, char *collection, ::pdf_obj *cmapstm)` => const char *strings
    )r   r{F  r'  s        r   r{F  r{F    s     %%c4*gNNr#   c                 .    t        j                  | |      S r}F  )r   rF  r'  s     r   rF  rF    s    ''X66r#   c                 .    t        j                  | |      S rF  )r   rF  r#  s     r   rF  rF    r%  r#   c                 .    t        j                  | |      S rC  )r   rC  r'  s     r   rC  rC     rd$  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::pdf_lookup_cmap_full()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_lookup_cmap_full(::pdf_cmap *cmap, unsigned int cpt)` => `(int, int out)`
    )r   rC  r'  s      r   rC  rC  $  s     &&tS#66r#   c                 .    t        j                  | |      S rF  )r   rF  r'  s     r   rF  rF  -  rY  r#   c                 .    t        j                  | |      S r9M  )r   r;M  r'  s     r   r;M  r;M  1  r$  r#   c                 2    t        j                  | |||      S rF  )r   rF  r&'  s       r   rF  rF  5  s    %%c3T::r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::pdf_lookup_metadata2()`.
    C++ alternative to `pdf_lookup_metadata()` that returns a `std::string`
    or calls `fz_throw()` if not found.
    )r   rF  r2  s     r   rF  rF  9  rC  r#   c                 0    t        j                  | ||      S rF  )r   rF  r+'  s      r   rF  rF  A  s    !!#uf55r#   c                 .    t        j                  | |      S r=M  )r   r?M  r.'  s     r   r?M  r?M  E  s    ##D&11r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::pdf_lookup_page_loc()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_lookup_page_loc(::pdf_document *doc, int needle, ::pdf_obj **parentp)` => `(pdf_obj *, int indexp)`
    )r   rF  r1'  s       r   rF  rF  I  s     %%c67FCCr#   c                 .    t        j                  | |      S rF  )r   rF  r6'  s     r   rF  rF  R  r#  r#   c                 .    t        j                  | |      S rF  )r   rF  r'  s     r   rF  rF  V  s    %%c622r#   c                 4    t        j                  | ||||      S )z
    Class-aware wrapper for `::pdf_lookup_substitute_font()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_lookup_substitute_font(int mono, int serif, int bold, int italic)` => `(const unsigned char *, int len)`
    )r   pdf_lookup_substitute_fontr<'  s        r   rZ  rZ  Z  s     ,,T5$LLr#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::pdf_map_one_to_many()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_map_one_to_many(::pdf_cmap *cmap, unsigned int one, size_t len)` => int many
    )r   rC  rB'  s       r   rC  rC  c  s     %%dCs;;r#   c                 2    t        j                  | |||      S rC  )r   rC  rF'  s       r   rC  rC  l  s    ((ueUCCr#   c                 ,    t        j                  |       S rJ  )r   rJ  r=%  s    r   rJ  rJ  p  r'"  r#   c                 .    t        j                  | |      S rJ  )r   rJ  rN'  s     r   rJ  rJ  t  r#  r#   c                 .    t        j                  | |      S rJ  )r   rJ  rR'  s     r   rJ  rJ  x  r$  r#   c                 ,    t        j                  |       S rJ  )r   rJ  r  s    r   rJ  rJ  |  r%  r#   c                 ,    t        j                  |       S rJ  )r   rJ  r  s    r   rJ  rJ    r%  r#   c                 ,    t        j                  |       S rJ  )r   rJ  r  s    r   rJ  rJ    r#  r#   c                 .    t        j                  | |      S rJ  )r   rJ  rR'  s     r   rJ  rJ    r  r#   c                 ,    t        j                  |       S rAM  )r   rCM  r#  s    r   rCM  rCM    rmT  r#   c                 ,    t        j                  |       S rF  )r   rF  rN   s    r   rF  rF    r9&  r#   c                 ,    t        j                  |       S rF  )r   rF  rN   s    r   rF  rF    rmT  r#   c                 ,    t        j                  |       S rF  )r   rF  rN   s    r   rF  rF    r|  r#   c                 .    t        j                  | |      S rEM  )r   rGM  r  s     r   rGM  rGM    s    a##r#   c                 ,    t        j                  |       S )z3Class-aware wrapper for `::pdf_name_from_intent()`.)r   pdf_name_from_intentrg'  s    r   rZ  rZ    r*  r#   c                 ,    t        j                  |       S )z8Class-aware wrapper for `::pdf_name_from_line_ending()`.)r   pdf_name_from_line_endingr&  s    r   rZ  rZ    r  r#   c                 ,    t        j                  |       S rF  )r   rF  rN   s    r   rF  rF    r  r#   c                 .    t        j                  | |      S rF  )r   rF  r  s     r   rF  rF    r$  r#   c                 .    t        j                  | |      S rF  )r   rF  rr'  s     r   rF  rF    s    Z00r#   c                 0    t        j                  | ||      S r^-  )r   ra-  rv'  s      r   ra-  ra-    s    **69hGGr#   c                  *    t        j                         S )z+Class-aware wrapper for `::pdf_new_cmap()`.)r   pdf_new_cmapr$   r#   r   rZ  rZ    r  r#   c                 6    t        j                  | |||||      S rF  )r   rF  r|'  s         r   rF  rF    s    &&sE>9gW\]]r#   c                 .    t        j                  | |      S rF  )r   rF  r'  s     r   rF  rF        sD))r#   c                 0    t        j                  | ||      S rF  )r   rF  r'  s      r   rF  rF    s    ((c9==r#   c                 .    t        j                  | |      S rF  )r   rF  rr'  s     r   rF  rF    s    sJ//r#   c                 ,    t        j                  |       S rB  )r   rB  r!  s    r   rB  rB    rn"  r#   c                 ,    t        j                  |       S rF  )r   rF  r'  s    r   rF  rF    r  r#   c                 .    t        j                  | |      S )z4Class-aware wrapper for `::pdf_new_identity_cmap()`.)r   pdf_new_identity_cmapr'  s     r   rZ  rZ    r##  r#   c                 0    t        j                  | ||      S rF  )r   rF  r'  s      r   rF  rF    r&  r#   c                 ,    t        j                  |       S )z*Class-aware wrapper for `::pdf_new_int()`.)r   pdf_new_intr@  s    r   rZ  rZ    s    a  r#   c                 2    t        j                  | |||      S ruN  )r   rwN  r'  s       r   rwN  rwN    s    tT344r#   c                 .    t        j                  | |      S rF  )r   rF  r'  s     r   rF  rF    rX  r#   c                 ,    t        j                  |       S )z+Class-aware wrapper for `::pdf_new_name()`.)r   pdf_new_namer  s    r   rZ  rZ    rmT  r#   c                 0    t        j                  | ||      S rb7  )r   rd7  r'  s      r   rd7  rd7    s    **3	8DDr#   c                 2    t        j                  | |||      S rF  )r   rF  r'  s       r   rF  rF    s    $$S&)XFFr#   c                 4    t        j                  | ||||      S rB  )r   rB  r'  s        r   rB  rB    s    ++E3D%HHr#   c           	      8    t        j                  | ||||||      S ryN  )r   r|N  r'  s          r   r|N  r|N    s%    NNtUXZ\^bdikpruvvr#   c                 6    t        j                  | |||||      S r~N  )r   rN  r'  s         r   rN  rN    s    >>tS"eUZ\_``r#   c           	      8    t        j                  | ||||||      S r 9  )r   r"9  r'  s          r   r"9  r"9     s$    EEdCQSUY[`bgilmmr#   c                 6    t        j                  | |||||      S r9  )r   r9  r'  s         r   r9  r9    s    55dCUESVWWr#   c                 .    t        j                  | |      S rF  )r   rF  r'  s     r   rF  rF    rX  r#   c                 ,    t        j                  |       S )z0Class-aware wrapper for `::pdf_new_processor()`.)r   pdf_new_processorr  s    r   rZ  rZ    r#  r#   c                 ,    t        j                  |       S )z+Class-aware wrapper for `::pdf_new_real()`.)r   pdf_new_realr=  s    r   rZ  rZ    s    q!!r#   c                 .    t        j                  | |      S rF  )r   rF  r'  s     r   rF  rF    rZ  r#   c           
      :    t        j                  | |||||||      S rF  )r   rF  r'  s           r   rF  rF    s#    ''S#}eVU_aghhr#   c                 6    t        j                  | |||||      S rF  )r   rF  r'  s         r   rF  rF    r'  r#   c                 .    t        j                  | |      S )z-Class-aware wrapper for `::pdf_new_string()`.)r   pdf_new_stringr'  s     r   rZ  rZ     rX  r#   c                 ,    t        j                  |       S rJ  )r   rJ  r;  s    r   rJ  rJ  $  r"+  r#   c                 ,    t        j                  |       S r@5  )r   rB5  r'  s    r   rB5  rB5  (  r(  r#   c                 .    t        j                  | |      S )zFClass-aware wrapper for `::pdf_new_uri_from_path_and_explicit_dest()`.)r   'pdf_new_uri_from_path_and_explicit_destr'  s     r   rZ  rZ  ,  r'  r#   c                 .    t        j                  | |      S )zCClass-aware wrapper for `::pdf_new_uri_from_path_and_named_dest()`.)r   $pdf_new_uri_from_path_and_named_destr'  s     r   rZ  rZ  0  r*  r#   c                 ,    t        j                  |       S rJM  )r   rLM  r  s    r   rLM  rLM  4  r  r#   c                 .    t        j                  | |      S )z;Class-aware wrapper for `::pdf_new_utf8_from_pdf_string()`.)r   pdf_new_utf8_from_pdf_stringr'  s     r   rZ  rZ  8  s    ..vv>>r#   c                 ,    t        j                  |       S rNM  )r   rPM  r  s    r   rPM  rPM  <  r  r#   c                 4    t        j                  | ||||      S rF  )r   rF  r'  s        r   rF  rF  @  s    !!#tVS&AAr#   c                 ,    t        j                  |       S rB  )r   rB  r!  s    r   rB  rB  D  r}*  r#   c                 ,    t        j                  |       S rB  )r   rB  r'  s    r   rB  rB  H  rU  r#   c                 ,    t        j                  |       S rN  )r   rN  r  s    r   rN  rN  L  r$  r#   c                 ,    t        j                  |       S rN  )r   rN  r  s    r   rN  rN  P  rc*  r#   c                 ,    t        j                  |       S rN  )r   rN  r  s    r   rN  rN  T  rW  r#   c                 ,    t        j                  |       S rRM  )r   rTM  r#  s    r   rTM  rTM  X  r  r#   c                 ,    t        j                  |       S rVM  )r   rXM  r#  s    r   rXM  rXM  \  r&  r#   c                 ,    t        j                  |       S rZM  )r   r\M  r#  s    r   r\M  r\M  `  r  r#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::pdf_obj_memo()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_obj_memo(::pdf_obj *obj, int bit)` => `(int, int memo)`
    )r   r`M  r(  s      r   r`M  r`M  d  s     sC..r#   c                 .    t        j                  | |      S rF  )r   rF  r#  s     r   rF  rF  m  r)  r#   c                 ,    t        j                  |       S rbM  )r   rdM  r#  s    r   rdM  rdM  q  r  r#   c                 ,    t        j                  |       S rfM  )r   rhM  r&  s    r   rhM  rhM  u  rmT  r#   c                 .    t        j                  | |      S rjM  )r   rlM  r  s     r   rlM  rlM  y  r{  r#   c                 .    t        j                  | |      S rnM  )r   rpM  r  s     r   rpM  rpM  }  s    !!!Q''r#   c                 .    t        j                  | |      S rrM  )r   rtM  r  s     r   rtM  rtM    r(  r#   c                 .    t        j                  | |      S rF  )r   rF  r"  s     r   rF  rF    r$  r#   c                 2    t        j                  | |||      S r>  )r   r>  r(  s       r   r>  r>    s      sC88r#   c                 4    t        j                  | ||||      S r>  )r   r>  r(  s        r   r>  r>    s    ,,UE4cJJr#   c                 ,    t        j                  |       S )z0Class-aware wrapper for `::pdf_open_document()`.)r   pdf_open_documentr  s    r   rZ  rZ    s    ##H--r#   c                 ,    t        j                  |       S r>  )r   r>  r  s    r   r>  r>    r   r#   c                 4    t        j                  | ||||      S rF  )r   rF  r&(  s        r   rF  rF    s    ((ffeVLLr#   c                 ,    t        j                  |       S rvM  )r   rxM  r&  s    r   rxM  rxM    r  r#   c                 .    t        j                  | |      S rF  )r   rF  r#  s     r   rF  rF    r`$  r#   c                 ,    t        j                  |       S rzM  )r   r|M  r&  s    r   r|M  r|M    r  r#   c                 .    t        j                  | |      S rF  )r   rG  r#  s     r   rG  rG    r"  r#   c                 2    t        j                  | |||      S rG  )r   rG  r2(  s       r   rG  rG    s    --c3gFFr#   c                 .    t        j                  | |      S rN  )r   rN  r5(  s     r   rN  rN    rW  r#   c                 ,    t        j                  |       S rN  )r   rN  r  s    r   rN  rN    r#  r#   c                 ,    t        j                  |       S rN  )r   rN  r  s    r   rN  rN    r  r#   c                 ,    t        j                  |       S rN  )r   rN  r  s    r   rN  rN    r4  r#   c                 ,    t        j                  |       S r-8  )r   r/8  r  s    r   r/8  r/8    r|  r#   c                 ,    t        j                  |       S rN  )r   rN  r  s    r   rN  rN    rc*  r#   c                 ,    t        j                  |       S rN  )r   rN  r  s    r   rN  rN    rk  r#   c                 2    t        j                  | |||      S rG  )r   r	G  rD(  s       r   r	G  r	G    s      dC66r#   c                 4    t        j                  | ||||      S rE1  )r   rG1  rG(  s        r   rG1  rG1    s    $$S'4dCCr#   c                 0    t        j                  | ||      S r~M  )r   rM  rJ(  s      r   rM  rM    s    ((&&AAr#   c                 2    t        j                  | |||      S rM  )r   rM  rO(  s       r   rM  rM    s    ,,Wfc3GGr#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::pdf_page_presentation()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_page_presentation(::pdf_page *page, ::fz_transition *transition)` => `(fz_transition *, float duration)`
    )r   rN  r  s      r   rN  rN    s     ''j(CCr#   c                 ,    t        j                  |       S rN  )r   rN  r  s    r   rN  rN    r%  r#   c                 ,    t        j                  |       S rN  )r   rN  r  s    r   rN  rN    r  r#   c                 0    t        j                  | ||      S rN  )r   rN  rX(  s      r   rN  rN    s    $$T8S99r#   c                 2    t        j                  | |||      S rN  )r   rN  r[(  s       r   rN  rN    s    ((xcBBr#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::pdf_page_write()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_page_write(::pdf_document *doc, ::fz_rect mediabox, ::pdf_obj **presources, ::fz_buffer **pcontents)` => `(fz_device *)`
    )r   rG  r^(  s       r   rG  rG    s       h
IFFr#   c                 0    t        j                  | ||      S rG  )r   rG  rc(  s      r   rG  rG    s    !!#q#..r#   c                 ,    t        j                  |       S )z-Class-aware wrapper for `::pdf_parse_date()`.)r   pdf_parse_dater;  s    r   rZ  rZ    r'  r#   c                 4    t        j                  | ||||      S )z
    Class-aware wrapper for `::pdf_parse_default_appearance()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_parse_default_appearance(const char *da, float color[4])` => `(const char *font, float size, int n)`
    )r   pdf_parse_default_appearancerh(  s        r   rZ  rZ    s     ..r4q%HHr#   c                 6    t        j                  | |||||      S )a  
    Class-aware wrapper for `::pdf_parse_default_appearance_unmapped()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_parse_default_appearance_unmapped(const char *da, char *font_name, int font_name_len, float color[4])` => `(float size, int n)`
    )r   %pdf_parse_default_appearance_unmappedrl(  s         r   r [  r [    s"     77I}VZ\]_deer#   c                 0    t        j                  | ||      S rG  )r   rG  rc(  s      r   rG  rG    s      a--r#   c                 6    t        j                  | |||||      S )z
    Class-aware wrapper for `::pdf_parse_ind_obj()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_parse_ind_obj(::pdf_document *doc, ::fz_stream *f)` => `(pdf_obj *, int num, int gen, int64_t stm_ofs, int try_repair)`
    )r   rG  rr(  s         r   rG  rG    s     ##CCgzJJr#   c                 4    t        j                  | ||||      S )z
    Class-aware wrapper for `::pdf_parse_journal_obj()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_parse_journal_obj(::pdf_document *doc, ::fz_stream *stm, ::fz_buffer **ostm)` => `(pdf_obj *, int onum, int newobj)`
    )r   rG  rv(  s        r   rG  rG  &  s     ''S$fEEr#   c                 0    t        j                  | ||      S rG  )r   rG  rc(  s      r   rG  rG  /  ro(  r#   c                 .    t        j                  | |      S )z6Class-aware wrapper for `::pdf_parse_write_options()`.)r   r>R  r  s     r   r>R  r>R  3  r$  r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM  7  r  r#   c           
      :    t        j                  | |||||||      S )zDClass-aware wrapper for `::pdf_preview_signature_as_display_list()`.)r   %pdf_preview_signature_as_display_listr(  s           r   r[  r[  ;  s%    771dFL\^egmowxxr#   c           
      :    t        j                  | |||||||      S )z>Class-aware wrapper for `::pdf_preview_signature_as_pixmap()`.)r   pdf_preview_signature_as_pixmapr(  s           r   r
[  r
[  ?  s%    11!QfFVX_agiqrrr#   c                 .    t        j                  | |      S rf7  )r   rh7  r(  s     r   rh7  rh7  C  rY  r#   c                 6    t        j                  | |||||      S )z;Class-aware wrapper for `::pdf_print_default_appearance()`.)r   pdf_print_default_appearancer(  s         r   r[  r[  G  s    ..sD$aOOr#   c           
      :    t        j                  | |||||||      S )a	  
    Class-aware wrapper for `::pdf_print_encrypted_obj()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_print_encrypted_obj(::fz_output *out, ::pdf_obj *obj, int tight, int ascii, ::pdf_crypt *crypt, int num, int gen)` => int sep
    )r   rm7  r(  s           r   rm7  rm7  K  s$     ))#sE5%cSVWWr#   c                 .    t        j                  | |      S ro7  )r   rr7  r(  s     r   rr7  rr7  T  s      h//r#   c                 2    t        j                  | |||      S rt7  )r   rv7  r(  s       r   rv7  rv7  X  s    S%77r#   c                 0    t        j                  | ||      S rXO  )r   rZO  r(  s      r   rZO  rZO  \  s    ##D%88r#   c                 6    t        j                  | |||||      S )a  
    Class-aware wrapper for `::pdf_process_contents()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_process_contents(::pdf_processor *proc, ::pdf_document *doc, ::pdf_obj *res, ::pdf_obj *stm, ::fz_cookie *cookie, ::pdf_obj **out_res)` =>
    )r   r^O  r(  s         r   r^O  r^O  `  s     &&tS#sFGLLr#   c                 2    t        j                  | |||      S r`O  )r   rbO  r(  s       r   rbO  rbO  i  s    ##D#y(CCr#   c                 4    t        j                  | ||||      S rdO  )r   rfO  r(  s        r   rfO  rfO  m  s    **4c66JJr#   c                 ,    t        j                  |       S rhO  )r   rjO  r#  s    r   rjO  rjO  q  r]  r#   c                 .    t        j                  | |      S rlO  )r   rnO  r(  s     r   rnO  rnO  u  r$  r#   c                 .    t        j                  | |      S r!G  )r   r#G  r(  s     r   r#G  r#G  y  r*  r#   c                 ,    t        j                  |       S r%G  )r   r'G  rN   s    r   r'G  r'G  }  r!  r#   c                 ,    t        j                  |       S r)G  )r   r+G  rN   s    r   r+G  r+G    r=   r#   c                 .    t        j                  | |      S r-G  )r   r/G  r#  s     r   r/G  r/G    r%  r#   c                 .    t        j                  | |      S r1G  )r   r3G  r_$  s     r   r3G  r3G    rZ  r#   c                 2    t        j                  | |||      S r5G  )r   r7G  r(  s       r   r7G  r7G    s    %%c5%CCr#   c                 0    t        j                  | ||      S r9G  )r   r;G  r(  s      r   r;G  r;G    s    &&sE9==r#   c                 0    t        j                  | ||      S r=G  )r   r?G  r(  s      r   r?G  r?G    s    ""366r#   c                 0    t        j                  | ||      S )zP
    Class-aware wrapper for `::pdf_recolor_shade()`.
    	Recolor a shade.
    )r   rM  r(  s      r   rM  rM    s    
 ##E7F;;r#   c                 0    t        j                  | ||      S rAG  )r   rCG  r(  s      r   rCG  rCG    s    !!#tT22r#   c                 ,    t        j                  |       S rEG  )r   rGG  rN   s    r   rGG  rGG        ??3r#   c                 .    t        j                  | |      S )z.Class-aware wrapper for `::pdf_remove_item()`.)r   pdf_remove_itemr%  s     r   r$[  r$[    rd$  r#   c                 ,    t        j                  |       S rIG  )r   rKG  rN   s    r   rKG  rKG    r  r#   c	                 <    t        j                  | ||||||||	      S )a<  
    Class-aware wrapper for `::pdf_repair_obj()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_repair_obj(::pdf_document *doc, ::pdf_lexbuf *buf, ::pdf_obj **encrypt, ::pdf_obj **id, ::pdf_obj **page, ::pdf_obj **root)` => `(int, int64_t stmofsp, int64_t stmlenp, int64_t tmpofs)`
    )r   rNG  r(  s	            r   rNG  rNG    s'       c7GWb$PVX\]]r#   c                 ,    t        j                  |       S rPG  )r   rRG  rN   s    r   rRG  rRG    r  r#   c                 ,    t        j                  |       S rTG  )r   rVG  rN   s    r   rVG  rVG    r  r#   c                 ,    t        j                  |       S rXG  )r   rZG  rN   s    r   rZG  rZG    r  r#   c                 0    t        j                  | ||      S r\G  )r   r^G  r(  s      r   r^G  r^G    s    ""333r#   c                 0    t        j                  | ||      S r`G  )r   rbG  r(  s      r   rbG  rbG    s      fg66r#   c                 ,    t        j                  |       S rpO  )r   rrO  r#  s    r   rrO  rrO    r4  r#   c                 ,    t        j                  |       S )a7  
    Class-aware wrapper for `::pdf_resolve_indirect()`.
    	Resolve an indirect object (or chain of objects).

    	This can cause xref reorganisations (solidifications etc) due to
    	repairs, so all held pdf_xref_entries should be considered
    	invalid after this call (other than the returned one).
    )r   rM  r&  s    r   rM  rM    s     &&s++r#   c                 ,    t        j                  |       S rM  )r   rM  r&  s    r   rM  rM    r   r#   c                 2    t        j                  | |||      S )z
    Class-aware wrapper for `::pdf_resolve_link()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_resolve_link(::pdf_document *doc, const char *uri)` => `(int, float xp, float yp)`
    )r   reG  r  s       r   reG  reG    s     ""3R44r#   c                 .    t        j                  | |      S rgG  )r   riG  r(  s     r   riG  riG    r!  r#   c                 2    t        j                  | |||      S rB  )r   rB  r(  s       r   rB  rB    s    sC88r#   c                 0    t        j                  | ||      S rkG  )r   rmG  r  s      r   rmG  rmG    s    ,,S#v>>r#   c           	      8    t        j                  | ||||||      S roG  )r   rqG  r(  s          r   rqG  rqG    s    Y#sFJWWr#   c                 2    t        j                  | |||      S rN  )r   rN  r(  s       r   rN  rN    s    tS#v66r#   c                 2    t        j                  | |||      S rN  )r   rN  r(  s       r   rN  rN    s    %%dCf==r#   c                 4    t        j                  | ||||      S rN  )r   rN  r)  s        r   rN  rN    s    00sCOOr#   c                 2    t        j                  | |||      S rN  )r   rN  r(  s       r   rN  rN    s    ''c3??r#   c                 4    t        j                  | ||||      S rN  )r   rN  r)  s        r   rN  rN  	  s    224c5&QQr#   c                 2    t        j                  | |||      S rN  )r   rN  r(  s       r   rN  rN    s    &&tS#v>>r#   c                 4    t        j                  | ||||      S rN  )r   rN  r)  s        r   rN  rN    s    11$S%PPr#   c                 4    t        j                  | ||||      S rN  )r   rN  r)  s        r   rN  rN    s    ))$S%HHr#   c                 6    t        j                  | |||||      S )z
    Class-aware wrapper for `::pdf_sample_shade_function()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_sample_shade_function(int n, int funcs, ::pdf_function **func, float t0, float t1)` => `(float samples)`
    )r   pdf_sample_shade_functionr)  s         r   r=[  r=[    s     ++GQtRLLr#   c                 0    t        j                  | ||      S rsG  )r   ruG  r)  s      r   ruG  ruG  "  s    ##C488r#   c                 .    t        j                  | |      S rwG  )r   ryG  r&  s     r   ryG  ryG  &  rgZ  r#   c                 .    t        j                  | |      S r{G  )r   r}G  r&  s     r   r}G  r}G  *  r(  r#   c                 .    t        j                  | |      S rG  )r   rG  r)  s     r   rG  rG  .  s    ))#z::r#   c                 .    t        j                  | |      S rG  )r   rG  r[$  s     r   rG  rG  2      ,,S"55r#   c                 .    t        j                  | |      S rG  )r   rG  r&)  s     r   rG  rG  6  r)  r#   c                 .    t        j                  | |      S rB  )r   rB  r))  s     r   rB  rB  :      &&uf55r#   c           	      8    t        j                  | ||||||      S rB  )r   rB  r.)  s          r   rB  rB  >  s!    **5*eS$PSU]^^r#   c                 4    t        j                  | ||||      S rB  )r   rB  r2)  s        r   rB  rB  B  s    <<UJPUWZ\`aar#   c                 .    t        j                  | |      S rB  )r   rB  r5)  s     r   rB  rB  F  rF[  r#   c                 .    t        j                  | |      S rB  )r   rB  r9)  s     r   rB  rB  J  r&#  r#   c                 .    t        j                  | |      S rB  )r   rB  r<)  s     r   rB  rB  N  s    --eV<<r#   c                 .    t        j                  | |      S rB  )r   rB  rA)  s     r   rB  rB  R  s    77yIIr#   c                 .    t        j                  | |      S rB  )r   rB  rE)  s     r   rB  rB  V      ,,UE::r#   c                 .    t        j                  | |      S rB  )r   rB  r9)  s     r   rB  rB  Z  rN[  r#   c                 0    t        j                  | ||      S )z9Class-aware wrapper for `::pdf_set_annot_callout_line()`.)r   pdf_set_annot_callout_linerB"  s      r   rQ[  rQ[  ^  s    ,,UGQ??r#   c                 .    t        j                  | |      S rB  )r   rB  rM)  s     r   rB  rB  b  s    --eW==r#   c                 .    t        j                  | |      S rB  )r   rB  r!  s     r   rB  rB  f  s    --eQ77r#   c                 .    t        j                  | |      S rB  )r   rB  rE)  s     r   rB  rB  j  s    --eU;;r#   c                 0    t        j                  | ||      S rB  )r   rB  r"  s      r   rB  rB  n  s    %%eQ66r#   c                 .    t        j                  | |      S rB  )r   rB  rW)  s     r   rB  rB  r  r#  r#   c                 .    t        j                  | |      S rB  )r   rB  r[)  s     r   rB  rB  v  r!  r#   c                 4    t        j                  | ||||      S rB  )r   rB  rQ"  s        r   rB  rB  z  s    225$aOOr#   c                 2    t        j                  | |||      S rG  )r   rG  r`)  s       r   rG  rG  ~  s    ++C?TUUr#   c                 .    t        j                  | |      S rB  )r   r C  rd)  s     r   r C  r C    r "  r#   c                 .    t        j                  | |      S rC  )r   rC  rg)  s     r   rC  rC    r#  r#   c                 .    t        j                  | |      S rC  )r   r	C  rj)  s     r   r	C  r	C    s    225&AAr#   c                 .    t        j                  | |      S rC  )r   rC  rm)  s     r   rC  rC    r#  r#   c                 .    t        j                  | |      S rC  )r   rC  rq)  s     r   rC  rC    s    ))%66r#   c                 2    t        j                  | |||      S rC  )r   rC  ru)  s       r   rC  rC    s    ((5!<<r#   c                 .    t        j                  | |      S rC  )r   rC  rx)  s     r   rC  rC    s    &&ub11r#   c                 0    t        j                  | ||      S rC  )r   rC  r"  s      r   rC  rC    s    ..ua??r#   c                 .    t        j                  | |      S rC  )r   r!C  r~)  s     r   r!C  r!C        ''w77r#   c                 .    t        j                  | |      S r#C  )r   r%C  r)  s     r   r%C  r%C    r#  r#   c                 0    t        j                  | ||      S r'C  )r   r)C  r"  s      r   r)C  r)C    r)Y  r#   c                 .    t        j                  | |      S r+C  )r   r-C  r)  s     r   r-C  r-C    s    ,,UC88r#   c                 .    t        j                  | |      S r0C  )r   r2C  r)  s     r   r2C  r2C    r!  r#   c                 .    t        j                  | |      S r4C  )r   r6C  r)  s     r   r6C  r6C    s    ..ua88r#   c                 0    t        j                  | ||      S r8C  )r   r:C  r"  s      r   r:C  r:C    s    225+yQQr#   c                 .    t        j                  | |      S r<C  )r   r>C  r)  s     r   r>C  r>C    s    ++E266r#   c                 .    t        j                  | |      S r@C  )r   rBC  r)  s     r   rBC  rBC    r)  r#   c                 .    t        j                  | |      S rDC  )r   rFC  r)  s     r   rFC  rFC    s    225#>>r#   c                 .    t        j                  | |      S rIC  )r   rKC  r)  s     r   rKC  rKC    rP)  r#   c                 .    t        j                  | |      S rMC  )r   rOC  r[)  s     r   rOC  rOC    r%  r#   c                 .    t        j                  | |      S rQC  )r   rSC  r)  s     r   rSC  rSC    rc[  r#   c                 .    t        j                  | |      S rUC  )r   rWC  r)  s     r   rWC  rWC    rY  r#   c                 0    t        j                  | ||      S rYC  )r   r[C  r)  s      r   r[C  r[C    s    ++E1b99r#   c                 .    t        j                  | |      S r]C  )r   r_C  r)  s     r   r_C  r_C    rG#  r#   c                 .    t        j                  | |      S raC  )r   rcC  r)  s     r   rcC  rcC    s    $$UD11r#   c                 ,    t        j                  |       S reC  )r   rgC  r!  s    r   rgC  rgC    r"  r#   c                 .    t        j                  | |      S riC  )r   rkC  r)  s     r   rkC  rkC    rY  r#   c                 0    t        j                  | ||      S rnC  )r   rpC  r)  s      r   rpC  rpC    rh#  r#   c                 0    t        j                  | ||      S rrC  )r   rtC  r)  s      r   rtC  rtC    s    ((155r#   c                 .    t        j                  | |      S rvC  )r   rxC  r)  s     r   rxC  rxC    s    ,,VU;;r#   c                 .    t        j                  | |      S rC  )r   rD  r)  s     r   rD  rD        $$T511r#   c                 .    t        j                  | |      S rH  )r   rH  r)  s     r   rH  rH    s    &&tQ//r#   c                 0    t        j                  | ||      S rH  )r   rH  r)  s      r   rH  rH    s    &&tQ22r#   c                 2    t        j                  | |||      S rG  )r   rG  r)  s       r   rG  rG    s    ,,S(<NPTUUr#   c                 .    t        j                  | |      S rG  )r   rG  r)  s     r   rG  rG  
  s    ++C66r#   c                 2    t        j                  | |||      S rG  )r   rG  r)  s       r   rG  rG    s    %%c5$8MNNr#   c                 .    t        j                  | |      S rH  )r   rH  r)  s     r   rH  rH    rz[  r#   c                 .    t        j                  | |      S rM  )r   rM  r)  s     r   rM  rM    s    c1%%r#   c                 ,    t        j                  |       S rG  )r   rG  rN   s    r   rG  rG    r~#  r#   c                 0    t        j                  | ||      S rM  )r   rM  r(  s      r   rM  rM    s    ""3T22r#   c                 .    t        j                  | |      S rM  )r   rM  r)  s     r   rM  rM  "      $$S#..r#   c                 0    t        j                  | ||      S rN  )r   rN  r)  s      r   rN  rN  &  s    ""4d33r#   c                 4    t        j                  | ||||      S rG  )r   rG  r)  s        r   rG  rG  *  s    %%c5%GGr#   c                 .    t        j                  | |      S rG  )r   rG  r)  s     r   rG  rG  .  rc  r#   c                 .    t        j                  | |      S rM  )r   rM  r)  s     r   rM  rM  2  rY  r#   c                 .    t        j                  | |      S rzC  )r   r|C  r)  s     r   r|C  r|C  6  s    **6599r#   c                 .    t        j                  | |      S rD  )r   rD  r)  s     r   rD  rD  :  s    !!$00r#   c                 .    t        j                  | |      S r~C  )r   rC  r)  s     r   rC  rC  >  s    ..vw??r#   c                 6    t        j                  | |||||      S rC  )r   rC  r)  s         r   rC  rC  B  s     $$VV5EwPVX`aar#   c                 2    t        j                  | |||      S rC  )r   rC  r)  s       r   rC  rC  F  s    44VVT9UUr#   c                 6    t        j                  | |||||      S r;  )r   r;  r*  s         r   r;  r;  J  s    11$c9jZfggr#   c                 .    t        j                  | |      S r;  )r   r;  r*  s     r   r;  r;  N  s    33D$??r#   c                 0    t        j                  | ||      S rG  )r   rG  r*  s      r   rG  rG  R  s    **3	:FFr#   c                 0    t        j                  | ||      S )z
    Class-aware wrapper for `::pdf_signature_contents()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_signature_contents(::pdf_document *doc, ::pdf_obj *signature)` => `(size_t, char *contents)`
    )r   rG  r*  s      r   rG  rG  V  s     ((iBBr#   c                 ,    t        j                  |       S rO  )r   rO  r  s    r   rO  rO  _  r%  r#   c                 ,    t        j                  |       S )z>Class-aware wrapper for `::pdf_signature_error_description()`.)r   pdf_signature_error_descriptionr*  s    r   r[  r[  c  r~#  r#   c                 ,    t        j                  |       S rO  )r   r O  r  s    r   r O  r O  g  s    99$??r#   c                 .    t        j                  | |      S rG  )r   rG  r"*  s     r   rG  rG  k  s    **3	::r#   c                 .    t        j                  | |      S rG  )r   rG  r"*  s     r   rG  rG  o  s    @@iPPr#   c                 6    t        j                  | |||||      S )z1Class-aware wrapper for `::pdf_signature_info()`.)r   pdf_signature_infor'*  s         r   r[  r[  s  s    $$T2vx~VVr#   c                 .    t        j                  | |      S rG  )r   rG  r%  s     r   rG  rG  w  r&  r#   c                 2    t        j                  | |||      S rG  )r   rG  r.*  s       r   rG  rG  {  s    ))#ufeDDr#   c                 ,    t        j                  |       S r	D  )r   rD  r#  s    r   rD  rD    rW  r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM    rW  r#   c                 ,    t        j                  |       S rI1  )r   rK1  rN   s    r   rK1  rK1    r9&  r#   c                 6    t        j                  | |||||      S )z
    Class-aware wrapper for `::pdf_sprint_obj()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_sprint_obj(char *buf, size_t cap, ::pdf_obj *obj, int tight, int ascii)` => `(char *, size_t len)`
    )r   pdf_sprint_objr8*  s         r   r[  r[    s       c3UEBBr#   c                 0    t        j                  | ||      S rM  )r   rM  r;*  s      r   rM  rM    s      c844r#   c                 ,    t        j                  |       S )z9Class-aware wrapper for `::pdf_string_from_annot_type()`.)r   pdf_string_from_annot_typer  s    r   r[  r[    r  r#   c                 ,    t        j                  |       S )z5Class-aware wrapper for `::pdf_string_from_intent()`.)r   pdf_string_from_intentrg'  s    r   r[  r[    r#  r#   c                 ,    t        j                  |       S )z:Class-aware wrapper for `::pdf_string_from_line_ending()`.)r   pdf_string_from_line_endingr&  s    r   r[  r[    r=   r#   c                 .    t        j                  | |      S )z1Class-aware wrapper for `::pdf_structure_type()`.)r   pdf_structure_typerD*  s     r   r[  r[    s    $$Xs33r#   c                 0    t        j                  | ||      S rG  )r   rG  rH*  s      r   rG  rG    s    ""3	599r#   c                 .    t        j                  | |      S rG  )r   rG  rL*  s     r   rG  rG    r&  r#   c                 ,    t        j                  |       S rN  )r   rN  r  s    r   rN  rN    r$  r#   c                 ,    t        j                  |       S rN  )r   rN  r  s    r   rN  rN    rc*  r#   c                 ,    t        j                  |       S rG  )r   rG  rN   s    r   rG  rG    r  r#   c                 ,    t        j                  |       S rN  )r   rN  r  s    r   rN  rN    rW  r#   c                 ,    t        j                  |       S rC  )r   rC  r#  s    r   rC  rC    rX&  r#   c                 ,    t        j                  |       S rC  )r   rC  r#  s    r   rC  rC    r  r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM    r(  r#   c                 .    t        j                  | |      S rM  )r   rM  r^*  s     r   rM  rM    r  r#   c                 ,    t        j                  |       S rM  )r   rM  rb*  s    r   rM  rM    r  r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM    r1Z  r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM    r1Z  r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM    rmT  r#   c                 .    t        j                  | |      S rM  )r   rM  r^*  s     r   rM  rM    r!  r#   c                 ,    t        j                  |       S rM  )r   rM  r>#  s    r   rM  rM    r   r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM    r(  r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM    r1Z  r#   c                 .    t        j                  | |      S rM  )r   rM  rt*  s     r   rM  rM    s    uf--r#   c                 .    t        j                  | |      S rM  )r   rM  rt*  s     r   rM  rM    s    eV,,r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM    r(  r#   c                 .    t        j                  | |      S rM  )r   rM  r^*  s     r   rM  rM    r  r#   c                 ,    t        j                  |       S rM  )r   rM  r>#  s    r   rM  rM     s    e$$r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM    r  r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM    r  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::pdf_to_string()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_to_string(::pdf_obj *obj)` => `(const char *, size_t sizep)`
    )r   rM  r*  s     r   rM  rM    s     U++r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM    r  r#   c                 .    t        j                  | |      S rG  )r   rG  r[$  s     r   rG  rG    rC[  r#   c                 ,    t        j                  |       S rC  )r   rC  rx"  s    r   rC  rC    r  r#   c                 ,    t        j                  |       S rQ  )r   rQ  r*  s    r   rQ  rQ  !  r  r#   c                 6    t        j                  | |||||      S )a  
    Class-aware wrapper for `::pdf_tos_make_trm()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_tos_make_trm(::pdf_text_object_state *tos, ::pdf_text_state *text, ::pdf_font_desc *fontdesc, int cid, ::fz_matrix *trm)` => `(int, float adv)`
    )r   rQ  r*  s         r   rQ  rQ  %  s     ""3hS#FFr#   c                 ,    t        j                  |       S rQ  )r   rQ  r*  s    r   rQ  rQ  .  r5  r#   c                 .    t        j                  | |      S rQ  )r   rQ  r*  s     r   rQ  rQ  2  s    !!#w//r#   c                 .    t        j                  | |      S rQ  )r   rQ  r*  s     r   rQ  rQ  6  rnZ  r#   c                 .    t        j                  | |      S )z.Class-aware wrapper for `::pdf_tos_restore()`.)r   pdf_tos_restorer*  s     r   r[  r[  :  r'  r#   c                 .    t        j                  | |      S )z+Class-aware wrapper for `::pdf_tos_save()`.)r   pdf_tos_saver*  s     r   r[  r[  >  rZ  r#   c           	      8    t        j                  | ||||||      S rQ  )r   rQ  r*  s          r   rQ  rQ  B  s    $$S!Q1a;;r#   c                 0    t        j                  | ||      S rQ  )r   rQ  r*  s      r   rQ  rQ  F  s    ##CR00r#   c                 ,    t        j                  |       S rG  )r   rG  rN   s    r   rG  rG  J  r(  r#   c                 ,    t        j                  |       S rG  )r   rG  rN   s    r   rG  rG  N  r"[  r#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::pdf_undoredo_state()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_undoredo_state(::pdf_document *doc)` => `(int, int steps)`
    )r   rG  r*  s     r   rG  rG  R  s     $$S%00r#   c                 .    t        j                  | |      S rG  )r   rG  r*  s     r   rG  rG  [  s    ##C..r#   c                 ,    t        j                  |       S rM  )r   rM  r#  s    r   rM  rM  _  r  r#   c                 ,    t        j                  |       S rC  )r   rC  r!  s    r   rC  rC  c  r  r#   c                 .    t        j                  | |      S r.  )r   r.  r*  s     r   r.  r.  g  s    00==r#   c                 0    t        j                  | ||      S rG  )r   rG  r*  s      r   rG  rG  k  rcZ  r#   c                 ,    t        j                  |       S rN  )r   rN  r  s    r   rN  rN  o  r$  r#   c                 2    t        j                  | |||      S rG  )r   rG  r*  s       r   rG  rG  s  r"  r#   c                 ,    t        j                  |       S rC  )r   rC  rx"  s    r   rC  rC  w  r  r#   c                 6    t        j                  | |||||      S rG  )r   rG  r*  s         r   rG  rG  {  s    $$S$c3GGr#   c                 ,    t        j                  |       S rG  )r   rG  rN   s    r   rG  rG    r=   r#   c                 .    t        j                  | |      S rG  )r   rG  r%  s     r   rG  rG    r!  r#   c                 ,    t        j                  |       S rC  )r   rC  rx"  s    r   rC  rC    r#  r#   c                 ,    t        j                  |       S rM  )r   rM  r.&  s    r   rM  rM    s    33B77r#   c                 ,    t        j                  |       S rG  )r   rG  rN   s    r   rG  rG    r(  r#   c           	      8    t        j                  | ||||||      S )ac  
    Class-aware wrapper for `::pdf_walk_tree()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_walk_tree(::pdf_obj *tree, ::pdf_obj *kid_name, void (*arrive)(::fz_context *, ::pdf_obj *, void *, ::pdf_obj **), void (*leave)(::fz_context *, ::pdf_obj *, void *), void *arg, ::pdf_obj **names, ::pdf_obj **values)` => `()`
    )r   rN  r*  s          r   rN  rN    s!     hsE6RRr#   c                 ,    t        j                  |       S rG  )r   rG  rN   s    r   rG  rG    r  r#   c                 ,    t        j                  |       S rG  )r   rG  rN   s    r   rG  rG    r  r#   c                 ,    t        j                  |       S rC  )r   rC  rx"  s    r   rC  rC    r#  r#   c                 ,    t        j                  |       S rC  )r   rC  rx"  s    r   rC  rC    r*  r#   c                 ,    t        j                  |       S rC  )r   rC  rx"  s    r   rC  rC    rPZ  r#   c                 6    t        j                  | |||||      S rx7  )r   rz7  r*  s         r   rz7  rz7    s    ""3
E=-Y_``r#   c                 0    t        j                  | ||      S rH  )r   rH  r*  s      r   rH  rH    s    $$S#t44r#   c                 .    t        j                  | |      S rH  )r   rH  r&)  s     r   rH  rH    r"  r#   c                 .    t        j                  | |      S r	H  )r   rH  r&)  s     r   rH  rH    r[  r#   c                 ,    t        j                  |       S rN  )r   rN  r*  s    r   rN  rN    r  r#   c                 ,    t        j                  |       S rN  )r   r
N  r*  s    r   r
N  r
N    r  r#   c                 ,    t        j                  |       S rN  )r   rN  r*  s    r   rN  rN    r  r#   c                 ,    t        j                  |       S rN  )r   rN  r*  s    r   rN  rN    r  r#   c                 ,    t        j                  |       S rN  )r   rN  r*  s    r   rN  rN    r%  r#   c                 ,    t        j                  |       S rN  )r   rN  r*  s    r   rN  rN    rn  r#   c                 ,    t        j                  |       S rN  )r   rN  r*  s    r   rN  rN    r&  r#   c                 .    t        j                  | |      S rH  )r   rH  r#  s     r   rH  rH    s    44S#>>r#   c                 .    t        j                  | |      S rH  )r   rH  r#  s     r   rH  rH    r<U  r#   c                 0    t        j                  | ||      S rH  )r   rH  r+  s      r   rH  rH    s    $$S"c22r#   c                 .    t        j                  | |      S rH  )r   rH  r#  s     r   rH  rH    rY  r#   c                 ,    t        j                  |       S rH  )r   r H  rN   s    r   r H  r H    rmT  r#   c                 .    t        j                  | |      S r"H  )r   r$H  r"  s     r   r$H  r$H    r%  r#   c                 .    t        j                  | |      S r&H  )r   r(H  r%  s     r   r(H  r(H    s    33C??r#   c                 0    t        j                  | ||      S r*H  )r   r,H  r+  s      r   r,H  r,H    s    223vFFr#   c                 .    t        j                  | |      S )z
    Class-aware wrapper for `::pdf_zugferd_profile()`.

    This function has out-params. Python/C# wrappers look like:
    	`pdf_zugferd_profile(::pdf_document *doc)` => `(enum pdf_zugferd_profile, float version)`
    )r   r/H  r%  s     r   r/H  r/H    s     %%c733r#   c                 ,    t        j                  |       S )z<Class-aware wrapper for `::pdf_zugferd_profile_to_string()`.)r   pdf_zugferd_profile_to_stringr+  s    r   r[  r[    r"  r#   c                 ,    t        j                  |       S r1H  )r   r3H  rN   s    r   r3H  r3H  	  r  r#   c                 2    t        j                  | |||      S )z-This file was auto-generated by mupdfwrap.py.)r   internal_assert_fail)r  r  r  
expressions       r   r\  r\    s    &&tT2zBBr#   c                 ,    t        j                  |       S z]Internal use only. Looks at environmental variable <name>; returns 0 if unset else int value.)r   internal_env_flagr  s    r   r\  r\    r#  r#   c                 .    t        j                  | |      S r\  )r   internal_env_flag_check_unset)if_r   s     r   r\  r\    s    //T::r#   c                  *    t        j                         S )zCInternal use only. Returns `fz_context*` for use by current thread.)r   internal_context_getr$   r#   r   r\  r\    r'  r#   c                       e Zd ZdZ ed d d      ZeZ eej                  ej                        Z eej                  ej                        Z eej                  ej                         Zd Zd Zej(                  Zy)	FzErrorBasezBase class for exceptions.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzErrorBase.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzErrorBase.<lambda>  rL   r#   rM   rN   c                 ,    t        j                  |       S r-   )r   FzErrorBase_whatrV   s    r   whatzFzErrorBase.what%  r   r#   c                 X    t        j                  | t        j                  ||             y r-   )r   FzErrorBase_swiginitnew_FzErrorBase)r   r  r
  s      r   rS   zFzErrorBase.__init__(  s    ##D&*@*@t*LMr#   N)r   r   r6   r7   r   r   r   r   r   FzErrorBase_m_code_getFzErrorBase_m_code_setm_codeFzErrorBase_m_text_getFzErrorBase_m_text_setm_textFzErrorBase_m_what_getFzErrorBase_m_what_setm_whatr\  rS   delete_FzErrorBaser   r$   r#   r   r\  r\    sz    %-/IOdeGHf33V5R5RSFf33V5R5RSFf33V5R5RSF-N00r#   r\  c                   L    e Zd ZdZ ed d d      ZeZd Ze	j                  Zy)FzErrorNonezFor `FZ_ERROR_NONE`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzErrorNone.<lambda>1  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzErrorNone.<lambda>1  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzErrorNone_swiginitnew_FzErrorNoner   r2  s     r   rS   zFzErrorNone.__init__4  s    ##D&*@*@*IJr#   N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzErrorNoner   r$   r#   r   r!\  r!\  .  s-    -/IOdeGHK00r#   r!\  c                   L    e Zd ZdZ ed d d      ZeZd Ze	j                  Zy)FzErrorGenericzFor `FZ_ERROR_GENERIC`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzErrorGeneric.<lambda>=  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzErrorGeneric.<lambda>=  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzErrorGeneric_swiginitnew_FzErrorGenericr'\  s     r   rS   zFzErrorGeneric.__init__@      &&tV-F-Fw-OPr#   N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzErrorGenericr   r$   r#   r   r*\  r*\  :  -    "-/IOdeGHQ33r#   r*\  c                   L    e Zd ZdZ ed d d      ZeZd Ze	j                  Zy)FzErrorSystemzFor `FZ_ERROR_SYSTEM`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzErrorSystem.<lambda>I  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzErrorSystem.<lambda>I  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzErrorSystem_swiginitnew_FzErrorSystemr'\  s     r   rS   zFzErrorSystem.__init__L      %%dF,D,DW,MNr#   N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzErrorSystemr   r$   r#   r   r4\  r4\  F  -    !-/IOdeGHO22r#   r4\  c                   L    e Zd ZdZ ed d d      ZeZd Ze	j                  Zy)FzErrorLibraryzFor `FZ_ERROR_LIBRARY`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzErrorLibrary.<lambda>U  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzErrorLibrary.<lambda>U  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzErrorLibrary_swiginitnew_FzErrorLibraryr'\  s     r   rS   zFzErrorLibrary.__init__X  r0\  r#   N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzErrorLibraryr   r$   r#   r   r>\  r>\  R  r2\  r#   r>\  c                   L    e Zd ZdZ ed d d      ZeZd Ze	j                  Zy)FzErrorArgumentzFor `FZ_ERROR_ARGUMENT`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzErrorArgument.<lambda>a  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzErrorArgument.<lambda>a  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzErrorArgument_swiginitnew_FzErrorArgumentr'\  s     r   rS   zFzErrorArgument.__init__d      ''f.H.H.QRr#   N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzErrorArgumentr   r$   r#   r   rF\  rF\  ^  -    #-/IOdeGHS44r#   rF\  c                   L    e Zd ZdZ ed d d      ZeZd Ze	j                  Zy)FzErrorLimitzFor `FZ_ERROR_LIMIT`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzErrorLimit.<lambda>m  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzErrorLimit.<lambda>m  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzErrorLimit_swiginitnew_FzErrorLimitr'\  s     r   rS   zFzErrorLimit.__init__p      $$T6+B+B7+KLr#   N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzErrorLimitr   r$   r#   r   rP\  rP\  j  -     -/IOdeGHM11r#   rP\  c                   L    e Zd ZdZ ed d d      ZeZd Ze	j                  Zy)FzErrorUnsupportedzFor `FZ_ERROR_UNSUPPORTED`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzErrorUnsupported.<lambda>y  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzErrorUnsupported.<lambda>y  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzErrorUnsupported_swiginitnew_FzErrorUnsupportedr'\  s     r   rS   zFzErrorUnsupported.__init__|  s    **41N1Nw1WXr#   N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzErrorUnsupportedr   r$   r#   r   rZ\  rZ\  v  s-    &-/IOdeGHY77r#   rZ\  c                   L    e Zd ZdZ ed d d      ZeZd Ze	j                  Zy)FzErrorFormatzFor `FZ_ERROR_FORMAT`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzErrorFormat.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzErrorFormat.<lambda>  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzErrorFormat_swiginitnew_FzErrorFormatr'\  s     r   rS   zFzErrorFormat.__init__  r:\  r#   N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzErrorFormatr   r$   r#   r   rb\  rb\    r<\  r#   rb\  c                   L    e Zd ZdZ ed d d      ZeZd Ze	j                  Zy)FzErrorSyntaxzFor `FZ_ERROR_SYNTAX`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzErrorSyntax.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzErrorSyntax.<lambda>  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzErrorSyntax_swiginitnew_FzErrorSyntaxr'\  s     r   rS   zFzErrorSyntax.__init__  r:\  r#   N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzErrorSyntaxr   r$   r#   r   rj\  rj\    r<\  r#   rj\  c                   L    e Zd ZdZ ed d d      ZeZd Ze	j                  Zy)FzErrorTrylaterzFor `FZ_ERROR_TRYLATER`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzErrorTrylater.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzErrorTrylater.<lambda>  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzErrorTrylater_swiginitnew_FzErrorTrylaterr'\  s     r   rS   zFzErrorTrylater.__init__  rL\  r#   N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzErrorTrylaterr   r$   r#   r   rr\  rr\    rN\  r#   rr\  c                   L    e Zd ZdZ ed d d      ZeZd Ze	j                  Zy)FzErrorAbortzFor `FZ_ERROR_ABORT`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzErrorAbort.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzErrorAbort.<lambda>  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzErrorAbort_swiginitnew_FzErrorAbortr'\  s     r   rS   zFzErrorAbort.__init__  rV\  r#   N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzErrorAbortr   r$   r#   r   rz\  rz\    rX\  r#   rz\  c                   L    e Zd ZdZ ed d d      ZeZd Ze	j                  Zy)FzErrorRepairedzFor `FZ_ERROR_REPAIRED`.c                 6    | j                   j                         S r-   rD   rE   s    r   rG   zFzErrorRepaired.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zFzErrorRepaired.<lambda>  rL   r#   rM   rN   c                 V    t        j                  | t        j                  |             y r-   )r   FzErrorRepaired_swiginitnew_FzErrorRepairedr'\  s     r   rS   zFzErrorRepaired.__init__  rL\  r#   N)r   r   r6   r7   r   r   r   r   rS   r   delete_FzErrorRepairedr   r$   r#   r   r\  r\    rN\  r#   r\  c                 ,    t        j                  |       S )z/Throw exception appropriate for error in `ctx`.)r   internal_throw_exception)r_  s    r   r\  r\    r!  r#   c                 ,    t        j                  |       S r-   )r   to_stdstringr;  s    r   r\  r\    r  r#   c                 ,    t        j                  |       S r-   )r   py_reprrE   s    r   r\  r\    s    >>!r#   c                 ,    t        j                  |       S r-   )r   py_strrE   s    r   r\  r\    s    ==r#   c                 .    t        j                  | |      S r-   )r   ll_fz_buffer_to_bytes_internal)r*  r   s     r   r\  r\    s    00??r#   c                 0    t        j                  | ||      S r-   )r   python_memoryview_from_memory)r?   r   writables      r   r\  r\    s    //dHEEr#   c                 .    t        j                  | |      S r-   )r   ll_fz_buffer_storage_memoryviewr*  r\  s     r   r\  r\    s    11&(CCr#   c                  &    t        j                  |  S r-   )r   raw_to_python_bytesr  s    r   r\  r\    s    %%t,,r#   c                 ,    t        j                  |       S r-   )r   python_buffer_data)PYTHON_BUFFER_DATAs    r   r\  r\    s    $$%788r#   c                 ,    t        j                  |       S r-   )r   python_mutable_buffer_data)PYTHON_BUFFER_MUTABLE_DATAs    r   r\  r\    s    ,,-GHHr#   c                 ,    t        j                  |       S r-   )r   obj_enum_to_obj)r[   s    r   r\  r\    s    !!!$$r#   c                 6    t        j                  | |||||      S r-   )r   ll_pdf_set_annot_color2r!  r[   color0color1color2color3s         r   r\  r\    s    ))%FFFFSSr#   c                 6    t        j                  | |||||      S r-   )r    ll_pdf_set_annot_interior_color2r\  s         r   r\  r\    s    225!VVVU[\\r#   c
                 >    t        j                  | |||||||||	
      S r-   )r   ll_fz_fill_text2)
rT  r
  rW  r  r\  r\  r\  r\  rA  r  s
             r   r\  r\    s(    ""3c:vvvW]_dfrssr#   c                 ,    t        j                  |       S r-   )r   
fz_memrnd2)re  s    r   r\  r\    s    V$$r#   c                 .    t        j                  | |      S r-   )r   ll_fz_pixmap_copy_raw)pmrT  s     r   r\  r\    s    ''G44r#   c                 ,    t        j                  |       S r-   )r   fz_runetochar2r  s    r   r\  r\    r  r#   c                 .    t        j                  | |      S r-   )r   ll_fz_make_bookmark2rB  s     r   r\  r\    s    &&sC00r#   c                 .    t        j                  | |      S r-   )r   ll_fz_lookup_bookmark2r  s     r   r\  r\    s    ((d33r#   c                 .    t        j                  | |      S r-   )r   fz_lookup_bookmark2r  s     r   r\  r\    s    %%c400r#   c                   0   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Zd Zej*                  Zy)fz_convert_color2_vc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zfz_convert_color2_v.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zfz_convert_color2_v.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   fz_convert_color2_v_swiginitnew_fz_convert_color2_vrV   s    r   rS   zfz_convert_color2_v.__init__  rv  r#   N)r   r   r6   r   r   r   r   r   fz_convert_color2_v_v0_getfz_convert_color2_v_v0_setv0fz_convert_color2_v_v1_getfz_convert_color2_v_v1_setv1fz_convert_color2_v_v2_getfz_convert_color2_v_v2_setv2fz_convert_color2_v_v3_getfz_convert_color2_v_v3_setv3rS   delete_fz_convert_color2_vr   r$   r#   r   r\  r\    s    -/IOdeGH	&33V5V5V	WB	&33V5V5V	WB	&33V5V5V	WB	&33V5V5V	WBT88r#   r\  c                  &    t        j                  |  S r-   )r   ll_fz_convert_color2r  s    r   r\  r\  
  s    &&--r#   c                       e Zd Z ed d d      ZeZd Zd Ze	j                  Zed        Z ee	j                  e	j                        Zd Zy	)
DiagnosticCallbackc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zDiagnosticCallback.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zDiagnosticCallback.<lambda>  rL   r#   rM   rN   c                     | j                   t        k(  rd }n| }t        j                  | t        j                  ||             y r-   )r   r\  r   DiagnosticCallback_swiginitnew_DiagnosticCallback)r   descriptionr/  s      r   rS   zDiagnosticCallback.__init__  s7    >>//EE**41N1NuVa1bcr#   c                 .    t        j                  | |      S r-   )r   DiagnosticCallback__printr'\  s     r   r/  zDiagnosticCallback._print  s    //g>>r#   c                 .    t        j                  | |      S r-   )r   DiagnosticCallback_s_print)self0r2  s     r   s_printzDiagnosticCallback.s_print  s    00@@r#   c                     | j                   j                          t        j                  |        t	        j
                  |       S r-   )r
   rJ0  r   disown_DiagnosticCallbackrL0  rM0  rV   s    r   rN0  zDiagnosticCallback.__disown__  s/    		((.}}T""r#   N)r   r   r6   r   r   r   r   rS   r/  r   delete_DiagnosticCallbackr   r   r\  $DiagnosticCallback_m_description_get$DiagnosticCallback_m_description_setm_descriptionrN0  r$   r#   r   r\  r\    s`    -/IOdeGHd?77A AVHH&JuJuvM#r#   r\  c                   d    e Zd Z ed d d      ZeZd Zd Ze	d        Z
ej                  Zd Zy	)
StoryPositionsCallbackc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zStoryPositionsCallback.<lambda>'  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zStoryPositionsCallback.<lambda>'  rL   r#   rM   rN   c                     | j                   t        k(  rd }n| }t        j                  | t        j                  |             y r-   )r   r\  r   StoryPositionsCallback_swiginitnew_StoryPositionsCallbackr/  s     r   rS   zStoryPositionsCallback.__init__*  s5    >>33EE..tV5V5VW\5_`r#   c                 .    t        j                  | |      S r-   )r   StoryPositionsCallback_callr   positions     r   callzStoryPositionsCallback.call1  s    11$AAr#   c                 0    t        j                  | ||      S r-   )r   StoryPositionsCallback_s_call)r_  r\  r\  s      r   s_callzStoryPositionsCallback.s_call4  s    33CIIr#   c                     | j                   j                          t        j                  |        t	        j
                  |       S r-   )r
   rJ0  r   disown_StoryPositionsCallbackrL0  rM0  rV   s    r   rN0  z!StoryPositionsCallback.__disown__8  s/    		,,T2}}T""r#   N)r   r   r6   r   r   r   r   rS   r\  r   r\  r   delete_StoryPositionsCallbackr   rN0  r$   r#   r   r\  r\  &  sK    -/IOdeGHaB J J;;#r#   r\  c                 .    t        j                  | |      S r-   )r   ll_fz_story_positions_director)r
  r  s     r   r\  r\  @  s    00;;r#   c
                 >    t        j                  | |||||||||	
      S r-   )r   Pixmap_set_alpha_helper)
balenr[   data_lenzero_outr?   r\  premultiplybgroundr0  bgcolors
             r   r\  r\  C  s)    ))%HhcS^`gioqxyyr#   c                 4    t        j                  | ||||      S r-   )r   page_merge_helper)
old_annots	graft_mapdoc_des
new_annotsr[   s        r   r]  r]  F  s    ##J	7JPQRRr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)"ll_fz_bidi_fragment_text_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z+ll_fz_bidi_fragment_text_outparams.<lambda>I  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z+ll_fz_bidi_fragment_text_outparams.<lambda>I  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   +ll_fz_bidi_fragment_text_outparams_swiginit&new_ll_fz_bidi_fragment_text_outparamsrV   s    r   rS   z+ll_fz_bidi_fragment_text_outparams.__init__M      ::4AnAnApqr#   N)r   r   r6   r   r   r   r   r   .ll_fz_bidi_fragment_text_outparams_baseDir_get.ll_fz_bidi_fragment_text_outparams_baseDir_setr  rS   )delete_ll_fz_bidi_fragment_text_outparamsr   r$   r#   r   r]  r]  H  M    -/IOdeGHvLLf  OD  OD  EGrGGr#   r]  c                 6    t        j                  | |||||      S r-   )r   %ll_fz_bidi_fragment_text_outparams_fn)r
  r  r  r  r"  	outparamss         r   r]  r]  T  s     77gxQTV[]fggr#   c                   0   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Zd Zej*                  Zy)ll_fz_bitmap_details_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z'll_fz_bitmap_details_outparams.<lambda>W  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z'll_fz_bitmap_details_outparams.<lambda>W  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   'll_fz_bitmap_details_outparams_swiginit"new_ll_fz_bitmap_details_outparamsrV   s    r   rS   z'll_fz_bitmap_details_outparams.__init__^      66tV=f=f=hir#   N)r   r   r6   r   r   r   r   r   $ll_fz_bitmap_details_outparams_w_get$ll_fz_bitmap_details_outparams_w_setr7  $ll_fz_bitmap_details_outparams_h_get$ll_fz_bitmap_details_outparams_h_setr:  $ll_fz_bitmap_details_outparams_n_get$ll_fz_bitmap_details_outparams_n_setr[   )ll_fz_bitmap_details_outparams_stride_get)ll_fz_bitmap_details_outparams_stride_setrF  rS   %delete_ll_fz_bitmap_details_outparamsr   r$   r#   r   r]  r]  V  s    -/IOdeGH<<f>i>ijA<<f>i>ijA<<f>i>ijAfFFHxHxyFjCCr#   r]  c                 .    t        j                  | |      S r-   )r   !ll_fz_bitmap_details_outparams_fn)r  r]  s     r   r(]  r(]  e  s    33FIFFr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_buffer_extract_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z'll_fz_buffer_extract_outparams.<lambda>h  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z'll_fz_buffer_extract_outparams.<lambda>h  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   'll_fz_buffer_extract_outparams_swiginit"new_ll_fz_buffer_extract_outparamsrV   s    r   rS   z'll_fz_buffer_extract_outparams.__init__l  r]  r#   N)r   r   r6   r   r   r   r   r   'll_fz_buffer_extract_outparams_data_get'll_fz_buffer_extract_outparams_data_setr?   rS   %delete_ll_fz_buffer_extract_outparamsr   r$   r#   r   r*]  r*]  g  B    -/IOdeGHFBBFDrDrsDjCCr#   r*]  c                 .    t        j                  | |      S r-   )r   !ll_fz_buffer_extract_outparams_fnrb  r]  s     r   r5]  r5]  s      33CCCr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_buffer_storage_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z'll_fz_buffer_storage_outparams.<lambda>v  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z'll_fz_buffer_storage_outparams.<lambda>v  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   'll_fz_buffer_storage_outparams_swiginit"new_ll_fz_buffer_storage_outparamsrV   s    r   rS   z'll_fz_buffer_storage_outparams.__init__z  r]  r#   N)r   r   r6   r   r   r   r   r   (ll_fz_buffer_storage_outparams_datap_get(ll_fz_buffer_storage_outparams_datap_setr%  rS   %delete_ll_fz_buffer_storage_outparamsr   r$   r#   r   r9]  r9]  u  B    -/IOdeGHVDDfFuFuvEjCCr#   r9]  c                 .    t        j                  | |      S r-   )r   !ll_fz_buffer_storage_outparams_fnr6]  s     r   rD]  rD]    r7]  r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_chartorune_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z#ll_fz_chartorune_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z#ll_fz_chartorune_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   #ll_fz_chartorune_outparams_swiginitnew_ll_fz_chartorune_outparamsrV   s    r   rS   z#ll_fz_chartorune_outparams.__init__  r  r#   N)r   r   r6   r   r   r   r   r   #ll_fz_chartorune_outparams_rune_get#ll_fz_chartorune_outparams_rune_setr5  rS   !delete_ll_fz_chartorune_outparamsr   r$   r#   r   rF]  rF]    B    -/IOdeGHF>>@j@jkDb??r#   rF]  c                 .    t        j                  | |      S r-   )r   ll_fz_chartorune_outparams_fn)r  r]  s     r   rQ]  rQ]        //Y??r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_clamp_color_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z$ll_fz_clamp_color_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z$ll_fz_clamp_color_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   $ll_fz_clamp_color_outparams_swiginitnew_ll_fz_clamp_color_outparamsrV   s    r   rS   z$ll_fz_clamp_color_outparams.__init__  r5  r#   N)r   r   r6   r   r   r   r   r   #ll_fz_clamp_color_outparams_out_get#ll_fz_clamp_color_outparams_out_setrl  rS   "delete_ll_fz_clamp_color_outparamsr   r$   r#   r   rT]  rT]    B    -/IOdeGH
6==v?i?i
jCd@@r#   rT]  c                 0    t        j                  | ||      S r-   )r   ll_fz_clamp_color_outparams_fn)rM  r?  r]  s      r   r_]  r_]    s    00S)DDr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_convert_color_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z&ll_fz_convert_color_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z&ll_fz_convert_color_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   &ll_fz_convert_color_outparams_swiginit!new_ll_fz_convert_color_outparamsrV   s    r   rS   z&ll_fz_convert_color_outparams.__init__      55dF<d<d<fgr#   N)r   r   r6   r   r   r   r   r   $ll_fz_convert_color_outparams_dv_get$ll_fz_convert_color_outparams_dv_setr  rS   $delete_ll_fz_convert_color_outparamsr   r$   r#   r   ra]  ra]    sB    -/IOdeGH	&==v?j?j	kBhBBr#   ra]  c                 6    t        j                  | |||||      S r-   )r    ll_fz_convert_color_outparams_fn)r  r  r  r  r~  r]  s         r   rl]  rl]    s    222r2sFIVVr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_convert_error_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z&ll_fz_convert_error_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z&ll_fz_convert_error_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   &ll_fz_convert_error_outparams_swiginit!new_ll_fz_convert_error_outparamsrV   s    r   rS   z&ll_fz_convert_error_outparams.__init__  rg]  r#   N)r   r   r6   r   r   r   r   r   &ll_fz_convert_error_outparams_code_get&ll_fz_convert_error_outparams_code_setr  rS   $delete_ll_fz_convert_error_outparamsr   r$   r#   r   rn]  rn]    sB    -/IOdeGHFAA6CpCpqDhBBr#   rn]  c                 ,    t        j                  |       S r-   )r    ll_fz_convert_error_outparams_fnr]  s    r   rx]  rx]    s    229==r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy))ll_fz_convert_separation_colors_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z2ll_fz_convert_separation_colors_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z2ll_fz_convert_separation_colors_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   2ll_fz_convert_separation_colors_outparams_swiginit-new_ll_fz_convert_separation_colors_outparamsrV   s    r   rS   z2ll_fz_convert_separation_colors_outparams.__init__      AA$H|H|H~r#   N)r   r   r6   r   r   r   r   r   7ll_fz_convert_separation_colors_outparams_dst_color_get7ll_fz_convert_separation_colors_outparams_dst_color_setr  rS   0delete_ll_fz_convert_separation_colors_outparamsr   r$   r#   r   r{]  r{]    sN    -/IOdeGHWWY_  ZX  ZX  YI@NNr#   r{]  c                 6    t        j                  | |||||      S r-   )r   ,ll_fz_convert_separation_colors_outparams_fn)r  r  r  r  r  r]  s         r   r]  r]    s!    >>vyRZ\bdpr{||r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)(ll_fz_decomp_image_from_stream_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z1ll_fz_decomp_image_from_stream_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z1ll_fz_decomp_image_from_stream_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   1ll_fz_decomp_image_from_stream_outparams_swiginit,new_ll_fz_decomp_image_from_stream_outparamsrV   s    r   rS   z1ll_fz_decomp_image_from_stream_outparams.__init__      @@vGzGzG|}r#   N)r   r   r6   r   r   r   r   r   4ll_fz_decomp_image_from_stream_outparams_l2extra_get4ll_fz_decomp_image_from_stream_outparams_l2extra_setr]  rS   /delete_ll_fz_decomp_image_from_stream_outparamsr   r$   r#   r   r]  r]    sN    -/IOdeGHvRRTZ  UP  UP  QG~MMr#   r]  c                 6    t        j                  | |||||      S r-   )r   +ll_fz_decomp_image_from_stream_outparams_fn)r  r  rZ  r[  r\  r]  s         r   r]  r]    s     ==c5'SZ\dfoppr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_deflate_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z ll_fz_deflate_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z ll_fz_deflate_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r    ll_fz_deflate_outparams_swiginitnew_ll_fz_deflate_outparamsrV   s    r   rS   z ll_fz_deflate_outparams.__init__  r
  r#   N)r   r   r6   r   r   r   r   r   -ll_fz_deflate_outparams_compressed_length_get-ll_fz_deflate_outparams_compressed_length_setr{  rS   delete_ll_fz_deflate_outparamsr   r$   r#   r   r]  r]    sO    -/IOdeGH !U!UW]  XL  XL  M\<<r#   r]  c                 4    t        j                  | ||||      S r-   )r   ll_fz_deflate_outparams_fn)r  r  r|  rN  r]  s        r   r]  r]    s    ,,T6=%QZ[[r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)!ll_fz_dom_get_attribute_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z*ll_fz_dom_get_attribute_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z*ll_fz_dom_get_attribute_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   *ll_fz_dom_get_attribute_outparams_swiginit%new_ll_fz_dom_get_attribute_outparamsrV   s    r   rS   z*ll_fz_dom_get_attribute_outparams.__init__      99$@l@l@nor#   N)r   r   r6   r   r   r   r   r   )ll_fz_dom_get_attribute_outparams_att_get)ll_fz_dom_get_attribute_outparams_att_setr  rS   (delete_ll_fz_dom_get_attribute_outparamsr   r$   r#   r   r]  r]    B    -/IOdeGH
6CCVEuEu
vCpFFr#   r]  c                 0    t        j                  | ||      S r-   )r   $ll_fz_dom_get_attribute_outparams_fn)r  r   r]  s      r   r]  r]    s    66sAyIIr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_drop_imp_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z!ll_fz_drop_imp_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z!ll_fz_drop_imp_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   !ll_fz_drop_imp_outparams_swiginitnew_ll_fz_drop_imp_outparamsrV   s    r   rS   z!ll_fz_drop_imp_outparams.__init__  rq  r#   N)r   r   r6   r   r   r   r   r   !ll_fz_drop_imp_outparams_refs_get!ll_fz_drop_imp_outparams_refs_setr  rS   delete_ll_fz_drop_imp_outparamsr   r$   r#   r   r]  r]    B    -/IOdeGHF<<f>f>fgD^==r#   r]  c                 .    t        j                  | |      S r-   )r   ll_fz_drop_imp_outparams_fnr  r]  s     r   r]  r]        --a;;r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_drop_imp16_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z#ll_fz_drop_imp16_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z#ll_fz_drop_imp16_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   #ll_fz_drop_imp16_outparams_swiginitnew_ll_fz_drop_imp16_outparamsrV   s    r   rS   z#ll_fz_drop_imp16_outparams.__init__  r  r#   N)r   r   r6   r   r   r   r   r   #ll_fz_drop_imp16_outparams_refs_get#ll_fz_drop_imp16_outparams_refs_setr  rS   !delete_ll_fz_drop_imp16_outparamsr   r$   r#   r   r]  r]    rO]  r#   r]  c                 .    t        j                  | |      S r-   )r   ll_fz_drop_imp16_outparams_fnr]  s     r   r]  r]        //9==r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy).ll_fz_encode_character_with_fallback_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z7ll_fz_encode_character_with_fallback_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z7ll_fz_encode_character_with_fallback_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   7ll_fz_encode_character_with_fallback_outparams_swiginit2new_ll_fz_encode_character_with_fallback_outparamsrV   s    r   rS   z7ll_fz_encode_character_with_fallback_outparams.__init__  s*    FFtV  NG  NG  NI  	Jr#   N)r   r   r6   r   r   r   r   r   ;ll_fz_encode_character_with_fallback_outparams_out_font_get;ll_fz_encode_character_with_fallback_outparams_out_font_setr  rS   5delete_ll_fz_encode_character_with_fallback_outparamsr   r$   r#   r   r]  r]    sN    -/IOdeGHZZ\b  ]_  ]_  `HJSSr#   r]  c                 4    t        j                  | ||||      S r-   )r   1ll_fz_encode_character_with_fallback_outparams_fn)r  r  r  r0	  r]  s        r   r]  r]    s    CCD'SY[cenoor#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_error_callback_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z'll_fz_error_callback_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z'll_fz_error_callback_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   'll_fz_error_callback_outparams_swiginit"new_ll_fz_error_callback_outparamsrV   s    r   rS   z'll_fz_error_callback_outparams.__init__"  r]  r#   N)r   r   r6   r   r   r   r   r   'll_fz_error_callback_outparams_user_get'll_fz_error_callback_outparams_user_setr  rS   %delete_ll_fz_error_callback_outparamsr   r$   r#   r   r]  r]    r3]  r#   r]  c                 ,    t        j                  |       S r-   )r   !ll_fz_error_callback_outparams_fnry]  s    r   r]  r]  )  s    33I>>r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_eval_function_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z&ll_fz_eval_function_outparams.<lambda>,  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z&ll_fz_eval_function_outparams.<lambda>,  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   &ll_fz_eval_function_outparams_swiginit!new_ll_fz_eval_function_outparamsrV   s    r   rS   z&ll_fz_eval_function_outparams.__init__0  rg]  r#   N)r   r   r6   r   r   r   r   r   %ll_fz_eval_function_outparams_out_get%ll_fz_eval_function_outparams_out_setrl  rS   $delete_ll_fz_eval_function_outparamsr   r$   r#   r   r]  r]  +  B    -/IOdeGH
6??AmAm
nChBBr#   r]  c                 4    t        j                  | ||||      S r-   )r    ll_fz_eval_function_outparams_fnr3  r?  r  r  r]  s        r   r]  r]  7  s    224eVYWWr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)&ll_fz_fill_pixmap_with_color_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z/ll_fz_fill_pixmap_with_color_outparams.<lambda>:  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z/ll_fz_fill_pixmap_with_color_outparams.<lambda>:  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   /ll_fz_fill_pixmap_with_color_outparams_swiginit*new_ll_fz_fill_pixmap_with_color_outparamsrV   s    r   rS   z/ll_fz_fill_pixmap_with_color_outparams.__init__>  r"  r#   N)r   r   r6   r   r   r   r   r   0ll_fz_fill_pixmap_with_color_outparams_color_get0ll_fz_fill_pixmap_with_color_outparams_color_setr  rS   -delete_ll_fz_fill_pixmap_with_color_outparamsr   r$   r#   r   r]  r]  9  sM    -/IOdeGHVLLf  OF  OF  GEzKKr#   r]  c                 2    t        j                  | |||      S r-   )r   )ll_fz_fill_pixmap_with_color_outparams_fn)r\  r  r  r]  s       r   r]  r]  E  s    ;;C\[deer#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)%ll_fz_get_pixmap_from_image_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z.ll_fz_get_pixmap_from_image_outparams.<lambda>H  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z.ll_fz_get_pixmap_from_image_outparams.<lambda>H  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   .ll_fz_get_pixmap_from_image_outparams_swiginit)new_ll_fz_get_pixmap_from_image_outparamsrV   s    r   rS   z.ll_fz_get_pixmap_from_image_outparams.__init__M      ==dFDtDtDvwr#   N)r   r   r6   r   r   r   r   r   +ll_fz_get_pixmap_from_image_outparams_w_get+ll_fz_get_pixmap_from_image_outparams_w_setr7  +ll_fz_get_pixmap_from_image_outparams_h_get+ll_fz_get_pixmap_from_image_outparams_h_setr:  rS   ,delete_ll_fz_get_pixmap_from_image_outparamsr   r$   r#   r   r]  r]  G  sZ    -/IOdeGHCCVEwEwxACCVEwEwxAxJJr#   r]  c                 2    t        j                  | |||      S r-   )r   (ll_fz_get_pixmap_from_image_outparams_fn)r  rZ  rW  r]  s       r   r
^  r
^  T  s    ::5'3PYZZr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_getopt_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zll_fz_getopt_outparams.<lambda>W  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zll_fz_getopt_outparams.<lambda>W  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   ll_fz_getopt_outparams_swiginitnew_ll_fz_getopt_outparamsrV   s    r   rS   zll_fz_getopt_outparams.__init__[  rk  r#   N)r   r   r6   r   r   r   r   r    ll_fz_getopt_outparams_nargv_get ll_fz_getopt_outparams_nargv_setru  rS   delete_ll_fz_getopt_outparamsr   r$   r#   r   r^  r^  V  sB    -/IOdeGHV<<f>e>efEZ;;r#   r^  c                 0    t        j                  | ||      S r-   )r   ll_fz_getopt_outparams_fn)rt  rv  r]  s      r   r^  r^  b  s    ++E4CCr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_getopt_long_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z$ll_fz_getopt_long_outparams.<lambda>e  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z$ll_fz_getopt_long_outparams.<lambda>e  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   $ll_fz_getopt_long_outparams_swiginitnew_ll_fz_getopt_long_outparamsrV   s    r   rS   z$ll_fz_getopt_long_outparams.__init__i  r5  r#   N)r   r   r6   r   r   r   r   r   %ll_fz_getopt_long_outparams_nargv_get%ll_fz_getopt_long_outparams_nargv_setru  rS   "delete_ll_fz_getopt_long_outparamsr   r$   r#   r   r^  r^  d  B    -/IOdeGHVAA6CoCopEd@@r#   r^  c                 2    t        j                  | |||      S r-   )r   ll_fz_getopt_long_outparams_fn)rt  rv  rz  r]  s       r   r#^  r#^  p  s    00h	RRr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_grisu_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zll_fz_grisu_outparams.<lambda>s  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zll_fz_grisu_outparams.<lambda>s  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   ll_fz_grisu_outparams_swiginitnew_ll_fz_grisu_outparamsrV   s    r   rS   zll_fz_grisu_outparams.__init__w  rn  r#   N)r   r   r6   r   r   r   r   r   ll_fz_grisu_outparams_exp_getll_fz_grisu_outparams_exp_setr  rS   delete_ll_fz_grisu_outparamsr   r$   r#   r   r%^  r%^  r  sB    -/IOdeGH
6779]9]
^CX::r#   r%^  c                 0    t        j                  | ||      S r-   )r   ll_fz_grisu_outparams_fn)r  r<  r]  s      r   r/^  r/^  ~  s    **1a;;r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_has_option_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z#ll_fz_has_option_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z#ll_fz_has_option_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   #ll_fz_has_option_outparams_swiginitnew_ll_fz_has_option_outparamsrV   s    r   rS   z#ll_fz_has_option_outparams.__init__  r  r#   N)r   r   r6   r   r   r   r   r   "ll_fz_has_option_outparams_val_get"ll_fz_has_option_outparams_val_setr  rS   !delete_ll_fz_has_option_outparamsr   r$   r#   r   r1^  r1^    sB    -/IOdeGH
6<<f>g>g
hCb??r#   r1^  c                 0    t        j                  | ||      S r-   )r   ll_fz_has_option_outparams_fn)r  rk  r]  s      r   r;^  r;^    s    //c9EEr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy) ll_fz_image_resolution_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z)ll_fz_image_resolution_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z)ll_fz_image_resolution_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   )ll_fz_image_resolution_outparams_swiginit$new_ll_fz_image_resolution_outparamsrV   s    r   rS   z)ll_fz_image_resolution_outparams.__init__      88v?j?j?lmr#   N)r   r   r6   r   r   r   r   r   )ll_fz_image_resolution_outparams_xres_get)ll_fz_image_resolution_outparams_xres_setrL  )ll_fz_image_resolution_outparams_yres_get)ll_fz_image_resolution_outparams_yres_setrO  rS   'delete_ll_fz_image_resolution_outparamsr   r$   r#   r   r=^  r=^    sZ    -/IOdeGHFDDfFvFvwDFDDfFvFvwDnEEr#   r=^  c                 .    t        j                  | |      S r-   )r   #ll_fz_image_resolution_outparams_fn)r  r]  s     r   rJ^  rJ^    s    55eYGGr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_keep_imp_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z!ll_fz_keep_imp_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z!ll_fz_keep_imp_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   !ll_fz_keep_imp_outparams_swiginitnew_ll_fz_keep_imp_outparamsrV   s    r   rS   z!ll_fz_keep_imp_outparams.__init__  rq  r#   N)r   r   r6   r   r   r   r   r   !ll_fz_keep_imp_outparams_refs_get!ll_fz_keep_imp_outparams_refs_setr  rS   delete_ll_fz_keep_imp_outparamsr   r$   r#   r   rL^  rL^    r]  r#   rL^  c                 .    t        j                  | |      S r-   )r   ll_fz_keep_imp_outparams_fnr]  s     r   rV^  rV^    r]  r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_keep_imp16_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z#ll_fz_keep_imp16_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z#ll_fz_keep_imp16_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   #ll_fz_keep_imp16_outparams_swiginitnew_ll_fz_keep_imp16_outparamsrV   s    r   rS   z#ll_fz_keep_imp16_outparams.__init__  r  r#   N)r   r   r6   r   r   r   r   r   #ll_fz_keep_imp16_outparams_refs_get#ll_fz_keep_imp16_outparams_refs_setr  rS   !delete_ll_fz_keep_imp16_outparamsr   r$   r#   r   rX^  rX^    rO]  r#   rX^  c                 .    t        j                  | |      S r-   )r   ll_fz_keep_imp16_outparams_fnr]  s     r   rb^  rb^    r]  r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_keep_imp_locked_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z(ll_fz_keep_imp_locked_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z(ll_fz_keep_imp_locked_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   (ll_fz_keep_imp_locked_outparams_swiginit#new_ll_fz_keep_imp_locked_outparamsrV   s    r   rS   z(ll_fz_keep_imp_locked_outparams.__init__      77f>h>h>jkr#   N)r   r   r6   r   r   r   r   r   (ll_fz_keep_imp_locked_outparams_refs_get(ll_fz_keep_imp_locked_outparams_refs_setr  rS   &delete_ll_fz_keep_imp_locked_outparamsr   r$   r#   r   rd^  rd^    sB    -/IOdeGHFCCVEtEtuDlDDr#   rd^  c                 .    t        j                  | |      S r-   )r   "ll_fz_keep_imp_locked_outparams_fnr]  s     r   ro^  ro^    s    44Q	BBr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)"ll_fz_lookup_base14_font_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z+ll_fz_lookup_base14_font_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z+ll_fz_lookup_base14_font_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   +ll_fz_lookup_base14_font_outparams_swiginit&new_ll_fz_lookup_base14_font_outparamsrV   s    r   rS   z+ll_fz_lookup_base14_font_outparams.__init__  r]  r#   N)r   r   r6   r   r   r   r   r   *ll_fz_lookup_base14_font_outparams_len_get*ll_fz_lookup_base14_font_outparams_len_setr  rS   )delete_ll_fz_lookup_base14_font_outparamsr   r$   r#   r   rq^  rq^    sB    -/IOdeGH
6DDfFwFw
xCrGGr#   rq^  c                 .    t        j                  | |      S r-   )r   %ll_fz_lookup_base14_font_outparams_fn)r   r]  s     r   r{^  r{^    s    77iHHr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)#ll_fz_lookup_builtin_font_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z,ll_fz_lookup_builtin_font_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z,ll_fz_lookup_builtin_font_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   ,ll_fz_lookup_builtin_font_outparams_swiginit'new_ll_fz_lookup_builtin_font_outparamsrV   s    r   rS   z,ll_fz_lookup_builtin_font_outparams.__init__      ;;D&BpBpBrsr#   N)r   r   r6   r   r   r   r   r   +ll_fz_lookup_builtin_font_outparams_len_get+ll_fz_lookup_builtin_font_outparams_len_setr  rS   *delete_ll_fz_lookup_builtin_font_outparamsr   r$   r#   r   r}^  r}^    sB    -/IOdeGH
6EEvGyGy
zCtHHr#   r}^  c                 2    t        j                  | |||      S r-   )r   &ll_fz_lookup_builtin_font_outparams_fn)r   r  r  r]  s       r   r^  r^    s    88tVYWWr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)ll_fz_lookup_cjk_font_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z(ll_fz_lookup_cjk_font_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z(ll_fz_lookup_cjk_font_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   (ll_fz_lookup_cjk_font_outparams_swiginit#new_ll_fz_lookup_cjk_font_outparamsrV   s    r   rS   z(ll_fz_lookup_cjk_font_outparams.__init__  rj^  r#   N)r   r   r6   r   r   r   r   r   'll_fz_lookup_cjk_font_outparams_len_get'll_fz_lookup_cjk_font_outparams_len_setr  )ll_fz_lookup_cjk_font_outparams_index_get)ll_fz_lookup_cjk_font_outparams_index_setr   rS   &delete_ll_fz_lookup_cjk_font_outparamsr   r$   r#   r   r^  r^    sZ    -/IOdeGH
6AA6CqCq
rCVEEvGwGwxElDDr#   r^  c                 .    t        j                  | |      S r-   )r   "ll_fz_lookup_cjk_font_outparams_fn)r   r]  s     r   r^  r^    s    44XyIIr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)+ll_fz_lookup_cjk_font_by_language_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z4ll_fz_lookup_cjk_font_by_language_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z4ll_fz_lookup_cjk_font_by_language_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   4ll_fz_lookup_cjk_font_by_language_outparams_swiginit/new_ll_fz_lookup_cjk_font_by_language_outparamsrV   s    r   rS   z4ll_fz_lookup_cjk_font_by_language_outparams.__init__  s*    CCD&  KA  KA  KC  	Dr#   N)r   r   r6   r   r   r   r   r   3ll_fz_lookup_cjk_font_by_language_outparams_len_get3ll_fz_lookup_cjk_font_by_language_outparams_len_setr  7ll_fz_lookup_cjk_font_by_language_outparams_subfont_get7ll_fz_lookup_cjk_font_by_language_outparams_subfont_setr  rS   2delete_ll_fz_lookup_cjk_font_by_language_outparamsr   r$   r#   r   r^  r^    sq    -/IOdeGH
6MMv  PJ  PJ  KCvUUW]  XV  XV  WGDPPr#   r^  c                 .    t        j                  | |      S r-   )r   .ll_fz_lookup_cjk_font_by_language_outparams_fn)r(  r]  s     r   r^  r^    s    @@yQQr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)&ll_fz_lookup_noto_boxes_font_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z/ll_fz_lookup_noto_boxes_font_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z/ll_fz_lookup_noto_boxes_font_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   /ll_fz_lookup_noto_boxes_font_outparams_swiginit*new_ll_fz_lookup_noto_boxes_font_outparamsrV   s    r   rS   z/ll_fz_lookup_noto_boxes_font_outparams.__init__  r"  r#   N)r   r   r6   r   r   r   r   r   .ll_fz_lookup_noto_boxes_font_outparams_len_get.ll_fz_lookup_noto_boxes_font_outparams_len_setr  rS   -delete_ll_fz_lookup_noto_boxes_font_outparamsr   r$   r#   r   r^  r^    E    -/IOdeGH
6HH&JJ  ACzKKr#   r^  c                 ,    t        j                  |       S r-   )r   )ll_fz_lookup_noto_boxes_font_outparams_fnry]  s    r   r^  r^        ;;IFFr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)&ll_fz_lookup_noto_emoji_font_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z/ll_fz_lookup_noto_emoji_font_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z/ll_fz_lookup_noto_emoji_font_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   /ll_fz_lookup_noto_emoji_font_outparams_swiginit*new_ll_fz_lookup_noto_emoji_font_outparamsrV   s    r   rS   z/ll_fz_lookup_noto_emoji_font_outparams.__init__  r"  r#   N)r   r   r6   r   r   r   r   r   .ll_fz_lookup_noto_emoji_font_outparams_len_get.ll_fz_lookup_noto_emoji_font_outparams_len_setr  rS   -delete_ll_fz_lookup_noto_emoji_font_outparamsr   r$   r#   r   r^  r^    r^  r#   r^  c                 ,    t        j                  |       S r-   )r   )ll_fz_lookup_noto_emoji_font_outparams_fnry]  s    r   r^  r^    r^  r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy) ll_fz_lookup_noto_font_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z)ll_fz_lookup_noto_font_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z)ll_fz_lookup_noto_font_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   )ll_fz_lookup_noto_font_outparams_swiginit$new_ll_fz_lookup_noto_font_outparamsrV   s    r   rS   z)ll_fz_lookup_noto_font_outparams.__init__#  rC^  r#   N)r   r   r6   r   r   r   r   r   (ll_fz_lookup_noto_font_outparams_len_get(ll_fz_lookup_noto_font_outparams_len_setr  ,ll_fz_lookup_noto_font_outparams_subfont_get,ll_fz_lookup_noto_font_outparams_subfont_setr  rS   'delete_ll_fz_lookup_noto_font_outparamsr   r$   r#   r   r^  r^    s]    -/IOdeGH
6BBFDsDs
tCvJJFLL  AGnEEr#   r^  c                 0    t        j                  | ||      S r-   )r   #ll_fz_lookup_noto_font_outparams_fn)r  r(  r]  s      r   r^  r^  *  s    55fdINNr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)%ll_fz_lookup_noto_math_font_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z.ll_fz_lookup_noto_math_font_outparams.<lambda>-  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z.ll_fz_lookup_noto_math_font_outparams.<lambda>-  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   .ll_fz_lookup_noto_math_font_outparams_swiginit)new_ll_fz_lookup_noto_math_font_outparamsrV   s    r   rS   z.ll_fz_lookup_noto_math_font_outparams.__init__1  r^  r#   N)r   r   r6   r   r   r   r   r   -ll_fz_lookup_noto_math_font_outparams_len_get-ll_fz_lookup_noto_math_font_outparams_len_setr  rS   ,delete_ll_fz_lookup_noto_math_font_outparamsr   r$   r#   r   r^  r^  ,  sB    -/IOdeGH
6GGI}I}
~CxJJr#   r^  c                 ,    t        j                  |       S r-   )r   (ll_fz_lookup_noto_math_font_outparams_fnry]  s    r   r^  r^  8  s    ::9EEr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)&ll_fz_lookup_noto_music_font_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z/ll_fz_lookup_noto_music_font_outparams.<lambda>;  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z/ll_fz_lookup_noto_music_font_outparams.<lambda>;  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   /ll_fz_lookup_noto_music_font_outparams_swiginit*new_ll_fz_lookup_noto_music_font_outparamsrV   s    r   rS   z/ll_fz_lookup_noto_music_font_outparams.__init__?  r"  r#   N)r   r   r6   r   r   r   r   r   .ll_fz_lookup_noto_music_font_outparams_len_get.ll_fz_lookup_noto_music_font_outparams_len_setr  rS   -delete_ll_fz_lookup_noto_music_font_outparamsr   r$   r#   r   r^  r^  :  r^  r#   r^  c                 ,    t        j                  |       S r-   )r   )ll_fz_lookup_noto_music_font_outparams_fnry]  s    r   r^  r^  F  r^  r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)(ll_fz_lookup_noto_symbol1_font_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z1ll_fz_lookup_noto_symbol1_font_outparams.<lambda>I  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z1ll_fz_lookup_noto_symbol1_font_outparams.<lambda>I  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   1ll_fz_lookup_noto_symbol1_font_outparams_swiginit,new_ll_fz_lookup_noto_symbol1_font_outparamsrV   s    r   rS   z1ll_fz_lookup_noto_symbol1_font_outparams.__init__M  r]  r#   N)r   r   r6   r   r   r   r   r   0ll_fz_lookup_noto_symbol1_font_outparams_len_get0ll_fz_lookup_noto_symbol1_font_outparams_len_setr  rS   /delete_ll_fz_lookup_noto_symbol1_font_outparamsr   r$   r#   r   r^  r^  H  M    -/IOdeGH
6JJF  MD  MD  EC~MMr#   r^  c                 ,    t        j                  |       S r-   )r   +ll_fz_lookup_noto_symbol1_font_outparams_fnry]  s    r   r^  r^  T      ==iHHr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)(ll_fz_lookup_noto_symbol2_font_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z1ll_fz_lookup_noto_symbol2_font_outparams.<lambda>W  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z1ll_fz_lookup_noto_symbol2_font_outparams.<lambda>W  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   1ll_fz_lookup_noto_symbol2_font_outparams_swiginit,new_ll_fz_lookup_noto_symbol2_font_outparamsrV   s    r   rS   z1ll_fz_lookup_noto_symbol2_font_outparams.__init__[  r]  r#   N)r   r   r6   r   r   r   r   r   0ll_fz_lookup_noto_symbol2_font_outparams_len_get0ll_fz_lookup_noto_symbol2_font_outparams_len_setr  rS   /delete_ll_fz_lookup_noto_symbol2_font_outparamsr   r$   r#   r   r^  r^  V  r^  r#   r^  c                 ,    t        j                  |       S r-   )r   +ll_fz_lookup_noto_symbol2_font_outparams_fnry]  s    r   r^  r^  b  r^  r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)!ll_fz_new_deflated_data_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z*ll_fz_new_deflated_data_outparams.<lambda>e  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z*ll_fz_new_deflated_data_outparams.<lambda>e  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   *ll_fz_new_deflated_data_outparams_swiginit%new_ll_fz_new_deflated_data_outparamsrV   s    r   rS   z*ll_fz_new_deflated_data_outparams.__init__i  r]  r#   N)r   r   r6   r   r   r   r   r   7ll_fz_new_deflated_data_outparams_compressed_length_get7ll_fz_new_deflated_data_outparams_compressed_length_setr{  rS   (delete_ll_fz_new_deflated_data_outparamsr   r$   r#   r   r _  r _  d  sO    -/IOdeGH !_!_ag  b`  b`  apFFr#   r _  c                 2    t        j                  | |||      S r-   )r   $ll_fz_new_deflated_data_outparams_fn)r  r|  rN  r]  s       r   r
_  r
_  p  s    66v}eU^__r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)-ll_fz_new_deflated_data_from_buffer_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z6ll_fz_new_deflated_data_from_buffer_outparams.<lambda>s  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z6ll_fz_new_deflated_data_from_buffer_outparams.<lambda>s  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   6ll_fz_new_deflated_data_from_buffer_outparams_swiginit1new_ll_fz_new_deflated_data_from_buffer_outparamsrV   s    r   rS   z6ll_fz_new_deflated_data_from_buffer_outparams.__init__w  *    EEdF  ME  ME  MG  	Hr#   N)r   r   r6   r   r   r   r   r   Cll_fz_new_deflated_data_from_buffer_outparams_compressed_length_getCll_fz_new_deflated_data_from_buffer_outparams_compressed_length_setr{  rS   4delete_ll_fz_new_deflated_data_from_buffer_outparamsr   r$   r#   r   r_  r_  r  sO    -/IOdeGH !k!kms  nx  nx  yHRRr#   r_  c                 0    t        j                  | ||      S r-   )r   0ll_fz_new_deflated_data_from_buffer_outparams_fn)r*  rN  r]  s      r   r_  r_  ~  s    BB65R[\\r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy))ll_fz_new_display_list_from_svg_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z2ll_fz_new_display_list_from_svg_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z2ll_fz_new_display_list_from_svg_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   2ll_fz_new_display_list_from_svg_outparams_swiginit-new_ll_fz_new_display_list_from_svg_outparamsrV   s    r   rS   z2ll_fz_new_display_list_from_svg_outparams.__init__  r]  r#   N)r   r   r6   r   r   r   r   r   /ll_fz_new_display_list_from_svg_outparams_w_get/ll_fz_new_display_list_from_svg_outparams_w_setr7  /ll_fz_new_display_list_from_svg_outparams_h_get/ll_fz_new_display_list_from_svg_outparams_h_setr:  rS   0delete_ll_fz_new_display_list_from_svg_outparamsr   r$   r#   r   r_  r_    s`    -/IOdeGHGGII  	AAGGII  	AA@NNr#   r_  c                 2    t        j                  | |||      S r-   )r   ,ll_fz_new_display_list_from_svg_outparams_fn)rb  r_  r
  r]  s       r   r%_  r%_    s    >>sHcS\]]r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)-ll_fz_new_display_list_from_svg_xml_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z6ll_fz_new_display_list_from_svg_xml_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z6ll_fz_new_display_list_from_svg_xml_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   6ll_fz_new_display_list_from_svg_xml_outparams_swiginit1new_ll_fz_new_display_list_from_svg_xml_outparamsrV   s    r   rS   z6ll_fz_new_display_list_from_svg_xml_outparams.__init__  r_  r#   N)r   r   r6   r   r   r   r   r   3ll_fz_new_display_list_from_svg_xml_outparams_w_get3ll_fz_new_display_list_from_svg_xml_outparams_w_setr7  3ll_fz_new_display_list_from_svg_xml_outparams_h_get3ll_fz_new_display_list_from_svg_xml_outparams_h_setr:  rS   4delete_ll_fz_new_display_list_from_svg_xml_outparamsr   r$   r#   r   r'_  r'_    sp    -/IOdeGHKKV  NH  NH  	IAKKV  NH  NH  	IAHRRr#   r'_  c                 4    t        j                  | ||||      S r-   )r   0ll_fz_new_display_list_from_svg_xml_outparams_fn)rc  r  r_  r
  r]  s        r   r3_  r3_    s    BB63PXZ]_hiir#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy),ll_fz_new_draw_device_with_options_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z5ll_fz_new_draw_device_with_options_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z5ll_fz_new_draw_device_with_options_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   5ll_fz_new_draw_device_with_options_outparams_swiginit0new_ll_fz_new_draw_device_with_options_outparamsrV   s    r   rS   z5ll_fz_new_draw_device_with_options_outparams.__init__  *    DDT6  LC  LC  LE  	Fr#   N)r   r   r6   r   r   r   r   r   7ll_fz_new_draw_device_with_options_outparams_pixmap_get7ll_fz_new_draw_device_with_options_outparams_pixmap_setr  rS   3delete_ll_fz_new_draw_device_with_options_outparamsr   r$   r#   r   r5_  r5_    sN    -/IOdeGHfTTV\  WU  WU  VFFQQr#   r5_  c                 0    t        j                  | ||      S r-   )r   /ll_fz_new_draw_device_with_options_outparams_fn)r  rq
  r]  s      r   r@_  r@_    s    AA'8U^__r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)&ll_fz_new_svg_device_with_id_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z/ll_fz_new_svg_device_with_id_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z/ll_fz_new_svg_device_with_id_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   /ll_fz_new_svg_device_with_id_outparams_swiginit*new_ll_fz_new_svg_device_with_id_outparamsrV   s    r   rS   z/ll_fz_new_svg_device_with_id_outparams.__init__  r"  r#   N)r   r   r6   r   r   r   r   r   -ll_fz_new_svg_device_with_id_outparams_id_get-ll_fz_new_svg_device_with_id_outparams_id_setrM  rS   -delete_ll_fz_new_svg_device_with_id_outparamsr   r$   r#   r   rB_  rB_    sB    -/IOdeGH	&FFH|H|	}BzKKr#   rB_  c                 6    t        j                  | |||||      S r-   )r   )ll_fz_new_svg_device_with_id_outparams_fn)rl  r  r  r  r  r]  s         r   rL_  rL_    s     ;;C[Zegsu~r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_new_test_device_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z(ll_fz_new_test_device_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z(ll_fz_new_test_device_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   (ll_fz_new_test_device_outparams_swiginit#new_ll_fz_new_test_device_outparamsrV   s    r   rS   z(ll_fz_new_test_device_outparams.__init__  rj^  r#   N)r   r   r6   r   r   r   r   r   ,ll_fz_new_test_device_outparams_is_color_get,ll_fz_new_test_device_outparams_is_color_setr  rS   &delete_ll_fz_new_test_device_outparamsr   r$   r#   r   rN_  rN_    sM    -/IOdeGHKKV  NA  NA  BHlDDr#   rN_  c                 2    t        j                  | |||      S r-   )r   "ll_fz_new_test_device_outparams_fn)r  r  r  r]  s       r   rX_  rX_    s    44YV_``r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)(ll_fz_open_image_decomp_stream_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z1ll_fz_open_image_decomp_stream_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z1ll_fz_open_image_decomp_stream_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   1ll_fz_open_image_decomp_stream_outparams_swiginit,new_ll_fz_open_image_decomp_stream_outparamsrV   s    r   rS   z1ll_fz_open_image_decomp_stream_outparams.__init__  r]  r#   N)r   r   r6   r   r   r   r   r   5ll_fz_open_image_decomp_stream_outparams_l2factor_get5ll_fz_open_image_decomp_stream_outparams_l2factor_setr\  rS   /delete_ll_fz_open_image_decomp_stream_outparamsr   r$   r#   r   rZ_  rZ_    sN    -/IOdeGHTTV\  WS  WS  TH~MMr#   rZ_  c                 0    t        j                  | ||      S r-   )r   +ll_fz_open_image_decomp_stream_outparams_fn)r   r  r]  s      r   rd_  rd_    s    ==eUIVVr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)4ll_fz_open_image_decomp_stream_from_buffer_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z=ll_fz_open_image_decomp_stream_from_buffer_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z=ll_fz_open_image_decomp_stream_from_buffer_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   =ll_fz_open_image_decomp_stream_from_buffer_outparams_swiginit8new_ll_fz_open_image_decomp_stream_from_buffer_outparamsrV   s    r   rS   z=ll_fz_open_image_decomp_stream_from_buffer_outparams.__init__  s+    LLTSY  TS  TS  TU  	Vr#   N)r   r   r6   r   r   r   r   r   All_fz_open_image_decomp_stream_from_buffer_outparams_l2factor_getAll_fz_open_image_decomp_stream_from_buffer_outparams_l2factor_setr\  rS   ;delete_ll_fz_open_image_decomp_stream_from_buffer_outparamsr   r$   r#   r   rf_  rf_    sN    -/IOdeGH``bh  ck  ck  lHVYYr#   rf_  c                 .    t        j                  | |      S r-   )r   7ll_fz_open_image_decomp_stream_from_buffer_outparams_fn)r   r]  s     r   rp_  rp_    s    II%QZ[[r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)!ll_fz_page_presentation_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z*ll_fz_page_presentation_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z*ll_fz_page_presentation_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   *ll_fz_page_presentation_outparams_swiginit%new_ll_fz_page_presentation_outparamsrV   s    r   rS   z*ll_fz_page_presentation_outparams.__init__  r]  r#   N)r   r   r6   r   r   r   r   r   .ll_fz_page_presentation_outparams_duration_get.ll_fz_page_presentation_outparams_duration_setr  rS   (delete_ll_fz_page_presentation_outparamsr   r$   r#   r   rr_  rr_    M    -/IOdeGHMMv  PE  PE  FHpFFr#   rr_  c                 0    t        j                  | ||      S r-   )r   $ll_fz_page_presentation_outparams_fnr'
  r  r]  s      r   r}_  r}_    s    66tZSSr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_paint_shade_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z$ll_fz_paint_shade_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z$ll_fz_paint_shade_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   $ll_fz_paint_shade_outparams_swiginitnew_ll_fz_paint_shade_outparamsrV   s    r   rS   z$ll_fz_paint_shade_outparams.__init__  r5  r#   N)r   r   r6   r   r   r   r   r   %ll_fz_paint_shade_outparams_cache_get%ll_fz_paint_shade_outparams_cache_setr  rS   "delete_ll_fz_paint_shade_outparamsr   r$   r#   r   r_  r_    r!^  r#   r_  c           
      :    t        j                  | |||||||      S r-   )r   ll_fz_paint_shade_outparams_fn)r  r  rW  r  r  r  r  r]  s           r   r_  r_    s%    00S$P\^bdgirssr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy) ll_fz_parse_page_range_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z)ll_fz_parse_page_range_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z)ll_fz_parse_page_range_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   )ll_fz_parse_page_range_outparams_swiginit$new_ll_fz_parse_page_range_outparamsrV   s    r   rS   z)ll_fz_parse_page_range_outparams.__init__  rC^  r#   N)r   r   r6   r   r   r   r   r   &ll_fz_parse_page_range_outparams_a_get&ll_fz_parse_page_range_outparams_a_setr  &ll_fz_parse_page_range_outparams_b_get&ll_fz_parse_page_range_outparams_b_setr  rS   'delete_ll_fz_parse_page_range_outparamsr   r$   r#   r   r_  r_     sZ    -/IOdeGH>>@m@mnA>>@m@mnAnEEr#   r_  c                 0    t        j                  | ||      S r-   )r   #ll_fz_parse_page_range_outparams_fn)r<  r[   r]  s      r   r_  r_    s    55aIFFr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_read_best_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z"ll_fz_read_best_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z"ll_fz_read_best_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   "ll_fz_read_best_outparams_swiginitnew_ll_fz_read_best_outparamsrV   s    r   rS   z"ll_fz_read_best_outparams.__init__  re	  r#   N)r   r   r6   r   r   r   r   r   'll_fz_read_best_outparams_truncated_get'll_fz_read_best_outparams_truncated_setrD  rS    delete_ll_fz_read_best_outparamsr   r$   r#   r   r_  r_    sB    -/IOdeGHGGIwIwxI`>>r#   r_  c                 2    t        j                  | |||      S r-   )r   ll_fz_read_best_outparams_fn)r  r>  rE  r]  s       r   r_  r_    s    ..sGZSSr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)ll_fz_resolve_link_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z%ll_fz_resolve_link_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z%ll_fz_resolve_link_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   %ll_fz_resolve_link_outparams_swiginit new_ll_fz_resolve_link_outparamsrV   s    r   rS   z%ll_fz_resolve_link_outparams.__init__#  r  r#   N)r   r   r6   r   r   r   r   r   #ll_fz_resolve_link_outparams_xp_get#ll_fz_resolve_link_outparams_xp_setr  #ll_fz_resolve_link_outparams_yp_get#ll_fz_resolve_link_outparams_yp_setr  rS   #delete_ll_fz_resolve_link_outparamsr   r$   r#   r   r_  r_    sZ    -/IOdeGH	&<<f>h>h	iB	&<<f>h>h	iBfAAr#   r_  c                 0    t        j                  | ||      S r-   )r   ll_fz_resolve_link_outparams_fnrO   r"  r]  s      r   r_  r_  *  s    11#sIFFr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)*ll_fz_search_chapter_page_number_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z3ll_fz_search_chapter_page_number_outparams.<lambda>-  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z3ll_fz_search_chapter_page_number_outparams.<lambda>-  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   3ll_fz_search_chapter_page_number_outparams_swiginit.new_ll_fz_search_chapter_page_number_outparamsrV   s    r   rS   z3ll_fz_search_chapter_page_number_outparams.__init__1  s"    BB4I~I~  JA  	Br#   N)r   r   r6   r   r   r   r   r   7ll_fz_search_chapter_page_number_outparams_hit_mark_get7ll_fz_search_chapter_page_number_outparams_hit_mark_setr5  rS   1delete_ll_fz_search_chapter_page_number_outparamsr   r$   r#   r   r_  r_  ,  sN    -/IOdeGHVVX^  YW  YW  XHBOOr#   r_  c           	      8    t        j                  | ||||||      S r-   )r   -ll_fz_search_chapter_page_number_outparams_fn)rO   r$
  r'
  rV  r6  r7  r]  s          r   r_  r_  8  s#    ??WdTZ\dfmoxyyr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)#ll_fz_search_display_list_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z,ll_fz_search_display_list_outparams.<lambda>;  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z,ll_fz_search_display_list_outparams.<lambda>;  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   ,ll_fz_search_display_list_outparams_swiginit'new_ll_fz_search_display_list_outparamsrV   s    r   rS   z,ll_fz_search_display_list_outparams.__init__?  r^  r#   N)r   r   r6   r   r   r   r   r   0ll_fz_search_display_list_outparams_hit_mark_get0ll_fz_search_display_list_outparams_hit_mark_setr5  rS   *delete_ll_fz_search_display_list_outparamsr   r$   r#   r   r_  r_  :  N    -/IOdeGHOOQW  RI  RI  JHtHHr#   r_  c                 4    t        j                  | ||||      S r-   )r   &ll_fz_search_display_list_outparams_fn)r  rV  r6  r7  r]  s        r   r_  r_  F  s    88vxQXZcddr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_search_page_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z$ll_fz_search_page_outparams.<lambda>I  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z$ll_fz_search_page_outparams.<lambda>I  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   $ll_fz_search_page_outparams_swiginitnew_ll_fz_search_page_outparamsrV   s    r   rS   z$ll_fz_search_page_outparams.__init__M  r5  r#   N)r   r   r6   r   r   r   r   r   (ll_fz_search_page_outparams_hit_mark_get(ll_fz_search_page_outparams_hit_mark_setr5  rS   "delete_ll_fz_search_page_outparamsr   r$   r#   r   r_  r_  H  sB    -/IOdeGHGGIxIxyHd@@r#   r_  c                 4    t        j                  | ||||      S r-   )r   ll_fz_search_page_outparams_fn)r'
  rV  r6  r7  r]  s        r   r_  r_  T  s    00vxR[\\r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)"ll_fz_search_page_number_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z+ll_fz_search_page_number_outparams.<lambda>W  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z+ll_fz_search_page_number_outparams.<lambda>W  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   +ll_fz_search_page_number_outparams_swiginit&new_ll_fz_search_page_number_outparamsrV   s    r   rS   z+ll_fz_search_page_number_outparams.__init__[  r]  r#   N)r   r   r6   r   r   r   r   r   /ll_fz_search_page_number_outparams_hit_mark_get/ll_fz_search_page_number_outparams_hit_mark_setr5  rS   )delete_ll_fz_search_page_number_outparamsr   r$   r#   r   r_  r_  V  N    -/IOdeGHNNPV  QG  QG  HHrGGr#   r_  c                 6    t        j                  | |||||      S r-   )r   %ll_fz_search_page_number_outparams_fn)rO   r  rV  r6  r7  r]  s         r   r_  r_  b  s    77VVXW^`ijjr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)!ll_fz_search_stext_page_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z*ll_fz_search_stext_page_outparams.<lambda>e  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z*ll_fz_search_stext_page_outparams.<lambda>e  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   *ll_fz_search_stext_page_outparams_swiginit%new_ll_fz_search_stext_page_outparamsrV   s    r   rS   z*ll_fz_search_stext_page_outparams.__init__i  r]  r#   N)r   r   r6   r   r   r   r   r   .ll_fz_search_stext_page_outparams_hit_mark_get.ll_fz_search_stext_page_outparams_hit_mark_setr5  rS   (delete_ll_fz_search_stext_page_outparamsr   r$   r#   r   r_  r_  d  r{_  r#   r_  c                 4    t        j                  | ||||      S r-   )r   $ll_fz_search_stext_page_outparams_fn)r
  rV  r6  r7  r]  s        r   r_  r_  p  s    66tVXwXabbr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)%ll_fz_separation_equivalent_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z.ll_fz_separation_equivalent_outparams.<lambda>s  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z.ll_fz_separation_equivalent_outparams.<lambda>s  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   .ll_fz_separation_equivalent_outparams_swiginit)new_ll_fz_separation_equivalent_outparamsrV   s    r   rS   z.ll_fz_separation_equivalent_outparams.__init__w  r^  r#   N)r   r   r6   r   r   r   r   r   3ll_fz_separation_equivalent_outparams_dst_color_get3ll_fz_separation_equivalent_outparams_dst_color_setr  rS   ,delete_ll_fz_separation_equivalent_outparamsr   r$   r#   r   r_  r_  r  sN    -/IOdeGHSSU[  VP  VP  QIxJJr#   r_  c                 6    t        j                  | |||||      S r-   )r   (ll_fz_separation_equivalent_outparams_fn)rI  r  r  r
  r  r]  s         r   r_  r_  ~  s    ::4fcS_ajkkr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_store_scavenge_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z'll_fz_store_scavenge_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z'll_fz_store_scavenge_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   'll_fz_store_scavenge_outparams_swiginit"new_ll_fz_store_scavenge_outparamsrV   s    r   rS   z'll_fz_store_scavenge_outparams.__init__  r]  r#   N)r   r   r6   r   r   r   r   r   (ll_fz_store_scavenge_outparams_phase_get(ll_fz_store_scavenge_outparams_phase_setr   rS   %delete_ll_fz_store_scavenge_outparamsr   r$   r#   r   r_  r_    rB]  r#   r_  c                 .    t        j                  | |      S r-   )r   !ll_fz_store_scavenge_outparams_fnr   r]  s     r   r	`  r	`    s    33D)DDr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)'ll_fz_store_scavenge_external_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z0ll_fz_store_scavenge_external_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z0ll_fz_store_scavenge_external_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   0ll_fz_store_scavenge_external_outparams_swiginit+new_ll_fz_store_scavenge_external_outparamsrV   s    r   rS   z0ll_fz_store_scavenge_external_outparams.__init__      ??fFxFxFz{r#   N)r   r   r6   r   r   r   r   r   1ll_fz_store_scavenge_external_outparams_phase_get1ll_fz_store_scavenge_external_outparams_phase_setr   rS   .delete_ll_fz_store_scavenge_external_outparamsr   r$   r#   r   r`  r`    sM    -/IOdeGHVMMv  PH  PH  IE|LLr#   r`  c                 .    t        j                  | |      S r-   )r   *ll_fz_store_scavenge_external_outparams_fnr
`  s     r   r`  r`    s    <<T9MMr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_strsep_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zll_fz_strsep_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zll_fz_strsep_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   ll_fz_strsep_outparams_swiginitnew_ll_fz_strsep_outparamsrV   s    r   rS   zll_fz_strsep_outparams.__init__  rk  r#   N)r   r   r6   r   r   r   r   r   "ll_fz_strsep_outparams_stringp_get"ll_fz_strsep_outparams_stringp_setr5   rS   delete_ll_fz_strsep_outparamsr   r$   r#   r   r`  r`    sB    -/IOdeGHv@@&BkBklGZ;;r#   r`  c                 .    t        j                  | |      S r-   )r   ll_fz_strsep_outparams_fn)r6   r]  s     r   r#`  r#`    s    ++E9==r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_fz_strtof_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   zll_fz_strtof_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   zll_fz_strtof_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   ll_fz_strtof_outparams_swiginitnew_ll_fz_strtof_outparamsrV   s    r   rS   zll_fz_strtof_outparams.__init__  rk  r#   N)r   r   r6   r   r   r   r   r   ll_fz_strtof_outparams_es_getll_fz_strtof_outparams_es_setr:   rS   delete_ll_fz_strtof_outparamsr   r$   r#   r   r%`  r%`    sB    -/IOdeGH	&668\8\	]BZ;;r#   r%`  c                 .    t        j                  | |      S r-   )r   ll_fz_strtof_outparams_fn)r<  r]  s     r   r/`  r/`    s    ++Ay99r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)#ll_fz_subset_cff_for_gids_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z,ll_fz_subset_cff_for_gids_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z,ll_fz_subset_cff_for_gids_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   ,ll_fz_subset_cff_for_gids_outparams_swiginit'new_ll_fz_subset_cff_for_gids_outparamsrV   s    r   rS   z,ll_fz_subset_cff_for_gids_outparams.__init__  r^  r#   N)r   r   r6   r   r   r   r   r   ,ll_fz_subset_cff_for_gids_outparams_gids_get,ll_fz_subset_cff_for_gids_outparams_gids_setrO   rS   *delete_ll_fz_subset_cff_for_gids_outparamsr   r$   r#   r   r1`  r1`    B    -/IOdeGHFGGI|I|}DtHHr#   r1`  c                 4    t        j                  | ||||      S r-   )r   &ll_fz_subset_cff_for_gids_outparams_fnrN   rP   rQ   rR   r]  s        r   r<`  r<`        88xSZ\effr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)#ll_fz_subset_ttf_for_gids_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z,ll_fz_subset_ttf_for_gids_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z,ll_fz_subset_ttf_for_gids_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   ,ll_fz_subset_ttf_for_gids_outparams_swiginit'new_ll_fz_subset_ttf_for_gids_outparamsrV   s    r   rS   z,ll_fz_subset_ttf_for_gids_outparams.__init__  r^  r#   N)r   r   r6   r   r   r   r   r   ,ll_fz_subset_ttf_for_gids_outparams_gids_get,ll_fz_subset_ttf_for_gids_outparams_gids_setrO   rS   *delete_ll_fz_subset_ttf_for_gids_outparamsr   r$   r#   r   r@`  r@`    r:`  r#   r@`  c                 4    t        j                  | ||||      S r-   )r   &ll_fz_subset_ttf_for_gids_outparams_fnr=`  s        r   rJ`  rJ`    r>`  r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy) ll_fz_warning_callback_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z)ll_fz_warning_callback_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z)ll_fz_warning_callback_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   )ll_fz_warning_callback_outparams_swiginit$new_ll_fz_warning_callback_outparamsrV   s    r   rS   z)ll_fz_warning_callback_outparams.__init__  rC^  r#   N)r   r   r6   r   r   r   r   r   )ll_fz_warning_callback_outparams_user_get)ll_fz_warning_callback_outparams_user_setr  rS   'delete_ll_fz_warning_callback_outparamsr   r$   r#   r   rL`  rL`    B    -/IOdeGHFDDfFvFvwDnEEr#   rL`  c                 ,    t        j                  |       S r-   )r   #ll_fz_warning_callback_outparams_fnry]  s    r   rW`  rW`    s    55i@@r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_pdf_annot_MK_BC_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z%ll_pdf_annot_MK_BC_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z%ll_pdf_annot_MK_BC_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   %ll_pdf_annot_MK_BC_outparams_swiginit new_ll_pdf_annot_MK_BC_outparamsrV   s    r   rS   z%ll_pdf_annot_MK_BC_outparams.__init__  r  r#   N)r   r   r6   r   r   r   r   r   "ll_pdf_annot_MK_BC_outparams_n_get"ll_pdf_annot_MK_BC_outparams_n_setr[   rS   #delete_ll_pdf_annot_MK_BC_outparamsr   r$   r#   r   rY`  rY`    B    -/IOdeGH::F<e<efAfAAr#   rY`  c                 0    t        j                  | ||      S r-   )r   ll_pdf_annot_MK_BC_outparams_fnr!  r  r]  s      r   rd`  rd`        11%	JJr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_pdf_annot_MK_BG_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z%ll_pdf_annot_MK_BG_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z%ll_pdf_annot_MK_BG_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   %ll_pdf_annot_MK_BG_outparams_swiginit new_ll_pdf_annot_MK_BG_outparamsrV   s    r   rS   z%ll_pdf_annot_MK_BG_outparams.__init__  r  r#   N)r   r   r6   r   r   r   r   r   "ll_pdf_annot_MK_BG_outparams_n_get"ll_pdf_annot_MK_BG_outparams_n_setr[   rS   #delete_ll_pdf_annot_MK_BG_outparamsr   r$   r#   r   rh`  rh`    rb`  r#   rh`  c                 0    t        j                  | ||      S r-   )r   ll_pdf_annot_MK_BG_outparams_fnre`  s      r   rr`  rr`    rf`  r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)#ll_pdf_annot_callout_line_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z,ll_pdf_annot_callout_line_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z,ll_pdf_annot_callout_line_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   ,ll_pdf_annot_callout_line_outparams_swiginit'new_ll_pdf_annot_callout_line_outparamsrV   s    r   rS   z,ll_pdf_annot_callout_line_outparams.__init__  r^  r#   N)r   r   r6   r   r   r   r   r   )ll_pdf_annot_callout_line_outparams_n_get)ll_pdf_annot_callout_line_outparams_n_setr[   rS   *delete_ll_pdf_annot_callout_line_outparamsr   r$   r#   r   rt`  rt`    sB    -/IOdeGHAA6CsCstAtHHr#   rt`  c                 0    t        j                  | ||      S r-   )r   &ll_pdf_annot_callout_line_outparams_fn)r!  rC"  r]  s      r   r~`  r~`  
  s    88SSr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_pdf_annot_color_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z%ll_pdf_annot_color_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z%ll_pdf_annot_color_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   %ll_pdf_annot_color_outparams_swiginit new_ll_pdf_annot_color_outparamsrV   s    r   rS   z%ll_pdf_annot_color_outparams.__init__  r  r#   N)r   r   r6   r   r   r   r   r   "ll_pdf_annot_color_outparams_n_get"ll_pdf_annot_color_outparams_n_setr[   rS   #delete_ll_pdf_annot_color_outparamsr   r$   r#   r   r`  r`    rb`  r#   r`  c                 0    t        j                  | ||      S r-   )r   ll_pdf_annot_color_outparams_fnre`  s      r   r`  r`    rf`  r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Zd Zej$                  Zy))ll_pdf_annot_default_appearance_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z2ll_pdf_annot_default_appearance_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z2ll_pdf_annot_default_appearance_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   2ll_pdf_annot_default_appearance_outparams_swiginit-new_ll_pdf_annot_default_appearance_outparamsrV   s    r   rS   z2ll_pdf_annot_default_appearance_outparams.__init__!  r]  r#   N)r   r   r6   r   r   r   r   r   2ll_pdf_annot_default_appearance_outparams_font_get2ll_pdf_annot_default_appearance_outparams_font_setr  2ll_pdf_annot_default_appearance_outparams_size_get2ll_pdf_annot_default_appearance_outparams_size_setr   /ll_pdf_annot_default_appearance_outparams_n_get/ll_pdf_annot_default_appearance_outparams_n_setr[   rS   0delete_ll_pdf_annot_default_appearance_outparamsr   r$   r#   r   r`  r`        -/IOdeGHFMMv  PI  PI  JDFMMv  PI  PI  JDGGII  	AA@NNr#   r`  c                 0    t        j                  | ||      S r-   )r   ,ll_pdf_annot_default_appearance_outparams_fnre`  s      r   r`  r`  (  s    >>ueYWWr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)2ll_pdf_annot_default_appearance_unmapped_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z;ll_pdf_annot_default_appearance_unmapped_outparams.<lambda>+  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z;ll_pdf_annot_default_appearance_unmapped_outparams.<lambda>+  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   ;ll_pdf_annot_default_appearance_unmapped_outparams_swiginit6new_ll_pdf_annot_default_appearance_unmapped_outparamsrV   s    r   rS   z;ll_pdf_annot_default_appearance_unmapped_outparams.__init__0  +    JJ4QW  RO  RO  RQ  	Rr#   N)r   r   r6   r   r   r   r   r   ;ll_pdf_annot_default_appearance_unmapped_outparams_size_get;ll_pdf_annot_default_appearance_unmapped_outparams_size_setr   8ll_pdf_annot_default_appearance_unmapped_outparams_n_get8ll_pdf_annot_default_appearance_unmapped_outparams_n_setr[   rS   9delete_ll_pdf_annot_default_appearance_unmapped_outparamsr   r$   r#   r   r`  r`  *  r    -/IOdeGHFVVX^  Y[  Y[  \DPPRX  SR  SR  	SARWWr#   r`  c                 4    t        j                  | ||||      S r-   )r   5ll_pdf_annot_default_appearance_unmapped_outparams_fn)r!  rU"  rV"  r  r]  s        r   r`  r`  7  s    GGyZginpyzzr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)%ll_pdf_annot_interior_color_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z.ll_pdf_annot_interior_color_outparams.<lambda>:  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z.ll_pdf_annot_interior_color_outparams.<lambda>:  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   .ll_pdf_annot_interior_color_outparams_swiginit)new_ll_pdf_annot_interior_color_outparamsrV   s    r   rS   z.ll_pdf_annot_interior_color_outparams.__init__>  r^  r#   N)r   r   r6   r   r   r   r   r   +ll_pdf_annot_interior_color_outparams_n_get+ll_pdf_annot_interior_color_outparams_n_setr[   rS   ,delete_ll_pdf_annot_interior_color_outparamsr   r$   r#   r   r`  r`  9  sB    -/IOdeGHCCVEwEwxAxJJr#   r`  c                 0    t        j                  | ||      S r-   )r   (ll_pdf_annot_interior_color_outparams_fnre`  s      r   r`  r`  E  s    ::5%SSr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy))ll_pdf_annot_line_ending_styles_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z2ll_pdf_annot_line_ending_styles_outparams.<lambda>H  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z2ll_pdf_annot_line_ending_styles_outparams.<lambda>H  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   2ll_pdf_annot_line_ending_styles_outparams_swiginit-new_ll_pdf_annot_line_ending_styles_outparamsrV   s    r   rS   z2ll_pdf_annot_line_ending_styles_outparams.__init__M  r]  r#   N)r   r   r6   r   r   r   r   r   9ll_pdf_annot_line_ending_styles_outparams_start_style_get9ll_pdf_annot_line_ending_styles_outparams_start_style_setr"  7ll_pdf_annot_line_ending_styles_outparams_end_style_get7ll_pdf_annot_line_ending_styles_outparams_end_style_setr"  rS   0delete_ll_pdf_annot_line_ending_styles_outparamsr   r$   r#   r   r`  r`  G  sr    -/IOdeGH6[[]c  ^^  ^^  _KWWY_  ZX  ZX  YI@NNr#   r`  c                 .    t        j                  | |      S r-   )r   ,ll_pdf_annot_line_ending_styles_outparams_fn)r!  r]  s     r   r`  r`  T  s    >>uiPPr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)!ll_pdf_array_get_string_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z*ll_pdf_array_get_string_outparams.<lambda>W  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z*ll_pdf_array_get_string_outparams.<lambda>W  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   *ll_pdf_array_get_string_outparams_swiginit%new_ll_pdf_array_get_string_outparamsrV   s    r   rS   z*ll_pdf_array_get_string_outparams.__init__[  r]  r#   N)r   r   r6   r   r   r   r   r   +ll_pdf_array_get_string_outparams_sizep_get+ll_pdf_array_get_string_outparams_sizep_setr3#  rS   (delete_ll_pdf_array_get_string_outparamsr   r$   r#   r   r`  r`  V  sB    -/IOdeGHVGGI{I{|EpFFr#   r`  c                 0    t        j                  | ||      S r-   )r   $ll_pdf_array_get_string_outparams_fn)r#  r   r]  s      r   r`  r`  b  s    66ueYOOr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy) ll_pdf_count_q_balance_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z)ll_pdf_count_q_balance_outparams.<lambda>e  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z)ll_pdf_count_q_balance_outparams.<lambda>e  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   )ll_pdf_count_q_balance_outparams_swiginit$new_ll_pdf_count_q_balance_outparamsrV   s    r   rS   z)ll_pdf_count_q_balance_outparams.__init__j  rC^  r#   N)r   r   r6   r   r   r   r   r   ,ll_pdf_count_q_balance_outparams_prepend_get,ll_pdf_count_q_balance_outparams_prepend_setr#  +ll_pdf_count_q_balance_outparams_append_get+ll_pdf_count_q_balance_outparams_append_setr   rS   'delete_ll_pdf_count_q_balance_outparamsr   r$   r#   r   r`  r`  d  ]    -/IOdeGHvJJFLL  AGfHH&J|J|}FnEEr#   r`  c                 2    t        j                  | |||      S r-   )r   #ll_pdf_count_q_balance_outparams_fn)rO   r#  r  r]  s       r   r`  r`  q  s    55c3YOOr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_pdf_decode_cmap_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z%ll_pdf_decode_cmap_outparams.<lambda>t  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z%ll_pdf_decode_cmap_outparams.<lambda>t  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   %ll_pdf_decode_cmap_outparams_swiginit new_ll_pdf_decode_cmap_outparamsrV   s    r   rS   z%ll_pdf_decode_cmap_outparams.__init__x  r  r#   N)r   r   r6   r   r   r   r   r   $ll_pdf_decode_cmap_outparams_cpt_get$ll_pdf_decode_cmap_outparams_cpt_setrD$  rS   #delete_ll_pdf_decode_cmap_outparamsr   r$   r#   r   r`  r`  s  sB    -/IOdeGH
6>>@k@k
lCfAAr#   r`  c                 2    t        j                  | |||      S r-   )r   ll_pdf_decode_cmap_outparams_fn)r!  r<  r  r]  s       r   r`  r`    s    11$1iHHr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy),ll_pdf_dict_get_inheritable_string_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z5ll_pdf_dict_get_inheritable_string_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z5ll_pdf_dict_get_inheritable_string_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   5ll_pdf_dict_get_inheritable_string_outparams_swiginit0new_ll_pdf_dict_get_inheritable_string_outparamsrV   s    r   rS   z5ll_pdf_dict_get_inheritable_string_outparams.__init__  r;_  r#   N)r   r   r6   r   r   r   r   r   6ll_pdf_dict_get_inheritable_string_outparams_sizep_get6ll_pdf_dict_get_inheritable_string_outparams_sizep_setr3#  rS   3delete_ll_pdf_dict_get_inheritable_string_outparamsr   r$   r#   r   r`  r`    sN    -/IOdeGHVRRTZ  UR  UR  SEFQQr#   r`  c                 0    t        j                  | ||      S r-   )r   /ll_pdf_dict_get_inheritable_string_outparams_fnr  rk  r]  s      r   r`  r`    s    AA$YWWr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)"ll_pdf_dict_get_put_drop_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z+ll_pdf_dict_get_put_drop_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z+ll_pdf_dict_get_put_drop_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   +ll_pdf_dict_get_put_drop_outparams_swiginit&new_ll_pdf_dict_get_put_drop_outparamsrV   s    r   rS   z+ll_pdf_dict_get_put_drop_outparams.__init__  r]  r#   N)r   r   r6   r   r   r   r   r   .ll_pdf_dict_get_put_drop_outparams_old_val_get.ll_pdf_dict_get_put_drop_outparams_old_val_setr$  rS   )delete_ll_pdf_dict_get_put_drop_outparamsr   r$   r#   r   r`  r`    r]  r#   r`  c                 2    t        j                  | |||      S r-   )r   %ll_pdf_dict_get_put_drop_outparams_fn)r  rk  r  r]  s       r   ra  ra    s    77c3	RRr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy) ll_pdf_dict_get_string_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z)ll_pdf_dict_get_string_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z)ll_pdf_dict_get_string_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   )ll_pdf_dict_get_string_outparams_swiginit$new_ll_pdf_dict_get_string_outparamsrV   s    r   rS   z)ll_pdf_dict_get_string_outparams.__init__  rC^  r#   N)r   r   r6   r   r   r   r   r   *ll_pdf_dict_get_string_outparams_sizep_get*ll_pdf_dict_get_string_outparams_sizep_setr3#  rS   'delete_ll_pdf_dict_get_string_outparamsr   r$   r#   r   ra  ra    sB    -/IOdeGHVFFHyHyzEnEEr#   ra  c                 0    t        j                  | ||      S r-   )r   #ll_pdf_dict_get_string_outparams_fnr`  s      r   ra  ra    s    55dCKKr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Zd Zej$                  Zy)&ll_pdf_edit_text_field_value_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z/ll_pdf_edit_text_field_value_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z/ll_pdf_edit_text_field_value_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   /ll_pdf_edit_text_field_value_outparams_swiginit*new_ll_pdf_edit_text_field_value_outparamsrV   s    r   rS   z/ll_pdf_edit_text_field_value_outparams.__init__  r"  r#   N)r   r   r6   r   r   r   r   r   3ll_pdf_edit_text_field_value_outparams_selStart_get3ll_pdf_edit_text_field_value_outparams_selStart_setr:  1ll_pdf_edit_text_field_value_outparams_selEnd_get1ll_pdf_edit_text_field_value_outparams_selEnd_setr=  3ll_pdf_edit_text_field_value_outparams_newvalue_get3ll_pdf_edit_text_field_value_outparams_newvalue_setr^%  rS   -delete_ll_pdf_edit_text_field_value_outparamsr   r$   r#   r   ra  ra    s    -/IOdeGHRRTZ  UO  UO  PHfNNPV  QI  QI  JFRRTZ  UO  UO  PHzKKr#   ra  c                 2    t        j                  | |||      S r-   )r   )ll_pdf_edit_text_field_value_outparams_fn)ry"  r    r7  r]  s       r   r!a  r!a    s    ;;FE6S\]]r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_pdf_eval_function_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z'll_pdf_eval_function_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z'll_pdf_eval_function_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   'll_pdf_eval_function_outparams_swiginit"new_ll_pdf_eval_function_outparamsrV   s    r   rS   z'll_pdf_eval_function_outparams.__init__  r]  r#   N)r   r   r6   r   r   r   r   r   &ll_pdf_eval_function_outparams_out_get&ll_pdf_eval_function_outparams_out_setrl  rS   %delete_ll_pdf_eval_function_outparamsr   r$   r#   r   r#a  r#a    sB    -/IOdeGH
6@@&BoBo
pCjCCr#   r#a  c                 4    t        j                  | ||||      S r-   )r   !ll_pdf_eval_function_outparams_fnr]  s        r   r-a  r-a    s    33D#ufiXXr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)%ll_pdf_field_event_validate_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z.ll_pdf_field_event_validate_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z.ll_pdf_field_event_validate_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   .ll_pdf_field_event_validate_outparams_swiginit)new_ll_pdf_field_event_validate_outparamsrV   s    r   rS   z.ll_pdf_field_event_validate_outparams.__init__  r^  r#   N)r   r   r6   r   r   r   r   r   2ll_pdf_field_event_validate_outparams_newvalue_get2ll_pdf_field_event_validate_outparams_newvalue_setr^%  rS   ,delete_ll_pdf_field_event_validate_outparamsr   r$   r#   r   r/a  r/a    sN    -/IOdeGHQQSY  TM  TM  NHxJJr#   r/a  c                 2    t        j                  | |||      S r-   )r   (ll_pdf_field_event_validate_outparams_fn)rO   r  r    r]  s       r   r9a  r9a    s    ::3uiXXr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy))ll_pdf_js_event_result_validate_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z2ll_pdf_js_event_result_validate_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z2ll_pdf_js_event_result_validate_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   2ll_pdf_js_event_result_validate_outparams_swiginit-new_ll_pdf_js_event_result_validate_outparamsrV   s    r   rS   z2ll_pdf_js_event_result_validate_outparams.__init__  r]  r#   N)r   r   r6   r   r   r   r   r   6ll_pdf_js_event_result_validate_outparams_newvalue_get6ll_pdf_js_event_result_validate_outparams_newvalue_setr^%  rS   0delete_ll_pdf_js_event_result_validate_outparamsr   r$   r#   r   r;a  r;a    sN    -/IOdeGHUUW]  XU  XU  VH@NNr#   r;a  c                 .    t        j                  | |      S r-   )r   ,ll_pdf_js_event_result_validate_outparams_fn)r  r]  s     r   rEa  rEa    s    >>r9MMr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_pdf_js_execute_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z$ll_pdf_js_execute_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z$ll_pdf_js_execute_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   $ll_pdf_js_execute_outparams_swiginitnew_ll_pdf_js_execute_outparamsrV   s    r   rS   z$ll_pdf_js_execute_outparams.__init__  r5  r#   N)r   r   r6   r   r   r   r   r   &ll_pdf_js_execute_outparams_result_get&ll_pdf_js_execute_outparams_result_setre&  rS   "delete_ll_pdf_js_execute_outparamsr   r$   r#   r   rGa  rGa    sB    -/IOdeGHfCCVErErsFd@@r#   rGa  c                 2    t        j                  | |||      S r-   )r   ll_pdf_js_execute_outparams_fn)r  r   r  r]  s       r   rQa  rQa    s    00T4KKr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_pdf_load_encoding_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z'll_pdf_load_encoding_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z'll_pdf_load_encoding_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   'll_pdf_load_encoding_outparams_swiginit"new_ll_pdf_load_encoding_outparamsrV   s    r   rS   z'll_pdf_load_encoding_outparams.__init__  r]  r#   N)r   r   r6   r   r   r   r   r   +ll_pdf_load_encoding_outparams_estrings_get+ll_pdf_load_encoding_outparams_estrings_setr&  rS   %delete_ll_pdf_load_encoding_outparamsr   r$   r#   r   rSa  rSa    sB    -/IOdeGHJJFL~L~HjCCr#   rSa  c                 .    t        j                  | |      S r-   )r   !ll_pdf_load_encoding_outparams_fn)rM  r]  s     r   r]a  r]a    s    33HiHHr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy) ll_pdf_load_to_unicode_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z)ll_pdf_load_to_unicode_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z)ll_pdf_load_to_unicode_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   )ll_pdf_load_to_unicode_outparams_swiginit$new_ll_pdf_load_to_unicode_outparamsrV   s    r   rS   z)ll_pdf_load_to_unicode_outparams.__init__  rC^  r#   N)r   r   r6   r   r   r   r   r   ,ll_pdf_load_to_unicode_outparams_strings_get,ll_pdf_load_to_unicode_outparams_strings_setr	'  rS   'delete_ll_pdf_load_to_unicode_outparamsr   r$   r#   r   r_a  r_a    E    -/IOdeGHvJJFLL  AGnEEr#   r_a  c                 4    t        j                  | ||||      S r-   )r   #ll_pdf_load_to_unicode_outparams_fn)rO   r  r
'  r'  r]  s        r   rja  rja    s    55c4WV_``r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)!ll_pdf_lookup_cmap_full_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z*ll_pdf_lookup_cmap_full_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z*ll_pdf_lookup_cmap_full_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   *ll_pdf_lookup_cmap_full_outparams_swiginit%new_ll_pdf_lookup_cmap_full_outparamsrV   s    r   rS   z*ll_pdf_lookup_cmap_full_outparams.__init__  r]  r#   N)r   r   r6   r   r   r   r   r   )ll_pdf_lookup_cmap_full_outparams_out_get)ll_pdf_lookup_cmap_full_outparams_out_setrl  rS   (delete_ll_pdf_lookup_cmap_full_outparamsr   r$   r#   r   rla  rla    r]  r#   rla  c                 0    t        j                  | ||      S r-   )r   $ll_pdf_lookup_cmap_full_outparams_fn)r!  rD$  r]  s      r   rva  rva    s    66tS)LLr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy) ll_pdf_lookup_page_loc_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z)ll_pdf_lookup_page_loc_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z)ll_pdf_lookup_page_loc_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   )ll_pdf_lookup_page_loc_outparams_swiginit$new_ll_pdf_lookup_page_loc_outparamsrV   s    r   rS   z)ll_pdf_lookup_page_loc_outparams.__init__#  rC^  r#   N)r   r   r6   r   r   r   r   r   ,ll_pdf_lookup_page_loc_outparams_parentp_get,ll_pdf_lookup_page_loc_outparams_parentp_setr2'  +ll_pdf_lookup_page_loc_outparams_indexp_get+ll_pdf_lookup_page_loc_outparams_indexp_setr3'  rS   'delete_ll_pdf_lookup_page_loc_outparamsr   r$   r#   r   rxa  rxa    r`  r#   rxa  c                 0    t        j                  | ||      S r-   )r   #ll_pdf_lookup_page_loc_outparams_fn)rO   rV  r]  s      r   ra  ra  *  s    55c69MMr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)'ll_pdf_lookup_substitute_font_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z0ll_pdf_lookup_substitute_font_outparams.<lambda>-  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z0ll_pdf_lookup_substitute_font_outparams.<lambda>-  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   0ll_pdf_lookup_substitute_font_outparams_swiginit+new_ll_pdf_lookup_substitute_font_outparamsrV   s    r   rS   z0ll_pdf_lookup_substitute_font_outparams.__init__1  r`  r#   N)r   r   r6   r   r   r   r   r   /ll_pdf_lookup_substitute_font_outparams_len_get/ll_pdf_lookup_substitute_font_outparams_len_setr  rS   .delete_ll_pdf_lookup_substitute_font_outparamsr   r$   r#   r   ra  ra  ,  sM    -/IOdeGH
6II6  LB  LB  CC|LLr#   ra  c                 4    t        j                  | ||||      S r-   )r   *ll_pdf_lookup_substitute_font_outparams_fn)r='  r  r  r  r]  s        r   ra  ra  8  s    <<T5$PVXabbr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy) ll_pdf_map_one_to_many_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z)ll_pdf_map_one_to_many_outparams.<lambda>;  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z)ll_pdf_map_one_to_many_outparams.<lambda>;  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   )ll_pdf_map_one_to_many_outparams_swiginit$new_ll_pdf_map_one_to_many_outparamsrV   s    r   rS   z)ll_pdf_map_one_to_many_outparams.__init__?  rC^  r#   N)r   r   r6   r   r   r   r   r   )ll_pdf_map_one_to_many_outparams_many_get)ll_pdf_map_one_to_many_outparams_many_setrC'  rS   'delete_ll_pdf_map_one_to_many_outparamsr   r$   r#   r   ra  ra  :  rU`  r#   ra  c                 2    t        j                  | |||      S r-   )r   #ll_pdf_map_one_to_many_outparams_fn)r!  r!  r  r]  s       r   ra  ra  F  s    55dCiPPr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_pdf_obj_memo_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z"ll_pdf_obj_memo_outparams.<lambda>I  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z"ll_pdf_obj_memo_outparams.<lambda>I  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   "ll_pdf_obj_memo_outparams_swiginitnew_ll_pdf_obj_memo_outparamsrV   s    r   rS   z"ll_pdf_obj_memo_outparams.__init__M  re	  r#   N)r   r   r6   r   r   r   r   r   "ll_pdf_obj_memo_outparams_memo_get"ll_pdf_obj_memo_outparams_memo_setr	(  rS    delete_ll_pdf_obj_memo_outparamsr   r$   r#   r   ra  ra  H  sB    -/IOdeGHF==v?h?hiD`>>r#   ra  c                 0    t        j                  | ||      S r-   )r   ll_pdf_obj_memo_outparams_fn)rh  rT  r]  s      r   ra  ra  T  s    ..sCCCr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)"ll_pdf_page_presentation_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z+ll_pdf_page_presentation_outparams.<lambda>W  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z+ll_pdf_page_presentation_outparams.<lambda>W  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   +ll_pdf_page_presentation_outparams_swiginit&new_ll_pdf_page_presentation_outparamsrV   s    r   rS   z+ll_pdf_page_presentation_outparams.__init__[  r]  r#   N)r   r   r6   r   r   r   r   r   /ll_pdf_page_presentation_outparams_duration_get/ll_pdf_page_presentation_outparams_duration_setr  rS   )delete_ll_pdf_page_presentation_outparamsr   r$   r#   r   ra  ra  V  r_  r#   ra  c                 0    t        j                  | ||      S r-   )r   %ll_pdf_page_presentation_outparams_fnr~_  s      r   ra  ra  b  s    77j)TTr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)ll_pdf_page_write_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z$ll_pdf_page_write_outparams.<lambda>e  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z$ll_pdf_page_write_outparams.<lambda>e  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   $ll_pdf_page_write_outparams_swiginitnew_ll_pdf_page_write_outparamsrV   s    r   rS   z$ll_pdf_page_write_outparams.__init__j  r5  r#   N)r   r   r6   r   r   r   r   r   *ll_pdf_page_write_outparams_presources_get*ll_pdf_page_write_outparams_presources_setr_(  )ll_pdf_page_write_outparams_pcontents_get)ll_pdf_page_write_outparams_pcontents_setr`(  rS   "delete_ll_pdf_page_write_outparamsr   r$   r#   r   ra  ra  d  sZ    -/IOdeGH&KKVM~M~JII6K{K{|Id@@r#   ra  c                 0    t        j                  | ||      S r-   )r   ll_pdf_page_write_outparams_fn)rO   rq
  r]  s      r   ra  ra  q  s    00h	JJr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Zd Zej$                  Zy))ll_pdf_parse_default_appearance_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z2ll_pdf_parse_default_appearance_outparams.<lambda>t  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z2ll_pdf_parse_default_appearance_outparams.<lambda>t  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   2ll_pdf_parse_default_appearance_outparams_swiginit-new_ll_pdf_parse_default_appearance_outparamsrV   s    r   rS   z2ll_pdf_parse_default_appearance_outparams.__init__z  r]  r#   N)r   r   r6   r   r   r   r   r   2ll_pdf_parse_default_appearance_outparams_font_get2ll_pdf_parse_default_appearance_outparams_font_setr  2ll_pdf_parse_default_appearance_outparams_size_get2ll_pdf_parse_default_appearance_outparams_size_setr   /ll_pdf_parse_default_appearance_outparams_n_get/ll_pdf_parse_default_appearance_outparams_n_setr[   rS   0delete_ll_pdf_parse_default_appearance_outparamsr   r$   r#   r   ra  ra  s  r`  r#   ra  c                 0    t        j                  | ||      S r-   )r   ,ll_pdf_parse_default_appearance_outparams_fn)ri(  r  r]  s      r   ra  ra    s    >>r5)TTr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)2ll_pdf_parse_default_appearance_unmapped_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z;ll_pdf_parse_default_appearance_unmapped_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z;ll_pdf_parse_default_appearance_unmapped_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   ;ll_pdf_parse_default_appearance_unmapped_outparams_swiginit6new_ll_pdf_parse_default_appearance_unmapped_outparamsrV   s    r   rS   z;ll_pdf_parse_default_appearance_unmapped_outparams.__init__  r`  r#   N)r   r   r6   r   r   r   r   r   ;ll_pdf_parse_default_appearance_unmapped_outparams_size_get;ll_pdf_parse_default_appearance_unmapped_outparams_size_setr   8ll_pdf_parse_default_appearance_unmapped_outparams_n_get8ll_pdf_parse_default_appearance_unmapped_outparams_n_setr[   rS   9delete_ll_pdf_parse_default_appearance_unmapped_outparamsr   r$   r#   r   ra  ra    r`  r#   ra  c                 4    t        j                  | ||||      S r-   )r   5ll_pdf_parse_default_appearance_unmapped_outparams_fn)ri(  rU"  rV"  r  r]  s        r   ra  ra    s    GGIWdfkmvwwr#   c                   0   e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Zd Zej*                  Zy)ll_pdf_parse_ind_obj_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z'll_pdf_parse_ind_obj_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z'll_pdf_parse_ind_obj_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   'll_pdf_parse_ind_obj_outparams_swiginit"new_ll_pdf_parse_ind_obj_outparamsrV   s    r   rS   z'll_pdf_parse_ind_obj_outparams.__init__  r]  r#   N)r   r   r6   r   r   r   r   r   &ll_pdf_parse_ind_obj_outparams_num_get&ll_pdf_parse_ind_obj_outparams_num_setrw  &ll_pdf_parse_ind_obj_outparams_gen_get&ll_pdf_parse_ind_obj_outparams_gen_setrZ  *ll_pdf_parse_ind_obj_outparams_stm_ofs_get*ll_pdf_parse_ind_obj_outparams_stm_ofs_setrb  -ll_pdf_parse_ind_obj_outparams_try_repair_get-ll_pdf_parse_ind_obj_outparams_try_repair_setrs(  rS   %delete_ll_pdf_parse_ind_obj_outparamsr   r$   r#   r   ra  ra    s    -/IOdeGH
6@@&BoBo
pC
6@@&BoBo
pCvHH&J{J{|G&NNPV  QE  QE  FJjCCr#   ra  c                 0    t        j                  | ||      S r-   )r   !ll_pdf_parse_ind_obj_outparams_fn)rO   r  r]  s      r   ra  ra    s    33CIFFr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Zd Zej$                  Zy)"ll_pdf_parse_journal_obj_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z+ll_pdf_parse_journal_obj_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z+ll_pdf_parse_journal_obj_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   +ll_pdf_parse_journal_obj_outparams_swiginit&new_ll_pdf_parse_journal_obj_outparamsrV   s    r   rS   z+ll_pdf_parse_journal_obj_outparams.__init__  r]  r#   N)r   r   r6   r   r   r   r   r   +ll_pdf_parse_journal_obj_outparams_onum_get+ll_pdf_parse_journal_obj_outparams_onum_setrw(  +ll_pdf_parse_journal_obj_outparams_ostm_get+ll_pdf_parse_journal_obj_outparams_ostm_setrx(  -ll_pdf_parse_journal_obj_outparams_newobj_get-ll_pdf_parse_journal_obj_outparams_newobj_setr!  rS   )delete_ll_pdf_parse_journal_obj_outparamsr   r$   r#   r   ra  ra    s}    -/IOdeGHFFFHzHz{DFFFHzHz{DfJJF  MA  MA  BFrGGr#   ra  c                 0    t        j                  | ||      S r-   )r   %ll_pdf_parse_journal_obj_outparams_fn)rO   r  r]  s      r   rb  rb    s    77S)LLr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)$ll_pdf_print_encrypted_obj_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z-ll_pdf_print_encrypted_obj_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z-ll_pdf_print_encrypted_obj_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   -ll_pdf_print_encrypted_obj_outparams_swiginit(new_ll_pdf_print_encrypted_obj_outparamsrV   s    r   rS   z-ll_pdf_print_encrypted_obj_outparams.__init__  s    <<T6CrCrCtur#   N)r   r   r6   r   r   r   r   r   ,ll_pdf_print_encrypted_obj_outparams_sep_get,ll_pdf_print_encrypted_obj_outparams_sep_setrL  rS   +delete_ll_pdf_print_encrypted_obj_outparamsr   r$   r#   r   rb  rb    sB    -/IOdeGH
6FFH{H{
|CvIIr#   rb  c           
      :    t        j                  | |||||||      S r-   )r   'll_pdf_print_encrypted_obj_outparams_fn)rl  rh  r(  r  r\  rw  rZ  r]  s           r   rb  rb    s%    99#sE5RWY\^aclmmr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)!ll_pdf_process_contents_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z*ll_pdf_process_contents_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z*ll_pdf_process_contents_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   *ll_pdf_process_contents_outparams_swiginit%new_ll_pdf_process_contents_outparamsrV   s    r   rS   z*ll_pdf_process_contents_outparams.__init__  r]  r#   N)r   r   r6   r   r   r   r   r   -ll_pdf_process_contents_outparams_out_res_get-ll_pdf_process_contents_outparams_out_res_setr(  rS   (delete_ll_pdf_process_contents_outparamsr   r$   r#   r   rb  rb    sM    -/IOdeGHvKKV  NB  NB  CGpFFr#   rb  c                 6    t        j                  | |||||      S r-   )r   $ll_pdf_process_contents_outparams_fn)r#  rO   r#  r  r  r]  s         r   rb  rb    s    66tS#sFT]^^r#   c                      e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Z eej                  ej                        Z eej"                  ej$                        Z eej(                  ej*                        Z eej.                  ej0                        Z eej4                  ej6                        Zd Zej<                  Zy)ll_pdf_repair_obj_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z$ll_pdf_repair_obj_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z$ll_pdf_repair_obj_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   $ll_pdf_repair_obj_outparams_swiginitnew_ll_pdf_repair_obj_outparamsrV   s    r   rS   z$ll_pdf_repair_obj_outparams.__init__  r5  r#   N) r   r   r6   r   r   r   r   r   'll_pdf_repair_obj_outparams_stmofsp_get'll_pdf_repair_obj_outparams_stmofsp_setr(  'll_pdf_repair_obj_outparams_stmlenp_get'll_pdf_repair_obj_outparams_stmlenp_setr(  'll_pdf_repair_obj_outparams_encrypt_get'll_pdf_repair_obj_outparams_encrypt_setr(  "ll_pdf_repair_obj_outparams_id_get"ll_pdf_repair_obj_outparams_id_setrM  $ll_pdf_repair_obj_outparams_page_get$ll_pdf_repair_obj_outparams_page_setr'
  &ll_pdf_repair_obj_outparams_tmpofs_get&ll_pdf_repair_obj_outparams_tmpofs_setr(  $ll_pdf_repair_obj_outparams_root_get$ll_pdf_repair_obj_outparams_root_setr*  rS   "delete_ll_pdf_repair_obj_outparamsr   r$   r#   r   rb  rb    s    -/IOdeGHvEEvGuGuvGvEEvGuGuvGvEEvGuGuvG	&;;V=f=f	gBF??AlAlmDfCCVErErsFF??AlAlmDd@@r#   rb  c                 0    t        j                  | ||      S r-   )r   ll_pdf_repair_obj_outparams_fn)rO   rb  r]  s      r   r2b  r2b    s    00c9EEr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)ll_pdf_resolve_link_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z&ll_pdf_resolve_link_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z&ll_pdf_resolve_link_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   &ll_pdf_resolve_link_outparams_swiginit!new_ll_pdf_resolve_link_outparamsrV   s    r   rS   z&ll_pdf_resolve_link_outparams.__init__  rg]  r#   N)r   r   r6   r   r   r   r   r   $ll_pdf_resolve_link_outparams_xp_get$ll_pdf_resolve_link_outparams_xp_setr  $ll_pdf_resolve_link_outparams_yp_get$ll_pdf_resolve_link_outparams_yp_setr  rS   $delete_ll_pdf_resolve_link_outparamsr   r$   r#   r   r4b  r4b    sZ    -/IOdeGH	&==v?j?j	kB	&==v?j?j	kBhBBr#   r4b  c                 0    t        j                  | ||      S r-   )r    ll_pdf_resolve_link_outparams_fnr_  s      r   r@b  r@b    s    223YGGr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)&ll_pdf_sample_shade_function_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z/ll_pdf_sample_shade_function_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z/ll_pdf_sample_shade_function_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   /ll_pdf_sample_shade_function_outparams_swiginit*new_ll_pdf_sample_shade_function_outparamsrV   s    r   rS   z/ll_pdf_sample_shade_function_outparams.__init__  r"  r#   N)r   r   r6   r   r   r   r   r   2ll_pdf_sample_shade_function_outparams_samples_get2ll_pdf_sample_shade_function_outparams_samples_setrT  /ll_pdf_sample_shade_function_outparams_func_get/ll_pdf_sample_shade_function_outparams_func_setr3  rS   -delete_ll_pdf_sample_shade_function_outparamsr   r$   r#   r   rBb  rBb    sq    -/IOdeGHvPPRX  SL  SL  MGFJJF  MC  MC  DDzKKr#   rBb  c                 4    t        j                  | ||||      S r-   )r   )ll_pdf_sample_shade_function_outparams_fn)r[   r)  r)  r)  r]  s        r   rNb  rNb    s    ;;Aub"iXXr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)#ll_pdf_signature_contents_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z,ll_pdf_signature_contents_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z,ll_pdf_signature_contents_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   ,ll_pdf_signature_contents_outparams_swiginit'new_ll_pdf_signature_contents_outparamsrV   s    r   rS   z,ll_pdf_signature_contents_outparams.__init__  r^  r#   N)r   r   r6   r   r   r   r   r   0ll_pdf_signature_contents_outparams_contents_get0ll_pdf_signature_contents_outparams_contents_setr  rS   *delete_ll_pdf_signature_contents_outparamsr   r$   r#   r   rPb  rPb    r_  r#   rPb  c                 0    t        j                  | ||      S r-   )r   &ll_pdf_signature_contents_outparams_fn)rO   r#  r]  s      r   rZb  rZb    s    88iSSr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_pdf_sprint_obj_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z$ll_pdf_sprint_obj_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z$ll_pdf_sprint_obj_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   $ll_pdf_sprint_obj_outparams_swiginitnew_ll_pdf_sprint_obj_outparamsrV   s    r   rS   z$ll_pdf_sprint_obj_outparams.__init__  r5  r#   N)r   r   r6   r   r   r   r   r   #ll_pdf_sprint_obj_outparams_len_get#ll_pdf_sprint_obj_outparams_len_setr  rS   "delete_ll_pdf_sprint_obj_outparamsr   r$   r#   r   r\b  r\b    r]]  r#   r\b  c                 6    t        j                  | |||||      S r-   )r   ll_pdf_sprint_obj_outparams_fn)rb  r  rh  r(  r  r]  s         r   rfb  rfb    s    00c3uiXXr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_pdf_to_string_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z#ll_pdf_to_string_outparams.<lambda>  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z#ll_pdf_to_string_outparams.<lambda>  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   #ll_pdf_to_string_outparams_swiginitnew_ll_pdf_to_string_outparamsrV   s    r   rS   z#ll_pdf_to_string_outparams.__init__"  r  r#   N)r   r   r6   r   r   r   r   r   $ll_pdf_to_string_outparams_sizep_get$ll_pdf_to_string_outparams_sizep_setr3#  rS   !delete_ll_pdf_to_string_outparamsr   r$   r#   r   rhb  rhb    sB    -/IOdeGHV@@&BmBmnEb??r#   rhb  c                 .    t        j                  | |      S r-   )r   ll_pdf_to_string_outparams_fn)rh  r]  s     r   rrb  rrb  )  rR]  r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_pdf_tos_make_trm_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z&ll_pdf_tos_make_trm_outparams.<lambda>,  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z&ll_pdf_tos_make_trm_outparams.<lambda>,  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   &ll_pdf_tos_make_trm_outparams_swiginit!new_ll_pdf_tos_make_trm_outparamsrV   s    r   rS   z&ll_pdf_tos_make_trm_outparams.__init__0  rg]  r#   N)r   r   r6   r   r   r   r   r   %ll_pdf_tos_make_trm_outparams_adv_get%ll_pdf_tos_make_trm_outparams_adv_setr	  rS   $delete_ll_pdf_tos_make_trm_outparamsr   r$   r#   r   rtb  rtb  +  r]  r#   rtb  c                 6    t        j                  | |||||      S r-   )r    ll_pdf_tos_make_trm_outparams_fn)r*  r
  r  r	  r$	  r]  s         r   r~b  r~b  7  s    223hSR[\\r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy)ll_pdf_undoredo_state_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z(ll_pdf_undoredo_state_outparams.<lambda>:  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z(ll_pdf_undoredo_state_outparams.<lambda>:  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   (ll_pdf_undoredo_state_outparams_swiginit#new_ll_pdf_undoredo_state_outparamsrV   s    r   rS   z(ll_pdf_undoredo_state_outparams.__init__>  rj^  r#   N)r   r   r6   r   r   r   r   r   )ll_pdf_undoredo_state_outparams_steps_get)ll_pdf_undoredo_state_outparams_steps_setr*  rS   &delete_ll_pdf_undoredo_state_outparamsr   r$   r#   r   rb  rb  9  sB    -/IOdeGHVEEvGwGwxElDDr#   rb  c                 .    t        j                  | |      S r-   )r   "ll_pdf_undoredo_state_outparams_fnrO   r]  s     r   rb  rb  E  s    44S)DDr#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
 eej                  ej                        Zd Zej                  Zy)ll_pdf_walk_tree_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z#ll_pdf_walk_tree_outparams.<lambda>H  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z#ll_pdf_walk_tree_outparams.<lambda>H  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   #ll_pdf_walk_tree_outparams_swiginitnew_ll_pdf_walk_tree_outparamsrV   s    r   rS   z#ll_pdf_walk_tree_outparams.__init__M  r  r#   N)r   r   r6   r   r   r   r   r   $ll_pdf_walk_tree_outparams_names_get$ll_pdf_walk_tree_outparams_names_setr*  %ll_pdf_walk_tree_outparams_values_get%ll_pdf_walk_tree_outparams_values_setrw  rS   !delete_ll_pdf_walk_tree_outparamsr   r$   r#   r   rb  rb  G  sZ    -/IOdeGHV@@&BmBmnEfBBFDpDpqFb??r#   rb  c                 6    t        j                  | |||||      S r-   )r   ll_pdf_walk_tree_outparams_fn)r  r*  r*  r*  r  r]  s         r   rb  rb  T  s    //hsT]^^r#   c                       e Zd Z ed d d      ZeZ eej                  ej                        Z
d Zej                  Zy) ll_pdf_zugferd_profile_outparamsc                 6    | j                   j                         S r-   rD   rE   s    r   rG   z)ll_pdf_zugferd_profile_outparams.<lambda>W  rH   r#   c                 8    | j                   j                  |      S r-   rD   rJ   s     r   rG   z)ll_pdf_zugferd_profile_outparams.<lambda>W  rL   r#   rM   rN   c                 T    t        j                  | t        j                                y r-   )r   )ll_pdf_zugferd_profile_outparams_swiginit$new_ll_pdf_zugferd_profile_outparamsrV   s    r   rS   z)ll_pdf_zugferd_profile_outparams.__init__[  rC^  r#   N)r   r   r6   r   r   r   r   r   ,ll_pdf_zugferd_profile_outparams_version_get,ll_pdf_zugferd_profile_outparams_version_setrP  rS   'delete_ll_pdf_zugferd_profile_outparamsr   r$   r#   r   rb  rb  V  rha  r#   rb  c                 .    t        j                  | |      S r-   )r   #ll_pdf_zugferd_profile_outparams_fnrb  s     r   rb  rb  b  s    55c9EEr#   c                  *    t        j                         S r-   )r   new_pintr$   r#   r   rb  rb  s  s    ??r#   c                 ,    t        j                  |       S r-   )r   	copy_pint)r    s    r   rb  rb  v  s    E""r#   c                 ,    t        j                  |       S r-   )r   delete_pintr#  s    r   rb  rb  y  s    c""r#   c                 .    t        j                  | |      S r-   )r   pint_assign)rh  r    s     r   rb  rb  |  s    c5))r#   c                 ,    t        j                  |       S r-   )r   
pint_valuer#  s    r   rb  rb    s    S!!r#   c                 :    t        | t        j                         y )Nr  )printsysstderrr  s    r   logrb    s    	4cjj!r#   MUPDF_trace_director1c                 :    	 t        | |      S # t        $ r Y yw xY w)z`
    Like fz_lookup_metadata2() but returns None on error
    instead of raising exception.
    N)r0  r   r  rk  s     r   r0  r0    s&    
"8S11     	c                 :    	 t        | |      S # t        $ r Y yw xY w)z`
    Likepsd_lookup_metadata2() but returns None on error
    instead of raising exception.
    N)rF  r   rb  s     r   rF  rF    s&    
#Hc22 rb  c                    t        | t        j                  t        j                  f      rd}| }n^t        | t
              r| }d}nI| 4t        j                         \  }	}}|rdnt        j                         dd }nJ dt        |               |dk(  rt        j                         n|r|nt        j                  fd}
|rkridk7  rddk7  r_|j                  r$ |
|j                         j                  d	       n/|j                  r# |
|j                         j                  d
       t!        j"                         t         j$                  z   fd}dk7  rj                  d       |rs|j&                  }|sJ |r9 |t        j(                  |j*                        d       j                  d       dk(  rdnd} |t        j,                  |      d|       ndt        |t.              sIt        j,                  |      }t        j(                  |j*                        }||z   }|j1                           ||d       |rmt3              r	 |      }n}|r8t5        j6                  t        |      |      }|D ]  }j                  |        nj                  t9        |      dz          |rdk(  sdk(  rudk(  rdnd\  }}|j                  r)j                  | d|         |
|j                         n4|j                  r(j                  | d|         |
|j                         |dk(  rj;                         S y)a"  
    Shows an exception and/or backtrace.

    Alternative to `traceback.*` functions that print/return information about
    exceptions and backtraces, such as:

        * `traceback.format_exc()`
        * `traceback.format_exception()`
        * `traceback.print_exc()`
        * `traceback.print_exception()`

    Install as system default with:

        `sys.excepthook = lambda type_, exception, traceback: jlib.exception_info( exception)`

    Returns `None`, or the generated text if `file` is 'return'.

    Args:
        exception_or_traceback:
            `None`, a `BaseException`, a `types.TracebackType` (typically from
            an exception's `.__traceback__` member) or an `inspect.FrameInfo`.

            If `None` we use current exception from `sys.exc_info()` if set,
            otherwise the current backtrace from `inspect.stack()`.
        limit:
            As in `traceback.*` functions: `None` to show all frames, positive
            to show last `limit` frames, negative to exclude outermost `-limit`
            frames. Zero to not show any backtraces.
        file:
            As in `traceback.*` functions: file-like object to which we write
            output, or `sys.stderr` if `None`. Special value 'return' makes us
            return our output as a string.
        chain:
            As in `traceback.*` functions: if true (the default) we show
            chained exceptions as described in PEP-3134. Special value
            'because' reverses the usual ordering, showing higher-level
            exceptions first and joining with 'Because:' text.
        outer:
            If true (the default) we also show an exception's outer frames
            above the `catch` block (see next section for details). We
            use `outer=false` internally for chained exceptions to avoid
            duplication.
        show_exception_type:
            Controls whether exception text is prefixed by
            `f'{type(exception)}: '`. If callable we only include this prefix
            if `show_exception_type(exception)` is true. Otherwise if true (the
            default) we include the prefix for all exceptions (this mimcs the
            behaviour of `traceback.*` functions). Otherwise we exclude the
            prefix for all exceptions.
        _filelinefn:
            Internal only; makes us omit file:line: information to allow simple
            doctest comparison with expected output.

    Differences from `traceback.*` functions:

        Frames are displayed as one line in the form::

            <file>:<line>:<function>: <text>

        Filenames are displayed as relative to the current directory if
        applicable.

        Inclusion of outer frames:
            Unlike `traceback.*` functions, stack traces for exceptions include
            outer stack frames above the point at which an exception was caught
            - i.e. frames from the top-level <module> or thread creation to the
            catch block. [Search for 'sys.exc_info backtrace incomplete' for
            more details.]

            We separate the two parts of the backtrace using a marker line
            '^except raise:' where '^except' points upwards to the frame that
            caught the exception and 'raise:' refers downwards to the frame
            that raised the exception.

            So the backtrace for an exception looks like this::

                <file>:<line>:<fn>: <text>  [in root module.]
                ...                         [... other frames]
                <file>:<line>:<fn>: <text>  [in except: block where exception was caught.]
                ^except raise:              [marker line]
                <file>:<line>:<fn>: <text>  [in try: block.]
                ...                         [... other frames]
                <file>:<line>:<fn>: <text>  [where the exception was raised.]

    Examples:

        In these examples we use `file=sys.stdout` so we can check the output
        with `doctest`, and set `_filelinefn=0` so that the output can be
        matched easily. We also use `+ELLIPSIS` and `...` to match arbitrary
        outer frames from the doctest code itself.

        Basic handling of an exception:

            >>> def c():
            ...     raise Exception( 'c() failed')
            >>> def b():
            ...     try:
            ...         c()
            ...     except Exception as e:
            ...         exception_info( e, file=sys.stdout, _filelinefn=0)
            >>> def a():
            ...     b()

            >>> a() # doctest: +REPORT_UDIFF +ELLIPSIS
            Traceback (most recent call last):
                ...
                a(): b()
                b(): exception_info( e, file=sys.stdout, _filelinefn=0)
                ^except raise:
                b(): c()
                c(): raise Exception( 'c() failed')
            Exception: c() failed

        Handling of chained exceptions:

            >>> def e():
            ...     raise Exception( 'e(): deliberate error')
            >>> def d():
            ...     e()
            >>> def c():
            ...     try:
            ...         d()
            ...     except Exception as e:
            ...         raise Exception( 'c: d() failed') from e
            >>> def b():
            ...     try:
            ...         c()
            ...     except Exception as e:
            ...         exception_info( file=sys.stdout, chain=g_chain, _filelinefn=0)
            >>> def a():
            ...     b()

            With `chain=True` (the default), we output low-level exceptions
            first, matching the behaviour of `traceback.*` functions:

                >>> g_chain = True
                >>> a() # doctest: +REPORT_UDIFF +ELLIPSIS
                Traceback (most recent call last):
                    c(): d()
                    d(): e()
                    e(): raise Exception( 'e(): deliberate error')
                Exception: e(): deliberate error
                <BLANKLINE>
                The above exception was the direct cause of the following exception:
                Traceback (most recent call last):
                    ...
                    <module>(): a() # doctest: +REPORT_UDIFF +ELLIPSIS
                    a(): b()
                    b(): exception_info( file=sys.stdout, chain=g_chain, _filelinefn=0)
                    ^except raise:
                    b(): c()
                    c(): raise Exception( 'c: d() failed') from e
                Exception: c: d() failed

            With `chain='because'`, we output high-level exceptions first:
                >>> g_chain = 'because'
                >>> a() # doctest: +REPORT_UDIFF +ELLIPSIS
                Traceback (most recent call last):
                    ...
                    <module>(): a() # doctest: +REPORT_UDIFF +ELLIPSIS
                    a(): b()
                    b(): exception_info( file=sys.stdout, chain=g_chain, _filelinefn=0)
                    ^except raise:
                    b(): c()
                    c(): raise Exception( 'c: d() failed') from e
                Exception: c: d() failed
                <BLANKLINE>
                Because:
                Traceback (most recent call last):
                    c(): d()
                    d(): e()
                    e(): raise Exception( 'e(): deliberate error')
                Exception: e(): deliberate error

        Show current backtrace by passing `exception_or_traceback=None`:
            >>> def c():
            ...     exception_info( None, file=sys.stdout, _filelinefn=0)
            >>> def b():
            ...     return c()
            >>> def a():
            ...     return b()

            >>> a() # doctest: +REPORT_UDIFF +ELLIPSIS
            Traceback (most recent call last):
                ...
                <module>(): a() # doctest: +REPORT_UDIFF +ELLIPSIS
                a(): return b()
                b(): return c()
                c(): exception_info( None, file=sys.stdout, _filelinefn=0)

        Show an exception's `.__traceback__` backtrace:
            >>> def c():
            ...     raise Exception( 'foo') # raise
            >>> def b():
            ...     return c()  # call c
            >>> def a():
            ...     try:
            ...         b() # call b
            ...     except Exception as e:
            ...         exception_info( e.__traceback__, file=sys.stdout, _filelinefn=0)

            >>> a() # doctest: +REPORT_UDIFF +ELLIPSIS
            Traceback (most recent call last):
                ...
                a(): b() # call b
                b(): return c()  # call c
                c(): raise Exception( 'foo') # raise
    Nr   r   z*Unrecognised exception_or_traceback type: returnc           	      *    t        | d       y )NF)outershow_exception_type_filelinefn)exception_info)	exceptionrb  r  limitrl  rb  s    r   do_chainz exception_info.<locals>.do_chain  s     $7'	r#   becausezbecause-compactzF
The above exception was the direct cause of the following exception:
zE
During handling of the above exception, another exception occurred:
c                    |dk(  ry |rt        | t              sJ t        |       } |t        |       } | | d  } | D ]  }|\  }}}}}}	|r|d   j                         nd}|j	                        r|t              d  }|j	                  dt        j                         r|dd  }
rj                  d| d| d| d| d	       j                  d| d| d        y )	Nr   r   r      z    :z(): 
)	r   r  reversedstrip
startswithr  osrL  r  )framesreverserb  framer  r  r  r2  r
  r   rb  cwdrl  s             r   output_framesz%exception_info.<locals>.output_frames  s    A:vt,,v&F6]FeVW%F 
	8E5:2AxvtU&*47==?D""C(#SXY/""axL1#QR=		T(1TF!F84vRHI		T&dV267
	8r#   z#Traceback (most recent call last):
T)rb  rb  z    ^except raise:
Frb  )rb  rb  )r    zBecause:z0Because: error occurred handling this exception:)r   typesTracebackTypeinspect	FrameInfoBaseExceptionrb  exc_infor  r   ioStringIOrb  	__cause__r  __context__rb  getcwdrL  __traceback__getouterframestb_framegetinnerframesr  rb  callable	tracebackformat_exception_onlyr  getvalue)exception_or_tracebackrb  r  r  rb  rb  rb  rb  tb_rb  rb  limit2innershow_exception_type2linesr  prepostrb  rl  s    ` ` ``            @@r   rb  rb    s   v )E,?,?ARAR+ST	#	+]	;*			'<<>9bTGMMOAB$7]>tDZ?[>\]]xkkmd

	 	 Uu	1e?P6Pi))*IIab""i++,II`a
))+
C8* z		9:((BIw55r{{CTY^_		121*Q$F71126VTr4(..r2..r{{;U]

2t59'(#6	#B #6 33T)_iPE !		4 ! IIsI-.ey(E5F,F$)Y$6LI	TII#htf-.i))*""II#NtfUVi++,x||~ r#   c                 N    t               }t        | |||||      }|j                  S )ze
    Wrapper for out-params of fz_bidi_fragment_text().
    Returns: ::fz_bidi_direction baseDir
    )r]  r]  r  )r
  r  r  r  r"  r]  rets          r   r  r    s-    
 34I
/gxeU^
_Cr#   c                 $    t        | ||||      }|S )za
    Class-aware helper for out-params of fz_bidi_fragment_text() [fz_bidi_fragment_text()].
    )r  )r
  r  r  r  r"  r  s         r   "fz_bidi_fragment_text_outparams_fnrb    s     'tWhUKGNr#   c                     t               }t        | |      }|j                  |j                  |j                  |j
                  fS )ze
    Wrapper for out-params of fz_bitmap_details().
    Returns: int w, int h, int n, int stride
    )r]  r(]  r7  r:  r[   rF  )r  r]  rb  s      r   r  r     s9    
 /0I
+FI
>C;;	Y[[)2B2BBBr#   c                 B    t        | j                        \  }}}}||||fS )zY
    Class-aware helper for out-params of fz_bitmap_details() [fz_bitmap_details()].
    r  r+  r  s        r   fz_bitmap_details_outparams_fnrb  	  s*     +6+<+<=OAq!VaF?r#   c                 J    t               }t        | |      }||j                  fS )za
    Wrapper for out-params of fz_buffer_extract().
    Returns: size_t, unsigned char *data
    )r*]  r5]  r?   rb  r]  rb  s      r   r!  r!    s'    
 /0I
+C
;C	r#   c                 :    t        | j                        \  }}||fS )zY
    Class-aware helper for out-params of fz_buffer_extract() [fz_buffer_extract()].
    r!  r+  )rb  rb  r?   s      r   fz_buffer_extract_outparams_fnrb    s      %S^^4IC9r#   c                 J    t               }t        | |      }||j                  fS )zb
    Wrapper for out-params of fz_buffer_storage().
    Returns: size_t, unsigned char *datap
    )r9]  rD]  r%  rb  s      r   r#  r#  &  s'    
 /0I
+C
;C	r#   c                 :    t        | j                        \  }}||fS )zY
    Class-aware helper for out-params of fz_buffer_storage() [fz_buffer_storage()].
    r#  r+  )rb  rb  r%  s      r   fz_buffer_storage_outparams_fnr c  /  s      &cnn5JC:r#   c                 J    t               }t        | |      }||j                  fS )zO
    Wrapper for out-params of fz_chartorune().
    Returns: int, int rune
    )rF]  rQ]  r5  )r  r]  rb  s      r   r3  r3  9  s'    
 +,I
'Y
7C	r#   c                 &    t        |       \  }}||fS )zQ
    Class-aware helper for out-params of fz_chartorune() [fz_chartorune()].
    )r3  )r  rb  r5  s      r   fz_chartorune_outparams_fnrc  B  s     !%IC9r#   c                 H    t               }t        | ||      }|j                  S )zL
    Wrapper for out-params of fz_clamp_color().
    Returns: float out
    )rT]  r_]  rl  )rM  in_r]  rb  s       r   r=  r=  L  s$    
 ,-I
(S)
<C==r#   c                 2    t        | j                  |      }|S )zS
    Class-aware helper for out-params of fz_clamp_color() [fz_clamp_color()].
    r=  r+  )rM  rc  rl  s      r   fz_clamp_color_outparams_fnrc  U  s     BMM3
/CJr#   c                 N    t               }t        | |||||      }|j                  S )zM
    Wrapper for out-params of fz_convert_color().
    Returns: float dv
    )ra]  rl]  r  )r  r  r  is_r~  r]  rb  s          r   r  r  _  s*    
 ./I
*2r2sFI
NC<<r#   c                 |    t        | j                  ||j                  |j                  |j                               }|S )zW
    Class-aware helper for out-params of fz_convert_color() [fz_convert_color()].
    r  r+  ri+  )r  r  r  r
c  r~  r  s         r   fz_convert_color_outparams_fnrc  h  s.     
R]]Bs~~vO`	aBIr#   c                  H    t               } t        |       }|| j                  fS )z[
    Wrapper for out-params of fz_convert_error().
    Returns: const char *, int code
    )rn]  rx]  r  r]  rb  s     r   r  r  r  s%    
 ./I
*9
5C	r#   c                  $    t               \  } }| |fS )zW
    Class-aware helper for out-params of fz_convert_error() [fz_convert_error()].
    )r  )rb  r  s     r   fz_convert_error_outparams_fnrc  {  s     $%IC9r#   c                 N    t               }t        | |||||      }|j                  S )z`
    Wrapper for out-params of fz_convert_separation_colors().
    Returns: float dst_color
    )r{]  r]  r  )r  r  r  r  r  r]  rb  s          r   r  r    s/    
 :;I
6vy(TZ\hjs
tCr#   c                 |    t        | j                  ||j                  |j                  |j                               }|S )zo
    Class-aware helper for out-params of fz_convert_separation_colors() [fz_convert_separation_colors()].
    r  r+  ri+  )r  r  r  r  r  r  s         r   )fz_convert_separation_colors_outparams_fnrc    sL     00A0A9hNaNacictct  wC  wL  wL  wN  OIr#   c                 R    t               }t        | |||||      }||j                  fS )zh
    Wrapper for out-params of fz_decomp_image_from_stream().
    Returns: fz_pixmap *, int l2extra
    )r]  r]  r]  )r  r  rZ  r[  r\  r]  rb  s          r   rX  rX    s3    
 9:I
5c5'7T\^g
hC	!!!!r#   c                     t        | j                  |j                  |j                         ||      \  }}t        |      |fS )zm
    Class-aware helper for out-params of fz_decomp_image_from_stream() [fz_decomp_image_from_stream()].
    rX  r+  ri+  r9  )r  r  rZ  r[  r\  rb  r]  s          r   (fz_decomp_image_from_stream_outparams_fnrc    s?     2#..%BRBRT[TdTdTfhoqyzLCC='!!r#   c                 L    t               }t        | ||||      }|j                  S )zW
    Wrapper for out-params of fz_deflate().
    Returns: size_t compressed_length
    )r]  r]  r{  )r  r  r|  rN  r]  rb  s         r   ry  ry    s*    
 ()I
$T6=%
SC&&&r#   c                 "    t        | |||      }|S )zK
    Class-aware helper for out-params of fz_deflate() [fz_deflate()].
    )ry  )r  r  r|  rN  r{  s        r   fz_deflate_outparams_fnrc    s     &dFM5Ir#   c                 L    t               }t        | ||      }||j                  fS )zf
    Wrapper for out-params of fz_dom_get_attribute().
    Returns: const char *, const char *att
    )r]  r]  r  )r  r   r]  rb  s       r   r  r    s)    
 23I
.sAy
AC	r#   c                 <    t        | j                  |      \  }}||fS )z_
    Class-aware helper for out-params of fz_dom_get_attribute() [fz_dom_get_attribute()].
    r  r+  )r  r   rb  r  s       r   !fz_dom_get_attribute_outparams_fnr c    s!     's~~q9HC8Or#   c                 J    t               }t        | |      }||j                  fS )zM
    Wrapper for out-params of fz_drop_imp().
    Returns: int, int refs
    )r]  r]  r  r  r]  rb  s      r   rG  rG    '    
 )*I
%a
3C	r#   c                 J    t               }t        | |      }||j                  fS )zS
    Wrapper for out-params of fz_drop_imp16().
    Returns: int, int16_t refs
    )r]  r]  r  r"c  s      r   rK  rK    '    
 +,I
'9
5C	r#   c                 P    t               }t        | ||||      }||j                  fS )zn
    Wrapper for out-params of fz_encode_character_with_fallback().
    Returns: int, ::fz_font *out_font
    )r]  r]  r  )r  r  r  r0	  r]  rb  s         r   r  r    s1    
 ?@I
;D'6S[]f
gC	""""r#   c                 d    t        | j                  |||      \  }}|t        t        |            fS )zy
    Class-aware helper for out-params of fz_encode_character_with_fallback() [fz_encode_character_with_fallback()].
    r  r+  r(2  r  )r  r  r  r0	  rb  r  s         r   .fz_encode_character_with_fallback_outparams_fnr)c    s3     9'SY[cdMC1222r#   c                  H    t               } t        |       }|| j                  fS )z_
    Wrapper for out-params of fz_error_callback().
    Returns: fz_error_cb *, void *user
    )r]  r]  r  rc  s     r   r  r    s%    
 /0I
+I
6C	r#   c                  $    t               \  } }| |fS )zY
    Class-aware helper for out-params of fz_error_callback() [fz_error_callback()].
    )r  rb  r  s     r   fz_error_callback_outparams_fnr-c    s     %&IC9r#   c                 L    t               }t        | ||||      }|j                  S )zN
    Wrapper for out-params of fz_eval_function().
    Returns: float out
    )r]  r]  rl  r3  rc  r  r  r]  rb  s         r   r  r  	  s(    
 ./I
*4eVY
OC==r#   c                 6    t        | j                  |||      }|S )zW
    Class-aware helper for out-params of fz_eval_function() [fz_eval_function()].
    r  r+  r3  rc  r  r  rl  s        r   fz_eval_function_outparams_fnr3c    s     doosE6
BCJr#   c                 J    t               }t        | |||      }|j                  S )zY
    Wrapper for out-params of fz_fill_pixmap_with_color().
    Returns: float color
    )r]  r]  r  )r\  r  r  r]  rb  s        r   r  r    s'    
 78I
3C\S\
]C??r#   c                 d    t        | j                  |j                  |j                               }|S )zi
    Class-aware helper for out-params of fz_fill_pixmap_with_color() [fz_fill_pixmap_with_color()].
    r  r+  ri+  )r\  r  r  r  s       r   &fz_fill_pixmap_with_color_outparams_fnr7c  %  s+     )9N9NP\PePePghELr#   c                 d    t               }t        | |||      }||j                  |j                  fS )zf
    Wrapper for out-params of fz_get_pixmap_from_image().
    Returns: fz_pixmap *, int w, int h
    )r]  r
^  r7  r:  )r  rZ  rW  r]  rb  s        r   rm  rm  /  s1    
 67I
25'3	
RC	Y[[((r#   c                     t        | j                  |j                         |j                               \  }}}t        |      ||fS )zg
    Class-aware helper for out-params of fz_get_pixmap_from_image() [fz_get_pixmap_from_image()].
    rm  r+  ri+  r9  )r  rZ  rW  rb  r7  r:  s         r   %fz_get_pixmap_from_image_outparams_fnr;c  8  sB     ,E,<,<g>N>N>PRUR^R^R`aICAC=!Qr#   c                 L    t               }t        | ||      }||j                  fS )zN
    Wrapper for out-params of fz_getopt().
    Returns: int, char *nargv
    )r^  r^  ru  )rt  rv  r]  rb  s       r   rr  rr  B  s)    
 '(I
#E4
;C	r#   c                 (    t        | |      \  }}||fS )zI
    Class-aware helper for out-params of fz_getopt() [fz_getopt()].
    )rr  )rt  rv  rb  ru  s       r   fz_getopt_outparams_fnr>c  K  s     eT*JC:r#   c                 N    t               }t        | |||      }||j                  fS )zS
    Wrapper for out-params of fz_getopt_long().
    Returns: int, char *nargv
    )r^  r#^  ru  )rt  rv  rz  r]  rb  s        r   rx  rx  U  s+    
 ,-I
(h	
JC	r#   c                 >    t        | ||j                        \  }}||fS )zS
    Class-aware helper for out-params of fz_getopt_long() [fz_getopt_long()].
    )rx  r+  )rt  rv  rz  rb  ru  s        r   fz_getopt_long_outparams_fnrAc  ^  s&     #5$0C0CDJC:r#   c                 L    t               }t        | ||      }||j                  fS )zI
    Wrapper for out-params of fz_grisu().
    Returns: int, int exp
    )r%^  r/^  r  )r  r<  r]  rb  s       r   r  r  h  s)    
 &'I
"1a
3C	r#   c                 (    t        | |      \  }}||fS )zG
    Class-aware helper for out-params of fz_grisu() [fz_grisu()].
    )r  )r  r<  rb  r  s       r   fz_grisu_outparams_fnrDc  q  s     1a HC8Or#   c                 L    t               }t        | ||      }||j                  fS )zV
    Wrapper for out-params of fz_has_option().
    Returns: int, const char *val
    )r1^  r;^  r  )r  rk  r]  rb  s       r   r  r  {  s)    
 +,I
'c9
=C	r#   c                 (    t        | |      \  }}||fS )zQ
    Class-aware helper for out-params of fz_has_option() [fz_has_option()].
    )r  )r  rk  rb  r  s       r   fz_has_option_outparams_fnrGc    s      c*HC8Or#   c                 ^    t               }t        | |      }|j                  |j                  fS )zZ
    Wrapper for out-params of fz_image_resolution().
    Returns: int xres, int yres
    )r=^  rJ^  rL  rO  )r  r]  rb  s      r   r  r    s+    
 12I
-eY
?C>>9>>))r#   c                 :    t        | j                        \  }}||fS )z]
    Class-aware helper for out-params of fz_image_resolution() [fz_image_resolution()].
    r  r+  r  s      r    fz_image_resolution_outparams_fnrKc    s"     ((8(89JD$:r#   c                 J    t               }t        | |      }||j                  fS )zP
    Wrapper for out-params of fz_keep_imp().
    Returns: void *, int refs
    )rL^  rV^  r  r"c  s      r   r  r    r#c  r#   c                 J    t               }t        | |      }||j                  fS )zV
    Wrapper for out-params of fz_keep_imp16().
    Returns: void *, int16_t refs
    )rX^  rb^  r  r"c  s      r   r  r    r%c  r#   c                 J    t               }t        | |      }||j                  fS )zW
    Wrapper for out-params of fz_keep_imp_locked().
    Returns: void *, int refs
    )rd^  ro^  r  r"c  s      r   r  r    s'    
 01I
,Q	
:C	r#   c                 J    t               }t        | |      }||j                  fS )zh
    Wrapper for out-params of fz_lookup_base14_font().
    Returns: const unsigned char *, int len
    )rq^  r{^  r  )r   r]  rb  s      r   r  r    s'    
 34I
/i
@C	r#   c                 &    t        |       \  }}||fS )za
    Class-aware helper for out-params of fz_lookup_base14_font() [fz_lookup_base14_font()].
    )r  )r   rb  r  s      r   "fz_lookup_base14_font_outparams_fnrQc    s     (-HC8Or#   c                 N    t               }t        | |||      }||j                  fS )zi
    Wrapper for out-params of fz_lookup_builtin_font().
    Returns: const unsigned char *, int len
    )r}^  r^  r  )r   r  r  r]  rb  s        r   r   r     s+    
 45I
0tVY
OC	r#   c                 *    t        | ||      \  }}||fS )zc
    Class-aware helper for out-params of fz_lookup_builtin_font() [fz_lookup_builtin_font()].
    )r   )r   r  r  rb  r  s        r   #fz_lookup_builtin_font_outparams_fnrTc    s     )tV<HC8Or#   c                 `    t               }t        | |      }||j                  |j                  fS )zp
    Wrapper for out-params of fz_lookup_cjk_font().
    Returns: const unsigned char *, int len, int index
    )r^  r^  r  r   )r   r]  rb  s      r   r#  r#    s-    
 01I
,Xy
AC	y..r#   c                 *    t        |       \  }}}|||fS )z[
    Class-aware helper for out-params of fz_lookup_cjk_font() [fz_lookup_cjk_font()].
    )r#  )r   rb  r  r   s       r   fz_lookup_cjk_font_outparams_fnrWc    s      ,H5OCeU?r#   c                 `    t               }t        | |      }||j                  |j                  fS )z~
    Wrapper for out-params of fz_lookup_cjk_font_by_language().
    Returns: const unsigned char *, int len, int subfont
    )r^  r^  r  r  )r(  r]  rb  s      r   r&  r&    s/    
 <=I
8y
IC	y0000r#   c                 *    t        |       \  }}}|||fS )zs
    Class-aware helper for out-params of fz_lookup_cjk_font_by_language() [fz_lookup_cjk_font_by_language()].
    )r&  )r(  rb  r  r  s       r   +fz_lookup_cjk_font_by_language_outparams_fnrZc    s"     :$?CgWr#   c                  H    t               } t        |       }|| j                  fS )zl
    Wrapper for out-params of fz_lookup_noto_boxes_font().
    Returns: const unsigned char *, int len
    )r^  r^  r  rc  s     r   r4  r4    %    
 78I
3I
>C	r#   c                  $    t               \  } }| |fS )zi
    Class-aware helper for out-params of fz_lookup_noto_boxes_font() [fz_lookup_noto_boxes_font()].
    )r4  rb  r  s     r   &fz_lookup_noto_boxes_font_outparams_fnr_c         ,-HC8Or#   c                  H    t               } t        |       }|| j                  fS )zl
    Wrapper for out-params of fz_lookup_noto_emoji_font().
    Returns: const unsigned char *, int len
    )r^  r^  r  rc  s     r   r7  r7    r\c  r#   c                  $    t               \  } }| |fS )zi
    Class-aware helper for out-params of fz_lookup_noto_emoji_font() [fz_lookup_noto_emoji_font()].
    )r7  r^c  s     r   &fz_lookup_noto_emoji_font_outparams_fnrcc  $  r`c  r#   c                 b    t               }t        | ||      }||j                  |j                  fS )zs
    Wrapper for out-params of fz_lookup_noto_font().
    Returns: const unsigned char *, int len, int subfont
    )r^  r^  r  r  )r  r(  r]  rb  s       r   r9  r9  .  s1    
 12I
-fdI
FC	y0000r#   c                 ,    t        | |      \  }}}|||fS )z]
    Class-aware helper for out-params of fz_lookup_noto_font() [fz_lookup_noto_font()].
    )r9  )r  r(  rb  r  r  s        r    fz_lookup_noto_font_outparams_fnrfc  7  s$     /vt<CgWr#   c                  H    t               } t        |       }|| j                  fS )zk
    Wrapper for out-params of fz_lookup_noto_math_font().
    Returns: const unsigned char *, int len
    )r^  r^  r  rc  s     r   r<  r<  A  s%    
 67I
29
=C	r#   c                  $    t               \  } }| |fS )zg
    Class-aware helper for out-params of fz_lookup_noto_math_font() [fz_lookup_noto_math_font()].
    )r<  r^c  s     r   %fz_lookup_noto_math_font_outparams_fnric  J  s     +,HC8Or#   c                  H    t               } t        |       }|| j                  fS )zl
    Wrapper for out-params of fz_lookup_noto_music_font().
    Returns: const unsigned char *, int len
    )r^  r^  r  rc  s     r   r>  r>  T  r\c  r#   c                  $    t               \  } }| |fS )zi
    Class-aware helper for out-params of fz_lookup_noto_music_font() [fz_lookup_noto_music_font()].
    )r>  r^c  s     r   &fz_lookup_noto_music_font_outparams_fnrlc  ]  r`c  r#   c                  H    t               } t        |       }|| j                  fS )zn
    Wrapper for out-params of fz_lookup_noto_symbol1_font().
    Returns: const unsigned char *, int len
    )r^  r^  r  rc  s     r   rC  rC  g  %    
 9:I
5i
@C	r#   c                  $    t               \  } }| |fS )zm
    Class-aware helper for out-params of fz_lookup_noto_symbol1_font() [fz_lookup_noto_symbol1_font()].
    )rC  r^c  s     r   (fz_lookup_noto_symbol1_font_outparams_fnrpc  p       ./HC8Or#   c                  H    t               } t        |       }|| j                  fS )zn
    Wrapper for out-params of fz_lookup_noto_symbol2_font().
    Returns: const unsigned char *, int len
    )r^  r^  r  rc  s     r   rF  rF  z  rnc  r#   c                  $    t               \  } }| |fS )zm
    Class-aware helper for out-params of fz_lookup_noto_symbol2_font() [fz_lookup_noto_symbol2_font()].
    )rF  r^c  s     r   (fz_lookup_noto_symbol2_font_outparams_fnrtc    rqc  r#   c                 N    t               }t        | |||      }||j                  fS )zr
    Wrapper for out-params of fz_new_deflated_data().
    Returns: unsigned char *, size_t compressed_length
    )r _  r
_  r{  )r  r|  rN  r]  rb  s        r   rJ  rJ    s-    
 23I
.v}eY
WC	++++r#   c                 *    t        | ||      \  }}||fS )z_
    Class-aware helper for out-params of fz_new_deflated_data() [fz_new_deflated_data()].
    )rJ  )r  r|  rN  rb  r{  s        r   !fz_new_deflated_data_outparams_fnrwc    s$     5V]ERC	!!!r#   c                 L    t               }t        | ||      }||j                  fS )z~
    Wrapper for out-params of fz_new_deflated_data_from_buffer().
    Returns: unsigned char *, size_t compressed_length
    )r_  r_  r{  )r*  rN  r]  rb  s       r   rM  rM    s+    
 >?I
:65)
TC	++++r#   c                 <    t        | j                  |      \  }}||fS )zw
    Class-aware helper for out-params of fz_new_deflated_data_from_buffer() [fz_new_deflated_data_from_buffer()].
    )rM  r+  )r*  rN  rb  r{  s       r   -fz_new_deflated_data_from_buffer_outparams_fnrzc    s*     AARARTYZC	!!!r#   c                 d    t               }t        | |||      }||j                  |j                  fS )zt
    Wrapper for out-params of fz_new_display_list_from_svg().
    Returns: fz_display_list *, float w, float h
    )r_  r%_  r7  r:  )rb  r_  r
  r]  rb  s        r   r]  r]    s1    
 :;I
6sHc9
UC	Y[[((r#   c                 h    t        | j                  ||j                        \  }}}t        |      ||fS )zo
    Class-aware helper for out-params of fz_new_display_list_from_svg() [fz_new_display_list_from_svg()].
    r]  r+  rd0  )rb  r_  r
  rb  r7  r:  s         r   )fz_new_display_list_from_svg_outparams_fnr~c    s2     0#..YICAq!##r#   c                 f    t               }t        | ||||      }||j                  |j                  fS )zx
    Wrapper for out-params of fz_new_display_list_from_svg_xml().
    Returns: fz_display_list *, float w, float h
    )r'_  r3_  r7  r:  )rc  r  r_  r
  r]  rb  s         r   ra  ra    s5    
 >?I
:63RUW`
aC	Y[[((r#   c                 ~    t        | j                  |j                  ||j                        \  }}}t        |      ||fS )zw
    Class-aware helper for out-params of fz_new_display_list_from_svg_xml() [fz_new_display_list_from_svg_xml()].
    ra  r+  rd0  )rc  r  r_  r
  rb  r7  r:  s          r   -fz_new_display_list_from_svg_xml_outparams_fnrc    s>     4F4E4Es~~W_adaoaopICAq!##r#   c                 L    t               }t        | ||      }||j                  fS )zt
    Wrapper for out-params of fz_new_draw_device_with_options().
    Returns: fz_device *, ::fz_pixmap *pixmap
    )r5_  r@_  r  )r  rq
  r]  rb  s       r   r  r    s+    
 =>I
9'8Y
WC	    r#   c                     t        | j                         |j                               \  }}t        |      t        |      fS )zu
    Class-aware helper for out-params of fz_new_draw_device_with_options() [fz_new_draw_device_with_options()].
    )r  ri+  r.  r9  )r  rq
  rb  r  s       r   ,fz_new_draw_device_with_options_outparams_fnrc    s:     5W5E5E5GIZIZI\]KCC=(F+++r#   c                 R    t               }t        | |||||      }||j                  fS )za
    Wrapper for out-params of fz_new_svg_device_with_id().
    Returns: fz_device *, int id
    )rB_  rL_  rM  )rl  r  r  r  r  r]  rb  s          r   r  r    s2    
 78I
3C[R]_kmv
wC	r#   c                 T    t        | j                  ||||      \  }}t        |      |fS )zi
    Class-aware helper for out-params of fz_new_svg_device_with_id() [fz_new_svg_device_with_id()].
    r  r+  r.  )rl  r  r  r  r  rb  rM  s          r   &fz_new_svg_device_with_id_outparams_fnrc    s/     +3>>:{T_amnGCC="r#   c                 N    t               }t        | |||      }||j                  fS )z`
    Wrapper for out-params of fz_new_test_device().
    Returns: fz_device *, int is_color
    )rN_  rX_  r  )r  r  r  r]  rb  s        r   r  r    s-    
 01I
,Yi
XC	""""r#   c                 P    t        | ||j                        \  }}t        |      |fS )z[
    Class-aware helper for out-params of fz_new_test_device() [fz_new_test_device()].
    )r  r+  r.  )r  r  r  rb  r  s        r   fz_new_test_device_outparams_fnrc    s+     *)Wk>T>TUMCC=(""r#   c                 L    t               }t        | ||      }||j                  fS )zi
    Wrapper for out-params of fz_open_image_decomp_stream().
    Returns: fz_stream *, int l2factor
    )rZ_  rd_  r\  )r   r  r]  rb  s       r   r  r    s+    
 9:I
5eUI
NC	""""r#   c                 b    t        | j                  |j                        \  }}t        |      |fS )zm
    Class-aware helper for out-params of fz_open_image_decomp_stream() [fz_open_image_decomp_stream()].
    r  r+  r=  )r   r  rb  r\  s       r   (fz_open_image_decomp_stream_outparams_fnrc    s/     353C3CUEUEUVMCC=(""r#   c                 J    t               }t        | |      }||j                  fS )zu
    Wrapper for out-params of fz_open_image_decomp_stream_from_buffer().
    Returns: fz_stream *, int l2factor
    )rf_  rp_  r\  )r   r]  rb  s      r   r  r  %  s*    
 EFI
A%
SC	""""r#   c                 L    t        | j                        \  }}t        |      |fS )z
    Class-aware helper for out-params of fz_open_image_decomp_stream_from_buffer() [fz_open_image_decomp_stream_from_buffer()].
    r  r+  r=  )r   rb  r\  s      r   4fz_open_image_decomp_stream_from_buffer_outparams_fnrc  .  s'     ?u?O?OPMCC=(""r#   c                 L    t               }t        | ||      }||j                  fS )zh
    Wrapper for out-params of fz_page_presentation().
    Returns: fz_transition *, float duration
    )rr_  r}_  r  r'
  r  r]  rb  s       r   r  r  8  s+    
 23I
.tZ
KC	""""r#   c                 j    t        | j                  |j                               \  }}t        |      |fS )z_
    Class-aware helper for out-params of fz_page_presentation() [fz_page_presentation()].
    r  r+  ri+  ri?  r'
  r  rb  r  s       r   !fz_page_presentation_outparams_fnrc  A  s1     ,DOOZ=P=P=RSMCh&&r#   c           
      R    t               }t        | |||||||      }|j                  S )z`
    Wrapper for out-params of fz_paint_shade().
    Returns: ::fz_shade_color_cache *cache
    )r_  r_  r  )	r  r  rW  r  r  r  r  r]  rb  s	            r   r  r  K  s1    
 ,-I
(S$VZ\_aj
kC??r#   c           	          t        | j                  |j                  |j                         |j                  |j                         |j                         |j                        }t        t	        |            S )zS
    Class-aware helper for out-params of fz_paint_shade() [fz_paint_shade()].
    r  r+  ri+  rR<  ll_fz_keep_shade_color_cacher  s           r   fz_paint_shade_outparams_fnrc  T  s     e..0F0FX\XgXgiui~i~  jA  CG  CP  CP  CR  TW  Tb  Tb  cE95ABBr#   c                 b    t               }t        | ||      }||j                  |j                  fS )zb
    Wrapper for out-params of fz_parse_page_range().
    Returns: const char *, int a, int b
    )r_  r_  r  r  )r<  r[   r]  rb  s       r   r  r  ^  s/    
 12I
-aI
>C	Y[[((r#   c                 ,    t        | |      \  }}}|||fS )z]
    Class-aware helper for out-params of fz_parse_page_range() [fz_parse_page_range()].
    )r  )r<  r[   rb  r  r  s        r    fz_parse_page_range_outparams_fnrc  g  s"     'q!,ICA19r#   c                 N    t               }t        | |||      }||j                  fS )z[
    Wrapper for out-params of fz_read_best().
    Returns: fz_buffer *, int truncated
    )r_  r_  rD  )r  r>  rE  r]  rb  s        r   rB  rB  q  s-    
 *+I
&sGZ
KC	####r#   c                 P    t        | j                  ||      \  }}t        |      |fS )zO
    Class-aware helper for out-params of fz_read_best() [fz_read_best()].
    rB  r+  r,  )r  r>  rE  rb  rD  s        r   fz_read_best_outparams_fnrc  z  s)     %S^^WjINCC=)##r#   c                 b    t               }t        | ||      }||j                  |j                  fS )zc
    Wrapper for out-params of fz_resolve_link().
    Returns: fz_location, float xp, float yp
    )r_  r_  r  r  rO   r"  r]  rb  s       r   r  r    s/    
 -.I
)#sI
>C	ill**r#   c                 R    t        | j                  |      \  }}}t        |      ||fS )zU
    Class-aware helper for out-params of fz_resolve_link() [fz_resolve_link()].
    r  r+  rP5  rO   r"  rb  r  r  s        r   fz_resolve_link_outparams_fnrc    s+     %S^^S9KCRc?B""r#   c           	      T    t               }t        | ||||||      }||j                  fS )zc
    Wrapper for out-params of fz_search_chapter_page_number().
    Returns: int, int hit_mark
    )r_  r_  r5  )rO   r$
  r'
  rV  r6  r7  r]  rb  s           r   r3  r3    s6    
 ;<I
7WdFT\^egp
qC	""""r#   c                 `    t        | j                  ||||j                         |      \  }}||fS )zq
    Class-aware helper for out-params of fz_search_chapter_page_number() [fz_search_chapter_page_number()].
    r3  r+  ri+  )rO   r$
  r'
  rV  r6  r7  rb  r5  s           r   *fz_search_chapter_page_number_outparams_fnrc    s6     5S^^WdTZ\d\m\m\oqxyMC=r#   c                 P    t               }t        | ||||      }||j                  fS )z\
    Wrapper for out-params of fz_search_display_list().
    Returns: int, int hit_mark
    )r_  r_  r5  )r  rV  r6  r7  r]  rb  s         r   r<  r<    s0    
 45I
0vxR[
\C	""""r#   c                 \    t        | j                  ||j                         |      \  }}||fS )zc
    Class-aware helper for out-params of fz_search_display_list() [fz_search_display_list()].
    r<  r+  ri+  )r  rV  r6  r7  rb  r5  s         r   #fz_search_display_list_outparams_fnrc    s0     .doovxGXGXGZ\cdMC=r#   c                 P    t               }t        | ||||      }||j                  fS )zT
    Wrapper for out-params of fz_search_page().
    Returns: int, int hit_mark
    )r_  r_  r5  )r'
  rV  r6  r7  r]  rb  s         r   rB  rB    s/    
 ,-I
(vx)
TC	""""r#   c                 \    t        | j                  ||j                         |      \  }}||fS )zS
    Class-aware helper for out-params of fz_search_page() [fz_search_page()].
    rB  r+  ri+  )r'
  rV  r6  r7  rb  r5  s         r   fz_search_page_outparams_fnrc    s0     &doovx?P?P?RT[\MC=r#   c                 R    t               }t        | |||||      }||j                  fS )z[
    Wrapper for out-params of fz_search_page_number().
    Returns: int, int hit_mark
    )r_  r_  r5  )rO   r  rV  r6  r7  r]  rb  s          r   rK  rK    s2    
 34I
/VVXwXa
bC	""""r#   c                 ^    t        | j                  |||j                         |      \  }}||fS )za
    Class-aware helper for out-params of fz_search_page_number() [fz_search_page_number()].
    rK  r+  ri+  )rO   r  rV  r6  r7  rb  r5  s          r   "fz_search_page_number_outparams_fnrc    s2     -S^^VVXM^M^M`bijMC=r#   c                 P    t               }t        | ||||      }||j                  fS )zZ
    Wrapper for out-params of fz_search_stext_page().
    Returns: int, int hit_mark
    )r_  r_  r5  )r
  rV  r6  r7  r]  rb  s         r   rQ  rQ    s0    
 23I
.tVXwPY
ZC	""""r#   c                 \    t        | j                  ||j                         |      \  }}||fS )z_
    Class-aware helper for out-params of fz_search_stext_page() [fz_search_stext_page()].
    rQ  r+  ri+  )r
  rV  r6  r7  rb  r5  s         r   !fz_search_stext_page_outparams_fnrc    s0     ,DOOVXEVEVEXZabMC=r#   c                 N    t               }t        | |||||      }|j                  S )z\
    Wrapper for out-params of fz_separation_equivalent().
    Returns: float dst_color
    )r_  r_  r  )rI  r  r  r
  r  r]  rb  s          r   re  re    s-    
 67I
24fc<Yb
cCr#   c                 |    t        | j                  ||j                  |j                  |j                               }|S )zg
    Class-aware helper for out-params of fz_separation_equivalent() [fz_separation_equivalent()].
    re  r+  ri+  )rI  r  r  r
  r  r  s         r   %fz_separation_equivalent_outparams_fnrc    s7     ,DOOS&BSBSUXUcUceqezeze|}Ir#   c                 J    t               }t        | |      }||j                  fS )zT
    Wrapper for out-params of fz_store_scavenge().
    Returns: int, int phase
    )r_  r	`  r   r   r]  rb  s      r   r  r  	  s'    
 /0I
+D)
<C	r#   c                 &    t        |       \  }}||fS )zY
    Class-aware helper for out-params of fz_store_scavenge() [fz_store_scavenge()].
    )r  r   rb  r   s      r   fz_store_scavenge_outparams_fnrc    s     &d+JC:r#   c                 J    t               }t        | |      }||j                  fS )z]
    Wrapper for out-params of fz_store_scavenge_external().
    Returns: int, int phase
    )r`  r`  r   rc  s      r   r   r     s'    
 89I
4T9
EC	r#   c                 &    t        |       \  }}||fS )zk
    Class-aware helper for out-params of fz_store_scavenge_external() [fz_store_scavenge_external()].
    )r   rc  s      r   'fz_store_scavenge_external_outparams_fnrc  %  s     /t4JC:r#   c                 J    t               }t        | |      }||j                  fS )zS
    Wrapper for out-params of fz_strsep().
    Returns: char *, char *stringp
    )r`  r#`  r5   )r6   r]  rb  s      r   r3   r3   /  s)    
 '(I
#E9
5C	!!!!r#   c                 &    t        |       \  }}||fS )zI
    Class-aware helper for out-params of fz_strsep() [fz_strsep()].
    )r3   )r6   rb  r5   s      r   fz_strsep_outparams_fnrc  8  s      &LC<r#   c                 J    t               }t        | |      }||j                  fS )zM
    Wrapper for out-params of fz_strtof().
    Returns: float, char *es
    )r%`  r/`  r:   )r<  r]  rb  s      r   r8   r8   B  s'    
 '(I
#Ay
1C	r#   c                 &    t        |       \  }}||fS )zI
    Class-aware helper for out-params of fz_strtof() [fz_strtof()].
    )r8   )r<  rb  r:   s      r   fz_strtof_outparams_fnrc  K  s     1oGC7Nr#   c                 P    t               }t        | ||||      }||j                  fS )z`
    Wrapper for out-params of fz_subset_cff_for_gids().
    Returns: fz_buffer *, int gids
    )r1`  r<`  rO   rN   rP   rQ   rR   r]  rb  s         r   rL   rL   U  .    
 45I
0x7T]
^C	r#   c                 d    t        | j                  |||      \  }}t        t        |            |fS )zc
    Class-aware helper for out-params of fz_subset_cff_for_gids() [fz_subset_cff_for_gids()].
    rL   r+  r,  rx  rN   rP   rQ   rR   rb  rO   s         r   #fz_subset_cff_for_gids_outparams_fnrc  ^  2     *$//8XwWIC&,-t33r#   c                 P    t               }t        | ||||      }||j                  fS )z`
    Wrapper for out-params of fz_subset_ttf_for_gids().
    Returns: fz_buffer *, int gids
    )r@`  rJ`  rO   rc  s         r   rU   rU   h  rc  r#   c                 d    t        | j                  |||      \  }}t        t        |            |fS )zc
    Class-aware helper for out-params of fz_subset_ttf_for_gids() [fz_subset_ttf_for_gids()].
    rU   r+  r,  rx  rc  s         r   #fz_subset_ttf_for_gids_outparams_fnrc  q  rc  r#   c                  H    t               } t        |       }|| j                  fS )zc
    Wrapper for out-params of fz_warning_callback().
    Returns: fz_warning_cb *, void *user
    )rL`  rW`  r  rc  s     r   r   r   {  s%    
 12I
-i
8C	r#   c                  $    t               \  } }| |fS )z]
    Class-aware helper for out-params of fz_warning_callback() [fz_warning_callback()].
    )r   r,c  s     r    fz_warning_callback_outparams_fnrc    s     '(IC9r#   c                 H    t               }t        | ||      }|j                  S )zI
    Wrapper for out-params of pdf_annot_MK_BC().
    Returns: int n
    )rY`  rd`  r[   r!  r  r]  rb  s       r   r"  r"    $    
 -.I
)%	
BC;;r#   c                 2    t        | j                  |      }|S )zU
    Class-aware helper for out-params of pdf_annot_MK_BC() [pdf_annot_MK_BC()].
    r"  r+  r!  r  r[   s      r   pdf_annot_MK_BC_outparams_fnrc         	5++U3AHr#   c                 H    t               }t        | ||      }|j                  S )zI
    Wrapper for out-params of pdf_annot_MK_BG().
    Returns: int n
    )rh`  rr`  r[   rc  s       r   r""  r""    rc  r#   c                 2    t        | j                  |      }|S )zU
    Class-aware helper for out-params of pdf_annot_MK_BG() [pdf_annot_MK_BG()].
    r""  r+  rc  s      r   pdf_annot_MK_BG_outparams_fnrc    rc  r#   c                 H    t               }t        | ||      }|j                  S )zP
    Wrapper for out-params of pdf_annot_callout_line().
    Returns: int n
    )rt`  r~`  r[   )r!  rC"  r]  rb  s       r   rA"  rA"    s$    
 45I
0
KC;;r#   c                 2    t        | j                  |      }|S )zc
    Class-aware helper for out-params of pdf_annot_callout_line() [pdf_annot_callout_line()].
    )rA"  r+  rB"  s      r   #pdf_annot_callout_line_outparams_fnrc    s     	"%"2"2G<AHr#   c                 H    t               }t        | ||      }|j                  S )zI
    Wrapper for out-params of pdf_annot_color().
    Returns: int n
    )r`  r`  r[   rc  s       r   rI"  rI"    rc  r#   c                 2    t        | j                  |      }|S )zU
    Class-aware helper for out-params of pdf_annot_color() [pdf_annot_color()].
    rI"  r+  rc  s      r   pdf_annot_color_outparams_fnrc    rc  r#   c                 v    t               }t        | ||      }|j                  |j                  |j                  fS )zt
    Wrapper for out-params of pdf_annot_default_appearance().
    Returns: const char *font, float size, int n
    )r`  r`  r  r   r[   rc  s       r   rP"  rP"    s3    
 :;I
6ueY
OC>>9>>9;;66r#   c                 @    t        | j                  |      \  }}}|||fS )zo
    Class-aware helper for out-params of pdf_annot_default_appearance() [pdf_annot_default_appearance()].
    rP"  r+  )r!  r  r  r   r[   s        r   )pdf_annot_default_appearance_outparams_fnrc    s(     4E4D4DeLMD$q=r#   c                 d    t               }t        | ||||      }|j                  |j                  fS )zk
    Wrapper for out-params of pdf_annot_default_appearance_unmapped().
    Returns: float size, int n
    )r`  r`  r   r[   )r!  rU"  rV"  r  r]  rb  s         r   rS"  rS"    s5    
 CDI
?yR_afhq
rC>>9;;&&r#   c                 @    t        | j                  |||      \  }}||fS )z
    Class-aware helper for out-params of pdf_annot_default_appearance_unmapped() [pdf_annot_default_appearance_unmapped()].
    rS"  r+  )r!  rU"  rV"  r  r   r[   s         r   2pdf_annot_default_appearance_unmapped_outparams_fnrc    s)     7u7G7GTachiGD!7Nr#   c                 H    t               }t        | ||      }|j                  S )zR
    Wrapper for out-params of pdf_annot_interior_color().
    Returns: int n
    )r`  r`  r[   rc  s       r   r"  r"     s$    
 67I
25%
KC;;r#   c                 2    t        | j                  |      }|S )zg
    Class-aware helper for out-params of pdf_annot_interior_color() [pdf_annot_interior_color()].
    r"  r+  rc  s      r   %pdf_annot_interior_color_outparams_fnr d  	  s     	$E$4$4e<AHr#   c                 ^    t               }t        | |      }|j                  |j                  fS )z
    Wrapper for out-params of pdf_annot_line_ending_styles().
    Returns: enum pdf_line_ending start_style, enum pdf_line_ending end_style
    )r`  r`  r"  r"  )r!  r]  rb  s      r   r"  r"    s/    
 :;I
6ui
HC  )"5"555r#   c                 :    t        | j                        \  }}||fS )zo
    Class-aware helper for out-params of pdf_annot_line_ending_styles() [pdf_annot_line_ending_styles()].
    r"  r+  r"  s      r   )pdf_annot_line_ending_styles_outparams_fnrd    s$     =U=M=MNK	!!r#   c                 L    t               }t        | ||      }||j                  fS )zc
    Wrapper for out-params of pdf_array_get_string().
    Returns: const char *, size_t sizep
    )r`  r`  r3#  )r#  r   r]  rb  s       r   r1#  r1#  &  s)    
 23I
.ueY
GC	r#   c                 <    t        | j                  |      \  }}||fS )z_
    Class-aware helper for out-params of pdf_array_get_string() [pdf_array_get_string()].
    r1#  r+  )r#  r   rb  r3#  s       r   !pdf_array_get_string_outparams_fnrd  /  s$     ))9)95AJC:r#   c                 b    t               }t        | |||      }|j                  |j                  fS )z_
    Wrapper for out-params of pdf_count_q_balance().
    Returns: int prepend, int append
    )r`  r`  r#  r   )rO   r#  r  r]  rb  s        r   r#  r#  9  s3    
 12I
-c3Y
GCi....r#   c                 f    t        | j                  |j                  |j                        \  }}||fS )z]
    Class-aware helper for out-params of pdf_count_q_balance() [pdf_count_q_balance()].
    r#  r+  r#  s        r    pdf_count_q_balance_outparams_fnrd  B  s,     -S^^S^^S^^\OGVF?r#   c                 N    t               }t        | |||      }||j                  fS )zY
    Wrapper for out-params of pdf_decode_cmap().
    Returns: int, unsigned int cpt
    )r`  r`  rD$  )r!  r<  r  r]  rb  s        r   rB$  rB$  L  s+    
 -.I
)$1i
@C	r#   c                 >    t        | j                  ||      \  }}||fS )zU
    Class-aware helper for out-params of pdf_decode_cmap() [pdf_decode_cmap()].
    rB$  r+  )r!  r<  r  rb  rD$  s        r   pdf_decode_cmap_outparams_fnrd  U  s#     "$//1a8HC8Or#   c                 L    t               }t        | ||      }||j                  fS )zn
    Wrapper for out-params of pdf_dict_get_inheritable_string().
    Returns: const char *, size_t sizep
    )r`  r`  r3#  r  rk  r]  rb  s       r   r$  r$  _  s)    
 =>I
9$Y
OC	r#   c                 P    t        | j                  |j                        \  }}||fS )zu
    Class-aware helper for out-params of pdf_dict_get_inheritable_string() [pdf_dict_get_inheritable_string()].
    r$  r+  r  rk  rb  r3#  s       r   ,pdf_dict_get_inheritable_string_outparams_fnrd  h  s&     4DOOS^^TJC:r#   c                 J    t               }t        | |||      }|j                  S )z\
    Wrapper for out-params of pdf_dict_get_put_drop().
    Returns: ::pdf_obj *old_val
    )r`  ra  r$  )r  rk  r  r]  rb  s        r   r$  r$  r  s(    
 34I
/c3	
JCr#   c                 L    t               }t        | ||      }||j                  fS )zb
    Wrapper for out-params of pdf_dict_get_string().
    Returns: const char *, size_t sizep
    )ra  ra  r3#  rd  s       r   r$  r$  {  s)    
 12I
-dC
CC	r#   c                 P    t        | j                  |j                        \  }}||fS )z]
    Class-aware helper for out-params of pdf_dict_get_string() [pdf_dict_get_string()].
    r$  r+  rd  s       r    pdf_dict_get_string_outparams_fnrd    s&     (HJC:r#   c                 z    t               }t        | |||      }||j                  |j                  |j                  fS )z{
    Wrapper for out-params of pdf_edit_text_field_value().
    Returns: int, int selStart, int selEnd, char *newvalue
    )ra  r!a  r:  r=  r^%  )ry"  r    r7  r]  rb  s        r   r\%  r\%    s=    
 78I
3FE69
UC	""I$4$4i6H6HHHr#   c                 F    t        | j                  ||      \  }}}}||||fS )zi
    Class-aware helper for out-params of pdf_edit_text_field_value() [pdf_edit_text_field_value()].
    r\%  r+  )ry"  r    r7  rb  r:  r=  r^%  s          r   &pdf_edit_text_field_value_outparams_fnrd    s3     'C6CTCTV[]c&d#C68&(**r#   c                 L    t               }t        | ||||      }|j                  S )zO
    Wrapper for out-params of pdf_eval_function().
    Returns: float out
    )r#a  r-a  rl  r/c  s         r   rz%  rz%    s(    
 /0I
+D#ufi
PC==r#   c                 6    t        | j                  |||      }|S )zY
    Class-aware helper for out-params of pdf_eval_function() [pdf_eval_function()].
    rz%  r+  r2c  s        r   pdf_eval_function_outparams_fnr#d    s     tUF
CCJr#   c                 N    t               }t        | |||      }||j                  fS )z`
    Wrapper for out-params of pdf_field_event_validate().
    Returns: int, char *newvalue
    )r/a  r9a  r^%  )rO   r  r    r]  rb  s        r   r%  r%    s-    
 67I
23ui
PC	""""r#   c                 R    t        | j                  |j                  |      \  }}||fS )zg
    Class-aware helper for out-params of pdf_field_event_validate() [pdf_field_event_validate()].
    r%  r+  )rO   r  r    rb  r^%  s        r   %pdf_field_event_validate_outparams_fnr'd    s+     0@P@PRWXMC=r#   c                 J    t               }t        | |      }||j                  fS )zd
    Wrapper for out-params of pdf_js_event_result_validate().
    Returns: int, char *newvalue
    )r;a  rEa  r^%  )r  r]  rb  s      r   r]&  r]&    s)    
 :;I
6r9
EC	""""r#   c                 :    t        | j                        \  }}||fS )zo
    Class-aware helper for out-params of pdf_js_event_result_validate() [pdf_js_event_result_validate()].
    r]&  r+  )r  rb  r^%  s      r   )pdf_js_event_result_validate_outparams_fnr+d    s      4BMMBMC=r#   c                 J    t               }t        | |||      }|j                  S )zO
    Wrapper for out-params of pdf_js_execute().
    Returns: char *result
    )rGa  rQa  re&  )r  r   r  r]  rb  s        r   rc&  rc&    s(    
 ,-I
(T4
CCr#   c                 4    t        | j                  ||      }|S )zS
    Class-aware helper for out-params of pdf_js_execute() [pdf_js_execute()].
    rc&  r+  rd&  s       r   pdf_js_execute_outparams_fnr/d    s     r}}dD9FMr#   c                 F    t               }t        | |      }|j                  S )zZ
    Wrapper for out-params of pdf_load_encoding().
    Returns: const char *estrings
    )rSa  r]a  r&  )rM  r]  rb  s      r   r&  r&    s$    
 /0I
+Hi
@Cr#   c                     t        |       }|S )zY
    Class-aware helper for out-params of pdf_load_encoding() [pdf_load_encoding()].
    )r&  )rM  r&  s     r   pdf_load_encoding_outparams_fnr2d    s     $H-HOr#   c                 L    t               }t        | ||||      }|j                  S )z[
    Wrapper for out-params of pdf_load_to_unicode().
    Returns: const char *strings
    )r_a  rja  r	'  )rO   r  r
'  r'  r]  rb  s         r   r'  r'     s*    
 12I
-c4Wi
XCr#   c                 ^    t        | j                  |j                  ||j                        }|S )z]
    Class-aware helper for out-params of pdf_load_to_unicode() [pdf_load_to_unicode()].
    r'  r+  )rO   r  r
'  r'  r	'  s        r    pdf_load_to_unicode_outparams_fnr6d  	  s(     %S^^T__jRYRdRdeGNr#   c                 L    t               }t        | ||      }||j                  fS )zU
    Wrapper for out-params of pdf_lookup_cmap_full().
    Returns: int, int out
    )rla  rva  rl  )r!  rD$  r]  rb  s       r   r'  r'    s)    
 23I
.tS)
DC	r#   c                 <    t        | j                  |      \  }}||fS )z_
    Class-aware helper for out-params of pdf_lookup_cmap_full() [pdf_lookup_cmap_full()].
    r'  r+  )r!  rD$  rb  rl  s       r   !pdf_lookup_cmap_full_outparams_fnr:d    s!     't<HC8Or#   c                 b    t               }t        | ||      }||j                  |j                  fS )zq
    Wrapper for out-params of pdf_lookup_page_loc().
    Returns: pdf_obj *, ::pdf_obj *parentp, int indexp
    )rxa  ra  r2'  r3'  )rO   rV  r]  rb  s       r   r0'  r0'  &  s3    
 12I
-c69
EC	!!9#3#333r#   c                     t        | j                  |      \  }}}t        t        |            t        t        |            |fS )z]
    Class-aware helper for out-params of pdf_lookup_page_loc() [pdf_lookup_page_loc()].
    r0'  r+  rJ  r{&  )rO   rV  rb  r2'  r3'  s        r    pdf_lookup_page_loc_outparams_fnr>d  /  s<     2#..&IC&?C()6/72K+LfTTr#   c                 P    t               }t        | ||||      }||j                  fS )zm
    Wrapper for out-params of pdf_lookup_substitute_font().
    Returns: const unsigned char *, int len
    )ra  ra  r  )r='  r  r  r  r]  rb  s         r   r;'  r;'  9  s.    
 89I
4T5$PY
ZC	r#   c                 ,    t        | |||      \  }}||fS )zk
    Class-aware helper for out-params of pdf_lookup_substitute_font() [pdf_lookup_substitute_font()].
    )r;'  )r='  r  r  r  rb  r  s         r   'pdf_lookup_substitute_font_outparams_fnrAd  B  s!     -T5$GHC8Or#   c                 J    t               }t        | |||      }|j                  S )zP
    Wrapper for out-params of pdf_map_one_to_many().
    Returns: int many
    )ra  ra  rC'  )r!  r!  r  r]  rb  s        r   rA'  rA'  L  s&    
 12I
-dCi
HC>>r#   c                 4    t        | j                  ||      }|S )z]
    Class-aware helper for out-params of pdf_map_one_to_many() [pdf_map_one_to_many()].
    rA'  r+  )r!  r!  r  rC'  s       r    pdf_map_one_to_many_outparams_fnrEd  U  s     "$//3<DKr#   c                 L    t               }t        | ||      }||j                  fS )zN
    Wrapper for out-params of pdf_obj_memo().
    Returns: int, int memo
    )ra  ra  r	(  )rh  rT  r]  rb  s       r   r(  r(  _  s)    
 *+I
&sC
;C	r#   c                 <    t        | j                  |      \  }}||fS )zO
    Class-aware helper for out-params of pdf_obj_memo() [pdf_obj_memo()].
    r(  r+  )rh  rT  rb  r	(  s       r   pdf_obj_memo_outparams_fnrId  h  s"      4IC9r#   c                 L    t               }t        | ||      }||j                  fS )zi
    Wrapper for out-params of pdf_page_presentation().
    Returns: fz_transition *, float duration
    )ra  ra  r  rc  s       r   rQ(  rQ(  r  s+    
 34I
/j)
LC	""""r#   c                 j    t        | j                  |j                               \  }}t        |      |fS )za
    Class-aware helper for out-params of pdf_page_presentation() [pdf_page_presentation()].
    rQ(  r+  ri+  ri?  rc  s       r   "pdf_page_presentation_outparams_fnrMd  {  s1     -T__j>Q>Q>STMCh&&r#   c                 b    t               }t        | ||      }||j                  |j                  fS )z}
    Wrapper for out-params of pdf_page_write().
    Returns: fz_device *, ::pdf_obj *presources, ::fz_buffer *pcontents
    )ra  ra  r_(  r`(  )rO   rq
  r]  rb  s       r   r](  r](    s3    
 ,-I
(h	
BC	$$i&9&999r#   c                     t        | j                  |j                               \  }}}t        |      t	        |      t        |      fS )zS
    Class-aware helper for out-params of pdf_page_write() [pdf_page_write()].
    r](  r+  ri+  r.  rJ  r,  )rO   rq
  rb  r_(  r`(  s        r   pdf_page_write_outparams_fnrQd    s?     "33>>8CTCTCV!WCYC=&*-x/CCCr#   c                 v    t               }t        | ||      }|j                  |j                  |j                  fS )zt
    Wrapper for out-params of pdf_parse_default_appearance().
    Returns: const char *font, float size, int n
    )ra  ra  r  r   r[   )ri(  r  r]  rb  s       r   rg(  rg(    s3    
 :;I
6r5)
LC>>9>>9;;66r#   c                 ,    t        | |      \  }}}|||fS )zo
    Class-aware helper for out-params of pdf_parse_default_appearance() [pdf_parse_default_appearance()].
    )rg(  )ri(  r  r  r   r[   s        r   )pdf_parse_default_appearance_outparams_fnrTd    s"     4B>MD$q=r#   c                 d    t               }t        | ||||      }|j                  |j                  fS )zk
    Wrapper for out-params of pdf_parse_default_appearance_unmapped().
    Returns: float size, int n
    )ra  ra  r   r[   )ri(  rU"  rV"  r  r]  rb  s         r   rk(  rk(    s4    
 CDI
?I}^cen
oC>>9;;&&r#   c                 ,    t        | |||      \  }}||fS )z
    Class-aware helper for out-params of pdf_parse_default_appearance_unmapped() [pdf_parse_default_appearance_unmapped()].
    )rk(  )ri(  rU"  rV"  r  r   r[   s         r   2pdf_parse_default_appearance_unmapped_outparams_fnrWd    s"     7r9mUZ[GD!7Nr#   c                     t               }t        | ||      }||j                  |j                  |j                  |j
                  fS )z
    Wrapper for out-params of pdf_parse_ind_obj().
    Returns: pdf_obj *, int num, int gen, int64_t stm_ofs, int try_repair
    )ra  ra  rw  rZ  rb  rs(  )rO   r  r]  rb  s       r   rq(  rq(    s?    
 /0I
+CI
>C	y}}i.?.?AUAUUUr#   c                 n    t        | j                  |j                        \  }}}}}t        |      ||||fS )zY
    Class-aware helper for out-params of pdf_parse_ind_obj() [pdf_parse_ind_obj()].
    rq(  r+  rJ  )rO   r  rb  rw  rZ  rb  rs(  s          r   pdf_parse_ind_obj_outparams_fnr[d    s8     *>cnnall)[&Cc7J#;S':55r#   c                 x    t               }t        | ||      }||j                  |j                  |j                  fS )z|
    Wrapper for out-params of pdf_parse_journal_obj().
    Returns: pdf_obj *, int onum, ::fz_buffer *ostm, int newobj
    )ra  rb  rw(  rx(  r!  )rO   r  r]  rb  s       r   ru(  ru(    s7    
 34I
/S)
DC			0@0@@@r#   c                 |    t        | j                  |j                        \  }}}}t        |      |t        |      |fS )za
    Class-aware helper for out-params of pdf_parse_journal_obj() [pdf_parse_journal_obj()].
    ru(  r+  rJ  r,  )rO   r  rb  rw(  rx(  r!  s         r   "pdf_parse_journal_obj_outparams_fnr_d    s8     7s~~s~~VCtV#;hov55r#   c           
      R    t               }t        | |||||||      }|j                  S )zS
    Wrapper for out-params of pdf_print_encrypted_obj().
    Returns: int sep
    )rb  rb  rL  )	rl  rh  r(  r  r\  rw  rZ  r]  rb  s	            r   r(  r(    s1    
 56I
1#sE5%QTVY[d
eC==r#   c           	      d    t        | j                  |j                  |||j                  ||      }|S )ze
    Class-aware helper for out-params of pdf_print_encrypted_obj() [pdf_print_encrypted_obj()].
    r(  r+  r(  s           r   $pdf_print_encrypted_obj_outparams_fnrcd    s0     %S^^S^^UESXScScehjm
nCJr#   c                 N    t               }t        | |||||      }|j                  S )z[
    Wrapper for out-params of pdf_process_contents().
    Returns: ::pdf_obj *out_res
    )rb  rb  r(  )r#  rO   r#  r  r  r]  rb  s          r   r(  r(    s,    
 23I
.tS#sFI
VCr#   c                     t        | j                  |j                  |j                  |j                  |j                        }t        t        |            S )z_
    Class-aware helper for out-params of pdf_process_contents() [pdf_process_contents()].
    r(  r+  rJ  r{&  r(  s         r   !pdf_process_contents_outparams_fnrgd     s@     &doos~~s~~WZWeWegmgxgxyG/7+,,r#   c                     t               }t        | ||      }||j                  |j                  |j                  |j
                  |j                  |j                  |j                  fS )z
    Wrapper for out-params of pdf_repair_obj().
    Returns: int, int64_t stmofsp, int64_t stmlenp, ::pdf_obj *encrypt, ::pdf_obj *id, ::pdf_obj *page, int64_t tmpofs, ::pdf_obj *root
    )	rb  r2b  r(  r(  r(  rM  r'
  r(  r*  )rO   rb  r]  rb  s       r   r(  r(  
  sn    
 ,-I
(c9
=C	!!9#4#4i6G6GW`WeWegpgwgw  zC  zH  zH  H  Hr#   c                     t        | j                  |j                        \  }}}}}}}}	|||t        t        |            t        t        |            t        t        |            |t        t        |	            fS )zS
    Class-aware helper for out-params of pdf_repair_obj() [pdf_repair_obj()].
    r(  r+  rJ  r{&  )
rO   rb  rb  r(  r(  r(  rM  r'
  r(  r*  s
             r   pdf_repair_obj_outparams_fnrkd    s     >Os~~_b_m_m=n:C'7Bfd&')B"CVO]_L`Eacijy{  kA  dB  DJ  LR  Sb  dh  Si  Lj  j  jr#   c                 b    t               }t        | ||      }||j                  |j                  fS )z\
    Wrapper for out-params of pdf_resolve_link().
    Returns: int, float xp, float yp
    )r4b  r@b  r  r  rc  s       r   r(  r(    s/    
 ./I
*3Y
?C	ill**r#   c                 @    t        | j                  |      \  }}}|||fS )zW
    Class-aware helper for out-params of pdf_resolve_link() [pdf_resolve_link()].
    r(  r+  rc  s        r   pdf_resolve_link_outparams_fnrod  &  s&     &cnnc:KCRB;r#   c                 d    t               }t        | ||||      }|j                  |j                  fS )zq
    Wrapper for out-params of pdf_sample_shade_function().
    Returns: float samples, ::pdf_function *func
    )rBb  rNb  rT  r3  )r[   r)  r)  r)  r]  rb  s         r   r)  r)  0  s3    
 78I
3Aub"i
PCinn,,r#   c                 P    t        | |||      \  }}|t        t        |            fS )zi
    Class-aware helper for out-params of pdf_sample_shade_function() [pdf_sample_shade_function()].
    )r)  rI  rw&  )r[   r)  r)  r)  rT  r3  s         r   &pdf_sample_shade_function_outparams_fnrrd  9  s.     1E2rBMGTK 4d ;<<<r#   c                 L    t               }t        | ||      }||j                  fS )za
    Wrapper for out-params of pdf_signature_contents().
    Returns: size_t, char *contents
    )rPb  rZb  r  )rO   r#  r]  rb  s       r   r*  r*  C  s+    
 45I
0i
KC	""""r#   c                 P    t        | j                  |j                        \  }}||fS )zc
    Class-aware helper for out-params of pdf_signature_contents() [pdf_signature_contents()].
    r*  r+  )rO   r#  rb  r  s       r   #pdf_signature_contents_outparams_fnrvd  L  s(     .cnni>R>RSMC=r#   c                 R    t               }t        | |||||      }||j                  fS )zU
    Wrapper for out-params of pdf_sprint_obj().
    Returns: char *, size_t len
    )r\b  rfb  r  )rb  r  rh  r(  r  r]  rb  s          r   r7*  r7*  V  s/    
 ,-I
(c3ui
PC	r#   c                 B    t        | ||j                  ||      \  }}||fS )zS
    Class-aware helper for out-params of pdf_sprint_obj() [pdf_sprint_obj()].
    )r7*  r+  )rb  r  rh  r(  r  rb  r  s          r   pdf_sprint_obj_outparams_fnryd  _  s'     !c3>>5%HHC8Or#   c                 J    t               }t        | |      }||j                  fS )z\
    Wrapper for out-params of pdf_to_string().
    Returns: const char *, size_t sizep
    )rhb  rrb  r3#  )rh  r]  rb  s      r   r*  r*  i  s'    
 +,I
'Y
7C	r#   c                 :    t        | j                        \  }}||fS )zQ
    Class-aware helper for out-params of pdf_to_string() [pdf_to_string()].
    r*  r+  )rh  rb  r3#  s      r   pdf_to_string_outparams_fnr}d  r  s      "#..1JC:r#   c                 R    t               }t        | |||||      }||j                  fS )zS
    Wrapper for out-params of pdf_tos_make_trm().
    Returns: int, float adv
    )rtb  r~b  r	  )r*  r
  r  r	  r$	  r]  rb  s          r   r*  r*  |  s/    
 ./I
*3hS)
TC	r#   c                     t        | j                  |j                  |j                  ||j                               \  }}||fS )zW
    Class-aware helper for out-params of pdf_tos_make_trm() [pdf_tos_make_trm()].
    r*  r+  ri+  )r*  r
  r  r	  r$	  rb  r	  s          r   pdf_tos_make_trm_outparams_fnrd    s<     #3>>4??HDWDWY\^a^j^j^lmHC8Or#   c                 J    t               }t        | |      }||j                  fS )zU
    Wrapper for out-params of pdf_undoredo_state().
    Returns: int, int steps
    )rb  rb  r*  rO   r]  rb  s      r   r*  r*    s'    
 01I
,S)
<C	r#   c                 :    t        | j                        \  }}||fS )z[
    Class-aware helper for out-params of pdf_undoredo_state() [pdf_undoredo_state()].
    r*  r+  )rO   rb  r*  s      r   pdf_undoredo_state_outparams_fnrd    s      's~~6JC:r#   c                 f    t               }t        | |||||      }|j                  |j                  fS )ze
    Wrapper for out-params of pdf_walk_tree().
    Returns: ::pdf_obj *names, ::pdf_obj *values
    )rb  rb  r*  rw  )r  r*  r*  r*  r  r]  rb  s          r   r*  r*    s5    
 +,I
'hsI
VC??I,,,,r#   c                     t        | j                  |j                  |||      \  }}t        t        |            t        t        |            fS )zQ
    Class-aware helper for out-params of pdf_walk_tree() [pdf_walk_tree()].
    r*  r+  rJ  r{&  r*  s          r   pdf_walk_tree_outparams_fnrd    sE     %T__h6I6I6SXZ]^ME6/5)*F?F3K,LLLr#   c                 J    t               }t        | |      }||j                  fS )zo
    Wrapper for out-params of pdf_zugferd_profile().
    Returns: enum pdf_zugferd_profile, float version
    )rb  rb  rP  rd  s      r   r+  r+    s)    
 12I
-c9
=C	!!!!r#   c                 :    t        | j                        \  }}||fS )z]
    Class-aware helper for out-params of pdf_zugferd_profile() [pdf_zugferd_profile()].
    r+  r+  )rO   rb  rP  s      r    pdf_zugferd_profile_outparams_fnrd    s      *#..9LC<r#   c                 B    t        | j                        \  }}}}||||fS )zh
    Helper for out-params of class method fz_bitmap::ll_fz_bitmap_details() [fz_bitmap_details()].
    rb  rk,  s        r   'FzBitmap_fz_bitmap_details_outparams_fnrd    s(     +DOO<OAq!VaF?r#   c                 :    t        | j                        \  }}||fS )zh
    Helper for out-params of class method fz_buffer::ll_fz_buffer_extract() [fz_buffer_extract()].
    rb  )r   rb  r?   s      r   'FzBuffer_fz_buffer_extract_outparams_fnrd    s      %doo6IC9r#   c                 :    t        | j                        \  }}||fS )zh
    Helper for out-params of class method fz_buffer::ll_fz_buffer_storage() [fz_buffer_storage()].
    rb  )r   rb  r%  s      r   'FzBuffer_fz_buffer_storage_outparams_fnrd    s      &t7JC:r#   c                 h    t        | j                  ||j                        \  }}}t        |      ||fS )z~
    Helper for out-params of class method fz_buffer::ll_fz_new_display_list_from_svg() [fz_new_display_list_from_svg()].
    r}c  )r   r_  r
  rb  r7  r:  s         r   2FzBuffer_fz_new_display_list_from_svg_outparams_fnrd    s2     0(CNN[ICAq!##r#   c                 d    t        | j                  |||      \  }}t        t        |            |fS )zr
    Helper for out-params of class method fz_buffer::ll_fz_subset_cff_for_gids() [fz_subset_cff_for_gids()].
    rc  r   rP   rQ   rR   rb  rO   s         r   ,FzBuffer_fz_subset_cff_for_gids_outparams_fnrd    3     *4??HhPWXIC&,-t33r#   c                 d    t        | j                  |||      \  }}t        t        |            |fS )zr
    Helper for out-params of class method fz_buffer::ll_fz_subset_ttf_for_gids() [fz_subset_ttf_for_gids()].
    rc  rd  s         r   ,FzBuffer_fz_subset_ttf_for_gids_outparams_fnrd    rd  r#   c                 2    t        | j                  |      }|S )zf
    Helper for out-params of class method fz_colorspace::ll_fz_clamp_color() [fz_clamp_color()].
    rc  )r   rc  rl  s      r   (FzColorspace_fz_clamp_color_outparams_fnrd    s     T__c
2CJr#   c                 P    t        | j                  ||j                               }|S )zj
    Helper for out-params of class method fz_colorspace::ll_fz_convert_color() [fz_convert_color()].
    rc  )r   r  r~  r  s       r   *FzColorspace_fz_convert_color_outparams_fnrd    s"     
door6??3D	EBIr#   c                 f    t        | j                  ||j                  |j                               }|S )z
    Helper for out-params of class method fz_colorspace::ll_fz_convert_separation_colors() [fz_convert_separation_colors()].
    rc  )r   r  r  r  r  s        r   6FzColorspace_fz_convert_separation_colors_outparams_fnrd    s.     0)XM`M`bnbwbwbyzIr#   c                 L    t        | j                        \  }}t        |      |fS )z
    Helper for out-params of class method fz_compressed_buffer::ll_fz_open_image_decomp_stream_from_buffer() [fz_open_image_decomp_stream_from_buffer()].
    rc  )r   rb  r\  s      r   GFzCompressedBuffer_fz_open_image_decomp_stream_from_buffer_outparams_fnrd  "  s%     ?PMCC=(""r#   c                 \    t        | j                  ||j                         |      \  }}||fS )zx
    Helper for out-params of class method fz_display_list::ll_fz_search_display_list() [fz_search_display_list()].
    rc  r   rV  r6  r7  rb  r5  s         r   1FzDisplayList_fz_search_display_list_outparams_fnrd  ,  s0     .tHYHYH[]deMC=r#   c                 R    t        | j                  |      \  }}}t        |      ||fS )zf
    Helper for out-params of class method fz_document::ll_fz_resolve_link() [fz_resolve_link()].
    rc  r   r"  rb  r  r  s        r   'FzDocument_fz_resolve_link_outparams_fnrd  6  s+     %doos;KCRc?B""r#   c                 `    t        | j                  ||||j                         |      \  }}||fS )z
    Helper for out-params of class method fz_document::ll_fz_search_chapter_page_number() [fz_search_chapter_page_number()].
    rc  )r   r$
  r'
  rV  r6  r7  rb  r5  s           r   5FzDocument_fz_search_chapter_page_number_outparams_fnrd  @  s7     5doowPTV\^f^o^o^qsz{MC=r#   c                 ^    t        | j                  |||j                         |      \  }}||fS )zr
    Helper for out-params of class method fz_document::ll_fz_search_page_number() [fz_search_page_number()].
    rc  )r   r  rV  r6  r7  rb  r5  s          r   -FzDocument_fz_search_page_number_outparams_fnrd  J  s2     -doovvxO`O`ObdklMC=r#   c                 d    t        | j                  |||      \  }}|t        t        |            fS )z
    Helper for out-params of class method fz_font::ll_fz_encode_character_with_fallback() [fz_encode_character_with_fallback()].
    r(c  )r   r  r  r0	  rb  r  s         r   5FzFont_fz_encode_character_with_fallback_outparams_fnrd  T  s3     9$//7TZ\deMC1222r#   c                 6    t        | j                  |||      }|S )zh
    Helper for out-params of class method fz_function::ll_fz_eval_function() [fz_eval_function()].
    r1c  r   rc  r  r  rl  s        r   (FzFunction_fz_eval_function_outparams_fnrd  ^  s     tUF
CCJr#   c                     t        | j                  |j                         |j                               \  }}}t        |      ||fS )zu
    Helper for out-params of class method fz_image::ll_fz_get_pixmap_from_image() [fz_get_pixmap_from_image()].
    r:c  )r   rZ  rW  rb  r7  r:  s         r   -FzImage_fz_get_pixmap_from_image_outparams_fnrd  h  s@     ,T__g>N>N>PRUR^R^R`aICAC=!Qr#   c                 :    t        | j                        \  }}||fS )zk
    Helper for out-params of class method fz_image::ll_fz_image_resolution() [fz_image_resolution()].
    rJc  r3  s      r   (FzImage_fz_image_resolution_outparams_fnrd  r  s      (9JD$:r#   c                 T    t        | j                  ||||      \  }}t        |      |fS )zx
    Helper for out-params of class method fz_output::ll_fz_new_svg_device_with_id() [fz_new_svg_device_with_id()].
    rc  )r   r  r  r  r  rb  rM  s          r   /FzOutput_fz_new_svg_device_with_id_outparams_fnrd  |  s/     +DOOZVacopGCC="r#   c           	      d    t        | j                  |j                  |||j                  ||      }|S )zt
    Helper for out-params of class method fz_output::ll_pdf_print_encrypted_obj() [pdf_print_encrypted_obj()].
    rbd  rl7  s           r   -FzOutput_pdf_print_encrypted_obj_outparams_fnrd    s0     %doos~~ueUZUeUegjlo
pCJr#   c                 j    t        | j                  |j                               \  }}t        |      |fS )zl
    Helper for out-params of class method fz_page::ll_fz_page_presentation() [fz_page_presentation()].
    rc  r   r  rb  r  s       r   (FzPage_fz_page_presentation_outparams_fnrd    s1     ,T__j>Q>Q>STMCh&&r#   c                 \    t        | j                  ||j                         |      \  }}||fS )z`
    Helper for out-params of class method fz_page::ll_fz_search_page() [fz_search_page()].
    rc  rd  s         r   "FzPage_fz_search_page_outparams_fnrd    s0     &t@Q@Q@SU\]MC=r#   c                 d    t        | j                  |j                  |j                               }|S )zx
    Helper for out-params of class method fz_pixmap::ll_fz_fill_pixmap_with_color() [fz_fill_pixmap_with_color()].
    r6c  )r   r  r  r  s       r   /FzPixmap_fz_fill_pixmap_with_color_outparams_fnrd    s+     )$//:;P;PR^RgRgRijELr#   c                 |    t        | j                  ||j                  |j                  |j                               }|S )z{
    Helper for out-params of class method fz_separations::ll_fz_separation_equivalent() [fz_separation_equivalent()].
    rc  )r   r  r  r
  r  r  s         r   3FzSeparations_fz_separation_equivalent_outparams_fnrd    s7     ,T__c6CTCTVYVdVdfrf{f{f}~Ir#   c           	          t        | j                  |j                  |j                         |j                  |j                         |j                         |j                        }t        t	        |            S )za
    Helper for out-params of class method fz_shade::ll_fz_paint_shade() [fz_paint_shade()].
    rc  r=<  s           r   #FzShade_fz_paint_shade_outparams_fnrd    s     t0F0FX\XgXgiui~i~  jA  CG  CP  CP  CR  TW  Tb  Tb  cE95ABBr#   c                 \    t        | j                  ||j                         |      \  }}||fS )zr
    Helper for out-params of class method fz_stext_page::ll_fz_search_stext_page() [fz_search_stext_page()].
    rc  rd  s         r   -FzStextPage_fz_search_stext_page_outparams_fnrd    s0     ,T__fhFWFWFY[bcMC=r#   c                     t        | j                  |j                  |j                         ||      \  }}t        |      |fS )z|
    Helper for out-params of class method fz_stream::ll_fz_decomp_image_from_stream() [fz_decomp_image_from_stream()].
    rc  )r   r  rZ  r[  r\  rb  r]  s          r   1FzStream_fz_decomp_image_from_stream_outparams_fnrd    s?     24??EDTDTV]VfVfVhjqs{|LCC='!!r#   c                 b    t        | j                  |j                        \  }}t        |      |fS )z|
    Helper for out-params of class method fz_stream::ll_fz_open_image_decomp_stream() [fz_open_image_decomp_stream()].
    rc  )r   r  rb  r\  s       r   1FzStream_fz_open_image_decomp_stream_outparams_fnrd    s-     3DOOUEUEUVMCC=(""r#   c                 P    t        | j                  ||      \  }}t        |      |fS )z^
    Helper for out-params of class method fz_stream::ll_fz_read_best() [fz_read_best()].
    rc  )r   r>  rE  rb  rD  s        r   "FzStream_fz_read_best_outparams_fnrd    s)     %doow
KNCC=)##r#   c                 <    t        | j                  |      \  }}||fS )zk
    Helper for out-params of class method fz_xml::ll_fz_dom_get_attribute() [fz_dom_get_attribute()].
    rc  )r   r   rb  r  s       r   'FzXml_fz_dom_get_attribute_outparams_fnrd    s!     ';HC8Or#   c                 ~    t        | j                  |j                  ||j                        \  }}}t        |      ||fS )z
    Helper for out-params of class method fz_xml::ll_fz_new_display_list_from_svg_xml() [fz_new_display_list_from_svg_xml()].
    rc  )r   rc  r_  r
  rb  r7  r:  s          r   3FzXml_fz_new_display_list_from_svg_xml_outparams_fnrd    s>     4T__fFWFWYacfcqcqrICAq!##r#   c                 2    t        | j                  |      }|S )zd
    Helper for out-params of class method pdf_annot::ll_pdf_annot_MK_BC() [pdf_annot_MK_BC()].
    rc  r   r  r[   s      r   %PdfAnnot_pdf_annot_MK_BC_outparams_fnrd         	DOOU3AHr#   c                 2    t        | j                  |      }|S )zd
    Helper for out-params of class method pdf_annot::ll_pdf_annot_MK_BG() [pdf_annot_MK_BG()].
    rc  rd  s      r   %PdfAnnot_pdf_annot_MK_BG_outparams_fnrd    rd  r#   c                 2    t        | j                  |      }|S )zd
    Helper for out-params of class method pdf_annot::ll_pdf_annot_color() [pdf_annot_color()].
    rc  rd  s      r   %PdfAnnot_pdf_annot_color_outparams_fnrd    rd  r#   c                 @    t        | j                  |      \  }}}|||fS )z~
    Helper for out-params of class method pdf_annot::ll_pdf_annot_default_appearance() [pdf_annot_default_appearance()].
    rc  )r   r  r  r   r[   s        r   2PdfAnnot_pdf_annot_default_appearance_outparams_fnrd    s&     4T__eLMD$q=r#   c                 @    t        | j                  |||      \  }}||fS )z
    Helper for out-params of class method pdf_annot::ll_pdf_annot_default_appearance_unmapped() [pdf_annot_default_appearance_unmapped()].
    rc  )r   rU"  rV"  r  r   r[   s         r   ;PdfAnnot_pdf_annot_default_appearance_unmapped_outparams_fnrd  &  s'     7TachiGD!7Nr#   c                 2    t        | j                  |      }|S )zv
    Helper for out-params of class method pdf_annot::ll_pdf_annot_interior_color() [pdf_annot_interior_color()].
    rc  rd  s      r   .PdfAnnot_pdf_annot_interior_color_outparams_fnrd  0  s     	$T__e<AHr#   c                 :    t        | j                        \  }}||fS )z~
    Helper for out-params of class method pdf_annot::ll_pdf_annot_line_ending_styles() [pdf_annot_line_ending_styles()].
    rd  rA  s      r   2PdfAnnot_pdf_annot_line_ending_styles_outparams_fnrd  :  s"     =dooNK	!!r#   c                 F    t        | j                  ||      \  }}}}||||fS )zx
    Helper for out-params of class method pdf_annot::ll_pdf_edit_text_field_value() [pdf_edit_text_field_value()].
    rd  )r   r    r7  rb  r:  r=  r^%  s          r   /PdfAnnot_pdf_edit_text_field_value_outparams_fnrd  D  s1     'CDOOUZ\b&c#C68&(**r#   c                 >    t        | j                  ||      \  }}||fS )zc
    Helper for out-params of class method pdf_cmap::ll_pdf_decode_cmap() [pdf_decode_cmap()].
    rd  )r   r<  r  rb  rD$  s        r   $PdfCmap_pdf_decode_cmap_outparams_fnrd  N  s#     "4??Aq9HC8Or#   c                 <    t        | j                  |      \  }}||fS )zm
    Helper for out-params of class method pdf_cmap::ll_pdf_lookup_cmap_full() [pdf_lookup_cmap_full()].
    r9d  )r   rD$  rb  rl  s       r   )PdfCmap_pdf_lookup_cmap_full_outparams_fnrd  X  s!     '=HC8Or#   c                 4    t        | j                  ||      }|S )zk
    Helper for out-params of class method pdf_cmap::ll_pdf_map_one_to_many() [pdf_map_one_to_many()].
    rDd  )r   r!  r  rC'  s       r   (PdfCmap_pdf_map_one_to_many_outparams_fnrd  b  s     "4??C=DKr#   c                 f    t        | j                  |j                  |j                        \  }}||fS )zo
    Helper for out-params of class method pdf_document::ll_pdf_count_q_balance() [pdf_count_q_balance()].
    rd  r4E  s        r   ,PdfDocument_pdf_count_q_balance_outparams_fnrd  l  s,     -doos~~s~~^OGVF?r#   c                 R    t        | j                  |j                  |      \  }}||fS )zy
    Helper for out-params of class method pdf_document::ll_pdf_field_event_validate() [pdf_field_event_validate()].
    r&d  )r   r  r    rb  r^%  s        r   1PdfDocument_pdf_field_event_validate_outparams_fnrd  v  s+     0%BRBRTYZMC=r#   c                 ^    t        | j                  |j                  ||j                        }|S )zo
    Helper for out-params of class method pdf_document::ll_pdf_load_to_unicode() [pdf_load_to_unicode()].
    r5d  )r   r  r
'  r'  r	'  s        r   ,PdfDocument_pdf_load_to_unicode_outparams_fnrd    s(     %doot
T[TfTfgGNr#   c                     t        | j                  |      \  }}}t        t        |            t        t        |            |fS )zo
    Helper for out-params of class method pdf_document::ll_pdf_lookup_page_loc() [pdf_lookup_page_loc()].
    r=d  )r   rV  rb  r2'  r3'  s        r   ,PdfDocument_pdf_lookup_page_loc_outparams_fnrd    s<     24??FKC&?C()6/72K+LfTTr#   c                     t        | j                  |j                               \  }}}t        |      t	        |      t        |      fS )ze
    Helper for out-params of class method pdf_document::ll_pdf_page_write() [pdf_page_write()].
    rPd  )r   rq
  rb  r_(  r`(  s        r   'PdfDocument_pdf_page_write_outparams_fnrd    s?     "3DOOXEVEVEX!YCYC=&*-x/CCCr#   c                 n    t        | j                  |j                        \  }}}}}t        |      ||||fS )zk
    Helper for out-params of class method pdf_document::ll_pdf_parse_ind_obj() [pdf_parse_ind_obj()].
    rZd  )r   r  rb  rw  rZ  rb  rs(  s          r   *PdfDocument_pdf_parse_ind_obj_outparams_fnrd    s;     *>tPQP\P\)]&Cc7J#;S':55r#   c                 |    t        | j                  |j                        \  }}}}t        |      |t        |      |fS )zs
    Helper for out-params of class method pdf_document::ll_pdf_parse_journal_obj() [pdf_parse_journal_obj()].
    r^d  )r   r  rb  rw(  rx(  r!  s         r   .PdfDocument_pdf_parse_journal_obj_outparams_fnrd    s8     7XCtV#;hov55r#   c                     t        | j                  |j                        \  }}}}}}}}	|||t        t        |            t        t        |            t        t        |            |t        t        |	            fS )ze
    Helper for out-params of class method pdf_document::ll_pdf_repair_obj() [pdf_repair_obj()].
    rjd  )
r   rb  rb  r(  r(  r(  rM  r'
  r(  r*  s
             r   'PdfDocument_pdf_repair_obj_outparams_fnrd    s     >OPTP_P_adaoao=p:C'7Bfd&')B"CVO]_L`Eacijy{  kA  dB  DJ  LR  Sb  dh  Si  Lj  j  jr#   c                 @    t        | j                  |      \  }}}|||fS )zi
    Helper for out-params of class method pdf_document::ll_pdf_resolve_link() [pdf_resolve_link()].
    rnd  rd  s        r   )PdfDocument_pdf_resolve_link_outparams_fnrd    s&     &t<KCRB;r#   c                 P    t        | j                  |j                        \  }}||fS )zu
    Helper for out-params of class method pdf_document::ll_pdf_signature_contents() [pdf_signature_contents()].
    rud  )r   r#  rb  r  s       r   /PdfDocument_pdf_signature_contents_outparams_fnrd    s(     .t	@T@TUMC=r#   c                 :    t        | j                        \  }}||fS )zm
    Helper for out-params of class method pdf_document::ll_pdf_undoredo_state() [pdf_undoredo_state()].
    rd  )r   rb  r*  s      r   +PdfDocument_pdf_undoredo_state_outparams_fnr e    s      '8JC:r#   c                 :    t        | j                        \  }}||fS )zo
    Helper for out-params of class method pdf_document::ll_pdf_zugferd_profile() [pdf_zugferd_profile()].
    rd  )r   rb  rP  s      r   ,PdfDocument_pdf_zugferd_profile_outparams_fnre    s      *4??;LC<r#   c                 6    t        | j                  |||      }|S )zk
    Helper for out-params of class method pdf_function::ll_pdf_eval_function() [pdf_eval_function()].
    r"d  rd  s        r   *PdfFunction_pdf_eval_function_outparams_fnre    s     eV
DCJr#   c                 :    t        | j                        \  }}||fS )z{
    Helper for out-params of class method pdf_js::ll_pdf_js_event_result_validate() [pdf_js_event_result_validate()].
    r*d  )r   rb  r^%  s      r   /PdfJs_pdf_js_event_result_validate_outparams_fnre    s      4T__EMC=r#   c                 4    t        | j                  ||      }|S )z_
    Helper for out-params of class method pdf_js::ll_pdf_js_execute() [pdf_js_execute()].
    r.d  rI  s       r   !PdfJs_pdf_js_execute_outparams_fnre    s     t<FMr#   c                 <    t        | j                  |      \  }}||fS )zl
    Helper for out-params of class method pdf_obj::ll_pdf_array_get_string() [pdf_array_get_string()].
    rd  )r   r   rb  r3#  s       r   (PdfObj_pdf_array_get_string_outparams_fnr
e    s"     )$//5AJC:r#   c                 :    t        | j                        \  }}||fS )z
    Helper for out-params of class method pdf_obj::ll_pdf_dict_get_inheritable_string() [pdf_dict_get_inheritable_string()].
    rd  r   rb  r3#  s      r   3PdfObj_pdf_dict_get_inheritable_string_outparams_fnre    s      4T__EJC:r#   c                 :    t        | j                        \  }}||fS )zj
    Helper for out-params of class method pdf_obj::ll_pdf_dict_get_string() [pdf_dict_get_string()].
    rd  re  s      r   'PdfObj_pdf_dict_get_string_outparams_fnre    s      (9JC:r#   c                 <    t        | j                  |      \  }}||fS )z\
    Helper for out-params of class method pdf_obj::ll_pdf_obj_memo() [pdf_obj_memo()].
    rHd  )r   rT  rb  r	(  s       r    PdfObj_pdf_obj_memo_outparams_fnre     s"      #6IC9r#   c                 :    t        | j                        \  }}||fS )z^
    Helper for out-params of class method pdf_obj::ll_pdf_to_string() [pdf_to_string()].
    r|d  re  s      r   !PdfObj_pdf_to_string_outparams_fnre  *  s      "4??3JC:r#   c                     t        | j                  |||      \  }}t        t        |            t        t        |            fS )z^
    Helper for out-params of class method pdf_obj::ll_pdf_walk_tree() [pdf_walk_tree()].
    rd  )r   r*  r*  r  r*  rw  s         r   !PdfObj_pdf_walk_tree_outparams_fnre  4  s;     %doovucJME6/5)*F?F3K,LLLr#   c                 j    t        | j                  |j                               \  }}t        |      |fS )zo
    Helper for out-params of class method pdf_page::ll_pdf_page_presentation() [pdf_page_presentation()].
    rLd  rd  s       r   *PdfPage_pdf_page_presentation_outparams_fnre  >  s1     -dooz?R?R?TUMCh&&r#   c                     t        | j                  |j                  |j                  |j                  |j                        }t        t        |            S )zr
    Helper for out-params of class method pdf_processor::ll_pdf_process_contents() [pdf_process_contents()].
    rfd  r]O  s         r   .PdfProcessor_pdf_process_contents_outparams_fnre  H  s@     &tX[XfXfhnhyhyzG/7+,,r#   c                     t        | j                  |j                  |j                  ||j                               \  }}||fS )zr
    Helper for out-params of class method pdf_text_object_state::ll_pdf_tos_make_trm() [pdf_tos_make_trm()].
    rd  )r   r
  r  r	  r$	  rb  r	  s          r   0PdfTextObjectState_pdf_tos_make_trm_outparams_fnre  R  s<     #DOOT__hFYFY[^`c`l`l`noHC8Or#   c                 "    | j                         S r-   r\  rV   s    r   rG   rG   ]      499; r#   c                 "    | j                         S r-   re  rV   s    r   rG   rG   ^  re  r#   c                 "    | j                         S r-   re  rV   s    r   rG   rG   _      diik r#   c                 "    | j                         S r-   re  rV   s    r   rG   rG   `      TYY[ r#   c                 "    | j                         S r-   re  rV   s    r   rG   rG   a  r!e  r#   c                 "    | j                         S r-   re  rV   s    r   rG   rG   b      tyy{ r#   c                 "    | j                         S r-   re  rV   s    r   rG   rG   c      DIIK r#   c                 "    | j                         S r-   re  rV   s    r   rG   rG   d  s    $))+ r#   c                 "    | j                         S r-   re  rV   s    r   rG   rG   e  r#e  r#   c                 "    | j                         S r-   re  rV   s    r   rG   rG   f  r#e  r#   c                 "    | j                         S r-   re  rV   s    r   rG   rG   g  r&e  r#   c                 "    | j                         S r-   re  rV   s    r   rG   rG   h  r(e  r#   c                 "    | j                         S r-   re  rV   s    r   rG   rG   i  r&e  r#   c                 T    t        | |      }t        |      dk(  ry|d   |d   |d   fS )Nrb  )Nr   r   r   r   )ll_fz_parse_page_range_origr  )r<  r[   rb  s      r   r  r    s5    
%a
+C
3x1}1vs1vs1v%%r#   c                    t        j                  d|       }|r7| d |j                  d       t        |      z   | |j	                  d      d  z   }|S | j                  d      }|dk  rt        |       }| d | t        |      z   | |d  z   }|S )Nz
(%[0-9]*d)r   r   r   )researchrw  r  r   rfindr  )r  r'
  rW	  rb  dots        r   rH  rH    s    
		<(Akqwwqz"SY.q1CC J	 llC 7v,CTclSY&5Jr#   c                   (    e Zd ZdZd Zd Zd Zd Zy)IteratorWrapaf  
    This is a Python iterator for containers that have C++-style
    begin() and end() methods that return iterators.

    Iterators must have the following methods:

        __increment__(): move to next item in the container.
        __ref__(): return reference to item in the container.

    Must also be able to compare two iterators for equality.

    c                 J    || _         d | _        |j                         | _        y r-   )r	  r  r   )r   r	  s     r   rS   zIteratorWrap.__init__  s    "==?r#   c                     | S r-   r$   rV   s    r   r   zIteratorWrap.__iter__  r   r#   c                    | j                    | j                  j                         | _         n| j                   j                          | j                   | j                  k(  r
t               | j                   j                         S r-   )r  r	  r   rR  r   StopIterationrR  rV   s    r   rr   zIteratorWrap.__next__  s[    88~~++-DHHH""$88txx/!xx!!r#   c                 "    | j                         S r-   )rr   rV   s    r   ro   zIteratorWrap.next  r   r#   N)r   r   r6   r7   rS   r   rr   ro   r$   r#   r   r7e  r7e    s    #"r#   r7e  c                 @    t        | t              sJ t        | d      S )W
    Returns buffer data as a Python bytes instance, leaving the
    buffer empty.
    r   r   r   r  r\  r  s    r   r!  r!        
 vy)))&::r#   c                 P    t        | t              sJ t        | j                        S )r>e  )r   r,  r!  r+  r  s    r   r-  r-    s"    
 vx(( 1 122r#   c                 @    t        | t              sJ t        | d      S )[
    Returns buffer data as a Python bytes instance, leaving the
    buffer unchanged.
    r   r?e  r@e  r  s    r   ll_fz_buffer_extract_copyrEe    rAe  r#   c                 P    t        | t              sJ t        | j                        S )rDe  )r   r,  rEe  r+  r  s    r   fz_buffer_extract_copyrGe    s"    
 vx(($V%6%677r#   c                 R    t        | t              sJ t        | j                  |      S )z
    Returns a read-only or writable Python `memoryview` onto
    `fz_buffer` data. This relies on `buffer` existing and
    not changing size while the `memoryview` is used.
    )r   r,  r\  r+  r\  s     r   fz_buffer_storage_memoryviewrIe    s$     vx((*F,=,=xHHr#   c                 B    t        t        |       t        |             }|S )zw
    Returns fz_buffer containing copy of `data`, which should
    be a `bytes` or similar Python buffer instance.
    )&ll_fz_new_buffer_from_copied_data_origr\  r  )r?   buffer_s     r   r  r    s     
 55G5MsSWyYGNr#   c                 *    t        t        |             S )zv
    Returns FzBuffer containing copy of `data`, which should be
    a `bytes` or similar Python buffer instance.
    )r,  r  )r?   s    r   r,  r,    s    
 6=>>r#   c                 X    |D ]  }| s nt        | |      }  t        | t              sJ | S )z
    Python implementation of ll_pdf_dict_getl(), because SWIG
    doesn't handle variadic args. Each item in `tail` should be
    `mupdf.pdf_obj`.
    )ri$  r   pdf_objrh  rH	  rk  s      r   ll_pdf_dict_getlrQe    s9      (c3'( c7##Jr#   c                 l    |D ]  }| j                   s nt        | |      }  t        | t              sJ | S )z
    Python implementation of pdf_dict_getl(), because SWIG
    doesn't handle variadic args. Each item in `tail` should be
    a `mupdf.PdfObj`.
    )r+  r!N  r   rJ  rPe  s      r   pdf_dict_getlrSe    s=      %~~3$% c6""Jr#   c                 n   t        |       rt        |       } t        |       st        d|        |syt	        |       }t        |dd       D ]U  \  }}t        |t              sJ d| dt        |       d       t        | |      }|st        |d      }t        | ||       |} W |d   }t        | ||       y)z
    Python implementation of ll_pdf_dict_putl() because SWIG
    doesn't handle variadic args. Each item in `tail` should
    be a SWIG wrapper for a `pdf_obj`.
    not a dict: NzItem z( in `tail` should be a pdf_obj but is a r   r   )r6&  r(  rL  r   r%  	enumerater   rJ  r   ri$  r'  r$  rh  r  rH	  rO   r   rk  next_objs          r   ll_pdf_dict_putlrZe    s     3+S1,se,--
#S
)CT#2Y' 33'h53[\`ad\e[ffg)hh"C-&Q/HS#x0 r(CS#s#r#   c                    t        |       rt        |       } t        |       st        d|        |syt	        |       }t        |dd       D ]_  \  }}t        |t              sJ d| dt        |       d       t        | |      }|j                  st        |d      }t        | ||       |} a |d   }t        | ||       y)z
    Python implementation of pdf_dict_putl(fz_context *ctx,
    pdf_obj *obj, pdf_obj *val, ...) because SWIG doesn't
    handle variadic args. Each item in `tail` should
    be a SWIG wrapper for a `PdfObj`.
    rUe  NrVe  zitem z' in `tail` should be a PdfObj but is a r   r   )rL  rM  rL  r   rL  rWe  r   rJ  r   r!N  r+  rF  rEL  rXe  s          r   pdf_dict_putlr\e  6  s     (#.,se,--
 #
&CT#2Y' 33'g53Z[_`c[dZeef)ggc*""#S!,H#sH- r(C#sC r#   c                     t        d      )Nzmupdf.pdf_dict_putl_drop() is unsupported and unnecessary in Python because reference counting is automatic. Instead use mupdf.pdf_dict_putl().)r   )rh  rH	  s     r   pdf_dict_putl_dropr^e  P  s    
  f  g  gr#   c           	         t        |t              rt        | d|ddd       yt        |      dk(  rt        | d|d   ddd       yt        |      dk(  rt        | d|d   |d   dd       yt        |      dk(  rt        | d|d   |d   |d   d       yt        |      dk(  rt        | d|d   |d   |d   |d          yt	        d|       )zg
    Low-level Python implementation of pdf_set_annot_color()
    using ll_pdf_set_annot_color2().
    r   r   rb        8Unexpected color should be float or list of 1-4 floats: N)r   floatr\  r  r   r!  r  s     r   rT)  rT)  T  s    
 %q%Aq9	Uqq%(Aq!<	Uqq%(E!HaC	Uqq%(E!HeAhJ	Uqq%(E!HeAhaQSTYSZ[\\r#   c                 .    t        | j                  |      S r-   )rT)  r+  r   r  s     r   rB  rB  e  s    !$//599r#   c           	         t        |t              rt        | d|ddd       yt        |      dk(  rt        | d|d   ddd       yt        |      dk(  rt        | d|d   |d   dd       yt        |      dk(  rt        | d|d   |d   |d   d       yt        |      dk(  rt        | d|d   |d   |d   |d          yt	        d|       )z]
    Low-level Python version of pdf_set_annot_color() using
    pdf_set_annot_color2().
    r   r   rb  r`e  rae  rbe  N)r   rce  r\  r  r   rde  s     r   r{)  r{)  i  s    
 %(5!QB	Uq(58Q1E	Uq(58U1Xq!L	Uq(58U1XuQxQRS	Uq(58U1XuQxQVWXQYZSTYSZ[\\r#   c                 .    t        | j                  |      S )zS
    Python version of pdf_set_annot_color() using
    pdf_set_annot_color2().
    )r{)  r+  rfe  s     r   rC  rC  z  s    
 +4??EBBr#   c                     t        |      ddt        |      z
  z  z   }t        |      dk(  sJ dt        |       d|        t        | |||g||| S )zS
    Low-level Python version of fz_fill_text() taking list/tuple for `color`.
    r   rae  zcolor not len 4: len=z: )tupler  r\  r  s          r   r  r    sd     %L41SZ<00Eu:?I3CJ<r%IICsJTTT|TTr#   c           
          t        | j                  |j                  |j                         |j                  |||j                               S )zI
    Python version of fz_fill_text() taking list/tuple for `color`.
    )r  r+  ri+  r  s          r   rT/  rT/    sC     NNOOLLN!!!!# r#   c                 j   t               }t        |t              rt        | |ddd||||	       nXt        |t        t
        f      r2t	        |      ddt        |      z
  z  z   }t        | g|||||  nt        | |||||       |j                  |j                  |j                  |j                  fS )z
    Low-level Python version of fz_convert_color().

    `sv` should be a float or list of 1-4 floats or a SWIG
    representation of a float*.

    Returns (dv0, dv1, dv2, dv3).
    g        rje  rae  )r\  r   rce  r\  rke  r  r  r\  r\  r\  r\  )r  r  r  r
c  r~  r  sv2s          r   r  r    s     
	B2uRS#sBCH	R%	'Bi$!CG),,b<3<<B<<V< 	b"b"c6:55"%%%%r#   c                 x    t        | j                  ||j                  |j                  |j                               S )z
    Python version of fz_convert_color().

    `sv` should be a float or list of 1-4 floats or a SWIG
    representation of a float*.

    Returns (dv0, dv1, dv2, dv3).
    rc  )r  r  r  r
c  r~  s        r   r-  r-    s-     r2==#..RXRaRaRcddr#   c                   .     e Zd ZdZ fdZd Zd Z xZS )DiagnosticCallbackPythonz`
    Overrides Director class DiagnosticCallback's virtual
    `_print()` method in Python.
    c                 |    t         |   |       || _        t        rt	        d| j
                   d| d|       y y )NDiagnosticCallbackPython[z].__init__() self=	 printfn=)rK  rS   printfng_mupdf_trace_directorrb  r\  )r   r\  rue  r   s      r   rS   z!DiagnosticCallbackPython.__init__  sH    +&!,T-?-?,@@RSWRZZcdkcnop "r#   c                 D    t         rt        d| j                   d       y y )Nrse  z].__del__() destructor called.)rve  rb  r\  rV   s    r   __del__z DiagnosticCallbackPython.__del__  s$    !,T-?-?,@@^_` "r#   c           	          t         r(t        d| j                   d| j                  d|       	 | j                  |       y # t        $ r.}t        d| j                   d| j                  d|        d }~ww xY w)Nrse  z!]._print(): Calling self.printfn=z with message=z1]._print(): Warning: exception from self.printfn=z: e=)rve  rb  r\  rue  r   )r   r2  r  s      r   r/  zDiagnosticCallbackPython._print  s    !,T-?-?,@@abfbnbnaqq  AH  @K  L  M		LL'" 	,T-?-?,@@qrvr~r~  rB  BF  GH  FK  L  M
 	s   A 	A9)A44A9)r   r   r6   r7   rS   rxe  r/  __classcell__r   s   @r   rqe  rqe    s    q
ar#   rqe  c                     t         rt        d| d|       |rt        | |      }|S t         rt        d|  d       | dk(  rt        d d        y | dk(  rt	        d d        y J d|        )Nz&set_diagnostic_callback() description=rte  zCalling ll_fz_set_z_callback() with (None, None)rr  warningzUnrecognised description=)rve  rb  rqe  r}  r  )r\  rue  rb  s      r   set_diagnostic_callbackr~e    s    5k_Ig[YZ&W=
!%k]2OPQ'!$dD1
 	 I%&d3  B1+AAr#   c                     t        d|       ay )Nrr  )r~e  set_error_callback_srue  s    r   rW  rW    s    2GWEr#   c                     t        d|       ay )Nr}e  )r~e  set_warning_callback_sre  s    r   rW  rW    s    4iIr#   c                     t        | t              sJ t        t        |       t	        |       t        |       z  d      }|S )zC
    Returns a writable Python `memoryview` for a `fz_pixmap`.
    r   )r   r)  r\  r  r  r  )r  rb  s     r   ll_fz_pixmap_samples_memoryviewre    s@     vy))
' &)(+>+GGC
 Jr#   c                 ,    t        | j                        S )zB
    Returns a writable Python `memoryview` for a `FzPixmap`.
    )re  r+  rF  s    r   fz_pixmap_samples_memoryviewre    s     +F,=,=>>r#   c                 ~    t        | t              sJ d| dt               | j                  dd      } t        |       S )Nztext=z str=%z%%)r   r  replacell_fz_warn_originalr  s    r   r   r     s<    tS!?U4(%w#??<<d#D%%r#   c                   $     e Zd Z fdZd Z xZS )StoryPositionsCallback_pythonc                 0    t         |           || _        y r-   )rK  rS   python_callback)r   re  r   s     r   rS   z&StoryPositionsCallback_python.__init__&  s    .r#   c                 &    | j                  |       y r-   )re  r\  s     r   r\  z"StoryPositionsCallback_python.call)  s    h'r#   )r   r   r6   rS   r\  rze  r{e  s   @r   re  re  %  s    /(r#   re  c                 2    t        |      }t        | |       y)zn
    Custom replacement for `ll_fz_story_positions()` that takes
    a Python callable `python_callback`.
    N)re  r\  )r
  re  python_callback_instances      r   r   r   -  s      =oN"E+CDr#   c                 z    t        | t              sJ t              sJ fd}t        | j                  |       y )Nc                 ,    t        |       } |       y r-   )r=  )r\  	position2re  s     r   python_callback2z,fz_story_positions.<locals>.python_callback29  s    *H5	#r#   )r   rj=  rb  r   r+  )r
  re  re  s    ` r   r=  r=  5  s3    ug&&_%%$ 5++-=>r#   c                 v    d }|D ]  }t        |t              s|rJ d       |}  ||| _        t        | g| S )Nz=More than one FzOutput2 passed to FzDocumentWriter.__init__())r   r7  _outFzDocumentWriter__init__0)r   rQ   rl  r  s       r   FzDocumentWriter__init__1re  K  sO    
C sI&[[[C 	$T1D11r#   c                   <     e Zd ZdZd fd	Zd Zd Zd Zd Z xZ	S )'fz_install_load_system_font_funcs_args3z
    Class derived from Swig Director class
    fz_install_load_system_font_funcs_args2, to allow
    implementation of fz_install_load_system_font_funcs with
    Python callbacks.
    c                     t         |           || _        || _        || _        | j                  |rdnd       | j                  |rdnd       | j                  |rd       y d       y )NTF)rK  rS   f3f_cjk3f_fallback3r3  r3  r3  )r   r  r'  r*  r   s       r   rS   z0fz_install_load_system_font_funcs_args3.__init__b  s]    %14%0ut%8##JDBEBr#   c                     |y t        |t              rt        |j                        S t        |t              r|S J dt        |             )NzaExpected FzFont or fz_font, but fz_install_load_system_font_funcs() callback returned type(font)=)r   r(2  r  r+  ra  r   rD  s     r   ret_fontz0fz_install_load_system_font_funcs_args3.ret_fontm  sJ    <f%"4??33g&K|zostxoyn{||r#   c                 L    | j                  ||||      }| j                  |      S r-   )re  re  )r   r_  r   r  r  r  r  s          r   r  z)fz_install_load_system_font_funcs_args3.fw  s&    wwtT6+>?}}T""r#   c                 J    | j                  |||      }| j                  |      S r-   )re  re  )r   r_  r   r   r  r  s         r   r'  z-fz_install_load_system_font_funcs_args3.f_cjk{  s#    {{451}}T""r#   c                 N    | j                  |||||      }| j                  |      S r-   )re  re  )r   r_  r  r0	  r  r  r  r  s           r   r*  z2fz_install_load_system_font_funcs_args3.f_fallback  s)    %vF}}T""r#   NNN)
r   r   r6   r7   rS   re  r  r'  r*  rze  r{e  s   @r   re  re  [  s#    	C}###r#   re  c                 <    t        | ||      at        t               y)z
    Python override for MuPDF
    fz_install_load_system_font_funcs() using Swig Director
    support. Python callbacks are not passed a `ctx` arg, and
    can return None, a mupdf.fz_font or a mupdf.FzFont.
    N)re  (g_fz_install_load_system_font_funcs_argsr3  r  s      r   rT  rT    s$     0W0,
 ''OPr#   
0x03090000c                     t        |       S r-   r7e  rV   s    r   rG   rG     s    |T2 r#   c                     t        |       S r-   re  rV   s    r   rG   rG     s    \4%8 r#   c                     t        |       S r-   re  rV   s    r   rG   rG         L$$7 r#   c                     t        |       S r-   re  rV   s    r   rG   rG     re  r#   c                     t        |       S r-   r+  r;  s    r   rG   rG         "9!"< r#   c                     t        |       S r-   re  r;  s    r   rG   rG         #:1#= r#   c                     t        |       S r-   r+  r;  s    r   rG   rG         $=a$@ r#   c                     t        |       S r-   re  r;  s    r   rG   rG         %>q%A r#   c                     t        |       S r-   r!+  r;  s    r   rG   rG         1!4 r#   c                     t        |       S r-   re  r;  s    r   rG   rG         215 r#   c                     t        |       S r-   r$+  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   re  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   r&+  r;  s    r   rG   rG     s    ;klm;n r#   c                     t        |       S r-   re  r;  s    r   rG   rG     s    <lmn<o r#   c                     t        |       S r-   r(+  r;  s    r   rG   rG         /2 r#   c                     t        |       S r-   re  r;  s    r   rG   rG         03 r#   c                     t        |       S r-   r++  r;  s    r   rG   rG     s     5a 8 r#   c                     t        |       S r-   re  r;  s    r   rG   rG     s    !6q!9 r#   c                     t        |       S r-   r.+  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   re  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   r0+  r;  s    r   rG   rG     s    +A. r#   c                     t        |       S r-   re  r;  s    r   rG   rG     s    ,Q/ r#   c                     t        |       S r-   r4+  r;  s    r   rG   rG         &A!&D r#   c                     t        |       S r-   re  r;  s    r   rG   rG         'B1'E r#   c                     t        |       S r-   r7+  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   re  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   r9+  r;  s    r   rG   rG     s    #;A#> r#   c                     t        |       S r-   re  r;  s    r   rG   rG     s    $<Q$? r#   c                     t        |       S r-   r;+  r;  s    r   rG   rG         -a0 r#   c                     t        |       S r-   re  r;  s    r   rG   rG         .q1 r#   c                     t        |       S r-   r=+  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   re  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   r?+  r;  s    r   rG   rG         %?%B r#   c                     t        |       S r-   re  r;  s    r   rG   rG         &@&C r#   c                     t        |       S r-   rB+  r;  s    r   rG   rG     s    .QRS.T r#   c                     t        |       S r-   re  r;  s    r   rG   rG     s    /RST/U r#   c                     t        |       S r-   rD+  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   re  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   rF+  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   re  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   rH+  r;  s    r   rG   rG         'CA'F r#   c                     t        |       S r-   re  r;  s    r   rG   rG         (DQ(G r#   c                     t        |       S r-   rJ+  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   re  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   rL+  r;  s    r   rG   rG     s    /STU/V r#   c                     t        |       S r-   re  r;  s    r   rG   rG     s    0TUV0W r#   c                     t        |       S r-   rN+  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   r f  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   rP+  r;  s    r   rG   rG         (Ea(H r#   c                     t        |       S r-   rf  r;  s    r   rG   rG         )Fq)I r#   c                     t        |       S r-   rS+  r;  s    r   rG   rG     rf  r#   c                     t        |       S r-   rf  r;  s    r   rG   rG     rf  r#   c                     t        |       S r-   rU+  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   rf  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   rW+  r;  s    r   rG   rG     s    0UVW0X r#   c                     t        |       S r-   rf  r;  s    r   rG   rG     s    1VWX1Y r#   c                     t        |       S r-   rY+  r;  s    r   rG   rG     re  r#   c                     t        |       S r-   rf  r;  s    r   rG   rG     re  r#   c                 "    | j                         S r-   r[+  rV   s    r   rG   rG         4>>#3 r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG         DNN$4 r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG         T^^%5 r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG         dnn&6 r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG          0 r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG         !1 r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     s    8H r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     s    9I r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG         t~~/ r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     s    $.."2 r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     s    T^^- r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG         dnn. r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG         t~~'7 r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG         (8 r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r%f  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r-f  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r%f  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r-f  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r%f  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r/f  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     s    dnn.> r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG         t~~/? r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r/f  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r1f  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r1f  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG         )9 r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r1f  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rEf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r>f  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG         0@ r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r/f  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r1f  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rEf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG      rEf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     s    $..*: r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r1f  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rEf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     rJf  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     s    1A r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r/f  r#   c                 "    | j                         S r-   rf  rV   s    r   rG   rG     r1f  r#   r   )NNNTTTT)Fre  ('  rb  r   _swig_python_version_info__package__r   r   r   builtinsr   ImportErrorr   r%   r*   r3   r   r5   rL0  r:   r>   r&  rB   SwigPyIterator_swigregisterr   uchar_array_swigregisterr   vectoruc_swigregisterr)  vectori_swigregisterr{  vectorf_swigregisterr  vectord_swigregisterr	  vectors_swigregisterrP  map_string_int_swigregisterr  vectorq_swigregisterr  $vector_search_page2_hit_swigregisterrJ  #vector_fz_font_ucs_gid_swigregisterr  vector_fz_point_swigregisterr  r  r  r  r  r  r  r  r  
FZ_VERSIONFZ_VERSION_MAJORFZ_VERSION_MINORFZ_VERSION_PATCHFZ_ENABLE_SPOT_RENDERINGFZ_PLOTTERS_NFZ_PLOTTERS_GFZ_PLOTTERS_RGBFZ_PLOTTERS_CMYKFZ_ENABLE_PDFFZ_ENABLE_XPSFZ_ENABLE_SVGFZ_ENABLE_CBZFZ_ENABLE_IMGFZ_ENABLE_HTMLFZ_ENABLE_EPUBFZ_ENABLE_FB2FZ_ENABLE_MOBIFZ_ENABLE_TXTFZ_ENABLE_OFFICEFZ_ENABLE_OCR_OUTPUTFZ_ENABLE_ODT_OUTPUTFZ_ENABLE_DOCX_OUTPUTFZ_ENABLE_JPXFZ_ENABLE_JSFZ_ENABLE_ICCFZ_ENABLE_HTML_ENGINEMEMENTO_PREFILLMEMENTO_POSTFILLMEMENTO_ALLOCFILLMEMENTO_FREEFILLr  r  r  r  r  r  r	  r  r  r  r  r  r  r  r  r!  r#  r%  r'  r)  r-  r/  r1  r4  r7  r:  r>  r@  rC  rE  rG  rJ  rL  rQ  rT  rV  rY  r[  r^  r`  rc  re  rh  rj  rl  rn  rp  rr  rt  rv  rx  rz  r|  PATH_MAXFZ_PI	FZ_RADIAN	FZ_DEGREEFZ_SQRT2FZ_LN2ARCH_HAS_NEONARCH_HAS_SSEHAVE_SIGSETJMPEOFSEEK_SETSEEK_CURSEEK_ENDM_PIr~  fz_point_swigregisterr  fz_rect_swigregisterr  fz_irect_swigregisterr  fz_matrix_swigregistercvarfz_unit_rectfz_empty_rectfz_empty_irectfz_infinite_rectfz_infinite_irectr  fz_quad_swigregisterfz_identityFZ_VERBOSE_EXCEPTIONSr  fz_alloc_context_swigregisterfz_invalid_quadfz_infinite_quadFZ_ERROR_NONEFZ_ERROR_GENERICFZ_ERROR_SYSTEMFZ_ERROR_LIBRARYFZ_ERROR_ARGUMENTFZ_ERROR_LIMITFZ_ERROR_UNSUPPORTEDFZ_ERROR_FORMATFZ_ERROR_SYNTAXFZ_ERROR_TRYLATERFZ_ERROR_ABORTFZ_ERROR_REPAIREDr  fz_locks_context_swigregisterFZ_LOCK_ALLOCFZ_LOCK_FREETYPEFZ_LOCK_GLYPHCACHEFZ_LOCK_MAXFZ_STORE_UNLIMITEDFZ_STORE_DEFAULTr  fz_string_swigregisterFZ_JMPBUF_ALIGNr  fz_error_context_swigregisterr5  fz_warn_context_swigregisterrF  fz_aa_context_swigregisterra  fz_context_swigregisterr  fz_buffer_swigregisterFZ_REPLACEMENT_CHARACTER	FZ_UTFMAXr  fz_stream_swigregisterr  fz_output_swigregisterr  fz_md5_swigregisterr-  fz_sha256_swigregisterr:  fz_sha512_swigregisterrF  fz_arc4_swigregisterrT  fz_aes_swigregisterFZ_AES_DECRYPTFZ_AES_ENCRYPTre  #fz_getopt_long_options_swigregisterFZ_HASH_TABLE_KEY_LENGTHFZ_BIDI_LTRFZ_BIDI_RTLFZ_BIDI_NEUTRALFZ_BIDI_CLASSIFY_WHITE_SPACEFZ_BIDI_REPLACE_TABrw  fz_archive_handler_swigregisterr  fz_archive_swigregisterfz_libarchive_archive_handlerr  fz_storable_swigregisterr  fz_key_storable_swigregisterr  fz_store_hash_swigregisterr  fz_store_type_swigregisterFZ_RI_PERCEPTUALFZ_RI_RELATIVE_COLORIMETRICFZ_RI_SATURATIONFZ_RI_ABSOLUTE_COLORIMETRICr  fz_color_params_swigregisterFZ_MAX_COLORSFZ_COLORSPACE_IS_DEVICEFZ_COLORSPACE_IS_ICCFZ_COLORSPACE_HAS_CMYKFZ_COLORSPACE_HAS_SPOTS FZ_COLORSPACE_HAS_CMYK_AND_SPOTSr  #fz_default_colorspaces_swigregisterfz_default_color_paramsr  fz_colorspace_swigregisterFZ_MAX_SEPARATIONSFZ_SEPARATION_COMPOSITEFZ_SEPARATION_SPOTFZ_SEPARATION_DISABLEDr)  fz_pixmap_swigregisterFZ_PIXMAP_FLAG_INTERPOLATEFZ_PIXMAP_FLAG_FREE_SAMPLESFZ_DEFLATE_NONEFZ_DEFLATE_BEST_SPEEDFZ_DEFLATE_BESTFZ_DEFLATE_DEFAULTrZ  fz_range_swigregisterrh  "fz_compression_params_swigregisterrs  !fz_compressed_buffer_swigregisterFZ_IMAGE_UNKNOWNFZ_IMAGE_RAWFZ_IMAGE_FAXFZ_IMAGE_FLATEFZ_IMAGE_LZWFZ_IMAGE_RLDFZ_IMAGE_BMPFZ_IMAGE_GIFFZ_IMAGE_JBIG2FZ_IMAGE_JPEGFZ_IMAGE_JPXFZ_IMAGE_JXRFZ_IMAGE_PNGFZ_IMAGE_PNMFZ_IMAGE_TIFFFZ_IMAGE_PSDr  fz_bitmap_swigregisterr  fz_image_swigregisterFZ_FUNCTION_BASED	FZ_LINEAR	FZ_RADIALFZ_MESH_TYPE4FZ_MESH_TYPE5FZ_MESH_TYPE6FZ_MESH_TYPE7r  fz_shade_swigregisterr  fz_vertex_swigregisterr  fz_text_decoder_swigregisterfz_unicode_from_iso8859_1fz_unicode_from_iso8859_7fz_unicode_from_koi8u fz_unicode_from_pdf_doc_encodingfz_unicode_from_windows_1250fz_unicode_from_windows_1251fz_unicode_from_windows_1252FZ_ADOBE_CNSFZ_ADOBE_GBFZ_ADOBE_JAPANFZ_ADOBE_KOREAr!  fz_font_flags_t_swigregisterrS  fz_shaper_data_t_swigregisterra  fz_font_swigregisterFZ_LINECAP_BUTTFZ_LINECAP_ROUNDFZ_LINECAP_SQUAREFZ_LINECAP_TRIANGLEFZ_LINEJOIN_MITERFZ_LINEJOIN_ROUNDFZ_LINEJOIN_BEVELFZ_LINEJOIN_MITER_XPSr  fz_stroke_state_swigregisterr  fz_path_walker_swigregisterr	  fz_text_item_swigregisterfz_default_stroke_stateFZ_LANG_UNSET
FZ_LANG_urFZ_LANG_urd
FZ_LANG_ko
FZ_LANG_ja
FZ_LANG_zhFZ_LANG_zh_HansFZ_LANG_zh_Hantr	  fz_text_span_swigregisterr;	  fz_text_swigregisterFZ_DEVFLAG_MASKFZ_DEVFLAG_COLORFZ_DEVFLAG_UNCACHEABLEFZ_DEVFLAG_FILLCOLOR_UNDEFINED FZ_DEVFLAG_STROKECOLOR_UNDEFINEDFZ_DEVFLAG_STARTCAP_UNDEFINEDFZ_DEVFLAG_DASHCAP_UNDEFINEDFZ_DEVFLAG_ENDCAP_UNDEFINEDFZ_DEVFLAG_LINEJOIN_UNDEFINEDFZ_DEVFLAG_MITERLIMIT_UNDEFINEDFZ_DEVFLAG_LINEWIDTH_UNDEFINEDFZ_DEVFLAG_BBOX_DEFINEDFZ_DEVFLAG_GRIDFIT_AS_TILEDFZ_BLEND_NORMALFZ_BLEND_MULTIPLYFZ_BLEND_SCREENFZ_BLEND_OVERLAYFZ_BLEND_DARKENFZ_BLEND_LIGHTENFZ_BLEND_COLOR_DODGEFZ_BLEND_COLOR_BURNFZ_BLEND_HARD_LIGHTFZ_BLEND_SOFT_LIGHTFZ_BLEND_DIFFERENCEFZ_BLEND_EXCLUSIONFZ_BLEND_HUEFZ_BLEND_SATURATIONFZ_BLEND_COLORFZ_BLEND_LUMINOSITYFZ_BLEND_MODEMASKFZ_BLEND_ISOLATEDFZ_BLEND_KNOCKOUTFZ_FUNCTION_MAX_NFZ_FUNCTION_MAX_MrK	  fz_function_swigregisterr_	  &fz_device_container_stack_swigregister!fz_device_container_stack_is_clip!fz_device_container_stack_is_mask"fz_device_container_stack_is_group!fz_device_container_stack_is_tileFZ_STRUCTURE_INVALIDFZ_STRUCTURE_DOCUMENTFZ_STRUCTURE_PARTFZ_STRUCTURE_ARTFZ_STRUCTURE_SECTFZ_STRUCTURE_DIVFZ_STRUCTURE_BLOCKQUOTEFZ_STRUCTURE_CAPTIONFZ_STRUCTURE_TOCFZ_STRUCTURE_TOCIFZ_STRUCTURE_INDEXFZ_STRUCTURE_NONSTRUCTFZ_STRUCTURE_PRIVATEFZ_STRUCTURE_DOCUMENTFRAGMENTFZ_STRUCTURE_ASIDEFZ_STRUCTURE_TITLEFZ_STRUCTURE_FENOTEFZ_STRUCTURE_SUBFZ_STRUCTURE_PFZ_STRUCTURE_HFZ_STRUCTURE_H1FZ_STRUCTURE_H2FZ_STRUCTURE_H3FZ_STRUCTURE_H4FZ_STRUCTURE_H5FZ_STRUCTURE_H6FZ_STRUCTURE_LISTFZ_STRUCTURE_LISTITEMFZ_STRUCTURE_LABELFZ_STRUCTURE_LISTBODYFZ_STRUCTURE_TABLEFZ_STRUCTURE_TRFZ_STRUCTURE_THFZ_STRUCTURE_TDFZ_STRUCTURE_THEADFZ_STRUCTURE_TBODYFZ_STRUCTURE_TFOOTFZ_STRUCTURE_SPANFZ_STRUCTURE_QUOTEFZ_STRUCTURE_NOTEFZ_STRUCTURE_REFERENCEFZ_STRUCTURE_BIBENTRYFZ_STRUCTURE_CODEFZ_STRUCTURE_LINKFZ_STRUCTURE_ANNOTFZ_STRUCTURE_EMFZ_STRUCTURE_STRONGFZ_STRUCTURE_RUBYFZ_STRUCTURE_RBFZ_STRUCTURE_RTFZ_STRUCTURE_RPFZ_STRUCTURE_WARICHUFZ_STRUCTURE_WTFZ_STRUCTURE_WPFZ_STRUCTURE_FIGUREFZ_STRUCTURE_FORMULAFZ_STRUCTURE_FORMFZ_STRUCTURE_ARTIFACTFZ_METATEXT_ACTUALTEXTFZ_METATEXT_ALTFZ_METATEXT_ABBREVIATIONFZ_METATEXT_TITLEro	  fz_device_swigregisterFZ_DONT_INTERPOLATE_IMAGESFZ_NO_CACHEFZ_DONT_DECODE_IMAGESr	  fz_cookie_swigregisterFZ_TEST_OPT_IMAGESFZ_TEST_OPT_SHADINGSr	  fz_draw_options_swigregisterr
  fz_location_swigregisterr*
  fz_layout_char_swigregisterr:
  fz_layout_line_swigregisterrO
  fz_layout_block_swigregisterFZ_STEXT_PRESERVE_LIGATURESFZ_STEXT_PRESERVE_WHITESPACEFZ_STEXT_PRESERVE_IMAGESFZ_STEXT_INHIBIT_SPACESFZ_STEXT_DEHYPHENATEFZ_STEXT_PRESERVE_SPANSFZ_STEXT_CLIP$FZ_STEXT_USE_CID_FOR_UNKNOWN_UNICODEFZ_STEXT_COLLECT_STRUCTUREFZ_STEXT_ACCURATE_BBOXESFZ_STEXT_COLLECT_VECTORSFZ_STEXT_IGNORE_ACTUALTEXTFZ_STEXT_SEGMENTFZ_STEXT_MEDIABOX_CLIPrg
  fz_stext_page_swigregisterFZ_STEXT_BLOCK_TEXTFZ_STEXT_BLOCK_IMAGEFZ_STEXT_BLOCK_STRUCTFZ_STEXT_BLOCK_VECTORFZ_STEXT_BLOCK_GRIDr}
  fz_stext_block_swigregisterr
  fz_stext_line_swigregisterr
  fz_stext_char_swigregisterFZ_STEXT_STRIKEOUTFZ_STEXT_UNDERLINEFZ_STEXT_SYNTHETICFZ_STEXT_FILLEDFZ_STEXT_STROKEDFZ_STEXT_CLIPPEDr
  fz_stext_struct_swigregisterr
  $fz_stext_grid_positions_swigregisterFZ_SELECT_CHARSFZ_SELECT_WORDSFZ_SELECT_LINESr
  fz_stext_options_swigregisterFZ_TRANSITION_NONEFZ_TRANSITION_SPLITFZ_TRANSITION_BLINDSFZ_TRANSITION_BOXFZ_TRANSITION_WIPEFZ_TRANSITION_DISSOLVEFZ_TRANSITION_GLITTERFZ_TRANSITION_FLYFZ_TRANSITION_PUSHFZ_TRANSITION_COVERFZ_TRANSITION_UNCOVERFZ_TRANSITION_FADEr
  fz_transition_swigregisterr  fz_link_swigregisterFZ_LINK_DEST_FITFZ_LINK_DEST_FIT_BFZ_LINK_DEST_FIT_HFZ_LINK_DEST_FIT_BHFZ_LINK_DEST_FIT_VFZ_LINK_DEST_FIT_BVFZ_LINK_DEST_FIT_RFZ_LINK_DEST_XYZr-  fz_link_dest_swigregisterrE  fz_outline_item_swigregisterrU  fz_outline_swigregisterrp   fz_outline_iterator_swigregisterFZ_MEDIA_BOXFZ_CROP_BOXFZ_BLEED_BOXFZ_TRIM_BOX
FZ_ART_BOXFZ_UNKNOWN_BOXFZ_LAYOUT_KINDLE_WFZ_LAYOUT_KINDLE_HFZ_LAYOUT_KINDLE_EMFZ_LAYOUT_US_POCKET_WFZ_LAYOUT_US_POCKET_HFZ_LAYOUT_US_POCKET_EMFZ_LAYOUT_US_TRADE_WFZ_LAYOUT_US_TRADE_HFZ_LAYOUT_US_TRADE_EMFZ_LAYOUT_UK_A_FORMAT_WFZ_LAYOUT_UK_A_FORMAT_HFZ_LAYOUT_UK_A_FORMAT_EMFZ_LAYOUT_UK_B_FORMAT_WFZ_LAYOUT_UK_B_FORMAT_HFZ_LAYOUT_UK_B_FORMAT_EMFZ_LAYOUT_UK_C_FORMAT_WFZ_LAYOUT_UK_C_FORMAT_HFZ_LAYOUT_UK_C_FORMAT_EMFZ_LAYOUT_A5_WFZ_LAYOUT_A5_HFZ_LAYOUT_A5_EMFZ_DEFAULT_LAYOUT_WFZ_DEFAULT_LAYOUT_HFZ_DEFAULT_LAYOUT_EMFZ_PERMISSION_PRINTFZ_PERMISSION_COPYFZ_PERMISSION_EDITFZ_PERMISSION_ANNOTATEFZ_PERMISSION_FORMFZ_PERMISSION_ACCESSIBILITYFZ_PERMISSION_ASSEMBLEFZ_PERMISSION_PRINT_HQFZ_META_FORMATFZ_META_ENCRYPTIONFZ_META_INFOFZ_META_INFO_TITLEFZ_META_INFO_AUTHORFZ_META_INFO_SUBJECTFZ_META_INFO_KEYWORDSFZ_META_INFO_CREATORFZ_META_INFO_PRODUCERFZ_META_INFO_CREATIONDATEFZ_META_INFO_MODIFICATIONDATEr  fz_page_swigregisterr  fz_document_swigregisterr"   fz_document_handler_swigregisterr@  fz_document_writer_swigregisterrW  fz_band_writer_swigregisterr  fz_pcl_options_swigregisterr  fz_pclm_options_swigregisterr  fz_pdfocr_options_swigregisterr  fz_pwg_options_swigregisterFZ_SVG_TEXT_AS_PATHFZ_SVG_TEXT_AS_TEXTFZ_PLACE_STORY_FLAG_NO_OVERFLOW FZ_PLACE_STORY_RETURN_ALL_FITTED$FZ_PLACE_STORY_RETURN_OVERFLOW_WIDTHr?  &fz_story_element_position_swigregisterr]  $fz_write_story_position_swigregisterrk  %fz_write_story_positions_swigregisterFZ_DESKEW_BORDER_INCREASEFZ_DESKEW_BORDER_MAINTAINFZ_DESKEW_BORDER_DECREASEPDF_MAX_OBJECT_NUMBERPDF_MAX_GEN_NUMBERrz  pdf_cycle_list_swigregisterr  pdf_mark_bits_swigregisterr  pdf_mark_list_swigregisterPDF_ENUM_NULLPDF_ENUM_TRUEPDF_ENUM_FALSEPDF_ENUM_NAME_1_2PDF_ENUM_NAME_1_5PDF_ENUM_NAME_3DPDF_ENUM_NAME_APDF_ENUM_NAME_A85PDF_ENUM_NAME_AAPDF_ENUM_NAME_ACPDF_ENUM_NAME_AESV2PDF_ENUM_NAME_AESV3PDF_ENUM_NAME_AFPDF_ENUM_NAME_AFRelationshipPDF_ENUM_NAME_AHxPDF_ENUM_NAME_APPDF_ENUM_NAME_ASPDF_ENUM_NAME_ASCII85DecodePDF_ENUM_NAME_ASCIIHexDecodePDF_ENUM_NAME_AcroFormPDF_ENUM_NAME_ActionPDF_ENUM_NAME_ActualTextPDF_ENUM_NAME_Adobe_PPKLitePDF_ENUM_NAME_AllPDF_ENUM_NAME_AllOffPDF_ENUM_NAME_AllOnPDF_ENUM_NAME_AlphaPDF_ENUM_NAME_AltPDF_ENUM_NAME_AlternatePDF_ENUM_NAME_AlternativePDF_ENUM_NAME_AnnotPDF_ENUM_NAME_AnnotsPDF_ENUM_NAME_AnyOffPDF_ENUM_NAME_AppPDF_ENUM_NAME_ApprovedPDF_ENUM_NAME_ArtPDF_ENUM_NAME_ArtBoxPDF_ENUM_NAME_ArtifactPDF_ENUM_NAME_AsIsPDF_ENUM_NAME_AscentPDF_ENUM_NAME_AsidePDF_ENUM_NAME_AuthEventPDF_ENUM_NAME_AuthorPDF_ENUM_NAME_BPDF_ENUM_NAME_BBoxPDF_ENUM_NAME_BCPDF_ENUM_NAME_BEPDF_ENUM_NAME_BGPDF_ENUM_NAME_BMPDF_ENUM_NAME_BPCPDF_ENUM_NAME_BSPDF_ENUM_NAME_BackgroundPDF_ENUM_NAME_BaseEncodingPDF_ENUM_NAME_BaseFontPDF_ENUM_NAME_BaseStatePDF_ENUM_NAME_BibEntryPDF_ENUM_NAME_BitsPerComponentPDF_ENUM_NAME_BitsPerCoordinatePDF_ENUM_NAME_BitsPerFlagPDF_ENUM_NAME_BitsPerSamplePDF_ENUM_NAME_BlackIs1PDF_ENUM_NAME_BlackPointPDF_ENUM_NAME_BleedBoxPDF_ENUM_NAME_BlindsPDF_ENUM_NAME_BlockQuotePDF_ENUM_NAME_BorderPDF_ENUM_NAME_BoundsPDF_ENUM_NAME_BoxPDF_ENUM_NAME_BtPDF_ENUM_NAME_BtnPDF_ENUM_NAME_ButtPDF_ENUM_NAME_ByteRangePDF_ENUM_NAME_CPDF_ENUM_NAME_C0PDF_ENUM_NAME_C1PDF_ENUM_NAME_CAPDF_ENUM_NAME_CCFPDF_ENUM_NAME_CCITTFaxDecodePDF_ENUM_NAME_CFPDF_ENUM_NAME_CFMPDF_ENUM_NAME_CIPDF_ENUM_NAME_CIDFontType0PDF_ENUM_NAME_CIDFontType0CPDF_ENUM_NAME_CIDFontType2PDF_ENUM_NAME_CIDSystemInfoPDF_ENUM_NAME_CIDToGIDMapPDF_ENUM_NAME_CLPDF_ENUM_NAME_CMYKPDF_ENUM_NAME_COPDF_ENUM_NAME_CPPDF_ENUM_NAME_CSPDF_ENUM_NAME_CalCMYKPDF_ENUM_NAME_CalGrayPDF_ENUM_NAME_CalRGBPDF_ENUM_NAME_CapPDF_ENUM_NAME_CapHeightPDF_ENUM_NAME_CaptionPDF_ENUM_NAME_CaretPDF_ENUM_NAME_CatalogPDF_ENUM_NAME_CertPDF_ENUM_NAME_ChPDF_ENUM_NAME_ChangesPDF_ENUM_NAME_CharProcsPDF_ENUM_NAME_CheckSumPDF_ENUM_NAME_CirclePDF_ENUM_NAME_ClosedArrowPDF_ENUM_NAME_CodePDF_ENUM_NAME_CollectionPDF_ENUM_NAME_ColorSpacePDF_ENUM_NAME_ColorTransformPDF_ENUM_NAME_ColorantsPDF_ENUM_NAME_ColorsPDF_ENUM_NAME_ColumnsPDF_ENUM_NAME_ConfidentialPDF_ENUM_NAME_ConfigsPDF_ENUM_NAME_ContactInfoPDF_ENUM_NAME_ContentsPDF_ENUM_NAME_CoordsPDF_ENUM_NAME_CountPDF_ENUM_NAME_CoverPDF_ENUM_NAME_CreationDatePDF_ENUM_NAME_CreatorPDF_ENUM_NAME_CropBoxPDF_ENUM_NAME_CryptPDF_ENUM_NAME_DPDF_ENUM_NAME_DAPDF_ENUM_NAME_DCPDF_ENUM_NAME_DCTPDF_ENUM_NAME_DCTDecodePDF_ENUM_NAME_DLPDF_ENUM_NAME_DOSPDF_ENUM_NAME_DPPDF_ENUM_NAME_DRPDF_ENUM_NAME_DSPDF_ENUM_NAME_DVPDF_ENUM_NAME_DWPDF_ENUM_NAME_DW2$PDF_ENUM_NAME_DamagedRowsBeforeErrorPDF_ENUM_NAME_DataPDF_ENUM_NAME_DatePDF_ENUM_NAME_DecodePDF_ENUM_NAME_DecodeParmsPDF_ENUM_NAME_DefaultPDF_ENUM_NAME_DefaultCMYKPDF_ENUM_NAME_DefaultGrayPDF_ENUM_NAME_DefaultRGBPDF_ENUM_NAME_DepartmentalPDF_ENUM_NAME_DescPDF_ENUM_NAME_DescendantFontsPDF_ENUM_NAME_DescentPDF_ENUM_NAME_DesignPDF_ENUM_NAME_DestPDF_ENUM_NAME_DestOutputProfilePDF_ENUM_NAME_DestsPDF_ENUM_NAME_DeviceCMYKPDF_ENUM_NAME_DeviceGrayPDF_ENUM_NAME_DeviceNPDF_ENUM_NAME_DeviceRGBPDF_ENUM_NAME_DiPDF_ENUM_NAME_DiamondPDF_ENUM_NAME_DifferencesPDF_ENUM_NAME_DigestLocationPDF_ENUM_NAME_DigestMethodPDF_ENUM_NAME_DigestValuePDF_ENUM_NAME_DissolvePDF_ENUM_NAME_DivPDF_ENUM_NAME_DmPDF_ENUM_NAME_DocMDPPDF_ENUM_NAME_DocumentPDF_ENUM_NAME_DocumentFragmentPDF_ENUM_NAME_DomainPDF_ENUM_NAME_DraftPDF_ENUM_NAME_DurPDF_ENUM_NAME_EPDF_ENUM_NAME_EFPDF_ENUM_NAME_EarlyChangePDF_ENUM_NAME_EmPDF_ENUM_NAME_EmbeddedFilePDF_ENUM_NAME_EmbeddedFilesPDF_ENUM_NAME_EncodePDF_ENUM_NAME_EncodedByteAlignPDF_ENUM_NAME_EncodingPDF_ENUM_NAME_EncryptPDF_ENUM_NAME_EncryptMetadataPDF_ENUM_NAME_EncryptedPayloadPDF_ENUM_NAME_EndOfBlockPDF_ENUM_NAME_EndOfLinePDF_ENUM_NAME_ExcludePDF_ENUM_NAME_ExperimentalPDF_ENUM_NAME_ExpiredPDF_ENUM_NAME_ExtGStatePDF_ENUM_NAME_ExtendPDF_ENUM_NAME_FPDF_ENUM_NAME_FENotePDF_ENUM_NAME_FLPDF_ENUM_NAME_FRMPDF_ENUM_NAME_FSPDF_ENUM_NAME_FTPDF_ENUM_NAME_FadePDF_ENUM_NAME_FfPDF_ENUM_NAME_FieldMDPPDF_ENUM_NAME_FieldsPDF_ENUM_NAME_FigurePDF_ENUM_NAME_FileAttachmentPDF_ENUM_NAME_FileSizePDF_ENUM_NAME_FilespecPDF_ENUM_NAME_FilterPDF_ENUM_NAME_FinalPDF_ENUM_NAME_FingerprintPDF_ENUM_NAME_FirstPDF_ENUM_NAME_FirstCharPDF_ENUM_NAME_FirstPagePDF_ENUM_NAME_FitPDF_ENUM_NAME_FitBPDF_ENUM_NAME_FitBHPDF_ENUM_NAME_FitBVPDF_ENUM_NAME_FitHPDF_ENUM_NAME_FitRPDF_ENUM_NAME_FitVPDF_ENUM_NAME_FlPDF_ENUM_NAME_FlagsPDF_ENUM_NAME_FlateDecodePDF_ENUM_NAME_FlyPDF_ENUM_NAME_FontPDF_ENUM_NAME_FontBBoxPDF_ENUM_NAME_FontDescriptorPDF_ENUM_NAME_FontFilePDF_ENUM_NAME_FontFile2PDF_ENUM_NAME_FontFile3PDF_ENUM_NAME_FontMatrixPDF_ENUM_NAME_FontNamePDF_ENUM_NAME_ForCommentPDF_ENUM_NAME_ForPublicReleasePDF_ENUM_NAME_FormPDF_ENUM_NAME_FormDataPDF_ENUM_NAME_FormExPDF_ENUM_NAME_FormTypePDF_ENUM_NAME_FormulaPDF_ENUM_NAME_FreeTextPDF_ENUM_NAME_FreeTextCallout PDF_ENUM_NAME_FreeTextTypeWriterPDF_ENUM_NAME_FunctionPDF_ENUM_NAME_FunctionTypePDF_ENUM_NAME_FunctionsPDF_ENUM_NAME_GPDF_ENUM_NAME_GTS_PDFXPDF_ENUM_NAME_GammaPDF_ENUM_NAME_GlitterPDF_ENUM_NAME_GoToPDF_ENUM_NAME_GoToRPDF_ENUM_NAME_GroupPDF_ENUM_NAME_HPDF_ENUM_NAME_H1PDF_ENUM_NAME_H2PDF_ENUM_NAME_H3PDF_ENUM_NAME_H4PDF_ENUM_NAME_H5PDF_ENUM_NAME_H6PDF_ENUM_NAME_HeightPDF_ENUM_NAME_HelvPDF_ENUM_NAME_HighlightPDF_ENUM_NAME_HistoryPosPDF_ENUM_NAME_IPDF_ENUM_NAME_ICPDF_ENUM_NAME_ICCBasedPDF_ENUM_NAME_IDPDF_ENUM_NAME_IMPDF_ENUM_NAME_IRTPDF_ENUM_NAME_ITPDF_ENUM_NAME_IdentityPDF_ENUM_NAME_Identity_HPDF_ENUM_NAME_Identity_VPDF_ENUM_NAME_ImagePDF_ENUM_NAME_ImageBPDF_ENUM_NAME_ImageCPDF_ENUM_NAME_ImageIPDF_ENUM_NAME_ImageMaskPDF_ENUM_NAME_IncludePDF_ENUM_NAME_IndexPDF_ENUM_NAME_IndexedPDF_ENUM_NAME_InfoPDF_ENUM_NAME_InkPDF_ENUM_NAME_InkListPDF_ENUM_NAME_IntentPDF_ENUM_NAME_InterpolatePDF_ENUM_NAME_IsMapPDF_ENUM_NAME_ItalicAnglePDF_ENUM_NAME_JBIG2DecodePDF_ENUM_NAME_JBIG2GlobalsPDF_ENUM_NAME_JPXDecodePDF_ENUM_NAME_JSPDF_ENUM_NAME_JavaScriptPDF_ENUM_NAME_KPDF_ENUM_NAME_KeywordsPDF_ENUM_NAME_KidsPDF_ENUM_NAME_LPDF_ENUM_NAME_LBodyPDF_ENUM_NAME_LCPDF_ENUM_NAME_LEPDF_ENUM_NAME_LIPDF_ENUM_NAME_LJPDF_ENUM_NAME_LLPDF_ENUM_NAME_LLEPDF_ENUM_NAME_LLOPDF_ENUM_NAME_LWPDF_ENUM_NAME_LZPDF_ENUM_NAME_LZWPDF_ENUM_NAME_LZWDecodePDF_ENUM_NAME_LabPDF_ENUM_NAME_LabelPDF_ENUM_NAME_LangPDF_ENUM_NAME_LastPDF_ENUM_NAME_LastCharPDF_ENUM_NAME_LastPagePDF_ENUM_NAME_LaunchPDF_ENUM_NAME_LayerPDF_ENUM_NAME_LblPDF_ENUM_NAME_LengthPDF_ENUM_NAME_Length1PDF_ENUM_NAME_Length2PDF_ENUM_NAME_Length3PDF_ENUM_NAME_LimitsPDF_ENUM_NAME_LinePDF_ENUM_NAME_LineArrowPDF_ENUM_NAME_LineDimensionPDF_ENUM_NAME_LinearizedPDF_ENUM_NAME_LinkPDF_ENUM_NAME_ListPDF_ENUM_NAME_LocationPDF_ENUM_NAME_LockPDF_ENUM_NAME_LockedPDF_ENUM_NAME_LuminosityPDF_ENUM_NAME_MPDF_ENUM_NAME_MCIDPDF_ENUM_NAME_MKPDF_ENUM_NAME_MLPDF_ENUM_NAME_MMType1PDF_ENUM_NAME_MacPDF_ENUM_NAME_MaskPDF_ENUM_NAME_MatrixPDF_ENUM_NAME_MattePDF_ENUM_NAME_MaxLenPDF_ENUM_NAME_MediaBoxPDF_ENUM_NAME_MetadataPDF_ENUM_NAME_MissingWidthPDF_ENUM_NAME_ModDatePDF_ENUM_NAME_MoviePDF_ENUM_NAME_MsgPDF_ENUM_NAME_MultiplyPDF_ENUM_NAME_NPDF_ENUM_NAME_NamePDF_ENUM_NAME_NamedPDF_ENUM_NAME_NamesPDF_ENUM_NAME_NewWindowPDF_ENUM_NAME_NextPDF_ENUM_NAME_NextPagePDF_ENUM_NAME_NonEFontNoWarnPDF_ENUM_NAME_NonStructPDF_ENUM_NAME_NonePDF_ENUM_NAME_NormalPDF_ENUM_NAME_NotApproved!PDF_ENUM_NAME_NotForPublicReleasePDF_ENUM_NAME_NotePDF_ENUM_NAME_NumSectionsPDF_ENUM_NAME_NumsPDF_ENUM_NAME_OPDF_ENUM_NAME_OCPDF_ENUM_NAME_OCGPDF_ENUM_NAME_OCGsPDF_ENUM_NAME_OCMDPDF_ENUM_NAME_OCPropertiesPDF_ENUM_NAME_OEPDF_ENUM_NAME_OFFPDF_ENUM_NAME_ONPDF_ENUM_NAME_OPPDF_ENUM_NAME_OPMPDF_ENUM_NAME_OSPDF_ENUM_NAME_ObjStmPDF_ENUM_NAME_OfPDF_ENUM_NAME_OffPDF_ENUM_NAME_OpenPDF_ENUM_NAME_OpenArrowPDF_ENUM_NAME_OpenTypePDF_ENUM_NAME_OptPDF_ENUM_NAME_OrderPDF_ENUM_NAME_OrderingPDF_ENUM_NAME_OutlinesPDF_ENUM_NAME_OutputCondition'PDF_ENUM_NAME_OutputConditionIdentifierPDF_ENUM_NAME_OutputIntentPDF_ENUM_NAME_OutputIntentsPDF_ENUM_NAME_PPDF_ENUM_NAME_PDFPDF_ENUM_NAME_PSPDF_ENUM_NAME_PagePDF_ENUM_NAME_PageLabelsPDF_ENUM_NAME_PageModePDF_ENUM_NAME_PagesPDF_ENUM_NAME_PaintTypePDF_ENUM_NAME_ParamsPDF_ENUM_NAME_ParentPDF_ENUM_NAME_ParentTreePDF_ENUM_NAME_PartPDF_ENUM_NAME_PatternPDF_ENUM_NAME_PatternTypePDF_ENUM_NAME_PermsPDF_ENUM_NAME_PieceInfoPDF_ENUM_NAME_PolyLinePDF_ENUM_NAME_PolyLineDimensionPDF_ENUM_NAME_PolygonPDF_ENUM_NAME_PolygonCloudPDF_ENUM_NAME_PolygonDimensionPDF_ENUM_NAME_PopupPDF_ENUM_NAME_PreReleasePDF_ENUM_NAME_PredictorPDF_ENUM_NAME_PrevPDF_ENUM_NAME_PrevPagePDF_ENUM_NAME_PreviewPDF_ENUM_NAME_PrintPDF_ENUM_NAME_PrinterMarkPDF_ENUM_NAME_PrivatePDF_ENUM_NAME_ProcSetPDF_ENUM_NAME_ProducerPDF_ENUM_NAME_Prop_AuthTimePDF_ENUM_NAME_Prop_AuthTypePDF_ENUM_NAME_Prop_BuildPDF_ENUM_NAME_PropertiesPDF_ENUM_NAME_PubSecPDF_ENUM_NAME_PushPDF_ENUM_NAME_QPDF_ENUM_NAME_QuadPointsPDF_ENUM_NAME_QuotePDF_ENUM_NAME_RPDF_ENUM_NAME_RBPDF_ENUM_NAME_RBGroupsPDF_ENUM_NAME_RCPDF_ENUM_NAME_RClosedArrowPDF_ENUM_NAME_RDPDF_ENUM_NAME_RExPDF_ENUM_NAME_RGBPDF_ENUM_NAME_RIPDF_ENUM_NAME_RLPDF_ENUM_NAME_ROpenArrowPDF_ENUM_NAME_RPPDF_ENUM_NAME_RTPDF_ENUM_NAME_RangePDF_ENUM_NAME_ReasonPDF_ENUM_NAME_RectPDF_ENUM_NAME_RedactPDF_ENUM_NAME_RefPDF_ENUM_NAME_ReferencePDF_ENUM_NAME_RegistryPDF_ENUM_NAME_ResetFormPDF_ENUM_NAME_ResourcesPDF_ENUM_NAME_RoleMapPDF_ENUM_NAME_RootPDF_ENUM_NAME_RotatePDF_ENUM_NAME_RowsPDF_ENUM_NAME_RubyPDF_ENUM_NAME_RunLengthDecodePDF_ENUM_NAME_SPDF_ENUM_NAME_SMaskPDF_ENUM_NAME_SMaskInDataPDF_ENUM_NAME_SchemaPDF_ENUM_NAME_ScreenPDF_ENUM_NAME_SectPDF_ENUM_NAME_SeparationPDF_ENUM_NAME_ShadingPDF_ENUM_NAME_ShadingTypePDF_ENUM_NAME_SiPDF_ENUM_NAME_SigPDF_ENUM_NAME_SigFlagsPDF_ENUM_NAME_SigQPDF_ENUM_NAME_SigRefPDF_ENUM_NAME_SizePDF_ENUM_NAME_SlashPDF_ENUM_NAME_SoldPDF_ENUM_NAME_SoundPDF_ENUM_NAME_SourcePDF_ENUM_NAME_SpanPDF_ENUM_NAME_SplitPDF_ENUM_NAME_SquarePDF_ENUM_NAME_SquigglyPDF_ENUM_NAME_StPDF_ENUM_NAME_StampPDF_ENUM_NAME_StampImagePDF_ENUM_NAME_StampSnapshotPDF_ENUM_NAME_StandardPDF_ENUM_NAME_StdCFPDF_ENUM_NAME_StemVPDF_ENUM_NAME_StmFPDF_ENUM_NAME_StrFPDF_ENUM_NAME_StrikeOutPDF_ENUM_NAME_StrongPDF_ENUM_NAME_StructParentPDF_ENUM_NAME_StructParentsPDF_ENUM_NAME_StructTreeRootPDF_ENUM_NAME_SubPDF_ENUM_NAME_SubFilterPDF_ENUM_NAME_SubjectPDF_ENUM_NAME_SubtypePDF_ENUM_NAME_Subtype2PDF_ENUM_NAME_SupplementPDF_ENUM_NAME_SymbPDF_ENUM_NAME_TPDF_ENUM_NAME_TBodyPDF_ENUM_NAME_TDPDF_ENUM_NAME_TFootPDF_ENUM_NAME_THPDF_ENUM_NAME_THeadPDF_ENUM_NAME_TIPDF_ENUM_NAME_TOCPDF_ENUM_NAME_TOCIPDF_ENUM_NAME_TRPDF_ENUM_NAME_TR2PDF_ENUM_NAME_TUPDF_ENUM_NAME_TablePDF_ENUM_NAME_TextPDF_ENUM_NAME_ThumbPDF_ENUM_NAME_TilingTypePDF_ENUM_NAME_TimesPDF_ENUM_NAME_TitlePDF_ENUM_NAME_ToUnicodePDF_ENUM_NAME_TopPDF_ENUM_NAME_TopSecretPDF_ENUM_NAME_TransPDF_ENUM_NAME_TransformMethodPDF_ENUM_NAME_TransformParamsPDF_ENUM_NAME_TransparencyPDF_ENUM_NAME_TrapNetPDF_ENUM_NAME_TrimBoxPDF_ENUM_NAME_TrueTypePDF_ENUM_NAME_TrustedModePDF_ENUM_NAME_TxPDF_ENUM_NAME_TypePDF_ENUM_NAME_Type0PDF_ENUM_NAME_Type1PDF_ENUM_NAME_Type1CPDF_ENUM_NAME_Type3PDF_ENUM_NAME_UPDF_ENUM_NAME_UEPDF_ENUM_NAME_UFPDF_ENUM_NAME_URIPDF_ENUM_NAME_URLPDF_ENUM_NAME_UnchangedPDF_ENUM_NAME_UncoverPDF_ENUM_NAME_UnderlinePDF_ENUM_NAME_UnixPDF_ENUM_NAME_UnspecifiedPDF_ENUM_NAME_UsagePDF_ENUM_NAME_UseBlackPtCompPDF_ENUM_NAME_UseCMapPDF_ENUM_NAME_UseOutlinesPDF_ENUM_NAME_UserUnitPDF_ENUM_NAME_VPDF_ENUM_NAME_V2PDF_ENUM_NAME_VEPDF_ENUM_NAME_VersionPDF_ENUM_NAME_VerticesPDF_ENUM_NAME_VerticesPerRowPDF_ENUM_NAME_ViewPDF_ENUM_NAME_WPDF_ENUM_NAME_W2PDF_ENUM_NAME_WModePDF_ENUM_NAME_WPPDF_ENUM_NAME_WTPDF_ENUM_NAME_WarichuPDF_ENUM_NAME_WatermarkPDF_ENUM_NAME_WhitePointPDF_ENUM_NAME_WidgetPDF_ENUM_NAME_WidthPDF_ENUM_NAME_WidthsPDF_ENUM_NAME_WinAnsiEncodingPDF_ENUM_NAME_WipePDF_ENUM_NAME_XFAPDF_ENUM_NAME_XHeightPDF_ENUM_NAME_XMLPDF_ENUM_NAME_XObjectPDF_ENUM_NAME_XRefPDF_ENUM_NAME_XRefStmPDF_ENUM_NAME_XStepPDF_ENUM_NAME_XYZPDF_ENUM_NAME_YStepPDF_ENUM_NAME_YesPDF_ENUM_NAME_ZaDbPDF_ENUM_NAME_a!PDF_ENUM_NAME_adbe_pkcs7_detachedPDF_ENUM_NAME_caPDF_ENUM_NAME_n0PDF_ENUM_NAME_n1PDF_ENUM_NAME_n2PDF_ENUM_NAME_opPDF_ENUM_NAME_rPDF_ENUM_LIMITPDF_LEXBUF_SMALLPDF_LEXBUF_LARGEr  pdf_lexbuf_swigregisterr  pdf_lexbuf_large_swigregisterr  pdf_js_console_swigregisterr  pdf_layer_config_swigregisterPDF_LAYER_UI_LABELPDF_LAYER_UI_CHECKBOXPDF_LAYER_UI_RADIOBOXr   pdf_layer_config_ui_swigregisterr   pdf_unsaved_sig_swigregisterr  pdf_rev_page_map_swigregisterr)  pdf_hint_page_swigregisterr7  pdf_hint_shared_swigregisterrC  pdf_document_swigregisterPDF_PAGE_LABEL_NONEPDF_PAGE_LABEL_DECIMALPDF_PAGE_LABEL_ROMAN_UCPDF_PAGE_LABEL_ROMAN_LCPDF_PAGE_LABEL_ALPHA_UCPDF_PAGE_LABEL_ALPHA_LCr  pdf_write_options_swigregisterPDF_TOK_ERRORPDF_TOK_EOFPDF_TOK_OPEN_ARRAYPDF_TOK_CLOSE_ARRAYPDF_TOK_OPEN_DICTPDF_TOK_CLOSE_DICTPDF_TOK_OPEN_BRACEPDF_TOK_CLOSE_BRACEPDF_TOK_NAMEPDF_TOK_INTPDF_TOK_REALPDF_TOK_STRINGPDF_TOK_KEYWORD	PDF_TOK_RPDF_TOK_TRUEPDF_TOK_FALSEPDF_TOK_NULLPDF_TOK_OBJPDF_TOK_ENDOBJPDF_TOK_STREAMPDF_TOK_ENDSTREAMPDF_TOK_XREFPDF_TOK_TRAILERPDF_TOK_STARTXREFPDF_TOK_NEWOBJPDF_NUM_TOKENSrM  pdf_xref_entry_swigregisterpdf_default_write_optionsrk  pdf_xref_subsec_swigregisterr}  pdf_xref_swigregisterPDF_ENCRYPT_KEEPPDF_ENCRYPT_NONEPDF_ENCRYPT_RC4_40PDF_ENCRYPT_RC4_128PDF_ENCRYPT_AES_128PDF_ENCRYPT_AES_256PDF_ENCRYPT_UNKNOWNPDF_PERM_PRINTPDF_PERM_MODIFYPDF_PERM_COPYPDF_PERM_ANNOTATEPDF_PERM_FORMPDF_PERM_ACCESSIBILITYPDF_PERM_ASSEMBLEPDF_PERM_PRINT_HQPDF_MRANGE_CAPr  pdf_range_swigregisterr  pdf_xrange_swigregisterr  pdf_mrange_swigregisterr  pdf_cmap_swigregisterPDF_FD_FIXED_PITCHPDF_FD_SERIFPDF_FD_SYMBOLICPDF_FD_SCRIPTPDF_FD_NONSYMBOLICPDF_FD_ITALICPDF_FD_ALL_CAPPDF_FD_SMALL_CAPPDF_FD_FORCE_BOLDr  pdf_hmtx_swigregisterr  pdf_vmtx_swigregisterr+  pdf_font_desc_swigregisterPDF_SIMPLE_FONT_RESOURCEPDF_CID_FONT_RESOURCEPDF_CJK_FONT_RESOURCEPDF_SIMPLE_ENCODING_LATINPDF_SIMPLE_ENCODING_GREEKPDF_SIMPLE_ENCODING_CYRILLICr  "pdf_font_resource_key_swigregisterr  pdf_pattern_swigregister%PDF_PROCESSOR_REQUIRES_DECODED_IMAGESr  pdf_processor_swigregisterr  pdf_csi_swigregisterr  pdf_filter_factory_swigregisterr  pdf_filter_options_swigregisterFZ_CULL_PATH_DROPFZ_CULL_PATH_FILLFZ_CULL_PATH_STROKEFZ_CULL_PATH_FILL_STROKEFZ_CULL_CLIP_PATH_DROPFZ_CULL_CLIP_PATH_FILLFZ_CULL_CLIP_PATH_STROKEFZ_CULL_CLIP_PATH_FILL_STROKEFZ_CULL_GLYPHFZ_CULL_IMAGEFZ_CULL_SHADINGr/  (pdf_sanitize_filter_options_swigregisterrF  %pdf_color_filter_options_swigregisterr\  pdf_text_state_swigregisterr|  "pdf_text_object_state_swigregisterPDF_REDACT_IMAGE_NONEPDF_REDACT_IMAGE_REMOVEPDF_REDACT_IMAGE_PIXELS(PDF_REDACT_IMAGE_REMOVE_UNLESS_INVISIBLEPDF_REDACT_LINE_ART_NONE%PDF_REDACT_LINE_ART_REMOVE_IF_COVERED%PDF_REDACT_LINE_ART_REMOVE_IF_TOUCHEDPDF_REDACT_TEXT_REMOVEPDF_REDACT_TEXT_NONEr  pdf_redact_options_swigregisterr  pdf_page_swigregisterPDF_ANNOT_TEXTPDF_ANNOT_LINKPDF_ANNOT_FREE_TEXTPDF_ANNOT_LINEPDF_ANNOT_SQUAREPDF_ANNOT_CIRCLEPDF_ANNOT_POLYGONPDF_ANNOT_POLY_LINEPDF_ANNOT_HIGHLIGHTPDF_ANNOT_UNDERLINEPDF_ANNOT_SQUIGGLYPDF_ANNOT_STRIKE_OUTPDF_ANNOT_REDACTPDF_ANNOT_STAMPPDF_ANNOT_CARETPDF_ANNOT_INKPDF_ANNOT_POPUPPDF_ANNOT_FILE_ATTACHMENTPDF_ANNOT_SOUNDPDF_ANNOT_MOVIEPDF_ANNOT_RICH_MEDIAPDF_ANNOT_WIDGETPDF_ANNOT_SCREENPDF_ANNOT_PRINTER_MARKPDF_ANNOT_TRAP_NETPDF_ANNOT_WATERMARKPDF_ANNOT_3DPDF_ANNOT_PROJECTIONPDF_ANNOT_UNKNOWNPDF_ANNOT_IS_INVISIBLEPDF_ANNOT_IS_HIDDENPDF_ANNOT_IS_PRINTPDF_ANNOT_IS_NO_ZOOMPDF_ANNOT_IS_NO_ROTATEPDF_ANNOT_IS_NO_VIEWPDF_ANNOT_IS_READ_ONLYPDF_ANNOT_IS_LOCKEDPDF_ANNOT_IS_TOGGLE_NO_VIEWPDF_ANNOT_IS_LOCKED_CONTENTSPDF_ANNOT_LE_NONEPDF_ANNOT_LE_SQUAREPDF_ANNOT_LE_CIRCLEPDF_ANNOT_LE_DIAMONDPDF_ANNOT_LE_OPEN_ARROWPDF_ANNOT_LE_CLOSED_ARROWPDF_ANNOT_LE_BUTTPDF_ANNOT_LE_R_OPEN_ARROWPDF_ANNOT_LE_R_CLOSED_ARROWPDF_ANNOT_LE_SLASHPDF_ANNOT_Q_LEFTPDF_ANNOT_Q_CENTERPDF_ANNOT_Q_RIGHTPDF_ANNOT_IT_DEFAULTPDF_ANNOT_IT_FREETEXT_CALLOUT PDF_ANNOT_IT_FREETEXT_TYPEWRITERPDF_ANNOT_IT_LINE_ARROWPDF_ANNOT_IT_LINE_DIMENSIONPDF_ANNOT_IT_POLYLINE_DIMENSIONPDF_ANNOT_IT_POLYGON_CLOUDPDF_ANNOT_IT_POLYGON_DIMENSIONPDF_ANNOT_IT_STAMP_IMAGEPDF_ANNOT_IT_STAMP_SNAPSHOTPDF_ANNOT_IT_UNKNOWNPDF_BORDER_STYLE_SOLIDPDF_BORDER_STYLE_DASHEDPDF_BORDER_STYLE_BEVELEDPDF_BORDER_STYLE_INSETPDF_BORDER_STYLE_UNDERLINEPDF_BORDER_EFFECT_NONEPDF_BORDER_EFFECT_CLOUDYr   pdf_filespec_params_swigregisterPDF_WIDGET_TYPE_UNKNOWNPDF_WIDGET_TYPE_BUTTONPDF_WIDGET_TYPE_CHECKBOXPDF_WIDGET_TYPE_COMBOBOXPDF_WIDGET_TYPE_LISTBOXPDF_WIDGET_TYPE_RADIOBUTTONPDF_WIDGET_TYPE_SIGNATUREPDF_WIDGET_TYPE_TEXTPDF_WIDGET_TX_FORMAT_NONEPDF_WIDGET_TX_FORMAT_NUMBERPDF_WIDGET_TX_FORMAT_SPECIALPDF_WIDGET_TX_FORMAT_DATEPDF_WIDGET_TX_FORMAT_TIMEPDF_FIELD_IS_READ_ONLYPDF_FIELD_IS_REQUIREDPDF_FIELD_IS_NO_EXPORTPDF_TX_FIELD_IS_MULTILINEPDF_TX_FIELD_IS_PASSWORDPDF_TX_FIELD_IS_FILE_SELECT"PDF_TX_FIELD_IS_DO_NOT_SPELL_CHECKPDF_TX_FIELD_IS_DO_NOT_SCROLLPDF_TX_FIELD_IS_COMBPDF_TX_FIELD_IS_RICH_TEXT!PDF_BTN_FIELD_IS_NO_TOGGLE_TO_OFFPDF_BTN_FIELD_IS_RADIOPDF_BTN_FIELD_IS_PUSHBUTTON!PDF_BTN_FIELD_IS_RADIOS_IN_UNISONPDF_CH_FIELD_IS_COMBOPDF_CH_FIELD_IS_EDITPDF_CH_FIELD_IS_SORTPDF_CH_FIELD_IS_MULTI_SELECT"PDF_CH_FIELD_IS_DO_NOT_SPELL_CHECK$PDF_CH_FIELD_IS_COMMIT_ON_SEL_CHANGEr  )pdf_pkcs7_distinguished_name_swigregisterPDF_SIGNATURE_ERROR_OKAY!PDF_SIGNATURE_ERROR_NO_SIGNATURES"PDF_SIGNATURE_ERROR_NO_CERTIFICATE"PDF_SIGNATURE_ERROR_DIGEST_FAILUREPDF_SIGNATURE_ERROR_SELF_SIGNED(PDF_SIGNATURE_ERROR_SELF_SIGNED_IN_CHAINPDF_SIGNATURE_ERROR_NOT_TRUSTEDPDF_SIGNATURE_ERROR_NOT_SIGNEDPDF_SIGNATURE_ERROR_UNKNOWNr  pdf_pkcs7_signer_swigregisterr  pdf_pkcs7_verifier_swigregisterPDF_SIGNATURE_SHOW_LABELSPDF_SIGNATURE_SHOW_DNPDF_SIGNATURE_SHOW_DATEPDF_SIGNATURE_SHOW_TEXT_NAMEPDF_SIGNATURE_SHOW_GRAPHIC_NAMEPDF_SIGNATURE_SHOW_LOGOr-   pdf_keystroke_event_swigregisterrI  pdf_doc_event_swigregisterPDF_DOCUMENT_EVENT_ALERTPDF_DOCUMENT_EVENT_PRINTPDF_DOCUMENT_EVENT_LAUNCH_URLPDF_DOCUMENT_EVENT_MAIL_DOCPDF_DOCUMENT_EVENT_SUBMIT!PDF_DOCUMENT_EVENT_EXEC_MENU_ITEMrS  pdf_alert_event_swigregisterPDF_ALERT_ICON_ERRORPDF_ALERT_ICON_WARNINGPDF_ALERT_ICON_QUESTIONPDF_ALERT_ICON_STATUSPDF_ALERT_BUTTON_GROUP_OK PDF_ALERT_BUTTON_GROUP_OK_CANCELPDF_ALERT_BUTTON_GROUP_YES_NO$PDF_ALERT_BUTTON_GROUP_YES_NO_CANCELPDF_ALERT_BUTTON_NONEPDF_ALERT_BUTTON_OKPDF_ALERT_BUTTON_CANCELPDF_ALERT_BUTTON_NOPDF_ALERT_BUTTON_YESrv  !pdf_launch_url_event_swigregisterr  pdf_mail_doc_event_swigregisterFZ_SUBSAMPLE_AVERAGEFZ_SUBSAMPLE_BICUBICFZ_RECOMPRESS_NEVERFZ_RECOMPRESS_SAMEFZ_RECOMPRESS_LOSSLESSFZ_RECOMPRESS_JPEGFZ_RECOMPRESS_J2KFZ_RECOMPRESS_FAXr  'pdf_image_rewriter_options_swigregisterPDF_CLEAN_STRUCTURE_DROPPDF_CLEAN_STRUCTURE_KEEPr  pdf_clean_options_swigregisterr   pdf_recolor_options_swigregisterPDF_NOT_ZUGFERDPDF_ZUGFERD_COMFORTPDF_ZUGFERD_BASICPDF_ZUGFERD_EXTENDEDPDF_ZUGFERD_BASIC_WLPDF_ZUGFERD_MINIMUMPDF_ZUGFERD_XRECHNUNGPDF_ZUGFERD_UNKNOWNr   fz_search_page2_hit_swigregisterr  3fz_install_load_system_font_funcs_args_swigregisterr-  fz_font_ucs_gid_swigregisterr9  r<  r?  rC  rG  rJ  rP  rT  rY  r]  re  rj  rl  rp  rt  rw  rz  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r
  r  r  r  r  r  r!  r#  r'  r*  r,  r.  r1  r3  r7  r;  r=  rA  rE  rH  rJ  rL  rO  rR  rW  rZ  r^  rb  re  rh  rl  rp  rs  rv  ry  r{  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r#  r&  r(  r*  r-  r0  r3  r7  r:  r=  rB  rE  rH  rL  rP  rS  rU  rX  r_  rb  re  rh  rj  rn  rp  rr  ru  rw  ry  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r!  r#  r&  r)  r+  r.  r1  r6  r8  r;  r>  r@  rB  rD  rG  rK  rN  rQ  rU  rW  rY  r[  r]  ra  rf  rk  rn  rp  rs  ru  rx  rz  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r"  r$  r'  r*  r-  r/  r2  r4  r6  r8  r:  r=  r@  rE  rH  rK  rN  rQ  rT  rV  rX  rZ  r^  rf  ri  rm  rp  rr  rx  r|  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r
  r  r  r  r  r  r  r  r"  r$  r)  r+  r.  r1  r4  r8  r;  r>  r@  rC  rE  rH  rK  rN  rQ  rT  rY  r[  r]  r_  rb  re  rg  ri  rk  rp  rr  rt  rv  rx  rz  r|  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r#  r&  r*  r,  r.  r1  r4  r7  r9  r<  r>  r@  rC  rF  rH  rJ  rL  rO  rQ  rT  rW  rZ  r]  rh  rj  rm  rq  rs  ru  rw  rz  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r
  r  r  r  r  r  r  r  r"  r$  r&  r)  r,  r/  r3  r7  r;  r=  r@  rB  rE  rG  rJ  rM  rP  rS  rW  rY  r[  r]  ra  re  rg  ri  rk  rn  rp  rs  rv  rz  r|  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r  r
  r  r  r  r  r  r  r  r  r  r!  r$  r'  r*  r-  r0  r2  r5  r8  r;  r=  r@  rC  rF  rI  rM  rO  rQ  rS  rU  rW  rY  r[  r]  r`  rb  re  rg  ri  rk  rm  rp  rt  rv  rx  rz  r|  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r	  r  r  r  r  r  r  r  r  r!  r(  r+  r-  r2  r6  r:  r<  r@  rB  rD  rF  rI  rK  rM  rO  rT  rV  rY  r\  r_  ra  rd  rf  rh  rj  rm  ro  rr  rt  rw  r{  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r	  r  r  r  r  r  r  r  r  r"  r(  r,  r0  r2  r4  r6  r9  r<  r@  rB  rG  rJ  rM  rO  rQ  rS  rU  rW  rY  r[  r]  r_  rb  rd  rg  rj  rl  ro  rq  rs  ru  rw  ry  r{  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r
  r  r  r  r  r  r  r  r  r   r#  r%  r(  r-  r0  r3  r9  r<  r?  rB  rE  rH  rK  rN  rQ  rT  rW  r[  r_  ra  re  rh  rj  rm  rq  rt  rw  ry  r{  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r   r   r
   r   r   r   r   r   r   r   r   r    r$   r&   r)   r,   r0   r3   r8   r<   r?   rA   rG   rL   rU   rW   rY   r\   r^   r`   rb   rd   ri   rm   ro   rs   rv   rz   r}   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r !  r!  r!  r	!  r!  r!  r!  r!  r!  r!  r !  r#!  r'!  r)!  r,!  r.!  r0!  r2!  r4!  r6!  r8!  r;!  r>!  r@!  rC!  rF!  rH!  rJ!  rL!  rN!  rP!  rS!  rU!  rW!  r[!  r]!  r`!  ri!  rn!  rq!  rt!  rv!  rx!  rz!  r|!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r!  r "  r"  r"  r
"  r"  r"  r"  r"  r"  r"  r""  r$"  r&"  r)"  r,"  r."  r0"  r2"  r6"  r9"  r<"  r?"  rA"  rE"  rG"  rI"  rK"  rN"  rP"  rS"  rX"  rZ"  r]"  r_"  ra"  rc"  re"  rh"  rk"  rm"  rp"  rr"  ru"  rw"  r{"  r}"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r"  r #  r#  r#  r	#  r#  r#  r#  r#  r#  r"#  r%#  r(#  r+#  r-#  r/#  r1#  r5#  r8#  r;#  r=#  r@#  rB#  rE#  rI#  rK#  rM#  rP#  rR#  rT#  rW#  rY#  r\#  r_#  rc#  re#  rg#  rj#  rl#  rn#  rq#  rs#  rx#  r}#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r#  r$  r$  r$  r
$  r$  r$  r$  r$  r$  r$  r$  r$  r!$  r$$  r&$  r($  r*$  r,$  r.$  r0$  r2$  r4$  r6$  r8$  r<$  r>$  r@$  rB$  rF$  rH$  rK$  rM$  rP$  rS$  rW$  rZ$  r^$  rb$  rf$  ri$  rk$  rm$  rr$  rt$  rv$  ry$  r{$  r~$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r$  r%  r%  r%  r	%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r!%  r#%  r%%  r'%  r)%  r-%  r0%  r3%  r6%  r9%  r<%  r@%  rB%  rD%  rF%  rH%  rJ%  rN%  rP%  rR%  rU%  rW%  rZ%  r\%  r`%  rb%  rd%  rf%  rk%  ro%  rr%  rt%  rv%  rx%  rz%  r|%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r%  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r!&  r#&  r%&  r'&  r)&  r+&  r-&  r0&  r3&  r6&  r8&  r;&  r=&  r?&  rA&  rC&  rE&  rH&  rJ&  rL&  rN&  rQ&  rT&  rW&  rZ&  r]&  r`&  rc&  rg&  ri&  rm&  ro&  rq&  rs&  ru&  rw&  ry&  r{&  r}&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r&  r '  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r"'  r%'  r('  r*'  r-'  r0'  r5'  r9'  r;'  r?'  rA'  rE'  rK'  rM'  rQ'  rT'  rV'  rX'  rZ'  r\'  r^'  r`'  rb'  rd'  rf'  rk'  rm'  ro'  rq'  ru'  ry'  r{'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r'  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r!(  r#(  r%(  r)(  r+(  r-(  r/(  r1(  r4(  r7(  r9(  r;(  r=(  r?(  rA(  rC(  rF(  rI(  rN(  rQ(  rS(  rU(  rW(  rZ(  r](  rb(  re(  rg(  rk(  rn(  rq(  ru(  rz(  r|(  r~(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r(  r)  r)  r)  r)  r
)  r)  r)  r)  r)  r)  r)  r)  r")  r%)  r()  r-)  r1)  r4)  r8)  r;)  r@)  rD)  rH)  rJ)  rL)  rO)  rR)  rT)  rV)  rZ)  r])  r_)  rc)  rf)  ri)  rl)  rp)  rt)  rw)  r{)  r})  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r)  r*  r
*  r*  r*  r*  r*  r*  r*  r*  r!*  r$*  r&*  r+*  r-*  r1*  r3*  r5*  r7*  r:*  r=*  r?*  rA*  rC*  rG*  rK*  rO*  rQ*  rS*  rU*  rW*  rY*  r[*  r]*  ra*  re*  rg*  ri*  rk*  rm*  ro*  rq*  rs*  rv*  rx*  rz*  r|*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r*  r+  r+  r+  r+  r
+  r+  r+  r+  r+  r+  r+  r+  r+  r!+  r$+  r&+  r(+  r++  r.+  r0+  r2+  r4+  r7+  r9+  r;+  r=+  r?+  rB+  rD+  rF+  rH+  rJ+  rL+  rN+  rP+  rS+  rU+  rW+  rY+  r[+  r]+  r_+  FzAaContext_swigregistermetadata_keysr+  FzAes_swigregisterr+  FzAllocContext_swigregisterr+  FzArc4_swigregisterr+  FzArchive_swigregisterr,  FzArchiveHandler_swigregisterr&,  $FzArchiveHandlerContext_swigregisterr7,  FzBandWriter_swigregisterrf,  FzBitmap_swigregisterr,  FzBuffer_swigregisterrp-  FzColorParams_swigregisterr-  FzColorspace_swigregisterr.   FzColorspaceContext_swigregisterr&.  FzCompressedBuffer_swigregisterrB.  FzCompressedImage_swigregisterrX.   FzCompressionParams_swigregisterrh.  FzContext_swigregisterry.  FzCookie_swigregisterr.  !FzDefaultColorspaces_swigregisterr.  FzDevice_swigregisterr/  FzDevice2_swigregisterrS0  #FzDeviceContainerStack_swigregisterrd0  FzDisplayList_swigregisterr0  FzDocument_swigregisterrY1  FzDocumentHandler_swigregisterrr1  %FzDocumentHandlerContext_swigregisterr1  FzDocumentWriter_swigregisterr1  FzDrawOptions_swigregisterr2  FzErrorContext_swigregisterr2  FzErrorStackSlot_swigregisterr(2  FzFont_swigregisterr2  FzFontContext_swigregisterr2  FzFontFlagsT_swigregisterr2  FzFunction_swigregisterr2   FzGetoptLongOptions_swigregisterr2  FzGlyph_swigregisterr3  FzGlyphCache_swigregisterr#3  FzHalftone_swigregisterr43  FzHashTable_swigregisterrU3  FzIccProfile_swigregisterrf3  FzImage_swigregisterr3  -FzInstallLoadSystemFontFuncsArgs_swigregisterr3  .FzInstallLoadSystemFontFuncsArgs2_swigregisterr3  FzInt2_swigregisterr4  FzInt2Heap_swigregisterr+4  FzIntHeap_swigregisterrI4  FzIntptr_swigregisterr[4  FzIntptrHeap_swigregisterrx4  FzIrect_swigregisterr4  FzJbig2Globals_swigregisterr4  FzKeyStorable_swigregisterr4  FzLayoutBlock_swigregisterr4  FzLayoutChar_swigregisterr5  FzLayoutLine_swigregisterr5  FzLink_swigregisterr<5  FzLinkDest_swigregisterrP5  FzLocation_swigregisterrh5  FzLocksContext_swigregisterrx5  FzMatrix_swigregisterr5  FzMd5_swigregisterr	6  FzOutline_swigregisterr+6  FzOutlineItem_swigregisterr>6  FzOutlineIterator_swigregisterro6  FzOutput_swigregisterr7  FzOutput2_swigregisterr7  FzOverprint_swigregisterr7  FzPage_swigregisterr@8  FzPath_swigregisterr8  FzPathWalker_swigregisterr8  FzPathWalker2_swigregisterr8  FzPclOptions_swigregisterr8  FzPclmOptions_swigregisterr8  FzPdfocrOptions_swigregisterr9  FzPixmap_swigregisterr7:  FzPixmapImage_swigregisterrO:  FzPoint_swigregisterr:  FzPool_swigregisterr:  FzPtrHeap_swigregisterr:  FzPwgOptions_swigregisterr;  FzQuad_swigregisterrA;  FzRange_swigregisterrS;  FzRect_swigregisterr;  FzSeparations_swigregisterr;  FzSha256_swigregisterr<  FzSha384_swigregisterr<  FzSha512_swigregisterr5<  FzShade_swigregisterrR<  FzShadeColorCache_swigregisterrc<  FzShaperDataT_swigregisterrs<  FzStextBlock_swigregisterr<  FzStextChar_swigregisterr<  !FzStextGridPositions_swigregisterr<  FzStextLine_swigregisterr<  FzStextOptions_swigregisterr<  FzStextPage_swigregisterr=  FzStextStruct_swigregisterr*=  FzStorable_swigregisterr:=  FzStore_swigregisterrJ=  FzStoreHash_swigregisterrZ=  FzStoreType_swigregisterrj=  FzStory_swigregisterr=  #FzStoryElementPosition_swigregisterr=  FzStream_swigregisterr>  FzString_swigregisterr>  FzStrokeState_swigregisterr?  FzStyleContext_swigregisterr?  FzText_swigregisterr/?  FzTextDecoder_swigregisterrC?  FzTextItem_swigregisterrS?  FzTextSpan_swigregisterri?  FzTransition_swigregisterr?  FzTree_swigregisterr?  FzTuningContext_swigregisterr?  FzVertex_swigregisterr?  FzWarnContext_swigregisterr?  !FzWriteStoryPosition_swigregisterr?  "FzWriteStoryPositions_swigregisterr?  FzXml_swigregisterr@  FzXmlDoc_swigregisterr@  FzZipWriter_swigregisterr@  PdfAlertEvent_swigregisterr@  PdfAnnot_swigregisterrC  PdfCleanOptions_swigregisterrC  PdfCmap_swigregisterrD  "PdfColorFilterOptions_swigregisterr)D  PdfCrypt_swigregisterr}D  PdfCsi_swigregisterrD  PdfCycleList_swigregisterrD  PdfDocEvent_swigregisterrD  PdfDocument_swigregisterrDH  "PdfEmbeddedFileParams_swigregisterrTH  PdfFilespecParams_swigregisterreH  PdfFilterFactory_swigregisterr}H  PdfFilterFactory2_swigregisterrH  PdfFilterOptions_swigregisterrH  PdfFilterOptions2_swigregisterrH  PdfFontDesc_swigregisterrH  PdfFontResourceKey_swigregisterrI  PdfFunction_swigregisterrI  PdfGraftMap_swigregisterr7I  PdfGstate_swigregisterrHI  PdfHintPage_swigregisterrXI  PdfHintShared_swigregisterrhI  PdfHmtx_swigregisterrxI  $PdfImageRewriterOptions_swigregisterrI  PdfJournal_swigregisterrI  PdfJs_swigregisterrI  PdfJsConsole_swigregisterrJ  PdfKeystrokeEvent_swigregisterrJ  PdfLaunchUrlEvent_swigregisterr+J  PdfLayerConfig_swigregisterrAJ  PdfLayerConfigUi_swigregisterr]J  PdfLexbuf_swigregisterryJ  PdfLexbufLarge_swigregisterrJ  PdfLockedFields_swigregisterrJ  PdfMailDocEvent_swigregisterrJ  PdfMarkBits_swigregisterrJ  PdfMarkList_swigregisterrJ  PdfMrange_swigregisterrJ  PdfObj_swigregisterr3N  PdfOcgDescriptor_swigregisterrDN  PdfPage_swigregisterrO  PdfPattern_swigregisterrO  &PdfPkcs7DistinguishedName_swigregisterr.O  PdfPkcs7Signer_swigregisterr>O  PdfPkcs7Verifier_swigregisterrNO  PdfProcessor_swigregisterrO  PdfProcessor2_swigregisterrVQ  PdfRange_swigregisterrfQ  PdfRecolorOptions_swigregisterrzQ  PdfRedactOptions_swigregisterrQ  PdfRevPageMap_swigregisterrQ  %PdfSanitizeFilterOptions_swigregisterrQ  &PdfSanitizeFilterOptions2_swigregisterrQ  PdfTextObjectState_swigregisterr	R  PdfTextState_swigregisterrR  PdfUnsavedSig_swigregisterr)R  PdfVmtx_swigregisterr9R  PdfWriteOptions_swigregisterr~R  PdfXrange_swigregisterrR  PdfXref_swigregisterrR  PdfXrefEntry_swigregisterrR  PdfXrefSubsec_swigregisterrR  rR  FzLinkIterator_swigregisterrR  !FzStextBlockIterator_swigregisterrS   FzStextLineIterator_swigregisterr'S   FzStextPageIterator_swigregisterrIS  rKS  rMS  r4  r4  r;  r;  rX;  r-2  r+  r+  r+  r*9  r,  r,  r,  r,  r,  r,  r,  r,  r,  r,  r,  r,  r,  r-  r-  r-  r+  r+  r+  r+  rpS  rsS  ruS  rxS  r0  r{S  r=  r-  rS  r.  r.  r.  r.  r1  r.  r.  r /  rS  rl,  rS  rm0  r02  r7  r7  rF8  r:<  r?  rS  r-  r-  rS  rS  rS  rS  rS  rS  rS  rS  r-  r0  rS  rS  rS  rS  rS  ro,  r-  r-9  r09  r49  r/  r/  r/  r/  r/  r-  r.  rI8  r79  r;9  r;  r>  r<,  r/  r1  rt6  r@  rL8  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r-  r;  rS  rS  r+.  rk3  ro3  r5  r[;  r-  rS  r>9  rA9  r-  rD9  rS  rH9  r=  r=  r;  r+  r0  r0  r0  r;  r7  rP8  rS8  rV8  rY8  rw6  r?  rL9  r
T  rT  r=  r42  r.  rT  r.  rT  r.  r.  rT  rT  rT  rT  r T  r7  rP9  r?  rY:  r&T  r(T  r/  r+T  r-T  r/T  r1T  r/  r4T  rp0  r7T  r:T  r<T  r>T  r^1  ra1  r0  r0  r?  r@  r@  r
@  r@  r@  r@  r@  r@  r@  r"@  r%@  r)@  r,@  r/@  r2@  r5@  r8@  r;@  rp=  rz6  r\T  r^T  r"/  raT  r92  r<2  r?2  rB2  rgT  riT  rkT  r&/  r*/  r./  r3/  r7/  r1  r</  ruT  r@/  rE2  rI2  rzT  r2  r4  r^;  rM2  rT  rD/  rI/  rL/  rt0  rS9  rP/  rT/  rT  rT  r}6  rT  rP2  rS2  rW2  r[2  r_2  rb2  rf2  ri2  rl2  ro2  rr2  rT  r0  rT  rT  rT  rT  rT  rT  r2  rV9  rY9  ru2  rx2  rr3  ru3  rT  rT  r2  r2  r|2  r 3  rT  r3  rT  rT  rT  rT  r-  r+  rT  r0  r:3  r=3  r@3  rD3  rG3  rT  rT  r<  r<  rT  rX/  rx3  r|3  r3  r3  rT  ra;  r5?  rT  r3  r4  r4  r4  r14  r64  r:4  r4  rd;  ra4  re4  rj4  rs,  r5  r\9  r_9  rb9  re9  ri9  rg;  r4  r4  r=  r U  r0  r4  r;  rj;  r=  r=  r
U  r5  r4  r;  rn;  r=  rU  rl9  rU  r^:  ra:  rU  r;  r;  r5  r=  r-  r4  r ;  rq;  r=  r$U  r&U  r4  r)U  r0  r0  r]8  r+  r0U  r3U  r0  r6U  r"-  r9U  r;U  r>U  r7  r0  rC6  r0  rEU  rGU  rIU  rKU  rMU  rOU  rQU  r0  rTU  rVU  rXU  rZU  r0  r]U  r_U  raU  rcU  reU  r0  r0  riU  rkU  rmU  roU  rqU  rsU  ruU  rxU  rzU  r|U  r~U  rU  rU  rU  rU  rU  rU  rU  rU  r5  r5  rU  rU  rU  rU  r&-  r5  r5  r5  rp9  rt9  r5  r5  r2  rU  rU  rU  rU  rU  rU  rU  rU  r+  r`8  rU  r0  r=  rU  rt;  rU  rw9  rz9  rU  rU  r,  rU  ry0  r3  r3  r,  r3  r,  r,  r7  r0  r7  r~9  r9  r,  r9  r,  r,  rU  r<  rU  rU  rU  rU  rU  rU  rU  rU  rU  rU  rw;  r7  rj0  r0  r)-  r>@  rU  rU  rA@  rD@  rV  r.  rV  rV  rV  r
V  rV  rV  rV  rV  rV  r,-  rV  rV  rV  rV  r9  r0-  rG@  r"V  r-  r%V  r|0  r)V  r\/  r-V  r/V  r1V  r0  r-  r9  r9  r0  r0  r7  r8  r8  r0  r0  r8  r9  r-  r-  r-  rDV  r<  rGV  rIV  rKV  rMV  rOV  r6  r6  rSV  rUV  r6  r?  rYV  r0  r.  r1  rd:  r=  raV  rcV  reV  r=  r=  r=  rkV  r+  r=  r3-  rpV  r=  r..  rtV  r=  rwV  ryV  r{V  r}V  rV  r=  r=  rV  r=  rV  r=  r>  r1.  r>  r>  rV  r
>  r>  r>  rV  r>  r>  r>  r1  r>  r >  r$>  r'>  rV  r*>  r.>  rV  r1>  rV  rV  r2  rF6  rJ6  rM6  rQ6  rU6  rY6  r1  r6  r6  rV  rc8  r8  r1  r8  r8  r8  r><  rV  r8  r<  r8-  r+  r;-  r4>  r8  r?,  r1  r7>  r9  r9  r9  r9  r9  r9  r<:  r9  r9  r9  r9  r9  r9  r9  r9  rt=  rx=  r:  r:  r:  r`/  r5  r5  r5  r5  r5  r2  r1  r6  r6  r6  r6  r6  r6  r6  r6  r6  r1  rA<  r:  r:  r:  rV  rz;  rh8  r:>  r>>  r+  rA>  rD>  rG>  rW  rL>  rP>  rT>  rX>  r\>  r`>  rd>  rh>  rk>  rn>  rq>  rt>  rw>  r{>  r>  r>  r>  r>  r>  r>  r>  r>  rW  rW  rW  rW  r4  r#;  rk8  r,  rd1  r&W  r(W  rd/  r2  rg/  r.W  r0W  r6  r|=  r?-  r1  r6W  r8W  r:W  r5  r};  r0  r1  r8  r8  r"8  r%8  r2  rEW  rGW  rIW  rKW  r9  r9  r!1  rx,  r},  r,  r,  rB-  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  r9  rJ@  r}5  r9  r$1  r(1  r0  r0  r(8  r+1  r+8  r.1  r21  r<  r<  r>  r6  r<  ruW  r;  r;  ryW  rI.  r.  rk/  r.  r.  r.  rW  r2  r2  rW  rW  r5  r5  r61  r@:  r9  r;  r6  rW  rW  rW  rW  rW  r;  r;  r;  r<  r<  r<  r!<  r$<  r'<  r5  r?  r?  r!?  rW  r:  r>  r>  r>  rF-  r<  rW  rW  rW  rW  rW  rW  r=  r=  r=  rW  rW  r>  r6  rW  rI-  rW  rW  rW  rW  rW  rW  rp/  ru/  rW  rW  rW  rW  r5  r:  rM-  rQ-  r>  r>  r6  rT-  rW  rW  r	:  rW  rW  r5  rn8  rg:  rU:  r&;  r;  rj:  r5  r4  r;  r+  r+  r?  rW-  rq8  r6  r5  r+  r>  rX  r+  r,  rX  rX  rX  rX  rX  r;  rX  r>  r>  r>  r>  rX  r X  r"X  r$X  r&X  r(X  rt8  r+X  r-X  r/X  r1X  r3X  r5X  rB,  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r6  r1  r6  r6  rE,  r7  r7  r	7  r7  r7  r7  r7  r7  r7  r!7  r%7  r(7  r+7  r.7  r17  r47  r87  r;7  r>7  rB7  rE7  rH7  r1  r1  rK7  rO7  rT7  rX7  r\7  r`7  rM@  r@  r:  rP@  rS@  rV@  rY@  r]@  r`@  rd@  rg@  rk@  ro@  rr@  ru@  rx@  r{@  r~@  r@  r@  r@  r@  r@  r@  rD  rD  r@  rX  r@  r@  r@  r@  rD  rD  rC  rD  rH  rD  rD  rD  rD  rD  rD  rD  rD  rD  rH  r@  r@  r@  r@  rA  rA  r
A  rA  rA  rA  rA  rA  r"A  r&A  rX  r*A  r.A  r1A  r5A  r9A  r=A  r@A  rDA  rHA  rLA  rPA  rTA  rXA  r\A  r`A  rdA  rhA  rlA  rD  rpA  rtA  rxA  r|A  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rA  rX  rA  rA  rA  rA  r B  rB  rB  rB  rB  rB  rB  rB  r B  r$B  r(B  r,B  r0B  r4B  r8B  r<B  r@B  rDB  rHB  rLB  rPB  rTB  rY  rXB  r]B  rY  rY  r\-  raB  rK  r
K  rK  rK  rK  rK  rK  r"K  r&K  r*K  r-K  r1K  r5K  r9K  r=K  rAK  rEK  rIK  rMK  rQK  rUK  rYK  r]K  raK  rfK  rkK  rpK  rtK  rxK  r|K  rK  rK  rD  rD  rD  rE  rfB  rJN  rjB  rK  rE  r	E  rE  rE  r=Y  r?Y  rAY  rCY  rK  rK  rnB  rrB  ruB  ryB  r}B  rLY  rNY  rK  rB  rB  rB  rB  rB  rE  rE  rVO  rC  rC  rK  rK  rE  r!E  r%E  r)E  r-E  rNN  r1E  r:1  r5E  r9E  r=E  rAE  rSN  rWN  rkY  rEE  r[N  rJE  r_N  r/D  r3D  r7D  r;D  r?D  rCD  rGD  rKD  rOD  rSD  rWD  r[D  r_D  rcD  rgD  rD  rNE  rK  rK  rC  rK  rcN  rgN  rSE  rWE  r\E  r`E  reE  rjE  rK  rK  r!N  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rK  rL  rL  r
L  rL  rL  rL  rL  rL  r!L  r&L  r+L  r/L  r3L  r7L  r<L  r@L  rEL  rJL  rPL  rUL  rZL  r^L  rbL  rfL  rjL  rnL  rrL  rvL  rzL  r~L  rL  rL  rL  rL  rB  rL  rnE  rI  rrE  rvE  r{E  rE  rE  rE  rE  r?1  rY  rE  rE  rB  rE  rE  rE  rE  rkD  roD  rH  rE  rH  rE  rI  rE  rE  rE  rE  rE  rL  rL  rE  rE  rE  rE  rL  rL  rE  rL  rL  rL  rL  rL  rL  rL  rL  rE  rE  rL  rE  rZ  rE  rkN  roN  rL  rH  r2  rE  rZ  rZ  rI  rL  rE  rL  rL  rL  rB  r%I  r)I  rE  rE  rE  r F  rF  rB  rF  rF  rL  r'Z  rF  rL  rL  rL  rL  rJ  rL  rL  rL  rL  rF  rM  rM  rM  rF  rM  rM  rM  r-  rI  rI  rI  rI  rI  rI  rI  rF  r F  r$F  r(F  r-F  r2F  r2  rKZ  rMZ  rcJ  rgJ  rkJ  rM  rTZ  rVZ  r>  rM  r6F  r:F  r>F  rBF  r#M  r_Z  r'M  r%N  r+M  rGF  rKF  rOF  rTF  rsN  rXF  r\F  r`F  rdF  rC1  rhF  rlF  r/M  rpF  rtF  r3M  rxF  r7M  ryZ  r{F  rF  rF  rC  rC  rF  r;M  rF  rF  rF  r?M  rF  rF  rF  rZ  rC  rC  rJ  rJ  rJ  rJ  rJ  rJ  rJ  rCM  rF  rF  rF  rGM  rZ  rZ  rF  rF  rF  ra-  rZ  rF  rF  rF  rF  rB  rF  rZ  rF  rZ  rwN  rF  rZ  rd7  rF  rB  r|N  rN  r"9  r9  rF  rZ  rZ  rF  rF  rF  rZ  rJ  rB5  rZ  rZ  rLM  rZ  rPM  rF  rB  rB  rN  rN  rN  rTM  rXM  r\M  r`M  rF  rdM  rhM  rlM  rpM  rtM  rF  r>  r>  rZ  r>  rF  rxM  rF  r|M  rG  rG  rN  rN  rN  rN  r/8  rN  rN  r	G  rG1  rM  rM  rN  rN  rN  rN  rN  rG  rG  rZ  rZ  r [  rG  rG  rG  rG  r>R  rM  r[  r
[  rh7  r[  rm7  rr7  rv7  rZO  r^O  rbO  rfO  rjO  rnO  r#G  r'G  r+G  r/G  r3G  r7G  r;G  r?G  rM  rCG  rGG  r$[  rKG  rNG  rRG  rVG  rZG  r^G  rbG  rrO  rM  rM  reG  riG  rB  rmG  rqG  rN  rN  rN  rN  rN  rN  rN  rN  r=[  ruG  ryG  r}G  rG  rG  rG  rB  rB  rB  rB  rB  rB  rB  rB  rB  rQ[  rB  rB  rB  rB  rB  rB  rB  rG  r C  rC  r	C  rC  rC  rC  rC  rC  r!C  r%C  r)C  r-C  r2C  r6C  r:C  r>C  rBC  rFC  rKC  rOC  rSC  rWC  r[C  r_C  rcC  rgC  rkC  rpC  rtC  rxC  rD  rH  rH  rG  rG  rG  rH  rM  rG  rM  rM  rN  rG  rG  rM  r|C  rD  rC  rC  rC  r;  r;  rG  rG  rO  r[  r O  rG  rG  r[  rG  rG  rD  rM  rK1  r[  rM  r[  r[  r[  r[  rG  rG  rN  rN  rG  rN  rC  rC  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rM  rG  rC  rQ  rQ  rQ  rQ  rQ  r[  r[  rQ  rQ  rG  rG  rG  rG  rM  rC  r.  rG  rN  rG  rC  rG  rG  rG  rC  rM  rG  rN  rG  rG  rC  rC  rC  rz7  rH  rH  rH  rN  r
N  rN  rN  rN  rN  rN  rH  rH  rH  rH  r H  r$H  r(H  r,H  r/H  r[  r3H  r\  r\  r\  r\  r   r\  FzErrorBase_swigregisterr!\  FzErrorNone_swigregisterr*\  FzErrorGeneric_swigregisterr4\  FzErrorSystem_swigregisterr>\  FzErrorLibrary_swigregisterrF\  FzErrorArgument_swigregisterrP\  FzErrorLimit_swigregisterrZ\  FzErrorUnsupported_swigregisterrb\  FzErrorFormat_swigregisterrj\  FzErrorSyntax_swigregisterrr\  FzErrorTrylater_swigregisterrz\  FzErrorAbort_swigregisterr\  FzErrorRepaired_swigregisterr\  r\  r\  r\  r\  r\  r\  r\  r\  r\  r\  r\  r\  r\  r\  r\  r\  r\  r\  r\  r\   fz_convert_color2_v_swigregisterr\  r\  DiagnosticCallback_swigregisterr\  #StoryPositionsCallback_swigregisterr\  r\  r]  r]  /ll_fz_bidi_fragment_text_outparams_swigregisterr]  r]  +ll_fz_bitmap_details_outparams_swigregisterr(]  r*]  +ll_fz_buffer_extract_outparams_swigregisterr5]  r9]  +ll_fz_buffer_storage_outparams_swigregisterrD]  rF]  'll_fz_chartorune_outparams_swigregisterrQ]  rT]  (ll_fz_clamp_color_outparams_swigregisterr_]  ra]  *ll_fz_convert_color_outparams_swigregisterrl]  rn]  *ll_fz_convert_error_outparams_swigregisterrx]  r{]  6ll_fz_convert_separation_colors_outparams_swigregisterr]  r]  5ll_fz_decomp_image_from_stream_outparams_swigregisterr]  r]  $ll_fz_deflate_outparams_swigregisterr]  r]  .ll_fz_dom_get_attribute_outparams_swigregisterr]  r]  %ll_fz_drop_imp_outparams_swigregisterr]  r]  'll_fz_drop_imp16_outparams_swigregisterr]  r]  ;ll_fz_encode_character_with_fallback_outparams_swigregisterr]  r]  +ll_fz_error_callback_outparams_swigregisterr]  r]  *ll_fz_eval_function_outparams_swigregisterr]  r]  3ll_fz_fill_pixmap_with_color_outparams_swigregisterr]  r]  2ll_fz_get_pixmap_from_image_outparams_swigregisterr
^  r^  #ll_fz_getopt_outparams_swigregisterr^  r^  (ll_fz_getopt_long_outparams_swigregisterr#^  r%^  "ll_fz_grisu_outparams_swigregisterr/^  r1^  'll_fz_has_option_outparams_swigregisterr;^  r=^  -ll_fz_image_resolution_outparams_swigregisterrJ^  rL^  %ll_fz_keep_imp_outparams_swigregisterrV^  rX^  'll_fz_keep_imp16_outparams_swigregisterrb^  rd^  ,ll_fz_keep_imp_locked_outparams_swigregisterro^  rq^  /ll_fz_lookup_base14_font_outparams_swigregisterr{^  r}^  0ll_fz_lookup_builtin_font_outparams_swigregisterr^  r^  ,ll_fz_lookup_cjk_font_outparams_swigregisterr^  r^  8ll_fz_lookup_cjk_font_by_language_outparams_swigregisterr^  r^  3ll_fz_lookup_noto_boxes_font_outparams_swigregisterr^  r^  3ll_fz_lookup_noto_emoji_font_outparams_swigregisterr^  r^  -ll_fz_lookup_noto_font_outparams_swigregisterr^  r^  2ll_fz_lookup_noto_math_font_outparams_swigregisterr^  r^  3ll_fz_lookup_noto_music_font_outparams_swigregisterr^  r^  5ll_fz_lookup_noto_symbol1_font_outparams_swigregisterr^  r^  5ll_fz_lookup_noto_symbol2_font_outparams_swigregisterr^  r _  .ll_fz_new_deflated_data_outparams_swigregisterr
_  r_  :ll_fz_new_deflated_data_from_buffer_outparams_swigregisterr_  r_  6ll_fz_new_display_list_from_svg_outparams_swigregisterr%_  r'_  :ll_fz_new_display_list_from_svg_xml_outparams_swigregisterr3_  r5_  9ll_fz_new_draw_device_with_options_outparams_swigregisterr@_  rB_  3ll_fz_new_svg_device_with_id_outparams_swigregisterrL_  rN_  ,ll_fz_new_test_device_outparams_swigregisterrX_  rZ_  5ll_fz_open_image_decomp_stream_outparams_swigregisterrd_  rf_  All_fz_open_image_decomp_stream_from_buffer_outparams_swigregisterrp_  rr_  .ll_fz_page_presentation_outparams_swigregisterr}_  r_  (ll_fz_paint_shade_outparams_swigregisterr_  r_  -ll_fz_parse_page_range_outparams_swigregisterr_  r_  &ll_fz_read_best_outparams_swigregisterr_  r_  )ll_fz_resolve_link_outparams_swigregisterr_  r_  7ll_fz_search_chapter_page_number_outparams_swigregisterr_  r_  0ll_fz_search_display_list_outparams_swigregisterr_  r_  (ll_fz_search_page_outparams_swigregisterr_  r_  /ll_fz_search_page_number_outparams_swigregisterr_  r_  .ll_fz_search_stext_page_outparams_swigregisterr_  r_  2ll_fz_separation_equivalent_outparams_swigregisterr_  r_  +ll_fz_store_scavenge_outparams_swigregisterr	`  r`  4ll_fz_store_scavenge_external_outparams_swigregisterr`  r`  #ll_fz_strsep_outparams_swigregisterr#`  r%`  #ll_fz_strtof_outparams_swigregisterr/`  r1`  0ll_fz_subset_cff_for_gids_outparams_swigregisterr<`  r@`  0ll_fz_subset_ttf_for_gids_outparams_swigregisterrJ`  rL`  -ll_fz_warning_callback_outparams_swigregisterrW`  rY`  )ll_pdf_annot_MK_BC_outparams_swigregisterrd`  rh`  )ll_pdf_annot_MK_BG_outparams_swigregisterrr`  rt`  0ll_pdf_annot_callout_line_outparams_swigregisterr~`  r`  )ll_pdf_annot_color_outparams_swigregisterr`  r`  6ll_pdf_annot_default_appearance_outparams_swigregisterr`  r`  ?ll_pdf_annot_default_appearance_unmapped_outparams_swigregisterr`  r`  2ll_pdf_annot_interior_color_outparams_swigregisterr`  r`  6ll_pdf_annot_line_ending_styles_outparams_swigregisterr`  r`  .ll_pdf_array_get_string_outparams_swigregisterr`  r`  -ll_pdf_count_q_balance_outparams_swigregisterr`  r`  )ll_pdf_decode_cmap_outparams_swigregisterr`  r`  9ll_pdf_dict_get_inheritable_string_outparams_swigregisterr`  r`  /ll_pdf_dict_get_put_drop_outparams_swigregisterra  ra  -ll_pdf_dict_get_string_outparams_swigregisterra  ra  3ll_pdf_edit_text_field_value_outparams_swigregisterr!a  r#a  +ll_pdf_eval_function_outparams_swigregisterr-a  r/a  2ll_pdf_field_event_validate_outparams_swigregisterr9a  r;a  6ll_pdf_js_event_result_validate_outparams_swigregisterrEa  rGa  (ll_pdf_js_execute_outparams_swigregisterrQa  rSa  +ll_pdf_load_encoding_outparams_swigregisterr]a  r_a  -ll_pdf_load_to_unicode_outparams_swigregisterrja  rla  .ll_pdf_lookup_cmap_full_outparams_swigregisterrva  rxa  -ll_pdf_lookup_page_loc_outparams_swigregisterra  ra  4ll_pdf_lookup_substitute_font_outparams_swigregisterra  ra  -ll_pdf_map_one_to_many_outparams_swigregisterra  ra  &ll_pdf_obj_memo_outparams_swigregisterra  ra  /ll_pdf_page_presentation_outparams_swigregisterra  ra  (ll_pdf_page_write_outparams_swigregisterra  ra  6ll_pdf_parse_default_appearance_outparams_swigregisterra  ra  ?ll_pdf_parse_default_appearance_unmapped_outparams_swigregisterra  ra  +ll_pdf_parse_ind_obj_outparams_swigregisterra  ra  /ll_pdf_parse_journal_obj_outparams_swigregisterrb  rb  1ll_pdf_print_encrypted_obj_outparams_swigregisterrb  rb  .ll_pdf_process_contents_outparams_swigregisterrb  rb  (ll_pdf_repair_obj_outparams_swigregisterr2b  r4b  *ll_pdf_resolve_link_outparams_swigregisterr@b  rBb  3ll_pdf_sample_shade_function_outparams_swigregisterrNb  rPb  0ll_pdf_signature_contents_outparams_swigregisterrZb  r\b  (ll_pdf_sprint_obj_outparams_swigregisterrfb  rhb  'll_pdf_to_string_outparams_swigregisterrrb  rtb  *ll_pdf_tos_make_trm_outparams_swigregisterr~b  rb  ,ll_pdf_undoredo_state_outparams_swigregisterrb  rb  'll_pdf_walk_tree_outparams_swigregisterrb  rb  -ll_pdf_zugferd_profile_outparams_swigregisterrb  UCDN_EAST_ASIAN_FUCDN_EAST_ASIAN_HUCDN_EAST_ASIAN_WUCDN_EAST_ASIAN_NAUCDN_EAST_ASIAN_AUCDN_EAST_ASIAN_NUCDN_SCRIPT_COMMONUCDN_SCRIPT_LATINUCDN_SCRIPT_GREEKUCDN_SCRIPT_CYRILLICUCDN_SCRIPT_ARMENIANUCDN_SCRIPT_HEBREWUCDN_SCRIPT_ARABICUCDN_SCRIPT_SYRIACUCDN_SCRIPT_THAANAUCDN_SCRIPT_DEVANAGARIUCDN_SCRIPT_BENGALIUCDN_SCRIPT_GURMUKHIUCDN_SCRIPT_GUJARATIUCDN_SCRIPT_ORIYAUCDN_SCRIPT_TAMILUCDN_SCRIPT_TELUGUUCDN_SCRIPT_KANNADAUCDN_SCRIPT_MALAYALAMUCDN_SCRIPT_SINHALAUCDN_SCRIPT_THAIUCDN_SCRIPT_LAOUCDN_SCRIPT_TIBETANUCDN_SCRIPT_MYANMARUCDN_SCRIPT_GEORGIANUCDN_SCRIPT_HANGULUCDN_SCRIPT_ETHIOPICUCDN_SCRIPT_CHEROKEEUCDN_SCRIPT_CANADIAN_ABORIGINALUCDN_SCRIPT_OGHAMUCDN_SCRIPT_RUNICUCDN_SCRIPT_KHMERUCDN_SCRIPT_MONGOLIANUCDN_SCRIPT_HIRAGANAUCDN_SCRIPT_KATAKANAUCDN_SCRIPT_BOPOMOFOUCDN_SCRIPT_HANUCDN_SCRIPT_YIUCDN_SCRIPT_OLD_ITALICUCDN_SCRIPT_GOTHICUCDN_SCRIPT_DESERETUCDN_SCRIPT_INHERITEDUCDN_SCRIPT_TAGALOGUCDN_SCRIPT_HANUNOOUCDN_SCRIPT_BUHIDUCDN_SCRIPT_TAGBANWAUCDN_SCRIPT_LIMBUUCDN_SCRIPT_TAI_LEUCDN_SCRIPT_LINEAR_BUCDN_SCRIPT_UGARITICUCDN_SCRIPT_SHAVIANUCDN_SCRIPT_OSMANYAUCDN_SCRIPT_CYPRIOTUCDN_SCRIPT_BRAILLEUCDN_SCRIPT_BUGINESEUCDN_SCRIPT_COPTICUCDN_SCRIPT_NEW_TAI_LUEUCDN_SCRIPT_GLAGOLITICUCDN_SCRIPT_TIFINAGHUCDN_SCRIPT_SYLOTI_NAGRIUCDN_SCRIPT_OLD_PERSIANUCDN_SCRIPT_KHAROSHTHIUCDN_SCRIPT_BALINESEUCDN_SCRIPT_CUNEIFORMUCDN_SCRIPT_PHOENICIANUCDN_SCRIPT_PHAGS_PAUCDN_SCRIPT_NKOUCDN_SCRIPT_SUNDANESEUCDN_SCRIPT_LEPCHAUCDN_SCRIPT_OL_CHIKIUCDN_SCRIPT_VAIUCDN_SCRIPT_SAURASHTRAUCDN_SCRIPT_KAYAH_LIUCDN_SCRIPT_REJANGUCDN_SCRIPT_LYCIANUCDN_SCRIPT_CARIANUCDN_SCRIPT_LYDIANUCDN_SCRIPT_CHAMUCDN_SCRIPT_TAI_THAMUCDN_SCRIPT_TAI_VIETUCDN_SCRIPT_AVESTAN UCDN_SCRIPT_EGYPTIAN_HIEROGLYPHSUCDN_SCRIPT_SAMARITANUCDN_SCRIPT_LISUUCDN_SCRIPT_BAMUMUCDN_SCRIPT_JAVANESEUCDN_SCRIPT_MEETEI_MAYEKUCDN_SCRIPT_IMPERIAL_ARAMAICUCDN_SCRIPT_OLD_SOUTH_ARABIAN"UCDN_SCRIPT_INSCRIPTIONAL_PARTHIAN!UCDN_SCRIPT_INSCRIPTIONAL_PAHLAVIUCDN_SCRIPT_OLD_TURKICUCDN_SCRIPT_KAITHIUCDN_SCRIPT_BATAKUCDN_SCRIPT_BRAHMIUCDN_SCRIPT_MANDAICUCDN_SCRIPT_CHAKMAUCDN_SCRIPT_MEROITIC_CURSIVE UCDN_SCRIPT_MEROITIC_HIEROGLYPHSUCDN_SCRIPT_MIAOUCDN_SCRIPT_SHARADAUCDN_SCRIPT_SORA_SOMPENGUCDN_SCRIPT_TAKRIUCDN_SCRIPT_UNKNOWNUCDN_SCRIPT_BASSA_VAHUCDN_SCRIPT_CAUCASIAN_ALBANIANUCDN_SCRIPT_DUPLOYANUCDN_SCRIPT_ELBASANUCDN_SCRIPT_GRANTHAUCDN_SCRIPT_KHOJKIUCDN_SCRIPT_KHUDAWADIUCDN_SCRIPT_LINEAR_AUCDN_SCRIPT_MAHAJANIUCDN_SCRIPT_MANICHAEANUCDN_SCRIPT_MENDE_KIKAKUIUCDN_SCRIPT_MODIUCDN_SCRIPT_MROUCDN_SCRIPT_NABATAEANUCDN_SCRIPT_OLD_NORTH_ARABIANUCDN_SCRIPT_OLD_PERMICUCDN_SCRIPT_PAHAWH_HMONGUCDN_SCRIPT_PALMYRENEUCDN_SCRIPT_PAU_CIN_HAUUCDN_SCRIPT_PSALTER_PAHLAVIUCDN_SCRIPT_SIDDHAMUCDN_SCRIPT_TIRHUTAUCDN_SCRIPT_WARANG_CITIUCDN_SCRIPT_AHOM!UCDN_SCRIPT_ANATOLIAN_HIEROGLYPHSUCDN_SCRIPT_HATRANUCDN_SCRIPT_MULTANIUCDN_SCRIPT_OLD_HUNGARIANUCDN_SCRIPT_SIGNWRITINGUCDN_SCRIPT_ADLAMUCDN_SCRIPT_BHAIKSUKIUCDN_SCRIPT_MARCHENUCDN_SCRIPT_NEWAUCDN_SCRIPT_OSAGEUCDN_SCRIPT_TANGUTUCDN_SCRIPT_MASARAM_GONDIUCDN_SCRIPT_NUSHUUCDN_SCRIPT_SOYOMBOUCDN_SCRIPT_ZANABAZAR_SQUAREUCDN_SCRIPT_DOGRAUCDN_SCRIPT_GUNJALA_GONDIUCDN_SCRIPT_HANIFI_ROHINGYAUCDN_SCRIPT_MAKASARUCDN_SCRIPT_MEDEFAIDRINUCDN_SCRIPT_OLD_SOGDIANUCDN_SCRIPT_SOGDIANUCDN_SCRIPT_ELYMAICUCDN_SCRIPT_NANDINAGARI"UCDN_SCRIPT_NYIAKENG_PUACHUE_HMONGUCDN_SCRIPT_WANCHOUCDN_SCRIPT_CHORASMIANUCDN_SCRIPT_DIVES_AKURUUCDN_SCRIPT_KHITAN_SMALL_SCRIPTUCDN_SCRIPT_YEZIDIUCDN_SCRIPT_VITHKUQIUCDN_SCRIPT_OLD_UYGHURUCDN_SCRIPT_CYPRO_MINOANUCDN_SCRIPT_TANGSAUCDN_SCRIPT_TOTOUCDN_SCRIPT_KAWIUCDN_SCRIPT_NAG_MUNDARIUCDN_LAST_SCRIPTUCDN_LINEBREAK_CLASS_OPUCDN_LINEBREAK_CLASS_CLUCDN_LINEBREAK_CLASS_CPUCDN_LINEBREAK_CLASS_QUUCDN_LINEBREAK_CLASS_GLUCDN_LINEBREAK_CLASS_NSUCDN_LINEBREAK_CLASS_EXUCDN_LINEBREAK_CLASS_SYUCDN_LINEBREAK_CLASS_ISUCDN_LINEBREAK_CLASS_PRUCDN_LINEBREAK_CLASS_POUCDN_LINEBREAK_CLASS_NUUCDN_LINEBREAK_CLASS_ALUCDN_LINEBREAK_CLASS_HLUCDN_LINEBREAK_CLASS_IDUCDN_LINEBREAK_CLASS_INUCDN_LINEBREAK_CLASS_HYUCDN_LINEBREAK_CLASS_BAUCDN_LINEBREAK_CLASS_BBUCDN_LINEBREAK_CLASS_B2UCDN_LINEBREAK_CLASS_ZWUCDN_LINEBREAK_CLASS_CMUCDN_LINEBREAK_CLASS_WJUCDN_LINEBREAK_CLASS_H2UCDN_LINEBREAK_CLASS_H3UCDN_LINEBREAK_CLASS_JLUCDN_LINEBREAK_CLASS_JVUCDN_LINEBREAK_CLASS_JTUCDN_LINEBREAK_CLASS_RIUCDN_LINEBREAK_CLASS_AIUCDN_LINEBREAK_CLASS_BKUCDN_LINEBREAK_CLASS_CBUCDN_LINEBREAK_CLASS_CJUCDN_LINEBREAK_CLASS_CRUCDN_LINEBREAK_CLASS_LFUCDN_LINEBREAK_CLASS_NLUCDN_LINEBREAK_CLASS_SAUCDN_LINEBREAK_CLASS_SGUCDN_LINEBREAK_CLASS_SPUCDN_LINEBREAK_CLASS_XXUCDN_LINEBREAK_CLASS_ZWJUCDN_LINEBREAK_CLASS_EBUCDN_LINEBREAK_CLASS_EMUCDN_GENERAL_CATEGORY_CCUCDN_GENERAL_CATEGORY_CFUCDN_GENERAL_CATEGORY_CNUCDN_GENERAL_CATEGORY_COUCDN_GENERAL_CATEGORY_CSUCDN_GENERAL_CATEGORY_LLUCDN_GENERAL_CATEGORY_LMUCDN_GENERAL_CATEGORY_LOUCDN_GENERAL_CATEGORY_LTUCDN_GENERAL_CATEGORY_LUUCDN_GENERAL_CATEGORY_MCUCDN_GENERAL_CATEGORY_MEUCDN_GENERAL_CATEGORY_MNUCDN_GENERAL_CATEGORY_NDUCDN_GENERAL_CATEGORY_NLUCDN_GENERAL_CATEGORY_NOUCDN_GENERAL_CATEGORY_PCUCDN_GENERAL_CATEGORY_PDUCDN_GENERAL_CATEGORY_PEUCDN_GENERAL_CATEGORY_PFUCDN_GENERAL_CATEGORY_PIUCDN_GENERAL_CATEGORY_POUCDN_GENERAL_CATEGORY_PSUCDN_GENERAL_CATEGORY_SCUCDN_GENERAL_CATEGORY_SKUCDN_GENERAL_CATEGORY_SMUCDN_GENERAL_CATEGORY_SOUCDN_GENERAL_CATEGORY_ZLUCDN_GENERAL_CATEGORY_ZPUCDN_GENERAL_CATEGORY_ZSUCDN_BIDI_CLASS_LUCDN_BIDI_CLASS_LREUCDN_BIDI_CLASS_LROUCDN_BIDI_CLASS_RUCDN_BIDI_CLASS_ALUCDN_BIDI_CLASS_RLEUCDN_BIDI_CLASS_RLOUCDN_BIDI_CLASS_PDFUCDN_BIDI_CLASS_ENUCDN_BIDI_CLASS_ESUCDN_BIDI_CLASS_ETUCDN_BIDI_CLASS_ANUCDN_BIDI_CLASS_CSUCDN_BIDI_CLASS_NSMUCDN_BIDI_CLASS_BNUCDN_BIDI_CLASS_BUCDN_BIDI_CLASS_SUCDN_BIDI_CLASS_WSUCDN_BIDI_CLASS_ONUCDN_BIDI_CLASS_LRIUCDN_BIDI_CLASS_RLIUCDN_BIDI_CLASS_FSIUCDN_BIDI_CLASS_PDI"UCDN_BIDI_PAIRED_BRACKET_TYPE_OPEN#UCDN_BIDI_PAIRED_BRACKET_TYPE_CLOSE"UCDN_BIDI_PAIRED_BRACKET_TYPE_NONErb  rb  rb  rb  rb  rb  rb  r2e  rb  rb  environgetrve  rb  rb  rb  rb  rb  rb  r c  rc  rc  rc  rc  rc  rc  rc  r c  r)c  r-c  r3c  r7c  r;c  r>c  rAc  rDc  rGc  rKc  rQc  rTc  rWc  rZc  r_c  rcc  rfc  ric  rlc  rpc  rtc  rwc  rzc  r~c  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  rc  r d  rd  rd  rd  rd  rd  rd  rd  r#d  r'd  r+d  r/d  r2d  r6d  r:d  r>d  rAd  rEd  rId  rMd  rQd  rTd  rWd  r[d  r_d  rcd  rgd  rkd  rod  rrd  rvd  ryd  r}d  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  rd  r e  re  re  re  re  r
e  re  re  re  re  re  re  re  re  __str__r0e  r7e  rEe  rGe  rIe  rKe  rQe  rSe  rZe  r\e  r^e  re  re  rqe  r~e  re  re  re  re  ll_fz_story_positions_origrS   re  re  re  re  Py_LIMITED_APIr   r   PDF_NULLPDF_TRUE	PDF_FALSEr$   r#   r   <module>rm     s
  :#/"[
L$ L
 ((8V 8v # " "> 21& 1,     ,e.v e.P   X &e-f e-P   G $e-f e-P   G $e-f e-P   G $e-f e-P   G $g4V g4T # " "> 2e-f e-P   G $e=f e=P , + +,C De<V e<P + * *+A Be5f e5P $ # #O 4'$,3(%-46
 4** ** ** !:: (R $$$$((** $$$$$$$$$$&&&&$$&&$$** 22 22 44 $$""$$44 ((** ,, ** ++",+(),,"''*'*,-'",!+:25$+%-'%*)++,,**''1)2675)(%& ??		??	$$ 6""&& 4jj??????{{
.v 
.   X &)-f )-X   G $.v .&   X &/ /:   i ({{  ""$$(( ** -f -(   G $44 6v 6 % $ $%5 6&&(( $$** ((** ,, &&22 ((((,, &&,, 6v 6B % $ $%5 6$$** ..   .. ** / /   i (((6v 6$ % $ $%5 6
5f 
5 $ # #O 43F 3 " ! !- 00 06   z */ /6   i (!:: 	/ /,   i (/ /0   i (,V ,*   6 "/ /    i (/ /    i (-f -"   G $,V ,"   6 "&&&&	<V 	< + * *+A B!::     ((%BB 00 8 8 ' & &'9 :0 0(   z * $ B B 1& 1$     ,5f 5" $ # #O 4=3F =3@ " ! !- 03F 3, " ! !- 0** $@@ ** $@@ 
5f 
5 $ # #O 4$$ 88 22 66  88 #)#J#J  <V <  + * *+A B66 3F 3 " ! !- 0..  88 .. 66 D/ D/N   i (#>> $@@ ((44 ((.. .v .   X &;F ; * ) )*? @:6 :" ) ( ()= >** """"&&""""""""&&$$""""""""$$""/ /6   i ( .v  .F   X &,, 		$$$$$$$$.v .0   X &
/ 
/   i (5f 5 $ # #O 4 ::  :: 22 #'#H#H  #@@ #@@ #@@ ""  &&&&5f 58 $ # #O 46v 6* % $ $%5 6#-f #-L   G $((** ,, 00 ,, ,, ,, 44 5f 5& $ # #O 44V 4" # " "> 226 26 !     .66 $$
  


((((26 2& !     .	-f 	-   G $((** 66 !'!F!F #)#J#J   & D D %BB $@@  & D D "("H"H !'!F!F  88 $@@ ((,, ((** ((** 22 00 00 00 00 .. ""00 &&00 ,, ,, ,, ,, ,, 1& 1     ,? ?0 . - -.G H$*$L$L !$*$L$L !%+%N%N "$*$L$L !22 44 ,, ** ,, **  88 22 ** ,, .. 66 22  & D D .. .. 00 ** &&&&((((((((((((,, 44 .. 44 .. ((((((.. .. .. ,, .. ,, 66 44 ,, ,, .. ((00 ,, ((((((22 ((((00 22 ,, 44 66 ((!:: ,, +/ +/\   i (#>>   44 5/ 5/p   i (.. 22 5f 5. $ # #O 41& 1&     ,4V 4 # " "> 24V 4 # " "> 25f 5 $ # #O 4$@@ %BB !::  88 22  88 $$'-'R'R $#>> !:: !:: #>> ** 66 w3F w3t " ! !- 000 22 44 44 00 4V 4$ # " "> 23F 3$ " ! !- 03F 3. " ! !- 0.. .. .. ((** ** 5f 54 $ # #O 4=f = , + +,C D((((((
6v 
6 % $ $%5 6.. 00 22 ,, .. 66 44 ,, .. 00 44 .. 3F 3  " ! !- 0!-f !-H   G $** .. .. 00 .. 00 .. ** 26 2  !     .	5f 	5 $ # #O 4)0 )0X   z *9& 9& ( ' '(; <""  ""  
&&.. .. 00 44 44 66 22 22 44  88  88 !::  88  88 !::  88  88 !:: &&&&((00 00 22 00 .. .. 66 .. $@@ 66 66 &&.. "".. 00 22 44 22 44 "<<  & D D  -f  -F   G $&1& &1R     ,9& 9" ( ' '(; <8 8& ' & &'9 :4V 42 # " "> 24V 40 # " "> 25f 5 $ # #O 47 7& & % %&7 8%4V %4P # " "> 200 00 "("H"H #)#J#J  '-'R'R $? ?" . - -.G H=f = , + +,C D>v > - , ,-E F"<< "<< "<< 44 .. 4V 4 # " "> 23F 3 " ! !- 0
3F 
3 " ! !- 0$$$$&&,, ,, ** ((,, ** ** 00 00 ** %BB ,, ** ** $@@ %BB 66 22 !:: $@@ ,, 22 00 00 ,,  88 "<< 00 22 22 ,, 66 ,, 22 66 .. 22 00  88 22 ((.. ** ** ** ** ,, ** !:: #>> 66  88 66 !'!F!F "("H"H "<< $@@ 66 !:: 66 22 !:: 22 22 ,, ** ,, ..  88 ((** ** ** ,, %BB ** ,, ** #>> $@@ #>> $@@ "<< ** .. ** ** ** 44 44 22 ,,  88 44 00 44 .. ** 44  88 66 22 "<< .. !:: !:: %BB  88 22 44 #>> 44 "<< 66 22 00 00 #>> 44 44 00 ((** ** ,,  88 ** ,, ** ** ** ** ** ,, '-'R'R $.. .. 22 "<< 44 "<< "<< !:: #>> ..  & D D 44 22 .. "("H"H 00 !:: !:: 44  88 ** 44 "<< %BB #>> "<< 66 ,, ** 22 66 !'!F!F 22 00 ,, ((** "<< ** #>> $@@ 22 !'!F!F 66 44  & D D !'!F!F !::  88 44 #>> 44  88 22 ((22 ** ,, ** ** .. ** 66 22 22 %BB 66 66 22 00 "<< 00  88  88 ,, .. 00 00 .. .. .. ** 00 "<< ,, .. 66 %BB 66  88  88 !:: 66 !:: !'!F!F .. 66 22 66 44 66  & D D #)#J#J  66 #>>  88 ((66 00 44 .. 00 00 ((** ** ** ** ** ** 22 ..  88 !:: ((** 66 ** ** ,, ** 66 !:: !:: 00 22 22 22  88 44 00 44 .. ,, 44 22 "<< 00 "<< "<< #>>  88 ** !:: ((66 .. ((00 ** ** ** ** ** ,, ,, ** ** ,,  88 ,, 00 .. .. 66 66 22 00 ,, 22 44 44 44 22 ..  88 $@@ !:: .. .. 66 .. 22 !:: ((.. ** ** 44 ,, .. 22 00 22 66 66 #>> 44 00 ,, 66 ((.. 00 00  88 .. 66 %BB  88 .. 22 "<< $*$L$L !.. "<< .. ((** ,, .. .. #>> ** ,, ** ** ,, ** 22 ** ,, ..  88 66 ,, 00 66 66  & D D *0*X*X '#>> $@@ ((,, ** .. !:: 66 00  88 22 22 !:: .. 44 "<< 00  88 66 "("H"H 44 #>> !'!F!F 00 !::  88 .. 66 44 00 "<< 44 44 66 $@@ $@@ !:: !:: 22 .. ((!:: 00 ((** 66 ** #>> ** ,, ,, ** ** !:: ** ** 00 22 .. 22 ,,  88 66  88  88 44 .. 22 .. ..  & D D ((00 "<< 22 22 .. !:: 44 "<< ** ,, 66 .. 22 .. 00 .. 00 22 .. 00 22 66 ** 00 !:: $@@ 66 00 00 .. ..  88 22 #>> $@@ %BB ,,  88 44 44 66 !:: .. ((00 ** 00 ** 00 ** ,, .. ** ,, ** 00 .. 00 !:: 00 00  88 ,,  88 00  & D D  & D D #>> 44 44 66 "<< ** .. 00 00 22 00 ((** ** ,, ,,  88 44  88 .. "<< 00 %BB 44 "<< 66 ((** ** 44 66 %BB .. ((** 00 ** ** 44  88 !:: 22 00 22  & D D .. ,, 44 ,, 44 .. 44 00 ,, 00 ,, .. (($*$L$L !** ** ** ** ** ((&&** ** 0 0    z *6v 6 % $ $%5 64V 4 # " "> 26v 6 % $ $%5 6.. 44 44 9& 9 ( ' '(; <5f 5  $ # #O 46v 6 % $ $%5 6	3F 	3 " ! !- 05f 5 $ # #O 4E26 E2P !     .00 66  88  88  88  88 7 7< & % %&7 8$$  .. 00 ,, .. .. 00 ""  ""&&((	""$$""  &&&&,, ""((,, &&&&4V 4" # " "> 2 :: 
5f 
5 $ # #O 4.v .    X &** ** .. 00 00 00 00 &&(($$,, $$66 ,, ,, &&	/ 	/   i (	0 	0   z *0 0   z *.v .>   X &.. ""(($$.. $$&&** ,, 	.v 	.   X &.v .   X &"3F "3J " ! !- 0!:: 44 44 "<< "<< %BB 
;F 
; * ) )*? @1& 1&     ,(.(T(T %e3F e3P " ! !- 0-f -.   G $8 8 ' & &'9 :8 8" ' & &'9 :,, ,, 00 !:: 66 66 !::  & D D $$$$((A& A 0 / /0K L>v > - , ,-E F4V 4$ # " "> 2;F ;( * ) )*? @44  88  88 +1+Z+Z (!:: (.(T(T %(.(T(T %66 22 
8 
8 ' & &'9 :.v .&   X &&&&&00 &&** ** ,, 00 00 00 .. 22 ** (((($$(("<< ((((22 ** ** 66 .. 00 ""22 ,, 66 00 .. 22 66 22 66 00 $@@ %BB ,, 00 00 22  88 "<< ,, "<< $@@ .. ** .. ,, 22  & D D #)#J#J   88 $@@ "("H"H #>> !'!F!F !:: $@@ 22 66  88 !:: 66 #>> 66 !:: 9& 9 ( ' '(; < 88 66 !:: !::  88 $@@ "<< 22 "<< $@@ %BB "<< "<< 66 44 66 "<< !:: $@@ %+%N%N " & D D 22 "<< $*$L$L !66 $@@ $*$L$L !44 22 22 %BB %+%N%N "'-'R'R $B6 B 1 0 01M N!:: $*$L$L !%+%N%N "%+%N%N ""("H"H +1+Z+Z ("("H"H !'!F!F $@@ 6v 6 % $ $%5 6
8 
8 ' & &'9 :"<< 44  88 %BB "("H"H  88 9& 9  ( ' '(; <3F 3 " ! !- 0!:: !::  & D D $@@ "<< $*$L$L !5f 5& $ # #O 422 66  88 44 "<< #)#J#J   & D D '-'R'R $44 00  88 00 22 :6 : ) ( ()= >8 8 ' & &'9 :22 22 00 .. 66 .. ,, ,, @ @D / . ./I J!:: !:: 
7 
7 & % %&7 89& 9 ( ' '(; <((00 ,, 22 22 00 44 00 9& 9 ( ' '(; <LV L$ ; : :;a b5f 5 $ # #O 4# 8;BJB:
L
:
:.@A7-;,4=00008?,1<*3
-  " =(5,&,'Y5X82AGN YD@,214 )26(06&32,3,5!')."+-
21,,,(/***D< BEJJ;*(&	8) *n	>32*	3,.(39>/1663/2.2.6),	>,8KK775
,8,C,<_2
p?
7C	9	97
4:,)/5+>*7&7()/1&0b$91>"14:0@) +"W,0<)5%&4&%%49&	4%$#!\C	4;;80&'5827 <-7$89&(*(74+1))414'
=
)	0	+
2(,(*/	*/.	4*,+48	1	5+
(.4+(()(	.*6..	--*
))2(2&-4D&8%8H;bB&0/''&-*&+.&>3-E0/3*IadF	UIZ43"*),
(-2)++-1,
(/,23B	 ("'$,1K"?(5I<>
3,B\*/3 ,<+,24))6
3/<.>50"$JD'4148< '.49M>2--1,,.-4//+.+1
5/8.('-+4*))	$	).'-,,4)5733#>8
*-6*))-224+))45=)0+	(,	(,*	4*,+21415(.(	().*--))	2(&.'7+6>:>R,0@<1)*9/>:D"R&?;0?#'6(/3E0>(H0>0 =D344E,34G66603.C56)R2
%4.,0"#%#31((3,	83cI+"#%#$6
>+%,<823,;.	/8 8I(-;@9"DaSJJJJ<J	ccRLLLI@9C
?
F6A/@= 0J2?["X"	139BG	L	X
3C ]NN7B%/59 ?I&S,P$N&R&N&U*LL$C$6#TJU@2<?K/_bC,>%:. 3?;,,t\6A&2@F4	7?41=#1=6A;7B?
6A
=9D=:*;DKbCLcQhZ=L0^6]6P1=1=1=#=05@166A.68&
1_H@N/:6"(+
<`l46A SD#?J./5H01	8,,)CT$a(6)6
/
77)
3
;6.].- 0AA N$Bv4,75
8
IN$>1 
:
B	0Y(/=M B?(0003;//;4,	(	664?< 4	442<745".H/4<F(
/2c><56.79:7O2A1.[L	'*).//+0,3)*+*&&:G/(-&./"-- 1
4089@C<A?9:O Z2;66,*5"-/7G0*
',(+(+(+(+
1+
'6
),),),),+
+)26	2	=V"I2. *5.:	;55"6I T2',+
574",0(")$J6A&?.FH0G: (
&*.4;5=J=J3G@==JOQ===D=J7&"<l^WIOCA]OU"G"2"61 E	_9	+?9A
9B8;	D8	4D2069?K(	02/+?4+	;4+	;4+	;& m>wa6.,'(.
6;0))	!!!=.4(=$.8.)"-
220=9- -"-+dd/2&32A*7UU'"). (7	7##E824-0&4*"76BG
6	/)(/4;	;	,
S;0
=
;6=)%O	)5$H$'+'#
"'5,$/@555I ?@9>9>	C8-0++41//\,<////>M?9>CE9989>	C2:3.Lw/-00007 B:+46',<	E1	C	>1A	J	C/''&&'%01:64C>:D;41G;n3/V54.3N>?896565-)--8:4>33?446/4Ol8112127;69/F232/,118234319/=/063/39*05?C-?.8/13:5Q2<9788*.+A5,647/+:80+903@=56440-658666?=9>*0:3952338:2<5;7455:<8G79,/.6	0-9''E@D?B::D?>7P3(85851)1/)*+)>42+,;*7I/5-26+B6,=7*--9752=/4464.00((6,31128<;7-.-2@29>>=?@>>>GE13?1423D2@2;9=16/;.:7(2<58;7;475655:<5493<8,()21<768878053+)-+,)--/%/<4/'')-6+.3-11-b*-(;O=(,(5F5?E803.;8@K,,1=?5::+2,DB]L.:>8+,>86*1H-1:;6<4;:0:87I0B02/I=4/1-'&&.7)*%,3&&(=&((0FB-<@,<-<++),---')+.-B=60B3(2,-3461)._F=69;01262.A5S*4	/+0=-0.:0*6<0R8:;0:220>495G:6P0?G034..-3'('0'24-84K$a,-A3<W),95$8-,.'3HJLzdq[/-%-ldC.,:IF;B;E+/+*)+1)25-'&+.8<N19P.:*6J9-0/0*5:GEKG.0=FJ2'Li1NI49+|v1S[3;<PGN7=;96;0'GA:?6#04a.-*7:/	/5853<B[:ASCUBTLP<56>959be98@M>>CA;?:9>SY87E3:@5C;95<F<U:EB>B;6=658=79?536Y:R5):627KC2=4CeYkCJFA:CKJ>TZ9H))(F86467=3+*.)01&4'%%'3*&%10&4())/-9/+J2300-?4&#42)-A6+B/K684;&V++42-d812,200.14B<67'ACJ7<*-/)/F(+)&/1(.''09-122:0332;1h#T*54& 54p     ,""EcF EcP   %   uV  uF # " "> 2>eV >eB   6 "Vk Vkr   i (!yv !yH % $ $%5 6Gf G@ , + +,C Dnq6 nqb !     .ziv ziz   X &~iv ~iB   X &36F 36l " ! !- 0dq6 dqN !     .& @ ( ' '(; <O} O}d ' & &'9 :!{ !{H & % %&7 8!& !H ( ' '(; <"k "kJ   i (U1v U1p   X &oA6 oAd ) ( ()= >Yiv Yix   X &J# J#Z   i (!EV !EH + * *+A BJsF JsZ " ! !- 0fm fmR   z *6{ 6{r & % %&7 8Iv I@ - , ,-E FQyv Qyh % $ $%5 6C6F C6L " ! !- 0uV u@ # " "> 2yv y@ % $ $%5 6feV feR   6 "sF s@ " ! !- 0!q6 !qH !     .4m 4mn   z *& @ ( ' '(; <?gf ?gD   G $q6 q@ !     .)m )mX   z *io& ioX     , q6  qF !     .Fgf FgR   G $,Iv ,I^ 5 4 45U V(#(H (#V 6 5 56W XeV e@   6 ")m )mX   z *)k )kX   i (iv i@   X &)q6 )qX !     .M0f M0`   G $)uV )uX # " "> 2'sF 'sT " ! !- 0.sF .sb " ! !- 0 q6  qF !     .q6 q@ !     .ieV ieX   6 "!m !mH   z *?3 ?3D   z *1uV 1uh # " "> 2O1v O1d
   X &h.F h.V   %  hk hkV   i (sF sB " ! !- 0h{ h{V & % %&7 8p	iv p	if   X &F# F#R   i (%o& %oP     ,keV ke\	   6 "aeV aeH	   6 "q6 q0 !     .F#L F#R " ! !- 0Nq6 Nqb !     .2sF 2sj " ! !- 0Q8f Q8h $ # #O 4Viv Vir   X &/sF /sd " ! !- 0V0f V0r   G $FeV FeR   6 ")k )kX   i (|56 |5~ !     .|/V |/~   6 "gf g@   G $r/V r/j   6 "osF osd " ! !- 0@iv @iF   X &iv i@   X &_iv _iD   X &qgf qgh   G ${ {@ & % %&7 8&sF &sR " ! !- 0-q6 -q` !     ."o& "oJ     ,A6 A@ ) ( ()= >%o& %oP     ,A7V A7H # " "> 2~o& ~oB     ,sF s@ " ! !- 07m 7mt   z *gf g@   G $Ro& Roj     ,"o& "oJ     ,>gf >gB   G $7?V 7?t + * *+A B^iv ^iB   X &'iv 'iT   X &dsF dsN " ! !- 0uV u@ # " "> 2weV wet   6 "$sF $sN " ! !- 0(m (mV   z *-m -m`   z *656 65r !     .5eV 5ep   6 "wf w@ $ # #O 4 iv  iF   X &sF s@ " ! !- 0A6 A@ ) ( ()= >CF C@ * ) )*? @wcF wct   %  iv i@   X &Io& IoX     ,sF s@ " ! !- 0Uiv Uip   X &@8f @8F $ # #O 4bgf bgJ   G $CF C@ * ) )*? @kiv ki\   X &eV e@   6 "!q6 !qH !     .!o& !oH     ,ho& hoV     ,CF C@ * ) )*? @{ {@ & % %&7 819v 19h % $ $%5 6#( #> & % %&7 8<gv <g~ % $ $%5 6#( #> & % %&7 8=o& =o@     ,} }@ ' & &'9 :/o& /od     ,/o& /od     ,k k@   i (o& o@     ,sF s@ " ! !- 0gf g@   G $H@f H@V , + +,C D!m !mH   z *CcF CcL   %  q6 q@ !     .{ {@ & % %&7 8{ {@ & % %&7 817V 17h # " "> 249v 49n % $ $%5 6.k .kb   i (uV u@ # " "> 2!wf !wH $ # #O 4wf w@ $ # #O 4*o& *oZ     ,1o& 1oh     ,k k@   i (ueV uep   6 "yv y@ % $ $%5 6_gf _gD   G $"m "mJ   z *%K %KP . - -.G HuV u@ # " "> 2yv y@ % $ $%5 6`q6 `qF !     .r#L r#j " ! !- 0iv i@   X &0: 0:f & % %&7 839v 39l % $ $%5 6sF s@ " ! !- 04Av 4An - , ,-E F.# 8 .#b . - -.G H>} >}B ' & &'9 :q6 q@ !     .sF s@ " ! !- 0gf g@   G $U8f U8p $ # #O 4k k@   i ("gf "gJ   G $q6 q@ !     .sF s@ " ! !- 0"=uV =u@ # " "> 2)A6 )AX ) ( ()= >!& !H ( ' '(; <1& 1h ( ' '(; < 58?G?7
I
7
7+=>4*8)1:----5<).9'0
*:(2)&)$V2U5/>DK VD=,/.1 &/3(-3&0/,0)2$&+"(*
/.)))%,'''A9 ?BGG8'	5& 'k	;0/'	0)+%06;,.330,/+/+3&)	;)5HH442
))@)9\2
m<
4@	6	64
17)&,2(;*4&4(&,.#-_$6.;".17-=& ("T)-9&2"#1#""16#	1"! Y@	1885-#$25/4 9*4$56#%'%411A#5"5E8_B#-,$$#*'#(+#;0*B-,0'F^aC	RFW10"'&)
%*/((*.)
%)/0?	%$!).H"<(2F<;
0,?\',0 )9()/1&&3
0,9+;2-!GA$1.459 $+16J;/**.))+*1,,(+(.
2,5+%$*(1'&&	!	&+$*))1&2400 ;5
'*3'&&*//1+$4(3;7;O,-=9.&'6,;7A"O&<8-< $3(,0B0;(E0;- :D011B,01D333-023&O/
"1+)- " 0.%%0)	50`F( " !3
;(")5+	,5 5F(*8=6"A^PGGGG9G	``OIIIF=6@
<
C,: -/X"U"	.06?D	I	U
0",26 <F&P,M$K&O&K&R*I@$3#QJR=/9<H/\b@,7+ ),q\#1 <7*8AH_@I`NeW:I0[6Z635&,3"%(
9]i4 PD +,2E-))&@Q$^(3&3
,
44&
0
83+Z.* ->> K$?s4)42
5
FK$;. 
7
?	-V(,:J ?<%---08,,81,	%	3311	11/412"+H,19C(
,/`>2674L/>..XI	$'&+,,(-)0&'('##7D,%*#+,"** .
1-56=@9><67L W2833)'2"*,4D0'
$)%(%(%(%(
.(
$3
&)&)&)&)(
(&/3/+ '2.7	822"3F Q/$)(
24)-%"&$G6>&<.CE0D7 %
#'+182:G:G0D=::GLN:::A:G4#"9i[TFL@>ZLR"D"/"3. B	\6	(<6>
6?58	A5	1A/-36<H%	-/,(<1(	81(	81(	8# j>t^6+)$%+
38-&&:.1(:$+5+&*
//-:6* *"*(aa,2#0/>*4RR$&+ %4	4  B5/1*-&1'"43?D	,&%,18	8	)
P8-
:
83:&"L	&2$E$$($ 
$2,!,=222F <=6;6;	@5*-((1.,,Y,9,,,,;J<6;@B6656;	@/70+It,*----4 ?7(13$)9	B.	@	;.>	G	@,$$##$"-7@;7A81.D8k0,S21+K;<563232*&**571;00<113,1Li5.././4836,C/0/,)..5/010.6,:,-30,06'-2<@*<+5,.072N/96455'+(>2)314,(75-(6-0=:2311-*325333<:6'-706/0057/928122795D46),+3*6$$B=A<?77A<;4M0%5252.&.,&'(&;1/()8'4F,2*/3(?3):4'**642/:,1131+--%%3)0../5984*+*/=/6;;:<=;;;DB.0<.1/0/=/86:.3,8+74%/92588142322792109)%&/.9435545-20_'*%8L:%)%2C2<B5-0+85=H)).:<277(/)A?ZI+5();53'.E*.783174F-?-/,F:1,.*$##+4&'")0##%:#%%-C?*9=)99(?:3-?%/)*013.&+\C:368-.3+>2P'1	,(-:*-+7-'39-O78-7//;162D73M<D-01++*0$%$-$/1*51H!^*>09)62!5+$EGIwanX,*"*ia+)7FC8?8B(,('&(.&/2*$#(+59K.6M+7'3G6*-,-'27DBHD+-:CG/$If.KF16(ys.PX089MDK4:8638-D>7<3 -1^+*'47,	,2509?X7>P@R?QIM923;626_b65=J;;@>8<76;PV54B07=2@8629C9R7B?;?83:325:46<203V7O2&73/4H@/:1@bVh@GC>7@;QW6E&&%C53134:0('+&-.#1$""$0'#".-#1%&&,*6,(G/0--*<1# 1/&*>3(?,H3518#S((1/*a5./)/--+.1?934$>@G49'C*;)1) 1"     ,1+ 1     ,4[ 4 # " "> 23K 3 " ! !- 04[ 4 # " "> 25k 5 $ # #O 42; 2 !     .8 8 ' & &'9 :3K 3 " ! !- 03K 3 " ! !- 05k 5 $ # #O 42; 2 !     .5k 5 $ # #O 40"@FD-9I%T]t%5'141
9& 
9 ( ' '(; <.# #2 ' & &'9 :#V #0 + * *+A B<zSH H 7 6 67Y Zh
DV 
D 3 2 23Q RGDV D 3 2 23Q RDDV D 3 2 23Q RD@ @ / . ./I J@A& A 0 / /0K LECF C 2 1 12O PWCF C 2 1 12O P>O O > = =>g h}Nv N = < <=e fq=f = , + +,C D\G G 6 5 56W XJ>v > - , ,-E F<@ @ / . ./I J>TV T C B BCq rpDV D 3 2 23Q R?CF C 2 1 12O PXLV L ; : :;a bfKF K : 9 9:_ `[<V < + * *+A BDA& A 0 / /0K LS;F ; * ) )*? @<@ @ / . ./I JFFv F 5 4 45U VH>v > - , ,-E F<@ @ / . ./I J>Ef E 4 3 34S TCH H 7 6 67Y ZII& I 8 7 78[ \XEf E 4 3 34S TJQ& Q @ ? ?@k lRLV L ; : :;a bGLV L ; : :;a bGFv F 5 4 45U VOKF K : 9 9:_ `FLV L ; : :;a bGNv N = < <=e fINv N = < <=e fIG G 6 5 56W X`SF S B A ABo p]O O > = =>g h^SF S B A ABo pjR6 R A @ @Am n`LV L ; : :;a b@Ef E 4 3 34S TaNv N = < <=e fWZ6 Z I H HI} ~\G G 6 5 56W XTA& A 0 / /0K LtFv F 5 4 45U VG? ? . - -.G HTB6 B 1 0 01M NGP P ? > >?i jzI& I 8 7 78[ \eA& A 0 / /0K L]H H 7 6 67Y ZkG G 6 5 56W XcKF K : 9 9:_ `lDV D 3 2 23Q REMf M < ; ;<c dN<V < + * *+A B><V < + * *+A B:I& I 8 7 78[ \gI& I 8 7 78[ \gFv F 5 4 45U VAB6 B 1 0 01M NKB6 B 1 0 01M NKI& I 8 7 78[ \TB6 B 1 0 01M NK	O 	O > = =>g hXX X G F FGy z{KF K : 9 9:_ `TO O > = =>g hQG G 6 5 56W XPFv F 5 4 45U VPB6 B 1 0 01M NIR6 R A @ @Am nXH H 7 6 67Y ZSFv F 5 4 45U VL	LV 	L ; : :;a b^DV D 3 2 23Q RYKF K : 9 9:_ `YO O > = =>g hNA& A 0 / /0K LLDV D 3 2 23Q RIFv F 5 4 45U VaG G 6 5 56W XMFv F 5 4 45U VNMf M < ; ;<c dcFv F 5 4 45U VQ? ? . - -.G HDH H 7 6 67Y ZUA& A 0 / /0K LK	O 	O > = =>g hUX X G F FGy zx
DV 
D 3 2 23Q RG	H 	H 7 6 67Y ZMJ6 J 9 8 89] ^nG G 6 5 56W X_A& A  0 / /0K LFCF C 2 1 12O PHLV L ; : :;a bYI& I 8 7 78[ \TA& A 0 / /0K LY@ @ / . ./I J@CF C 2 1 12O P]Ef E 4 3 34S TE@ @ / . ./I J_Fv F 5 4 45U VF,, ,, ,, .. ,, ,, .. ,, ,, 22 22 .. .. .. .. 66 00 22 22 ,, ,, .. 00 44 00 ** ((00 00 22 .. 22 22 "("H"H ,, ,, ,, 44 22 22 22 ((&&66 .. 00 44 00 00 ,, 22 ,, .. 22 22 00 00 00 00 22 ..  88 66 22 !::  88 66 22 44 66 22 ((44 .. 22 ((66 22 .. .. .. .. ** 22 22 00 #)#J#J  44 ** ,, 22 !:: %BB  & D D %+%N%N "$*$L$L !66 .. ,, .. 00 .. %BB #)#J#J  ** 00 !:: ,, 00 44 !'!F!F 22 00 00 .. 44 22 22 66 "<< ** ((44  & D D 66 !:: 44  88 $@@ 00 00  88 ** $*$L$L !.. 00 "<<  88 ,, 44 00 ** ,, .. "<< ,, 00 %BB ,, "<< $@@ 00  88  88 00 00  88 %+%N%N ".. 66  88 "("H"H .. 22 66 !:: .. ** **  88 **  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88  88 !::  88  88 !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: !:: ,, 00 00 ,, .. 00 00 00 .. .. .. .. .. 00 .. ,, ,, .. .. 00 00 00 00 %+%N%N "&,&P&P #%+%N%N "##*"  	 	 
 " **..)?@CG  9K
  ;N   	 	 
  # BF
 ; C 3  3   3  + - 1  1   I "" G ' %
 9 #3 %S ! 3  1  C ) A   #	  - ! +* 7  ;  = / 5 1 "M  C  C 1 7  A  C  G  G ," 9 ," $Q  )$  I )$ $Q  !, #O  C ## 5 ## G ## +_ '#' 9 C -) 7 $$ )+# /# !K # = # -# ; # 9  A   3   E " #	 #	4 = 4 =  7  / / =  /7  I ' )[ % A 6"  I   9 / 7  /  #O   7 I+ C  3 # A #  I  - 3  7  9 4U 7  E  7  )#' ; :D -7  I ' )[ %V6 3 A6 ;  ? - 9 Hj -+ 1 -= C # =  -  + 1   5 -M +" 7  E  E  E $ )[ %4 #O 4 #O  G  !K  -c )# >E  : (Y $# E
  ,a
 ( $Q
  3 ,a ( G
  $Q   G  &U " $Q  ' G  ;  &U " *] &C =  $Q  " (Y $# (Y $$ ;  E $ *] & A  A  A  )[ % 2m . %S !" )[ %+ &U " ?   I  G  #O  (Y $ #O U #O D E 6 !K 6 %S !j E   I  &U " "M  #O  !K  &U " 9  G  *] & E  7  9 M 9 ' !K - %S ! 'W  # / . 1 0 1 2 / 5  0 0 2 / 2    . 5 & - 
	 1  R;3 / ;8 #9 I )E %
 *K &? +I ' % $.!0 % g. ]":2 ]"C )E %U % &&	e !1     2 6"FJ

?
 )E % ! & 
 1 * 0 (%; ( 3 E? 0  -55 2 6  &#.O &#V ,0 (Q 28 7 7 < = @ A 4	 5	 @ A 1n & .2o & /2 3 8 9 4	 5	 ./D  E  2 3 > ? 01 01 B  C  $T  !%U  "< = D  E  F  G  F  G  %V  "&W  #B  C  H  I  H  I  F  G  &X  #'Y  $D  E  3 4 5 6 0 1 5 6 +H   (,I   )/0 2
 3
 0 1 -.7 8 /0 4 5 ././6 7 !>  "?  4 5 7 8 8  9  8  9  "?  #@   6 7 8  9  9  :  8  9  #@   $A  !7 8  O->?@ O->?@ ?,<=> /?;<O->?@ ?,<=> ?,<=> o/BCD o/BCD ?,<=> %8T'UV O->?@ ?,<=> ?,<=> $o7R&ST %8T'UV 2H!IJ 0DEF !?4L#MN $o7R&ST O->?@ 0DEF o/BCD o/BCD O->?@  /3J"KL "O5N$OP o/BCD 0DEF 0DEF O->?@ 2H!IJ O->?@ 0DEF 2H!IJ _.@AB 0DEF o/BCD  /3J"KL 0DEF /?;<_.@AB ?,<=> ?,<=> ?,<=> ?,<=> O->?@ ?,<=> !?4L#MN #_6P%QR 2H!IJ  /3J"KL 2H!IJ !':X)Y!Z "(/;Z*["\ "O5N$OP $o7R&ST 2H!IJ !?4L#MN 2H!IJ 0DEF !?4L#MN 0DEF 0DEF O->?@ ?,<=> O->?@ _.@AB  /3J"KL /?;<?,<=> ?,<=> ?,<=> O->?@ %8T'UV ?,<=> O->?@ ?,<=> #_6P%QR $o7R&ST #_6P%QR $o7R&ST "O5N$OP ?,<=> _.@AB ?,<=> ?,<=> ?,<=> 1F GH 1F GH 0DEF O->?@  /3J"KL 1F GH o/BCD 1F GH _.@AB ?,<=> 1F GH  /3J"KL 2H!IJ 0DEF "O5N$OP _.@AB !?4L#MN !?4L#MN %8T'UV  /3J"KL 0DEF 1F GH #_6P%QR 1F GH "O5N$OP 2H!IJ 0DEF o/BCD o/BCD #_6P%QR 1F GH 1F GH o/BCD /?;<?,<=> ?,<=> O->?@  /3J"KL ?,<=> O->?@ ?,<=> ?,<=> ?,<=> ?,<=> ?,<=> O->?@ '-@d/e'f $_.@AB _.@AB 0DEF "O5N$OP 1F GH "O5N$OP "O5N$OP !?4L#MN #_6P%QR _.@AB  &9V(W X 1F GH 0DEF _.@AB "(/;Z*["\ o/BCD !?4L#MN !?4L#MN 1F GH  /3J"KL ?,<=> 1F GH "O5N$OP %8T'UV #_6P%QR "O5N$OP 2H!IJ O->?@ ?,<=> 0DEF 2H!IJ !':X)Y!Z 0DEF o/BCD O->?@ /?;<?,<=> "O5N$OP ?,<=> #_6P%QR $o7R&ST 0DEF !':X)Y!Z 2H!IJ 1F GH  &9V(W X !':X)Y!Z !?4L#MN  /3J"KL 1F GH #_6P%QR 1F GH  /3J"KL 0DEF /?;<0DEF ?,<=> O->?@ ?,<=> ?,<=> _.@AB ?,<=> 2H!IJ 0DEF 0DEF %8T'UV 2H!IJ 2H!IJ 0DEF o/BCD "O5N$OP o/BCD  /3J"KL  /3J"KL O->?@ _.@AB o/BCD o/BCD _.@AB _.@AB _.@AB ?,<=> o/BCD "O5N$OP O->?@ _.@AB 2H!IJ %8T'UV 2H!IJ  /3J"KL  /3J"KL !?4L#MN 2H!IJ !?4L#MN !':X)Y!Z _.@AB 2H!IJ 0DEF 2H!IJ 1F GH 2H!IJ  &9V(W X #)?<\+]#^  2H!IJ #_6P%QR  /3J"KL /?;<2H!IJ o/BCD 1F GH _.@AB o/BCD o/BCD /?;<?,<=> ?,<=> ?,<=> ?,<=> ?,<=> ?,<=> 0DEF _.@AB  /3J"KL !?4L#MN /?;<?,<=> 2H!IJ ?,<=> ?,<=> O->?@ ?,<=> 2H!IJ !?4L#MN !?4L#MN o/BCD 0DEF 0DEF 0DEF  /3J"KL 1F GH o/BCD 1F GH _.@AB O->?@ 1F GH 0DEF "O5N$OP o/BCD "O5N$OP "O5N$OP #_6P%QR  /3J"KL ?,<=> !?4L#MN /?;<2H!IJ _.@AB /?;<o/BCD ?,<=> ?,<=> ?,<=> ?,<=> ?,<=> O->?@ O->?@ ?,<=> ?,<=> O->?@  /3J"KL O->?@ o/BCD _.@AB _.@AB 2H!IJ 2H!IJ 0DEF o/BCD O->?@ 0DEF 1F GH 1F GH 1F GH 0DEF _.@AB  /3J"KL $o7R&ST !?4L#MN _.@AB _.@AB 2H!IJ _.@AB 0DEF !?4L#MN /?;<_.@AB ?,<=> ?,<=> 1F GH O->?@ _.@AB 0DEF o/BCD 0DEF 2H!IJ 2H!IJ #_6P%QR 1F GH o/BCD O->?@ 2H!IJ /?;<_.@AB o/BCD o/BCD  /3J"KL _.@AB 2H!IJ %8T'UV  /3J"KL _.@AB 0DEF "O5N$OP $*O=^,_$` !_.@AB "O5N$OP _.@AB /?;<?,<=> O->?@ _.@AB _.@AB #_6P%QR ?,<=> O->?@ ?,<=> ?,<=> O->?@ ?,<=> 0DEF ?,<=> O->?@ _.@AB  /3J"KL 2H!IJ O->?@ o/BCD 2H!IJ 2H!IJ  &9V(W X *0/Cj2k*l '#_6P%QR $o7R&ST /?;<O->?@ ?,<=> _.@AB !?4L#MN 2H!IJ o/BCD  /3J"KL 0DEF 0DEF !?4L#MN _.@AB 1F GH "O5N$OP o/BCD  /3J"KL 2H!IJ "(/;Z*["\ 1F GH #_6P%QR !':X)Y!Z o/BCD !?4L#MN  /3J"KL _.@AB 2H!IJ 1F GH o/BCD "O5N$OP 1F GH 1F GH 2H!IJ $o7R&ST $o7R&ST !?4L#MN !?4L#MN 0DEF _.@AB /?;<!?4L#MN o/BCD /?;<?,<=> 2H!IJ ?,<=> #_6P%QR ?,<=> O->?@ O->?@ ?,<=> ?,<=> !?4L#MN ?,<=> ?,<=> o/BCD 0DEF _.@AB 0DEF O->?@  /3J"KL 2H!IJ  /3J"KL  /3J"KL 1F GH _.@AB 0DEF _.@AB _.@AB  &9V(W X /?;<o/BCD "O5N$OP 0DEF 0DEF _.@AB !?4L#MN 1F GH "O5N$OP ?,<=> O->?@ 2H!IJ _.@AB 0DEF _.@AB o/BCD _.@AB o/BCD 0DEF _.@AB o/BCD 0DEF 2H!IJ ?,<=> o/BCD !?4L#MN $o7R&ST 2H!IJ o/BCD o/BCD _.@AB _.@AB  /3J"KL 0DEF #_6P%QR $o7R&ST %8T'UV O->?@  /3J"KL 1F GH 1F GH 2H!IJ !?4L#MN _.@AB /?;<o/BCD ?,<=> o/BCD ?,<=> o/BCD ?,<=> O->?@ _.@AB ?,<=> O->?@ ?,<=> o/BCD _.@AB o/BCD !?4L#MN o/BCD o/BCD  /3J"KL O->?@  /3J"KL o/BCD  &9V(W X  &9V(W X #_6P%QR 1F GH 1F GH 2H!IJ "O5N$OP ?,<=> _.@AB o/BCD o/BCD 0DEF o/BCD /?;<?,<=> ?,<=> O->?@ O->?@  /3J"KL 1F GH  /3J"KL _.@AB "O5N$OP o/BCD %8T'UV 1F GH "O5N$OP 2H!IJ /?;<?,<=> ?,<=> 1F GH 2H!IJ %8T'UV _.@AB /?;<?,<=> o/BCD ?,<=> ?,<=> 1F GH  /3J"KL !?4L#MN 0DEF o/BCD 0DEF  &9V(W X _.@AB O->?@ 1F GH O->?@ 1F GH _.@AB 1F GH o/BCD O->?@ o/BCD O->?@ _.@AB /?;<$*O=^,_$` !?,<=> ?,<=> ?,<=> ?,<=> ?,<=> /?;<?M23?M23O^45	Ub  s   QY Y	QYYQY