Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
python-docx / docs / api / enum / WdStyleType.rst
Size: Mime:
.. _WdStyleType:

``WD_STYLE_TYPE``
=================

Specifies one of the four style types: paragraph, character, list, or
table.

Example::

    from docx import Document
    from docx.enum.style import WD_STYLE_TYPE

    styles = Document().styles
    assert styles[0].type == WD_STYLE_TYPE.PARAGRAPH

----

CHARACTER
    Character style.

LIST
    List style.

PARAGRAPH
    Paragraph style.

TABLE
    Table style.