openpyxl.chartsheet.custom模块

class openpyxl.chartsheet.custom.CustomChartsheetView(guid=None, scale=None, state='visible', zoomToFit=None, pageMargins=None, pageSetup=None, headerFooter=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

guid
headerFooter

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

pageMargins

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

pageSetup

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

scale

值的类型必须小于class“int”>

state

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

tagname = 'customSheetView'
zoomToFit

值的类型必须小于class'bool'>

class openpyxl.chartsheet.custom.CustomChartsheetViews(customSheetView=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

customSheetView

只能包含声明类型的对象的序列(列表或元组)

tagname = 'customSheetViews'