openpyxl.workbook.web module¶
- class openpyxl.workbook.web.WebPublishObject(id=None, divId=None, sourceObject=None, destinationFile=None, title=None, autoRepublish=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- autoRepublish¶
Values must be of type <class ‘bool’>
- destinationFile¶
Values must be of type <class ‘str’>
- divId¶
Values must be of type <class ‘str’>
- id¶
Values must be of type <class ‘int’>
- sourceObject¶
Values must be of type <class ‘str’>
- tagname = 'webPublishingObject'¶
- title¶
Values must be of type <class ‘str’>
- class openpyxl.workbook.web.WebPublishObjectList(count=None, webPublishObject=())[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- property count¶
- tagname = 'webPublishingObjects'¶
- webPublishObject¶
A sequence (list or tuple) that may only contain objects of the declared type
- class openpyxl.workbook.web.WebPublishing(css=None, thicket=None, longFileNames=None, vml=None, allowPng=None, targetScreenSize='800x600', dpi=None, codePage=None, characterSet=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- allowPng¶
Values must be of type <class ‘bool’>
- characterSet¶
Values must be of type <class ‘str’>
- codePage¶
Values must be of type <class ‘int’>
- css¶
Values must be of type <class ‘bool’>
- dpi¶
Values must be of type <class ‘int’>
- longFileNames¶
Values must be of type <class ‘bool’>
- tagname = 'webPublishing'¶
- targetScreenSize¶
Value must be one of {‘640x480’, ‘1280x1024’, ‘1920x1200’, ‘800x600’, ‘1800x1440’, ‘544x376’, ‘1152x882’, ‘1152x900’, ‘1600x1200’, ‘1024x768’, ‘720x512’}
- thicket¶
Values must be of type <class ‘bool’>
- vml¶
Values must be of type <class ‘bool’>