
    ,h                          d Z ddlmZ ddlmZmZmZmZmZm	Z	  G d de      Z
 ed       G d d	e             Z ed
       G d de             Z ed       G d de             Zy)z/
Enumerations used by text and related objects
    )absolute_import   )aliasEnumeration
EnumMemberReturnValueOnlyEnumMemberXmlEnumerationXmlMappedEnumMemberc                   p    e Zd ZdZdZdZdZdZdZ e	ddd       e	d	dd
       e	ddd       e
ddd      fZy)MSO_AUTO_SIZEa  
    Determines the type of automatic sizing allowed.

    The following names can be used to specify the automatic sizing behavior
    used to fit a shape's text within the shape bounding box, for example::

        from pptx.enum.text import MSO_AUTO_SIZE

        shape.text_frame.auto_size = MSO_AUTO_SIZE.TEXT_TO_FIT_SHAPE

    The word-wrap setting of the text frame interacts with the auto-size
    setting to determine the specific auto-sizing behavior.

    Note that ``TextFrame.auto_size`` can also be set to |None|, which removes
    the auto size setting altogether. This causes the setting to be inherited,
    either from the layout placeholder, in the case of a placeholder shape, or
    from the theme.
    r   r      MsoAutoSizezIhttp://msdn.microsoft.com/en-us/library/office/ff865367(v=office.15).aspxNONEzNo automatic sizing of the shape or text will be done. Text can freely extend beyond the horizontal and vertical edges of the shape bounding box.SHAPE_TO_FIT_TEXTa  The shape height and possibly width are adjusted to fit the text. Note this setting interacts with the TextFrame.word_wrap property setting. If word wrap is turned on, only the height of the shape will be adjusted; soft line breaks will be used to fit the text horizontally.TEXT_TO_FIT_SHAPEzGThe font size is reduced as necessary to fit the text within the shape.MIXEDzPReturn value only; indicates a combination of automatic sizing schemes are used.N)__name__
__module____qualname____doc__r   r   r   __ms_name____url__r   r   __members__     P/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/pptx/enum/text.pyr   r      s    & DK 	W 
 	-	
 	=	
 	/	
 	"-	
/Kr   r   MSO_UNDERLINEc                      e Zd ZdZdZdZ edddd       edd	d
d       edddd       edddd       edddd       edddd       edddd       ed d!d"d#       ed$d%d&d'       ed(d)d*d+       ed,d-d.d/       ed0d1d2d3       ed4d5d6d7       ed8d9d:d;       ed<d=d>d?       ed@dAdBdC       edDdEdFdG       edHdIdJdK       edLdMdN      fZyO)PMSO_TEXT_UNDERLINE_TYPEa  
    Indicates the type of underline for text. Used with
    :attr:`.Font.underline` to specify the style of text underlining.

    Alias: ``MSO_UNDERLINE``

    Example::

        from pptx.enum.text import MSO_UNDERLINE

        run.font.underline = MSO_UNDERLINE.DOUBLE_LINE
    MsoTextUnderlineTypez5http://msdn.microsoft.com/en-us/library/aa432699.aspxr   r   nonezSpecifies no underline.DASH_HEAVY_LINE   	dashHeavyzSpecifies a dash underline.	DASH_LINE   dashz Specifies a dash line underline.DASH_LONG_HEAVY_LINE
   dashLongHeavyz&Specifies a long heavy line underline.DASH_LONG_LINE	   dashLongz'Specifies a dashed long line underline.DOT_DASH_HEAVY_LINE   dotDashHeavyz*Specifies a dot dash heavy line underline.DOT_DASH_LINE   dotDashz$Specifies a dot dash line underline.DOT_DOT_DASH_HEAVY_LINE   dotDotDashHeavyz.Specifies a dot dot dash heavy line underline.DOT_DOT_DASH_LINE   
dotDotDashz(Specifies a dot dot dash line underline.DOTTED_HEAVY_LINE   dottedHeavyz(Specifies a dotted heavy line underline.DOTTED_LINE   dottedz"Specifies a dotted line underline.DOUBLE_LINE   dblz"Specifies a double line underline.
HEAVY_LINE   heavyz!Specifies a heavy line underline.SINGLE_LINEr   sngz"Specifies a single line underline.WAVY_DOUBLE_LINE   wavyDblz'Specifies a wavy double line underline.WAVY_HEAVY_LINE   	wavyHeavyz&Specifies a wavy heavy line underline.	WAVY_LINE   wavyz Specifies a wavy line underline.WORDSr   wordszSpecifies underlining words.r   r   z%Specifies a mixed of underline types.N	r   r   r   r   r   r   r
   r   r   r   r   r   r    r    Q   s    )KEG 	FAv/HIq+/L	
 	KF4VW"4		
 	a-V	
 	!8		
 	R,R	
 	%<		
 	6		
 	6		
 	1h(L	
 	1e%I	
 	!W&I	
 	1e%I	
 	I/X	
 	r;0X	
 	V%G	
 	GQ1OP!'2/VWAAKr   r    
MSO_ANCHORc            	       ~    e Zd ZdZdZdZ edddd       edddd	       ed
ddd       edddd       eddd      fZy)MSO_VERTICAL_ANCHORa  
    Specifies the vertical alignment of text in a text frame. Used with the
    ``.vertical_anchor`` property of the |TextFrame| object. Note that the
    ``vertical_anchor`` property can also have the value None, indicating
    there is no directly specified vertical anchor setting and its effective
    value is inherited from its placeholder if it has one or from the theme.
    |None| may also be assigned to remove an explicitly specified vertical
    anchor setting.
    MsoVerticalAnchorz<http://msdn.microsoft.com/en-us/library/office/ff865255.aspxNzhText frame has no vertical anchor specified and inherits its value from its layout placeholder or theme.TOPr   tz Aligns text to top of text frameMIDDLErB   ctrzCenters text verticallyBOTTOMrE   bz#Aligns text to bottom of text framer   r   z?Return value only; indicates a combination of the other states.rT   r   r   r   rW   rW      ss     &KLG 	K		
 	E1c+MNHa0IJHa.ST!P	
Kr   rW   PP_ALIGNc                       e Zd ZdZdZdZ edddd       edd	d
d       edddd       edddd       edddd       edddd       edddd       ed d!d"      fZy#)$PP_PARAGRAPH_ALIGNMENTz
    Specifies the horizontal alignment for one or more paragraphs.

    Alias: ``PP_ALIGN``

    Example::

        from pptx.enum.text import PP_ALIGN

        shape.paragraphs[0].alignment = PP_ALIGN.CENTER
    PpParagraphAlignmentzIhttp://msdn.microsoft.com/en-us/library/office/ff745375(v=office.15).aspxCENTERr   r\   zCenter align
DISTRIBUTEr?   distzLEvenly distributes e.g. Japanese characters from left to right within a lineJUSTIFYrE   justzJustified, i.e. each line both begins and ends at the margin with spacing between words adjusted such that the line exactly fills the width of the paragraph.JUSTIFY_LOWr'   justLowz4Justify using a small amount of space between words.LEFTr   lzLeft alignedRIGHTrB   rzRight alignedTHAI_DISTRIBUTEr<   thaiDistzThai distributedr   r   z^Return value only; indicates multiple paragraph alignments are present in a set of paragraphs.NrT   r   r   r   ra   ra      s    
 )K 	W 
 	Ha?5		
 	D		
 	E		
 	FAsN;GQ_=-q*>PQ!;	
5 Kr   ra   N)r   
__future__r   baser   r   r   r   r	   r
   r   r    rW   ra   r   r   r   <module>rr      s    ' ;K ;| Sn S Sl |.  D z3^ 3 3r   