Return the internal style name corresponding to `ui_style_name`, such as 'heading 1' for 'Heading 1'.
(cls, ui_style_name: str)
| 29 | |
| 30 | @classmethod |
| 31 | def ui2internal(cls, ui_style_name: str) -> str: |
| 32 | """Return the internal style name corresponding to `ui_style_name`, such as |
| 33 | 'heading 1' for 'Heading 1'.""" |
| 34 | return cls.internal_style_names.get(ui_style_name, ui_style_name) |
| 35 | |
| 36 | @classmethod |
| 37 | def internal2ui(cls, internal_style_name: str) -> str: |
no test coverage detected