Table of Contents

Class OdfDocumentMetadata

Namespace
OdfKit.Text
Assembly
OdfKit.dll

Exposes high-level accessors for document metadata. 提供文件中繼資料的高階操作入口。

public sealed class OdfDocumentMetadata
Inheritance
OdfDocumentMetadata
Inherited Members

Constructors

OdfDocumentMetadata(OdfDocument)

Initializes a new instance of the OdfDocumentMetadata class. 初始化 OdfDocumentMetadata 類別的新執行個體。

public OdfDocumentMetadata(OdfDocument document)

Parameters

document OdfDocument

The owning document. / 所屬文件。

Properties

Creator

Gets or sets the author. 取得或設定作者。

public string? Creator { get; set; }

Property Value

string

Description

Gets or sets the description. 取得或設定描述。

public string? Description { get; set; }

Property Value

string

Language

Provides the member member. 取得或設定文件語言(BCP-47 語言標籤,例如 "zh-TW"、"en-US")。

public string? Language { get; set; }

Property Value

string

Subject

Gets or sets the subject. 取得或設定主旨。

public string? Subject { get; set; }

Property Value

string

TemplateMetadata

Gets or sets the document's source template metadata. 取得或設定文件來源範本中繼資料。

public OdfTemplateMetadata? TemplateMetadata { get; set; }

Property Value

OdfTemplateMetadata

Title

Gets or sets the title. 取得或設定標題。

public string? Title { get; set; }

Property Value

string