openpyxl.worksheet.table模块¶
- class openpyxl.worksheet.table.Table(id=1, displayName=None, ref=None, name=None, comment=None, tableType=None, headerRowCount=1, insertRow=None, insertRowShift=None, totalsRowCount=None, totalsRowShown=None, published=None, headerRowDxfId=None, dataDxfId=None, totalsRowDxfId=None, headerRowBorderDxfId=None, tableBorderDxfId=None, totalsRowBorderDxfId=None, headerRowCellStyle=None, dataCellStyle=None, totalsRowCellStyle=None, connectionId=None, autoFilter=None, sortState=None, tableColumns=(), tableStyleInfo=None, extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- autoFilter¶
值的类型必须是<class'openpyxl.worksheet.filters.autofilter'>
- comment¶
值的类型必须小于class'str'>
- connectionId¶
值的类型必须小于class“int”>
- dataCellStyle¶
值的类型必须小于class'str'>
- dataDxfId¶
值的类型必须小于class“int”>
- displayName¶
值的类型必须小于class'str'>
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- headerRowBorderDxfId¶
值的类型必须小于class“int”>
- headerRowCellStyle¶
值的类型必须小于class'str'>
- headerRowCount¶
值的类型必须小于class“int”>
- headerRowDxfId¶
值的类型必须小于class“int”>
- id¶
值的类型必须小于class“int”>
- insertRow¶
值的类型必须小于class'bool'>
- insertRowShift¶
值的类型必须小于class'bool'>
- mime_type = 'application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml'¶
- name¶
值的类型必须小于class'str'>
- property path¶
在存档中返回路径
- published¶
值的类型必须小于class'bool'>
- ref¶
- sortState¶
值的类型必须小于class“openpyxl.worksheet.filters.sortstate”>
- tableBorderDxfId¶
值的类型必须小于class“int”>
- tableColumns¶
在包含对象中包装序列
- tableStyleInfo¶
值的类型必须为<class'openpyxl.worksheet.table.tableStyleInfo'>
- tableType¶
Value must be one of {'queryTable', 'xml', 'worksheet'}
- tagname = 'table'¶
- totalsRowBorderDxfId¶
值的类型必须小于class“int”>
- totalsRowCellStyle¶
值的类型必须小于class'str'>
- totalsRowCount¶
值的类型必须小于class“int”>
- totalsRowDxfId¶
值的类型必须小于class“int”>
- totalsRowShown¶
值的类型必须小于class'bool'>
- class openpyxl.worksheet.table.TableColumn(id=None, uniqueName=None, name=None, totalsRowFunction=None, totalsRowLabel=None, queryTableFieldId=None, headerRowDxfId=None, dataDxfId=None, totalsRowDxfId=None, headerRowCellStyle=None, dataCellStyle=None, totalsRowCellStyle=None, calculatedColumnFormula=None, totalsRowFormula=None, xmlColumnPr=None, extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- calculatedColumnFormula¶
值的类型必须小于class“openpyxl.worksheet.table.tableformula”>
- dataCellStyle¶
值的类型必须小于class'str'>
- dataDxfId¶
值的类型必须小于class“int”>
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- headerRowCellStyle¶
值的类型必须小于class'str'>
- headerRowDxfId¶
值的类型必须小于class“int”>
- id¶
值的类型必须小于class“int”>
- name¶
值的类型必须小于class'str'>
- queryTableFieldId¶
值的类型必须小于class“int”>
- tagname = 'tableColumn'¶
- totalsRowCellStyle¶
值的类型必须小于class'str'>
- totalsRowDxfId¶
值的类型必须小于class“int”>
- totalsRowFormula¶
值的类型必须小于class“openpyxl.worksheet.table.tableformula”>
- totalsRowFunction¶
Value must be one of {'custom', 'max', 'average', 'stdDev', 'var', 'count', 'min', 'sum', 'countNums'}
- totalsRowLabel¶
值的类型必须小于class'str'>
- uniqueName¶
值的类型必须小于class'str'>
- xmlColumnPr¶
值的类型必须小于class“openpyxl.worksheet.table.xmlcolumnProps”>
- class openpyxl.worksheet.table.TableFormula(array=None, attr_text=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- array¶
值的类型必须小于class'bool'>
- attr_text¶
- tagname = 'tableFormula'¶
- text¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- class openpyxl.worksheet.table.TableNameDescriptor(*args, **kw)[源代码]¶
基类:
openpyxl.descriptors.base.String
表名中不能有空格
- class openpyxl.worksheet.table.TablePartList(count=None, tablePart=())[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- property count¶
- tablePart¶
只能包含声明类型的对象的序列(列表或元组)
- tagname = 'tableParts'¶
- class openpyxl.worksheet.table.TableStyleInfo(name=None, showFirstColumn=None, showLastColumn=None, showRowStripes=None, showColumnStripes=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- name¶
值的类型必须小于class'str'>
- showColumnStripes¶
值的类型必须小于class'bool'>
- showFirstColumn¶
值的类型必须小于class'bool'>
- showLastColumn¶
值的类型必须小于class'bool'>
- showRowStripes¶
值的类型必须小于class'bool'>
- tagname = 'tableStyleInfo'¶
- class openpyxl.worksheet.table.XMLColumnProps(mapId=None, xpath=None, denormalized=None, xmlDataType=None, extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- denormalized¶
值的类型必须小于class'bool'>
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- mapId¶
值的类型必须小于class“int”>
- tagname = 'xmlColumnPr'¶
- xmlDataType¶
值的类型必须小于class'str'>
- xpath¶
值的类型必须小于class'str'>