openpyxl.formatting.formatting模块¶
- class openpyxl.formatting.formatting.ConditionalFormatting(sqref=(), pivot=None, cfRule=(), extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- cells¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- cfRule¶
只能包含声明类型的对象的序列(列表或元组)
- pivot¶
值的类型必须小于class'bool'>
- rules¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- sqref¶
值的类型必须是<class'openpyxl.worksheet.cell_range.multicellrange'>
- tagname = 'conditionalFormatting'¶