Return the user interface style name corresponding to `internal_style_name`, such as 'Heading 1' for 'heading 1'.
(cls, internal_style_name: str)
| 35 | |
| 36 | @classmethod |
| 37 | def internal2ui(cls, internal_style_name: str) -> str: |
| 38 | """Return the user interface style name corresponding to `internal_style_name`, |
| 39 | such as 'Heading 1' for 'heading 1'.""" |
| 40 | return cls.ui_style_names.get(internal_style_name, internal_style_name) |