Paper Office
paper-xlsxAPI referencecell.text

InlineFont

paper-xlsx 0.2.1 API reference

Font for inline text because, yes what you need are different objects with the same elements but different constraints.

InlineFont(rFont=None, charset=None, family=None, b=None, i=None, strike=None, outline=None, shadow=None, condense=None, extend=None, color=None, sz=None, u=None, vertAlign=None, scheme=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
= b

bold

attributebold
= Alias('b')

charset

attributecharset
= charset

color

attributecolor
= color

condense

attributecondense
= condense

extend

attributeextend
= extend

family

attributefamily
= family

i

attributei
= i

idx_base

attributeidx_base
= 0

italic

attributeitalic
= Alias('i')

name

attributename
= name

namespace

attributenamespace
= None

outline

attributeoutline
= outline

rFont

attributerFont
= rFont

scheme

attributescheme
= scheme

shadow

attributeshadow
= shadow

size

attributesize
= Alias('sz')

strike

attributestrike
= strike

strikethrough

attributestrikethrough
= Alias('strike')

sz

attributesz
= sz

tagname

attributetagname
= 'RPrElt'

u

attributeu
= u

underline

attributeunderline
= Alias('u')

vertAlign

attributevertAlign
= vertAlign

Functions

__iter__

func__iter__()

from_tree

funcfrom_tree(node)

Set default value for underline if child element is present

paramnode

to_tree

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

On this page