ODFPY 1.2.0
 
Loading...
Searching...
No Matches
namespaces.py
Go to the documentation of this file.
1# -*- coding: utf-8 -*-
2# Copyright (C) 2006-2013 Søren Roug, European Environment Agency
3#
4# This library is free software; you can redistribute it and/or
5# modify it under the terms of the GNU Lesser General Public
6# License as published by the Free Software Foundation; either
7# version 2.1 of the License, or (at your option) any later version.
8#
9# This library is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12# Lesser General Public License for more details.
13#
14# You should have received a copy of the GNU Lesser General Public
15# License along with this library; if not, write to the Free Software
16# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17#
18# Contributor(s):
19#
20__version__ = "1.4.2"
21
22TOOLSVERSION = u"ODFPY/" + __version__
23
24ANIMNS = u"urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
25CHARTNS = u"urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
26CHARTOOONS = u"http://openoffice.org/2010/chart"
27CONFIGNS = u"urn:oasis:names:tc:opendocument:xmlns:config:1.0"
28CSS3TNS = u"http://www.w3.org/TR/css3-text/"
29#DBNS = u"http://openoffice.org/2004/database"
30DBNS = u"urn:oasis:names:tc:opendocument:xmlns:database:1.0"
31DCNS = u"http://purl.org/dc/elements/1.1/"
32DOMNS = u"http://www.w3.org/2001/xml-events"
33DR3DNS = u"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
34DRAWNS = u"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
35FIELDNS = u"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
36FONS = u"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
37FORMNS = u"urn:oasis:names:tc:opendocument:xmlns:form:1.0"
38FORMXNS = u"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
39GRDDLNS = u"http://www.w3.org/2003/g/data-view#"
40KOFFICENS = u"http://www.koffice.org/2005/"
41LOEXTNS = u"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
42MANIFESTNS = u"urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"
43MATHNS = u"http://www.w3.org/1998/Math/MathML"
44METANS = u"urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
45NUMBERNS = u"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
46OFFICENS = u"urn:oasis:names:tc:opendocument:xmlns:office:1.0"
47OFNS = u"urn:oasis:names:tc:opendocument:xmlns:of:1.2"
48OOOCNS = u"http://openoffice.org/2004/calc"
49OOONS = u"http://openoffice.org/2004/office"
50OOOWNS = u"http://openoffice.org/2004/writer"
51PRESENTATIONNS = u"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
52RDFANS = u"http://docs.oasis-open.org/opendocument/meta/rdfa#"
53RPTNS = u"http://openoffice.org/2005/report"
54SCRIPTNS = u"urn:oasis:names:tc:opendocument:xmlns:script:1.0"
55SMILNS = u"urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
56STYLENS = u"urn:oasis:names:tc:opendocument:xmlns:style:1.0"
57SVGNS = u"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
58TABLENS = u"urn:oasis:names:tc:opendocument:xmlns:table:1.0"
59TABLEOOONS = u"http://openoffice.org/2009/table"
60TEXTNS = u"urn:oasis:names:tc:opendocument:xmlns:text:1.0"
61XFORMSNS = u"http://www.w3.org/2002/xforms"
62XHTMLNS = u"http://www.w3.org/1999/xhtml"
63XLINKNS = u"http://www.w3.org/1999/xlink"
64XMLNS = u"http://www.w3.org/XML/1998/namespace"
65XSDNS = u"http://www.w3.org/2001/XMLSchema"
66XSINS = u"http://www.w3.org/2001/XMLSchema-instance"
67
68nsdict = {
69 ANIMNS: u'anim',
70 CHARTNS: u'chart',
71 CHARTOOONS: u'chartooo',
72 CONFIGNS: u'config',
73 CSS3TNS: u'css3t',
74 DBNS: u'db',
75 DCNS: u'dc',
76 DOMNS: u'dom',
77 DR3DNS: u'dr3d',
78 DRAWNS: u'draw',
79 FIELDNS: u'field',
80 FONS: u'fo',
81 FORMNS: u'form',
82 FORMXNS: u'formx',
83 GRDDLNS: u'grddl',
84 KOFFICENS: u'koffice',
85 LOEXTNS: u'loext',
86 MANIFESTNS: u'manifest',
87 MATHNS: u'math',
88 METANS: u'meta',
89 NUMBERNS: u'number',
90 OFFICENS: u'office',
91 OFNS: u'of',
92 OOONS: u'ooo',
93 OOOWNS: u'ooow',
94 OOOCNS: u'oooc',
95 PRESENTATIONNS: u'presentation',
96 RDFANS: u'rdfa',
97 RPTNS: u'rpt',
98 SCRIPTNS: u'script',
99 SMILNS: u'smil',
100 STYLENS: u'style',
101 SVGNS: u'svg',
102 TABLENS: u'table',
103 TABLEOOONS: u'tableooo',
104 TEXTNS: u'text',
105 XFORMSNS: u'xforms',
106 XLINKNS: u'xlink',
107 XHTMLNS: u'xhtml',
108 XMLNS: u'xml',
109 XSDNS: u'xsd',
110 XSINS: u'xsi',
111}