CorePropertiesPart

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

NameTypeAccessDescription
titlestd::optional<std::string>Read/WriteHolds the optional document title metadata
subjectstd::optional<std::string>Read/Write
creatorstd::optional<std::string>Read/WriteHolds the optional name of the document creator
keywordsstd::optional<std::string>Read/WriteHolds the optional comma‑separated keywords for the document
descriptionstd::optional<std::string>Read/WriteHolds the optional document description
categorystd::optional<std::string>Read/Write
content_statusstd::optional<std::string>Read/WriteHolds the optional content status string
content_typestd::optional<std::string>Read/WriteHolds the optional content type identifier
last_modified_bystd::optional<std::string>Read/WriteHolds the optional name of the last modifier
revisionstd::optional<std::string>Read/WriteHolds the optional revision number or string
createdstd::optional<TimePoint>Read/WriteHolds the optional creation timestamp
modifiedstd::optional<TimePoint>Read/WriteHolds the optional last modification timestamp
last_printedstd::optional<TimePoint>Read/WriteHolds the optional last printed timestamp

Methods

SignatureDescription
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.