Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 437 Bytes

WdStyleType.rst

File metadata and controls

29 lines (19 loc) · 437 Bytes

WD_STYLE_TYPE

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

Example:

from skelmis.docx import Document
from skelmis.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.