Paper Office
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
= alignment

applyAlignment

attributeapplyAlignment

applyBorder

attributeapplyBorder
= applyBorder

applyFill

attributeapplyFill
= applyFill

applyFont

attributeapplyFont
= applyFont

applyNumberFormat

attributeapplyNumberFormat
= applyNumberFormat

applyProtection

attributeapplyProtection

borderId

attributeborderId
= borderId

extLst

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

fillId

attributefillId
= fillId

fontId

attributefontId
= fontId

idx_base

attributeidx_base
= 0

namespace

attributenamespace
= None

numFmtId

attributenumFmtId
= numFmtId

pivotButton

attributepivotButton
= pivotButton

protection

attributeprotection
= protection

quotePrefix

attributequotePrefix
= quotePrefix

tagname

attributetagname
= 'xf'

xfId

attributexfId
= xfId

Functions

__iter__

func__iter__()

from_array

funcfrom_array(style)

Convert from StyleArray

paramstyle

from_tree

funcfrom_tree(node)

Create object from XML

paramnode

to_array

functo_array()

Convert to StyleArray

to_tree

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

On this page