Class OdfNamespaces
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
CalcExt
CalcExt 命名空間 URI(LibreOffice 電子試算表計算擴充命名空間)
public const string CalcExt = "urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
Field Value
Chart
Chart 命名空間 URI
public const string Chart = "urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
Field Value
Config
Config 命名空間 URI
public const string Config = "urn:oasis:names:tc:opendocument:xmlns:config:1.0"
Field Value
Database
Database 命名空間 URI(ODB 資料庫文件結構描述)
public const string Database = "urn:oasis:names:tc:opendocument:xmlns:database:1.0"
Field Value
Dc
Dc 命名空間 URI
public const string Dc = "http://purl.org/dc/elements/1.1/"
Field Value
Dr3d
Dr3d 命名空間 URI(3D 繪圖物件,如 dr3d:light、dr3d:scene)
public const string Dr3d = "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
Field Value
Draw
Draw 命名空間 URI
public const string Draw = "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
Field Value
Ds
Ds 命名空間 URI
public const string Ds = "http://www.w3.org/2000/09/xmldsig#"
Field Value
Dsig
Dsig 命名空間 URI
public const string Dsig = "urn:oasis:names:tc:opendocument:xmlns:digitalsignature:1.0"
Field Value
Fo
Fo 命名空間 URI
public const string Fo = "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
Field Value
Form
Form 命名空間 URI
public const string Form = "urn:oasis:names:tc:opendocument:xmlns:form:1.0"
Field Value
LoExt
LoExt 命名空間 URI(LibreOffice 實驗性 Office 擴充命名空間)
public const string LoExt = "urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
Field Value
Manifest
Manifest 命名空間 URI
public const string Manifest = "urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"
Field Value
MathMl
MathML 命名空間 URI(office:formula 內嵌公式內容所使用的數學標記語言命名空間)
public const string MathMl = "http://www.w3.org/1998/Math/MathML"
Field Value
Meta
Meta 命名空間 URI
public const string Meta = "urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
Field Value
Number
Number 命名空間 URI
public const string Number = "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
Field Value
Of
OpenFormula 命名空間 URI(ODF 1.2+ 公式語言,table:formula 等屬性值內 of:= 前綴所指涉的命名空間)
public const string Of = "urn:oasis:names:tc:opendocument:xmlns:of:1.2"
Field Value
Office
Office 命名空間 URI
public const string Office = "urn:oasis:names:tc:opendocument:xmlns:office:1.0"
Field Value
Oooc
OpenOffice.org Calc 相容命名空間 URI(table:condition 內容驗證條件值內 oooc: 前綴所指涉的命名空間)
public const string Oooc = "http://openoffice.org/2004/calc"
Field Value
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
Presentation
Presentation 命名空間 URI
public const string Presentation = "urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
Field Value
Report
Report 命名空間 URI(ODB 報表結構描述)
public const string Report = "urn:oasis:names:tc:opendocument:xmlns:report:1.0"
Field Value
Script
Script 命名空間 URI
public const string Script = "urn:oasis:names:tc:opendocument:xmlns:script:1.0"
Field Value
Smil
Smil 命名空間 URI
public const string Smil = "urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
Field Value
Style
Style 命名空間 URI
public const string Style = "urn:oasis:names:tc:opendocument:xmlns:style:1.0"
Field Value
Svg
Svg 命名空間 URI
public const string Svg = "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
Field Value
Table
Table 命名空間 URI
public const string Table = "urn:oasis:names:tc:opendocument:xmlns:table:1.0"
Field Value
Text
Text 命名空間 URI
public const string Text = "urn:oasis:names:tc:opendocument:xmlns:text:1.0"
Field Value
XLink
XLink 命名空間 URI
public const string XLink = "http://www.w3.org/1999/xlink"
Field Value
Xades
XAdES(ETSI TS 101 903 v1.3.2)命名空間 URI
public const string Xades = "http://uri.etsi.org/01903/v1.3.2#"
Field Value
Xml
Xml 命名空間 URI
public const string Xml = "http://www.w3.org/XML/1998/namespace"
Field Value
Methods
GetPrefix(string)
Gets prefix. 取得指定命名空間 URI 的標準前綴。
public static string GetPrefix(string namespaceUri)
Parameters
namespaceUristring命名空間 URI
Returns
- string
對應的前綴;若無對應則傳回空字串
LookupNamespaceUri(string)
Performs lookup namespace uri. 根據命名空間前綴查找標準命名空間 URI。
public static string LookupNamespaceUri(string prefix)
Parameters
prefixstring命名空間前綴
Returns
- string
標準命名空間 URI;若無對應則傳回空字串