HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/env/lib64/python3.10/site-packages/docx/enum/__pycache__/text.cpython-310.pyc
o

$we$(�@s�dZddlmZddlZddlmZGdd�de�ZeZGdd�dej�Z	e	Z
Gd	d
�d
e�ZeZGdd�de�Z
Gd
d�de�ZGdd�de�ZGdd�de�ZdS)z7Enumerations related to text in WordprocessingML files.�)�annotationsN)�BaseXmlEnumc@sDeZdZdZdZ	dZ	dZ	dZ	dZ	dZ		dZ
	d	Z	d
ZdS)�WD_PARAGRAPH_ALIGNMENTz�Alias: **WD_ALIGN_PARAGRAPH**

    Specifies paragraph justification type.

    Example::

        from docx.enum.text import WD_ALIGN_PARAGRAPH

        paragraph = document.add_paragraph()
        paragraph.alignment = WD_ALIGN_PARAGRAPH.CENTER
    )r�leftzLeft-aligned���centerzCenter-aligned.���rightzRight-aligned.)��bothzFully justified.)��
distributezGParagraph characters are distributed to fill entire width of paragraph.)��
mediumKashidaz4Justified with a medium character compression ratio.)��highKashidaz2Justified with a high character compression ratio.)��
lowKashidaz1Justified with a low character compression ratio.)�	�thaiDistributez.Justified according to Thai formatting layout.N)
�__name__�
__module__�__qualname__�__doc__�LEFT�CENTER�RIGHT�JUSTIFY�
DISTRIBUTE�JUSTIFY_MED�
JUSTIFY_HI�JUSTIFY_LOW�THAI_JUSTIFY�r%r%�G/home/arjun/projects/env/lib/python3.10/site-packages/docx/enum/text.pyr
s(rc@s<eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZdS)
�
WD_BREAK_TYPEzoCorresponds to WdBreakType enumeration.

    http://msdn.microsoft.com/en-us/library/office/ff195905.aspx.
    r�r�
�rrrr
rN)rrrr�COLUMN�LINE�LINE_CLEAR_LEFT�LINE_CLEAR_RIGHT�LINE_CLEAR_ALL�PAGE�SECTION_CONTINUOUS�SECTION_EVEN_PAGE�SECTION_NEXT_PAGE�SECTION_ODD_PAGE�
TEXT_WRAPPINGr%r%r%r&r'Fsr'c@szeZdZdZdZ	dZ	dZ	dZ	dZ	dZ		dZ
	d	Z	d
Z	dZ
	dZ	d
Z	dZ	dZ	dZ	dZ	dZ	dZdS)�WD_COLOR_INDEXz�Specifies a standard preset color to apply.

    Used for font highlighting and perhaps other applications.

    * MS API name: `WdColorIndex`
    * URL: https://msdn.microsoft.com/EN-US/library/office/ff195343.aspx
    )���Nz,Color is inherited from the style hierarchy.)r�defaultz(Automatic color. Default; usually black.)r�blackzBlack color.)r
�bluez
Blue color)r�greenzBright green color.)r�darkBluezDark blue color.)�
�darkRedzDark red color.)��
darkYellowzDark yellow color.)��	lightGrayz25% shade of gray color.)��darkGrayz50% shade of gray color.)r*�	darkGreenzGreen color.)r�magentazPink color.)r(�redz
Red color.)r)�darkCyanzTeal color.)r�cyanzTurquoise color.)��darkMagentaz
Violet color.)r�whitezWhite color.)r�yellowz
Yellow color.N)rrrr�	INHERITED�AUTO�BLACK�BLUE�BRIGHT_GREEN�	DARK_BLUE�DARK_RED�DARK_YELLOW�GRAY_25�GRAY_50�GREEN�PINK�RED�TEAL�	TURQUOISE�VIOLET�WHITE�YELLOWr%r%r%r&r6\sLr6c@�2eZdZdZdZ	dZ	dZ	dZ	dZ	dZ	dS)	�WD_LINE_SPACINGa[Specifies a line spacing format to be applied to a paragraph.

    Example::

        from docx.enum.text import WD_LINE_SPACING

        paragraph = document.add_paragraph()
        paragraph.line_spacing_rule = WD_LINE_SPACING.EXACTLY


    MS API name: `WdLineSpacing`

    URL: http://msdn.microsoft.com/en-us/library/office/ff844910.aspx
    )r�UNMAPPEDzSingle spaced (default).)rrbzSpace-and-a-half line spacing.)r
rbzDouble spaced.)r�atLeastzIMinimum line spacing is specified amount. Amount is specified separately.)r�exactzILine spacing is exactly specified amount. Amount is specified separately.)r�autozsLine spacing is specified as multiple of line heights. Changing font size will change line spacing proportionately.N)
rrrr�SINGLE�ONE_POINT_FIVE�DOUBLE�AT_LEAST�EXACTLY�MULTIPLEr%r%r%r&ra�srac@sJeZdZdZdZ	dZ	dZ	dZ	dZ	dZ		dZ
	d	Z	d
Z	dZ
dS)
�WD_TAB_ALIGNMENTz�Specifies the tab stop alignment to apply.

    MS API name: `WdTabAlignment`

    URL: https://msdn.microsoft.com/EN-US/library/office/ff195609.aspx
    )rrz
Left-aligned.rr	)r�decimalzDecimal-aligned.)r�barzBar-aligned.)r(�listzList-aligned. (deprecated))�e�clearzClear an inherited tab stop.)�f�endzRight-aligned.  (deprecated))�g�num�Left-aligned.  (deprecated))�h�startrvN)rrrrrrr�DECIMAL�BAR�LIST�CLEAR�END�NUM�STARTr%r%r%r&rl�s,rlc@r`)	�
WD_TAB_LEADERz�Specifies the character to use as the leader with formatted tabs.

    MS API name: `WdTabLeader`

    URL: https://msdn.microsoft.com/en-us/library/office/ff845050.aspx
    )r�nonezSpaces. Default.)r�dot�Dots.)r
�hyphen�Dashes.)r�
underscorez
Double lines.)r�heavyz
A heavy line.)r�	middleDotzA vertically-centered dot.N)
rrrr�SPACES�DOTS�DASHES�LINES�HEAVY�
MIDDLE_DOTr%r%r%r&r��sr�c@s�eZdZdZdZ	dZ	dZ	dZ	dZ	dZ		dZ
	d	Z	d
Z	dZ
	dZ	d
Z	dZ	dZ	dZ	dZ	dZ	dZ	dZdS)�WD_UNDERLINEz�Specifies the style of underline applied to a run of characters.

    MS API name: `WdUnderline`

    URL: http://msdn.microsoft.com/en-us/library/office/ff822388.aspx
    )r7Nz4Inherit underline setting from containing paragraph.)rr�a�No underline.

This setting overrides any inherited underline value, so can be used to remove underline from a run that inherits underlining from its containing paragraph. Note this is not the same as assigning |None| to Run.underline. |None| is a valid assignment value, but causes the run to inherit its underline value. Assigning `WD_UNDERLINE.NONE` causes underlining to be unconditionally turned off.)r�singlez�A single line.

Note that this setting is write-only in the sense that |True| (rather than `WD_UNDERLINE.SINGLE`) is returned for a run having this setting.)r
�wordsz Underline individual words only.)r�doublezA double line.)r�dottedr�)r(�thickzA single thick line.)r�dashr�)r�dotDashzAlternating dots and dashes.)r)�
dotDotDashz$An alternating dot-dot-dash pattern.)r*�wavezA single wavy line.)��dottedHeavyzHeavy dots.)��dashedHeavyz
Heavy dashes.)��dashDotHeavyz(Alternating heavy dots and heavy dashes.)��dashDotDotHeavyz*An alternating heavy dot-dot-dash pattern.)��	wavyHeavyzA heavy wavy line.)�'�dashLongzLong dashes.)�+�
wavyDoublezA double wavy line.)�7�
dashLongHeavyzLong heavy dashes.N)rrrrrN�NONErf�WORDSrh�DOTTED�THICK�DASH�DOT_DASH�DOT_DOT_DASH�WAVY�DOTTED_HEAVY�
DASH_HEAVY�DOT_DASH_HEAVY�DOT_DOT_DASH_HEAVY�
WAVY_HEAVY�	DASH_LONG�WAVY_DOUBLE�DASH_LONG_HEAVYr%r%r%r&r�sP
	r�)r�
__future__r�enum�docx.enum.baserr�WD_ALIGN_PARAGRAPH�Enumr'�WD_BREAKr6�WD_COLORrarlr�r�r%r%r%r&�<module>s9@1'