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