DocumentProperties

DocumentProperties

Overview

DocumentProperties is a class in Aspose.Slides FOSS for Python. Inherits from: IDocumentProperties.

Represents properties of a presentation.

This class provides 7 methods for working with DocumentProperties objects in Python programs. Available methods include: clear_built_in_properties, clear_custom_properties, contains_custom_property, get_custom_property_name, get_custom_property_value, remove_custom_property, set_custom_property_value. All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: app_version, application_template, author, category, comments, company, and 28 more.

Properties

NameTypeAccessDescription
titlestrRead/WriteReturns or sets the title of a presentation.
subjectstrRead/WriteReturns or sets the subject of a presentation.
authorstrRead/WriteReturns or sets the author of a presentation.
keywordsstrRead/WriteReturns or sets the keywords of a presentation.
commentsstrRead/WriteReturns or sets the comments of a presentation.
categorystrRead/WriteReturns or sets the category of a presentation.
content_statusstrRead/WriteReturns or sets the content status of a presentation.
content_typestrRead/WriteReturns or sets the content type of a presentation.
last_saved_bystrRead/WriteReturns or sets the name of a last person who modified a presentation.
revision_numberintRead/WriteReturns or sets the presentation revision number.
created_timeAnyRead/WriteReturns the date a presentation was created.
last_saved_timeAnyRead/WriteReturns the date a presentation was last modified.
last_printedAnyRead/WriteReturns the date when a presentation was printed last time.
app_versionstrReadReturns the app version.
name_of_applicationstrRead/WriteReturns or sets the name of the application.
companystrRead/WriteReturns or sets the company property.
managerstrRead/WriteReturns or sets the manager property.
presentation_formatstrRead/WriteReturns or sets the intended format of a presentation.
application_templatestrRead/WriteReturns or sets the template of a application.
hyperlink_basestrRead/WriteReturns or sets the HyperlinkBase document property.
total_editing_timetimedeltaRead/WriteTotal editing time of a presentation.
shared_docboolRead/WriteDetermines whether the presentation is shared between multiple people.
scale_cropboolRead/WriteIndicates the display mode of the document thumbnail.
links_up_to_dateboolRead/WriteIndicates whether hyperlinks in a document are up-to-date.
hyperlinks_changedboolRead/WriteSpecifies that one or more hyperlinks in this part were updated exclusively in this part by a producer.
slidesintReadReturns the total number of slides in a presentation document.
hidden_slidesintReadReturns the number of hidden slides in a presentation document.
notesintReadReturns the number of slides in a presentation containing notes.
paragraphsintReadReturns the total number of paragraphs found in a document if applicable.
wordsintReadReturns the total number of words contained in a document.
multimedia_clipsintReadReturns the total number of sound or video clips that are present in the document.
heading_pairslist[IHeadingPair]ReadIndicates the grouping of document parts and the number of parts in each group.
titles_of_partslist[str]ReadSpecifies the title of each document part.
count_of_custom_propertiesintReadReturns the number of custom properties actually contained in a collection.

Methods

SignatureDescription
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)strReturns the custom property name at the specified index
remove_custom_property(name)boolDeletes the custom property with the given name and returns success
contains_custom_property(name)boolChecks 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

See Also