Paper Office
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
= aboveAverage

bottom

attributebottom
= bottom

colorScale

attributecolorScale
= colorScale

dataBar

attributedataBar
= dataBar

dxf

attributedxf
= dxf

dxfId

attributedxfId
= dxfId

equalAverage

attributeequalAverage
= equalAverage

extLst

attributeextLst
= Typed(expected_type=ExtensionList, allow_none=True)

formula

attributeformula
= formula

iconSet

attributeiconSet
= iconSet

idx_base

attributeidx_base
= 0

namespace

attributenamespace
= None

operator

attributeoperator
= operator

percent

attributepercent
= percent

priority

attributepriority
= priority

rank

attributerank
= rank

stdDev

attributestdDev
= stdDev

stopIfTrue

attributestopIfTrue
= stopIfTrue

tagname

attributetagname
= 'cfRule'

text

attributetext
= text

timePeriod

attributetimePeriod
= timePeriod

type

attributetype
= type

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