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

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

Mètodes

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.
 Català