o
    7 ¾h/  ã                   @  s„   d Z ddlmZ ddlmZmZ G dd„ deƒZG dd„ deƒZeZG dd	„ d	eƒZ	e	Z
G d
d„ deƒZeZG dd„ deƒZeZdS )z'Enumerations used by DrawingML objects.é    )Úannotations)ÚBaseEnumÚBaseXmlEnumc                   @  s2   e Zd ZdZdZ	 dZ	 dZ	 dZ	 dZ	 dZ	dS )	ÚMSO_COLOR_TYPEa'  
    Specifies the color specification scheme

    Example::

        from pptx.enum.dml import MSO_COLOR_TYPE

        assert shape.fill.fore_color.type == MSO_COLOR_TYPE.SCHEME

    MS API Name: "MsoColorType"

    http://msdn.microsoft.com/en-us/library/office/ff864912(v=office.15).aspx
    )é   z*Color is specified by an |RGBColor| value.)é   z'Color is one of the preset theme colors)ée   z?Color is specified using Hue, Saturation, and Luminosity values)éf   z/Color is specified using a named built-in color)ég   z;Color is an scRGB color, a wide color gamut RGB color space)éh   zTColor is one specified by the operating system, such as the window background color.N)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚRGBZSCHEMEZHSLZPRESETZSCRGBZSYSTEM© r   r   úU/var/www/html/figdemos/bartoux_crm/venv/lib/python3.10/site-packages/pptx/enum/dml.pyr      s    r   c                   @  s8   e Zd ZdZdZ	 dZ	 dZ	 dZ	 dZ	 dZ		 dZ
d	S )
ÚMSO_FILL_TYPEa,  
    Specifies the type of bitmap used for the fill of a shape.

    Alias: ``MSO_FILL``

    Example::

        from pptx.enum.dml import MSO_FILL

        assert shape.fill.type == MSO_FILL.SOLID

    MS API Name: `MsoFillType`

    http://msdn.microsoft.com/EN-US/library/office/ff861408.aspx
    )é   z­The shape is transparent, such that whatever is behind the shape shows through. Often this is the slide background, but if a visible shape is behind, that will show through.)é   zShape is filled with a gradient)r   zMShape is part of a group and should inherit the fill properties of the group.)r   zShape is filled with a pattern)é   z&Shape is filled with a bitmapped image)r   z"Shape is filled with a solid color)é   zShape is filled with a textureN)r   r   r   r   Z
BACKGROUNDZGRADIENTÚGROUPZ	PATTERNEDÚPICTUREÚSOLIDZTEXTUREDr   r   r   r   r   -   s     r   c                   @  sD   e Zd ZdZdZ	 dZ	 dZ	 dZ	 dZ	 dZ		 dZ
	 d	Z	 d
ZdS )ÚMSO_LINE_DASH_STYLEa'  Specifies the dash style for a line.

    Alias: ``MSO_LINE``

    Example::

        from pptx.enum.dml import MSO_LINE

        shape.line.dash_style = MSO_LINE.DASH_DOT_DOT

    MS API name: `MsoLineDashStyle`

    https://learn.microsoft.com/en-us/office/vba/api/Office.MsoLineDashStyle
    )r   ÚdashzLine consists of dashes only.)r   ZdashDotzLine is a dash-dot pattern.)r   ZlgDashDotDotzLine is a dash-dot-dot pattern.)é   ZlgDashzLine consists of long dashes.)é   Z	lgDashDotz Line is a long dash-dot pattern.)r   ZsysDotzLine is made up of round dots.)r   ZsolidzLine is solid.)r   ZsysDashzLine is made up of square dots.)éþÿÿÿÚ zNot supported.N)r   r   r   r   ÚDASHZDASH_DOTZDASH_DOT_DOTZ	LONG_DASHZLONG_DASH_DOTZ	ROUND_DOTr   Z
SQUARE_DOTZDASH_STYLE_MIXEDr   r   r   r   r   _   s(    r   c                   @  sX  e Zd ZdZdZ	 dZ	 dZ	 dZ	 dZ	 dZ		 dZ
	 d	Z	 d
Z	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ 	 dZ!	 d Z"	 d!Z#	 d"Z$	 d#Z%	 d$Z&	 d%Z'	 d&Z(	 d'Z)	 d(Z*	 d)Z+	 d*Z,	 d+Z-	 d,Z.	 d-Z/	 d.Z0	 d/Z1	 d0Z2	 d1Z3	 d2Z4	 d3Z5	 d4Z6	 d5Z7	 d6Z8	 d7Z9	 d8Z:d9S ):ÚMSO_PATTERN_TYPEaU  Specifies the fill pattern used in a shape.

    Alias: ``MSO_PATTERN``

    Example::

        from pptx.enum.dml import MSO_PATTERN

        fill = shape.fill
        fill.patterned()
        fill.pattern = MSO_PATTERN.WAVE

    MS API Name: `MsoPatternType`

    https://learn.microsoft.com/en-us/office/vba/api/Office.MsoPatternType
    )é3   ÚcrossZCross)é   ZdkDnDiagzDark Downward Diagonal)é   ZdkHorzzDark Horizontal)é   ZdkUpDiagzDark Upward Diagonal)é   ZdkVertzDark Vertical)é   Z
dashDnDiagzDashed Downward Diagonal)é    ZdashHorzzDashed Horizontal)é   Z
dashUpDiagzDashed Upward Diagonal)é   ZdashVertzDashed Vertical)é(   Z	diagBrickzDiagonal Brick)é6   Z	diagCrosszDiagonal Cross)é.   ZdivotzPattern Divot)é   ZdotDmndzDotted Diamond)é-   ZdotGridzDotted Grid)é4   ZdnDiagzDownward Diagonal)é1   ÚhorzZ
Horizontal)é#   Z	horzBrickzHorizontal Brick)é$   ZlgCheckzLarge Checker Board)é!   Z
lgConfettizLarge Confetti)é"   ZlgGridz
Large Grid)é   ZltDnDiagzLight Downward Diagonal)é   ZltHorzzLight Horizontal)é   ZltUpDiagzLight Upward Diagonal)é   ZltVertzLight Vertical)é   ZnarHorzzNarrow Horizontal)é   ZnarVertzNarrow Vertical)é)   ZopenDmndzOutlined Diamond)r   Zpct10z10% of the foreground color.)r   Zpct20z20% of the foreground color.)r   Zpct25z25% of the foreground color.)r   Zpct30z30% of the foreground color.)r   Zpct40z40% of the foreground color.)r   Zpct5z5% of the foreground color.)r   Zpct50z50% of the foreground color.)r   Zpct60z60% of the foreground color.)é	   Zpct70z70% of the foreground color.)é
   Zpct75z75% of the foreground color.)é   Zpct80z80% of the foreground color.)é   Zpct90z90% of the foreground color.)é*   ZplaidZPlaid)é/   ZshingleZShingle)é   ZsmCheckzSmall Checker Board)é%   Z
smConfettizSmall Confetti)é   ZsmGridz
Small Grid)é'   Z	solidDmndzSolid Diamond)é+   ZsphereZSphere)é   ZtrellisZTrellis)é5   ZupDiagzUpward Diagonal)é2   ÚvertZVertical)é0   ZwaveZWave)é,   ZweaveZWeave)é   ZwdDnDiagzWide Downward Diagonal)é   ZwdUpDiagzWide Upward Diagonal)é&   ZzigZagzZig Zag)r   r    zMixed pattern (read-only).N);r   r   r   r   ÚCROSSZDARK_DOWNWARD_DIAGONALZDARK_HORIZONTALZDARK_UPWARD_DIAGONALZDARK_VERTICALZDASHED_DOWNWARD_DIAGONALZDASHED_HORIZONTALZDASHED_UPWARD_DIAGONALZDASHED_VERTICALZDIAGONAL_BRICKZDIAGONAL_CROSSZDIVOTZDOTTED_DIAMONDZDOTTED_GRIDZDOWNWARD_DIAGONALZ
HORIZONTALZHORIZONTAL_BRICKZLARGE_CHECKER_BOARDZLARGE_CONFETTIZ
LARGE_GRIDZLIGHT_DOWNWARD_DIAGONALZLIGHT_HORIZONTALZLIGHT_UPWARD_DIAGONALZLIGHT_VERTICALZNARROW_HORIZONTALZNARROW_VERTICALZOUTLINED_DIAMONDZ
PERCENT_10Z
PERCENT_20Z
PERCENT_25Z
PERCENT_30Z	ERCENT_40Z	PERCENT_5Z
PERCENT_50Z
PERCENT_60Z
PERCENT_70Z
PERCENT_75Z
PERCENT_80Z
PERCENT_90ZPLAIDZSHINGLEZSMALL_CHECKER_BOARDZSMALL_CONFETTIZ
SMALL_GRIDZSOLID_DIAMONDZSPHEREZTRELLISZUPWARD_DIAGONALZVERTICALZWAVEZWEAVEZWIDE_DOWNWARD_DIAGONALZWIDE_UPWARD_DIAGONALZZIG_ZAGÚMIXEDr   r   r   r   r"   Ž   sà    r"   c                   @  sz   e Zd ZdZdZ	 dZ	 dZ	 dZ	 dZ	 dZ		 dZ
	 d	Z	 d
Z	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZdS )ÚMSO_THEME_COLOR_INDEXa–  An Office theme color, one of those shown in the color gallery on the formatting ribbon.

    Alias: ``MSO_THEME_COLOR``

    Example::

        from pptx.enum.dml import MSO_THEME_COLOR

        shape.fill.solid()
        shape.fill.fore_color.theme_color = MSO_THEME_COLOR.ACCENT_1

    MS API Name: `MsoThemeColorIndex`

    http://msdn.microsoft.com/en-us/library/office/ff860782(v=office.15).aspx
    )r   r    z)Indicates the color is not a theme color.)r   Zaccent1z#Specifies the Accent 1 theme color.)r   Zaccent2z#Specifies the Accent 2 theme color.)r   Zaccent3z#Specifies the Accent 3 theme color.)r   Zaccent4z#Specifies the Accent 4 theme color.)r@   Zaccent5z#Specifies the Accent 5 theme color.)rA   Zaccent6z#Specifies the Accent 6 theme color.)r(   Zbg1z'Specifies the Background 1 theme color.)r'   Zbg2z'Specifies the Background 2 theme color.)r   Zdk1z!Specifies the Dark 1 theme color.)r   Zdk2z!Specifies the Dark 2 theme color.)rC   ZfolHlinkz2Specifies the theme color for a clicked hyperlink.)rB   Zhlinkz*Specifies the theme color for a hyperlink.)r   Zlt1z"Specifies the Light 1 theme color.)r   Zlt2z"Specifies the Light 2 theme color.)r&   Ztx1z!Specifies the Text 1 theme color.)r%   Ztx2z!Specifies the Text 2 theme color.)r   r    zOIndicates multiple theme colors are used, such as in a group shape (read-only).N)r   r   r   r   ZNOT_THEME_COLORZACCENT_1ZACCENT_2ZACCENT_3ZACCENT_4ZACCENT_5ZACCENT_6ZBACKGROUND_1ZBACKGROUND_2ZDARK_1ZDARK_2ZFOLLOWED_HYPERLINKÚ	HYPERLINKZLIGHT_1ZLIGHT_2ZTEXT_1ZTEXT_2rU   r   r   r   r   rV   I  sL    rV   N)r   Ú
__future__r   Úpptx.enum.baser   r   r   r   ZMSO_FILLr   ZMSO_LINEr"   ZMSO_PATTERNrV   ZMSO_THEME_COLORr   r   r   r   Ú<module>   s    %/, 9L