hyb
2026-01-30 44480e71b27aa9d4cb8441f50c873f1b110e9691
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Ë
dñúhRã óè—dZddlmZddlmZddlmZddlmZddlm    Z    m
Z
m Z m Z m Z mZddlmZddlmZmZmZd    d
lmZGd „d ee«ZGd „de«ZGd„de«ZGd„de«ZGd„de«ZGd„de«ZGd„de«ZGd„de«ZGd„de«ZGd„de«Z eded ed!ed"ed#e d$iZ!e!jE«Dcic]\}}||“Œ
c}}Z#Gd%„d&e«Z$y'cc}}w)(uDImplementation of custom properties see Â§ 22.3 in the specificationé)Úwarn)ÚStrict)Ú Serialisable)ÚSequence)ÚAliasÚStringÚIntegerÚFloatÚDateTimeÚBool)Ú
NestedText)Ú CUSTPROPS_NSÚ    VTYPES_NSÚ CPROPS_FMTIDé)ÚNestedDateTimecó—eZdZdZy)ÚNestedBoolTextzX
    Descriptor for handling nested elements with the value stored in the text part
    N)Ú__name__Ú
__module__Ú __qualname__Ú__doc__©óúLH:\Change_password\venv_build\Lib\site-packages\openpyxl/packaging/custom.pyrr s „ñð    rrcóú‡—eZdZdZdZdZed¬«Zee    de
¬«Z ee de
¬«Z eede
¬«Zede
¬«Zeede
¬«Zee    d¬«Ze«Ze«Zdd    edfd
„Zed „«Zd ˆfd „    ZˆxZS)Ú_CustomDocumentPropertyz–
    Low-level representation of a Custom Document Property.
    Not used directly
    Must always contain a child element, even if this is empty
    ÚpropertyNT©Ú
allow_none)Ú expected_typer Ú    namespace)r r")r!r rc óô—||_||_||_d|_||_|j «D]\}}t |||«t |d|«Œ!|jD]}||vsŒt ||d«Œy)NÚ_typ)ÚfmtidÚpidÚnamer$Ú
linkTargetÚitemsÚsetattrÚ __elements__)    Úselfr'r&r%r(ÚkwÚkÚvÚes             rÚ__init__z _CustomDocumentProperty.__init__=s‚€ð ˆŒ
؈ŒØˆŒ    ØˆŒ    Ø$ˆŒà—H‘H“Jò    %‰DˆAˆqÜ D˜!˜QÔ Ü D˜& !Õ $ð    %ð×"Ñ"ò    'ˆAؘŠ{ܘ˜a Õ&ñ    'rcó—|j |jS|jD]}t||«€Œ|cS|jyy)Nr()r$r+Úgetattrr()r,Úas  rÚtypez_CustomDocumentProperty.typeQsQ€à 9‰9Ð  Ø—9‘9Ð Ø×"Ñ"ò    ˆAܐt˜QÓÑ+Ø’ð    ð ?‰?Ð &Øð 'rc󈕗t||jd«}|€t||jd«t‰|ddd¬«S)NÚ)ÚtagnameÚidxr")r3r$r*ÚsuperÚto_tree)r,r8r9r"ÚchildÚ    __class__s     €rr;z_CustomDocumentProperty.to_tree\s?ø€Ü˜˜dŸi™i¨Ó.ˆØ ˆ=Ü D˜$Ÿ)™) RÔ (ä‰w‰ t°ÀˆÓFÐFr©NNN)rrrrr8r$rr'r ÚstrrÚlpwstrÚintÚi4ÚfloatÚr8rÚfiletimerÚboolr(r%r    r&rr1rr5r;Ú __classcell__©r=s@rrr(s¯ø„ñð €GØ €Dá ˜TÔ "€DÙ  c°dÀiÔ P€FÙ     #°$À)Ô    L€BÙ     %°DÀIÔ    N€BÙ¨¸ÔC€HÙ ¨¸ÈÔ S€DÙ c°dÔ;€JÙ ‹H€EÙ
‹)€CðØØ#Ø ó    'ð(ñ óð ÷GñGrrcóZ‡—eZdZdZdZeee¬«Ze    d«Z
dd„Z d„Z d    ˆfd„    Z ˆxZS)
Ú_CustomDocumentPropertyListzG
    Parses and seriliases property lists but is not used directly
    Ú
Properties)r!r"rcó—||_y©N©r)r,rs  rr1z$_CustomDocumentPropertyList.__init__ps    €Ø ˆ rcó,—t|j«SrM)Úlenr©r,s rÚ__len__z#_CustomDocumentPropertyList.__len__ts€Ü4—=‘=Ó!Ð!rcó •—t|jd«D] \}}||_Œt‰||||«}|j dt «|S)NéÚxmlns)Ú    enumeraterr&r:r;Úsetr)r,r8r9r"ÚpÚtreer=s      €rr;z#_CustomDocumentPropertyList.to_treexsMø€Ü § ¡ ¨qÓ1ò    ‰FˆCØˆAEð    ä‰w‰˜w¨¨YÓ7ˆØ ‰œ,Ô'àˆ r)rr>)rrrrr8rrrrrÚ customPropsr1rRr;rGrHs@rrJrJds:ø„ñð€GáÐ&=ÈÔV€HÙ˜
Ó#€Kó!ò"÷ñrrJcó,—eZdZe«Zd„Zd„Zd„Zy)Ú_TypedPropertycó —||_||_yrM©r'Úvalue)r,r'r_s   rr1z_TypedProperty.__init__…s€ðˆŒ    Øˆ
rcój—|j|jk(xr|j|jk(SrMr^)r,Úothers  rÚ__eq__z_TypedProperty.__eq__Œs'€Øy‰y˜EŸJ™JÑ&ÒD¨4¯:©:¸¿¹Ñ+DÐDrcóf—|jj›d|j›d|j›S)Nz, name=z, value=)r=rr'r_rQs rÚ__repr__z_TypedProperty.__repr__s,€Ø—.‘.×)Ñ)Ð*¨'°$·)±)°¸HÀTÇZÁZÀLÐQÐQrN)rrrrr'r1rbrdrrrr\r\s„á ‹8€DòòEóRrr\có—eZdZe«Zy)Ú IntPropertyN)rrrr    r_rrrrfrf”s    „á ‹IErrfcó—eZdZe«Zy)Ú FloatPropertyN)rrrr
r_rrrrhrh™s    „á ‹GErrhcó—eZdZed¬«Zy)ÚStringPropertyTrN©rrrrr_rrrrjrjžs „á ˜dÔ #Errjcó—eZdZe«Zy)ÚDateTimePropertyN)rrrr r_rrrrmrm£s    „á ‹JErrmcó—eZdZe«Zy)Ú BoolPropertyN)rrrr r_rrrroro¨s    „á ‹FErrocó—eZdZe«Zy)Ú LinkPropertyNrkrrrrqrq­s    „á ‹HErrqr@rBrDrErFr(cón—eZdZee¬«Zd„Zed„«Zd„Z    d„Z
d„Z e d„«Z d„Zd    „Zd
„Zd „Zy ) ÚCustomPropertyList)r!có—g|_yrM)ÚpropsrQs rr1zCustomPropertyList.__init__Äs    €Øˆ
rcóŽ—tj|«}g}|jD]}|j}tj |d«}|st d|j›«Œ@t||«}|j}|t}|j}||j|¬«}    |j|    «Œ’|«}
||
_ |
S)z0
        Create list from OOXML element
        NzUnknown type for r^) rJÚ    from_treerr5Ú XML_MAPPINGÚgetrr'r3r(rqÚappendru) ÚclsrYÚ    prop_listruÚpropÚattrÚtypr_ÚlinkÚnew_propÚ new_prop_lists            rrwzCustomPropertyList.from_treeÈs½€ô
0×9Ñ9¸$Ó?ˆ    Øˆà×&Ñ&ò    #ˆDØ—9‘9ˆDä—/‘/ $¨Ó-ˆCÙÜÐ(¨¯©¨ Ð4Ô5ØÜ˜D $Ó'ˆEØ—?‘?ˆDØÐÜ"ØŸ™á §    ¡    °Ô7ˆHØ L‰L˜Õ "ð    #ñ ›ˆ Ø#ˆ ÔØÐrcóœ—|j|jvrtd|j›d«‚|jj    |«y)NúProperty with name z already exists)r'ÚnamesÚ
ValueErrorrurz)r,r}s  rrzzCustomPropertyList.appendås=€Ø 9‰9˜Ÿ
™
Ñ "ÜÐ2°4·9±9°+¸_ÐMÓNÐ Nà 
‰
×ј$ÕrcóP—g}|jD]z}tj|jd«}|s t    d«‚t dd|j i||ji¤Ž}t|t«rd|_
|j|«Œ|t|¬«}|j«S)NzUnknown adapter for {p}r'r@rNr)ruÚ CLASS_MAPPINGryr=Ú    TypeErrorrr'r_Ú
isinstancerqr$rzrJr;)r,rurXr~Únpr|s      rr;zCustomPropertyList.to_treeìs•€Øˆà—‘ò    ˆAÜ ×$Ñ$ Q§[¡[°$Ó7ˆDÙÜР9Ó:Ð:Ü(ÑG¨a¯f©fÐG¸¸a¿g¹g¸ÑGˆBܘ!œ\Ô*Ø"”à L‰L˜Õ ð    ô0¸Ô?ˆ    Ø× Ñ Ó"Ð"rcó,—t|j«SrM)rPrurQs rrRzCustomPropertyList.__len__ýs€Ü4—:‘:‹ÐrcóT—|jDcgc]}|j‘Œc}Scc}w)zList of property names)rur')r,rXs  rr…zCustomPropertyList.namess €ð!%§
¡
Ö+˜1—“Ò+Ð+ùÒ+s%cóh—|jD]}|j|k(sŒ|cStd|›d«‚)z&
        Get property by name
        r„ú
 not found)rur'ÚKeyError)r,r'rXs   rÚ __getitem__zCustomPropertyList.__getitem__s>€ð—‘ò    ˆA؏v‰v˜‹~Ø’ð    ôÐ,¨T¨F°*Ð=Ó>Ð>rcó²—t|j«D]1\}}|j|k(sŒ|jj|«yt    d|›d«‚)z*
        Delete a propery by name
        Nr„r)rVrur'Úpopr)r,r'r9rXs    rÚ __delitem__zCustomPropertyList.__delitem__sU€ô  §
¡
Ó+ò    ‰FˆCØv‰v˜‹~Ø—
‘
—‘˜sÔ#Ùð    ôÐ,¨T¨F°*Ð=Ó>Ð>rcóL—|jj›d|j›S)Nz  containing )r=rrurQs rrdzCustomPropertyList.__repr__s"€Ø—.‘.×)Ñ)Ð*¨,°t·z±z°lÐCÐCrcó,—t|j«SrM)ÚiterrurQs rÚ__iter__zCustomPropertyList.__iter__ s€ÜD—J‘JÓÐrN)rrrrr\rur1Ú classmethodrwrzr;rRrr…r‘r”rdr˜rrrrsrs¿s_„ñ  >Ô 2€Eòðñóðò8 ò#ò"ðñ,óð,ò
?ò?òDó rrsN)%rÚwarningsrÚopenpyxl.descriptorsrÚ!openpyxl.descriptors.serialisablerÚopenpyxl.descriptors.sequencerrrr    r
r r Úopenpyxl.descriptors.nestedr Úopenpyxl.xml.constantsrrrÚcorerrrrJr\rfrhrjrmrorqrˆr)rxrs)r.r/s00rú<module>r¡sðñKõå'Ý:Ý2÷÷õ÷ñõ !ô    T˜:ô    ô9G˜lô9Gôx ,ôô:RVôRô&.ôô
Nôô
$^ô$ô
~ôô
>ôô
>ôðHؐؐ4ؐjؐ&ؐ,ð € ð,×1Ñ1Ó3×4‘sq˜ˆq‰sÓ4€ ôb ˜õb ùó5sà C.