Table of Contents

Class OdfElementDefinition

Namespace
OdfKit.Compliance
Assembly
OdfKit.dll

Provides the OdfElementDefinition API. 描述 ODF 結構描述中已知的一個元素定義。

public sealed class OdfElementDefinition
Inheritance
OdfElementDefinition
Inherited Members

Constructors

OdfElementDefinition(OdfQualifiedName, OdfSchemaElementRole, OdfVersionRange, OdfDocumentKind)

Provides the OdfElementDefinition API. 描述 ODF 結構描述中已知的一個元素定義。

public OdfElementDefinition(OdfQualifiedName name, OdfSchemaElementRole role, OdfVersionRange supportedVersions, OdfDocumentKind documentKind = OdfDocumentKind.Unknown)

Parameters

name OdfQualifiedName

限定名稱

role OdfSchemaElementRole

元素角色

supportedVersions OdfVersionRange

支援的 ODF 版本範圍

documentKind OdfDocumentKind

文件種類

Properties

DocumentKind

Gets the DocumentKind value. 取得此元素所代表的文件種類(適用時)。

public OdfDocumentKind DocumentKind { get; }

Property Value

OdfDocumentKind

Name

Gets the Name value. 取得命名空間限定的元素名稱。

public OdfQualifiedName Name { get; }

Property Value

OdfQualifiedName

Role

Gets the Role value. 取得此元素的結構描述角色。

public OdfSchemaElementRole Role { get; }

Property Value

OdfSchemaElementRole

SupportedVersions

Gets the SupportedVersions value. 取得支援此元素的 ODF 版本範圍。

public OdfVersionRange SupportedVersions { get; }

Property Value

OdfVersionRange