paper-xlsxAPI referenceformatting.rule
Rule
paper-xlsx 0.2.1 API reference
Rule(type, dxfId=None, priority=0, stopIfTrue=None, aboveAverage=None, percent=None, bottom=None, operator=None, text=None, timePeriod=None, rank=None, stdDev=None, equalAverage=None, formula=(), colorScale=None, dataBar=None, iconSet=None, extLst=None, dxf=None)Attributes
aboveAverage
attributeaboveAverage= aboveAveragebottom
attributebottom= bottomcolorScale
attributecolorScale= colorScaledataBar
attributedataBar= dataBardxf
attributedxf= dxfdxfId
attributedxfId= dxfIdequalAverage
attributeequalAverage= equalAverageextLst
attributeextLst= Typed(expected_type=ExtensionList, allow_none=True)formula
attributeformula= formulaiconSet
attributeiconSet= iconSetidx_base
attributeidx_base= 0namespace
attributenamespace= Noneoperator
attributeoperator= operatorpercent
attributepercent= percentpriority
attributepriority= priorityrank
attributerank= rankstdDev
attributestdDev= stdDevstopIfTrue
attributestopIfTrue= stopIfTruetagname
attributetagname= 'cfRule'text
attributetext= texttimePeriod
attributetimePeriod= timePeriodtype
attributetype= typeFunctions
__iter__
func__iter__()from_tree
funcfrom_tree(node)Create object from XML
paramnodeto_tree
functo_tree(tagname=None, idx=None, namespace=None)paramtagname= Noneparamidx= Noneparamnamespace= None