CorePropertiesPart

CorePropertiesPart

Overview

CorePropertiesPart is a class in Aspose.Slides FOSS for C++.

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().

This class provides 3 methods for working with CorePropertiesPart objects in Go programs. Available methods include: clear, mark_dirty, save. All exported members are accessible to any Go application after adding the package via go get github.com/aspose-pdf-foss/aspose-pdf-foss-for-go. Properties: category, content_status, content_type, created, creator, description, and 7 more.

Properties

NameTypeAccessDescription
titlestd::optional<std::string>Read/WriteGets or sets the title.
subjectstd::optional<std::string>Read/WriteGets or sets the subject.
creatorstd::optional<std::string>Read/WriteGets or sets the creator.
keywordsstd::optional<std::string>Read/WriteGets or sets the keywords.
descriptionstd::optional<std::string>Read/WriteGets or sets the description.
categorystd::optional<std::string>Read/WriteGets or sets the category.
content_statusstd::optional<std::string>Read/WriteGets or sets the content status.
content_typestd::optional<std::string>Read/WriteGets or sets the content type.
last_modified_bystd::optional<std::string>Read/WriteGets or sets the last modified by.
revisionstd::optional<std::string>Read/WriteGets or sets the revision.
createdstd::optional<TimePoint>Read/WriteGets or sets the created.
modifiedstd::optional<TimePoint>Read/WriteGets or sets the modified.
last_printedstd::optional<TimePoint>Read/WriteGets or sets the last printed.

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.

See Also