CorePropertiesPart

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개.

속성

이름유형액세스설명
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>읽기/쓰기마지막 인쇄된 날짜를 가져오거나 설정합니다.

메서드

시그니처설명
mark_dirty()파트를 dirty 상태로 표시하면 save()가 XML를 다시 생성합니다.
save()Parse/serialize docProps/core.xml (Dublin Core 메타데이터). 생성 시 OPC 패키지에서 핵심 속성을 읽습니다,
clear()모든 속성을 빈/null 상태로 재설정하고 dirty 상태로 표시합니다.

참조

 한국어