paper-xlsxAPI referencestyles.fonts
Font
paper-xlsx 0.2.1 API reference
Font options used in styles.
Font(name=None, sz=None, b=None, i=None, charset=None, u=None, strike=None, color=None, scheme=None, family=None, size=None, bold=None, italic=None, strikethrough=None, underline=None, vertAlign=None, outline=None, shadow=None, condense=None, extend=None)Attributes
UNDERLINE_DOUBLE
attributeUNDERLINE_DOUBLE= 'double'UNDERLINE_DOUBLE_ACCOUNTING
attributeUNDERLINE_DOUBLE_ACCOUNTING= 'doubleAccounting'UNDERLINE_SINGLE
attributeUNDERLINE_SINGLE= 'single'UNDERLINE_SINGLE_ACCOUNTING
attributeUNDERLINE_SINGLE_ACCOUNTING= 'singleAccounting'b
attributeb= bbold
attributebold= Alias('b')charset
attributecharset= charsetcolor
attributecolor= colorcondense
attributecondense= condenseextend
attributeextend= extendfamily
attributefamily= familyi
attributei= iidx_base
attributeidx_base= 0italic
attributeitalic= Alias('i')name
attributename= namenamespace
attributenamespace= Noneoutline
attributeoutline= outlinescheme
attributescheme= schemeshadow
attributeshadow= shadowsize
attributesize= Alias('sz')strike
attributestrike= strikestrikethrough
attributestrikethrough= Alias('strike')sz
attributesz= sztagname
attributetagname= 'font'u
attributeu= uunderline
attributeunderline= Alias('u')vertAlign
attributevertAlign= vertAlignFunctions
__iter__
func__iter__()from_tree
funcfrom_tree(node)Set default value for underline if child element is present
paramnodeto_tree
functo_tree(tagname=None, idx=None, namespace=None)paramtagname= Noneparamidx= Noneparamnamespace= None