Paper Office
paper-xlsxAPI referencestyles.alignment

Alignment

paper-xlsx 0.2.1 API reference

Alignment options for use in styles.

Alignment(horizontal=None, vertical=None, textRotation=0, wrapText=None, shrinkToFit=None, indent=0, relativeIndent=0, justifyLastLine=None, readingOrder=0, text_rotation=None, wrap_text=None, shrink_to_fit=None, mergeCell=None)

Attributes

horizontal

attributehorizontal
= horizontal

idx_base

attributeidx_base
= 0

indent

attributeindent
= indent

justifyLastLine

attributejustifyLastLine
= justifyLastLine

namespace

attributenamespace
= None

readingOrder

attributereadingOrder
= readingOrder

relativeIndent

attributerelativeIndent
= relativeIndent

shrinkToFit

attributeshrinkToFit
= shrinkToFit

shrink_to_fit

attributeshrink_to_fit
= Alias('shrinkToFit')

tagname

attributetagname
= 'alignment'

textRotation

attributetextRotation
= NoneSet(values=(range(181)))

text_rotation

attributetext_rotation
= Alias('textRotation')

vertical

attributevertical
= vertical

wrapText

attributewrapText
= wrapText

wrap_text

attributewrap_text
= Alias('wrapText')

Functions

__iter__

func__iter__()

from_tree

funcfrom_tree(node)

Create object from XML

paramnode

to_tree

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

On this page