
    h$(                        S r SSKJr  SSKrSSKJr   " S S\5      r\r " S S\R                  5      r	\	r
 " S	 S
\5      r\r " S S\5      r " S S\5      r " S S\5      r " S S\5      rg)z7Enumerations related to text in WordprocessingML files.    )annotationsN)BaseXmlEnumc                  L    \ rS rSrSrSr Sr Sr Sr Sr	 Sr
 S	r S
r SrSrg)WD_PARAGRAPH_ALIGNMENT
   zAlias: **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____firstlineno____doc__LEFTCENTERRIGHTJUSTIFY
DISTRIBUTEJUSTIFY_MED
JUSTIFY_HIJUSTIFY_LOWTHAI_JUSTIFY__static_attributes__r       @/var/www/html/env/lib/python3.13/site-packages/docx/enum/text.pyr   r   
   sb    
 'D-F*E-GJ
 RK
 ?J
 =XK;L
 9r+   r   c                  D    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rSrSrSrSrg)WD_BREAK_TYPEF   zgCorresponds to WdBreakType enumeration.

http://msdn.microsoft.com/en-us/library/office/ff195905.aspx.
r      r   r      r   r   r   r   r   r   N)r   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.   r.   F   sE    
 FDONDMr+   r.   c                      \ rS rSrSrSr Sr Sr Sr Sr	 Sr
 S	r S
r Sr Sr Sr Sr Sr Sr Sr Sr Sr SrSrg)WD_COLOR_INDEX\   zSpecifies 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.)r1   	darkGreenzGreen color.)r   magentazPink color.)r0   redz
Red color.)r   darkCyanzTeal color.)r   cyanzTurquoise color.)   darkMagentazViolet color.)r   whitezWhite color.)r   yellowzYellow color.r   N)r   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>   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                  :    \ rS rSrSrSr Sr Sr Sr Sr	 Sr
S	rg
)WD_LINE_SPACING   a?  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
   rl   zSpace-and-a-half line spacing.)r   rl   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.r   N)r   r   r   r   r    SINGLEONE_POINT_FIVEDOUBLEAT_LEASTEXACTLYMULTIPLEr*   r   r+   r,   rj   rj      sG     9F"FN(.FH
 TG
 TH3r+   rj   c                  R    \ rS rSrSrSr Sr Sr Sr Sr	 Sr
 S	r S
r Sr SrSrg)WD_TAB_ALIGNMENT   zSpecifies 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.)r0   listzList-aligned. (deprecated))e   clearzClear an inherited tab stop.)f   endzRight-aligned.  (deprecated))g   numLeft-aligned.  (deprecated))h   startr   r   N)r   r   r   r   r    r!   r"   r#   DECIMALBARLISTCLEARENDNUMSTARTr*   r   r+   r,   rw   rw      sY     (D-F*E0G
$C4D$:E&
6C&
5C%9E%r+   rw   c                  :    \ rS rSrSrSr Sr Sr Sr Sr	 Sr
S	rg
)WD_TAB_LEADER   zSpecifies 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.r   N)r   r   r   r   r    SPACESDOTSDASHESLINESHEAVY
MIDDLE_DOTr*   r   r+   r,   r   r      s9     -FD%F.E)E?J$r+   r   c                      \ rS rSrSrSr Sr Sr Sr Sr	 Sr
 S	r S
r Sr Sr Sr Sr Sr Sr Sr Sr Sr Sr SrSrg)WD_UNDERLINEi  zSpecifies 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   )r0   thickzA single thick line.)r   dashr   )r   dotDashzAlternating dots and dashes.)r   
dotDotDashz$An alternating dot-dot-dash pattern.)r1   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.r   N)r   r   r   r   r    rW   NONErp   WORDSrr   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   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_COLORrj   rw   r   r   r   r+   r,   <module>r      s    = "  &69[ 69r , DII & =[ =@ .3k .3b$&{ $&N%K %6]; ]r+   