openpyxl.packaging.custom module¶
Implementation of custom properties see § 22.3 in the specification
-
class
openpyxl.packaging.custom.BoolProperty(name, value)[source]¶ Bases:
openpyxl.packaging.custom._TypedProperty-
value¶ Values must be of type <class ‘bool’>
-
-
class
openpyxl.packaging.custom.CustomPropertyList[source]¶ Bases:
openpyxl.descriptors.Strict-
names¶ List of property names
-
props¶ A sequence (list or tuple) that may only contain objects of the declared type
-
-
class
openpyxl.packaging.custom.DateTimeProperty(name, value)[source]¶ Bases:
openpyxl.packaging.custom._TypedProperty-
value¶ Values must be of type <class ‘datetime.datetime’>
-
-
class
openpyxl.packaging.custom.FloatProperty(name, value)[source]¶ Bases:
openpyxl.packaging.custom._TypedProperty-
value¶ Values must be of type <class ‘float’>
-
-
class
openpyxl.packaging.custom.IntProperty(name, value)[source]¶ Bases:
openpyxl.packaging.custom._TypedProperty-
value¶ Values must be of type <class ‘int’>
-
-
class
openpyxl.packaging.custom.LinkProperty(name, value)[source]¶ Bases:
openpyxl.packaging.custom._TypedProperty-
value¶ Values must be of type <class ‘str’>
-
-
class
openpyxl.packaging.custom.NestedBoolText(*args, **kw)[source]¶ Bases:
openpyxl.descriptors.base.Bool,openpyxl.descriptors.nested.NestedTextDescriptor for handling nested elements with the value stored in the text part