DocumentProperties

DocumentProperties

Overview

DocumentProperties is a class in Aspose.Slides FOSS for C++.

Represents properties of a presentation.

This class provides 67 methods for working with DocumentProperties objects in C++ programs. Available methods include: DocumentProperties, app_version, application_template, author, category, clear_built_in_properties, clear_custom_properties, comments, company, contains_custom_property, content_status, content_type, and 54 additional methods. All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package. Properties: DocumentProperties.

Properties

NameTypeAccessDescription
DocumentPropertiesDocumentPropertiesReadGets the document properties.

Methods

SignatureDescription
DocumentProperties()DocumentPropertiesProvides access to the DocumentProperties object
DocumentProperties()
title()std::stringReturns the title of the presentation.
set_title(value: std::string)Sets the title of the presentation.
subject()std::stringReturns the subject of the presentation.
set_subject(value: std::string)Sets the subject of the presentation.
author()std::stringReturns the author of the presentation.
set_author(value: std::string)Sets the author of the presentation.
keywords()std::stringReturns the keywords of the presentation.
set_keywords(value: std::string)Sets the keywords of the presentation.
comments()std::stringReturns the comments of the presentation.
set_comments(value: std::string)Sets the comments of the presentation.
category()std::stringReturns the category of the presentation.
set_category(value: std::string)Sets the category of the presentation.
content_status()std::stringReturns the content status of the presentation.
set_content_status(value: std::string)Sets the content status of the presentation.
content_type()std::stringReturns the content type of the presentation.
set_content_type(value: std::string)Sets the content type of the presentation.
last_saved_by()std::stringReturns the name of the last person who modified the presentation.
set_last_saved_by(value: std::string)Sets the name of the last person who modified the presentation.
revision_number()intReturns the presentation revision number.
set_revision_number(value: int)Sets the presentation revision number.
created_time()std::optional<std::chrono::system_clock::time_point>Returns the date the presentation was created. Values are in UTC.
set_created_time(value: std::optional<std::chrono::system_clock::time_point>)Sets the date the presentation was created.
last_saved_time()std::optional<std::chrono::system_clock::time_point>Returns the date the presentation was last modified. Values are in UTC.
set_last_saved_time(value: std::optional<std::chrono::system_clock::time_point>)Sets the date the presentation was last modified.
last_printed()std::optional<std::chrono::system_clock::time_point>Returns the date the presentation was last printed.
set_last_printed(value: std::optional<std::chrono::system_clock::time_point>)Sets the date the presentation was last printed.
app_version()std::stringReturns the app version. Read-only.
name_of_application()std::stringReturns the name of the application.
set_name_of_application(value: std::string)Sets the name of the application.
company()std::stringReturns the company property.
set_company(value: std::string)Sets the company property.
manager()std::stringReturns the manager property.
set_manager(value: std::string)Sets the manager property.
presentation_format()std::stringReturns the intended format of the presentation.
set_presentation_format(value: std::string)Sets the intended format of the presentation.
application_template()std::stringReturns the template of the application.
set_application_template(value: std::string)Sets the template of the application.
hyperlink_base()std::stringReturns the HyperlinkBase document property.
set_hyperlink_base(value: std::string)Sets the HyperlinkBase document property.
total_editing_time()std::chrono::minutesReturns total editing time of the presentation.
set_total_editing_time(value: std::chrono::minutes)Sets total editing time of the presentation.
shared_doc()boolDetermines whether the presentation is shared between multiple people.
set_shared_doc(value: bool)Sets whether the presentation is shared between multiple people.
scale_crop()boolIndicates the display mode of the document thumbnail.
set_scale_crop(value: bool)Sets the display mode of the document thumbnail.
links_up_to_date()boolIndicates whether hyperlinks in the document are up-to-date.
set_links_up_to_date(value: bool)Sets whether hyperlinks in the document are up-to-date.
hyperlinks_changed()boolSpecifies that one or more hyperlinks were updated exclusively in this part.
set_hyperlinks_changed(value: bool)Sets whether hyperlinks were changed.
slides()intReturns the total number of slides. Read-only.
hidden_slides()intReturns the number of hidden slides. Read-only.
notes()intReturns the number of slides containing notes. Read-only.
paragraphs()intReturns the total number of paragraphs. Read-only.
words()intReturns the total number of words. Read-only.
multimedia_clips()intReturns the total number of multimedia clips. Read-only.
heading_pairs()std::vector<HeadingPair>Returns the heading pairs indicating grouping of document parts. Read-only.
titles_of_parts()std::vector<std::string>Returns the titles of document parts. Read-only.
count_of_custom_properties()intReturns the number of custom properties.
get_custom_property_value(name: std::string_view, out_value: std::any)boolGets a custom property value by name. Returns the value via out parameter. Returns true if the property exists, false otherwise.
set_custom_property_value(name: std::string_view, value: std::any)Sets a custom property value by name.
get_custom_property_name(index: int)std::stringReturns the name of the custom property at the given index.
remove_custom_property(name: std::string_view)boolRemoves a custom property by name. Returns true if removed.
contains_custom_property(name: std::string_view)boolReturns whether a custom property with the given name exists.
clear_custom_properties()Removes all custom properties.
clear_built_in_properties()Clears all built-in properties, resetting them to defaults.

See Also