CorePropertiesPart
General
CorePropertiesPart és una classe en Aspose.Slides FOSS per a C++.
Parse/serialitzar docProps/core.xml (metadades de Dublin Core). Llegeix propietats centrals del paquet OPC sobre la construcció, els exposa com a camps públics i pot serialitzar-los via save ((() “.
Propietats
| 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 |
Mètodes
| 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. |