Update ooo320-m1
[ooovba.git] / writerfilter / source / ooxml / namespaceids.xsl
blobcf47ad6e0d100227d7fef2a89bc19cc48f1ced23
1 <!--
3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 Copyright 2008 by Sun Microsystems, Inc.
7 OpenOffice.org - a multi-platform office productivity suite
9 $RCSfile: namespaceids.xsl,v $
11 $Revision: 1.2 $
13 This file is part of OpenOffice.org.
15 OpenOffice.org is free software: you can redistribute it and/or modify
16 it under the terms of the GNU Lesser General Public License version 3
17 only, as published by the Free Software Foundation.
19 OpenOffice.org is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 GNU Lesser General Public License version 3 for more details
23 (a copy is included in the LICENSE file that accompanied this code).
25 You should have received a copy of the GNU Lesser General Public License
26 version 3 along with OpenOffice.org. If not, see
27 <http://www.openoffice.org/license.html>
28 for a copy of the LGPLv3 License.
30 -->
31 <xsl:stylesheet
32 version="1.0"
33 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
34 xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
35 xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
36 xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
37 xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
38 xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
39 xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
40 xmlns:xlink="http://www.w3.org/1999/xlink"
41 xmlns:dc="http://purl.org/dc/elements/1.1/"
42 xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
43 xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
44 xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
45 xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
46 xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
47 xmlns:math="http://www.w3.org/1998/Math/MathML"
48 xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
49 xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
50 xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
51 xmlns:ooo="http://openoffice.org/2004/office"
52 xmlns:ooow="http://openoffice.org/2004/writer"
53 xmlns:oooc="http://openoffice.org/2004/calc"
54 xmlns:dom="http://www.w3.org/2001/xml-events"
55 xmlns:xforms="http://www.w3.org/2002/xforms"
56 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
57 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
58 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
59 xmlns:rng="http://relaxng.org/ns/structure/1.0"
60 xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
61 xmlns:UML = 'org.omg.xmi.namespace.UML' xml:space="default">
62 <xsl:output method="text" />
63 <xsl:param name="prefix"/>
65 <xsl:include href="resourcestools.xsl"/>
67 <xsl:template match="/">
68 <out xml:space="preserve">
69 <xsl:call-template name="licenseheader"/>
70 <xsl:text>
71 #ifndef INCLUDED_OOXML_NAMESPACESIDS_HXX
72 #define INCLUDED_OOXML_NAMESPACESIDS_HXX
74 #include &lt;map&gt;
75 #include &lt;vector&gt;
76 #include &lt;boost/shared_ptr.hpp&gt;
77 #include &lt;string&gt;
79 #include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
81 namespace writerfilter {
82 namespace ooxml {
83 using namespace ::std;
84 using namespace ::com::sun::star;
85 </xsl:text>
86 <xsl:call-template name="namespaceids"/>
87 <xsl:text>
90 #endif //INCLUDED_OOXML_NAMESPACESIDS_HXX&#xa;</xsl:text></out></xsl:template>
92 <xsl:template match="*"/>
93 </xsl:stylesheet>