Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 NebóBã @sddZdˆZd dlmZmZmZmZmZmZm Z d dl m Z m Z d dl mZd dlmZd dlmZmZmZd dlmZGdd„deƒZdd„Zedde ee edƒe edƒe e dƒe edƒe edƒe edƒe ed ƒe ed!ƒe ed"ƒe ed#d$�e ed%d$�e ed&d$�e ed'd$�d(�d)d*d+d,d-d.d/gd0�Zed1d2e ed‰d7�d8d9d:d;gd0�Zed�d8d?ƒZed@dAe ee ed'd$�dB�dCdDƒZedEdFe ee ed'd$�dB�dCdGƒZedHdIe ed>�dJdKƒZedLdMe ed>�dJdNƒZedOdPe ed>�d)d*ƒZ edQdRe ed>�d)dSƒZ!edTdUe ee edVƒdW�d)dXƒZ"edYdZe ee ed[ƒe ed\ƒe ed]ƒe ed^ƒe ed_ƒe ed`ƒe ed#d$�e ed%d$�e ed&d$�da� dbdcƒZ#edddee ee edfƒe edgƒe edhƒe ediƒe ed#d$�e ed%d$�e ed&d$�dj�dbdkƒZ$edddle ee edmƒe ednƒe ed#d$�e ed%d$�e edod$�e edpd$�e ed&d$�e edqd$�e edrd$�e edsd$�dt� dudvdwdxdy�Z%edzdze ee ed{d$�e ed|d$�e ed}d$�e ed~d$�e eeefƒdd$�e d€d�d$�e d€d�d$�e d€d�d$�e d€d�d$�e d€d�d$�e d€d�d$�e d€d�d$�e d€d�d$�e d€d‚d$�e d€d‚d$�e d€d‚d$�e d€d‚d$�e d€d‚d$�e d€d‚d$�e d€d‚d$�e d€d‚d$�e d€d‚d$�e d€d‚d$�e d€d‚d$�dƒ�d„d…ƒZ&e'd†k�r`e(d‡ƒ‚d€S)Šz3.3.0Ú BarcodeI2of5ÚBarcodeCode128ÚBarcodeStandard93ÚBarcodeExtended93ÚBarcodeStandard39ÚBarcodeExtended39Ú BarcodeMSIÚBarcodeCodabarÚ BarcodeCode11Ú BarcodeFIMÚBarcodePOSTNETÚBarcodeUSPS_4Stateé)ÚisIntÚisNumberÚisStringÚ isColorOrNoneÚ isBooleanÚEitherOrÚisNumberOrNone)ÚAttrMapÚ AttrMapValue)Úblack)Úrl_exec)ÚRectÚGroupÚString)ÚPlotAreac@sÀeZdZeeeedd�eedd�eedd�eee efƒdd�eedd�ee ƒee dd�edd d�ee d d�edd d�ee d d�d � Z e ZZdZdZdZddd„Zdd„Zdd„Zddd„ZdS)Ú_BarcodeWidgetzColor of bar borders.)ÚdesczColor of bar interior areas.zWidth of bar borders.zValue.zColor of human readable text.zvalidated form of inputNzencoded form of inputzdecomposed form of inputz%temporarily used for internal methodszWidth of inter character gaps.) ÚBASEÚbarStrokeColorÚ barFillColorÚbarStrokeWidthÚvalueÚ textColorÚvalidÚ validatedÚencodedÚ decomposedÚcanvÚgapr ÚcKsZtj|ƒd|jkr|jd=d|jkr.|jd=d|_|_|jd|ƒ|jj|f|ŽdS)NÚwidthÚheightr r#)rÚ__init__Ú__dict__ÚxÚyÚ setdefaultÚ_BCC)ÚselfÚ_valueÚkw©r7úC/tmp/tmp4i9tl1d3/lib64/python/reportlab/graphics/barcode/widgets.pyr.>s     z_BarcodeWidget.__init__c Ks2|jt|j||j||||j|j|jd�ƒdS)N)Ú strokeColorÚ strokeWidthÚ fillColor)Ú_Gaddrr0r1r r"r!)r4r0r1ÚwÚhr6r7r7r8ÚrectFsz_BarcodeWidget.rectc Csf|jstd|jjƒ‚||_tƒ}|j|_|jt|j |j |j |j dddd�ƒ|jj |ƒ|`|`|S)Nz!Abstract class %s cannot be drawng-Cëâ6?)r;r9r:)r3ÚNotImplementedErrorÚ __class__Ú__name__r)rÚaddr<rr0r1r,r-Údraw)r4ÚGr7r7r8rDJs$ z_BarcodeWidget.drawÚmiddlec Cs.|jt|j||j||||||jd�ƒdS)N)ÚfontNameÚfontSizeZ textAnchorr;)r<rr0r1r$)r4r0r1ÚtextrGrHÚanchorr7r7r8ÚannotateTsz_BarcodeWidget.annotate)r+)rF)rBÚ __module__Ú __qualname__rrrrrrrrrÚ_attrMaprr$r!r r"r3r.r?rDrKr7r7r7r8r+s(          rcKs¦|jddƒ}|jddƒ}d|}tƒjƒ} d||f} t| | ƒt| d<|rTd|nd| d<d | } t| | ƒ| |} |r€|| _x |jƒD]\} } t| | | ƒqŠW| S) zfactory for Barcode WidgetsÚ _pre_initr+Ú_methodsZBarcodezfrom %s import %srz '''%s'''ÚdoczÃclass %(name)s(_BarcodeWidget,%(codeName)s):%(doc)s _BCC = %(codeName)s codeName = %(codeName)r def __init__(self,**kw):%(_pre_init)s _BarcodeWidget.__init__(self,%(value)r,**kw)%(_methods)s)ÚpopÚvarsÚcopyrrrNÚitemsÚsetattr)rQZcodeNameZattrMapÚmodr#ÚkwdsrOrPÚnameÚnsÚcodeZKlassÚkÚvr7r7r8Ú_BCWXs       r^a�Interleaved 2 of 5 is used in distribution and warehouse industries. It encodes an even-numbered sequence of numeric digits. There is an optional module 10 check digit; if including this, the total length must be odd so that it becomes even after including the check digit. Otherwise the length must be even. Since the check digit is optional, our library does not check it. ZI2of5z(float, default .0075): X-Dimension, or width of the smallest element Minumum is .0075 inch (7.5 mils).zÈ(float, default 2.2): The ratio of wide elements to narrow elements. Must be between 2.0 and 3.0 (or 2.2 and 3.0 if the barWidth is greater than 20 mils (.02 inch))zb(float or None, default None): width of intercharacter gap. None means "use barWidth".zÒ(float, see default below): Height of the symbol. Default is the height of the two bearer bars (if they exist) plus the greater of .25 inch or .15 times the symbol's length.zM(bool, default 1): Whether to compute and include the check digita0(float, in units of barWidth. default 3.0): Height of bearer bars (horizontal bars along the top and bottom of the barcode). Default is 3 x-dimensions. Set to zero for no bearer bars. (Bearer bars help detect misscans, so it is suggested to leave them on).zL(bool, default 1): Whether to include quiet zones in the symbol.z¸(float, see default below): Quiet zone size to left of code, if quiet is true. Default is the greater of .25 inch, or .15 times the symbol's length.z`(float, defaults as above): Quiet zone size to right left of code, if quiet is true.zhuman readable font)rzhuman readable font sizezif human readablez(if we use start/stop symbols (default 1))rÚbarWidthÚratior*Ú barHeightÚchecksumÚbearersÚquietÚlquietÚrquietrGrHÚ humanReadableÚstopz!reportlab.graphics.barcode.commoniÒZ12Z1234Z123456Z12345678Z 1234567890)Z_testszECode 128 encodes any number of characters in the ASCII character set.ZCode128rcrbr`rh)rZUNWANTEDz"reportlab.graphics.barcode.code128z AB-12345678zReportLab Rocks!ZPFWZFz%Modified Code128 to use auto encodingZ Code128Auto)rZ XY149740345GBz$This is a compressed form of Code 39Z Standard93)rrhz!reportlab.graphics.barcode.code93zCODE 93zEThis is a compressed form of Code 39, allowing the full ASCII charsetZ Extended93zL@@K! Code 93 ;-)zŸCode39 is widely used in non-retail, especially US defence and health. Allowed characters are 0-9, A-Z (caps only), space, and -.$/+%*.Z Standard39z!reportlab.graphics.barcode.code39z A012345B%RzÃExtended 39 encodes the full ASCII character set by encoding characters as pairs of Code 39 characters; $, /, % and + are used as shift characters.Z Extended39z A012345B}z¾MSI is used for inventory control in retail applications. There are several methods for calculating check digits so we do not implement one. ZMSIz~Used in blood banks, photo labs and FedEx labels. Encodes 0-9, -$:/.+, and four start/stop characters A-D.ZCodabarZA012345BzfUsed mostly for labelling telecommunications equipment. It encodes numeric digits.ZCode11aU(integer, default 2): Whether to compute and include the check digit(s). (0 none, 1 1-digit, 2 2-digit, -1 auto, default -1): How many checksum digits to include. -1 ("auto") means 1 if the number of digits is 10 or less, else 2.)rrbZ01234545634563a¡ FIM was developed as part of the POSTNET barcoding system. FIM (Face Identification Marking) is used by the cancelling machines to sort mail according to whether or not they have bar code and their postage requirements. There are four types of FIM called FIM A, FIM B, FIM C, and FIM D. The four FIM types have the following meanings: FIM A- Postage required pre-barcoded FIM B - Postage pre-paid, no bar code exists FIM C- Postage prepaid prebarcoded FIM D- Postage required, no bar code existsZFIMz'(float, default 1/32in): the bar width.zp(float or None, default 1/16in): width of intercharacter gap. None means "use barWidth".z'(float, default 5/8in): The bar height.zX(bool, default 0): Whether to include quiet zones in the symbol.ze(float, default: 15/32in): Quiet zone size to left of code, if quiet is true.zh(float, default 1/4in): Quiet zone size to right left of code, if quiet is true.) rr_Ú spaceWidthrardrerfrGrHrgzreportlab.graphics.barcode.uspsÚAr+ZPOSTNETz)(float, default 0.018*in): the bar width.z?(float or None, default 0.0275in): width of intercharacter gap.z.(float, default 0.05in): The short bar height.z.(float, default 0.125in): The full bar height.)rr_riZ shortHeightrarGrHrgz 78247-1043Z USPS_4StatezB(float, default 1): the bar width size adjustment between 0 and 1.zC(float, default 1): the bar height size adjustment between 0 and 1.z tracking dataz routing datar_raÚpitch) rZ widthSizeZ heightSizerGrHZtrackingZroutingrgr_rarkz!reportlab.graphics.barcode.usps4sZ01234567094987654321z* kw.setdefault('routing','01234567891') z‹ def annotate(self,x,y,text,fontName,fontSize,anchor='middle'): _BarcodeWidget.annotate(self,x,y,text,fontName,fontSize,anchor='start') )rOrPZECC200DataMatrixz3X position of the lower-left corner of the barcode.z3Y position of the lower-left corner of the barcode.zSize of data modules.zColor of data modules.zValue.NÚignoredz???)rr0r1r_r!r#r-r,r9r:r;Z backgroundÚdebugr*Z row_modulesZ col_modulesZ row_regionsZ col_regionsZcw_dataZcw_eccZrow_usable_modulesZcol_usable_modulesr%r&r(z+reportlab.graphics.barcode.ecc200datamatrixzÌJGB 0204H20B012722900021AC35B2100001003241014241014TPS01 WJ067073605GB185 MOUNT PLEASANT MAIL CENTER EC1A1BB9ZGBREC1A1BB EC1A1BB STEST FILE FOR SPEC Ú__main__z!widgets.py has no script function) rrrrrrrrr r r r )rcrbr`rbrh))Ú __version__Ú__all__Zreportlab.lib.validatorsrrrrrrrZreportlab.lib.attrmaprrZreportlab.lib.colorsrZreportlab.lib.utilsrZreportlab.graphics.shapesrrrZreportlab.graphics.charts.areasrrr^rrZBarcodeCode128Autorrrrrrr r r r ZBarcodeECC200DataMatrixrBÚ ValueErrorr7r7r7r8Úsz$   -