o
    ðäjsD  ã                   @   s,  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
„ d
eƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZ G dd„ deƒZ!G dd „ d eƒZ"G d!d"„ d"eƒZ#G d#d$„ d$eƒZ$G d%d&„ d&eƒZ%G d'd(„ d(eƒZ&G d)d*„ d*eƒZ'G d+d,„ d,eƒZ(G d-d.„ d.eƒZ)G d/d0„ d0eƒZ*G d1d2„ d2eƒZ+G d3d4„ d4eƒZ,G d5d6„ d6eƒZ-G d7d8„ d8eƒZ.G d9d:„ d:eƒZ/G d;d<„ d<eƒZ0G d=d>„ d>eƒZ1d?S )@é    )ÚSerialisable)	ÚTypedÚFloatÚIntegerÚBoolÚMinMaxÚSetÚNoneSetÚStringÚAlias)Ú
CoordinateÚ
Percentage)ÚExtensionListé   )ÚLineProperties)ÚColor)Ú
DRAWING_NSc                   @   s.   e Zd ZdZeZeƒ Zeƒ Z		ddd„Z	dS )ÚPoint2DÚoffNc                 C   ó   || _ || _d S ©N©ÚxÚy©Úselfr   r   © r   ú]/var/www/ticemtrilhas/avaliacao_env/lib/python3.10/site-packages/openpyxl/drawing/geometry.pyÚ__init__   ó   
zPoint2D.__init__©NN)
Ú__name__Ú
__module__Ú__qualname__Útagnamer   Ú	namespacer   r   r   r   r   r   r   r   r      s    þr   c                   @   s@   e Zd ZdZeZ	 eƒ ZedƒZ	eƒ Z
edƒZ		ddd„ZdS )ÚPositiveSize2DÚextÚcxÚcyNc                 C   r   r   )r(   r)   )r   r(   r)   r   r   r   r   5   r   zPositiveSize2D.__init__r    )r!   r"   r#   r$   r   r%   r   r(   r   Úwidthr)   Úheightr   r   r   r   r   r&   '   s    þr&   c                   @   s~   e Zd ZdZeZedd�Zedd�Z	edd�Z
eedd�Zeedd�Zeedd�Zeedd�ZdZ							d	dd„ZdS )
ÚTransform2DÚxfrmT©Ú
allow_none©Úexpected_typer/   ©r   r'   ÚchOffÚchExtNc                 C   ó.   || _ || _|| _|| _|| _|| _|| _d S r   ©ÚrotÚflipHÚflipVr   r'   r3   r4   ©r   r7   r8   r9   r   r'   r3   r4   r   r   r   r   L   ó   	
zTransform2D.__init__)NNNNNNN©r!   r"   r#   r$   r   r%   r   r7   r   r8   r9   r   r   r   r&   r'   r3   r4   Ú__elements__r   r   r   r   r   r,   =   ó&    


ùr,   c                   @   s~   e Zd ZdZeZedd�Zedd�Z	edd�Z
eedd�Zeedd�Zeedd�Zeedd�ZdZ							d
dd	„ZdS )ÚGroupTransform2Dr-   Tr.   r0   r2   r   Nc                 C   r5   r   r6   r:   r   r   r   r   m   r;   zGroupTransform2D.__init__)r   NNNNNNr<   r   r   r   r   r?   ^   r>   r?   c                   @   ó2   e Zd ZdZeƒ Zeƒ Zeƒ Z			ddd„ZdS )ÚSphereCoordsÚsphereCoordsNc                 C   ó   || _ || _|| _d S r   )ÚlatÚlonÚrev)r   rD   rE   rF   r   r   r   r   ‡   ó   
zSphereCoords.__init__©NNN)	r!   r"   r#   r$   r   rD   rE   rF   r   r   r   r   r   rA      ó    ýrA   c                   @   sR   e Zd ZdZeg d¢d�Zedd�Zee	dd�Z
eedd�Z				d
dd	„ZdS )Ú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©ÚvaluesTr.   r0   Nc                 C   ó   || _ || _|| _|| _d S r   )ÚprstÚfovÚzoomr7   )r   r�   rŽ   r�   r7   r   r   r   r   ¯   ó   
zCamera.__init__©NNNN)r!   r"   r#   r$   r   r�   r   rŽ   r   r   r�   rA   r7   r   r   r   r   r   rJ   ‘   s    
ürJ   c                   @   sH   e Zd ZdZeg d¢d�Zeg d¢d�Zeedd�Z				d
dd	„Z
dS )Ú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ÚbrTr0   Nc                 C   rC   r   )ÚrigÚdirr7   )r   r·   r¸   r7   r   r   r   r   È   rG   zLightRig.__init__rH   )r!   r"   r#   r$   r   r·   r¸   r   rA   r7   r   r   r   r   r   r’   »   s    ýr’   c                   @   r@   )ÚVector3DÚvectorNc                 C   rC   r   )ÚdxÚdyÚdz)r   r»   r¼   r½   r   r   r   r   Ú   rG   zVector3D.__init__rH   )	r!   r"   r#   r$   r   r»   r¼   r½   r   r   r   r   r   r¹   Ò   rI   r¹   c                   @   r@   )ÚPoint3DÚanchorNc                 C   rC   r   )r   r   Úz)r   r   r   rÀ   r   r   r   r   ì   rG   zPoint3D.__init__rH   )	r!   r"   r#   r$   r   r   r   rÀ   r   r   r   r   r   r¾   ä   rI   r¾   c                   @   sH   e Zd Zeed�Zeed�Zeed�Zee	dd�Z
				ddd„ZdS )ÚBackdrop©r1   Tr0   Nc                 C   rŒ   r   )r¿   ÚnormÚupÚextLst)r   r¿   rÃ   rÄ   rÅ   r   r   r   r   ý   r�   zBackdrop.__init__r‘   )r!   r"   r#   r   r¾   r¿   r¹   rÃ   rÄ   ÚOfficeArtExtensionListrÅ   r   r   r   r   r   rÁ   ö   s    


ürÁ   c                   @   sJ   e Zd Zeed�Zeed�Zeedd�Z	ee
dd�Z				ddd„ZdS )ÚScene3DrÂ   Tr0   Nc                 C   rŒ   r   )rK   r“   ÚbackdroprÅ   )r   rK   r“   rÈ   rÅ   r   r   r   r     r�   zScene3D.__init__r‘   )r!   r"   r#   r   rJ   rK   r’   r“   rÁ   rÈ   rÆ   rÅ   r   r   r   r   r   rÇ   	  s    

ürÇ   c                   @   s:   e Zd ZdZeƒ Zeƒ Zeg d¢d�Z			ddd„Z	dS )ÚBevelÚbevel)ÚrelaxedInsetÚcircleÚslopeÚcrossÚangleÚ	softRoundÚconvexÚ	coolSlantÚdivotÚribletÚhardEdgeÚartDecorŠ   Nc                 C   rC   r   )ÚwÚhr�   )r   r×   rØ   r�   r   r   r   r   (  rG   zBevel.__init__rH   )
r!   r"   r#   r$   r   r×   rØ   r	   r�   r   r   r   r   r   rÉ     s    ÿýrÉ   c                   @   s–   e Zd ZeZeedd�Zedd�Z	edd�Z
eg d¢d�Zeedd�Zeedd�Zeedd�Zeedd�Zeedd�Z									d	dd„ZdS )
ÚShape3DTr0   r.   )ÚlegacyMatteÚlegacyPlasticÚlegacyMetalÚlegacyWireframeÚmatteÚplasticÚmetalÚ	warmMatteÚtranslucentPowderÚpowderÚdkEdgeÚsoftEdgeÚclearr«   Ú	softmetalrŠ   Nc
           
      C   s:   || _ || _|| _|| _|| _|| _|| _|| _|	| _d S r   )	rÀ   Ú
extrusionHÚcontourWÚprstMaterialÚbevelTÚbevelBÚextrusionClrÚ
contourClrrÅ   )
r   rÀ   rè   ré   rê   rë   rì   rí   rî   rÅ   r   r   r   r   D  s   
zShape3D.__init__)	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*    

÷rÙ   c                   @   sN   e Zd Zeƒ Zeƒ Zeg d¢d�Zedd�Z	edd�Z
					ddd„ZdS )	ÚPath2D)rÃ   ÚlightenÚlightenLessÚdarkenÚ
darkenLessrŠ   Tr.   Nc                 C   s"   || _ || _|| _|| _|| _d S r   )r×   rØ   ÚfillÚstrokeÚextrusionOk)r   r×   rØ   rô   rõ   rö   r   r   r   r   b  s
   
zPath2D.__init__)NNNNN)r!   r"   r#   r   r×   rØ   r	   rô   r   rõ   rö   r   r   r   r   r   rï   Z  s    

ûrï   c                   @   ó$   e Zd Zeedd�Z	ddd„ZdS )Ú
Path2DListTr0   Nc                 C   ó
   || _ d S r   )Úpath)r   rú   r   r   r   r   t  ó   
zPath2DList.__init__r   )r!   r"   r#   r   rï   rú   r   r   r   r   r   rø   p  ó    ÿrø   c                   @   s6   e Zd Zeƒ Zeƒ Zeƒ Zeƒ Z				ddd„ZdS )ÚGeomRectNc                 C   rŒ   r   )r²   r°   r³   rµ   )r   r²   r°   r³   rµ   r   r   r   r   �  r�   zGeomRect.__init__r‘   )	r!   r"   r#   r   r²   r°   r³   rµ   r   r   r   r   r   rý   z  s    ürý   c                   @   ó&   e Zd Zeƒ Zeƒ Z		ddd„ZdS )Ú
AdjPoint2DNc                 C   r   r   r   r   r   r   r   r   ’  r   zAdjPoint2D.__init__r    )r!   r"   r#   r   r   r   r   r   r   r   r   rÿ   �  ó    þrÿ   c                   @   s0   e Zd Zeddd�Zeed�Z		ddd„ZdS )	ÚConnectionSiter   ih  )ÚminÚmaxrÂ   Nc                 C   r   r   )ÚangÚpos)r   r  r  r   r   r   r   Ÿ  r   zConnectionSite.__init__r    )	r!   r"   r#   r   r  r   rÿ   r  r   r   r   r   r   r  š  s    
þr  c                   @   r÷   )ÚConnectionSiteListTr0   Nc                 C   rù   r   )Úcxn)r   r  r   r   r   r   «  rû   zConnectionSiteList.__init__r   )r!   r"   r#   r   r  r  r   r   r   r   r   r  §  rü   r  c                   @   s   e Zd ZdS )ÚAdjustHandleListN)r!   r"   r#   r   r   r   r   r  ±  s    r  c                   @   rþ   )Ú	GeomGuideNc                 C   r   r   )ÚnameÚfmla)r   r
  r  r   r   r   r   º  r   zGeomGuide.__init__r    )r!   r"   r#   r
   r
  r  r   r   r   r   r   r	  µ  r   r	  c                   @   r÷   )ÚGeomGuideListTr0   Nc                 C   rù   r   )Úgd)r   r  r   r   r   r   Æ  rû   zGeomGuideList.__init__r   )r!   r"   r#   r   r	  r  r   r   r   r   r   r  Â  rü   r  c                   @   s\   e Zd Zeedd�Zeedd�Zeedd�Zee	dd�Z
eed�Z						ddd„ZdS )ÚCustomGeometry2DTr0   rÂ   Nc                 C   s(   || _ || _|| _|| _d | _|| _d S r   )ÚavLstÚgdLstÚahLstÚcxnLstÚrectÚpathLst)r   r  r  r  r  r  r  r   r   r   r   Õ  s   
zCustomGeometry2D.__init__)NNNNNN)r!   r"   r#   r   r  r  r  r  r  r  r  rø   r  r   r   r   r   r   r  Ì  s    
úr  c                   @   s8   e Zd ZeZeg d¢d�Zeedd�Z			ddd„Z
dS )	ÚPresetGeometry2D)»ÚlineÚlineInvÚtriangleÚ
rtTriangler  Ú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Š   Tr0   Nc                 C   r   r   )r�   r  )r   r�   r  r   r   r   r     r   zPresetGeometry2D.__init__r    )r!   r"   r#   r   r%   r   r�   r   r  r  r   r   r   r   r   r  å  s    ÿ1þr  c                   @   s&   e Zd Zeddgd�Z	ddd„ZdS )ÚFontReferenceÚmajorÚminorrŠ   Nc                 C   rù   r   ©Úidx©r   rÓ  r   r   r   r   (  rû   zFontReference.__init__r   )r!   r"   r#   r	   rÓ  r   r   r   r   r   rÏ  $  s    ÿrÏ  c                   @   s   e Zd Zeƒ Z	ddd„ZdS )ÚStyleMatrixReferenceNc                 C   rù   r   rÒ  rÔ  r   r   r   r   2  rû   zStyleMatrixReference.__init__r   )r!   r"   r#   r   rÓ  r   r   r   r   r   rÕ  .  s    ÿrÕ  c                   @   sF   e Zd Zeed�Zeed�Zeed�Zeed�Z					ddd„Z
dS )Ú
ShapeStylerÂ   Nc                 C   rŒ   r   )ÚlnRefÚfillRefÚ	effectRefÚfontRef)r   r×  rØ  rÙ  rÚ  r   r   r   r   ?  r�   zShapeStyle.__init__r‘   )r!   r"   r#   r   rÕ  r×  rØ  rÙ  rÏ  rÚ  r   r   r   r   r   rÖ  8  s    



ürÖ  N)2Ú!openpyxl.descriptors.serialisabler   Úopenpyxl.descriptorsr   r   r   r   r   r   r	   r
   r   Úopenpyxl.descriptors.excelr   r   r   rÆ   r  r   Úopenpyxl.styles.colorsr   Úopenpyxl.xml.constantsr   r   r&   r,   r?   rA   rJ   r’   r¹   r¾   rÁ   rÇ   rÉ   rÙ   rï   rø   rý   rÿ   r  r  r  r	  r  r  r  rÏ  rÕ  rÖ  r   r   r   r   Ú<module>   sD   ,!!*(


?

