o
    	Ð'fW	  ã                   @   sP   d Z ddlmZ G dd„ deƒZeZG dd„ deƒZeZG dd„ deƒZeZd	S )
zDEnumerations related to the main document in WordprocessingML files.é   )ÚBaseXmlEnumc                   @   s    e Zd ZdZdZ	 dZ	 dZdS )ÚWD_HEADER_FOOTER_INDEXa)  Alias: **WD_HEADER_FOOTER**

    Specifies one of the three possible header/footer definitions for a section.

    For internal use only; not part of the python-docx API.

    MS API name: `WdHeaderFooterIndex`
    URL: https://docs.microsoft.com/en-us/office/vba/api/word.wdheaderfooterindex
    )r   Údefaultz.Header for odd pages or all if no even header.)é   Úfirstz!Header for first page of section.)é   Úevenz-Header for even pages of recto/verso section.N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚPRIMARYÚ
FIRST_PAGEÚ	EVEN_PAGE© r   r   úI/home/ubuntu/flask/venv/lib/python3.10/site-packages/docx/enum/section.pyr      s    
r   c                   @   s   e Zd ZdZdZ	 dZdS )ÚWD_ORIENTATIONaG  Alias: **WD_ORIENT**

    Specifies the page layout orientation.

    Example::

        from docx.enum.section import WD_ORIENT

        section = document.sections[-1] section.orientation = WD_ORIENT.LANDSCAPE

    MS API name: `WdOrientation`
    MS API URL: http://msdn.microsoft.com/en-us/library/office/ff837902.aspx
    )é    ÚportraitzPortrait orientation.)r   Ú	landscapezLandscape orientation.N)r	   r
   r   r   ÚPORTRAITÚ	LANDSCAPEr   r   r   r   r      s    r   c                   @   s,   e Zd ZdZdZ	 dZ	 dZ	 dZ	 dZdS )ÚWD_SECTION_STARTaN  Alias: **WD_SECTION**

    Specifies the start type of a section break.

    Example::

        from docx.enum.section import WD_SECTION

        section = document.sections[0] section.start_type = WD_SECTION.NEW_PAGE

    MS API name: `WdSectionStart`
    MS API URL: http://msdn.microsoft.com/en-us/library/office/ff840975.aspx
    )r   Ú
continuouszContinuous section break.)r   Ú
nextColumnzNew column section break.)r   ÚnextPagezNew page section break.)r   ÚevenPagezEven pages section break.)é   ÚoddPagez Section begins on next odd page.N)	r	   r
   r   r   Ú
CONTINUOUSÚ
NEW_COLUMNÚNEW_PAGEr   ÚODD_PAGEr   r   r   r   r   7   s    r   N)	r   Úbaser   r   ÚWD_HEADER_FOOTERr   Ú	WD_ORIENTr   Ú
WD_SECTIONr   r   r   r   Ú<module>   s    