CorePropertiesPart

CorePropertiesPart

概述

CorePropertiesPart 是 C++ 的 FOSS 中的 Aspose.Slides 类.

解析/串行 docProps/core.xml (都柏林核心元数据). 从构建上的OPC包中读取核心属性,将其暴露为公共字段,并可以通过保存重新序列化它们.

本类提供了3种方法,用于在C++程序中使用CorePropertiesPart对象. 有的方法包括: clear, mark_dirty, save. 在安装了Aspose.Slides FOSS for C++ 包后,所有公众成员都可以访问任何C ++应用程序. 特性: category, content_status, content_type, created, creator, description,另外7个.

属性

名称:类型Access描述情况
titlestd::optional<std::string>阅读/写作获取或设置标题。.
subjectstd::optional<std::string>阅读/写作获取或设置主题。.
creatorstd::optional<std::string>阅读/写作获取或设置创建者。.
keywordsstd::optional<std::string>阅读/写作获取或设置关键字。.
descriptionstd::optional<std::string>阅读/写作获取或设置描述。.
categorystd::optional<std::string>阅读/写作获取或设置类别。.
content_statusstd::optional<std::string>阅读/写作获取或设置内容状态。.
content_typestd::optional<std::string>阅读/写作获取或设置内容类型。.
last_modified_bystd::optional<std::string>阅读/写作获取或设置最后修改者。.
revisionstd::optional<std::string>阅读/写作获取或设置修订。.
createdstd::optional<TimePoint>阅读/写作获取或设置已创建的。.
modifiedstd::optional<TimePoint>阅读/写作获取或设置已修改的。.
last_printedstd::optional<TimePoint>阅读/写作获取或设置最后打印的内容。.

方法

Signature描述情况
mark_dirty()标记该部分为"污",所以save (),将再生XML.
save()解析/串行 docProps/core.xml (都柏林核心元数据). 从构建的OPC包中读取核心属性,
clear()将所有属性重新设置为空/零状态,并标记"污".

查看更多

 中文