o
    ãŽj/  ã                   @  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__ÚRGBÚSCHEMEÚHSLÚPRESETÚSCRGBÚSYSTEM© r   r   úM/home/air/Certificate/back/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   Ú
BACKGROUNDÚGRADIENTÚGROUPÚ	PATTERNEDÚPICTUREÚSOLIDÚ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   ÚdashDotzLine is a dash-dot pattern.)r   ÚlgDashDotDotzLine is a dash-dot-dot pattern.)é   ÚlgDashzLine consists of long dashes.)é   Ú	lgDashDotz Line is a long dash-dot pattern.)r   ÚsysDotzLine is made up of round dots.)r   ÚsolidzLine is solid.)r   ÚsysDashzLine is made up of square dots.)éþÿÿÿÚ zNot supported.N)r   r   r   r   ÚDASHÚDASH_DOTÚDASH_DOT_DOTÚ	LONG_DASHÚLONG_DASH_DOTÚ	ROUND_DOTr"   Ú
SQUARE_DOTÚ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   ÚcrossÚCross)é   ÚdkDnDiagzDark Downward Diagonal)é   ÚdkHorzzDark Horizontal)é   ÚdkUpDiagzDark Upward Diagonal)é   ÚdkVertzDark Vertical)é   Ú
dashDnDiagzDashed Downward Diagonal)é    ÚdashHorzzDashed Horizontal)é   Ú
dashUpDiagzDashed Upward Diagonal)é   ÚdashVertzDashed Vertical)é(   Ú	diagBrickzDiagonal Brick)é6   Ú	diagCrosszDiagonal Cross)é.   ÚdivotzPattern Divot)é   ÚdotDmndzDotted Diamond)é-   ÚdotGridzDotted Grid)é4   ÚdnDiagzDownward Diagonal)é1   ÚhorzÚ
Horizontal)é#   Ú	horzBrickzHorizontal Brick)é$   ÚlgCheckzLarge Checker Board)é!   Ú
lgConfettizLarge Confetti)é"   ÚlgGridz
Large Grid)é   ÚltDnDiagzLight Downward Diagonal)é   ÚltHorzzLight Horizontal)é   ÚltUpDiagzLight Upward Diagonal)é   ÚltVertzLight Vertical)é   ÚnarHorzzNarrow Horizontal)é   ÚnarVertzNarrow Vertical)é)   ÚopenDmndzOutlined Diamond)r   Úpct10z10% of the foreground color.)r   Úpct20z20% of the foreground color.)r   Úpct25z25% of the foreground color.)r   Úpct30z30% of the foreground color.)r   Úpct40z40% of the foreground color.)r   Úpct5z5% of the foreground color.)r(   Úpct50z50% of the foreground color.)r*   Úpct60z60% of the foreground color.)é	   Úpct70z70% of the foreground color.)é
   Úpct75z75% of the foreground color.)é   Úpct80z80% of the foreground color.)é   Úpct90z90% of the foreground color.)é*   ÚplaidÚPlaid)é/   ÚshingleÚShingle)é   ÚsmCheckzSmall Checker Board)é%   Ú
smConfettizSmall Confetti)é   ÚsmGridz
Small Grid)é'   Ú	solidDmndzSolid Diamond)é+   ÚsphereÚSphere)é   ÚtrellisÚTrellis)é5   ÚupDiagzUpward Diagonal)é2   ÚvertÚVertical)é0   ÚwaveÚWave)é,   ÚweaveÚWeave)é   ÚwdDnDiagzWide Downward Diagonal)é   ÚwdUpDiagzWide Upward Diagonal)é&   ÚzigZagzZig Zag)r/   r0   zMixed pattern (read-only).N);r   r   r   r   ÚCROSSÚDARK_DOWNWARD_DIAGONALÚDARK_HORIZONTALÚDARK_UPWARD_DIAGONALÚDARK_VERTICALÚDASHED_DOWNWARD_DIAGONALÚDASHED_HORIZONTALÚDASHED_UPWARD_DIAGONALÚDASHED_VERTICALÚDIAGONAL_BRICKÚDIAGONAL_CROSSÚDIVOTÚDOTTED_DIAMONDÚDOTTED_GRIDÚDOWNWARD_DIAGONALÚ
HORIZONTALÚHORIZONTAL_BRICKÚLARGE_CHECKER_BOARDÚLARGE_CONFETTIÚ
LARGE_GRIDÚLIGHT_DOWNWARD_DIAGONALÚLIGHT_HORIZONTALÚLIGHT_UPWARD_DIAGONALÚLIGHT_VERTICALÚNARROW_HORIZONTALÚNARROW_VERTICALÚOUTLINED_DIAMONDÚ
PERCENT_10Ú
PERCENT_20Ú
PERCENT_25Ú
PERCENT_30Ú	ERCENT_40Ú	PERCENT_5Ú
PERCENT_50Ú
PERCENT_60Ú
PERCENT_70Ú
PERCENT_75Ú
PERCENT_80Ú
PERCENT_90ÚPLAIDÚSHINGLEÚSMALL_CHECKER_BOARDÚSMALL_CONFETTIÚ
SMALL_GRIDÚSOLID_DIAMONDÚSPHEREÚTRELLISÚUPWARD_DIAGONALÚVERTICALÚWAVEÚWEAVEÚWIDE_DOWNWARD_DIAGONALÚWIDE_UPWARD_DIAGONALÚZIG_ZAGÚMIXEDr   r   r   r   r9   Ž   sà    r9   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   r0   z)Indicates the color is not a theme color.)r   Úaccent1z#Specifies the Accent 1 theme color.)r   Úaccent2z#Specifies the Accent 2 theme color.)r(   Úaccent3z#Specifies the Accent 3 theme color.)r*   Úaccent4z#Specifies the Accent 4 theme color.)rz   Úaccent5z#Specifies the Accent 5 theme color.)r|   Úaccent6z#Specifies the Accent 6 theme color.)rC   Úbg1z'Specifies the Background 1 theme color.)rA   Úbg2z'Specifies the Background 2 theme color.)r   Údk1z!Specifies the Dark 1 theme color.)r   Údk2z!Specifies the Dark 2 theme color.)r€   ÚfolHlinkz2Specifies the theme color for a clicked hyperlink.)r~   Úhlinkz*Specifies the theme color for a hyperlink.)r   Últ1z"Specifies the Light 1 theme color.)r   Últ2z"Specifies the Light 2 theme color.)r?   Útx1z!Specifies the Text 1 theme color.)r=   Útx2z!Specifies the Text 2 theme color.)r/   r0   zOIndicates multiple theme colors are used, such as in a group shape (read-only).N)r   r   r   r   ÚNOT_THEME_COLORÚACCENT_1ÚACCENT_2ÚACCENT_3ÚACCENT_4ÚACCENT_5ÚACCENT_6ÚBACKGROUND_1ÚBACKGROUND_2ÚDARK_1ÚDARK_2ÚFOLLOWED_HYPERLINKÚ	HYPERLINKÚLIGHT_1ÚLIGHT_2ÚTEXT_1ÚTEXT_2rÝ   r   r   r   r   rÞ   I  sL    rÞ   N)r   Ú
__future__r   Úpptx.enum.baser   r   r   r   ÚMSO_FILLr$   ÚMSO_LINEr9   ÚMSO_PATTERNrÞ   ÚMSO_THEME_COLORr   r   r   r   Ú<module>   s    %/, 9L