openpyxl.styles.cell_style.
CellStyle
(
numFmtId=0
,
fontId=0
,
fillId=0
,
borderId=0
,
xfId=None
,
quotePrefix=None
,
pivotButton=None
,
applyNumberFormat=None
,
applyFont=None
,
applyFill=None
,
applyBorder=None
,
applyAlignment=None
,
applyProtection=None
,
alignment=None
,
protection=None
,
extLst=None
)
[source]
¶
alignment
¶
Values must be of type <class ‘openpyxl.styles.alignment.Alignment’>
applyAlignment
¶
applyBorder
¶
Values must be of type <class ‘bool’>
applyFill
¶
Values must be of type <class ‘bool’>
applyFont
¶
Values must be of type <class ‘bool’>
applyNumberFormat
¶
Values must be of type <class ‘bool’>
applyProtection
¶
borderId
¶
Values must be of type <class ‘int’>
extLst
¶
Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>
fillId
¶
Values must be of type <class ‘int’>
fontId
¶
Values must be of type <class ‘int’>
numFmtId
¶
Values must be of type <class ‘int’>
pivotButton
¶
Values must be of type <class ‘bool’>
protection
¶
Values must be of type <class ‘openpyxl.styles.protection.Protection’>
quotePrefix
¶
Values must be of type <class ‘bool’>
tagname
= 'xf'
¶
xfId
¶
Values must be of type <class ‘int’>
alignment
¶
A sequence (list or tuple) that may only contain objects of the declared type
count
¶
protection
¶
A sequence (list or tuple) that may only contain objects of the declared type
tagname
= 'cellXfs'
¶
xf
¶
A sequence (list or tuple) that may only contain objects of the declared type
openpyxl.styles.cell_style.
StyleArray
[source]
¶
Bases:
array.array
Simplified named tuple with an array
alignmentId
¶
borderId
¶
fillId
¶
fontId
¶
numFmtId
¶
pivotButton
¶
protectionId
¶
quotePrefix
¶
tagname
= 'xf'
¶
xfId
¶