paper-xlsxAPI referencestyles.cell_style
CellStyle
paper-xlsx 0.2.1 API reference
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)Attributes
alignment
attributealignment= alignmentapplyAlignment
attributeapplyAlignmentapplyBorder
attributeapplyBorder= applyBorderapplyFill
attributeapplyFill= applyFillapplyFont
attributeapplyFont= applyFontapplyNumberFormat
attributeapplyNumberFormat= applyNumberFormatapplyProtection
attributeapplyProtectionborderId
attributeborderId= borderIdextLst
attributeextLst= Typed(expected_type=ExtensionList, allow_none=True)fillId
attributefillId= fillIdfontId
attributefontId= fontIdidx_base
attributeidx_base= 0namespace
attributenamespace= NonenumFmtId
attributenumFmtId= numFmtIdpivotButton
attributepivotButton= pivotButtonprotection
attributeprotection= protectionquotePrefix
attributequotePrefix= quotePrefixtagname
attributetagname= 'xf'xfId
attributexfId= xfIdFunctions
__iter__
func__iter__()from_array
funcfrom_array(style)Convert from StyleArray
paramstylefrom_tree
funcfrom_tree(node)Create object from XML
paramnodeto_array
functo_array()Convert to StyleArray
to_tree
functo_tree(tagname=None, idx=None, namespace=None)paramtagname= Noneparamidx= Noneparamnamespace= None