
    li/                        d Z ddlmZ ddlmZmZ  G d de      Z G d de      ZeZ G d d	e      Z	e	Z
 G d
 de      ZeZ G d de      ZeZy)z'Enumerations used by DrawingML objects.    )annotations)BaseEnumBaseXmlEnumc                  2    e Zd ZdZdZ	 dZ	 dZ	 dZ	 dZ	 dZ	y)	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     K/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/pptx/enum/dml.pyr   r      s>     <C4;F1
RCIEF9PEEF _r   r   c                  8    e Zd ZdZdZ	 dZ	 dZ	 dZ	 dZ	 dZ		 dZ
y	)
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
    )   zThe 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   -   sE     J
 6H)bEW5I(;G05E,4H(r   r   c                  D    e Zd ZdZdZ	 dZ	 dZ	 dZ	 dZ	 dZ		 dZ
	 d	Z	 d
Zy)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)   _   sR     8D'<H%IL)>I'HM*?I(*EBJ)1Ir   r)   c                  X   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:y9):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)r4   r5   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?   r?      s   " #EG 7OC3MM"=I 9O8N8N*E6N0K;+J<@9N-JI!9E5N<8O;=J&=J&=J&=J&<I&:I%=J&=J&=J&>J&>J&>J&"E(G@9N-J6M%F(G7O'HD"EG C'G2E$r   r?   c                  z    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y)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   r5   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.)r   accent5z#Specifies the Accent 5 theme color.)r   accent6z#Specifies the Accent 6 theme color.)rI   bg1z'Specifies the Background 1 theme color.)rG   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.)rE   tx1z!Specifies the Text 1 theme color.)rC   tx2z!Specifies the Text 2 theme color.)r4   r5   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  s      KO3DH-DH-DH-DH-DH-EH-IL1IL1<F+<F+_<KI4>G,>G,=F+=F+E
 Zr   r   N)r   
__future__r   pptx.enum.baser   r   r   r   MSO_FILLr)   MSO_LINEr?   MSO_PATTERNr   MSO_THEME_COLORr   r   r   <module>r     su    - " 0"_X "_J,)H ,)^ )J+ )JX u%{ u%p IZK IZX (r   