paper-xlsxAPI referencestyles.stylesheet
Stylesheet
paper-xlsx 0.2.1 API reference
Stylesheet(numFmts=None, fonts=(), fills=(), borders=(), cellStyleXfs=None, cellXfs=None, cellStyles=None, dxfs=(), tableStyles=None, colors=None, extLst=None)Attributes
alignments
attributealignments= self.cellXfs.alignmentsborders
attributeborders= borderscellStyleXfs
attributecellStyleXfs= cellStyleXfscellStyles
attributecellStyles= cellStylescellXfs
attributecellXfs= cellXfscell_styles
attributecell_styles= self.cellXfs._to_array()colors
attributecolors= colorscustom_formats
attributecustom_formatsdxfs
attributedxfs= dxfsextLst
attributeextLst= Typed(expected_type=ExtensionList, allow_none=True)fills
attributefills= fillsfonts
attributefonts= fontsidx_base
attributeidx_base= 0named_styles
attributenamed_styles= self._merge_named_styles()namespace
attributenamespace= NonenumFmts
attributenumFmts= numFmtsnumber_formats
attributenumber_formats= IndexedList()protections
attributeprotections= self.cellXfs.protstableStyles
attributetableStyles= tableStylestagname
attributetagname= 'styleSheet'Functions
__iter__
func__iter__()from_tree
funcfrom_tree(node)paramnodeto_tree
functo_tree(tagname=None, idx=None, namespace=None)paramtagname= Noneparamidx= Noneparamnamespace= None