openpyxl.styles.named_styles module
- class openpyxl.styles.named_styles.NamedStyle(name='Normal', font=None, fill=None, border=None, alignment=None, number_format=None, protection=None, builtinId=None, hidden=False, xfId=None)[source]
Bases:
Serialisable
Named and editable styles
- alignment
Values must be of type <class ‘openpyxl.styles.alignment.Alignment’>
- border
Values must be of type <class ‘openpyxl.styles.borders.Border’>
- builtinId
Values must be of type <class ‘int’>
- fill
Values must be of type <class ‘openpyxl.styles.fills.Fill’>
- font
Values must be of type <class ‘openpyxl.styles.fonts.Font’>
Values must be of type <class ‘bool’>
- name
Values must be of type <class ‘str’>
- number_format
Values must be of type <class ‘str’>
- protection
Values must be of type <class ‘openpyxl.styles.protection.Protection’>
- xfId
Values must be of type <class ‘int’>