
    ,h$(                        d Z ddlmZ ddlZddlmZ  G d de      ZeZ G d dej                        Z	e	Z
 G d	 d
e      ZeZ G d de      Z G d de      Z G d de      Z G d de      Zy)z7Enumerations related to text in WordprocessingML files.    )annotationsN)BaseXmlEnumc                  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)WD_PARAGRAPH_ALIGNMENTzAlias: **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   centerzCenter-aligned.   rightzRight-aligned.)   bothzFully 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     P/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/docx/enum/text.pyr   r   
   sb    
 'D-F*E-GJ
 RK
 ?J
 =XK;L
 9r(   r   c                  <    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y)WD_BREAK_TYPEzoCorresponds to WdBreakType enumeration.

    http://msdn.microsoft.com/en-us/library/office/ff195905.aspx.
    r      r   
      r   r   r   r   r   N)r   r   r   r   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+   F   sE    
 FDONDMr(   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)WD_COLOR_INDEXzSpecifies 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   greenzBright green color.)r   darkBluezDark blue color.)   darkRedzDark red color.)   
darkYellowzDark yellow color.)   	lightGrayz25% shade of gray color.)   darkGrayz50% shade of gray color.)r.   	darkGreenzGreen color.)r   magentazPink color.)r,   redz
Red color.)r-   darkCyanzTeal color.)r   cyanzTurquoise color.)   darkMagentazViolet color.)r   whitezWhite color.)r   yellowzYellow color.N)r   r   r   r   	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;   r;   \   s     KI6ED2(E$D6L3I1H:K;G":G"-E(D
"C*D/I1F(E+Fr(   r;   c                  2    e Zd ZdZdZ	 dZ	 dZ	 dZ	 dZ	 dZ	y)	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   UNMAPPEDzSingle spaced (default).)r	   rg   zSpace-and-a-half line spacing.)r   rg   zDouble 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)
r   r   r   r   SINGLEONE_POINT_FIVEDOUBLEAT_LEASTEXACTLYMULTIPLEr'   r(   r)   rf   rf      sG     9F"FN(.FH
 TG
 TH3r(   rf   c                  J    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y)WD_TAB_ALIGNMENTzSpecifies the tab stop alignment to apply.

    MS API name: `WdTabAlignment`

    URL: https://msdn.microsoft.com/EN-US/library/office/ff195609.aspx
    )r   r   zLeft-aligned.r   r   )r   decimalzDecimal-aligned.)r   barzBar-aligned.)r,   listzList-aligned. (deprecated))e   clearzClear an inherited tab stop.)f   endzRight-aligned.  (deprecated))g   numLeft-aligned.  (deprecated))h   startr|   N)r   r   r   r   r   r   r    DECIMALBARLISTCLEARENDNUMSTARTr'   r(   r)   rr   rr      sY     (D-F*E0G
$C4D$:E&
6C&
5C%9E%r(   rr   c                  2    e Zd ZdZdZ	 dZ	 dZ	 dZ	 dZ	 dZ	y)	WD_TAB_LEADERzSpecifies 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   nonezSpaces. Default.)r	   dotDots.)r   hyphenDashes.)r   
underscorezDouble lines.)r   heavyzA heavy line.)r   	middleDotzA vertically-centered dot.N)
r   r   r   r   SPACESDOTSDASHESLINESHEAVY
MIDDLE_DOTr'   r(   r)   r   r      s9     -FD%F.E)E?J$r(   r   c                      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y)WD_UNDERLINEzSpecifies 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
    )r<   Nz4Inherit underline setting from containing paragraph.)r   r   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	   singlezA 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   doublezA double line.)r   dottedr   )r,   thickzA single thick line.)r   dashr   )r   dotDashzAlternating dots and dashes.)r-   
dotDotDashz$An alternating dot-dot-dash pattern.)r.   wavezA single wavy line.)   dottedHeavyzHeavy dots.)   dashedHeavyzHeavy dashes.)   dashDotHeavyz(Alternating heavy dots and heavy dashes.)   dashDotDotHeavyz*An alternating heavy dot-dot-dash pattern.)   	wavyHeavyzA heavy wavy line.)'   dashLongzLong dashes.)+   
wavyDoublezA double wavy line.)7   dashLongHeavyzLong heavy dashes.N)r   r   r   r   rS   NONErk   WORDSrm   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     s     SI>	DF =E*,F#F0E!D=H&ML..D5L5JUN2
 58J0I;KAOr(   r   )r   
__future__r   enumdocx.enum.baser   r   WD_ALIGN_PARAGRAPHEnumr+   WD_BREAKr;   WD_COLORrf   rr   r   r   r'   r(   r)   <module>r      s    = "  &69[ 69r , DII & =[ =@ .3k .3b$&{ $&N%K %6]; ]r(   