INTEGRATION: CWS xmlfilter02 (1.1.4); FILE ADDED
2007/11/14 12:58:59 hbrinkm 1.1.4.5: namespace clean up 2007/10/18 09:43:38 hbrinkm 1.1.4.4: licenseheader clean-up 2007/10/08 11:16:17 hbrinkm 1.1.4.3: merged missed changes from writerfilter3 2007/10/01 10:11:06 os 1.1.4.2: integration of cws writerfilter3 into cws xmlfilter02 2007/09/05 08:02:29 os 1.1.4.1: file fastresources.xsl was added on branch cws_src680_xmlfilter02 on 2007-10-01 10:11:06 +0000
This commit is contained in:
parent
3d2d596b68
commit
cd3eaf5f69
1 changed files with 119 additions and 0 deletions
119
writerfilter/source/ooxml/fastresources.xsl
Normal file
119
writerfilter/source/ooxml/fastresources.xsl
Normal file
|
@ -0,0 +1,119 @@
|
|||
<!--
|
||||
/*************************************************************************
|
||||
*
|
||||
* OpenOffice.org - a multi-platform office productivity suite
|
||||
*
|
||||
* $RCSfile: fastresources.xsl,v $
|
||||
*
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
* last change: $Author: obo $ $Date: 2008-01-10 12:02:52 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
*
|
||||
*
|
||||
* GNU Lesser General Public License Version 2.1
|
||||
* =============================================
|
||||
* Copyright 2005 by Sun Microsystems, Inc.
|
||||
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License version 2.1, as published by the Free Software Foundation.
|
||||
*
|
||||
* 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., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************/
|
||||
|
||||
-->
|
||||
<xsl:stylesheet
|
||||
version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
|
||||
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
|
||||
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
|
||||
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
|
||||
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
|
||||
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
|
||||
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
|
||||
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
|
||||
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
|
||||
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
|
||||
xmlns:math="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
|
||||
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
|
||||
xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
|
||||
xmlns:ooo="http://openoffice.org/2004/office"
|
||||
xmlns:ooow="http://openoffice.org/2004/writer"
|
||||
xmlns:oooc="http://openoffice.org/2004/calc"
|
||||
xmlns:dom="http://www.w3.org/2001/xml-events"
|
||||
xmlns:xforms="http://www.w3.org/2002/xforms"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:rng="http://relaxng.org/ns/structure/1.0"
|
||||
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
||||
xmlns:UML = 'org.omg.xmi.namespace.UML' xml:space="default">
|
||||
<xsl:output method="text" />
|
||||
<xsl:param name="prefix"/>
|
||||
|
||||
<xsl:include href="resourcestools.xsl"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:call-template name="licenseheader"/>
|
||||
<xsl:text>
|
||||
#ifndef INCLUDED_OOXML_RESOURCES_HXX
|
||||
#define INCLUDED_OOXML_RESOURCES_HXX
|
||||
|
||||
#include <vector>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#include <string>
|
||||
|
||||
#include <resourcemodel/WW8ResourceModel.hxx>
|
||||
#include <doctok/resourceids.hxx>
|
||||
#include <ooxml/resourceids.hxx>
|
||||
#include "OOXMLFastContextHandler.hxx"
|
||||
#include "OOXMLFastTokens.hxx"
|
||||
#include "OOXMLStreamImpl.hxx"</xsl:text>
|
||||
<xsl:for-each select="//namespace">
|
||||
<xsl:text>
|
||||
#include "OOXMLfastresources_</xsl:text>
|
||||
<xsl:value-of select="@name"/>
|
||||
<xsl:text>.hxx"</xsl:text>
|
||||
</xsl:for-each>
|
||||
<xsl:text>
|
||||
|
||||
namespace writerfilter {
|
||||
namespace ooxml {
|
||||
using namespace ::std;
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
uno::Reference < xml::sax::XFastContextHandler >
|
||||
createFromStart(::sal_Int32 Element);
|
||||
void dumpAttribs
|
||||
(const uno::Reference < xml::sax::XFastAttributeList > & Attribs)
|
||||
throw (uno::RuntimeException, xml::sax::SAXException);
|
||||
|
||||
|
||||
/// @cond GENERATED
|
||||
</xsl:text>
|
||||
<xsl:call-template name="valueconstantdecls"/>
|
||||
<xsl:text>
|
||||
/// @endcond
|
||||
}}
|
||||
#endif //INCLUDED_OOXML_RESOURCES_HXX
</xsl:text></xsl:template>
|
||||
|
||||
<xsl:template match="*"/>
|
||||
</xsl:stylesheet>
|
Loading…
Reference in a new issue