DocumentProperties
Overview
DocumentProperties is a class in Aspose.Slides FOSS for C++.
Represents properties of a presentation.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
DocumentProperties | DocumentProperties | Read | Provides access to the DocumentProperties object |
Methods
| Signature | Description |
|---|---|
DocumentProperties() → DocumentProperties | Provides access to the DocumentProperties object |
set_title(value: std::string) | Sets the title of the presentation. |
set_subject(value: std::string) | Sets the subject of the presentation. |
set_author(value: std::string) | Sets the author of the presentation. |
set_keywords(value: std::string) | Sets the keywords of the presentation. |
set_comments(value: std::string) | Sets the comments of the presentation. |
set_category(value: std::string) | Sets the category of the presentation. |
set_content_status(value: std::string) | Sets the content status of the presentation. |
set_content_type(value: std::string) | Sets the content type of 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. |
set_name_of_application(value: std::string) | Sets the name of the application. |
set_company(value: std::string) | Sets the company property. |
set_manager(value: std::string) | Sets the manager property. |
set_presentation_format(value: std::string) | Sets the intended format of the presentation. |
set_application_template(value: std::string) | Sets the template of the application. |
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. |
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. |