"Vfil zdZddlmZddlmZddlmZddlmZm Z m Z m Z m Z ddl mZGdd eZGd d eZGd d e Ze ZGdde ZGddeZGddeZGdde ZGddeZGddeZGddeZddZdS)z Excel specific descriptors )REL_NS) safe_string)Element) MatchPatternMinMaxIntegerStringSequence) SerialisableceZdZdZdS) HexBinaryz [0-9a-fA-F]+$N__name__ __module__ __qualname__patternIc:\PYTHON\DbComparer\venv\Lib\site-packages\openpyxl/descriptors/excel.pyrrsGGGrrceZdZdZdS)UniversalMeasurez$[0-9]+(\.[0-9]+)?(mm|cm|in|pt|pc|pi)Nrrrrrrs5GGGrrceZdZdZeZdZdZdS) TextPointzt Size in hundredths of points. In theory other units of measurement can be used but these are unbounded iiN)rrr__doc__int expected_typeminmaxrrrrrs)M C CCCrrc*eZdZdZdZdZfdZxZS) Percentagez&((100)|([0-9][0-9]?))(\.[0-9][0-9]?)?%ii@Bct|tr9d|vr5|dd}tt |dz}t ||dS)N%i) isinstancestrreplacerfloatsuper__set__selfinstancevalue __class__s rr*zPercentage.__set__3sf eS ! ! -cUllMM#r**Ee t+,,E %(((((r)rrrrrrr* __classcell__r/s@rr!r!-sG7G C C)))))))))rr!c,eZdZeZ ddZdS) ExtensionNc||_dSN)uri)r,r6s r__init__zExtension.__init__>rr5)rrrr r6r7rrrr3r3:s8 &((Crr3c0eZdZeeZ ddZdS) ExtensionList)rrc||_dSr5)ext)r,r<s rr7zExtensionList.__init__Hr8rN)r)rrrr r3r<r7rrrr:r:Ds? ( + + +Crr:ceZdZeZdZdS)RelationTN)rrrr namespace allow_nonerrrr>r>NsIJJJrr>ceZdZdZdS) Base64BinaryzP^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$NrrrrrBrBTs`GGGrrBceZdZdZdS)Guidz?{[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\}NrrrrrDrDYsPGGGrrDc&eZdZdZdZfdZxZS) CellRangez]^[$]?([A-Za-z]{1,3})[$]?(\d+)(:[$]?([A-Za-z]{1,3})[$]?(\d+)?)?$|^[A-Za-z]{1,3}:[A-Za-z]{1,3}$Tcx||}t||dSr5)upperr)r*r+s rr*zCellRange.__set__cs4  KKMME %(((((r)rrrrr@r*r0r1s@rrFrF^sBnGJ)))))))))rrFNcR|d|d|}t|t|S)z? Override serialisation because explicit none required N{})val)rr)tagnamer.r?s r_explicit_nonerNjs8'ii1 7 E 2 2 3 3 33rr5)ropenpyxl.xml.constantsropenpyxl.compatropenpyxl.xml.functionsrr$rrr r r serialisabler rrr Coordinater!r3r:r>rBrDrFrNrrrrTsz*)))))''''''******'&&&&&  66666|666   ) ) ) ) ) ) ) ) Lv aaaaa<aaa QQQQQ<QQQ ) ) ) ) ) ) ) )444444r