DocumentProperties
Overview
DocumentProperties is a class in Aspose.Slides FOSS for Python.
Inherits from: IDocumentProperties.
Represents properties of a presentation.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
title | str | Read | Returns or sets the title of a presentation. |
subject | str | Read | Returns or sets the subject of a presentation. |
author | str | Read | Returns or sets the author of a presentation. |
keywords | str | Read | Returns or sets the keywords of a presentation. |
comments | str | Read | Returns or sets the comments of a presentation. |
category | str | Read | Returns or sets the category of a presentation. |
content_status | str | Read | Returns or sets the content status of a presentation. |
content_type | str | Read | Returns or sets the content type of a presentation. |
last_saved_by | str | Read | Returns or sets the name of a last person who modified a presentation. |
revision_number | int | Read | Returns or sets the presentation revision number. |
created_time | Any | Read | Returns the date a presentation was created. |
last_saved_time | Any | Read | Returns the date a presentation was last modified. |
last_printed | Any | Read | Returns the date when a presentation was printed last time. |
app_version | str | Read | Returns the app version. |
name_of_application | str | Read | Returns or sets the name of the application. |
company | str | Read | Returns or sets the company property. |
manager | str | Read | Returns or sets the manager property. |
presentation_format | str | Read | Returns or sets the intended format of a presentation. |
application_template | str | Read | Returns or sets the template of a application. |
hyperlink_base | str | Read | Returns or sets the HyperlinkBase document property. |
total_editing_time | timedelta | Read | Total editing time of a presentation. |
shared_doc | bool | Read | Determines whether the presentation is shared between multiple people. |
scale_crop | bool | Read | Indicates the display mode of the document thumbnail. |
links_up_to_date | bool | Read | Indicates whether hyperlinks in a document are up-to-date. |
hyperlinks_changed | bool | Read | Specifies that one or more hyperlinks in this part were updated exclusively in this part by a producer. |
slides | int | Read | Returns the total number of slides in a presentation document. |
hidden_slides | int | Read | Returns the number of hidden slides in a presentation document. |
notes | int | Read | Returns the number of slides in a presentation containing notes. |
paragraphs | int | Read | Returns the total number of paragraphs found in a document if applicable. |
words | int | Read | Returns the total number of words contained in a document. |
multimedia_clips | int | Read | Returns the total number of sound or video clips that are present in the document. |
heading_pairs | list[IHeadingPair] | Read | Indicates the grouping of document parts and the number of parts in each group. |
titles_of_parts | list[str] | Read | Specifies the title of each document part. |
count_of_custom_properties | int | Read | Returns the number of custom properties actually contained in a collection. |
Methods
| Signature | Description |
|---|---|
get_custom_property_value() | Get a custom property value by name. |
set_custom_property_value() | Set a custom property value by name. |
get_custom_property_name(index) → str | Returns the custom property name at the specified index |
remove_custom_property(name) → bool | Deletes the custom property with the given name and returns success |
contains_custom_property(name) → bool | Checks if a custom property with the given name exists |
clear_custom_properties() | Removes all custom properties from the document |
clear_built_in_properties() | Clears all built‑in document properties |