CorePropertiesPart
개요
CorePropertiesPart은(는) Aspose.Slides FOSS for C++의 클래스입니다.
docProps/core.xml (Dublin Core 메타데이터)을 파싱/직렬화합니다. 객체 생성 시 OPC 패키지에서 핵심 속성을 읽어들이고, 이를 공개 필드로 노출하며, save()를 통해 다시 직렬화할 수 있습니다.
이 클래스는 C++ 프로그램에서 CorePropertiesPart 객체를 다루기 위한 3개의 메서드를 제공합니다. 사용 가능한 메서드에는 clear, mark_dirty, save가 포함됩니다. Aspose.Slides FOSS for C++ 패키지를 설치한 후에는 모든 공개 멤버에 C++ 애플리케이션에서 접근할 수 있습니다. 속성: category, content_status, content_type, created, creator, description 및 추가 7개.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
title | std::optional<std::string> | 읽기/쓰기 | 제목을 가져오거나 설정합니다. |
subject | std::optional<std::string> | 읽기/쓰기 | 주제를 가져오거나 설정합니다. |
creator | std::optional<std::string> | 읽기/쓰기 | 작성자를 가져오거나 설정합니다. |
keywords | std::optional<std::string> | 읽기/쓰기 | 키워드를 가져오거나 설정합니다. |
description | std::optional<std::string> | 읽기/쓰기 | 설명을 가져오거나 설정합니다. |
category | std::optional<std::string> | 읽기/쓰기 | 카테고리를 가져오거나 설정합니다. |
content_status | std::optional<std::string> | 읽기/쓰기 | 콘텐츠 상태를 가져오거나 설정합니다. |
content_type | std::optional<std::string> | 읽기/쓰기 | 콘텐츠 유형을 가져오거나 설정합니다. |
last_modified_by | std::optional<std::string> | 읽기/쓰기 | 마지막으로 수정한 사람을 가져오거나 설정합니다. |
revision | std::optional<std::string> | 읽기/쓰기 | 리비전을 가져오거나 설정합니다. |
created | std::optional<TimePoint> | 읽기/쓰기 | 생성된 값을 가져오거나 설정합니다. |
modified | std::optional<TimePoint> | 읽기/쓰기 | 수정된 값을 가져오거나 설정합니다. |
last_printed | std::optional<TimePoint> | 읽기/쓰기 | 마지막 인쇄된 날짜를 가져오거나 설정합니다. |
메서드
| 시그니처 | 설명 |
|---|---|
mark_dirty() | 파트를 dirty 상태로 표시하면 save()가 XML를 다시 생성합니다. |
save() | Parse/serialize docProps/core.xml (Dublin Core 메타데이터). 생성 시 OPC 패키지에서 핵심 속성을 읽습니다, |
clear() | 모든 속성을 빈/null 상태로 재설정하고 dirty 상태로 표시합니다. |