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
| Name | Type | Access | Description |
|---|---|---|---|
title | std::optional<std::string> | Read/Write | Gets or sets the title. |
subject | std::optional<std::string> | Read/Write | Gets or sets the subject. |
creator | std::optional<std::string> | Read/Write | Gets or sets the creator. |
keywords | std::optional<std::string> | Read/Write | Gets or sets the keywords. |
description | std::optional<std::string> | Read/Write | Gets or sets the description. |
category | std::optional<std::string> | Read/Write | Gets or sets the category. |
content_status | std::optional<std::string> | Read/Write | Gets or sets the content status. |
content_type | std::optional<std::string> | Read/Write | Gets or sets the content type. |
last_modified_by | std::optional<std::string> | Read/Write | Gets or sets the last modified by. |
revision | std::optional<std::string> | Read/Write | Gets or sets the revision. |
created | std::optional<TimePoint> | Read/Write | Gets or sets the created. |
modified | std::optional<TimePoint> | Read/Write | Gets or sets the modified. |
last_printed | std::optional<TimePoint> | Read/Write | Gets or sets the last printed. |
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. |