ContentTypesManager

General

ContentTypesManager és un enum a Aspose.Slides per Python.

Gestiona el fitxer [Content_Types].xml en un paquet OPC.

Valors

ValueDescription
PART_NAMERepresents the name of the content types XML part ‘[Content_Types].xml’

Mètodes

SignatureDescription
__init__(package: OpcPackage)Initialize the content types manager.
add_override(part_name: str, content_type: str)Add a content type override for a specific part.
remove_override(part_name: str)boolRemove a content type override for a specific part.
get_content_type(part_name: str)Optional[str]Get the content type for a specific part.
save()Save the content types back to the package.
 Català