coreprops
coreprops
¶
Core properties part, corresponds to /docProps/core.xml part in package.
CorePropertiesPart
¶
CorePropertiesPart(
partname: PackURI,
content_type: str,
element: BaseOxmlElement,
package: Package,
)
Bases: XmlPart
Corresponds to part named /docProps/core.xml.
The "core" is short for "Dublin Core" and contains document metadata relatively common across documents of all types, not just DOCX.
Source code in src/docx/opc/part.py
core_properties
property
¶
A CoreProperties object providing read/write access to the core properties contained in this core properties part.
default
classmethod
¶
default(package: OpcPackage)
Return a new CorePropertiesPart object initialized with default values for its base properties.