styles
styles
¶
Sub-package module for docx.styles sub-package.
BabelFish
¶
Translates special-case style names from UI name (e.g. Heading 1) to internal/styles.xml name (e.g. heading 1) and back.
ui2internal
classmethod
¶
Return the internal style name corresponding to ui_style_name, such as
'heading 1' for 'Heading 1'.
internal2ui
classmethod
¶
Return the user interface style name corresponding to internal_style_name,
such as 'Heading 1' for 'heading 1'.