
    MwgsD                        d dl mZ d dlmZmZmZmZmZmZm	Z	m
Z
mZ d dlmZmZ d dlmZ ddlmZ d dlmZ d dlmZ  G d	 d
e      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z  G d de      Z! G d d e      Z" G d! d"e      Z# G d# d$e      Z$ G d% d&e      Z% G d' d(e      Z& G d) d*e      Z' G d+ d,e      Z( G d- d.e      Z) G d/ d0e      Z* G d1 d2e      Z+ G d3 d4e      Z, G d5 d6e      Z- G d7 d8e      Z. G d9 d:e      Z/ G d; d<e      Z0 G d= d>e      Z1y?)@    )Serialisable)	TypedFloatIntegerBoolMinMaxSetNoneSetStringAlias)
Coordinate
Percentage)ExtensionList   )LineProperties)Color)
DRAWING_NSc                   <    e Zd ZdZeZ e       Z e       Z	 	 ddZ	y)Point2DoffNc                      || _         || _        y Nxyselfr   r   s      P/var/www/horilla/myenv/lib/python3.12/site-packages/openpyxl/drawing/geometry.py__init__zPoint2D.__init__            NN)
__name__
__module____qualname__tagnamer   	namespacer   r   r   r    r!   r   r   r      s'    GIAA r!   r   c                   ^    e Zd ZdZeZ	  e       Z ed      Z	 e       Z
 ed      Z	 	 ddZy)PositiveSize2DextcxcyNc                      || _         || _        y r   )r,   r-   )r   r,   r-   s      r   r   zPositiveSize2D.__init__5   s     r!   r"   )r#   r$   r%   r&   r   r'   r   r,   r   widthr-   heightr   r(   r!   r   r*   r*   '   s@    GI 
B$KE	B4[F r!   r*   c                       e Zd ZdZeZ ed      Z ed      Z	 ed      Z
 eed      Z eed      Z eed      Z eed      ZdZ	 	 	 	 	 	 	 ddZy)	Transform2DxfrmT
allow_noneexpected_typer5   r   r+   chOffchExtNc                 f    || _         || _        || _        || _        || _        || _        || _        y r   rotflipHflipVr   r+   r9   r:   r   r=   r>   r?   r   r+   r9   r:   s           r   r   zTransform2D.__init__L   5     



r!   )NNNNNNNr#   r$   r%   r&   r   r'   r   r=   r   r>   r?   r   r   r   r*   r+   r9   r:   __elements__r   r(   r!   r   r2   r2   =   s{    GI
T
"CD!ED!E
g$
7C
n
>CD9E4@E3L r!   r2   c                       e Zd ZdZeZ ed      Z ed      Z	 ed      Z
 eed      Z eed      Z eed      Z eed      ZdZ	 	 	 	 	 	 	 ddZy)	GroupTransform2Dr3   Tr4   r6   r8   Nc                 f    || _         || _        || _        || _        || _        || _        || _        y r   r<   r@   s           r   r   zGroupTransform2D.__init__m   rA   r!   )r   NNNNNNrB   r(   r!   r   rE   rE   ^   s{    GI
T
"CD!ED!E
g$
7C
n
>CD9E4@E3L r!   rE   c                   H    e Zd ZdZ e       Z e       Z e       Z	 	 	 ddZy)SphereCoordssphereCoordsNc                 .    || _         || _        || _        y r   )latlonrev)r   rK   rL   rM   s       r   r   zSphereCoords.__init__       
 r!   NNN)	r#   r$   r%   r&   r   rK   rL   rM   r   r(   r!   r   rH   rH      s,    G
)C
)C
)C r!   rH   c                   p    e Zd ZdZ eg d      Z ed      Z ee	d      Z
 eed      Z	 	 	 	 d	dZy)
Cameracamera)>legacyObliqueTopLeftlegacyObliqueToplegacyObliqueTopRightlegacyObliqueLeftlegacyObliqueFrontlegacyObliqueRightlegacyObliqueBottomLeftlegacyObliqueBottomlegacyObliqueBottomRightlegacyPerspectiveTopLeftlegacyPerspectiveToplegacyPerspectiveTopRightlegacyPerspectiveLeftlegacyPerspectiveFrontlegacyPerspectiveRightlegacyPerspectiveBottomLeftlegacyPerspectiveBottomlegacyPerspectiveBottomRightorthographicFrontisometricTopUpisometricTopDownisometricBottomUpisometricBottomDownisometricLeftUpisometricLeftDownisometricRightUpisometricRightDownisometricOffAxis1LeftisometricOffAxis1RightisometricOffAxis1TopisometricOffAxis2LeftisometricOffAxis2RightisometricOffAxis2TopisometricOffAxis3LeftisometricOffAxis3RightisometricOffAxis3BottomisometricOffAxis4LeftisometricOffAxis4RightisometricOffAxis4BottomobliqueTopLeft
obliqueTopobliqueTopRightobliqueLeftobliqueRightobliqueBottomLeftobliqueBottomobliqueBottomRightperspectiveFrontperspectiveLeftperspectiveRightperspectiveAboveperspectiveBelowperspectiveAboveLeftFacingperspectiveAboveRightFacing perspectiveContrastingLeftFacing!perspectiveContrastingRightFacingperspectiveHeroicLeftFacingperspectiveHeroicRightFacing"perspectiveHeroicExtremeLeftFacing#perspectiveHeroicExtremeRightFacingperspectiveRelaxedperspectiveRelaxedModeratelyvaluesTr4   r6   Nc                 <    || _         || _        || _        || _        y r   )prstfovzoomr=   )r   r   r   r   r=   s        r   r   zCamera.__init__   s      		r!   NNNN)r#   r$   r%   r&   r	   r   r   r   r   r   r   rH   r=   r   r(   r!   r   rQ   rQ      sN    G ? @D* T
"Czd;D
lt
<C 		r!   rQ   c                   ^    e Zd ZdZ eg d      Z eg d      Z eed      Z		 	 	 d	dZ
y)
LightRiglightRig)legacyFlat1legacyFlat2legacyFlat3legacyFlat4legacyNormal1legacyNormal2legacyNormal3legacyNormal4legacyHarsh1legacyHarsh2legacyHarsh3legacyHarsh4threePtbalancedsoftharshfloodcontrastingmorningsunrisesunsetchillyfreezingflattwoPtglow
brightRoomr   )tlttrlrblbbrTr6   Nc                 .    || _         || _        || _        y r   )rigdirr=   )r   r   r   r=   s       r   r   zLightRig.__init__   rN   r!   rO   )r#   r$   r%   r&   r	   r   r   r   rH   r=   r   r(   r!   r   r   r      s@    G
 F C B
DC
lt
<C r!   r   c                   H    e Zd ZdZ e       Z e       Z e       Z	 	 	 ddZy)Vector3DvectorNc                 .    || _         || _        || _        y r   )dxdydz)r   r   r   r   s       r   r   zVector3D.__init__   s    
 r!   rO   )	r#   r$   r%   r&   r   r   r   r   r   r(   r!   r   r   r      s,    G	B	B	B r!   r   c                   H    e Zd ZdZ e       Z e       Z e       Z	 	 	 ddZy)Point3DanchorNc                 .    || _         || _        || _        y r   )r   r   z)r   r   r   r   s       r   r   zPoint3D.__init__   s    
 r!   rO   )	r#   r$   r%   r&   r   r   r   r   r   r(   r!   r   r   r      s,    G	A	A	A r!   r   c                   f    e Zd Z ee      Z ee      Z ee      Z ee	d      Z
	 	 	 	 ddZy)Backdropr7   Tr6   Nc                 <    || _         || _        || _        || _        y r   )r   normupextLst)r   r   r   r   r   s        r   r   zBackdrop.__init__   s      	r!   r   )r#   r$   r%   r   r   r   r   r   r   OfficeArtExtensionListr   r   r(   r!   r   r   r      s@    +Fx*D	X	(B!7DIF 		r!   r   c                   h    e Zd Z ee      Z ee      Z eed      Z	 ee
d      Z	 	 	 	 ddZy)Scene3Dr   Tr6   Nc                 <    || _         || _        || _        || _        y r   )rR   r   backdropr   )r   rR   r   r   r   s        r   r   zScene3D.__init__  s        r!   r   )r#   r$   r%   r   rQ   rR   r   r   r   r   r   r   r   r(   r!   r   r   r   	  sB    *F8.H8=H!7DIF 		r!   r   c                   P    e Zd ZdZ e       Z e       Z eg d      Z	 	 	 ddZ	y)Bevelbevel)relaxedInsetcircleslopecrossangle	softRoundconvex	coolSlantdivotriblethardEdgeartDecor   Nc                 .    || _         || _        || _        y r   )whr   )r   r   r   r   s       r   r   zBevel.__init__(  s    
 	r!   rO   )
r#   r$   r%   r&   r   r   r   r
   r   r   r(   r!   r   r   r     s4    G	A	A(D r!   r   c                       e Zd ZeZ eed      Z ed      Z	 ed      Z
 eg d      Z eed      Z eed      Z eed      Z eed      Z eed      Z	 	 	 	 	 	 	 	 	 ddZy)	Shape3DTr6   r4   )legacyMattelegacyPlasticlegacyMetallegacyWireframematteplasticmetal	warmMattetranslucentPowderpowderdkEdgesoftEdgeclearr   	softmetalr   Nc
                     || _         || _        || _        || _        || _        || _        || _        || _        |	| _        y r   )	r   
extrusionHcontourWprstMaterialbevelTbevelBextrusionClr
contourClrr   )
r   r   r   r   r   r   r   r  r  r   s
             r   r   zShape3D.__init__D  sE     $ (($r!   )	NNNNNNNNN)r#   r$   r%   r   r'   r   r   r   r   r   r   r
   r   r   r   r   r   r  r  r   r   r   r(   r!   r   r   r   2  s    IJ48AD)J$'H #2 L
 48F48Fu>LUt<J!7DIF  "" r!   r   c                   t    e Zd Z e       Z e       Z eg d      Z ed      Z	 ed      Z
	 	 	 	 	 ddZy)Path2D)r   lightenlightenLessdarken
darkenLessr   Tr4   Nc                 J    || _         || _        || _        || _        || _        y r   )r   r   fillstrokeextrusionOk)r   r   r   r
  r  r  s         r   r   zPath2D.__init__b  s(     	&r!   )NNNNN)r#   r$   r%   r   r   r   r
   r
  r   r  r  r   r(   r!   r   r  r  Z  sE    AAUWDT"F$'K !'r!   r  c                   *    e Zd Z eed      Z	 ddZy)
Path2DListTr6   Nc                     || _         y r   )path)r   r  s     r   r   zPath2DList.__init__t  s     	r!   r   )r#   r$   r%   r   r  r  r   r(   r!   r   r  r  p  s    v$7D r!   r  c                   T    e Zd Z e       Z e       Z e       Z e       Z	 	 	 	 ddZy)GeomRectNc                 <    || _         || _        || _        || _        y r   )r   r   r   r   )r   r   r   r   r   s        r   r   zGeomRect.__init__  s      r!   r   )	r#   r$   r%   r   r   r   r   r   r   r(   r!   r   r  r  z  s1    AAAA 		r!   r  c                   4    e Zd Z e       Z e       Z	 	 ddZy)
AdjPoint2DNc                      || _         || _        y r   r   r   s      r   r   zAdjPoint2D.__init__  r    r!   r"   )r#   r$   r%   r   r   r   r   r(   r!   r   r  r    s    AA r!   r  c                   >    e Zd Z edd      Z ee      Z	 	 ddZy)ConnectionSiter   ih  )minmaxr   Nc                      || _         || _        y r   )angpos)r   r  r  s      r   r   zConnectionSite.__init__  s     r!   r"   )	r#   r$   r%   r   r  r   r  r  r   r(   r!   r   r  r    s%    
QC
 C
j
+C r!   r  c                   *    e Zd Z eed      Z	 ddZy)ConnectionSiteListTr6   Nc                     || _         y r   )cxn)r   r!  s     r   r   zConnectionSiteList.__init__       r!   r   )r#   r$   r%   r   r  r!  r   r(   r!   r   r  r    s    
n
>C r!   r  c                       e Zd Zy)AdjustHandleListN)r#   r$   r%   r(   r!   r   r$  r$    s    r!   r$  c                   4    e Zd Z e       Z e       Z	 	 ddZy)	GeomGuideNc                      || _         || _        y r   )namefmla)r   r(  r)  s      r   r   zGeomGuide.__init__  s     		r!   r"   )r#   r$   r%   r   r(  r)  r   r(   r!   r   r&  r&    s    8D8D r!   r&  c                   *    e Zd Z eed      Z	 ddZy)GeomGuideListTr6   Nc                     || _         y r   )gd)r   r-  s     r   r   zGeomGuideList.__init__  s     r!   r   )r#   r$   r%   r   r&  r-  r   r(   r!   r   r+  r+    s    	Y4	8B r!   r+  c                       e Zd Z eed      Z eed      Z eed      Z ee	d      Z
 ee      Z	 	 	 	 	 	 ddZy)CustomGeometry2DTr6   r   Nc                 X    || _         || _        || _        || _        d | _        || _        y r   )avLstgdLstahLstcxnLstrectpathLst)r   r1  r2  r3  r4  r5  r6  s          r   r   zCustomGeometry2D.__init__  s.     


	r!   )NNNNNN)r#   r$   r%   r   r+  r1  r2  r$  r3  r  r4  r  r6  r   r(   r!   r   r/  r/    sW    $?E$?E 0TBE!3EF*/G r!   r/  c                   F    e Zd ZeZ eg d      Z eed      Z		 	 ddZ
y)PresetGeometry2D)linelineInvtriangle
rtTriangler5  diamondparallelogram	trapezoidnonIsoscelesTrapezoidpentagonhexagonheptagonoctagondecagon	dodecagonstar4star5star6star7star8star10star12star16star24star32	roundRect
round1Rectround2SameRectround2DiagRectsnipRoundRect	snip1Rectsnip2SameRectsnip2DiagRectplaqueellipseteardrop	homePlatechevronpieWedgepieblockArcdonut	noSmoking
rightArrow	leftArrowupArrow	downArrowstripedRightArrownotchedRightArrowbentUpArrowleftRightArrowupDownArrowleftUpArrowleftRightUpArrow	quadArrowleftArrowCalloutrightArrowCalloutupArrowCalloutdownArrowCalloutleftRightArrowCalloutupDownArrowCalloutquadArrowCallout	bentArrow
uturnArrowcircularArrowleftCircularArrowleftRightCircularArrowcurvedRightArrowcurvedLeftArrowcurvedUpArrowcurvedDownArrowswooshArrowcubecanlightningBoltheartsunmoon
smileyFaceirregularSeal1irregularSeal2foldedCornerr   frame	halfFramecorner
diagStripechordarcleftBracketrightBracket	leftBrace
rightBracebracketPair	bracePairstraightConnector1bentConnector2bentConnector3bentConnector4bentConnector5curvedConnector2curvedConnector3curvedConnector4curvedConnector5callout1callout2callout3accentCallout1accentCallout2accentCallout3borderCallout1borderCallout2borderCallout3accentBorderCallout1accentBorderCallout2accentBorderCallout3wedgeRectCalloutwedgeRoundRectCalloutwedgeEllipseCalloutcloudCalloutcloudribbonribbon2ellipseRibbonellipseRibbon2leftRightRibbonverticalScrollhorizontalScrollwave
doubleWaveplusflowChartProcessflowChartDecisionflowChartInputOutputflowChartPredefinedProcessflowChartInternalStorageflowChartDocumentflowChartMultidocumentflowChartTerminatorflowChartPreparationflowChartManualInputflowChartManualOperationflowChartConnectorflowChartPunchedCardflowChartPunchedTapeflowChartSummingJunctionflowChartOrflowChartCollateflowChartSortflowChartExtractflowChartMergeflowChartOfflineStorageflowChartOnlineStorageflowChartMagneticTapeflowChartMagneticDiskflowChartMagneticDrumflowChartDisplayflowChartDelayflowChartAlternateProcessflowChartOffpageConnectoractionButtonBlankactionButtonHomeactionButtonHelpactionButtonInformationactionButtonForwardNextactionButtonBackPreviousactionButtonEndactionButtonBeginningactionButtonReturnactionButtonDocumentactionButtonSoundactionButtonMoviegear6gear9funnelmathPlus	mathMinusmathMultiply
mathDivide	mathEqualmathNotEqual
cornerTabs
squareTabs
plaqueTabschartX	chartStar	chartPlusr   Tr6   Nc                      || _         || _        y r   )r   r1  )r   r   r1  s      r   r   zPresetGeometry2D.__init__  s     	
r!   r"   )r#   r$   r%   r   r'   r	   r   r   r+  r1  r   r(   r!   r   r8  r8    s4    I/	I0KDb $?E r!   r8  c                   ,    e Zd Z eddg      Z	 ddZy)FontReferencemajorminorr   Nc                     || _         y r   idxr   r  s     r   r   zFontReference.__init__(  r"  r!   r   )r#   r$   r%   r
   r  r   r(   r!   r   r  r  $  s    
7G,
.C r!   r  c                   $    e Zd Z e       Z	 ddZy)StyleMatrixReferenceNc                     || _         y r   r  r  s     r   r   zStyleMatrixReference.__init__2  r"  r!   r   )r#   r$   r%   r   r  r   r(   r!   r   r  r  .  s    
)C r!   r  c                   d    e Zd Z ee      Z ee      Z ee      Z ee      Z		 	 	 	 ddZ
y)
ShapeStyler   Nc                 <    || _         || _        || _        || _        y r   )lnReffillRef	effectReffontRef)r   r  r  r  r  s        r   r   zShapeStyle.__init__?  s      
"r!   r   )r#   r$   r%   r   r  r  r  r  r  r  r   r(   r!   r   r  r  8  s@     47E"69G$8;I-2G 		r!   r  N)2!openpyxl.descriptors.serialisabler   openpyxl.descriptorsr   r   r   r   r   r	   r
   r   r   openpyxl.descriptors.excelr   r   r   r   r9  r   openpyxl.styles.colorsr   openpyxl.xml.constantsr   r   r*   r2   rE   rH   rQ   r   r   r   r   r   r   r   r  r  r  r  r  r  r$  r&  r+  r/  r8  r  r  r  r(   r!   r   <module>r
     ss   ;
 
 
 > N   ( -l  \ ,, B| B< $'\ 'T| .| $l $| &l &L ,%l %P'\ ', | &
 

\ 
 	| 	
 
L | 2<| <~L <  r!   