fastpyxl.styles.cell_style module

class fastpyxl.styles.cell_style.ArrayDescriptor(key)[source]

Bases: object

class fastpyxl.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]

Bases: Serialisable

alignment: Alignment | None
property applyAlignment
property applyProtection
borderId: int | None
extLst: ExtensionList | None
fillId: int | None
fontId: int | None
classmethod from_array(style)[source]

Convert from StyleArray

numFmtId: int | None
pivotButton: bool | None
protection: Protection | None
quotePrefix: bool | None
tagname = 'xf'
to_array()[source]

Convert to StyleArray

xfId: int | None
xml_order = ('alignment', 'protection')
class fastpyxl.styles.cell_style.CellStyleList(count=None, xf=())[source]

Bases: Serialisable

property count
tagname = 'cellXfs'
xf: list[CellStyle]
class fastpyxl.styles.cell_style.StyleArray(args=[0, 0, 0, 0, 0, 0, 0, 0, 0])[source]

Bases: array

Simplified named tuple with an array

alignmentId
borderId
fillId
fontId
numFmtId
pivotButton
protectionId
quotePrefix
tagname = 'xf'
xfId