openpyxl.chartsheet.chartsheet模块

class openpyxl.chartsheet.chartsheet.Chartsheet(sheetPr=None, sheetViews=None, sheetProtection=None, customSheetViews=None, pageMargins=None, pageSetup=None, headerFooter=None, drawing=None, drawingHF=None, picture=None, webPublishItems=None, extLst=None, parent=None, title='', sheet_state='visible')[源代码]

基类:openpyxl.workbook.child._WorkbookChild, openpyxl.descriptors.serialisable.Serialisable

HeaderFooter

在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。

add_chart(chart)[源代码]
customSheetViews

值的类型必须小于class“openpyxl.chartsheet.custom.customChartsheetView”>

drawing

值的类型必须小于class“openpyxl.worksheet.drawing.drawing”>

drawingHF

值的类型必须小于class“openpyxl.chartsheet.relation.drawinghf”>

extLst

值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>

headerFooter

值的类型必须为<class'openpyxl.worksheet.header_footer.header footer'>

mime_type = 'application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml'
pageMargins

值的类型必须小于class“openpyxl.worksheet.page.pagemargins”>

pageSetup

值的类型必须小于class“openpyxl.worksheet.page.printpagesetup”>

picture

值的类型必须小于class“openpyxl.chartsheet.relation.sheetbackgroundpicture”>

sheetPr

值的类型必须小于class“openpyxl.chartsheet.properties.chartsheet properties”>

sheetProtection

值的类型必须小于class“openpyxl.chartsheet.protection.chartsheet protection”>

sheetViews

值的类型必须小于class“openpyxl.chartsheet.views.chartsheetviewlist”>

sheet_state

Value must be one of {'hidden', 'veryHidden', 'visible'}

tagname = 'chartsheet'
to_tree()[源代码]
webPublishItems

值的类型必须小于class“openpyxl.chartsheet.publish.webpublisheitems”>