Paper Office
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.alignments

borders

attributeborders
= borders

cellStyleXfs

attributecellStyleXfs
= cellStyleXfs

cellStyles

attributecellStyles
= cellStyles

cellXfs

attributecellXfs
= cellXfs

cell_styles

attributecell_styles
= self.cellXfs._to_array()

colors

attributecolors
= colors

custom_formats

attributecustom_formats

dxfs

attributedxfs
= dxfs

extLst

attributeextLst
= Typed(expected_type=ExtensionList, allow_none=True)

fills

attributefills
= fills

fonts

attributefonts
= fonts

idx_base

attributeidx_base
= 0

named_styles

attributenamed_styles
= self._merge_named_styles()

namespace

attributenamespace
= None

numFmts

attributenumFmts
= numFmts

number_formats

attributenumber_formats
= IndexedList()

protections

attributeprotections
= self.cellXfs.prots

tableStyles

attributetableStyles
= tableStyles

tagname

attributetagname
= 'styleSheet'

Functions

__iter__

func__iter__()

from_tree

funcfrom_tree(node)
paramnode

to_tree

functo_tree(tagname=None, idx=None, namespace=None)
paramtagname
= None
paramidx
= None
paramnamespace
= None

On this page