Table of Contents

Class OdfNamespaces

Namespace
OdfKit.Core
Assembly
OdfKit.dll

Provides the OdfNamespaces API. 提供常用 ODF XML 命名空間 URI 的常數與公用程式方法。

public static class OdfNamespaces
Inheritance
OdfNamespaces
Inherited Members

Fields

Anim

Anim 命名空間 URI

public const string Anim = "urn:oasis:names:tc:opendocument:xmlns:animation:1.0"

Field Value

string

CalcExt

CalcExt 命名空間 URI(LibreOffice 電子試算表計算擴充命名空間)

public const string CalcExt = "urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"

Field Value

string

Chart

Chart 命名空間 URI

public const string Chart = "urn:oasis:names:tc:opendocument:xmlns:chart:1.0"

Field Value

string

Config

Config 命名空間 URI

public const string Config = "urn:oasis:names:tc:opendocument:xmlns:config:1.0"

Field Value

string

Database

Database 命名空間 URI(ODB 資料庫文件結構描述)

public const string Database = "urn:oasis:names:tc:opendocument:xmlns:database:1.0"

Field Value

string

Dc

Dc 命名空間 URI

public const string Dc = "http://purl.org/dc/elements/1.1/"

Field Value

string

Dr3d

Dr3d 命名空間 URI(3D 繪圖物件,如 dr3d:lightdr3d:scene

public const string Dr3d = "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"

Field Value

string

Draw

Draw 命名空間 URI

public const string Draw = "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"

Field Value

string

Ds

Ds 命名空間 URI

public const string Ds = "http://www.w3.org/2000/09/xmldsig#"

Field Value

string

Dsig

Dsig 命名空間 URI

public const string Dsig = "urn:oasis:names:tc:opendocument:xmlns:digitalsignature:1.0"

Field Value

string

Fo

Fo 命名空間 URI

public const string Fo = "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"

Field Value

string

Form

Form 命名空間 URI

public const string Form = "urn:oasis:names:tc:opendocument:xmlns:form:1.0"

Field Value

string

LoExt

LoExt 命名空間 URI(LibreOffice 實驗性 Office 擴充命名空間)

public const string LoExt = "urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"

Field Value

string

Manifest

Manifest 命名空間 URI

public const string Manifest = "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"

Field Value

string

MathMl

MathML 命名空間 URI(office:formula 內嵌公式內容所使用的數學標記語言命名空間)

public const string MathMl = "http://www.w3.org/1998/Math/MathML"

Field Value

string

Meta

Meta 命名空間 URI

public const string Meta = "urn:oasis:names:tc:opendocument:xmlns:meta:1.0"

Field Value

string

Number

Number 命名空間 URI

public const string Number = "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"

Field Value

string

Of

OpenFormula 命名空間 URI(ODF 1.2+ 公式語言,table:formula 等屬性值內 of:= 前綴所指涉的命名空間)

public const string Of = "urn:oasis:names:tc:opendocument:xmlns:of:1.2"

Field Value

string

Office

Office 命名空間 URI

public const string Office = "urn:oasis:names:tc:opendocument:xmlns:office:1.0"

Field Value

string

Oooc

OpenOffice.org Calc 相容命名空間 URI(table:condition 內容驗證條件值內 oooc: 前綴所指涉的命名空間)

public const string Oooc = "http://openoffice.org/2004/calc"

Field Value

string

Pkg

封裝 RDF metadata 的 Pkg 命名空間 URI(ODF 1.2 meta/pkg ontology)

public const string Pkg = "http://docs.oasis-open.org/ns/office/1.2/meta/pkg#"

Field Value

string

Presentation

Presentation 命名空間 URI

public const string Presentation = "urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"

Field Value

string

Report

Report 命名空間 URI(ODB 報表結構描述)

public const string Report = "urn:oasis:names:tc:opendocument:xmlns:report:1.0"

Field Value

string

Script

Script 命名空間 URI

public const string Script = "urn:oasis:names:tc:opendocument:xmlns:script:1.0"

Field Value

string

Smil

Smil 命名空間 URI

public const string Smil = "urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"

Field Value

string

Style

Style 命名空間 URI

public const string Style = "urn:oasis:names:tc:opendocument:xmlns:style:1.0"

Field Value

string

Svg

Svg 命名空間 URI

public const string Svg = "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"

Field Value

string

Table

Table 命名空間 URI

public const string Table = "urn:oasis:names:tc:opendocument:xmlns:table:1.0"

Field Value

string

Text

Text 命名空間 URI

public const string Text = "urn:oasis:names:tc:opendocument:xmlns:text:1.0"

Field Value

string

XLink 命名空間 URI

public const string XLink = "http://www.w3.org/1999/xlink"

Field Value

string

Xades

XAdES(ETSI TS 101 903 v1.3.2)命名空間 URI

public const string Xades = "http://uri.etsi.org/01903/v1.3.2#"

Field Value

string

Xml

Xml 命名空間 URI

public const string Xml = "http://www.w3.org/XML/1998/namespace"

Field Value

string

Methods

GetPrefix(string)

Gets prefix. 取得指定命名空間 URI 的標準前綴。

public static string GetPrefix(string namespaceUri)

Parameters

namespaceUri string

命名空間 URI

Returns

string

對應的前綴;若無對應則傳回空字串

LookupNamespaceUri(string)

Performs lookup namespace uri. 根據命名空間前綴查找標準命名空間 URI。

public static string LookupNamespaceUri(string prefix)

Parameters

prefix string

命名空間前綴

Returns

string

標準命名空間 URI;若無對應則傳回空字串