CorePropertiesPart
Overview
CorePropertiesPart is a class in Aspose.Slides for CPP.
Inherits from: CorePropertiesPart.
Parse/serialize docProps/core.xml (Dublin Core metadata). Reads core properties from the OPC package on construction, exposes them as public fields, and can serialize them back via save().
Properties
| Name | Type | Access | Description |
|---|---|---|---|
title | std::optional<std::string> | Read/Write | Holds the optional document title metadata |
subject | std::optional<std::string> | Read/Write | |
creator | std::optional<std::string> | Read/Write | Holds the optional name of the document creator |
keywords | std::optional<std::string> | Read/Write | Holds the optional comma‑separated keywords for the document |
description | std::optional<std::string> | Read/Write | Holds the optional document description |
category | std::optional<std::string> | Read/Write | |
content_status | std::optional<std::string> | Read/Write | Holds the optional content status string |
content_type | std::optional<std::string> | Read/Write | Holds the optional content type identifier |
last_modified_by | std::optional<std::string> | Read/Write | Holds the optional name of the last modifier |
revision | std::optional<std::string> | Read/Write | Holds the optional revision number or string |
created | std::optional<TimePoint> | Read/Write | Holds the optional creation timestamp |
modified | std::optional<TimePoint> | Read/Write | Holds the optional last modification timestamp |
last_printed | std::optional<TimePoint> | Read/Write | Holds the optional last printed timestamp |
Methods
| Signature | Description |
|---|---|
mark_dirty() | Mark the part as dirty so save() will regenerate the XML. |
save() | Parse/serialize docProps/core.xml (Dublin Core metadata). Reads core properties from the OPC package on construction, |
clear() | Reset all properties to empty/null state and mark dirty. |