mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-11-23 06:53:02 -05:00
87 lines
3.4 KiB
Python
87 lines
3.4 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Copyright (C) 2006-2009 Søren Roug, European Environment Agency
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
# License as published by the Free Software Foundation; either
|
|
# version 2.1 of the License, or (at your option) any later version.
|
|
#
|
|
# This library is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# License along with this library; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
#
|
|
# Contributor(s):
|
|
#
|
|
TOOLSVERSION = u"ODFPY/0.9.2dev"
|
|
|
|
ANIMNS = u"urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
|
|
DBNS = u"urn:oasis:names:tc:opendocument:xmlns:database:1.0"
|
|
CHARTNS = u"urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
|
|
CONFIGNS = u"urn:oasis:names:tc:opendocument:xmlns:config:1.0"
|
|
#DBNS = u"http://openoffice.org/2004/database"
|
|
DCNS = u"http://purl.org/dc/elements/1.1/"
|
|
DOMNS = u"http://www.w3.org/2001/xml-events"
|
|
DR3DNS = u"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
|
|
DRAWNS = u"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
|
|
FONS = u"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
|
|
FORMNS = u"urn:oasis:names:tc:opendocument:xmlns:form:1.0"
|
|
KOFFICENS = u"http://www.koffice.org/2005/"
|
|
MANIFESTNS = u"urn:oasis:names:tc:opendocument:xmlns:manifest:1.0"
|
|
MATHNS = u"http://www.w3.org/1998/Math/MathML"
|
|
METANS = u"urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
|
|
NUMBERNS = u"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
|
|
OFFICENS = u"urn:oasis:names:tc:opendocument:xmlns:office:1.0"
|
|
OOONS = u"http://openoffice.org/2004/office"
|
|
OOOWNS = u"http://openoffice.org/2004/writer"
|
|
OOOCNS = u"http://openoffice.org/2004/calc"
|
|
PRESENTATIONNS = u"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
|
|
RDFANS = u"http://docs.oasis-open.org/opendocument/meta/rdfa#"
|
|
SCRIPTNS = u"urn:oasis:names:tc:opendocument:xmlns:script:1.0"
|
|
SMILNS = u"urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
|
|
STYLENS = u"urn:oasis:names:tc:opendocument:xmlns:style:1.0"
|
|
SVGNS = u"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
|
|
TABLENS = u"urn:oasis:names:tc:opendocument:xmlns:table:1.0"
|
|
TEXTNS = u"urn:oasis:names:tc:opendocument:xmlns:text:1.0"
|
|
XFORMSNS = u"http://www.w3.org/2002/xforms"
|
|
XLINKNS = u"http://www.w3.org/1999/xlink"
|
|
XMLNS = u"http://www.w3.org/XML/1998/namespace"
|
|
|
|
|
|
nsdict = {
|
|
ANIMNS: u'anim',
|
|
CHARTNS: u'chart',
|
|
CONFIGNS: u'config',
|
|
DBNS: u'db',
|
|
DCNS: u'dc',
|
|
DOMNS: u'dom',
|
|
DR3DNS: u'dr3d',
|
|
DRAWNS: u'draw',
|
|
FONS: u'fo',
|
|
FORMNS: u'form',
|
|
KOFFICENS: u'koffice',
|
|
MANIFESTNS: u'manifest',
|
|
MATHNS: u'math',
|
|
METANS: u'meta',
|
|
NUMBERNS: u'number',
|
|
OFFICENS: u'office',
|
|
OOONS: u'ooo',
|
|
OOOWNS: u'ooow',
|
|
OOOCNS: u'oooc',
|
|
PRESENTATIONNS: u'presentation',
|
|
RDFANS: u'rdfa',
|
|
SCRIPTNS: u'script',
|
|
SMILNS: u'smil',
|
|
STYLENS: u'style',
|
|
SVGNS: u'svg',
|
|
TABLENS: u'table',
|
|
TEXTNS: u'text',
|
|
XFORMSNS: u'xforms',
|
|
XLINKNS: u'xlink',
|
|
XMLNS: u'xml',
|
|
}
|