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
| Name | Type | Access | Description |
|---|---|---|---|
DocumentProperties | DocumentProperties | Read | Gets the document properties. |
Methods
| Signature | Description |
|---|---|
DocumentProperties() → DocumentProperties | Provides access to the DocumentProperties object |
DocumentProperties() | |
title() → std::string | Returns the title of the presentation. |
set_title(value: std::string) | Sets the title of the presentation. |
subject() → std::string | Returns the subject of the presentation. |
set_subject(value: std::string) | Sets the subject of the presentation. |
author() → std::string | Returns the author of the presentation. |
set_author(value: std::string) | Sets the author of the presentation. |
keywords() → std::string | Returns the keywords of the presentation. |
set_keywords(value: std::string) | Sets the keywords of the presentation. |
comments() → std::string | Returns the comments of the presentation. |
set_comments(value: std::string) | Sets the comments of the presentation. |
category() → std::string | Returns the category of the presentation. |
set_category(value: std::string) | Sets the category of the presentation. |
content_status() → std::string | Returns the content status of the presentation. |
set_content_status(value: std::string) | Sets the content status of the presentation. |
content_type() → std::string | Returns the content type of the presentation. |
set_content_type(value: std::string) | Sets the content type of the presentation. |
last_saved_by() → std::string | Returns 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() → int | Returns 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::string | Returns the app version. Read-only. |
name_of_application() → std::string | Returns the name of the application. |
set_name_of_application(value: std::string) | Sets the name of the application. |
company() → std::string | Returns the company property. |
set_company(value: std::string) | Sets the company property. |
manager() → std::string | Returns the manager property. |
set_manager(value: std::string) | Sets the manager property. |
presentation_format() → std::string | Returns the intended format of the presentation. |
set_presentation_format(value: std::string) | Sets the intended format of the presentation. |
application_template() → std::string | Returns the template of the application. |
set_application_template(value: std::string) | Sets the template of the application. |
hyperlink_base() → std::string | Returns the HyperlinkBase document property. |
set_hyperlink_base(value: std::string) | Sets the HyperlinkBase document property. |
total_editing_time() → std::chrono::minutes | Returns total editing time of the presentation. |
set_total_editing_time(value: std::chrono::minutes) | Sets total editing time of the presentation. |
shared_doc() → bool | Determines whether the presentation is shared between multiple people. |
set_shared_doc(value: bool) | Sets whether the presentation is shared between multiple people. |
scale_crop() → bool | Indicates the display mode of the document thumbnail. |
set_scale_crop(value: bool) | Sets the display mode of the document thumbnail. |
links_up_to_date() → bool | Indicates 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() → bool | Specifies that one or more hyperlinks were updated exclusively in this part. |
set_hyperlinks_changed(value: bool) | Sets whether hyperlinks were changed. |
slides() → int | Returns the total number of slides. Read-only. |
hidden_slides() → int | Returns the number of hidden slides. Read-only. |
notes() → int | Returns the number of slides containing notes. Read-only. |
paragraphs() → int | Returns the total number of paragraphs. Read-only. |
words() → int | Returns the total number of words. Read-only. |
multimedia_clips() → int | Returns 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() → int | Returns the number of custom properties. |
get_custom_property_value(name: std::string_view, out_value: std::any) → bool | Gets 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::string | Returns the name of the custom property at the given index. |
remove_custom_property(name: std::string_view) → bool | Removes a custom property by name. Returns true if removed. |
contains_custom_property(name: std::string_view) → bool | Returns 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. |