Skip to main content

Module cf_types

Module cf_types 

Source

Structs§

CfDataBar
Data bar decoration for a cell.
CfIcon
Icon set decoration for a cell.
CfRating
Rating decoration for a cell: show count copies of icon out of max possible.
ColorScaleThreshold
ConditionalFormatting
ConditionalFormattingView
A conditional formatting rule together with its storage index in the worksheet’s conditional_formatting vector.
ExtendedStyle
The full visual description of a cell, including any conditional formatting overlay.
IconThreshold

Enums§

CfRule
CfRuleInput
User-facing input type for creating or updating a CF rule. Mirrors CfRule but dxf-based variants carry a Dxf format instead of a dxf_id index. Non-dxf variants (ColorScale, DataBar, IconSet, IconRating) are identical to their CfRule counterparts.
Cfvo
Icon
PeriodType
TextOperator
ValueOperator

Functions§

icon_set_icons
Returns the ordered (Icon, color) pairs for a named Excel icon-set preset, ordered from lowest to highest value bucket. name is the XLSX iconSetType attribute value (e.g. "3TrafficLights2"). Returns None for unknown names.