openpyxl.descriptors.excel模块

class openpyxl.descriptors.excel.Base64Binary(name=None, **kw)[源代码]

基类:openpyxl.descriptors.base.MatchPattern

pattern = '^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$'
class openpyxl.descriptors.excel.CellRange(name=None, **kw)[源代码]

基类:openpyxl.descriptors.base.MatchPattern

allow_none = True
pattern = '^[$]?([A-Za-z]{1,3})[$]?(\\d+)(:[$]?([A-Za-z]{1,3})[$]?(\\d+)?)?$|^[A-Za-z]{1,3}:[A-Za-z]{1,3}$'
class openpyxl.descriptors.excel.Extension(uri=None)[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

uri

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

class openpyxl.descriptors.excel.ExtensionList(ext=())[源代码]

基类:openpyxl.descriptors.serialisable.Serialisable

ext

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

class openpyxl.descriptors.excel.Guid(name=None, **kw)[源代码]

基类:openpyxl.descriptors.base.MatchPattern

pattern = '{[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\\}'
class openpyxl.descriptors.excel.HexBinary(name=None, **kw)[源代码]

基类:openpyxl.descriptors.base.MatchPattern

pattern = '[0-9a-fA-F]+$'
class openpyxl.descriptors.excel.Percentage(**kw)[源代码]

基类:openpyxl.descriptors.base.MinMax

max = 1000000
min = -1000000
pattern = '((100)|([0-9][0-9]?))(\\.[0-9][0-9]?)?%'
class openpyxl.descriptors.excel.Relation(*args, **kw)[源代码]

基类:openpyxl.descriptors.base.String

allow_none = True
namespace = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships'
class openpyxl.descriptors.excel.TextPoint(**kw)[源代码]

基类:openpyxl.descriptors.base.MinMax

大小以百分之几为单位。理论上,可以使用其他测量单位,但这些单位是无边界的。

expected_type

builtins.int 的别名

max = 400000
min = -400000
class openpyxl.descriptors.excel.UniversalMeasure(name=None, **kw)[源代码]

基类:openpyxl.descriptors.base.MatchPattern

pattern = '[0-9]+(\\.[0-9]+)?(mm|cm|in|pt|pc|pi)'