Paper Office
paper-xlsxAPI referencestyles.styleable

StyleableObject

paper-xlsx 0.2.1 API reference

Base class for styleble objects implementing proxy and lookup functions

StyleableObject(sheet, style_array=None)

Attributes

alignment

attributealignment
= StyleDescriptor('_alignments', 'alignmentId')

border

attributeborder
= StyleDescriptor('_borders', 'borderId')

fill

attributefill
= StyleDescriptor('_fills', 'fillId')

font

attributefont
= StyleDescriptor('_fonts', 'fontId')

has_style

attributehas_style

number_format

attributenumber_format
= NumberFormatDescriptor()

parent

attributeparent
= sheet

pivotButton

attributepivotButton
= StyleArrayDescriptor('pivotButton')

protection

attributeprotection
= StyleDescriptor('_protections', 'protectionId')

quotePrefix

attributequotePrefix
= StyleArrayDescriptor('quotePrefix')

style

attributestyle
= NamedStyleDescriptor()

style_id

attributestyle_id

On this page