summaryrefslogtreecommitdiff
path: root/writerfilter/source/ooxml
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/ooxml')
-rw-r--r--writerfilter/source/ooxml/OOXMLDocumentImpl.cxx20
-rwxr-xr-xwriterfilter/source/ooxml/OOXMLFactory.cxx333
-rwxr-xr-xwriterfilter/source/ooxml/OOXMLFactory.hxx176
-rw-r--r--writerfilter/source/ooxml/OOXMLFastContextHandler.cxx518
-rw-r--r--writerfilter/source/ooxml/OOXMLFastContextHandler.hxx199
-rw-r--r--writerfilter/source/ooxml/OOXMLFastDocumentHandler.cxx14
-rw-r--r--writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx3
-rw-r--r--writerfilter/source/ooxml/OOXMLFastHelper.hxx53
-rw-r--r--writerfilter/source/ooxml/OOXMLParserState.cxx104
-rw-r--r--writerfilter/source/ooxml/OOXMLParserState.hxx14
-rw-r--r--writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx43
-rw-r--r--writerfilter/source/ooxml/README.efforts131
-rw-r--r--writerfilter/source/ooxml/analyzemodel.xsl103
-rw-r--r--writerfilter/source/ooxml/analyzer.xsl46
-rw-r--r--writerfilter/source/ooxml/analyzestage2.xsl32
-rw-r--r--writerfilter/source/ooxml/analyzestage3.xsl40
-rw-r--r--writerfilter/source/ooxml/effort.xsl39
-rwxr-xr-xwriterfilter/source/ooxml/efforts.sh3
-rw-r--r--writerfilter/source/ooxml/factory.xsl (renamed from writerfilter/source/ooxml/values.xsl)37
-rw-r--r--writerfilter/source/ooxml/factory_ns.xsl (renamed from writerfilter/source/ooxml/fastresources_dml-shape3DScene.xsl)109
-rw-r--r--writerfilter/source/ooxml/factory_values.xsl (renamed from writerfilter/source/ooxml/fastresources_dml-baseTypes.xsl)62
-rw-r--r--writerfilter/source/ooxml/factoryimpl.xsl386
-rw-r--r--writerfilter/source/ooxml/factoryimpl_ns.xsl824
-rw-r--r--writerfilter/source/ooxml/factoryimpl_values.xsl (renamed from writerfilter/source/ooxml/fastresources_dml-chartDrawing.xsl)62
-rw-r--r--writerfilter/source/ooxml/factoryinc.xsl (renamed from writerfilter/source/ooxml/fastresources_dml-shape3DCamera.xsl)62
-rw-r--r--writerfilter/source/ooxml/factorytools.xsl345
-rw-r--r--writerfilter/source/ooxml/fastresources.xsl116
-rw-r--r--writerfilter/source/ooxml/fastresources_.xsl99
-rw-r--r--writerfilter/source/ooxml/fastresources_dml-baseStylesheet.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_dml-documentProperties.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_dml-graphicalObject.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_dml-shape3DLighting.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_dml-shape3DStyles.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_dml-shapeEffects.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_dml-shapeGeometry.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_dml-shapeLineProperties.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_dml-shapeProperties.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_dml-styleDefaults.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_dml-stylesheet.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_dml-textCharacter.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_dml-wordprocessingDrawing.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_shared-math.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_shared-relationshipReference.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_sml-customXmlMappings.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_vml-main.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_vml-officeDrawing.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_vml-wordprocessingDrawing.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresources_wml.xsl98
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl.xsl95
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-baseStylesheet.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-baseTypes.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-chartDrawing.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-documentProperties.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-graphicalObject.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DCamera.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DLighting.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DScene.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DStyles.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-shapeEffects.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-shapeGeometry.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-shapeLineProperties.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-styleDefaults.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-stylesheet.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-textCharacter.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_dml-wordprocessingDrawing.xsl94
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_shared-math.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_shared-relationshipReference.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_sml-customXmlMappings.xsl93
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_vml-main.xsl94
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_vml-officeDrawing.xsl94
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_vml-wordprocessingDrawing.xsl94
-rw-r--r--writerfilter/source/ooxml/fastresourcesimpl_wml.xsl94
-rw-r--r--writerfilter/source/ooxml/fasttokens.xsl20
-rw-r--r--writerfilter/source/ooxml/fasttokensimpl.xsl77
-rw-r--r--writerfilter/source/ooxml/gperffasttokenhandler.xsl26
-rw-r--r--writerfilter/source/ooxml/makefile.mk127
-rw-r--r--writerfilter/source/ooxml/model.xml4067
-rw-r--r--writerfilter/source/ooxml/modelcleanup.xsl118
-rw-r--r--writerfilter/source/ooxml/modelpreprocess.xsl9
-rw-r--r--writerfilter/source/ooxml/namespace_preprocess.pl65
-rw-r--r--writerfilter/source/ooxml/namespaceids.xsl13
-rw-r--r--writerfilter/source/ooxml/nostatus.xsl20
-rw-r--r--writerfilter/source/ooxml/qnametostr.xsl61
-rw-r--r--writerfilter/source/ooxml/resourceids.xsl22
-rw-r--r--writerfilter/source/ooxml/resourcestools.xsl2338
-rwxr-xr-xwriterfilter/source/ooxml/status.sh26
-rw-r--r--writerfilter/source/ooxml/todo.xsl29
-rw-r--r--writerfilter/source/ooxml/valuesimpl.xsl85
88 files changed, 5773 insertions, 9502 deletions
diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
index 50c32b758d44..90c878e3b8e2 100644
--- a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
@@ -27,6 +27,7 @@
#include <com/sun/star/xml/sax/XParser.hpp>
+#include <com/sun/star/xml/sax/SAXException.hpp>
#include <doctok/resourceids.hxx>
#include <ooxml/resourceids.hxx>
#include "OOXMLDocumentImpl.hxx"
@@ -37,6 +38,7 @@
#include <iostream>
+using ::com::sun::star::xml::sax::SAXException;
namespace writerfilter {
namespace ooxml
{
@@ -302,6 +304,10 @@ void OOXMLDocumentImpl::resolveFooter(Stream & rStream,
void OOXMLDocumentImpl::resolve(Stream & rStream)
{
+#ifdef DEBUG_RESOLVE
+ debug_logger->startElement("OOXMLDocumentImpl.resolve");
+#endif
+
uno::Reference< xml::sax::XFastParser > xParser
(mpStream->getFastParser());
@@ -330,8 +336,20 @@ void OOXMLDocumentImpl::resolve(Stream & rStream)
xml::sax::InputSource aParserInput;
aParserInput.aInputStream = mpStream->getDocumentStream();
- xParser->parseStream(aParserInput);
+ try
+ {
+ xParser->parseStream(aParserInput);
+ }
+ catch (...) {
+#ifdef DEBUG_ELEMENT
+ debug_logger->element("exception");
+#endif
+ }
}
+
+#ifdef DEBUG_RESOLVE
+ debug_logger->endElement("OOXMLDocumentImpl.resolve");
+#endif
}
uno::Reference<io::XInputStream> OOXMLDocumentImpl::getInputStreamForId(const ::rtl::OUString & rId)
diff --git a/writerfilter/source/ooxml/OOXMLFactory.cxx b/writerfilter/source/ooxml/OOXMLFactory.cxx
new file mode 100755
index 000000000000..6fac03898e42
--- /dev/null
+++ b/writerfilter/source/ooxml/OOXMLFactory.cxx
@@ -0,0 +1,333 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#include <rtl/instance.hxx>
+#include <osl/mutex.hxx>
+#include "OOXMLFactory.hxx"
+#include "OOXMLFastHelper.hxx"
+
+namespace writerfilter {
+namespace ooxml {
+
+AttributeInfo::AttributeInfo()
+:m_nResource(RT_NoResource), m_nRef(0)
+{
+}
+
+AttributeInfo::AttributeInfo(ResourceType_t nResource, Id nRef)
+ :m_nResource(nResource), m_nRef(nRef)
+{
+}
+
+CreateElement::CreateElement()
+:m_nResource(RT_NoResource), m_nId(0)
+{
+}
+
+CreateElement::CreateElement(ResourceType_t nResource, Id nId)
+: m_nResource(nResource), m_nId(nId)
+{
+}
+
+// class OOXMLFactory_ns
+
+OOXMLFactory_ns::~OOXMLFactory_ns()
+{
+}
+
+AttributeToResourceMapPointer OOXMLFactory_ns::getAttributeToResourceMap(Id nId)
+{
+ if (m_AttributesMap.find(nId) == m_AttributesMap.end())
+ m_AttributesMap[nId] = createAttributeToResourceMap(nId);
+
+ return m_AttributesMap[nId];
+}
+
+ListValueMapPointer OOXMLFactory_ns::getListValueMap(Id nId)
+{
+ if (m_ListValuesMap.find(nId) == m_ListValuesMap.end())
+ m_ListValuesMap[nId] = createListValueMap(nId);
+
+ return m_ListValuesMap[nId];
+}
+
+CreateElementMapPointer OOXMLFactory_ns::getCreateElementMap(Id nId)
+{
+ if (m_CreateElementsMap.find(nId) == m_CreateElementsMap.end())
+ m_CreateElementsMap[nId] = createCreateElementMap(nId);
+
+ return m_CreateElementsMap[nId];
+}
+
+TokenToIdMapPointer OOXMLFactory_ns::getTokenToIdMap(Id nId)
+{
+ if (m_TokenToIdsMap.find(nId) == m_TokenToIdsMap.end())
+ m_TokenToIdsMap[nId] = createTokenToIdMap(nId);
+
+ return m_TokenToIdsMap[nId];
+}
+
+string OOXMLFactory_ns::getDefineName(Id /*nId*/) const
+{
+ return "";
+}
+
+// class OOXMLFactory
+
+typedef rtl::Static< osl::Mutex, OOXMLFactory > OOXMLFactory_Mutex;
+
+OOXMLFactory::Pointer_t OOXMLFactory::m_Instance;
+
+OOXMLFactory::OOXMLFactory()
+{
+ // multi-thread-safe mutex for all platforms
+
+ osl::MutexGuard aGuard(OOXMLFactory_Mutex::get());
+}
+
+OOXMLFactory::~OOXMLFactory()
+{
+}
+
+OOXMLFactory::Pointer_t OOXMLFactory::getInstance()
+{
+ if (m_Instance.get() == NULL)
+ m_Instance.reset(new OOXMLFactory());
+
+ return m_Instance;
+}
+
+void OOXMLFactory::attributes(OOXMLFastContextHandler * pHandler,
+ const uno::Reference< xml::sax::XFastAttributeList > & Attribs)
+{
+ Id nDefine = pHandler->getDefine();
+ OOXMLFactory_ns::Pointer_t pFactory = getFactoryForNamespace(nDefine);
+
+ if (pFactory.get() != NULL)
+ {
+#ifdef DEBUG_ATTRIBUTES
+ debug_logger->startElement("attributes");
+ debug_logger->attribute("define", pFactory->getDefineName(nDefine));
+ char sBuffer[256];
+ snprintf(sBuffer, sizeof(sBuffer), "%08" SAL_PRIxUINT32, nDefine);
+ debug_logger->attribute("define-num", sBuffer);
+#endif
+
+ TokenToIdMapPointer pTokenToIdMap = pFactory->getTokenToIdMap(nDefine);
+ AttributeToResourceMapPointer pMap = pFactory->getAttributeToResourceMap(nDefine);
+
+ AttributeToResourceMap::const_iterator aIt;
+ AttributeToResourceMap::const_iterator aEndIt = pMap->end();
+
+ for (aIt = pMap->begin(); aIt != aEndIt; aIt++)
+ {
+ Id nId = (*pTokenToIdMap)[aIt->first];
+#ifdef DEBUG_ATTRIBUTES
+ debug_logger->startElement("attribute");
+ debug_logger->attribute("name", fastTokenToId(aIt->first));
+ debug_logger->attribute("tokenid", (*QNameToString::Instance())(nId));
+ snprintf(sBuffer, sizeof(sBuffer), "%08" SAL_PRIxUINT32, nId);
+ debug_logger->attribute("tokenid-num", sBuffer);
+#endif
+ if (Attribs->hasAttribute(aIt->first))
+ {
+ switch (aIt->second.m_nResource)
+ {
+ case RT_Boolean:
+ {
+#ifdef DEBUG_ATTRIBUTES
+ debug_logger->element("boolean");
+#endif
+ ::rtl::OUString aValue(Attribs->getValue(aIt->first));
+ OOXMLFastHelper<OOXMLBooleanValue>::newProperty(pHandler, nId, aValue);
+
+ OOXMLValue::Pointer_t pValue(new OOXMLBooleanValue(aValue));
+ pFactory->attributeAction(pHandler, aIt->first, pValue);
+ }
+ break;
+ case RT_String:
+ {
+#ifdef DEBUG_ATTRIBUTES
+ debug_logger->element("string");
+#endif
+ ::rtl::OUString aValue(Attribs->getValue(aIt->first));
+ OOXMLFastHelper<OOXMLStringValue>::newProperty
+ (pHandler, nId, aValue);
+
+ OOXMLValue::Pointer_t pValue(new OOXMLStringValue(aValue));
+ pFactory->attributeAction(pHandler, aIt->first, pValue);
+ }
+ break;
+ case RT_Integer:
+ {
+#ifdef DEBUG_ATTRIBUTES
+ debug_logger->element("integer");
+#endif
+ ::rtl::OUString aValue(Attribs->getValue(aIt->first));
+ OOXMLFastHelper<OOXMLIntegerValue>::newProperty
+ (pHandler, nId, aValue);
+
+ OOXMLValue::Pointer_t pValue(new OOXMLIntegerValue(aValue));
+ pFactory->attributeAction(pHandler, aIt->first, pValue);
+ }
+ break;
+ case RT_Hex:
+ {
+#ifdef DEBUG_ATTRIBUTES
+ debug_logger->element("hex");
+#endif
+ ::rtl::OUString aValue(Attribs->getValue(aIt->first));
+ OOXMLFastHelper<OOXMLHexValue>::newProperty
+ (pHandler, nId, aValue);
+
+ OOXMLValue::Pointer_t pValue(new OOXMLHexValue(aValue));
+ pFactory->attributeAction(pHandler, aIt->first, pValue);
+ }
+ break;
+ case RT_List:
+ {
+#ifdef DEBUG_ATTRIBUTES
+ debug_logger->startElement("list");
+#endif
+ ListValueMapPointer pListValueMap =
+ pFactory->getListValueMap(aIt->second.m_nRef);
+
+ if (pListValueMap.get() != NULL)
+ {
+ ::rtl::OUString aValue(Attribs->getValue(aIt->first));
+ sal_uInt32 nValue = (*pListValueMap)[aValue];
+
+#ifdef DEBUG_ATTRIBUTES
+ debug_logger->attribute("value", aValue);
+ debug_logger->attribute("value-num", nValue);
+#endif
+
+ OOXMLFastHelper<OOXMLIntegerValue>::newProperty
+ (pHandler, nId, nValue);
+
+ OOXMLValue::Pointer_t pValue(new OOXMLIntegerValue(nValue));
+ pFactory->attributeAction(pHandler, aIt->first, pValue);
+ }
+#ifdef DEBUG_ATTRIBUTES
+ debug_logger->endElement("list");
+#endif
+ }
+ break;
+ default:
+#ifdef DEBUG_ATTRIBUTES
+ debug_logger->element("unknown-attribute-type");
+#endif
+ break;
+ }
+ }
+#ifdef DEBUG_ATTRIBUTES
+ debug_logger->endElement("attribute");
+#endif
+ }
+
+#ifdef DEBUG_ATTRIBUTES
+ debug_logger->endElement("attributes");
+#endif
+ }
+}
+
+uno::Reference< xml::sax::XFastContextHandler>
+OOXMLFactory::createFastChildContext(OOXMLFastContextHandler * pHandler,
+ Token_t Element)
+{
+ Id nDefine = pHandler->getDefine();
+
+ OOXMLFactory_ns::Pointer_t pFactory = getFactoryForNamespace(nDefine);
+
+ return createFastChildContextFromFactory(pHandler, pFactory, Element);
+}
+
+void OOXMLFactory::characters(OOXMLFastContextHandler * pHandler,
+ const ::rtl::OUString & rString)
+{
+ Id nDefine = pHandler->getDefine();
+ OOXMLFactory_ns::Pointer_t pFactory = getFactoryForNamespace(nDefine);
+
+ if (pFactory.get() != NULL)
+ {
+ pFactory->charactersAction(pHandler, rString);
+ }
+}
+
+void OOXMLFactory::startAction(OOXMLFastContextHandler * pHandler, Token_t /*nToken*/)
+{
+ Id nDefine = pHandler->getDefine();
+ OOXMLFactory_ns::Pointer_t pFactory = getFactoryForNamespace(nDefine);
+
+ if (pFactory.get() != NULL)
+ {
+#ifdef DEBUG_ELEMENT
+ debug_logger->startElement("factory-startAction");
+#endif
+ pFactory->startAction(pHandler);
+#ifdef DEBUG_ELEMENT
+ debug_logger->endElement("factory-startAction");
+#endif
+ }
+}
+
+void OOXMLFactory::endAction(OOXMLFastContextHandler * pHandler, Token_t /*nToken*/)
+{
+ Id nDefine = pHandler->getDefine();
+ OOXMLFactory_ns::Pointer_t pFactory = getFactoryForNamespace(nDefine);
+
+ if (pFactory.get() != NULL)
+ {
+#ifdef DEBUG_ELEMENT
+ debug_logger->startElement("factory-endAction");
+#endif
+ pFactory->endAction(pHandler);
+#ifdef DEBUG_ELEMENT
+ debug_logger->endElement("factory-endAction");
+#endif
+ }
+}
+
+void OOXMLFactory_ns::startAction(OOXMLFastContextHandler *)
+{
+}
+
+void OOXMLFactory_ns::endAction(OOXMLFastContextHandler *)
+{
+}
+
+void OOXMLFactory_ns::charactersAction(OOXMLFastContextHandler *, const ::rtl::OUString &)
+{
+}
+
+void OOXMLFactory_ns::attributeAction(OOXMLFastContextHandler *, Token_t, OOXMLValue::Pointer_t)
+{
+}
+
+}
+}
+
diff --git a/writerfilter/source/ooxml/OOXMLFactory.hxx b/writerfilter/source/ooxml/OOXMLFactory.hxx
new file mode 100755
index 000000000000..0558436ab793
--- /dev/null
+++ b/writerfilter/source/ooxml/OOXMLFactory.hxx
@@ -0,0 +1,176 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef INCLUDED_OOXML_FACTORY_HXX
+#define INCLUDED_OOXML_FACTORY_HXX
+
+#include <hash_map>
+#include <boost/shared_ptr.hpp>
+
+#ifndef INCLUDED_WW8_RESOURCE_MODEL_HXX
+#include <resourcemodel/WW8ResourceModel.hxx>
+#endif
+
+#ifndef INCLUDED_OOXML_FAST_TOKENS_HXX
+#include <ooxml/OOXMLFastTokens.hxx>
+#endif
+
+#ifndef INCLUDED_OOXML_FAST_CONTEXT_HANDLER_HXX
+#include "OOXMLFastContextHandler.hxx"
+#endif
+
+namespace writerfilter {
+namespace ooxml {
+
+using namespace std;
+
+enum ResourceType_t {
+ RT_NoResource,
+ RT_Table,
+ RT_Stream,
+ RT_List,
+ RT_Integer,
+ RT_Properties,
+ RT_Hex,
+ RT_String,
+ RT_Shape,
+ RT_Boolean,
+ RT_HexValue,
+ RT_Value,
+ RT_XNote,
+ RT_TextTableCell,
+ RT_TextTableRow,
+ RT_TextTable,
+ RT_PropertyTable,
+ RT_Any
+};
+
+struct AttributeInfo
+{
+ ResourceType_t m_nResource;
+ Id m_nRef;
+
+ AttributeInfo(ResourceType_t nResource, Id nRef);
+ AttributeInfo();
+};
+
+typedef hash_map<Token_t, AttributeInfo> AttributeToResourceMap;
+typedef boost::shared_ptr<AttributeToResourceMap> AttributeToResourceMapPointer;
+typedef hash_map<Id, AttributeToResourceMapPointer> AttributesMap;
+
+typedef hash_map<rtl::OUString, sal_Int32, ::rtl::OUStringHash> ListValueMap;
+typedef boost::shared_ptr<ListValueMap> ListValueMapPointer;
+typedef hash_map<Id, ListValueMapPointer> ListValuesMap;
+
+struct CreateElement
+{
+ ResourceType_t m_nResource;
+ Id m_nId;
+
+ CreateElement(ResourceType_t nResource, Id nId);
+ CreateElement();
+};
+
+typedef hash_map<Token_t, CreateElement> CreateElementMap;
+typedef boost::shared_ptr<CreateElementMap> CreateElementMapPointer;
+typedef hash_map<Id, CreateElementMapPointer> CreateElementsMap;
+typedef hash_map<Id, string> IdToStringMap;
+typedef boost::shared_ptr<IdToStringMap> IdToStringMapPointer;
+
+typedef hash_map<Id, Token_t> TokenToIdMap;
+typedef boost::shared_ptr<TokenToIdMap> TokenToIdMapPointer;
+typedef hash_map<Id, TokenToIdMapPointer> TokenToIdsMap;
+
+class OOXMLFactory_ns {
+public:
+ typedef boost::shared_ptr<OOXMLFactory_ns> Pointer_t;
+
+ virtual void startAction(OOXMLFastContextHandler * pHandler);
+ virtual void charactersAction(OOXMLFastContextHandler * pHandler, const ::rtl::OUString & rString);
+ virtual void endAction(OOXMLFastContextHandler * pHandler);
+ virtual void attributeAction(OOXMLFastContextHandler * pHandler, Token_t nToken, OOXMLValue::Pointer_t pValue);
+ virtual string getDefineName(Id nId) const;
+
+ AttributeToResourceMapPointer getAttributeToResourceMap(Id nId);
+ ListValueMapPointer getListValueMap(Id nId);
+ CreateElementMapPointer getCreateElementMap(Id nId);
+ TokenToIdMapPointer getTokenToIdMap(Id nId);
+
+protected:
+ virtual ~OOXMLFactory_ns();
+
+ AttributesMap m_AttributesMap;
+ ListValuesMap m_ListValuesMap;
+ CreateElementsMap m_CreateElementsMap;
+ TokenToIdsMap m_TokenToIdsMap;
+
+ virtual AttributeToResourceMapPointer createAttributeToResourceMap(Id nId) = 0;
+ virtual ListValueMapPointer createListValueMap(Id nId) = 0;
+ virtual CreateElementMapPointer createCreateElementMap(Id nId) = 0;
+ virtual TokenToIdMapPointer createTokenToIdMap(Id nId) = 0;
+};
+
+class OOXMLFactory
+{
+public:
+ typedef boost::shared_ptr<OOXMLFactory> Pointer_t;
+
+ static Pointer_t getInstance();
+
+ uno::Reference< xml::sax::XFastContextHandler> createFastChildContext
+ (OOXMLFastContextHandler * pHandler, Token_t Element);
+
+ uno::Reference< xml::sax::XFastContextHandler> createFastChildContextFromStart
+ (OOXMLFastContextHandler * pHandler, Token_t Element);
+
+ void attributes(OOXMLFastContextHandler * pHandler,
+ const uno::Reference< xml::sax::XFastAttributeList > & Attribs);
+
+ void characters(OOXMLFastContextHandler * pHandler,
+ const ::rtl::OUString & rString);
+
+ void startAction(OOXMLFastContextHandler * pHandler, Token_t nToken);
+ void endAction(OOXMLFastContextHandler * pHandler, Token_t nToken);
+
+ virtual ~OOXMLFactory();
+
+private:
+ static Pointer_t m_Instance;
+
+ OOXMLFactory();
+ OOXMLFactory_ns::Pointer_t getFactoryForNamespace(Id id);
+
+ uno::Reference< xml::sax::XFastContextHandler>
+ createFastChildContextFromFactory(OOXMLFastContextHandler * pHandler,
+ OOXMLFactory_ns::Pointer_t pFactory,
+ Token_t Element);
+};
+
+}
+}
+
+#endif // INCLUDED_OOXML_FACTORY_HXX
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
index 6b52563887ee..51960959d185 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
@@ -9,7 +9,7 @@
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
+ * it under the terms of the GNU Lesser General Public License version 3sen
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
@@ -33,11 +33,15 @@
#include <resourcemodel/QNameToString.hxx>
#include <resourcemodel/util.hxx>
#include <ooxml/resourceids.hxx>
+#include <doctok/sprmids.hxx>
#include <ooxml/OOXMLnamespaceids.hxx>
#include "OOXMLFastContextHandler.hxx"
+#include "OOXMLFactory.hxx"
#include "Handler.hxx"
#include "ooxmlLoggers.hxx"
+static const ::rtl::OUString aEmptyStr;
+
static const sal_uInt8 s0x7[] = { 0x7, 0x0 };
static const sal_uInt8 s0xd[] = { 0xd, 0x0 };
static const sal_uInt8 sCR[] = { 0xd, 0x0 };
@@ -105,10 +109,12 @@ public:
virtual string toString(const Id & rId) const
{
- string s(fastTokenToId(rId));
+ string s((*QNameToString::Instance())(rId));
if (s.size() == 0)
- s = (*QNameToString::Instance())(rId);
+ s = "(fasttoken)" + fastTokenToId(rId);
+ else
+ s = "(qname)" + s;
return s;
}
@@ -124,6 +130,7 @@ OOXMLFastContextHandler::OOXMLFastContextHandler
(uno::Reference< uno::XComponentContext > const & context)
: mpParent(NULL),
mId(0),
+ mnDefine(0),
mnToken(OOXML_FAST_TOKENS_END),
mpStream(NULL),
mnTableDepth(0),
@@ -295,7 +302,7 @@ void OOXMLFastContextHandler::lcl_startFastElement
const uno::Reference< xml::sax::XFastAttributeList > & /*Attribs*/)
throw (uno::RuntimeException, xml::sax::SAXException)
{
- startAction(Element);
+ OOXMLFactory::getInstance()->startAction(this, Element);
}
void OOXMLFastContextHandler::lcl_endFastElement
@@ -310,7 +317,7 @@ void OOXMLFastContextHandler::lcl_endFastElement
debug_logger->endElement("token");
#endif
- endAction(Element);
+ OOXMLFactory::getInstance()->endAction(this, Element);
}
void SAL_CALL OOXMLFastContextHandler::endUnknownElement
@@ -347,14 +354,11 @@ uno::Reference< xml::sax::XFastContextHandler > SAL_CALL
uno::Reference< xml::sax::XFastContextHandler >
OOXMLFastContextHandler::lcl_createFastChildContext
-(Token_t /*Element*/,
+(Token_t Element,
const uno::Reference< xml::sax::XFastAttributeList > & /*Attribs*/)
throw (uno::RuntimeException, xml::sax::SAXException)
{
- OOXMLFastContextHandler * pResult = new OOXMLFastContextHandler(this);
- pResult->setFallback(true);
-
- return uno::Reference< xml::sax::XFastContextHandler > (pResult);
+ return OOXMLFactory::getInstance()->createFastChildContext(this, Element);
}
uno::Reference< xml::sax::XFastContextHandler > SAL_CALL
@@ -386,9 +390,10 @@ void SAL_CALL OOXMLFastContextHandler::characters
}
void OOXMLFastContextHandler::lcl_characters
-(const ::rtl::OUString & /*aChars*/)
+(const ::rtl::OUString & rString)
throw (uno::RuntimeException, xml::sax::SAXException)
{
+ OOXMLFactory::getInstance()->characters(this, rString);
}
const uno::Sequence< sal_Int8 > & OOXMLFastContextHandler::getUnoTunnelId()
@@ -422,9 +427,10 @@ OOXMLValue::Pointer_t OOXMLFastContextHandler::getValue() const
}
void OOXMLFastContextHandler::attributes
-(const uno::Reference< xml::sax::XFastAttributeList > & /*Attribs*/)
+(const uno::Reference< xml::sax::XFastAttributeList > & Attribs)
throw (uno::RuntimeException, xml::sax::SAXException)
{
+ OOXMLFactory::getInstance()->attributes(this, Attribs);
}
void OOXMLFastContextHandler::startAction(Token_t Element)
@@ -438,8 +444,9 @@ void OOXMLFastContextHandler::startAction(Token_t Element)
#endif
}
-void OOXMLFastContextHandler::lcl_startAction(Token_t /* Element */)
+void OOXMLFastContextHandler::lcl_startAction(Token_t Element)
{
+ OOXMLFactory::getInstance()->startAction(this, Element);
}
void OOXMLFastContextHandler::endAction(Token_t Element)
@@ -453,8 +460,9 @@ void OOXMLFastContextHandler::endAction(Token_t Element)
#endif
}
-void OOXMLFastContextHandler::lcl_endAction(Token_t /* Element */)
+void OOXMLFastContextHandler::lcl_endAction(Token_t Element)
{
+ OOXMLFactory::getInstance()->endAction(this, Element);
}
XMLTag::Pointer_t OOXMLFastContextHandler::toPropertiesTag
@@ -518,7 +526,7 @@ void OOXMLFastContextHandler::setId(Id rId)
debug_logger->startElement("setId");
static char sBuffer[256];
- snprintf(sBuffer, sizeof(sBuffer), "%ld", rId);
+ snprintf(sBuffer, sizeof(sBuffer), "%" SAL_PRIuUINT32, rId);
debug_logger->attribute("id", sBuffer);
debug_logger->chars((*QNameToString::Instance())(rId));
@@ -533,6 +541,16 @@ Id OOXMLFastContextHandler::getId() const
return mId;
}
+void OOXMLFastContextHandler::setDefine(Id nDefine)
+{
+ mnDefine = nDefine;
+}
+
+Id OOXMLFastContextHandler::getDefine() const
+{
+ return mnDefine;
+}
+
void OOXMLFastContextHandler::setFallback(bool bFallback)
{
mbFallback = bFallback;
@@ -603,14 +621,14 @@ void OOXMLFastContextHandler::sendTableDepth() const
OOXMLValue::Pointer_t pVal
(new OOXMLIntegerValue(mnTableDepth));
OOXMLProperty::Pointer_t pProp
- (new OOXMLPropertyImpl(0x6649, pVal, OOXMLPropertyImpl::SPRM));
+ (new OOXMLPropertyImpl(NS_sprm::LN_PTableDepth, pVal, OOXMLPropertyImpl::SPRM));
pProps->add(pProp);
}
{
OOXMLValue::Pointer_t pVal
(new OOXMLIntegerValue(1));
OOXMLProperty::Pointer_t pProp
- (new OOXMLPropertyImpl(0x2416, pVal, OOXMLPropertyImpl::SPRM));
+ (new OOXMLPropertyImpl(NS_sprm::LN_PFInTable, pVal, OOXMLPropertyImpl::SPRM));
pProps->add(pProp);
}
@@ -620,10 +638,10 @@ void OOXMLFastContextHandler::sendTableDepth() const
debug_logger->endElement("props");
#endif
mpStream->props(writerfilter::Reference<Properties>::Pointer_t(pProps));
-#ifdef DEBUG_PROPERTIES
- debug_logger->endElement("sendTableDepth");
-#endif
}
+#ifdef DEBUG_ELEMENT
+ debug_logger->endElement("sendTableDepth");
+#endif
}
void OOXMLFastContextHandler::setHandle()
@@ -945,13 +963,103 @@ bool OOXMLFastContextHandler::propagatesProperties() const
return false;
}
+void OOXMLFastContextHandler::propagateCellProperties()
+{
+#ifdef DEBUG_ELEMENT
+ debug_logger->element("propagateCellProperties");
+#endif
+
+ mpParserState->setCellProperties(getPropertySet());
+}
+
+void OOXMLFastContextHandler::propagateRowProperties()
+{
+#ifdef DEBUG_ELEMENT
+ debug_logger->element("propagateRowProperties");
+#endif
+
+ mpParserState->setRowProperties(getPropertySet());
+}
+
void OOXMLFastContextHandler::propagateTableProperties()
{
+ OOXMLPropertySet::Pointer_t pProps = getPropertySet();
+#ifdef DEBUG_ELEMENT
+ debug_logger->startElement("propagateTableProperties");
+ debug_logger->addTag(toPropertiesTag(pProps));
+ debug_logger->endElement("propagateTableProperties");
+#endif
+
+ mpParserState->setTableProperties(pProps);
+}
+
+void OOXMLFastContextHandler::sendCellProperties()
+{
+#ifdef DEBUG_ELEMENT
+ debug_logger->startElement("sendCellProperties");
+#endif
+
+ mpParserState->resolveCellProperties(*mpStream);
+
+#ifdef DEBUG_ELEMENT
+ debug_logger->endElement("sendCellProperties");
+#endif
+}
+
+void OOXMLFastContextHandler::sendRowProperties()
+{
+#ifdef DEBUG_ELEMENT
+ debug_logger->startElement("sendRowProperties");
+#endif
+
+ mpParserState->resolveRowProperties(*mpStream);
+
+#ifdef DEBUG_ELEMENT
+ debug_logger->endElement("sendRowProperties");
+#endif
+}
+
+void OOXMLFastContextHandler::sendTableProperties()
+{
#ifdef DEBUG_ELEMENT
- debug_logger->element("propagateTableProperties");
+ debug_logger->startElement("sendTableProperties");
#endif
- mpParserState->setTableProperties(getPropertySet());
+ mpParserState->resolveTableProperties(*mpStream);
+
+#ifdef DEBUG_ELEMENT
+ debug_logger->endElement("sendTableProperties");
+#endif
+}
+
+void OOXMLFastContextHandler::clearCellProps()
+{
+#ifdef DEBUG_ELEMENT
+ debug_logger->element("clearCellProps");
+#endif
+
+ mpParserState->setCellProperties(OOXMLPropertySet::Pointer_t
+ (new OOXMLPropertySetImpl()));
+}
+
+void OOXMLFastContextHandler::clearRowProps()
+{
+#ifdef DEBUG_ELEMENT
+ debug_logger->element("clearRowProps");
+#endif
+
+ mpParserState->setRowProperties(OOXMLPropertySet::Pointer_t
+ (new OOXMLPropertySetImpl()));
+}
+
+void OOXMLFastContextHandler::clearTableProps()
+{
+#ifdef DEBUG_ELEMENT
+ debug_logger->element("clearTableProps");
+#endif
+
+ mpParserState->setTableProperties(OOXMLPropertySet::Pointer_t
+ (new OOXMLPropertySetImpl()));
}
void OOXMLFastContextHandler::sendPropertiesWithId(const Id & rId)
@@ -985,6 +1093,27 @@ void OOXMLFastContextHandler::clearProps()
setPropertySet(OOXMLPropertySet::Pointer_t(new OOXMLPropertySetImpl()));
}
+void OOXMLFastContextHandler::setDefaultBooleanValue()
+{
+}
+
+void OOXMLFastContextHandler::setDefaultIntegerValue()
+{
+}
+
+void OOXMLFastContextHandler::setDefaultHexValue()
+{
+}
+
+void OOXMLFastContextHandler::setDefaultStringValue()
+{
+}
+
+const ::rtl::OUString & OOXMLFastContextHandler::getText() const
+{
+ return aEmptyStr;
+}
+
void OOXMLFastContextHandler::setDocument(OOXMLDocument * pDocument)
{
mpParserState->setDocument(pDocument);
@@ -1021,6 +1150,11 @@ void OOXMLFastContextHandler::setXNoteId(const ::rtl::OUString & rId)
mpParserState->setXNoteId(rId);
}
+void OOXMLFastContextHandler::setXNoteId(OOXMLValue::Pointer_t pValue)
+{
+ mpParserState->setXNoteId(pValue->getString());
+}
+
const rtl::OUString & OOXMLFastContextHandler::getXNoteId() const
{
return mpParserState->getXNoteId();
@@ -1083,6 +1217,10 @@ void OOXMLFastContextHandler::resolvePropertySetAttrs()
void OOXMLFastContextHandler::sendPropertyToParent()
{
+#ifdef DEBUG_ELEMENT
+ debug_logger->startElement("sendPropertyToParent");
+#endif
+
if (mpParent != NULL)
{
OOXMLPropertySet::Pointer_t pProps(mpParent->getPropertySet());
@@ -1093,8 +1231,64 @@ void OOXMLFastContextHandler::sendPropertyToParent()
pProp(new OOXMLPropertyImpl(mId, getValue(),
OOXMLPropertyImpl::SPRM));
pProps->add(pProp);
+
+#ifdef DEBUG_ELEMENT
+ debug_logger->addTag(toPropertiesTag(pProps));
+#endif
}
}
+
+#ifdef DEBUG_ELEMENT
+ debug_logger->endElement("sendPropertyToParent");
+#endif
+}
+
+void OOXMLFastContextHandler::sendPropertiesToParent()
+{
+#ifdef DEBUG_ELEMENT
+ debug_logger->startElement("sendPropertiesToParent");
+#endif
+ if (mpParent != NULL)
+ {
+ OOXMLPropertySet::Pointer_t pParentProps(mpParent->getPropertySet());
+
+ if (pParentProps.get() != NULL)
+ {
+ OOXMLPropertySet::Pointer_t pProps(getPropertySet());
+
+#ifdef DEBUG_ELEMENT
+ debug_logger->startElement("me");
+ debug_logger->addTag(toPropertiesTag(pProps));
+ debug_logger->endElement("me");
+#endif
+
+ if (pProps.get() != NULL)
+ {
+ OOXMLValue::Pointer_t pValue
+ (new OOXMLPropertySetValue(getPropertySet()));
+
+ OOXMLProperty::Pointer_t pProp
+ (new OOXMLPropertyImpl(getId(), pValue, OOXMLPropertyImpl::SPRM));
+
+#ifdef DEBUG_ELEMENT
+ debug_logger->startElement("propertyForSet");
+ debug_logger->chars(pProp->toString());
+ debug_logger->endElement("propertyForSet");
+#endif
+
+ pParentProps->add(pProp);
+
+#ifdef DEBUG_ELEMENT
+ debug_logger->startElement("parent");
+ debug_logger->addTag(toPropertiesTag(pParentProps));
+ debug_logger->endElement("parent");
+#endif
+ }
+ }
+ }
+#ifdef DEBUG_ELEMENT
+ debug_logger->endElement("sendPropertiesToParent");
+#endif
}
uno::Reference< uno::XComponentContext >
@@ -1229,39 +1423,16 @@ void OOXMLFastContextHandlerProperties::lcl_endFastElement
{
#ifdef DEBUG_PROPERTIES
debug_logger->startElement("sendproperties");
- debug_logger->addTag(toPropertiesTag(getPropertySet()));
- debug_logger->endElement("sendproperties");
#endif
mpStream->props(mpPropertySet);
+#ifdef DEBUG_PROPERTIES
+ debug_logger->endElement("sendproperties");
+#endif
}
}
else
{
- OOXMLValue::Pointer_t pVal
- (new OOXMLPropertySetValue(mpPropertySet));
-
- OOXMLPropertyImpl::Pointer_t pProperty
- (new OOXMLPropertyImpl(mId, pVal, OOXMLPropertyImpl::SPRM));
-
- OOXMLPropertySet::Pointer_t pProperties = (*mpParent).getPropertySet();
-
- if (pProperties.get() != NULL)
- {
-#ifdef DEBUG_PROPERTIES
- debug_logger->startElement("property");
- debug_logger->chars(xmlify(pProperty->toString()));
- debug_logger->endElement("property");
-#endif
- pProperties->add(pProperty);
- }
-#ifdef DEBUG_PROPERTIES
- else if (! propagatesProperties())
- {
- debug_logger->startElement("warning");
- debug_logger->chars("properties lost");
- debug_logger->endElement("warning");
- }
-#endif
+ sendPropertiesToParent();
}
}
@@ -1425,197 +1596,102 @@ void OOXMLFastContextHandlerPropertyTable::lcl_endFastElement
mTable.add(pTmpVal);
writerfilter::Reference<Table>::Pointer_t pTable(mTable.clone());
- mpStream->table(mId, pTable);
-
- endAction(Element);
-}
-
-/*
- class OOXMLFastContextHandlerBooleanValue
- */
-
-OOXMLFastContextHandlerBooleanValue::OOXMLFastContextHandlerBooleanValue
-(OOXMLFastContextHandler * pContext)
-: OOXMLFastContextHandler(pContext), mbValue(true)
-{
-}
-OOXMLFastContextHandlerBooleanValue::~OOXMLFastContextHandlerBooleanValue()
-{
-}
-
-void OOXMLFastContextHandlerBooleanValue::attributes
-(const uno::Reference < xml::sax::XFastAttributeList > & Attribs)
- throw (uno::RuntimeException, xml::sax::SAXException)
-{
- if (Attribs->hasAttribute(NS_wordprocessingml|OOXML_val))
- mbValue = Attribs->getValue(NS_wordprocessingml|OOXML_val).toBoolean();
-}
-
-OOXMLValue::Pointer_t OOXMLFastContextHandlerBooleanValue::getValue() const
-{
- return OOXMLValue::Pointer_t(new OOXMLBooleanValue(mbValue));
-}
-
-void OOXMLFastContextHandlerBooleanValue::setValue
-(const ::rtl::OUString & rString)
-{
- static rtl::OUString sOn(RTL_CONSTASCII_USTRINGPARAM("on"));
- static rtl::OUString sOff(RTL_CONSTASCII_USTRINGPARAM("off"));
- static rtl::OUString sTrue(RTL_CONSTASCII_USTRINGPARAM("true"));
- static rtl::OUString sFalse(RTL_CONSTASCII_USTRINGPARAM("false"));
-
- if (rString == sOn || rString == sTrue)
- mbValue = true;
- else if (rString == sOff || rString == sFalse)
- mbValue = false;
-}
+#ifdef DEBUG_PROPERTIES
+ debug_logger->startElement("table");
+ debug_logger->attribute("id", (*QNameToString::Instance())(mId));
+ debug_logger->endElement("table");
+#endif
-void OOXMLFastContextHandlerBooleanValue::lcl_endFastElement
-(Token_t Element)
- throw (uno::RuntimeException, xml::sax::SAXException)
-{
- sendPropertyToParent();
+ mpStream->table(mId, pTable);
endAction(Element);
}
/*
- class OOXMLFastContextHandlerIntegerValue
- */
+ class OOXMLFastContextHandlerValue
+*/
-OOXMLFastContextHandlerIntegerValue::OOXMLFastContextHandlerIntegerValue
+OOXMLFastContextHandlerValue::OOXMLFastContextHandlerValue
(OOXMLFastContextHandler * pContext)
-: OOXMLFastContextHandler(pContext), mnValue(0)
-{
-}
-
-OOXMLFastContextHandlerIntegerValue::~OOXMLFastContextHandlerIntegerValue()
-{
-}
-
-void OOXMLFastContextHandlerIntegerValue::attributes
-(const uno::Reference < xml::sax::XFastAttributeList > & Attribs)
- throw (uno::RuntimeException, xml::sax::SAXException)
-{
- if (Attribs->hasAttribute(NS_wordprocessingml|OOXML_val))
- mnValue = Attribs->getValue(NS_wordprocessingml|OOXML_val).toInt32();
-}
-
-void OOXMLFastContextHandlerIntegerValue::lcl_endFastElement
-(Token_t Element)
- throw (uno::RuntimeException, xml::sax::SAXException)
-{
- sendPropertyToParent();
-
- endAction(Element);
-}
-
-OOXMLValue::Pointer_t OOXMLFastContextHandlerIntegerValue::getValue() const
+: OOXMLFastContextHandler(pContext)
{
- return OOXMLValue::Pointer_t(new OOXMLIntegerValue(mnValue));
}
-/*
- class OOXMLFastContextHandlerStringValue
- */
-
-OOXMLFastContextHandlerStringValue::OOXMLFastContextHandlerStringValue
-(OOXMLFastContextHandler * pContext)
-: OOXMLFastContextHandler(pContext)
+OOXMLFastContextHandlerValue::~OOXMLFastContextHandlerValue()
{
}
-OOXMLFastContextHandlerStringValue::~OOXMLFastContextHandlerStringValue()
+void OOXMLFastContextHandlerValue::setValue(OOXMLValue::Pointer_t pValue)
{
+ mpValue = pValue;
}
-void OOXMLFastContextHandlerStringValue::attributes
-(const uno::Reference < xml::sax::XFastAttributeList > & Attribs)
- throw (uno::RuntimeException, xml::sax::SAXException)
+OOXMLValue::Pointer_t OOXMLFastContextHandlerValue::getValue() const
{
- if (Attribs->hasAttribute(NS_wordprocessingml|OOXML_val))
- msValue = Attribs->getValue(NS_wordprocessingml|OOXML_val);
+ return mpValue;
}
-void OOXMLFastContextHandlerStringValue::lcl_endFastElement
+void OOXMLFastContextHandlerValue::lcl_endFastElement
(Token_t Element)
- throw (uno::RuntimeException, xml::sax::SAXException)
+throw (uno::RuntimeException, xml::sax::SAXException)
{
sendPropertyToParent();
endAction(Element);
}
-OOXMLValue::Pointer_t OOXMLFastContextHandlerStringValue::getValue() const
+void OOXMLFastContextHandlerValue::setDefaultBooleanValue()
{
- return OOXMLValue::Pointer_t(new OOXMLStringValue(msValue));
-}
-
-/*
- class OOXMLFastContextHandlerHexValue
- */
-
-OOXMLFastContextHandlerHexValue::OOXMLFastContextHandlerHexValue
-(OOXMLFastContextHandler * pContext)
-: OOXMLFastContextHandler(pContext), mnValue(0)
-{
-}
-
-OOXMLFastContextHandlerHexValue::~OOXMLFastContextHandlerHexValue()
-{
-}
+#ifdef DEBUG_ELEMENT
+ debug_logger->element("setDefaultBooleanValue");
+#endif
-void OOXMLFastContextHandlerHexValue::attributes
-(const uno::Reference < xml::sax::XFastAttributeList > & Attribs)
- throw (uno::RuntimeException, xml::sax::SAXException)
-{
- if (Attribs->hasAttribute(NS_wordprocessingml|OOXML_val))
- mnValue = Attribs->getValue(NS_wordprocessingml|OOXML_val).toInt32(16);
+ if (mpValue.get() == NULL)
+ {
+ OOXMLValue::Pointer_t pValue(new OOXMLBooleanValue(true));
+ setValue(pValue);
+ }
}
-void OOXMLFastContextHandlerHexValue::lcl_endFastElement
-(Token_t Element)
- throw (uno::RuntimeException, xml::sax::SAXException)
+void OOXMLFastContextHandlerValue::setDefaultIntegerValue()
{
- sendPropertyToParent();
+#ifdef DEBUG_ELEMENT
+ debug_logger->element("setDefaultIntegerValue");
+#endif
- endAction(Element);
+ if (mpValue.get() == NULL)
+ {
+ OOXMLValue::Pointer_t pValue(new OOXMLIntegerValue(0));
+ setValue(pValue);
+ }
}
-OOXMLValue::Pointer_t OOXMLFastContextHandlerHexValue::getValue() const
+void OOXMLFastContextHandlerValue::setDefaultHexValue()
{
- return OOXMLValue::Pointer_t(new OOXMLIntegerValue(mnValue));
-}
-
-/*
- class OOXMLFastContextHandlerListValue
- */
-
-OOXMLFastContextHandlerListValue::OOXMLFastContextHandlerListValue
-(OOXMLFastContextHandler * pContext)
-: OOXMLFastContextHandler(pContext)
-{
-}
+#ifdef DEBUG_ELEMENT
+ debug_logger->element("setDefaultHexValue");
+#endif
-OOXMLFastContextHandlerListValue::~OOXMLFastContextHandlerListValue()
-{
+ if (mpValue.get() == NULL)
+ {
+ OOXMLValue::Pointer_t pValue(new OOXMLHexValue(0));
+ setValue(pValue);
+ }
}
-void OOXMLFastContextHandlerListValue::lcl_endFastElement
-(Token_t Element)
- throw (uno::RuntimeException, xml::sax::SAXException)
+void OOXMLFastContextHandlerValue::setDefaultStringValue()
{
- sendPropertyToParent();
-
- endAction(Element);
-}
+#ifdef DEBUG_ELEMENT
+ debug_logger->element("setDefaultStringValue");
+#endif
-OOXMLValue::Pointer_t OOXMLFastContextHandlerListValue::getValue() const
-{
- return mpValue;
+ if (mpValue.get() == NULL)
+ {
+ OOXMLValue::Pointer_t pValue(new OOXMLStringValue(::rtl::OUString()));
+ setValue(pValue);
+ }
}
-
/*
class OOXMLFastContextHandlerTable
*/
@@ -1652,7 +1728,16 @@ void OOXMLFastContextHandlerTable::lcl_endFastElement
writerfilter::Reference<Table>::Pointer_t pTable(mTable.clone());
if (isForwardEvents() && mId != 0x0)
+ {
+#ifdef DEBUG_PROPERTIES
+ debug_logger->startElement("table");
+ string str = (*QNameToString::Instance())(mId);
+ debug_logger->attribute("id", str);
+ debug_logger->endElement("table");
+#endif
+
mpStream->table(mId, pTable);
+ }
}
void OOXMLFastContextHandlerTable::addCurrentChild()
@@ -1714,16 +1799,16 @@ void OOXMLFastContextHandlerXNote::lcl_endFastElement
setForwardEvents(mbForwardEventsSaved);
}
-void OOXMLFastContextHandlerXNote::checkId(const rtl::OUString & rId)
+void OOXMLFastContextHandlerXNote::checkId(OOXMLValue::Pointer_t pValue)
{
#ifdef DEBUG_ELEMENT
debug_logger->startElement("checkId");
- debug_logger->attribute("myId", rId);
+ debug_logger->attribute("myId", pValue->getString());
debug_logger->attribute("id", getXNoteId());
debug_logger->endElement("checkId");
#endif
- msMyXNoteId = rId;
+ msMyXNoteId = pValue->getString();
}
/*
@@ -1753,21 +1838,21 @@ void OOXMLFastContextHandlerTextTableCell::endCell()
OOXMLValue::Pointer_t pVal
(new OOXMLIntegerValue(mnTableDepth));
OOXMLProperty::Pointer_t pProp
- (new OOXMLPropertyImpl(0x6649, pVal, OOXMLPropertyImpl::SPRM));
+ (new OOXMLPropertyImpl(NS_sprm::LN_PTableDepth, pVal, OOXMLPropertyImpl::SPRM));
pProps->add(pProp);
}
{
OOXMLValue::Pointer_t pVal
(new OOXMLIntegerValue(1));
OOXMLProperty::Pointer_t pProp
- (new OOXMLPropertyImpl(0x2416, pVal, OOXMLPropertyImpl::SPRM));
+ (new OOXMLPropertyImpl(NS_sprm::LN_PFInTable, pVal, OOXMLPropertyImpl::SPRM));
pProps->add(pProp);
}
{
OOXMLValue::Pointer_t pVal
- (new OOXMLIntegerValue(mnTableDepth));
+ (new OOXMLBooleanValue(mnTableDepth > 0));
OOXMLProperty::Pointer_t pProp
- (new OOXMLPropertyImpl(0x244b, pVal, OOXMLPropertyImpl::SPRM));
+ (new OOXMLPropertyImpl(NS_sprm::LN_PCell, pVal, OOXMLPropertyImpl::SPRM));
pProps->add(pProp);
}
@@ -1789,12 +1874,10 @@ OOXMLFastContextHandlerTextTableRow::OOXMLFastContextHandlerTextTableRow
(OOXMLFastContextHandler * pContext)
: OOXMLFastContextHandler(pContext)
{
- startRow();
}
OOXMLFastContextHandlerTextTableRow::~OOXMLFastContextHandlerTextTableRow()
{
- endRow();
}
void OOXMLFastContextHandlerTextTableRow::startRow()
@@ -1812,21 +1895,21 @@ void OOXMLFastContextHandlerTextTableRow::endRow()
OOXMLValue::Pointer_t pVal
(new OOXMLIntegerValue(mnTableDepth));
OOXMLProperty::Pointer_t pProp
- (new OOXMLPropertyImpl(0x6649, pVal, OOXMLPropertyImpl::SPRM));
+ (new OOXMLPropertyImpl(NS_sprm::LN_PTableDepth, pVal, OOXMLPropertyImpl::SPRM));
pProps->add(pProp);
}
{
OOXMLValue::Pointer_t pVal
(new OOXMLIntegerValue(1));
OOXMLProperty::Pointer_t pProp
- (new OOXMLPropertyImpl(0x2416, pVal, OOXMLPropertyImpl::SPRM));
+ (new OOXMLPropertyImpl(NS_sprm::LN_PFInTable, pVal, OOXMLPropertyImpl::SPRM));
pProps->add(pProp);
}
{
OOXMLValue::Pointer_t pVal
(new OOXMLIntegerValue(1));
OOXMLProperty::Pointer_t pProp
- (new OOXMLPropertyImpl(0x244c, pVal, OOXMLPropertyImpl::SPRM));
+ (new OOXMLPropertyImpl(NS_sprm::LN_PRow, pVal, OOXMLPropertyImpl::SPRM));
pProps->add(pProp);
}
@@ -1838,7 +1921,6 @@ void OOXMLFastContextHandlerTextTableRow::endRow()
#endif
mpStream->props(writerfilter::Reference<Properties>::Pointer_t(pProps));
- mpParserState->resolveTableProperties(*mpStream);
}
startCharacterGroup();
@@ -1846,6 +1928,7 @@ void OOXMLFastContextHandlerTextTableRow::endRow()
if (isForwardEvents())
mpStream->utext(s0xd, 1);
+ endCharacterGroup();
endParagraphGroup();
}
@@ -1861,6 +1944,7 @@ OOXMLFastContextHandlerTextTable::OOXMLFastContextHandlerTextTable
OOXMLFastContextHandlerTextTable::~OOXMLFastContextHandlerTextTable()
{
+ clearTableProps();
}
void OOXMLFastContextHandlerTextTable::lcl_startFastElement
@@ -1868,6 +1952,7 @@ void OOXMLFastContextHandlerTextTable::lcl_startFastElement
const uno::Reference< xml::sax::XFastAttributeList > & /*Attribs*/)
throw (uno::RuntimeException, xml::sax::SAXException)
{
+ mpParserState->startTable();
mnTableDepth++;
boost::shared_ptr<OOXMLPropertySet> pProps( new OOXMLPropertySetImpl );
@@ -1890,6 +1975,7 @@ void OOXMLFastContextHandlerTextTable::lcl_endFastElement
endAction(Element);
mnTableDepth--;
+ mpParserState->endTable();
}
/*
@@ -1964,7 +2050,8 @@ void SAL_CALL ShapesNoAdd::remove(const uno::Reference< drawing::XShape > & xSha
OOXMLFastContextHandlerShape::OOXMLFastContextHandlerShape
(OOXMLFastContextHandler * pContext)
-: OOXMLFastContextHandlerProperties(pContext), m_bShapeSent( false )
+: OOXMLFastContextHandlerProperties(pContext), m_bShapeSent( false ),
+ m_bShapeStarted(false)
{
uno::Reference<uno::XComponentContext> xContext(getComponentContext());
if (xContext.is())
@@ -2056,7 +2143,10 @@ void OOXMLFastContextHandlerShape::sendShape( Token_t Element )
// Notify the dmapper that the shape is ready to use
if ( !bIsPicture )
+ {
mpStream->startShape( xShape );
+ m_bShapeStarted = true;
+ }
}
}
}
@@ -2075,7 +2165,7 @@ void OOXMLFastContextHandlerShape::lcl_endFastElement
// Ending the shape should be the last thing to do
bool bIsPicture = Element == ( NS_picture | OOXML_pic );
- if ( !bIsPicture )
+ if ( !bIsPicture && m_bShapeStarted)
mpStream->endShape( );
}
@@ -2103,7 +2193,7 @@ OOXMLFastContextHandlerShape::lcl_createFastChildContext
case NS_wordprocessingml:
case NS_vml_wordprocessingDrawing:
case NS_office:
- xContextHandler.set(createFromStart(Element, Attribs));
+ xContextHandler.set(OOXMLFactory::getInstance()->createFastChildContextFromStart(this, Element));
break;
default:
if (mrShapeContext.is())
@@ -2287,7 +2377,7 @@ OOXMLFastContextHandlerWrapper::lcl_createFastChildContext
bool bInNamespaces = mMyNamespaces.find(nNameSpace) != mMyNamespaces.end();
bool bInTokens = mMyTokens.find( Element ) != mMyTokens.end( );
if ( bInNamespaces )
- xResult.set(createFromStart(Element, Attribs));
+ xResult.set(OOXMLFactory::getInstance()->createFastChildContextFromStart(this, Element));
else if (mxContext.is())
{
OOXMLFastContextHandlerWrapper * pWrapper =
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
index 26e040182f57..b67f86fda3e7 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
@@ -130,7 +130,7 @@ public:
*/
virtual string getType() const { return "??"; }
- virtual ResourceEnum_t getResource() const { return UNKNOWN; }
+ virtual ResourceEnum_t getResource() const { return STREAM; }
static XMLTag::Pointer_t toPropertiesTag(OOXMLPropertySet::Pointer_t);
virtual XMLTag::Pointer_t toTag() const;
@@ -168,6 +168,7 @@ public:
void setDocument(OOXMLDocument * pDocument);
OOXMLDocument * getDocument();
+ void setXNoteId(OOXMLValue::Pointer_t pValue);
void setXNoteId(const ::rtl::OUString & rId);
const rtl::OUString & getXNoteId() const;
void setForwardEvents(bool bForwardEvents);
@@ -176,6 +177,8 @@ public:
virtual void setId(Id nId);
virtual Id getId() const;
+ void setDefine(Id nDefine);
+ Id getDefine() const;
void setFallback(bool bFallbac);
bool isFallback() const;
@@ -188,11 +191,61 @@ public:
sal_uInt32 getInstanceNumber() const;
+ void sendTableDepth() const;
+ void setHandle();
+
+ void startSectionGroup();
+ void setLastParagraphInSection();
+ void endSectionGroup();
+ void startParagraphGroup();
+ void endParagraphGroup();
+ void startCharacterGroup();
+ void endCharacterGroup();
+
+ void startField();
+ void fieldSeparator();
+ void endField();
+ void ftnednref();
+ void ftnedncont();
+ void ftnednsep();
+ void pgNum();
+ void tab();
+ void cr();
+ void noBreakHyphen();
+ void softHyphen();
+ void handleLastParagraphInSection();
+ void endOfParagraph();
+ void text(const ::rtl::OUString & sText);
+ virtual void propagateCharacterProperties();
+ virtual void propagateCharacterPropertiesAsSet(const Id & rId);
+ virtual void propagateTableProperties();
+ virtual void propagateRowProperties();
+ virtual void propagateCellProperties();
+ virtual bool propagatesProperties() const;
+ void sendPropertiesWithId(const Id & rId);
+ void sendPropertiesToParent();
+ void sendCellProperties();
+ void sendRowProperties();
+ void sendTableProperties();
+ void clearCellProps();
+ void clearRowProps();
+ void clearTableProps();
+ void clearProps();
+
+ virtual void setDefaultBooleanValue();
+ virtual void setDefaultIntegerValue();
+ virtual void setDefaultHexValue();
+ virtual void setDefaultStringValue();
+
+ const ::rtl::OUString & getText() const;
+
+ void sendPropertyToParent();
static void dumpOpenContexts();
protected:
OOXMLFastContextHandler * mpParent;
Id mId;
+ Id mnDefine;
Token_t mnToken;
#ifdef DEBUG_CONTEXT_STACK
@@ -238,40 +291,6 @@ protected:
(const ::rtl::OUString & rId);
virtual void resolvePropertySetAttrs();
- void sendTableDepth() const;
- void setHandle();
-
- void startSectionGroup();
- void setLastParagraphInSection();
- void endSectionGroup();
- void startParagraphGroup();
- void endParagraphGroup();
- void startCharacterGroup();
- void endCharacterGroup();
-
- void startField();
- void fieldSeparator();
- void endField();
- void ftnednref();
- void ftnedncont();
- void ftnednsep();
- void pgNum();
- void tab();
- void cr();
- void noBreakHyphen();
- void softHyphen();
- void handleLastParagraphInSection();
- void endOfParagraph();
- void text(const ::rtl::OUString & sText);
- virtual void propagateCharacterProperties();
- virtual void propagateCharacterPropertiesAsSet(const Id & rId);
- virtual bool propagatesProperties() const;
- void sendPropertiesWithId(const Id & rId);
- void propagateTableProperties();
- void clearProps();
-
- void sendPropertyToParent();
-
uno::Reference< uno::XComponentContext > getComponentContext();
sal_uInt32 mnInstanceNumber;
@@ -368,101 +387,29 @@ protected:
throw (uno::RuntimeException, xml::sax::SAXException);
};
-class OOXMLFastContextHandlerBooleanValue :
+class OOXMLFastContextHandlerValue :
public OOXMLFastContextHandler
{
public:
- OOXMLFastContextHandlerBooleanValue
+ OOXMLFastContextHandlerValue
(OOXMLFastContextHandler * pContext);
- virtual ~OOXMLFastContextHandlerBooleanValue();
-
-protected:
- bool mbValue;
-
- virtual void attributes
- (const uno::Reference < xml::sax::XFastAttributeList > & Attribs)
- throw (uno::RuntimeException, xml::sax::SAXException);
- virtual void lcl_endFastElement(Token_t Element)
- throw (uno::RuntimeException, xml::sax::SAXException);
+ virtual ~OOXMLFastContextHandlerValue();
+ virtual void setValue(OOXMLValue::Pointer_t pValue);
virtual OOXMLValue::Pointer_t getValue() const;
- void setValue(const ::rtl::OUString & rString);
-};
-
-class OOXMLFastContextHandlerIntegerValue :
- public OOXMLFastContextHandler
-{
-public:
- OOXMLFastContextHandlerIntegerValue
- (OOXMLFastContextHandler * pContext);
- virtual ~OOXMLFastContextHandlerIntegerValue();
-
-protected:
- sal_Int32 mnValue;
- void attributes
- (const uno::Reference < xml::sax::XFastAttributeList > & Attribs)
- throw (uno::RuntimeException, xml::sax::SAXException);
- virtual void lcl_endFastElement(Token_t Element)
- throw (uno::RuntimeException, xml::sax::SAXException);
-
- virtual OOXMLValue::Pointer_t getValue() const;
-};
-
-class OOXMLFastContextHandlerStringValue :
- public OOXMLFastContextHandler
-{
-public:
- OOXMLFastContextHandlerStringValue
- (OOXMLFastContextHandler * pContext);
- virtual ~OOXMLFastContextHandlerStringValue();
-
-protected:
- ::rtl::OUString msValue;
-
- void attributes
- (const uno::Reference < xml::sax::XFastAttributeList > & Attribs)
- throw (uno::RuntimeException, xml::sax::SAXException);
virtual void lcl_endFastElement(Token_t Element)
- throw (uno::RuntimeException, xml::sax::SAXException);
-
- virtual OOXMLValue::Pointer_t getValue() const;
-};
-
-class OOXMLFastContextHandlerHexValue :
- public OOXMLFastContextHandler
-{
-public:
- OOXMLFastContextHandlerHexValue
- (OOXMLFastContextHandler * pContext);
- virtual ~OOXMLFastContextHandlerHexValue();
-
-protected:
- sal_Int32 mnValue;
-
- void attributes
- (const uno::Reference < xml::sax::XFastAttributeList > & Attribs)
- throw (uno::RuntimeException, xml::sax::SAXException);
- virtual void lcl_endFastElement(Token_t Element)
- throw (uno::RuntimeException, xml::sax::SAXException);
+ throw (uno::RuntimeException, xml::sax::SAXException);
- virtual OOXMLValue::Pointer_t getValue() const;
-};
+ virtual string getType() const { return "Value"; }
-class OOXMLFastContextHandlerListValue :
- public OOXMLFastContextHandler
-{
-public:
- OOXMLFastContextHandlerListValue
- (OOXMLFastContextHandler * pContext);
- virtual ~OOXMLFastContextHandlerListValue();
+ virtual void setDefaultBooleanValue();
+ virtual void setDefaultIntegerValue();
+ virtual void setDefaultHexValue();
+ virtual void setDefaultStringValue();
protected:
- mutable OOXMLValue::Pointer_t mpValue;
-
- virtual void lcl_endFastElement(Token_t Element)
- throw (uno::RuntimeException, xml::sax::SAXException);
- virtual OOXMLValue::Pointer_t getValue() const;
+ OOXMLValue::Pointer_t mpValue;
};
class OOXMLFastContextHandlerTable : public OOXMLFastContextHandler
@@ -488,6 +435,8 @@ protected:
virtual ResourceEnum_t getResource() const { return TABLE; }
+ virtual string getType() const { return "Table"; }
+
void addCurrentChild();
};
@@ -497,7 +446,10 @@ public:
OOXMLFastContextHandlerXNote(OOXMLFastContextHandler * pContext);
virtual ~OOXMLFastContextHandlerXNote();
- void checkId(const rtl::OUString & rId);
+ void checkId(OOXMLValue::Pointer_t pValue);
+
+ virtual string getType() const { return "XNote"; }
+
private:
bool mbForwardEventsSaved;
::rtl::OUString msMyXNoteId;
@@ -520,6 +472,8 @@ public:
(OOXMLFastContextHandler * pContext);
virtual ~OOXMLFastContextHandlerTextTableCell();
+ virtual string getType() const { return "TextTableCell"; }
+
void startCell();
void endCell();
};
@@ -531,6 +485,8 @@ public:
(OOXMLFastContextHandler * pContext);
virtual ~OOXMLFastContextHandlerTextTableRow();
+ virtual string getType() const { return "TextTableRow"; }
+
void startRow();
void endRow();
};
@@ -543,6 +499,8 @@ public:
virtual ~OOXMLFastContextHandlerTextTable();
+ virtual string getType() const { return "TextTable"; }
+
protected:
virtual void lcl_startFastElement
(Token_t Element,
@@ -557,12 +515,15 @@ class OOXMLFastContextHandlerShape: public OOXMLFastContextHandlerProperties
{
private:
bool m_bShapeSent;
+ bool m_bShapeStarted;
public:
explicit OOXMLFastContextHandlerShape
(OOXMLFastContextHandler * pContext);
virtual ~OOXMLFastContextHandlerShape();
+ virtual string getType() const { return "Shape"; }
+
// ::com::sun::star::xml::sax::XFastContextHandler:
virtual void SAL_CALL startUnknownElement
(const ::rtl::OUString & Namespace,
diff --git a/writerfilter/source/ooxml/OOXMLFastDocumentHandler.cxx b/writerfilter/source/ooxml/OOXMLFastDocumentHandler.cxx
index e9a7ece6a487..f4feddf341ac 100644
--- a/writerfilter/source/ooxml/OOXMLFastDocumentHandler.cxx
+++ b/writerfilter/source/ooxml/OOXMLFastDocumentHandler.cxx
@@ -27,9 +27,14 @@
#include <iostream>
#include <boost/shared_ptr.hpp>
+#ifdef DEBUG_ELEMENT
+#include "ooxmlLoggers.hxx"
+#include <resourcemodel/Protocol.hxx>
+#endif
#include "OOXMLFastDocumentHandler.hxx"
#include "OOXMLFastContextHandler.hxx"
#include "OOXMLFastTokens.hxx"
+#include "OOXMLFactory.hxx"
namespace writerfilter {
namespace ooxml
@@ -135,7 +140,7 @@ OOXMLFastDocumentHandler::getContextHandler() const
uno::Reference< xml::sax::XFastContextHandler > SAL_CALL
OOXMLFastDocumentHandler::createFastChildContext
(::sal_Int32 Element,
- const uno::Reference< xml::sax::XFastAttributeList > & Attribs)
+ const uno::Reference< xml::sax::XFastAttributeList > & /*Attribs*/)
throw (uno::RuntimeException, xml::sax::SAXException)
{
#ifdef DEBUG_CONTEXT_STACK
@@ -144,7 +149,7 @@ uno::Reference< xml::sax::XFastContextHandler > SAL_CALL
<< endl;
#endif
- return getContextHandler()->createFromStart(Element, Attribs);
+ return OOXMLFactory::getInstance()->createFastChildContextFromStart(getContextHandler().get(), Element);
}
OOXMLParserState::Pointer_t OOXMLFastDocumentHandler::getParserState() const
@@ -209,7 +214,12 @@ void SAL_CALL OOXMLFastDocumentHandler::setDocumentLocator
void OOXMLFastDocumentHandler::setStream(Stream * pStream)
{
+#ifdef DEBUG_PROTOCOL
+ mpTmpStream.reset(new StreamProtocol(pStream, debug_logger));
+ mpStream = mpTmpStream.get();
+#else
mpStream = pStream;
+#endif
}
void OOXMLFastDocumentHandler::setDocument(OOXMLDocument * pDocument)
diff --git a/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx b/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
index a95fd3306d3a..86f835c5c0a4 100644
--- a/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
@@ -104,6 +104,9 @@ private:
uno::Reference< uno::XComponentContext > m_xContext;
Stream * mpStream;
+#ifdef DEBUG_ELEMENT
+ Stream::Pointer_t mpTmpStream;
+#endif
OOXMLDocument * mpDocument;
::rtl::OUString msXNoteId;
mutable boost::shared_ptr<OOXMLFastContextHandler> mpContextHandler;
diff --git a/writerfilter/source/ooxml/OOXMLFastHelper.hxx b/writerfilter/source/ooxml/OOXMLFastHelper.hxx
index ff0e30e4da0f..2d21083487ff 100644
--- a/writerfilter/source/ooxml/OOXMLFastHelper.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastHelper.hxx
@@ -46,6 +46,9 @@ public:
static uno::Reference<XFastContextHandler> createAndSetParent
(OOXMLFastContextHandler * pHandler, sal_uInt32 nToken, Id nId);
+ static uno::Reference<XFastContextHandler> createAndSetParentAndDefine
+ (OOXMLFastContextHandler * pHandler, sal_uInt32 nToken, Id nId, Id nDefine);
+
static uno::Reference<XFastContextHandler> createAndSetParentRef
(OOXMLFastContextHandler * pHandler, sal_uInt32 nToken,
const uno::Reference < xml::sax::XFastAttributeList > & Attribs);
@@ -72,7 +75,6 @@ OOXMLFastHelper<T>::createAndSetParent
(OOXMLFastContextHandler * pHandler, sal_uInt32 nToken, Id nId)
{
OOXMLFastContextHandler * pTmp = new T(pHandler);
- OOXMLFastContextHandler::RefAndPointer_t aResult(pTmp);
pTmp->setToken(nToken);
pTmp->setId(nId);
@@ -91,6 +93,43 @@ OOXMLFastHelper<T>::createAndSetParent
debug_logger->endElement("createAndSetParent");
#endif
+ uno::Reference<XFastContextHandler> aResult(pTmp);
+
+ return aResult;
+}
+
+template <class T>
+uno::Reference<XFastContextHandler>
+OOXMLFastHelper<T>::createAndSetParentAndDefine
+(OOXMLFastContextHandler * pHandler, sal_uInt32 nToken, Id nId, Id nDefine)
+{
+ OOXMLFastContextHandler * pTmp = new T(pHandler);
+
+ pTmp->setToken(nToken);
+ pTmp->setId(nId);
+ pTmp->setDefine(nDefine);
+
+#ifdef DEBUG_CREATE
+ debug_logger->startElement("createAndSetParentAndDefine");
+ debug_logger->attribute("context", pHandler->getType());
+ debug_logger->attribute("token", fastTokenToId(pTmp->getToken()));
+ debug_logger->attribute("id", (*QNameToString::Instance())(nId));
+
+ static char buffer[16];
+ snprintf(buffer, sizeof(buffer), "0x%08" SAL_PRIxUINT32, nId);
+
+ debug_logger->attribute("idnum", buffer);
+ if (pTmp->isFallback())
+ debug_logger->attribute("fallback", "yes");
+
+ debug_logger->startElement("created");
+ debug_logger->addTag(pTmp->toTag());
+ debug_logger->endElement("created");
+ debug_logger->endElement("createAndSetParentAndDefine");
+#endif
+
+ uno::Reference<XFastContextHandler> aResult(pTmp);
+
return aResult;
}
@@ -138,10 +177,10 @@ void OOXMLFastHelper<T>::newProperty(OOXMLFastContextHandler * pHandler,
{
OOXMLValue::Pointer_t pVal(new T(rValue));
+#ifdef DEBUG_PROPERTIES
string aStr = (*QNameToString::Instance())(nId);
-#ifdef DEBUG_PROPERTIES
- debug_logger->startElement("newProperty");
+ debug_logger->startElement("newProperty-from-string");
debug_logger->attribute("name", aStr);
debug_logger->attribute
("value",
@@ -151,7 +190,7 @@ void OOXMLFastHelper<T>::newProperty(OOXMLFastContextHandler * pHandler,
if (aStr.size() == 0)
debug_logger->addTag(XMLTag::Pointer_t(new XMLTag("unknown-qname")));
- debug_logger->endElement("newProperty");
+ debug_logger->endElement("newProperty-from-string");
#endif
pHandler->newProperty(nId, pVal);
@@ -164,17 +203,17 @@ void OOXMLFastHelper<T>::newProperty(OOXMLFastContextHandler * pHandler,
{
OOXMLValue::Pointer_t pVal(new T(nVal));
+#ifdef DEBUG_PROPERTIES
string aStr = (*QNameToString::Instance())(nId);
-#ifdef DEBUG_PROPERTIES
- debug_logger->startElement("newProperty");
+ debug_logger->startElement("newProperty-from-int");
debug_logger->attribute("name", aStr);
debug_logger->attribute("value", pVal->toString());
if (aStr.size() == 0)
debug_logger->addTag(XMLTag::Pointer_t(new XMLTag("unknown-qname")));
- debug_logger->endElement("newProperty");
+ debug_logger->endElement("newProperty-from-int");
#endif
pHandler->newProperty(nId, pVal);
diff --git a/writerfilter/source/ooxml/OOXMLParserState.cxx b/writerfilter/source/ooxml/OOXMLParserState.cxx
index 255f97558cb3..e38593777a55 100644
--- a/writerfilter/source/ooxml/OOXMLParserState.cxx
+++ b/writerfilter/source/ooxml/OOXMLParserState.cxx
@@ -191,11 +191,14 @@ void OOXMLParserState::resolveCharacterProperties(Stream & rStream)
{
#ifdef DEBUG_PROPERTIES
debug_logger->startElement("resolveCharacterProperties");
- debug_logger->chars(mpCharacterProps->toString());
- debug_logger->endElement("resolveCharacterProperties");
#endif
+
rStream.props(mpCharacterProps);
mpCharacterProps.reset(new OOXMLPropertySetImpl());
+
+#ifdef DEBUG_PROPERTIES
+ debug_logger->endElement("resolveCharacterProperties");
+#endif
}
}
@@ -213,22 +216,105 @@ void OOXMLParserState::setCharacterProperties
mpCharacterProps->add(pProps);
}
+void OOXMLParserState::setCellProperties
+(OOXMLPropertySet::Pointer_t pProps)
+{
+ if (mCellProps.size() > 0)
+ {
+ OOXMLPropertySet::Pointer_t & rCellProps = mCellProps.top();
+
+ if (rCellProps.get() == NULL)
+ rCellProps = pProps;
+ else
+ rCellProps->add(pProps);
+ }
+}
+
+void OOXMLParserState::setRowProperties
+(OOXMLPropertySet::Pointer_t pProps)
+{
+ if (mRowProps.size() > 0)
+ {
+ OOXMLPropertySet::Pointer_t & rRowProps = mRowProps.top();
+
+ if (rRowProps.get() == NULL)
+ rRowProps = pProps;
+ else
+ rRowProps->add(pProps);
+ }
+}
+
+void OOXMLParserState::resolveCellProperties(Stream & rStream)
+{
+ if (mCellProps.size() > 0)
+ {
+ OOXMLPropertySet::Pointer_t & rCellProps = mCellProps.top();
+
+ if (rCellProps.get() != NULL)
+ {
+ rStream.props(rCellProps);
+ rCellProps.reset(new OOXMLPropertySetImpl());
+ }
+ }
+}
+
+void OOXMLParserState::resolveRowProperties(Stream & rStream)
+{
+ if (mRowProps.size() > 0)
+ {
+ OOXMLPropertySet::Pointer_t & rRowProps = mRowProps.top();
+
+ if (rRowProps.get() != NULL)
+ {
+ rStream.props(rRowProps);
+ rRowProps.reset(new OOXMLPropertySetImpl());
+ }
+ }
+}
+
void OOXMLParserState::resolveTableProperties(Stream & rStream)
{
- if (mpTableProps.get() != NULL)
+ if (mTableProps.size() > 0)
{
- rStream.props(mpTableProps);
- mpTableProps.reset(new OOXMLPropertySetImpl());
+ OOXMLPropertySet::Pointer_t & rTableProps = mTableProps.top();
+
+ if (rTableProps.get() != NULL)
+ {
+ rStream.props(rTableProps);
+ rTableProps.reset(new OOXMLPropertySetImpl());
+ }
}
}
void OOXMLParserState::setTableProperties
(OOXMLPropertySet::Pointer_t pProps)
{
- if (mpTableProps.get() == NULL)
- mpTableProps = pProps;
- else
- mpTableProps->add(pProps);
+ if (mTableProps.size() > 0)
+ {
+ OOXMLPropertySet::Pointer_t & rTableProps = mTableProps.top();
+ if (rTableProps.get() == NULL)
+ rTableProps = pProps;
+ else
+ rTableProps->add(pProps);
+ }
+}
+
+void OOXMLParserState::startTable()
+{
+ OOXMLPropertySet::Pointer_t pCellProps;
+ OOXMLPropertySet::Pointer_t pRowProps;
+ OOXMLPropertySet::Pointer_t pTableProps;
+
+ mCellProps.push(pCellProps);
+ mRowProps.push(pRowProps);
+ mTableProps.push(pTableProps);
+}
+
+void OOXMLParserState::endTable()
+{
+ mCellProps.pop();
+ mRowProps.pop();
+ mTableProps.pop();
}
XMLTag::Pointer_t OOXMLParserState::toTag() const
diff --git a/writerfilter/source/ooxml/OOXMLParserState.hxx b/writerfilter/source/ooxml/OOXMLParserState.hxx
index 2953e00a499f..affdd7dbe61c 100644
--- a/writerfilter/source/ooxml/OOXMLParserState.hxx
+++ b/writerfilter/source/ooxml/OOXMLParserState.hxx
@@ -27,6 +27,7 @@
#ifndef INCLUDE_OOXML_PARSER_STATE_HXX
#define INCLUDE_OOXML_PARSER_STATE_HXX
+#include <stack>
#include <ooxml/OOXMLDocument.hxx>
#include <resourcemodel/TagLogger.hxx>
#include "OOXMLPropertySetImpl.hxx"
@@ -35,6 +36,8 @@ namespace writerfilter {
namespace ooxml
{
+using ::std::stack;
+
class OOXMLParserState
{
bool mbInSectionGroup;
@@ -48,7 +51,9 @@ class OOXMLParserState
rtl::OUString msXNoteId;
rtl::OUString msTarget;
OOXMLPropertySet::Pointer_t mpCharacterProps;
- OOXMLPropertySet::Pointer_t mpTableProps;
+ stack<OOXMLPropertySet::Pointer_t> mCellProps;
+ stack<OOXMLPropertySet::Pointer_t> mRowProps;
+ stack<OOXMLPropertySet::Pointer_t> mTableProps;
public:
typedef boost::shared_ptr<OOXMLParserState> Pointer_t;
@@ -90,9 +95,16 @@ public:
void resolveCharacterProperties(Stream & rStream);
OOXMLPropertySet::Pointer_t getCharacterProperties() const;
void setCharacterProperties(OOXMLPropertySet::Pointer_t pProps);
+ void resolveCellProperties(Stream & rStream);
+ void setCellProperties(OOXMLPropertySet::Pointer_t pProps);
+ void resolveRowProperties(Stream & rStream);
+ void setRowProperties(OOXMLPropertySet::Pointer_t pProps);
void resolveTableProperties(Stream & rStream);
void setTableProperties(OOXMLPropertySet::Pointer_t pProps);
+ void startTable();
+ void endTable();
+
string toString() const;
XMLTag::Pointer_t toTag() const;
};
diff --git a/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx b/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
index 6f9bf9a3480d..2f8844f1af01 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
@@ -29,7 +29,10 @@
#include <stdio.h>
#include <iostream>
#include <resourcemodel/QNameToString.hxx>
+#include <resourcemodel/Protocol.hxx>
#include <com/sun/star/drawing/XShape.hpp>
+#include <ooxml/OOXMLFastTokens.hxx>
+#include "ooxmlLoggers.hxx"
//#define DEBUG_RESOLVE
@@ -125,6 +128,17 @@ string OOXMLPropertyImpl::getName() const
if (sResult.length() == 0)
sResult = (*SprmIdToString::Instance())(mId);
+ if (sResult.length() == 0)
+ sResult = fastTokenToId(mId);
+
+ if (sResult.length() == 0)
+ {
+ static char sBuffer[256];
+
+ snprintf(sBuffer, sizeof(sBuffer), "%" SAL_PRIxUINT32, mId);
+ sResult = sBuffer;
+ }
+
return sResult;
}
@@ -155,14 +169,23 @@ Sprm * OOXMLPropertyImpl::clone()
void OOXMLPropertyImpl::resolve(writerfilter::Properties & rProperties)
{
+ writerfilter::Properties * pProperties = NULL;
+#ifdef DEBUG_PROTOCOL
+ writerfilter::PropertiesProtocol::Pointer_t pProtocol
+ (new writerfilter::PropertiesProtocol(&rProperties, debug_logger));
+ pProperties = pProtocol.get();
+#else
+ pProperties = &rProperties;
+#endif
+
switch (meType)
{
case SPRM:
if (mId != 0x0)
- rProperties.sprm(*this);
+ pProperties->sprm(*this);
break;
case ATTRIBUTE:
- rProperties.attribute(mId, *getValue());
+ pProperties->attribute(mId, *getValue());
break;
}
}
@@ -456,7 +479,15 @@ string OOXMLPropertySetImpl::getType() const
void OOXMLPropertySetImpl::add(OOXMLProperty::Pointer_t pProperty)
{
if (pProperty.get() != NULL && pProperty->getId() != 0x0)
+ {
mProperties.push_back(pProperty);
+ }
+#ifdef DEBUG_PROPERTIES
+ else
+ {
+ debug_logger->element("warning.property_not_added");
+ }
+#endif
}
void OOXMLPropertySetImpl::add(OOXMLPropertySet::Pointer_t pPropertySet)
@@ -688,6 +719,12 @@ OOXMLTableImpl::~OOXMLTableImpl()
void OOXMLTableImpl::resolve(Table & rTable)
{
+#ifdef DEBUG_PROTOCOL
+ Table::Pointer_t pTable(new TableProtocol(&rTable, debug_logger));
+#else
+ Table * pTable = &rTable;
+#endif
+
int nPos = 0;
PropertySets_t::iterator it = mPropertySets.begin();
@@ -699,7 +736,7 @@ void OOXMLTableImpl::resolve(Table & rTable)
((*it)->getProperties());
if (pProperties.get() != NULL)
- rTable.entry(nPos, pProperties);
+ pTable->entry(nPos, pProperties);
++nPos;
it++;
diff --git a/writerfilter/source/ooxml/README.efforts b/writerfilter/source/ooxml/README.efforts
new file mode 100644
index 000000000000..03570a80ec5a
--- /dev/null
+++ b/writerfilter/source/ooxml/README.efforts
@@ -0,0 +1,131 @@
+This file describes how the remaining efforts for writerfilter can be
+extracted from the source code.
+
+1. Marking up the efforts in the code.
+
+Efforts are marked up in the code with comments like this:
+
+/* WRITERFILTERSTATUS: done: <percent done>, planned: <effort planned>, spent: <effort spent, yet> */
+
+The comments have to follow a case-label immediately. Consecutive
+case-labels can be marked up, too. In the latter case the efforts are
+counted for the preceeding case-labels as a whole.
+
+2. Extraction process
+
+2.1. Stage 1:
+
+This stage is handled in status.sh. An XML-file is generated that
+contains a top level element <stage1>. <stage1> contains an element
+<analyze> and several <qname> and <status> elements.
+
+2.1.1. Use analyzemodel.xsl to extract necessary data from model.xml.
+
+- Namespaces can be flagged with attribute @todo="ignore" to prevent
+ the namespace being considered.
+
+- For every <element>/<attribute> an entry in an according element in <analyze> is genereated. These elements look like this:
+
+<attribute id="..." resource="..." tokenid="..." qname="..." namespace="..." define="..." name="..."/>
+
+Important for the extraction of efforts: @qname is the identifier used
+in case-labels in .cxx files and thus links the status mark up
+comments with elements/attributes in the model.xml.
+
+2.1.2. Extract status information
+
+The variable SEARCHIN in status.sh determines in what directory the script will search for case labels and status comments. Only .cxx files are searched. Lines like this
+
+case NS_rtf::LN_UNUSED4:
+
+result in elements like this
+
+<qname file="/DomainMapper.cxx" line="216" qname="NS_rtf::LN_UNUSED4"/>.
+
+Lines like this
+
+/* WRITERFILTERSTATUS: done: 0, planned: 0, spent: 0 */
+
+result in elements like this
+
+<status done="0" planned="0" spent="0"/>
+
+The <qname> and <status> elements are children of the <stage1>
+element. The are inserted in the same order as found in the
+code. Therefore a <status> element corresponds to the group of
+consecutive preceding <qname> elements.
+
+2.2. Stage 2
+
+In this stage analyzestage2.xsl is used on the result of stage 1 to
+group the <qname> and <status> elements from stage 1. For each
+<status> element a <qnames> element is generated that contains the
+<qname> elements that the <status> element refers to, plus the
+<status> element.
+
+2.3. Stage 3
+
+This stage associates the <attribute> and <element> elements in
+model.xml with the extracted data. It uses analyzestage3.xsl on the
+result of stage 2 to do this.
+
+E.g. for given elements from stage 2:
+
+<attribute
+ id="dml-wordprocessingDrawing:CT_Inline:distR"
+ resource="Properties"
+ tokenid="ooxml:CT_Inline_distR"
+ qname="NS_ooxml::LN_CT_Inline_distR"
+ namespace="dml-wordprocessingDrawing"
+ define="CT_Inline"
+ name="distR"/>
+
+and
+
+ <qnames>
+ <qname file="/GraphicImport.cxx" line="1078" qname="NS_ooxml::LN_CT_Inline_distT"/>
+ <qname file="/GraphicImport.cxx" line="1079" qname="NS_ooxml::LN_CT_Inline_distB"/>
+ <qname file="/GraphicImport.cxx" line="1080" qname="NS_ooxml::LN_CT_Inline_distL"/>
+ <qname file="/GraphicImport.cxx" line="1081" qname="NS_ooxml::LN_CT_Inline_distR"/>
+ <status done="0" planned="0.5" spent="0"/>
+ </qnames>
+
+the result of stage 3 will be
+
+ <attribute
+ id="dml-wordprocessingDrawing:CT_Inline:distR"
+ resource="Properties"
+ tokenid="ooxml:CT_Inline_distR"
+ qname="NS_ooxml::LN_CT_Inline_distR"
+ namespace="dml-wordprocessingDrawing"
+ define="CT_Inline" name="distR">
+
+ <file name="/GraphicImport.cxx" line="1081">
+ <status done="0" planned="0.5" spent="0" qname-count="4"/>
+ </file>
+
+ </attribute>
+
+@qname-count is the number of case-labels that the according mark-up comment refers to.
+
+3. Collect efforts
+
+This is done by the script efforts.sh. It uses status.sh to extract the status and determines the efforts in two steps.
+
+3.1. Choose which <attribute>/<element> elements need effort
+
+This stage uses todo.xsl on the result of 2.3.
+
+There are two criteria that imply effort:
+
+- The <attribute>/<element> is not handled in any file.
+
+- The status for the <attribute>/<element> declares that work is
+ planned for it and less than 100 percent of this work is done.
+
+3.2. Generate table of efforts in CSV format
+
+This stage uses effort.xsl on the results of 3.1. and produces the
+table of efforts. If there is no status defined for an
+<attribute>/<element> it is assumed that the planned effort is 0.5
+hours and no work has been done.
diff --git a/writerfilter/source/ooxml/analyzemodel.xsl b/writerfilter/source/ooxml/analyzemodel.xsl
new file mode 100644
index 000000000000..d887a9a178a6
--- /dev/null
+++ b/writerfilter/source/ooxml/analyzemodel.xsl
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:rng="http://relaxng.org/ns/structure/1.0">
+
+<xsl:include href="factorytools.xsl"/>
+<xsl:output method="xml"/>
+
+<xsl:template match="/">
+ <analyze>
+ <xsl:for-each select="/model/namespace[not(@todo='ignore')]">
+ <xsl:call-template name="analyzegrammar"/>
+ </xsl:for-each>
+ </analyze>
+</xsl:template>
+
+<xsl:template name="analyzegrammar">
+ <xsl:variable name="nsname" select="@name"/>
+ <xsl:for-each select="rng:grammar/rng:define">
+ <xsl:variable name="defname" select="@name"/>
+ <xsl:for-each select=".//rng:attribute|.//rng:element">
+ <xsl:choose>
+ <xsl:when test="local-name()='element'">
+ <element>
+ <xsl:call-template name="defineattrs">
+ <xsl:with-param name="nsname" select="$nsname"/>
+ <xsl:with-param name="defname" select="$defname"/>
+ </xsl:call-template>
+ </element>
+ </xsl:when>
+ <xsl:when test="local-name()='attribute'">
+ <attribute>
+ <xsl:call-template name="defineattrs">
+ <xsl:with-param name="nsname" select="$nsname"/>
+ <xsl:with-param name="defname" select="$defname"/>
+ </xsl:call-template>
+ </attribute>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:for-each>
+ </xsl:for-each>
+</xsl:template>
+
+<xsl:template name="defineattrs">
+ <xsl:param name="nsname"/>
+ <xsl:param name="defname"/>
+
+ <xsl:variable name="localname" select="local-name()"/>
+ <xsl:variable name="name" select="@name"/>
+
+ <xsl:attribute name="id">
+ <xsl:value-of select="$nsname"/>
+ <xsl:text>:</xsl:text>
+ <xsl:value-of select="$defname"/>
+ <xsl:text>:</xsl:text>
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ <xsl:for-each select="ancestor::namespace/resource[@name=$defname]">
+ <xsl:attribute name="resource"><xsl:value-of select="@resource"/></xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="$localname='attribute'">
+ <xsl:for-each select="attribute[@name=$name and @tokenid]">
+ <xsl:attribute name="tokenid"><xsl:value-of select="@tokenid"/></xsl:attribute>
+ <xsl:attribute name="qname">
+ <xsl:call-template name="idtoqname">
+ <xsl:with-param name="id" select="@tokenid"/>
+ </xsl:call-template>
+ </xsl:attribute>
+ <xsl:attribute name="namespace">
+ <xsl:value-of select="$nsname"/>
+ </xsl:attribute>
+ <xsl:attribute name="define">
+ <xsl:value-of select="$defname"/>
+ </xsl:attribute>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:when test="$localname='element'">
+ <xsl:for-each select="element[@name=$name and @tokenid]">
+ <xsl:attribute name="tokenid"><xsl:value-of select="@tokenid"/></xsl:attribute>
+ <xsl:attribute name="qname">
+ <xsl:call-template name="idtoqname">
+ <xsl:with-param name="id" select="@tokenid"/>
+ </xsl:call-template>
+ </xsl:attribute>
+ <xsl:attribute name="namespace">
+ <xsl:value-of select="$nsname"/>
+ </xsl:attribute>
+ <xsl:attribute name="define">
+ <xsl:value-of select="$defname"/>
+ </xsl:attribute>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ </xsl:for-each>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:for-each>
+</xsl:template>
+</xsl:stylesheet> \ No newline at end of file
diff --git a/writerfilter/source/ooxml/analyzer.xsl b/writerfilter/source/ooxml/analyzer.xsl
deleted file mode 100644
index 155de88d954a..000000000000
--- a/writerfilter/source/ooxml/analyzer.xsl
+++ /dev/null
@@ -1,46 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<xsl:stylesheet
- version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:dom="http://www.w3.org/2001/xml-events"
- xmlns:xalan="http://xml.apache.org/xalan"
- exclude-result-prefixes = "xalan"
- xml:space="default">
- <xsl:output method="text" />
-
- <xsl:include href="resourcestools.xsl"/>
-
- <xsl:template match="/">
- <xsl:call-template name="analyzerooxmlids"/>
- </xsl:template>
-</xsl:stylesheet> \ No newline at end of file
diff --git a/writerfilter/source/ooxml/analyzestage2.xsl b/writerfilter/source/ooxml/analyzestage2.xsl
new file mode 100644
index 000000000000..9c7dc247b5ab
--- /dev/null
+++ b/writerfilter/source/ooxml/analyzestage2.xsl
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:template match="/">
+ <stage2>
+ <xsl:copy-of select="/stage1/analyze"/>
+ <xsl:for-each select="/stage1/qname">
+ <xsl:if test="not(local-name(preceding-sibling::*[1]) = 'qname')">
+ <qnames>
+ <xsl:call-template name="handleqnames"/>
+ </qnames>
+ </xsl:if>
+ </xsl:for-each>
+ </stage2>
+</xsl:template>
+
+<xsl:template name="handleqnames">
+ <xsl:choose>
+ <xsl:when test="local-name() = 'qname'">
+ <xsl:copy-of select="."/>
+ <xsl:for-each select="following-sibling::*[1]">
+ <xsl:call-template name="handleqnames"/>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:when test="local-name() = 'nostatus' or local-name() = 'status'">
+ <xsl:copy-of select="."/>
+ </xsl:when>
+ </xsl:choose>
+</xsl:template>
+</xsl:stylesheet> \ No newline at end of file
diff --git a/writerfilter/source/ooxml/analyzestage3.xsl b/writerfilter/source/ooxml/analyzestage3.xsl
new file mode 100644
index 000000000000..103782c1a11a
--- /dev/null
+++ b/writerfilter/source/ooxml/analyzestage3.xsl
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+
+<xsl:key name="qnames" match="/stage2/qnames/qname" use="@qname"/>
+
+<xsl:template match="/">
+ <stage3 xmlns:rng="http://relaxng.org/ns/structure/1.0">
+ <xsl:for-each select="/stage2/analyze">
+ <xsl:for-each select="attribute|element">
+ <xsl:variable name="qname" select="@qname"/>
+ <xsl:copy>
+ <xsl:copy-of select="@*"/>
+ <xsl:for-each select="key('qnames', @qname)">
+ <file>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@file"/>
+ </xsl:attribute>
+ <xsl:attribute name="line">
+ <xsl:value-of select="@line"/>
+ </xsl:attribute>
+ <xsl:for-each select="ancestor::qnames/status|ancestor::qnames/nostatus">
+ <xsl:copy>
+ <xsl:copy-of select="@*"/>
+ <xsl:attribute name="qname-count">
+ <xsl:value-of select="count(ancestor::qnames/qname)"/>
+ </xsl:attribute>
+ </xsl:copy>
+ </xsl:for-each>
+ </file>
+ </xsl:for-each>
+ </xsl:copy>
+ </xsl:for-each>
+ </xsl:for-each>
+ </stage3>
+</xsl:template>
+
+</xsl:stylesheet> \ No newline at end of file
diff --git a/writerfilter/source/ooxml/effort.xsl b/writerfilter/source/ooxml/effort.xsl
new file mode 100644
index 000000000000..47f278a63f4f
--- /dev/null
+++ b/writerfilter/source/ooxml/effort.xsl
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:rng="http://relaxng.org/ns/structure/1.0">
+
+<xsl:output method="text"/>
+
+<xsl:template match="/">
+ <xsl:text>Namespace,Define,Name,Done,Planned,qname-count&#xa;</xsl:text>
+ <xsl:for-each select="/todo/attribute|/todo/element">
+ <xsl:for-each select=".//status">
+ <xsl:for-each select="ancestor::attribute|ancestor::element">
+ <xsl:value-of select="@namespace"/>
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select="@define"/>
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select="@name"/>
+ <xsl:text>,</xsl:text>
+ </xsl:for-each>
+ <xsl:value-of select="@done"/>
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select="@planned"/>
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select="@qname-count"/>
+ <xsl:text>&#xa;</xsl:text>
+ </xsl:for-each>
+ <xsl:if test="not(.//status)">
+ <xsl:value-of select="@namespace"/>
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select="@define"/>
+ <xsl:text>,</xsl:text>
+ <xsl:value-of select="@name"/>
+ <xsl:text>,0,0.5,1&#xa;</xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+</xsl:template>
+
+</xsl:stylesheet> \ No newline at end of file
diff --git a/writerfilter/source/ooxml/efforts.sh b/writerfilter/source/ooxml/efforts.sh
new file mode 100755
index 000000000000..f42a30d5b2fd
--- /dev/null
+++ b/writerfilter/source/ooxml/efforts.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+./status.sh | xmllint --format - | xsltproc todo.xsl - | xsltproc effort.xsl -
diff --git a/writerfilter/source/ooxml/values.xsl b/writerfilter/source/ooxml/factory.xsl
index cee50f39ff61..544c150021c8 100644
--- a/writerfilter/source/ooxml/values.xsl
+++ b/writerfilter/source/ooxml/factory.xsl
@@ -3,10 +3,14 @@
*
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- Copyright 2000, 2010 Oracle and/or its affiliates.
+ Copyright 2008 by Sun Microsystems, Inc.
OpenOffice.org - a multi-platform office productivity suite
+ $RCSfile: fastresources_wml.xsl,v $
+
+ $Revision: 1.3 $
+
This file is part of OpenOffice.org.
OpenOffice.org is free software: you can redistribute it and/or modify
@@ -23,7 +27,7 @@
version 3 along with OpenOffice.org. If not, see
<http://www.openoffice.org/license.html>
for a copy of the LGPLv3 License.
-
+
************************************************************************/
-->
@@ -61,28 +65,25 @@
<xsl:output method="text" />
<xsl:param name="prefix"/>
- <xsl:include href="resourcestools.xsl"/>
+ <xsl:include href="factorytools.xsl"/>
<xsl:template match="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#ifndef INCLUDED_OOXML_VALUES_HXX
-#define INCLUDED_OOXML_VALUES_HXX
-
-#include &lt;rtl/ustring.hxx&gt;
-#include "OOXMLPropertySetImpl.hxx"
-
+ <xsl:text>
+#include "OOXMLFactory.hxx"</xsl:text>
+ <xsl:call-template name="factoryincludes"/>
+ <xsl:text>
namespace writerfilter {
namespace ooxml {
+using namespace ::std;
+using namespace ::com::sun::star;
/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="valuedecls"/>
- <xsl:text>
+ </xsl:text>
+ <xsl:call-template name="factoryfornamespace"/>
+ <xsl:text>
/// @endcond
}}
-#endif //INCLUDED_OOXML_VALUES_HXX&#xa;</xsl:text></out></xsl:template>
+</xsl:text>
+</xsl:template>
- <xsl:template match="*"/>
-</xsl:stylesheet>
+</xsl:stylesheet> \ No newline at end of file
diff --git a/writerfilter/source/ooxml/fastresources_dml-shape3DScene.xsl b/writerfilter/source/ooxml/factory_ns.xsl
index aec93f875597..44b5c824859f 100644
--- a/writerfilter/source/ooxml/fastresources_dml-shape3DScene.xsl
+++ b/writerfilter/source/ooxml/factory_ns.xsl
@@ -3,10 +3,14 @@
*
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- Copyright 2000, 2010 Oracle and/or its affiliates.
+ Copyright 2008 by Sun Microsystems, Inc.
OpenOffice.org - a multi-platform office productivity suite
+ $RCSfile: fastresources_wml.xsl,v $
+
+ $Revision: 1.3 $
+
This file is part of OpenOffice.org.
OpenOffice.org is free software: you can redistribute it and/or modify
@@ -23,7 +27,7 @@
version 3 along with OpenOffice.org. If not, see
<http://www.openoffice.org/license.html>
for a copy of the LGPLv3 License.
-
+
************************************************************************/
-->
@@ -61,38 +65,97 @@
<xsl:output method="text" />
<xsl:param name="prefix"/>
- <xsl:include href="resourcestools.xsl"/>
+ <xsl:include href="factorytools.xsl"/>
- <xsl:template match="/">
- <xsl:call-template name="licenseheader"/>
+<xsl:template name="factoryactiondecls">
+ <xsl:variable name="ns" select="@name"/>
+ <xsl:for-each select="resource/action">
+ <xsl:sort select="@name"/>
+ <xsl:if test="generate-id(key('actions', @name)[ancestor::namespace/@name=$ns][1]) = generate-id(.)">
+ <xsl:text>
+ void </xsl:text>
+ <xsl:value-of select="@name"/>
+ <xsl:text>Action(OOXMLFastContextHandler * pHandler</xsl:text>
+ <xsl:if test="@name='characters'">
+ <xsl:text>, const ::rtl::OUString &amp; sText</xsl:text>
+ </xsl:if>
+ <xsl:text>);</xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+</xsl:template>
+
+<!-- factorydecl -->
+<xsl:template name="factorydecl">
+ <xsl:variable name="classname">
+ <xsl:call-template name="factoryclassname"/>
+ </xsl:variable>
+ <xsl:text>
+class </xsl:text>
+ <xsl:value-of select="$classname"/>
+ <xsl:text> : public OOXMLFactory_ns
+{
+public:
+ typedef boost::shared_ptr &lt; OOXMLFactory_ns &gt; Pointer_t;
+
+ static Pointer_t getInstance();
+
+ virtual AttributeToResourceMapPointer createAttributeToResourceMap(Id nId);
+ virtual ListValueMapPointer createListValueMap(Id nId);
+ virtual CreateElementMapPointer createCreateElementMap(Id nId);
+ virtual TokenToIdMapPointer createTokenToIdMap(Id nId);
+ virtual string getDefineName(Id nId) const;</xsl:text>
+ <xsl:call-template name="factoryactiondecls"/>
+ virtual void attributeAction(OOXMLFastContextHandler * pHandler, Token_t nToken, OOXMLValue::Pointer_t pValue);
<xsl:text>
-#ifndef INCLUDED_OOXML_FASTRESOURCES_DML_SHAPE3DSCENE_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_SHAPE3DSCENE_HXX
+
+ virtual ~</xsl:text>
+ <xsl:value-of select="$classname"/>
+ <xsl:text>();
+
+protected:
+ static Pointer_t m_pInstance;
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
+ </xsl:text>
+ <xsl:value-of select="$classname"/>
+ <xsl:text>();
+};
+ </xsl:text>
+</xsl:template>
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
+ <xsl:template match="/">
+ <xsl:variable name="ns" select="substring-before(substring-after($file, 'OOXMLFactory_'), '.hxx')"/>
+ <xsl:variable name="incguard">
+ <xsl:text>INCLUDED_OOXML_FACTORY_</xsl:text>
+ <xsl:value-of select="translate($ns, 'abcdefghijklmnopqrstuvwxyz-', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_')"/>
+ <xsl:text>_HXX</xsl:text>
+ </xsl:variable>
+ <xsl:call-template name="licenseheader"/>
+ <xsl:text>
+#ifndef </xsl:text>
+ <xsl:value-of select="$incguard"/>
+ <xsl:text>
+#define </xsl:text>
+ <xsl:value-of select="$incguard"/>
+ <xsl:text>
+#include "OOXMLFactory.hxx"
+#include "OOXMLFactory_generated.hxx"
+#include "OOXMLnamespaceids.hxx"
+#include "resourceids.hxx"
namespace writerfilter {
namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
/// @cond GENERATED
</xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-shape3DScene</xsl:with-param>
- </xsl:call-template>
+ <xsl:for-each select="/model/namespace[@name=$ns]">
+ <xsl:call-template name="factorydecl"/>
+ </xsl:for-each>
<xsl:text>
/// @endcond
}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_SHAPE3DSCENE_HXX&#xa;</xsl:text>
- </xsl:template>
+#endif //</xsl:text>
+ <xsl:value-of select="$incguard"/>
+ <xsl:text>&#xa;</xsl:text>
+</xsl:template>
- <xsl:template match="*"/>
-</xsl:stylesheet>
+</xsl:stylesheet> \ No newline at end of file
diff --git a/writerfilter/source/ooxml/fastresources_dml-baseTypes.xsl b/writerfilter/source/ooxml/factory_values.xsl
index 1311c8593b8f..4960f58e6b67 100644
--- a/writerfilter/source/ooxml/fastresources_dml-baseTypes.xsl
+++ b/writerfilter/source/ooxml/factory_values.xsl
@@ -3,10 +3,14 @@
*
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- Copyright 2000, 2010 Oracle and/or its affiliates.
+ Copyright 2008 by Sun Microsystems, Inc.
OpenOffice.org - a multi-platform office productivity suite
+ $RCSfile: fastresources_wml.xsl,v $
+
+ $Revision: 1.3 $
+
This file is part of OpenOffice.org.
OpenOffice.org is free software: you can redistribute it and/or modify
@@ -23,7 +27,7 @@
version 3 along with OpenOffice.org. If not, see
<http://www.openoffice.org/license.html>
for a copy of the LGPLv3 License.
-
+
************************************************************************/
-->
@@ -61,38 +65,36 @@
<xsl:output method="text" />
<xsl:param name="prefix"/>
- <xsl:include href="resourcestools.xsl"/>
+ <xsl:include href="factorytools.xsl"/>
- <xsl:template match="/">
- <xsl:call-template name="licenseheader"/>
+ <!--
+ Generates constant declarations for attribute values.
+ -->
+ <xsl:template name="valueconstantdecls">
<xsl:text>
-#ifndef INCLUDED_OOXML_FASTRESOURCES_DML_BASETYPES_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_BASETYPES_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
+extern rtl::OUString
</xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-baseTypes</xsl:with-param>
+ <xsl:call-template name="valuestringname">
+ <xsl:with-param name="string"></xsl:with-param>
</xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_BASETYPES_HXX&#xa;</xsl:text>
+ <xsl:text>;</xsl:text>
+ <xsl:for-each select="//rng:value[generate-id(key('value-with-content', text())[1]) = generate-id(.)]">
+ <xsl:text>
+extern rtl::OUString </xsl:text>
+ <xsl:call-template name="valuestringname">
+ <xsl:with-param name="string" select="."/>
+ </xsl:call-template>
+ <xsl:text>;</xsl:text>
+ </xsl:for-each>
</xsl:template>
- <xsl:template match="*"/>
+ <xsl:template match="/">
+ <xsl:text>
+#ifndef INCLUDED_FACTORY_VALUES</xsl:text>
+#include &lt;rtl/ustring.hxx&gt;
+
+<xsl:call-template name="valueconstantdecls"/>
+<xsl:text>
+#endif // INCLUDED_FACTORY_VALUES&#xa;</xsl:text>
+ </xsl:template>
</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/factoryimpl.xsl b/writerfilter/source/ooxml/factoryimpl.xsl
new file mode 100644
index 000000000000..8eecf4aba813
--- /dev/null
+++ b/writerfilter/source/ooxml/factoryimpl.xsl
@@ -0,0 +1,386 @@
+<!--
+/*************************************************************************
+ *
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+
+ Copyright 2008 by Sun Microsystems, Inc.
+
+ OpenOffice.org - a multi-platform office productivity suite
+
+ $RCSfile: fastresources_wml.xsl,v $
+
+ $Revision: 1.3 $
+
+ This file is part of OpenOffice.org.
+
+ OpenOffice.org is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License version 3
+ only, as published by the Free Software Foundation.
+
+ OpenOffice.org 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 version 3 for more details
+ (a copy is included in the LICENSE file that accompanied this code).
+
+ You should have received a copy of the GNU Lesser General Public License
+ version 3 along with OpenOffice.org. If not, see
+ <http://www.openoffice.org/license.html>
+ for a copy of the LGPLv3 License.
+
+ ************************************************************************/
+
+-->
+<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="factorytools.xsl"/>
+
+ <xsl:key name="resources-with-kind" match="//resource[kind]" use="kind/@name"/>
+ <xsl:key name="sprms-with-code" match="//resource/element[@tokenid]" use="@tokenid"/>
+
+<xsl:template name="factorycreatecontextfromfactory">
+ <xsl:text>
+uno::Reference&lt; xml::sax::XFastContextHandler &gt; OOXMLFactory::createFastChildContextFromFactory
+(OOXMLFastContextHandler * pHandler, OOXMLFactory_ns::Pointer_t pFactory, Token_t Element)
+{
+ uno::Reference &lt; xml::sax::XFastContextHandler &gt; aResult;
+ Id nDefine = pHandler->getDefine();
+
+ if (pFactory.get() != NULL)
+ {
+ CreateElementMapPointer pMap = pFactory-&gt;getCreateElementMap(nDefine);
+ TokenToIdMapPointer pTokenMap = pFactory-&gt;getTokenToIdMap(nDefine);
+
+ if (pMap.get() != NULL)
+ {
+ Id nId = (*pTokenMap)[Element];
+#ifdef DEBUG_CREATE
+ string sDefine(pFactory->getDefineName(nDefine));
+ string sElement(fastTokenToId(Element));
+ string sQName((*QNameToString::Instance())(nId));
+
+ debug_logger->startElement("createFastChildContextFromFactory");
+ debug_logger->attribute("define", sDefine);
+ debug_logger->attribute("element", sElement);
+ debug_logger->attribute("qname", sQName);
+
+ static char buffer[16];
+ snprintf(buffer, sizeof(buffer), "0x%08" SAL_PRIuUINT32, nId);
+ debug_logger->attribute("idnum", buffer);
+
+ snprintf(buffer, sizeof(buffer), "0x%08" SAL_PRIuUINT32, nDefine);
+ debug_logger->attribute("definenum", buffer);
+#endif
+
+ CreateElement aCreateElement = (*pMap)[Element];
+
+ switch (aCreateElement.m_nResource)
+ {</xsl:text>
+ <xsl:for-each select="/model/namespace/resource">
+ <xsl:if test="generate-id(key('resources', @resource)) = generate-id(.)">
+ <xsl:if test="not(@resource = 'Hex' or
+ @resource = 'Integer' or
+ @resource = 'Boolean' or
+ @resource = 'List' or
+ @resource = 'String')">
+ <xsl:text>
+ case RT_</xsl:text>
+ <xsl:value-of select="@resource"/>
+ <xsl:text>:
+ aResult.set(OOXMLFastHelper&lt;OOXMLFastContextHandler</xsl:text>
+ <xsl:value-of select="@resource"/>
+ <xsl:text>&gt;::createAndSetParentAndDefine(pHandler, Element, nId, aCreateElement.m_nId));
+ break;</xsl:text>
+ </xsl:if>
+ </xsl:if>
+ </xsl:for-each>
+ <xsl:text>
+ case RT_Any:
+ aResult.set(createFastChildContextFromStart(pHandler, Element));
+ break;
+ default:
+ break;
+ }
+
+#ifdef DEBUG_CREATE
+ debug_logger->endElement("createFastChildContextFromFactory");
+#endif
+ }
+ }
+
+ return aResult;
+}
+</xsl:text>
+</xsl:template>
+
+<xsl:template name="factoryfornamespace">
+ <xsl:text>
+OOXMLFactory_ns::Pointer_t OOXMLFactory::getFactoryForNamespace(Id nId)
+{
+ OOXMLFactory_ns::Pointer_t pResult;
+
+ switch (nId &amp; 0xffff0000)
+ {</xsl:text>
+ <xsl:for-each select="/model/namespace">
+ <xsl:text>
+ case </xsl:text>
+ <xsl:call-template name="idfornamespace"/>
+ <xsl:text>:
+ pResult = </xsl:text>
+ <xsl:call-template name="factoryclassname"/>
+ <xsl:text>::getInstance();
+ break;</xsl:text>
+ </xsl:for-each>
+ <xsl:text>
+ default:
+ break;
+ }
+
+ return pResult;
+}
+</xsl:text>
+</xsl:template>
+
+<xsl:template name="factorycreatefromstart">
+ <xsl:text>
+uno::Reference&lt; xml::sax::XFastContextHandler &gt; OOXMLFactory::createFastChildContextFromStart
+(OOXMLFastContextHandler * pHandler, Token_t Element)
+{
+#ifdef DEBUG_CREATE
+ debug_logger->startElement("createFastChildContextFromStart");
+#endif
+
+ uno::Reference &lt; xml::sax::XFastContextHandler &gt; aResult;
+ OOXMLFactory_ns::Pointer_t pFactory;
+
+</xsl:text>
+ <xsl:for-each select="/model/namespace">
+ <xsl:text>
+ if (! aResult.is())
+ {
+ pFactory = getFactoryForNamespace(</xsl:text>
+ <xsl:call-template name="idfornamespace"/>
+ <xsl:text>);
+ aResult.set(createFastChildContextFromFactory(pHandler, pFactory, Element));
+ }</xsl:text>
+ </xsl:for-each>
+ <xsl:text>
+
+#ifdef DEBUG_CREATE
+ debug_logger->endElement("createFastChildContextFromStart");
+#endif
+ return aResult;
+}
+</xsl:text>
+</xsl:template>
+
+<xsl:template name="fasttokentoid">
+ <xsl:text>
+namespace tokenmap {
+struct token { const char * name; Token_t nToken; };
+class Perfect_Hash
+{
+private:
+ static inline unsigned int hash (const char *str, unsigned int len);
+public:
+ static struct token *in_word_set (const char *str, unsigned int len);
+};
+}
+
+string fastTokenToId(sal_uInt32 nToken)
+{
+ </xsl:text>
+ <xsl:text>
+ string sResult;
+
+ switch (nToken &amp; 0xffff0000)
+ {</xsl:text>
+ <xsl:for-each select="//namespace-alias">
+ <xsl:text>
+ case NS_</xsl:text>
+ <xsl:value-of select="@alias"/>
+ <xsl:text>:
+ sResult += "</xsl:text>
+ <xsl:value-of select="@alias"/>
+ <xsl:text>:";
+ break;</xsl:text>
+ </xsl:for-each>
+ <xsl:text>
+ }
+
+ switch (nToken &amp; 0xffff)
+ {</xsl:text>
+ <xsl:for-each select=".//rng:element[@localname]|.//rng:attribute[@localname]">
+ <xsl:variable name="localname" select="@localname"/>
+ <xsl:if test="generate-id(.) = generate-id(key('same-token-name', $localname)[1])">
+ <xsl:text>
+ case </xsl:text>
+ <xsl:call-template name="fastlocalname"/>
+ <xsl:text>:
+ sResult += "</xsl:text>
+ <xsl:value-of select="$localname"/>
+ <xsl:text>";
+ break;</xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+<xsl:text>
+ }
+
+ return sResult;
+}
+ </xsl:text>
+</xsl:template>
+
+ <!--
+ Generates case labels for mapping from token ids to a single kind
+ of sprm.
+
+ @param kind the sprm kind for which to generate the case labels
+ -->
+
+ <xsl:template name="sprmkindcase">
+ <xsl:param name="kind"/>
+ <xsl:for-each select="key('resources-with-kind', $kind)/element">
+ <xsl:if test="generate-id(.) = generate-id(key('sprms-with-code', @tokenid))">
+ <xsl:text>
+ case </xsl:text>
+ <xsl:call-template name="idtoqname">
+ <xsl:with-param name="id" select="@tokenid"/>
+ </xsl:call-template>
+ <xsl:text>: //</xsl:text>
+ <xsl:value-of select="ancestor::resource/@name"/>
+ <xsl:text>, </xsl:text>
+ <xsl:value-of select="@name"/>
+ </xsl:if>
+ </xsl:for-each>
+ </xsl:template>
+
+ <!--
+ Generates SprmKind.
+ -->
+ <xsl:template name="sprmkind">
+ <xsl:text>
+Sprm::Kind SprmKind(sal_uInt32 nSprmCode)
+{
+ Sprm::Kind nResult = Sprm::UNKNOWN;
+
+ switch (nSprmCode)
+ {</xsl:text>
+ <xsl:call-template name="sprmkindcase">
+ <xsl:with-param name="kind">paragraph</xsl:with-param>
+ </xsl:call-template>
+ <xsl:text>
+ nResult = Sprm::PARAGRAPH;
+ break;</xsl:text>
+ <xsl:call-template name="sprmkindcase">
+ <xsl:with-param name="kind">character</xsl:with-param>
+ </xsl:call-template>
+ <xsl:text>
+ nResult = Sprm::CHARACTER;
+ break;</xsl:text>
+ <xsl:call-template name="sprmkindcase">
+ <xsl:with-param name="kind">table</xsl:with-param>
+ </xsl:call-template>
+ <xsl:text>
+ nResult = Sprm::TABLE;
+ break;</xsl:text>
+ <xsl:text>
+ default:
+ break;
+ }
+
+ return nResult;
+}</xsl:text>
+ </xsl:template>
+
+<xsl:template name="getfastparser">
+<xsl:text>
+uno::Reference &lt; xml::sax::XFastParser &gt; OOXMLStreamImpl::getFastParser()
+{
+ if (! mxFastParser.is())
+ {
+ uno::Reference &lt; lang::XMultiComponentFactory &gt; xFactory =
+ uno::Reference &lt; lang::XMultiComponentFactory &gt;
+ (mxContext->getServiceManager());
+
+ mxFastParser.set(xFactory->createInstanceWithContext
+ ( ::rtl::OUString::createFromAscii
+ ( "com.sun.star.xml.sax.FastParser" ),
+ mxContext ), uno::UNO_QUERY_THROW);
+</xsl:text>
+<xsl:for-each select="//namespace-alias">
+ <xsl:text>
+ mxFastParser->registerNamespace(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("</xsl:text>
+ <xsl:value-of select="@name"/>
+ <xsl:text>")), </xsl:text>
+ <xsl:call-template name="namespaceid"/>
+ <xsl:text>);</xsl:text>
+</xsl:for-each>
+<xsl:text>
+ }
+
+ return mxFastParser;
+}
+</xsl:text>
+</xsl:template>
+
+ <xsl:template match="/">
+ <xsl:text>
+#include "OOXMLFactory.hxx"
+#include "OOXMLFastHelper.hxx"
+#include "OOXMLStreamImpl.hxx"
+#include "doctok/sprmids.hxx"
+#include "doctok/resourceids.hxx"
+</xsl:text>
+ <xsl:call-template name="factoryincludes"/>
+ <xsl:text>
+namespace writerfilter {
+namespace ooxml {
+
+/// @cond GENERATED
+ </xsl:text>
+ <xsl:call-template name="factorycreatecontextfromfactory"/>
+ <xsl:call-template name="factoryfornamespace"/>
+ <xsl:call-template name="factorycreatefromstart"/>
+ <xsl:call-template name="fasttokentoid"/>
+ <xsl:call-template name="sprmkind"/>
+ <xsl:call-template name="getfastparser"/>
+ <xsl:text>
+/// @endcond
+}}
+</xsl:text>
+</xsl:template>
+
+</xsl:stylesheet> \ No newline at end of file
diff --git a/writerfilter/source/ooxml/factoryimpl_ns.xsl b/writerfilter/source/ooxml/factoryimpl_ns.xsl
new file mode 100644
index 000000000000..55d986932aec
--- /dev/null
+++ b/writerfilter/source/ooxml/factoryimpl_ns.xsl
@@ -0,0 +1,824 @@
+<!--
+/*************************************************************************
+ *
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+
+ Copyright 2008 by Sun Microsystems, Inc.
+
+ OpenOffice.org - a multi-platform office productivity suite
+
+ $RCSfile: fastresources_wml.xsl,v $
+
+ $Revision: 1.3 $
+
+ This file is part of OpenOffice.org.
+
+ OpenOffice.org is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License version 3
+ only, as published by the Free Software Foundation.
+
+ OpenOffice.org 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 version 3 for more details
+ (a copy is included in the LICENSE file that accompanied this code).
+
+ You should have received a copy of the GNU Lesser General Public License
+ version 3 along with OpenOffice.org. If not, see
+ <http://www.openoffice.org/license.html>
+ for a copy of the LGPLv3 License.
+
+ ************************************************************************/
+
+-->
+<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="factorytools.xsl"/>
+
+<xsl:template name="factorymutex">
+ <xsl:call-template name="factoryclassname"/>
+ <xsl:text>_Mutex</xsl:text>
+</xsl:template>
+
+<xsl:template name="factorymutexdecl">
+ <xsl:variable name="classname">
+ <xsl:call-template name="factoryclassname"/>
+ </xsl:variable>
+ <xsl:text>
+typedef rtl::Static &lt; osl::Mutex, </xsl:text>
+ <xsl:value-of select="$classname"/>
+ <xsl:text> &gt; </xsl:text>
+ <xsl:value-of select="$classname"/>
+ <xsl:text>_Mutex;
+</xsl:text>
+</xsl:template>
+
+<xsl:template name="factoryconstructor">
+ <xsl:variable name="classname">
+ <xsl:call-template name="factoryclassname"/>
+ </xsl:variable>
+ <xsl:text>
+</xsl:text>
+ <xsl:value-of select="$classname"/>
+ <xsl:text>::</xsl:text>
+ <xsl:value-of select="$classname"/>
+ <xsl:text>()
+{
+ // multi-thread-safe mutex for all platforms
+
+ osl::MutexGuard aGuard(</xsl:text>
+ <xsl:call-template name="factorymutex"/>
+ <xsl:text>::get());
+}
+</xsl:text>
+</xsl:template>
+
+<xsl:template name="factorydestructor">
+ <xsl:variable name="classname">
+ <xsl:call-template name="factoryclassname"/>
+ </xsl:variable>
+ <xsl:text>
+</xsl:text>
+ <xsl:value-of select="$classname"/>
+ <xsl:text>::~</xsl:text>
+ <xsl:value-of select="$classname"/>
+ <xsl:text>()
+{
+}
+</xsl:text>
+</xsl:template>
+
+<xsl:template name="factorygetinstance">
+ <xsl:variable name="classname">
+ <xsl:call-template name="factoryclassname"/>
+ </xsl:variable>
+ <xsl:text>
+OOXMLFactory_ns::Pointer_t </xsl:text>
+ <xsl:value-of select="$classname"/>
+ <xsl:text>::m_pInstance;
+
+OOXMLFactory_ns::Pointer_t </xsl:text>
+ <xsl:value-of select="$classname"/>
+ <xsl:text>::getInstance()
+{
+ if (m_pInstance.get() == NULL)
+ m_pInstance.reset(new </xsl:text>
+ <xsl:value-of select="$classname"/>
+ <xsl:text>());
+
+ return m_pInstance;
+}
+</xsl:text>
+</xsl:template>
+
+<!--
+
+creates code block in OOXMLFactory_<namespace>::createAttributeToResourceMap
+for a rng:define
+
+ -->
+<xsl:template name="factoryattributetoresourcemapinner">
+ <xsl:for-each select=".//rng:attribute">
+ <xsl:variable name="mynsid" select="generate-id(ancestor::namespace)"/>
+ <xsl:variable name="resource">
+ <xsl:for-each select="rng:ref">
+ <xsl:for-each select="key('context-resource', @name)[generate-id(ancestor::namespace) = $mynsid]">
+ <xsl:value-of select="@resource"/>
+ </xsl:for-each>
+ </xsl:for-each>
+ <xsl:for-each select=".//rng:text">
+ <xsl:text>String</xsl:text>
+ </xsl:for-each>
+ </xsl:variable>
+
+ <xsl:variable name="refdefine1">
+ <xsl:for-each select="rng:ref">
+ <xsl:variable name="refname" select="@name"/>
+ <xsl:for-each select="ancestor::rng:grammar/rng:define[@name=$refname]">
+ <xsl:call-template name="idfordefine"/>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:variable>
+ <xsl:variable name="refdefine">
+ <xsl:choose>
+ <xsl:when test="string-length($refdefine1) > 0">
+ <xsl:value-of select="$refdefine1"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>0</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:choose>
+ <xsl:when test="string-length($resource) > 0">
+ <xsl:text>
+ (*pMap)[</xsl:text>
+ <xsl:call-template name="fasttoken"/>
+ <xsl:text>] = AttributeInfo(RT_</xsl:text>
+ <xsl:value-of select="$resource"/>
+ <xsl:text>, </xsl:text>
+ <xsl:value-of select="$refdefine"/>
+ <xsl:text>);</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>
+ // empty resource: </xsl:text>
+ <xsl:call-template name="fasttoken"/>
+ </xsl:otherwise>
+ </xsl:choose>
+
+ </xsl:for-each>
+
+ <xsl:for-each select=".//rng:ref[not(ancestor::rng:element or ancestor::rng:attribute)]">
+ <xsl:variable name="name" select="@name"/>
+ <xsl:for-each select="ancestor::namespace/rng:grammar/rng:define[@name=$name]">
+ <xsl:call-template name="factoryattributetoresourcemapinner"/>
+ </xsl:for-each>
+ </xsl:for-each>
+</xsl:template>
+
+<!-- factoryattributetoresourcemap -->
+<xsl:template name="factoryattributetoresourcemap">
+ <xsl:text>
+AttributeToResourceMapPointer </xsl:text>
+ <xsl:call-template name="factoryclassname"/>
+ <xsl:text>::createAttributeToResourceMap(Id nId)
+{
+ AttributeToResourceMapPointer pMap(new AttributeToResourceMap());
+
+ switch (nId)
+ {</xsl:text>
+ <xsl:for-each select="rng:grammar/rng:define">
+ <xsl:variable name="inner">
+ <xsl:call-template name="factoryattributetoresourcemapinner"/>
+ </xsl:variable>
+ <xsl:if test="string-length($inner) > 0">
+ <xsl:text>
+ </xsl:text>
+ <xsl:call-template name="caselabeldefine"/>
+ <xsl:value-of select="$inner"/>
+ <xsl:text>
+ break;</xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ default:
+ break;
+ }
+
+ return pMap;
+}
+</xsl:template>
+
+<!-- factorylistvaluemap -->
+<xsl:template name="factorylistvaluemap">
+ <xsl:text>
+ListValueMapPointer </xsl:text>
+ <xsl:call-template name="factoryclassname"/>
+ <xsl:text>::createListValueMap(Id nId)
+{
+ ListValueMapPointer pMap(new ListValueMap());
+
+ switch (nId)
+ {</xsl:text>
+ <xsl:for-each select="resource[@resource='List']">
+ <xsl:text>
+ </xsl:text>
+ <xsl:call-template name="caselabeldefine"/>
+ <xsl:for-each select="value">
+ <xsl:text>
+ (*pMap)[</xsl:text>
+ <xsl:call-template name="valuestringname">
+ <xsl:with-param name="string" select="text()"/>
+ </xsl:call-template>
+ <xsl:text>] = </xsl:text>
+ <xsl:call-template name="idtoqname">
+ <xsl:with-param name="id" select="@tokenid"/>
+ </xsl:call-template>
+ <xsl:text>;</xsl:text>
+ </xsl:for-each>
+ <xsl:text>
+ break;</xsl:text>
+ </xsl:for-each>
+ <xsl:text>
+ default:
+ break;
+ }
+
+ return pMap;
+}</xsl:text>
+</xsl:template>
+
+<!-- factoryelementtoresorucemapinner -->
+<xsl:template name="factorycreateelementmapinner">
+ <xsl:for-each select=".//rng:element">
+ <xsl:variable name="resource">
+ <xsl:for-each select="rng:ref">
+ <xsl:call-template name="contextresource"/>
+ </xsl:for-each>
+ </xsl:variable>
+ <xsl:if test="string-length($resource) > 0">
+ <xsl:text>
+ (*pMap)[</xsl:text>
+ <xsl:call-template name="fasttoken"/>
+ <xsl:text>] = CreateElement(RT_</xsl:text>
+ <xsl:value-of select="$resource"/>
+ <xsl:text>, </xsl:text>
+ <xsl:for-each select="rng:ref">
+ <xsl:call-template name="idforref"/>
+ </xsl:for-each>
+ <xsl:text>);</xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ <xsl:for-each select=".//rng:ref[not(ancestor::rng:element or ancestor::rng:attribute)]">
+ <xsl:variable name="name" select="@name"/>
+ <xsl:variable name="block">
+ <xsl:for-each select="ancestor::namespace/rng:grammar/rng:define[@name=$name]">
+ <xsl:call-template name="factorycreateelementmapinner"/>
+ </xsl:for-each>
+ </xsl:variable>
+ <xsl:variable name="block1">
+ <xsl:choose>
+ <xsl:when test="string-length($block) = 0">
+ <xsl:for-each select="ancestor::model/namespace/rng:grammar/rng:define[@name=$name]">
+ <xsl:call-template name="factorycreateelementmapinner"/>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$block"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:if test="string-length($block1) > 0">
+ <xsl:text>
+ /* ref: </xsl:text>
+ <xsl:value-of select="$name"/>
+ <xsl:text>*/</xsl:text>
+ <xsl:value-of select="$block1"/>
+ </xsl:if>
+ </xsl:for-each>
+</xsl:template>
+
+<xsl:template name="factorycreateelementmapfromstart">
+ <xsl:for-each select="start">
+ <xsl:variable name="name" select="@name"/>
+ <xsl:variable name="block">
+ <xsl:for-each select="ancestor::namespace/rng:grammar/rng:define[@name=$name]">
+ <xsl:call-template name="factorycreateelementmapinner">
+ </xsl:call-template>
+ </xsl:for-each>
+ </xsl:variable>
+ <xsl:text>
+ /* start: </xsl:text>
+ <xsl:value-of select="$name"/>
+ <xsl:text>*/</xsl:text>
+ <xsl:if test="string-length($block) > 0">
+ <xsl:value-of select="$block"/>
+ </xsl:if>
+ </xsl:for-each>
+</xsl:template>
+
+<!-- factoryelementtoresourcemap -->
+<xsl:template name="factorycreateelementmap">
+ <xsl:text>
+CreateElementMapPointer </xsl:text>
+ <xsl:call-template name="factoryclassname"/>
+ <xsl:text>::createCreateElementMap(Id nId)
+{
+ CreateElementMapPointer pMap(new CreateElementMap());
+
+ switch (nId)
+ {</xsl:text>
+ <xsl:for-each select="rng:grammar/rng:define">
+ <xsl:variable name="inner">
+ <xsl:call-template name="factorycreateelementmapinner"/>
+ </xsl:variable>
+ <xsl:if test="string-length($inner) > 0">
+ <xsl:text>
+ </xsl:text>
+ <xsl:call-template name="caselabeldefine"/>
+ <xsl:value-of select="$inner"/>
+ <xsl:text>
+ break;</xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ <xsl:text>
+ default:</xsl:text>
+ <xsl:call-template name="factorycreateelementmapfromstart"/>
+ <xsl:text>
+ break;
+ }
+
+ return pMap;
+}</xsl:text>
+</xsl:template>
+
+ <!--
+ Chooses the action for the current <action> element.
+ -->
+ <xsl:template name="factorychooseaction">
+ <xsl:if test="@tokenid">
+ <xsl:text>
+ if (sal::static_int_cast&lt;Id&gt;(pHandler-&gt;getId()) == </xsl:text>
+ <xsl:call-template name="idtoqname">
+ <xsl:with-param name="id" select="@tokenid"/>
+ </xsl:call-template>
+ <xsl:text>)
+ {</xsl:text>
+ </xsl:if>
+ <xsl:for-each select="./cond">
+ <xsl:text>
+ {
+ OOXMLPropertySetEntryToInteger aHandler(</xsl:text>
+ <xsl:call-template name="idtoqname">
+ <xsl:with-param name="id" select="@tokenid"/>
+ </xsl:call-template>
+ <xsl:text>);
+ dynamic_cast&lt;OOXMLFastContextHandlerStream*&gt;(pHandler)-&gt;getPropertySetAttrs()-&gt;resolve(aHandler);
+
+ if (sal::static_int_cast&lt;Id&gt;(aHandler.getValue()) == </xsl:text>
+ <xsl:call-template name="idtoqname">
+ <xsl:with-param name="id" select="@value"/>
+ </xsl:call-template>
+ <xsl:text>)
+ {</xsl:text>
+ </xsl:for-each>
+ <xsl:choose>
+ <xsl:when test="@action='handleXNotes' or
+ @action='handleHdrFtr' or
+ @action='handleComment' or
+ @action='handlePicture' or
+ @action='handleBreak' or
+ @action='handleOLE'">
+ <xsl:text>
+ dynamic_cast&lt;OOXMLFastContextHandlerProperties*&gt;(pHandler)-&gt;</xsl:text>
+ <xsl:value-of select="@action"/>
+ <xsl:text>();</xsl:text>
+ </xsl:when>
+ <xsl:when test="@action='propagateCharacterPropertiesAsSet'">
+ <xsl:text>
+ pHandler-&gt;propagateCharacterPropertiesAsSet(</xsl:text>
+ <xsl:call-template name="idtoqname">
+ <xsl:with-param name="id" select="@sendtokenid"/>
+ </xsl:call-template>
+ <xsl:text>);</xsl:text>
+ </xsl:when>
+ <xsl:when test="@action='startCell' or @action='endCell'">
+ <xsl:text>
+ dynamic_cast&lt;OOXMLFastContextHandlerTextTableCell*&gt;(pHandler)-&gt;</xsl:text>
+ <xsl:value-of select="@action"/>
+ <xsl:text>();</xsl:text>
+ </xsl:when>
+ <xsl:when test="@action='startRow' or @action='endRow'">
+ <xsl:text>
+ dynamic_cast&lt;OOXMLFastContextHandlerTextTableRow*&gt;(pHandler)-&gt;</xsl:text>
+ <xsl:value-of select="@action"/>
+ <xsl:text>();</xsl:text>
+ </xsl:when>
+ <xsl:when test="@action='sendProperty' or @action='handleHyperlink'">
+ <xsl:text>
+ dynamic_cast&lt;OOXMLFastContextHandlerStream*&gt;(pHandler)-&gt;</xsl:text>
+ <xsl:value-of select="@action"/>
+ <xsl:text>();</xsl:text>
+ </xsl:when>
+ <xsl:when test="@action='fieldstart'">
+ <xsl:text>
+ pHandler-&gt;startField();</xsl:text>
+ </xsl:when>
+ <xsl:when test="@action='fieldsep'">
+ <xsl:text>
+ pHandler-&gt;fieldSeparator();</xsl:text>
+ </xsl:when>
+ <xsl:when test="@action='fieldend'">
+ <xsl:text>
+ pHandler-&gt;endField();</xsl:text>
+ </xsl:when>
+ <xsl:when test="@action='printproperty'">
+ <xsl:text>
+ dynamic_cast&lt;OOXMLFastContextHandlerStream*&gt;(pHandler)-&gt;sendProperty(</xsl:text>
+ <xsl:call-template name="idtoqname">
+ <xsl:with-param name="id" select="@sendtokenid"/>
+ </xsl:call-template>
+ <xsl:text>);</xsl:text>
+ </xsl:when>
+ <xsl:when test="@action='sendPropertiesWithId'">
+ <xsl:text>
+ pHandler-&gt;sendPropertiesWithId(</xsl:text>
+ <xsl:call-template name="idtoqname">
+ <xsl:with-param name="id" select="@sendtokenid"/>
+ </xsl:call-template>
+ <xsl:text>);</xsl:text>
+ </xsl:when>
+ <xsl:when test="@action='text'">
+ pHandler-&gt;text(sText);
+ </xsl:when>
+ <xsl:when test="@action='newProperty'">
+ <xsl:text>
+ OOXMLFastHelper&lt;OOXMLIntegerValue&gt;::newProperty(pHandler, </xsl:text>
+ <xsl:call-template name="idtoqname">
+ <xsl:with-param name="id" select="@tokenid"/>
+ </xsl:call-template>
+ <xsl:text>, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("</xsl:text>
+ <xsl:value-of select="@value"/>
+ <xsl:text>")));</xsl:text>
+ </xsl:when>
+ <xsl:when test="@action='mark'">
+ <xsl:text>
+ OOXMLFastHelper&lt;OOXMLIntegerValue&gt;::mark(pHandler, </xsl:text>
+ <xsl:call-template name="idtoqname">
+ <xsl:with-param name="id" select="@sendtokenid"/>
+ </xsl:call-template>
+ <xsl:text>, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("</xsl:text>
+ <xsl:value-of select="@value"/>
+ <xsl:text>")));</xsl:text>
+ </xsl:when>
+ <xsl:when test="@action='tokenproperty'">
+ <xsl:text>
+ OOXMLFastHelper&lt;OOXMLIntegerValue&gt;::newProperty(pHandler, </xsl:text>
+ <xsl:call-template name="idtoqname">
+ <xsl:with-param name="id">ooxml:token</xsl:with-param>
+ </xsl:call-template>
+ <xsl:text>, pHandler-&gt;getToken());</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>
+ pHandler-&gt;</xsl:text>
+ <xsl:value-of select="@action"/>
+ <xsl:text>();</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:for-each select="./cond">
+ <xsl:text>
+ }
+ }</xsl:text>
+ </xsl:for-each>
+ <xsl:if test="@tokenid">
+ <xsl:text>
+ }</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+<!-- factoryaction -->
+<xsl:template name="factoryaction">
+ <xsl:param name="action"/>
+ <xsl:text>
+void </xsl:text>
+ <xsl:call-template name="factoryclassname"/>
+ <xsl:text>::</xsl:text>
+ <xsl:value-of select="$action"/>
+ <xsl:text>Action(OOXMLFastContextHandler * pHandler</xsl:text>
+ <xsl:if test="$action='characters'">
+ <xsl:text>, const ::rtl::OUString &amp; sText</xsl:text>
+ </xsl:if>
+ <xsl:text>)
+{
+ switch (pHandler->getDefine())
+ {</xsl:text>
+ <xsl:for-each select="resource[action/@name=$action]">
+ <xsl:text>
+ </xsl:text>
+ <xsl:call-template name="caselabeldefine"/>
+ <xsl:for-each select="action[@name=$action]">
+ <xsl:call-template name="factorychooseaction"/>
+ </xsl:for-each>
+ <xsl:text>
+ break;</xsl:text>
+ </xsl:for-each>
+ <xsl:text>
+ default:
+ break;
+ }
+}
+</xsl:text>
+</xsl:template>
+
+<!-- factoryactions -->
+<xsl:template name="factoryactions">
+ <xsl:variable name="ns" select="@name"/>
+ <xsl:for-each select="resource/action">
+ <xsl:sort select="@name"/>
+ <xsl:if test="generate-id(key('actions', @name)[ancestor::namespace/@name=$ns][1]) = generate-id(.)">
+ <xsl:variable name="name" select="@name"/>
+ <xsl:for-each select="ancestor::namespace">
+ <xsl:call-template name="factoryaction">
+ <xsl:with-param name="action" select="$name"/>
+ </xsl:call-template>
+ </xsl:for-each>
+ </xsl:if>
+ </xsl:for-each>
+</xsl:template>
+
+<xsl:template name="factorygetdefinename">
+ <xsl:text>
+string </xsl:text>
+ <xsl:call-template name="factoryclassname"/>
+ <xsl:text>::getDefineName(Id nId) const
+{
+ static IdToStringMapPointer pMap;
+
+ if (pMap.get() == NULL)
+ {
+ pMap = IdToStringMapPointer(new IdToStringMap());
+
+</xsl:text>
+ <xsl:for-each select="rng:grammar/rng:define">
+ <xsl:text>
+ (*pMap)[</xsl:text>
+ <xsl:call-template name="idfordefine"/>
+ <xsl:text>] = "</xsl:text>
+ <xsl:value-of select="@name"/>
+ <xsl:text>";</xsl:text>
+ </xsl:for-each>
+ }
+
+ return (*pMap)[nId];
+}
+
+</xsl:template>
+
+<xsl:template name="factorytokentoidmapinner">
+ <xsl:variable name="name" select="@name"/>
+ <xsl:variable name="body">
+ <xsl:for-each select="ancestor::namespace/resource[@name=$name]">
+ <xsl:for-each select="element[@tokenid]|attribute[@tokenid]">
+ <xsl:text>
+ (*pMap)[</xsl:text>
+ <xsl:call-template name="fasttoken"/>
+ <xsl:text>] = </xsl:text>
+ <xsl:call-template name="idtoqname">
+ <xsl:with-param name="id" select="@tokenid"/>
+ </xsl:call-template>
+ <xsl:text>;</xsl:text>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:variable>
+ <xsl:if test="string-length($body) > 0">
+ <xsl:text>
+ // </xsl:text>
+ <xsl:value-of select="$name"/>
+ <xsl:value-of select="$body"/>
+ </xsl:if>
+ <xsl:for-each select=".//rng:ref[not(ancestor::rng:element or ancestor::rng:attribute)]">
+ <xsl:variable name="refname" select="@name"/>
+ <xsl:variable name="refblock1">
+ <xsl:for-each
+ select="ancestor::rng:grammar/rng:define[@name=$refname]">
+ <xsl:call-template name="factorytokentoidmapinner"/>
+ </xsl:for-each>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="string-length($refblock1) = 0">
+ <xsl:for-each select="ancestor::model/namespace/rng:grammar/rng:define[@name=$refname]">
+ <xsl:call-template name="factorytokentoidmapinner"/>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$refblock1"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>
+</xsl:template>
+
+<xsl:template name="factorytokentoidmap">
+ <xsl:text>
+TokenToIdMapPointer </xsl:text>
+ <xsl:call-template name="factoryclassname"/>
+ <xsl:text>::createTokenToIdMap(Id nId)
+{
+ TokenToIdMapPointer pMap(new TokenToIdMap());
+
+ switch (nId)
+ {</xsl:text>
+ <xsl:for-each select="rng:grammar/rng:define">
+ <xsl:variable name="inner">
+ <xsl:call-template name="factorytokentoidmapinner"/>
+ </xsl:variable>
+ <xsl:if test="string-length($inner) > 0">
+ <xsl:text>
+ </xsl:text>
+ <xsl:call-template name="caselabeldefine"/>
+ <xsl:value-of select="$inner"/>
+ <xsl:text>
+ break;</xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ <xsl:text>
+ default:</xsl:text>
+ <xsl:for-each select="start">
+ <xsl:variable name="name" select="@name"/>
+ <xsl:text>
+ // </xsl:text>
+ <xsl:value-of select="$name"/>
+ <xsl:for-each select="ancestor::namespace/rng:grammar/rng:define[@name=$name]">
+ <xsl:call-template name="factorytokentoidmapinner"/>
+ </xsl:for-each>
+ </xsl:for-each>
+ <xsl:text>
+ break;
+ }
+
+ return pMap;
+}
+</xsl:text>
+</xsl:template>
+
+<xsl:template name="factoryattributeactiondefineinner">
+ <xsl:variable name="name" select="@name"/>
+ <xsl:variable name="block">
+ <xsl:for-each select="ancestor::namespace/resource[@name=$name]">
+ <xsl:for-each select="attribute[@action]">
+ <xsl:text>
+ case </xsl:text>
+ <xsl:call-template name="fasttoken"/>
+ <xsl:text>:
+ pHandler-></xsl:text>
+ <xsl:value-of select="@action"/>
+ <xsl:text>(pValue);
+ break;</xsl:text>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:variable>
+ <xsl:if test="string-length($block) > 0">
+ <xsl:variable name="handlertype">
+ <xsl:text>OOXMLFastContextHandler</xsl:text>
+ <xsl:for-each select="ancestor::namespace/resource[@name=$name]">
+ <xsl:value-of select="@resource"/>
+ </xsl:for-each>
+ </xsl:variable>
+ <xsl:text>
+ {
+ </xsl:text>
+ <xsl:value-of select="$handlertype"/>
+ <xsl:text> * pHandler = dynamic_cast&lt;</xsl:text>
+ <xsl:value-of select="$handlertype"/>
+ <xsl:text> * &gt;(_pHandler);
+
+ switch(nToken)
+ {</xsl:text>
+ <xsl:value-of select="$block"/>
+ <xsl:text>
+ default:
+ break;
+ }
+ }</xsl:text>
+ </xsl:if>
+</xsl:template>
+
+<xsl:template name="factoryattributeactioninner">
+ <xsl:for-each select="rng:grammar/rng:define">
+ <xsl:variable name="inner">
+ <xsl:call-template name="factoryattributeactiondefineinner"/>
+ </xsl:variable>
+ <xsl:if test="string-length($inner) > 0">
+ <xsl:text>
+ </xsl:text>
+ <xsl:call-template name="caselabeldefine"/>
+ <xsl:value-of select="$inner"/>
+ <xsl:text>
+ break;</xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+</xsl:template>
+
+<xsl:template name="factoryattributeaction">
+ <xsl:variable name="inner">
+ <xsl:call-template name="factoryattributeactioninner"/>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="string-length($inner) > 0">
+ <xsl:text>
+void </xsl:text>
+<xsl:call-template name="factoryclassname"/>
+<xsl:text>::attributeAction(OOXMLFastContextHandler * _pHandler, Token_t nToken, OOXMLValue::Pointer_t pValue)
+{
+ switch(_pHandler->getDefine())
+ {</xsl:text>
+ <xsl:value-of select="$inner"/>
+ <xsl:text>
+ default:
+ break;
+ }
+}
+</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>
+void </xsl:text>
+<xsl:call-template name="factoryclassname"/>
+<xsl:text>::attributeAction(OOXMLFastContextHandler *, Token_t, OOXMLValue::Pointer_t)
+{
+}
+</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+ <xsl:template match="/">
+ <xsl:variable name="ns" select="substring-before(substring-after($file, 'OOXMLFactory_'), '.cxx')"/>
+ <xsl:text>
+#include "doctok/sprmids.hxx"
+#include "doctok/resourceids.hxx"
+#include "ooxml/resourceids.hxx"
+#include "OOXMLFactory_values.hxx"
+#include "OOXMLFactory_</xsl:text>
+ <xsl:value-of select="$ns"/>
+ <xsl:text>.hxx"
+#include "OOXMLFastHelper.hxx"
+
+namespace writerfilter {
+namespace ooxml {
+
+/// @cond GENERATED
+ </xsl:text>
+ <xsl:for-each select="/model/namespace[@name=$ns]">
+ <xsl:call-template name="factorymutexdecl"/>
+ <xsl:call-template name="factoryconstructor"/>
+ <xsl:call-template name="factorydestructor"/>
+ <xsl:call-template name="factorygetinstance"/>
+ <xsl:call-template name="factoryattributetoresourcemap"/>
+ <xsl:call-template name="factorylistvaluemap"/>
+ <xsl:call-template name="factorycreateelementmap"/>
+ <xsl:call-template name="factoryactions"/>
+ <xsl:call-template name="factorygetdefinename"/>
+ <xsl:call-template name="factorytokentoidmap"/>
+ <xsl:call-template name="factoryattributeaction"/>
+ </xsl:for-each>
+ <xsl:text>
+/// @endcond
+}}
+</xsl:text>
+</xsl:template>
+
+</xsl:stylesheet> \ No newline at end of file
diff --git a/writerfilter/source/ooxml/fastresources_dml-chartDrawing.xsl b/writerfilter/source/ooxml/factoryimpl_values.xsl
index 3a0869ebe826..465923d41769 100644
--- a/writerfilter/source/ooxml/fastresources_dml-chartDrawing.xsl
+++ b/writerfilter/source/ooxml/factoryimpl_values.xsl
@@ -3,10 +3,14 @@
*
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- Copyright 2000, 2010 Oracle and/or its affiliates.
+ Copyright 2008 by Sun Microsystems, Inc.
OpenOffice.org - a multi-platform office productivity suite
+ $RCSfile: fastresources_wml.xsl,v $
+
+ $Revision: 1.3 $
+
This file is part of OpenOffice.org.
OpenOffice.org is free software: you can redistribute it and/or modify
@@ -23,7 +27,7 @@
version 3 along with OpenOffice.org. If not, see
<http://www.openoffice.org/license.html>
for a copy of the LGPLv3 License.
-
+
************************************************************************/
-->
@@ -61,38 +65,34 @@
<xsl:output method="text" />
<xsl:param name="prefix"/>
- <xsl:include href="resourcestools.xsl"/>
+ <xsl:include href="factorytools.xsl"/>
- <xsl:template match="/">
- <xsl:call-template name="licenseheader"/>
+ <!--
+ Generates constant definitions for attribute values.
+ -->
+ <xsl:template name="valueconstants">
<xsl:text>
-#ifndef INCLUDED_OOXML_FASTRESOURCES_DML_CHARTDRAWING_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_CHARTDRAWING_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
+rtl::OUString </xsl:text>
+<xsl:call-template name="valuestringname">
+ <xsl:with-param name="string"></xsl:with-param>
+</xsl:call-template>
+<xsl:text>(RTL_CONSTASCII_USTRINGPARAM(""));</xsl:text>
+<xsl:for-each select="//rng:value[generate-id(key('value-with-content', text())[1]) = generate-id(.)]">
+ <xsl:text>
+rtl::OUString </xsl:text>
+<xsl:call-template name="valuestringname">
+ <xsl:with-param name="string" select="."/>
+</xsl:call-template>
+<xsl:text>(RTL_CONSTASCII_USTRINGPARAM("</xsl:text>
+<xsl:value-of select="."/>
+<xsl:text>"));</xsl:text>
+</xsl:for-each>
+ </xsl:template>
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-chartDrawing</xsl:with-param>
- </xsl:call-template>
+ <xsl:template match="/">
<xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_CHARTDRAWING_HXX&#xa;</xsl:text>
+#include "OOXMLFactory_values.hxx"</xsl:text>
+<xsl:call-template name="valueconstants"/>
+<xsl:text>&#xa;</xsl:text>
</xsl:template>
-
- <xsl:template match="*"/>
</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_dml-shape3DCamera.xsl b/writerfilter/source/ooxml/factoryinc.xsl
index 8ff2260a76c4..aa54a5c297ca 100644
--- a/writerfilter/source/ooxml/fastresources_dml-shape3DCamera.xsl
+++ b/writerfilter/source/ooxml/factoryinc.xsl
@@ -3,10 +3,14 @@
*
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- Copyright 2000, 2010 Oracle and/or its affiliates.
+ Copyright 2008 by Sun Microsystems, Inc.
OpenOffice.org - a multi-platform office productivity suite
+ $RCSfile: fastresources_wml.xsl,v $
+
+ $Revision: 1.3 $
+
This file is part of OpenOffice.org.
OpenOffice.org is free software: you can redistribute it and/or modify
@@ -23,7 +27,7 @@
version 3 along with OpenOffice.org. If not, see
<http://www.openoffice.org/license.html>
for a copy of the LGPLv3 License.
-
+
************************************************************************/
-->
@@ -61,38 +65,48 @@
<xsl:output method="text" />
<xsl:param name="prefix"/>
- <xsl:include href="resourcestools.xsl"/>
+ <xsl:include href="factorytools.xsl"/>
- <xsl:template match="/">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#ifndef INCLUDED_OOXML_FASTRESOURCES_DML_SHAPE3DCAMERA_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_SHAPE3DCAMERA_HXX
+ <xsl:template name="factorynamespaceiddecls">
+ <xsl:for-each select="/model/namespace">
+ <xsl:sort select="@name"/>
+ <xsl:text>
+extern const Id </xsl:text>
+<xsl:call-template name="idfornamespace"/>
+<xsl:text>;</xsl:text>
+ </xsl:for-each>
+ </xsl:template>
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
+ <xsl:template name="factorynamespaceidimpls">
+ <xsl:for-each select="/model/namespace">
+ <xsl:sort select="@name"/>
+ <xsl:text>
+const Id </xsl:text>
+<xsl:call-template name="idfornamespace"/>
+<xsl:text> = </xsl:text>
+<xsl:value-of select="position()"/>
+<xsl:text> &lt;&lt; 16;</xsl:text>
+ </xsl:for-each>
+</xsl:template>
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
+ <xsl:template match="/">
+ <xsl:text>
+#ifndef OOXML_FACTORY_GENERATED_HXX
+#define OOXML_FACTORY_GENERATED_HXX
namespace writerfilter {
namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
/// @cond GENERATED
</xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-shape3DCamera</xsl:with-param>
- </xsl:call-template>
+ <xsl:call-template name="factorynamespaceidimpls"/>
+ <xsl:call-template name="factorydefineidimpls"/>
<xsl:text>
/// @endcond
}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_SHAPE3DCAMERA_HXX&#xa;</xsl:text>
- </xsl:template>
- <xsl:template match="*"/>
-</xsl:stylesheet>
+#endif // OOXML_FACTORY_GENERATED_HXX
+</xsl:text>
+</xsl:template>
+
+</xsl:stylesheet> \ No newline at end of file
diff --git a/writerfilter/source/ooxml/factorytools.xsl b/writerfilter/source/ooxml/factorytools.xsl
new file mode 100644
index 000000000000..a7b0af5f9dea
--- /dev/null
+++ b/writerfilter/source/ooxml/factorytools.xsl
@@ -0,0 +1,345 @@
+<!--
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: $
+ *
+ * $Revision: $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+-->
+<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:xalan="http://xml.apache.org/xalan"
+ xmlns:UML = 'org.omg.xmi.namespace.UML'
+ xmlns:common="http://exslt.org/common"
+ exclude-result-prefixes = "xalan"
+ xml:space="default">
+
+<!--
+ KEYS
+-->
+<xsl:key name="context-resource"
+ match="resource" use="@name"/>
+
+<xsl:key name="tokenids" match="@tokenid|@sendtokenid" use="."/>
+
+<xsl:key name="actions" match="/model/namespace/resource/action"
+ use="@name"/>
+
+<xsl:key name="definename" match="//rng:define" use="@name"/>
+
+<xsl:key name="resources" match="/model/namespace/resource" use="@resource"/>
+
+<xsl:key name="value-with-content" match="//rng:value"
+ use="text()"/>
+
+<xsl:key name="same-token-name" match="rng:element|rng:attribute" use="@localname"/>
+
+<!-- license header -->
+<xsl:template name="licenseheader">
+ <xsl:text>
+/*
+
+ THIS FILE IS GENERATED AUTOMATICALLY! DO NOT EDIT!
+
+*/
+&#xa;</xsl:text>
+</xsl:template>
+
+<!--
+IDENTIFIERs
+-->
+
+<!--
+
+generates token identifer for a namespace
+
+NN_<namespace/@name>
+
+-->
+<xsl:template name="fastnamespace">
+ <xsl:if test="string-length(@prefix) > 0">
+ <xsl:text>NS_</xsl:text>
+ <xsl:value-of select="@prefix"/>
+ </xsl:if>
+</xsl:template>
+
+<!--
+
+generates local part of token identifier for a rng:define
+
+OOXML_<rng:define/@localname>
+
+-->
+<xsl:template name="fastlocalname">
+ <xsl:text>OOXML_</xsl:text>
+ <xsl:value-of select="@localname"/>
+</xsl:template>
+
+<!--
+
+generates identifier for a token
+
+-->
+<xsl:template name="fasttoken">
+ <xsl:variable name="ns">
+ <xsl:call-template name="fastnamespace"/>
+ </xsl:variable>
+ <xsl:if test="string-length($ns) > 0">
+ <xsl:value-of select="$ns"/>
+ <xsl:text>|</xsl:text>
+ </xsl:if>
+ <xsl:call-template name="fastlocalname"/>
+</xsl:template>
+
+<!-- generates identifier for a namespace
+
+NN_<namespace/@name>
+
+-->
+<xsl:template name="idfornamespace">
+ <xsl:text>NN_</xsl:text>
+ <xsl:value-of select="translate(@name, '-', '_')"/>
+</xsl:template>
+
+<!-- generates local part of identier for rng:define
+
+DEFINE_<rng:define/@name>
+
+-->
+<xsl:template name="localidfordefine">
+ <xsl:text>DEFINE_</xsl:text>
+ <xsl:value-of select="@name"/>
+</xsl:template>
+
+<!-- generates id for a rng:define
+
+NN_<namespace/@name> | DEFINE_<rng:define/@name>
+
+-->
+<xsl:template name="idfordefine">
+ <xsl:for-each select="ancestor::namespace">
+ <xsl:call-template name="idfornamespace"/>
+ </xsl:for-each>
+ <xsl:text>|</xsl:text>
+ <xsl:call-template name="localidfordefine"/>
+</xsl:template>
+
+<!--
+
+creates case label for a rng:define:
+
+case NN_<namesapce/@name> | DEFINE_<rng:define/@name>:
+
+-->
+<xsl:template name="caselabeldefine">
+ <xsl:text>case </xsl:text>
+ <xsl:call-template name="idfordefine"/>
+ <xsl:text>:</xsl:text>
+</xsl:template>
+
+<!--
+ Generates name for a value string.
+
+ Value strings are possible values for attributes in OOXML.
+
+ @param string the string as present in the according <rng:value>
+-->
+<xsl:template name="valuestringname">
+ <xsl:param name="string"/>
+ <xsl:text>OOXMLValueString_</xsl:text>
+ <xsl:value-of select="translate($string, '-+ ,', 'mp__')"/>
+</xsl:template>
+
+<!--
+ Generates qname for id.
+
+ @param id the id to generate qname for
+
+ If id is of format <prefix>:<localname> the result is
+
+ NS_<prefix>::LN_<localname>
+
+ If id does not contain ":" the result is just id.
+-->
+<xsl:template name='idtoqname'>
+ <xsl:param name='id'/>
+ <xsl:choose>
+ <xsl:when test="contains($id, ':')">
+ <xsl:text>NS_</xsl:text>
+ <xsl:value-of select='substring-before($id, ":")'/>
+ <xsl:text>::LN_</xsl:text>
+ <xsl:value-of select='substring-after($id, ":")'/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$id"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!--
+ Returns the identifier for a namespace.
+
+NS_<namespace/@alias>
+
+-->
+<xsl:template name="namespaceid">
+ <xsl:text>NS_</xsl:text>
+ <xsl:value-of select="@alias"/>
+</xsl:template>
+
+<!--
+ Returns the value of the @resource attribute of the <resource>
+ node according to the current <define>.
+-->
+<xsl:template name="contextresource">
+ <xsl:variable name="name" select="@name"/>
+ <xsl:variable name="nsid" select="generate-id(ancestor::namespace)"/>
+ <xsl:variable name="resourcesamens">
+ <xsl:for-each select="key('context-resource', @name)">
+ <xsl:if test="generate-id(ancestor::namespace) = $nsid">
+ <xsl:value-of select="@resource"/>
+ </xsl:if>
+ </xsl:for-each>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$name='BUILT_IN_ANY_TYPE'">
+ <xsl:text>Any</xsl:text>
+ </xsl:when>
+ <xsl:when test="string-length($resourcesamens) = 0">
+ <xsl:for-each select="key('context-resource', @name)[1]">
+ <xsl:value-of select="@resource"/>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$resourcesamens"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template name="idforref">
+ <xsl:variable name="name" select="@name"/>
+ <xsl:variable name="result1">
+ <xsl:for-each select="ancestor::namespace/rng:grammar/rng:define[@name=$name]">
+ <xsl:call-template name="idfordefine"/>
+ </xsl:for-each>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$name='BUILT_IN_ANY_TYPE'">
+ <xsl:text>0</xsl:text>
+ </xsl:when>
+ <xsl:when test="string-length($result1) = 0">
+ <xsl:for-each select="(ancestor::model/namespace/rng:grammar/rng:define[@name=$name])[1]">
+ <xsl:call-template name="idfordefine"/>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$result1"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- factoryclassname -->
+<xsl:template name="factoryclassname">
+ <xsl:text>OOXMLFactory_</xsl:text>
+ <xsl:value-of select="translate(@name, '-', '_')"/>
+</xsl:template>
+
+<xsl:template name="factoryincludes">
+ <xsl:for-each select="/model/namespace">
+ <xsl:text>
+#include "OOXMLFactory_</xsl:text>
+ <xsl:value-of select="@name"/>
+ <xsl:text>.hxx"</xsl:text>
+ </xsl:for-each>
+</xsl:template>
+
+<xsl:template name="factorydefineiddecls">
+ <xsl:for-each select="//rng:define">
+ <xsl:sort select="@name"/>
+ <xsl:if test="generate-id(key('definename', @name)[1]) = generate-id(.)">
+ <xsl:text>
+extern const Id </xsl:text>
+ <xsl:call-template name="localidfordefine"/>
+ <xsl:text>;</xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+</xsl:template>
+
+<xsl:template name="factorydefineidimpls">
+ <xsl:for-each select="//rng:define">
+ <xsl:sort select="@name"/>
+ <xsl:if test="generate-id(key('definename', @name)[1]) = generate-id(.)">
+ <xsl:text>
+const Id </xsl:text>
+ <xsl:call-template name="localidfordefine"/>
+ <xsl:text> = </xsl:text>
+ <xsl:value-of select="position()"/>
+ <xsl:text>;</xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+</xsl:template>
+
+<xsl:template name="resources">
+ <xsl:for-each select="/model/namespace/resource">
+ <xsl:if test="generate-id(key('resources', @resource)[1])=generate-id(.)">
+ <xsl:text>RT_</xsl:text>
+ <xsl:value-of select="@resource"/>
+ <xsl:text>,&#xa;</xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+</xsl:template>
+
+</xsl:stylesheet> \ No newline at end of file
diff --git a/writerfilter/source/ooxml/fastresources.xsl b/writerfilter/source/ooxml/fastresources.xsl
deleted file mode 100644
index bf68234a37bb..000000000000
--- a/writerfilter/source/ooxml/fastresources.xsl
+++ /dev/null
@@ -1,116 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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 &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include &lt;resourcemodel/TagLogger.hxx&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include &lt;ooxml/OOXMLnamespaceids.hxx&gt;
-#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 {
-
-extern TagLogger::Pointer_t debug_logger;
-
-using namespace ::std;
-using namespace ::com::sun::star;
-
-uno::Reference &lt; xml::sax::XFastContextHandler &gt;
-createFromStart(::sal_Int32 Element);
-void dumpAttribs
-(const uno::Reference &lt; xml::sax::XFastAttributeList &gt; &amp; Attribs)
- throw (uno::RuntimeException, xml::sax::SAXException);
-
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="valueconstantdecls"/>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_RESOURCES_HXX&#xa;</xsl:text></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_.xsl b/writerfilter/source/ooxml/fastresources_.xsl
deleted file mode 100644
index 6141bb7f02bc..000000000000
--- a/writerfilter/source/ooxml/fastresources_.xsl
+++ /dev/null
@@ -1,99 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_WML_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_WML_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-using namespace doctok;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">wml</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_WML_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_dml-baseStylesheet.xsl b/writerfilter/source/ooxml/fastresources_dml-baseStylesheet.xsl
deleted file mode 100644
index b16443e1021a..000000000000
--- a/writerfilter/source/ooxml/fastresources_dml-baseStylesheet.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_DML_BASESTYLESHEET_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_BASESTYLESHEET_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-baseStylesheet</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_BASESTYLESHEET_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_dml-documentProperties.xsl b/writerfilter/source/ooxml/fastresources_dml-documentProperties.xsl
deleted file mode 100644
index 4a5aab2e3012..000000000000
--- a/writerfilter/source/ooxml/fastresources_dml-documentProperties.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_DML_DOCUMENTPROPERTIES_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_DOCUMENTPROPERTIES_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-documentProperties</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_DOCUMENTPROPERTIES_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_dml-graphicalObject.xsl b/writerfilter/source/ooxml/fastresources_dml-graphicalObject.xsl
deleted file mode 100644
index 731fe6dd7712..000000000000
--- a/writerfilter/source/ooxml/fastresources_dml-graphicalObject.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_DML_GRAPHICALOBJECT_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_GRAPHICALOBJECT_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-graphicalObject</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_GRAPHICALOBJECT_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_dml-shape3DLighting.xsl b/writerfilter/source/ooxml/fastresources_dml-shape3DLighting.xsl
deleted file mode 100644
index 374668a8b7e3..000000000000
--- a/writerfilter/source/ooxml/fastresources_dml-shape3DLighting.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_DML_SHAPE3DLIGHTING_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_SHAPE3DLIGHTING_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-shape3DLighting</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_SHAPE3DLIGHTING_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_dml-shape3DStyles.xsl b/writerfilter/source/ooxml/fastresources_dml-shape3DStyles.xsl
deleted file mode 100644
index 8769fdc93f88..000000000000
--- a/writerfilter/source/ooxml/fastresources_dml-shape3DStyles.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_DML_SHAPE3DSTYLES_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_SHAPE3DSTYLES_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-shape3DStyles</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_SHAPE3DSTYLES_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_dml-shapeEffects.xsl b/writerfilter/source/ooxml/fastresources_dml-shapeEffects.xsl
deleted file mode 100644
index 3925aa2c2f34..000000000000
--- a/writerfilter/source/ooxml/fastresources_dml-shapeEffects.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_DML_SHAPEEFFECTS_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_SHAPEEFFECTS_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-shapeEffects</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_SHAPEEFFECTS_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_dml-shapeGeometry.xsl b/writerfilter/source/ooxml/fastresources_dml-shapeGeometry.xsl
deleted file mode 100644
index d500a94d7137..000000000000
--- a/writerfilter/source/ooxml/fastresources_dml-shapeGeometry.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_DML_SHAPEGEOMETRY_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_SHAPEGEOMETRY_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-shapeGeometry</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_SHAPEGEOMETRY_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_dml-shapeLineProperties.xsl b/writerfilter/source/ooxml/fastresources_dml-shapeLineProperties.xsl
deleted file mode 100644
index cc7e47ba3e27..000000000000
--- a/writerfilter/source/ooxml/fastresources_dml-shapeLineProperties.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_DML_SHAPELINEPROPERTIES_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_SHAPELINEPROPERTIES_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-shapeLineProperties</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_SHAPELINEPROPERTIES_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_dml-shapeProperties.xsl b/writerfilter/source/ooxml/fastresources_dml-shapeProperties.xsl
deleted file mode 100644
index 7fbfef66b033..000000000000
--- a/writerfilter/source/ooxml/fastresources_dml-shapeProperties.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_DML_SHAPEPROPERTIES_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_SHAPEPROPERTIES_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-shapeProperties</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_SHAPEPROPERTIES_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_dml-styleDefaults.xsl b/writerfilter/source/ooxml/fastresources_dml-styleDefaults.xsl
deleted file mode 100644
index 35d20409e2f0..000000000000
--- a/writerfilter/source/ooxml/fastresources_dml-styleDefaults.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_DML_STYLEDEFAULTS_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_STYLEDEFAULTS_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-styleDefaults</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_STYLEDEFAULTS_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_dml-stylesheet.xsl b/writerfilter/source/ooxml/fastresources_dml-stylesheet.xsl
deleted file mode 100644
index 182052eb117b..000000000000
--- a/writerfilter/source/ooxml/fastresources_dml-stylesheet.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_DML_STYLESHEET_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_STYLESHEET_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-stylesheet</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_STYLESHEET_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_dml-textCharacter.xsl b/writerfilter/source/ooxml/fastresources_dml-textCharacter.xsl
deleted file mode 100644
index 8b276f25d4ad..000000000000
--- a/writerfilter/source/ooxml/fastresources_dml-textCharacter.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_DML_TEXTCHARACTER_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_TEXTCHARACTER_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-textCharacter</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_TEXTCHARACTER_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_dml-wordprocessingDrawing.xsl b/writerfilter/source/ooxml/fastresources_dml-wordprocessingDrawing.xsl
deleted file mode 100644
index d158513e3240..000000000000
--- a/writerfilter/source/ooxml/fastresources_dml-wordprocessingDrawing.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_DML_WORDPROCESSINGDRAWING_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_DML_WORDPROCESSINGDRAWING_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">dml-wordprocessingDrawing</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_DML_WORDPROCESSINGDRAWING_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_shared-math.xsl b/writerfilter/source/ooxml/fastresources_shared-math.xsl
deleted file mode 100644
index c80d616f8f50..000000000000
--- a/writerfilter/source/ooxml/fastresources_shared-math.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_SHARED_MATH_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_SHARED_MATH_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">shared-math</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_SHARED_MATH_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_shared-relationshipReference.xsl b/writerfilter/source/ooxml/fastresources_shared-relationshipReference.xsl
deleted file mode 100644
index d4abaf92680c..000000000000
--- a/writerfilter/source/ooxml/fastresources_shared-relationshipReference.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_SHARED_RELATIONSHIPREFERENCE_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_SHARED_RELATIONSHIPREFERENCE_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">shared-relationshipReference</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_SHARED_RELATIONSHIPREFERENCE_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_sml-customXmlMappings.xsl b/writerfilter/source/ooxml/fastresources_sml-customXmlMappings.xsl
deleted file mode 100644
index 33238578d449..000000000000
--- a/writerfilter/source/ooxml/fastresources_sml-customXmlMappings.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_SML_CUSTOMXMLMAPPINGS_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_SML_CUSTOMXMLMAPPINGS_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">sml-customXmlMappings</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_SML_CUSTOMXMLMAPPINGS_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_vml-main.xsl b/writerfilter/source/ooxml/fastresources_vml-main.xsl
deleted file mode 100644
index cd9512ecd7d8..000000000000
--- a/writerfilter/source/ooxml/fastresources_vml-main.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_VML_MAIN_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_VML_MAIN_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">vml-main</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_VML_MAIN_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_vml-officeDrawing.xsl b/writerfilter/source/ooxml/fastresources_vml-officeDrawing.xsl
deleted file mode 100644
index 039a2a2f608c..000000000000
--- a/writerfilter/source/ooxml/fastresources_vml-officeDrawing.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_VML_OFFICE_DRAWING_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_VML_OFFICE_DRAWING_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">vml-officeDrawing</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_VML_OFFICE_DRAWING_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_vml-wordprocessingDrawing.xsl b/writerfilter/source/ooxml/fastresources_vml-wordprocessingDrawing.xsl
deleted file mode 100644
index fa5adb933284..000000000000
--- a/writerfilter/source/ooxml/fastresources_vml-wordprocessingDrawing.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_VML_WORDPROCESSION_DRAWING_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_VML_WORDPROCESSION_DRAWING_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">vml-wordprocessingDrawing</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_VML_WORDPROCESSION_DRAWING_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresources_wml.xsl b/writerfilter/source/ooxml/fastresources_wml.xsl
deleted file mode 100644
index c21ab6ef2cdd..000000000000
--- a/writerfilter/source/ooxml/fastresources_wml.xsl
+++ /dev/null
@@ -1,98 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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_FASTRESOURCES_WML_HXX
-#define INCLUDED_OOXML_FASTRESOURCES_WML_HXX
-
-#include &lt;vector&gt;
-#include &lt;boost/shared_ptr.hpp&gt;
-#include &lt;string&gt;
-
-#include &lt;resourcemodel/WW8ResourceModel.hxx&gt;
-#include "OOXMLFastContextHandler.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLStreamImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
-/// @cond GENERATED
- </xsl:text>
- <xsl:call-template name="fastcontextdecls">
- <xsl:with-param name="namespace">wml</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
-/// @endcond
-}}
-#endif //INCLUDED_OOXML_FASTRESOURCES_WML_HXX&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl.xsl b/writerfilter/source/ooxml/fastresourcesimpl.xsl
deleted file mode 100644
index ac0558236cd4..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl.xsl
+++ /dev/null
@@ -1,95 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;string&gt;
-#include &lt;doctok/sprmids.hxx&gt;
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLfastresources.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-
- </xsl:text>
- <xsl:call-template name="fastcontextcreatefromstart"/>
- <xsl:call-template name="getfastparser"/>
- <xsl:call-template name="fasttokentoid"/>
- <xsl:call-template name="sprmkind"/>
- <xsl:call-template name="dumpattribs"/>
- <xsl:call-template name="ooxmlidstoxml"/>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-baseStylesheet.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-baseStylesheet.xsl
deleted file mode 100644
index 79c4f46a51ee..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-baseStylesheet.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-baseStylesheet</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-baseTypes.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-baseTypes.xsl
deleted file mode 100644
index cf7de4f5427a..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-baseTypes.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-baseTypes</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-chartDrawing.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-chartDrawing.xsl
deleted file mode 100644
index 6f14f1399d9c..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-chartDrawing.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-chartDrawing</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-documentProperties.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-documentProperties.xsl
deleted file mode 100644
index 19c6cc30c9d8..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-documentProperties.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-documentProperties</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-graphicalObject.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-graphicalObject.xsl
deleted file mode 100644
index c3854540c818..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-graphicalObject.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-graphicalObject</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DCamera.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DCamera.xsl
deleted file mode 100644
index b0b3c5ed0c35..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DCamera.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-shape3DCamera</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DLighting.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DLighting.xsl
deleted file mode 100644
index 42c99380ea3b..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DLighting.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-shape3DLighting</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DScene.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DScene.xsl
deleted file mode 100644
index caa362a3e0a7..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DScene.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-shape3DScene</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DStyles.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DStyles.xsl
deleted file mode 100644
index 5c07fc034714..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-shape3DStyles.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-shape3DStyles</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-shapeEffects.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-shapeEffects.xsl
deleted file mode 100644
index 285518d3908d..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-shapeEffects.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-shapeEffects</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-shapeGeometry.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-shapeGeometry.xsl
deleted file mode 100644
index 063ab2c4aae9..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-shapeGeometry.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-shapeGeometry</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-shapeLineProperties.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-shapeLineProperties.xsl
deleted file mode 100644
index 41127751ff2d..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-shapeLineProperties.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-shapeLineProperties</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-styleDefaults.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-styleDefaults.xsl
deleted file mode 100644
index 604652d664c2..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-styleDefaults.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-styleDefaults</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-stylesheet.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-stylesheet.xsl
deleted file mode 100644
index 940363e355f2..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-stylesheet.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-stylesheet</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-textCharacter.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-textCharacter.xsl
deleted file mode 100644
index d3d486196825..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-textCharacter.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-textCharacter</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_dml-wordprocessingDrawing.xsl b/writerfilter/source/ooxml/fastresourcesimpl_dml-wordprocessingDrawing.xsl
deleted file mode 100644
index 6433812e6c2f..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_dml-wordprocessingDrawing.xsl
+++ /dev/null
@@ -1,94 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">dml-wordprocessingDrawing</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_shared-math.xsl b/writerfilter/source/ooxml/fastresourcesimpl_shared-math.xsl
deleted file mode 100644
index 65af7e93fa0a..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_shared-math.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">shared-math</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_shared-relationshipReference.xsl b/writerfilter/source/ooxml/fastresourcesimpl_shared-relationshipReference.xsl
deleted file mode 100644
index ff0e8416d23a..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_shared-relationshipReference.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">shared-relationshipReference</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_sml-customXmlMappings.xsl b/writerfilter/source/ooxml/fastresourcesimpl_sml-customXmlMappings.xsl
deleted file mode 100644
index 21dc37d4dec4..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_sml-customXmlMappings.xsl
+++ /dev/null
@@ -1,93 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">sml-customXmlMappings</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_vml-main.xsl b/writerfilter/source/ooxml/fastresourcesimpl_vml-main.xsl
deleted file mode 100644
index 080e31ed69cd..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_vml-main.xsl
+++ /dev/null
@@ -1,94 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include &lt;doctok/sprmids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">vml-main</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_vml-officeDrawing.xsl b/writerfilter/source/ooxml/fastresourcesimpl_vml-officeDrawing.xsl
deleted file mode 100644
index d4716325726d..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_vml-officeDrawing.xsl
+++ /dev/null
@@ -1,94 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include &lt;doctok/sprmids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">vml-officeDrawing</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_vml-wordprocessingDrawing.xsl b/writerfilter/source/ooxml/fastresourcesimpl_vml-wordprocessingDrawing.xsl
deleted file mode 100644
index 09500c745444..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_vml-wordprocessingDrawing.xsl
+++ /dev/null
@@ -1,94 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include &lt;doctok/sprmids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">vml-wordprocessingDrawing</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fastresourcesimpl_wml.xsl b/writerfilter/source/ooxml/fastresourcesimpl_wml.xsl
deleted file mode 100644
index 1b0b41debcff..000000000000
--- a/writerfilter/source/ooxml/fastresourcesimpl_wml.xsl
+++ /dev/null
@@ -1,94 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include &lt;doctok/sprmids.hxx&gt;
-#include "OOXMLfastresources.hxx"
-#include "OOXMLFastTokens.hxx"
-#include "OOXMLFastHelper.hxx"
-#include "OOXMLvalues.hxx"
-#include "Handler.hxx"
-
-/// @cond GENERATED
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-
- </xsl:text>
- <xsl:call-template name="fastcontextimpls"><xsl:with-param name="ns">wml</xsl:with-param></xsl:call-template>
- <xsl:text>
-}}
-/// @endcond GENERATED
-&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/fasttokens.xsl b/writerfilter/source/ooxml/fasttokens.xsl
index 151e2f1cda0c..4014df0eec91 100644
--- a/writerfilter/source/ooxml/fasttokens.xsl
+++ b/writerfilter/source/ooxml/fasttokens.xsl
@@ -61,7 +61,25 @@
<xsl:output method="text" />
<xsl:param name="prefix"/>
- <xsl:include href="resourcestools.xsl"/>
+ <xsl:include href="factorytools.xsl"/>
+
+ <xsl:template name="fasttokens">
+ <xsl:text>
+typedef sal_Int32 Token_t;
+ </xsl:text>
+ <xsl:for-each select="/model/fasttoken">
+ <xsl:text>
+const Token_t OOXML_</xsl:text>
+<xsl:value-of select="translate(., '-', '_')"/>
+<xsl:text> = </xsl:text>
+<xsl:value-of select="position() - 1"/>
+<xsl:text>;</xsl:text>
+ </xsl:for-each>
+ <xsl:text>
+const Token_t OOXML_FAST_TOKENS_END =</xsl:text>
+<xsl:value-of select="count(/model/fasttoken)"/>
+<xsl:text>;&#xa;</xsl:text>
+ </xsl:template>
<xsl:template match="/">
<out xml:space="preserve">
diff --git a/writerfilter/source/ooxml/fasttokensimpl.xsl b/writerfilter/source/ooxml/fasttokensimpl.xsl
deleted file mode 100644
index 1bafce1978e2..000000000000
--- a/writerfilter/source/ooxml/fasttokensimpl.xsl
+++ /dev/null
@@ -1,77 +0,0 @@
-<!--
-
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
-using namespace ::com::sun::star;
-</xsl:text>
-<xsl:call-template name="fasttokentoid"/>
-<xsl:text>
-}}&#xa;</xsl:text></out></xsl:template>
-
- <xsl:template match="*"/>
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/gperffasttokenhandler.xsl b/writerfilter/source/ooxml/gperffasttokenhandler.xsl
index 9ecd15f8c744..d14db0486b5d 100644
--- a/writerfilter/source/ooxml/gperffasttokenhandler.xsl
+++ b/writerfilter/source/ooxml/gperffasttokenhandler.xsl
@@ -63,7 +63,31 @@
xml:space="default">
<xsl:output method="text" />
- <xsl:include href="resourcestools.xsl"/>
+ <xsl:include href="factorytools.xsl"/>
+
+ <!--
+ Generates input for gperf to genreate hash map for OOXMLFastTokenHandler
+ -->
+ <xsl:template name="gperfinputfasttokenhandler">
+ <xsl:text>
+%{
+#include "OOXMLFastTokens.hxx"
+
+namespace writerfilter { namespace ooxml { namespace tokenmap {
+%}
+struct token { const char * name; Token_t nToken; };
+%%</xsl:text>
+ <xsl:for-each select=".//rng:element|.//rng:attribute">
+ <xsl:if test="generate-id(.) = generate-id(key('same-token-name', @localname)[1])">
+ <xsl:text>&#xa;</xsl:text>
+ <xsl:value-of select="@localname"/>
+ <xsl:text>, </xsl:text>
+ <xsl:call-template name="fastlocalname"/>
+ </xsl:if>
+ </xsl:for-each>
+ <xsl:text>
+%%&#xa;</xsl:text>
+}}}&#xa;</xsl:template>
<xsl:template match="/">
<xsl:call-template name="gperfinputfasttokenhandler"/>
diff --git a/writerfilter/source/ooxml/makefile.mk b/writerfilter/source/ooxml/makefile.mk
index ac8e7ea9b05c..c6a40b4cc5d1 100644
--- a/writerfilter/source/ooxml/makefile.mk
+++ b/writerfilter/source/ooxml/makefile.mk
@@ -68,14 +68,16 @@ NAMESPACES= \
# --- Files --------------------------------------------------------
-SLOFASTNAMESPACES= \
- $(SLO)$/OOXMLfastresources_{$(NAMESPACES)}.obj
+SLOFACTORIESNAMESPACES= \
+ $(SLO)$/OOXMLFactory_{$(NAMESPACES)}.obj
SLOFILES= \
+ $(SLOFACTORIESNAMESPACES) \
$(SLOFASTNAMESPACES) \
+ $(SLO)$/OOXMLFactory_generated.obj \
+ $(SLO)$/OOXMLFactory.obj \
$(SLO)$/OOXMLBinaryObjectReference.obj\
- $(SLO)$/OOXMLfastresources.obj \
- $(SLO)$/OOXMLvalues.obj \
+ $(SLO)$/OOXMLFactory_values.obj \
$(SLO)$/OOXMLPropertySetImpl.obj \
$(SLO)$/OOXMLParserState.obj \
$(SLO)$/Handler.obj \
@@ -85,7 +87,6 @@ SLOFILES= \
$(SLO)$/OOXMLFastContextHandler.obj \
$(SLO)$/OOXMLFastTokenHandler.obj
-
SHL1TARGET=$(TARGET)
.IF "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
@@ -127,55 +128,49 @@ OOXMLCXXOUTDIR=$(MISC)
OOXMLHXXOUTDIR=$(INCCOM)/ooxml
OOXMLHXXOUTDIRCREATED=$(OOXMLHXXOUTDIR)/created
-OOXMLFASTRESOURCECXXS=$(OOXMLCXXOUTDIR)$/OOXMLfastresources_{$(NAMESPACES)}.cxx
-OOXMLFASTRESOURCEHXXS=$(OOXMLHXXOUTDIR)$/OOXMLfastresources_{$(NAMESPACES)}.hxx
+OOXMLFACTORYCXXS=$(OOXMLCXXOUTDIR)$/OOXMLFactory_{$(NAMESPACES)}.cxx
+OOXMLFACTORYHXXS=$(OOXMLHXXOUTDIR)$/OOXMLFactory_{$(NAMESPACES)}.hxx
OOXMLMODEL=model.xml
OOXMLPREPROCESSXSL=modelpreprocess.xsl
-OOXMLRESOURCESTOOLSXSL=resourcestools.xsl
+OOXMLFACTORYTOOLSXSL=factorytools.xsl
OOXMLRESORUCETOKENSXSL=resourcestokens.xsl
OOXMLFASTTOKENSXSL=fasttokens.xsl
-OOXMLFASTTOKENSIMPLXSL=fasttokensimpl.xsl
-OOXMLFASTRESOURCESXSL=fastresources.xsl
OOXMLRESOURCESIMPLXSL=resourcesimpl.xsl
-OOXMLFASTRESOURCESIMPLXSL=fastresourcesimpl.xsl
OOXMLNAMESPACEIDSXSL=namespaceids.xsl
-OOXMLVALUESXSL=values.xsl
-OOXMLVALUESIMPLXSL=valuesimpl.xsl
+OOXMLFACTORYVALUESXSL=factory_values.xsl
+OOXMLFACTORYVALUESIMPLXSL=factoryimpl_values.xsl
OOXMLRESOURCEIDSXSL=resourceids.xsl
OOXMLGPERFFASTTOKENXSL=gperffasttokenhandler.xsl
OOXMLRESOURCEIDSHXX=$(OOXMLHXXOUTDIR)$/resourceids.hxx
-NSPROCESS=namespace_preprocess.pl
-
TOKENXML=$(OOXMLCXXOUTDIR)$/token.xml
TOKENXMLTMP=$(OOXMLCXXOUTDIR)$/token.tmp
+OOXMLFACTORYGENERATEDHXX=$(OOXMLHXXOUTDIR)$/OOXMLFactory_generated.hxx
+OOXMLFACTORYGENERATEDCXX=$(OOXMLCXXOUTDIR)$/OOXMLFactory_generated.cxx
OOXMLFASTTOKENSHXX=$(OOXMLHXXOUTDIR)$/OOXMLFastTokens.hxx
-OOXMLFASTRESOURCESHXX=$(OOXMLHXXOUTDIR)$/OOXMLfastresources.hxx
OOXMLNAMESPACEIDSHXX=$(OOXMLHXXOUTDIR)$/OOXMLnamespaceids.hxx
-OOXMLFASTRESOURCESCXX=$(OOXMLCXXOUTDIR)$/OOXMLfastresources.cxx
-OOXMLVALUESHXX=$(OOXMLCXXOUTDIR)$/OOXMLvalues.hxx
-OOXMLVALUESCXX=$(OOXMLCXXOUTDIR)$/OOXMLvalues.cxx
+OOXMLFACTORYVALUESHXX=$(OOXMLCXXOUTDIR)$/OOXMLFactory_values.hxx
+OOXMLFACTORYVALUESCXX=$(OOXMLCXXOUTDIR)$/OOXMLFactory_values.cxx
GPERFFASTTOKENHXX=$(OOXMLHXXOUTDIR)$/gperffasttoken.hxx
MODELPROCESSED=$(MISC)$/model_preprocessed.xml
-NSXSL=$(MISC)$/namespacesmap.xsl
OOXMLGENHEADERS= \
- $(OOXMLFASTRESOURCESHXX) \
+ $(OOXMLFACTORYGENERATEDHXX) \
+ $(OOXMLFACTORYHXXS) \
$(OOXMLFASTTOKENSHXX) \
- $(OOXMLVALUESHXX) \
- $(OOXMLFASTRESOURCEHXXS) \
+ $(OOXMLFACTORYVALUESHXX) \
$(GPERFFASTTOKENHXX) \
$(OOXMLRESOURCEIDSHXX) \
$(OOXMLNAMESPACEIDSHXX)
GENERATEDFILES= \
$(OOXMLGENHEADERS) \
- $(MODELPROCESSED) \
- $(OOXMLFASTRESOURCECXXS) \
- $(OOXMLVALUESCXX) \
+ $(OOXMLFACTORYGENERATEDCXX) \
+ $(OOXMLFACTORYCXXS) \
+ $(OOXMLFACTORYVALUESCXX) \
$(TOKENXMLTMP) \
$(TOKENXML)
@@ -185,87 +180,77 @@ $(TOKENXMLTMP): $(SOLARVER)$/$(INPATH)$/inc$(UPDMINOREXT)$/oox$/token.txt
$(TOKENXML): tokenxmlheader $(TOKENXMLTMP) tokenxmlfooter
@$(TYPE) tokenxmlheader $(TOKENXMLTMP) tokenxmlfooter > $@
-$(MISC)$/$(OOXMLPREPROCESSXSL): $(OOXMLPREPROCESSXSL)
- @$(COPY) $(PWD)$/$(OOXMLPREPROCESSXSL) $(MISC)
-
-$(NSXSL) : $(OOXMLMODEL) $(SOLARVER)$/$(INPATH)$/inc$(UPDMINOREXT)$/oox$/namespaces.txt $(NSPROCESS)
- @$(PERL) $(NSPROCESS) $(SOLARVER)$/$(INPATH)$/inc$(UPDMINOREXT)$/oox$/namespaces.txt > $@
-
-$(MODELPROCESSED): $(NSXSL) $(MISC)$/$(OOXMLPREPROCESSXSL) $(OOXMLMODEL)
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $(NSXSL) $(OOXMLMODEL) > $@
-
$(OOXMLHXXOUTDIRCREATED):
- @$(MKDIRHIER) $(OOXMLHXXOUTDIR)
+ $(MKDIRHIER) $(OOXMLHXXOUTDIR)
@$(TOUCH) $@
$(OOXMLGENHEADERS): $(OOXMLHXXOUTDIRCREATED)
$(OOXMLFASTTOKENSHXX): $(OOXMLFASTTOKENSXSL) $(TOKENXML)
- @echo "Making: " $(@:f)
+ @echo "Making: " $(@:f)
$(COMMAND_ECHO)$(XSLTPROC) $(OOXMLFASTTOKENSXSL) $(TOKENXML) > $@
-$(OOXMLFASTRESOURCESHXX): $(OOXMLFASTRESOURCESXSL) $(MODELPROCESSED)
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $(OOXMLFASTRESOURCESXSL) $(MODELPROCESSED) > $@
+$(OOXMLFACTORYGENERATEDHXX): factoryinc.xsl
+ @echo "Making: " $(@:f)
+ $(COMMAND_ECHO)$(XSLTPROC) $< $(MODELPROCESSED) > $@
+
+$(OOXMLFACTORYGENERATEDCXX): factoryimpl.xsl
+ @echo "Making: " $(@:f)
+ $(COMMAND_ECHO)$(XSLTPROC) $< $(MODELPROCESSED) > $@
-$(OOXMLFASTRESOURCESCXX): $(OOXMLFASTRESOURCEHXXS) \
- $(OOXMLFASTRESOURCESIMPLXSL) $(MODELPROCESSED)
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $(OOXMLFASTRESOURCESIMPLXSL) $(MODELPROCESSED) > $@
+$(OOXMLFACTORYGENERATEDCXX): $(MODELPROCESSED)
-$(OOXMLFASTRESOURCECXXS): $(MODELPROCESSED)
+$(OOXMLFACTORYGENERATEDHXX): $(MODELPROCESSED)
-$(OOXMLFASTRESOURCEHXXS): $(MODELPROCESSED)
+$(OOXMLFACTORYCXXS): $(MODELPROCESSED)
-$(OOXMLCXXOUTDIR)$/OOXMLfastresources%.cxx: fastresourcesimpl%.xsl
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $< $(MODELPROCESSED) > $@
+$(OOXMLFACTORYHXXS): $(MODELPROCESSED)
-$(OOXMLHXXOUTDIR)$/OOXMLfastresources%.hxx: fastresources%.xsl
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $< $(MODELPROCESSED) > $@
+$(OOXMLCXXOUTDIR)$/OOXMLFactory%.cxx: factoryimpl_ns.xsl
+ @echo "Making: " $(@:f)
+ $(COMMAND_ECHO)$(XSLTPROC) --stringparam file $@ $< $(MODELPROCESSED) > $@
+
+$(OOXMLHXXOUTDIR)$/OOXMLFactory%.hxx: factory_ns.xsl
+ @echo "Making: " $(@:f)
+ $(COMMAND_ECHO)$(XSLTPROC) --stringparam file $@ $< $(MODELPROCESSED) > $@
-$(OOXMLVALUESHXX): $(OOXMLVALUESXSL) $(MODELPROCESSED)
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $(OOXMLVALUESXSL) $(MODELPROCESSED) > $@
+$(OOXMLFACTORYVALUESHXX): $(OOXMLFACTORYVALUESXSL) $(MODELPROCESSED)
+ @echo "Making: " $(@:f)
+ $(COMMAND_ECHO)$(XSLTPROC) $(OOXMLFACTORYVALUESXSL) $(MODELPROCESSED) > $@
-$(OOXMLVALUESCXX): $(OOXMLVALUESIMPLXSL) $(MODELPROCESSED) \
- $(OOXMLFASTRESOURCESHXX)
- @echo "Making: " $(@:f)
- $(COMMAND_ECHO)$(XSLTPROC) $(OOXMLVALUESIMPLXSL) $(MODELPROCESSED) > $@
+$(OOXMLFACTORYVALUESCXX): $(OOXMLFACTORYVALUESIMPLXSL) $(MODELPROCESSED)
+ @echo "Making: " $(@:f)
+ $(COMMAND_ECHO)$(XSLTPROC) $(OOXMLFACTORYVALUESIMPLXSL) $(MODELPROCESSED) > $@
$(OOXMLRESOURCEIDSHXX): $(OOXMLHXXOUTDIRCREATED) $(OOXMLRESOURCEIDSXSL) \
$(MODELPROCESSED)
- @echo "Making: " $(@:f)
+ @echo "Making: " $(@:f)
$(COMMAND_ECHO)$(XSLTPROC) $(OOXMLRESOURCEIDSXSL) $(MODELPROCESSED) > $@
$(OOXMLNAMESPACEIDSHXX): $(OOXMLHXXOUTDIRCREATED) $(OOXMLNAMESPACEIDSXSL) \
$(MODELPROCESSED)
- @echo "Making: " $(@:f)
+ @echo "Making: " $(@:f)
$(COMMAND_ECHO)$(XSLTPROC) $(OOXMLNAMESPACEIDSXSL) $(MODELPROCESSED) > $@
$(GPERFFASTTOKENHXX): $(OOXMLGPERFFASTTOKENXSL) $(MODELPROCESSED)
- @echo "Making: " $(@:f)
+ @echo "Making: " $(@:f)
$(COMMAND_ECHO)$(XSLTPROC) $(OOXMLGPERFFASTTOKENXSL) $(MODELPROCESSED) | tr -d '\r' | gperf -I -t -E -S1 -c -G -LC++ > $@
-$(SLOFASTNAMESPACES): $(OOXMLFASTRESOURCESCXX) $(OOXMLGENHEADERS)
+$(SLOFACTORIESNAMESPACES): $(OOXMLFACTORYSCXXS) $(OOXMLGENHEADERS)
-$(GENERATEDFILES): $(OOXMLRESOURCESTOOLSXSL)
+$(GENERATEDFILES): $(OOXMLFACTORYTOOLSXSL)
$(SLOFILES): $(OOXMLGENHEADERS)
-$(SLO)/OOXMLfastresources.obj: $(OOXMLFASTRESOURCESCXX) $(OOXMLGENHEADERS)
-
-$(SLO)/OOXMLvalues.obj: $(OOXMLVALUESCXX) $(OOXMLVALUESHXX)
+$(SLO)/OOXMLFactory_values.obj: $(OOXMLFACTORYVALUESCXX) $(OOXMLFACTORYVALUESHXX)
-$(SLOFASTNAMESPACES): OOXMLFastHelper.hxx
+$(SLO)$/OOXMLFactory_generated.obj: $(OOXMLFACTORYGENERATEDCXX) $(OOXMLGENHEADERS)
.PHONY: genclean genmake genheaders
genclean:
- @rm -f $(GENERATEDFILES)
+ rm -f $(GENERATEDFILES)
genmake: $(GENERATEDFILES)
-genheaders: $(OOXMLFASTRESOURCEHXXS)
+genheaders: $(GENHEADERS)
diff --git a/writerfilter/source/ooxml/model.xml b/writerfilter/source/ooxml/model.xml
index add4a80b551e..f571a50a9407 100644
--- a/writerfilter/source/ooxml/model.xml
+++ b/writerfilter/source/ooxml/model.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<model xmlns:rng="http://relaxng.org/ns/structure/1.0">
<namespace-alias name="http://www.w3.org/XML/1998/namespace" alias="xml" id="XML"/>
<namespace-alias name="http://schemas.openxmlformats.org/officeDocument/2006/relationships" alias="relationships" id="RELATIONSHIPS"/>
@@ -24,10 +24,10 @@
<start name="themeOverride"/>
<start name="themeManager"/>
<grammar xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/main" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="dml-baseStylesheet.rng"/>
<include href="dml-styleDefaults.rng"/>
-<!-- start = theme | themeOverride | themeManager -->
+ <!-- start = theme | themeOverride | themeManager -->
<define name="CT_EmptyElement">
<empty/>
</define>
@@ -190,12 +190,15 @@
</define>
</grammar>
<resource name="CT_OfficeStyleSheet" resource="Table" tokenid="ooxml:THEMETABLE"/>
+ <resource name="theme" resource="Stream">
+ <element name="theme" tokenid="ooxml:THEMETABLE"/>
+ </resource>
<resource name="themeOverride" resource="Stream"/>
<resource name="themeManager" resource="Stream"/>
</namespace>
<namespace name="dml-styleDefaults" file="dml-styleDefaults">
<grammar xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/main">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="dml-shapeProperties.rng"/>
<include href="dml-shapeStyle.rng"/>
<include href="dml-text.rng"/>
@@ -246,27 +249,27 @@
</namespace>
<namespace name="dml-shape3DLighting" file="dml-shape3DLighting.rng">
<grammar xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/main">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="dml-baseTypes.rng"/>
<define name="ST_LightRigDirection">
<list>
<xs:documentation>Light Rig Direction</xs:documentation>
<choice>
-<!-- Top Left -->
+ <!-- Top Left -->
<value>tl</value>
-<!-- Top -->
+ <!-- Top -->
<value>t</value>
-<!-- Top Right -->
+ <!-- Top Right -->
<value>tr</value>
-<!-- Left -->
+ <!-- Left -->
<value>l</value>
-<!-- Right -->
+ <!-- Right -->
<value>r</value>
-<!-- Bottom Left -->
+ <!-- Bottom Left -->
<value>bl</value>
-<!-- Bottom -->
+ <!-- Bottom -->
<value>b</value>
-<!-- Bottom Right -->
+ <!-- Bottom Right -->
<value>br</value>
</choice>
</list>
@@ -275,59 +278,59 @@
<list>
<xs:documentation>Light Rig Type</xs:documentation>
<choice>
-<!-- Legacy Flat 1 -->
+ <!-- Legacy Flat 1 -->
<value>legacyFlat1</value>
-<!-- Legacy Flat 2 -->
+ <!-- Legacy Flat 2 -->
<value>legacyFlat2</value>
-<!-- Legacy Flat 3 -->
+ <!-- Legacy Flat 3 -->
<value>legacyFlat3</value>
-<!-- Legacy Flat 4 -->
+ <!-- Legacy Flat 4 -->
<value>legacyFlat4</value>
-<!-- Legacy Normal 1 -->
+ <!-- Legacy Normal 1 -->
<value>legacyNormal1</value>
-<!-- Legacy Normal 2 -->
+ <!-- Legacy Normal 2 -->
<value>legacyNormal2</value>
-<!-- Legacy Normal 3 -->
+ <!-- Legacy Normal 3 -->
<value>legacyNormal3</value>
-<!-- Legacy Normal 4 -->
+ <!-- Legacy Normal 4 -->
<value>legacyNormal4</value>
-<!-- Legacy Harsh 1 -->
+ <!-- Legacy Harsh 1 -->
<value>legacyHarsh1</value>
-<!-- Legacy Harsh 2 -->
+ <!-- Legacy Harsh 2 -->
<value>legacyHarsh2</value>
-<!-- Legacy Harsh 3 -->
+ <!-- Legacy Harsh 3 -->
<value>legacyHarsh3</value>
-<!-- Legacy Harsh 4 -->
+ <!-- Legacy Harsh 4 -->
<value>legacyHarsh4</value>
-<!-- Three Point -->
+ <!-- Three Point -->
<value>threePt</value>
-<!-- Light Rig Enum ( Balanced ) -->
+ <!-- Light Rig Enum ( Balanced ) -->
<value>balanced</value>
-<!-- Soft -->
+ <!-- Soft -->
<value>soft</value>
-<!-- Harsh -->
+ <!-- Harsh -->
<value>harsh</value>
-<!-- Flood -->
+ <!-- Flood -->
<value>flood</value>
-<!-- Contrasting -->
+ <!-- Contrasting -->
<value>contrasting</value>
-<!-- Morning -->
+ <!-- Morning -->
<value>morning</value>
-<!-- Sunrise -->
+ <!-- Sunrise -->
<value>sunrise</value>
-<!-- Sunset -->
+ <!-- Sunset -->
<value>sunset</value>
-<!-- Chilly -->
+ <!-- Chilly -->
<value>chilly</value>
-<!-- Freezing -->
+ <!-- Freezing -->
<value>freezing</value>
-<!-- Flat -->
+ <!-- Flat -->
<value>flat</value>
-<!-- Two Point -->
+ <!-- Two Point -->
<value>twoPt</value>
-<!-- Glow -->
+ <!-- Glow -->
<value>glow</value>
-<!-- Bright Room -->
+ <!-- Bright Room -->
<value>brightRoom</value>
</choice>
</list>
@@ -390,7 +393,7 @@
</namespace>
<namespace name="dml-shape3DScene" file="dml-shape3DScene.rng">
<grammar xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/main">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="dml-shape3DCamera.rng"/>
<include href="dml-shape3DLighting.rng"/>
<include href="dml-shape3DScenePlane.rng"/>
@@ -416,35 +419,35 @@
</namespace>
<namespace name="dml-shape3DStyles" file="dml-shape3DStyles.rng">
<grammar xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/main">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="dml-shapeGeometry.rng"/>
<define name="ST_BevelPresetType">
<list>
<xs:documentation>Bevel Presets</xs:documentation>
<choice>
-<!-- Relaxed Inset -->
+ <!-- Relaxed Inset -->
<value>relaxedInset</value>
-<!-- Circle -->
+ <!-- Circle -->
<value>circle</value>
-<!-- Slope -->
+ <!-- Slope -->
<value>slope</value>
-<!-- Cross -->
+ <!-- Cross -->
<value>cross</value>
-<!-- Angle -->
+ <!-- Angle -->
<value>angle</value>
-<!-- Soft Round -->
+ <!-- Soft Round -->
<value>softRound</value>
-<!-- Convex -->
+ <!-- Convex -->
<value>convex</value>
-<!-- Cool Slant -->
+ <!-- Cool Slant -->
<value>coolSlant</value>
-<!-- Divot -->
+ <!-- Divot -->
<value>divot</value>
-<!-- Riblet -->
+ <!-- Riblet -->
<value>riblet</value>
-<!-- Hard Edge -->
+ <!-- Hard Edge -->
<value>hardEdge</value>
-<!-- Art Deco -->
+ <!-- Art Deco -->
<value>artDeco</value>
</choice>
</list>
@@ -473,35 +476,35 @@
<list>
<xs:documentation>Preset Material Type</xs:documentation>
<choice>
-<!-- Legacy Matte -->
+ <!-- Legacy Matte -->
<value>legacyMatte</value>
-<!-- Legacy Plastic -->
+ <!-- Legacy Plastic -->
<value>legacyPlastic</value>
-<!-- Legacy Metal -->
+ <!-- Legacy Metal -->
<value>legacyMetal</value>
-<!-- Legacy Wireframe -->
+ <!-- Legacy Wireframe -->
<value>legacyWireframe</value>
-<!-- Matte -->
+ <!-- Matte -->
<value>matte</value>
-<!-- Plastic -->
+ <!-- Plastic -->
<value>plastic</value>
-<!-- Metal -->
+ <!-- Metal -->
<value>metal</value>
-<!-- Warm Matte -->
+ <!-- Warm Matte -->
<value>warmMatte</value>
-<!-- Translucent Powder -->
+ <!-- Translucent Powder -->
<value>translucentPowder</value>
-<!-- Powder -->
+ <!-- Powder -->
<value>powder</value>
-<!-- Dark Edge -->
+ <!-- Dark Edge -->
<value>dkEdge</value>
-<!-- Soft Edge -->
+ <!-- Soft Edge -->
<value>softEdge</value>
-<!-- Clear -->
+ <!-- Clear -->
<value>clear</value>
-<!-- Flat -->
+ <!-- Flat -->
<value>flat</value>
-<!-- Soft Metal -->
+ <!-- Soft Metal -->
<value>softmetal</value>
</choice>
</list>
@@ -612,135 +615,135 @@
</namespace>
<namespace name="dml-shape3DCamera" file="dml-shape3DCamera.rng">
<grammar xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/main">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="dml-baseTypes.rng"/>
<define name="ST_PresetCameraType">
<list>
<xs:documentation>Preset Camera Type</xs:documentation>
<choice>
-<!-- Legacy Oblique Top Left -->
+ <!-- Legacy Oblique Top Left -->
<value>legacyObliqueTopLeft</value>
-<!-- Legacy Oblique Top -->
+ <!-- Legacy Oblique Top -->
<value>legacyObliqueTop</value>
-<!-- Legacy Oblique Top Right -->
+ <!-- Legacy Oblique Top Right -->
<value>legacyObliqueTopRight</value>
-<!-- Legacy Oblique Left -->
+ <!-- Legacy Oblique Left -->
<value>legacyObliqueLeft</value>
-<!-- Legacy Oblique Front -->
+ <!-- Legacy Oblique Front -->
<value>legacyObliqueFront</value>
-<!-- Legacy Oblique Right -->
+ <!-- Legacy Oblique Right -->
<value>legacyObliqueRight</value>
-<!-- Legacy Oblique Bottom Left -->
+ <!-- Legacy Oblique Bottom Left -->
<value>legacyObliqueBottomLeft</value>
-<!-- Legacy Oblique Bottom -->
+ <!-- Legacy Oblique Bottom -->
<value>legacyObliqueBottom</value>
-<!-- Legacy Oblique Bottom Right -->
+ <!-- Legacy Oblique Bottom Right -->
<value>legacyObliqueBottomRight</value>
-<!-- Legacy Perspective Top Left -->
+ <!-- Legacy Perspective Top Left -->
<value>legacyPerspectiveTopLeft</value>
-<!-- Legacy Perspective Top -->
+ <!-- Legacy Perspective Top -->
<value>legacyPerspectiveTop</value>
-<!-- Legacy Perspective Top Right -->
+ <!-- Legacy Perspective Top Right -->
<value>legacyPerspectiveTopRight</value>
-<!-- Legacy Perspective Left -->
+ <!-- Legacy Perspective Left -->
<value>legacyPerspectiveLeft</value>
-<!-- Legacy Perspective Front -->
+ <!-- Legacy Perspective Front -->
<value>legacyPerspectiveFront</value>
-<!-- Legacy Perspective Right -->
+ <!-- Legacy Perspective Right -->
<value>legacyPerspectiveRight</value>
-<!-- Legacy Perspective Bottom Left -->
+ <!-- Legacy Perspective Bottom Left -->
<value>legacyPerspectiveBottomLeft</value>
-<!-- Legacy Perspective Bottom -->
+ <!-- Legacy Perspective Bottom -->
<value>legacyPerspectiveBottom</value>
-<!-- Legacy Perspective Bottom Right -->
+ <!-- Legacy Perspective Bottom Right -->
<value>legacyPerspectiveBottomRight</value>
-<!-- Orthographic Front -->
+ <!-- Orthographic Front -->
<value>orthographicFront</value>
-<!-- Isometric Top Up -->
+ <!-- Isometric Top Up -->
<value>isometricTopUp</value>
-<!-- Isometric Top Down -->
+ <!-- Isometric Top Down -->
<value>isometricTopDown</value>
-<!-- Isometric Bottom Up -->
+ <!-- Isometric Bottom Up -->
<value>isometricBottomUp</value>
-<!-- Isometric Bottom Down -->
+ <!-- Isometric Bottom Down -->
<value>isometricBottomDown</value>
-<!-- Isometric Left Up -->
+ <!-- Isometric Left Up -->
<value>isometricLeftUp</value>
-<!-- Isometric Left Down -->
+ <!-- Isometric Left Down -->
<value>isometricLeftDown</value>
-<!-- Isometric Right Up -->
+ <!-- Isometric Right Up -->
<value>isometricRightUp</value>
-<!-- Isometric Right Down -->
+ <!-- Isometric Right Down -->
<value>isometricRightDown</value>
-<!-- Isometric Off Axis 1 Left -->
+ <!-- Isometric Off Axis 1 Left -->
<value>isometricOffAxis1Left</value>
-<!-- Isometric Off Axis 1 Right -->
+ <!-- Isometric Off Axis 1 Right -->
<value>isometricOffAxis1Right</value>
-<!-- Isometric Off Axis 1 Top -->
+ <!-- Isometric Off Axis 1 Top -->
<value>isometricOffAxis1Top</value>
-<!-- Isometric Off Axis 2 Left -->
+ <!-- Isometric Off Axis 2 Left -->
<value>isometricOffAxis2Left</value>
-<!-- Isometric Off Axis 2 Right -->
+ <!-- Isometric Off Axis 2 Right -->
<value>isometricOffAxis2Right</value>
-<!-- Isometric Off Axis 2 Top -->
+ <!-- Isometric Off Axis 2 Top -->
<value>isometricOffAxis2Top</value>
-<!-- Isometric Off Axis 3 Left -->
+ <!-- Isometric Off Axis 3 Left -->
<value>isometricOffAxis3Left</value>
-<!-- Isometric Off Axis 3 Right -->
+ <!-- Isometric Off Axis 3 Right -->
<value>isometricOffAxis3Right</value>
-<!-- Isometric Off Axis 3 Bottom -->
+ <!-- Isometric Off Axis 3 Bottom -->
<value>isometricOffAxis3Bottom</value>
-<!-- Isometric Off Axis 4 Left -->
+ <!-- Isometric Off Axis 4 Left -->
<value>isometricOffAxis4Left</value>
-<!-- Isometric Off Axis 4 Right -->
+ <!-- Isometric Off Axis 4 Right -->
<value>isometricOffAxis4Right</value>
-<!-- Isometric Off Axis 4 Bottom -->
+ <!-- Isometric Off Axis 4 Bottom -->
<value>isometricOffAxis4Bottom</value>
-<!-- Oblique Top Left -->
+ <!-- Oblique Top Left -->
<value>obliqueTopLeft</value>
-<!-- Oblique Top -->
+ <!-- Oblique Top -->
<value>obliqueTop</value>
-<!-- Oblique Top Right -->
+ <!-- Oblique Top Right -->
<value>obliqueTopRight</value>
-<!-- Oblique Left -->
+ <!-- Oblique Left -->
<value>obliqueLeft</value>
-<!-- Oblique Right -->
+ <!-- Oblique Right -->
<value>obliqueRight</value>
-<!-- Oblique Bottom Left -->
+ <!-- Oblique Bottom Left -->
<value>obliqueBottomLeft</value>
-<!-- Oblique Bottom -->
+ <!-- Oblique Bottom -->
<value>obliqueBottom</value>
-<!-- Oblique Bottom Right -->
+ <!-- Oblique Bottom Right -->
<value>obliqueBottomRight</value>
-<!-- Perspective Front -->
+ <!-- Perspective Front -->
<value>perspectiveFront</value>
-<!-- Perspective Left -->
+ <!-- Perspective Left -->
<value>perspectiveLeft</value>
-<!-- Perspective Right -->
+ <!-- Perspective Right -->
<value>perspectiveRight</value>
-<!-- Orthographic Above -->
+ <!-- Orthographic Above -->
<value>perspectiveAbove</value>
-<!-- Perspective Below -->
+ <!-- Perspective Below -->
<value>perspectiveBelow</value>
-<!-- Perspective Above Left Facing -->
+ <!-- Perspective Above Left Facing -->
<value>perspectiveAboveLeftFacing</value>
-<!-- Perspective Above Right Facing -->
+ <!-- Perspective Above Right Facing -->
<value>perspectiveAboveRightFacing</value>
-<!-- Perspective Contrasting Left Facing -->
+ <!-- Perspective Contrasting Left Facing -->
<value>perspectiveContrastingLeftFacing</value>
-<!-- Perspective Contrasting Right Facing -->
+ <!-- Perspective Contrasting Right Facing -->
<value>perspectiveContrastingRightFacing</value>
-<!-- Perspective Heroic Left Facing -->
+ <!-- Perspective Heroic Left Facing -->
<value>perspectiveHeroicLeftFacing</value>
-<!-- Perspective Heroic Right Facing -->
+ <!-- Perspective Heroic Right Facing -->
<value>perspectiveHeroicRightFacing</value>
-<!-- Perspective Heroic Extreme Left Facing -->
+ <!-- Perspective Heroic Extreme Left Facing -->
<value>perspectiveHeroicExtremeLeftFacing</value>
-<!-- Perspective Heroic Extreme Right Facing -->
+ <!-- Perspective Heroic Extreme Right Facing -->
<value>perspectiveHeroicExtremeRightFacing</value>
-<!-- Perspective Relaxed -->
+ <!-- Perspective Relaxed -->
<value>perspectiveRelaxed</value>
-<!-- Perspective Relaxed Moderately -->
+ <!-- Perspective Relaxed Moderately -->
<value>perspectiveRelaxedModerately</value>
</choice>
</list>
@@ -837,9 +840,9 @@
<value name="perspectiveRelaxedModerately" tokenid="ooxml:Value_drawingml_ST_PresetCameraType_perspectiveRelaxedModerately">perspectiveRelaxedModerately</value>
</resource>
</namespace>
- <namespace name="dml-baseStylesheet" file="dml-baseStylesheet.rng">
+ <namespace name="dml-baseStylesheet" file="dml-baseStylesheet.rng" todo="ignore">
<grammar xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/main" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<define name="ST_StyleMatrixColumnIndex">
<data type="unsignedInt">
<xs:documentation>Style Matrix Column Index</xs:documentation>
@@ -849,11 +852,11 @@
<list>
<xs:documentation>Font Collection Index</xs:documentation>
<choice>
-<!-- Major Font -->
+ <!-- Major Font -->
<value>major</value>
-<!-- Minor Font -->
+ <!-- Minor Font -->
<value>minor</value>
-<!-- None -->
+ <!-- None -->
<value>none</value>
</choice>
</list>
@@ -862,29 +865,29 @@
<list>
<xs:documentation>Theme Color Reference</xs:documentation>
<choice>
-<!-- Dark 1 -->
+ <!-- Dark 1 -->
<value>dk1</value>
-<!-- Light 1 -->
+ <!-- Light 1 -->
<value>lt1</value>
-<!-- Dark 2 -->
+ <!-- Dark 2 -->
<value>dk2</value>
-<!-- Light 2 -->
+ <!-- Light 2 -->
<value>lt2</value>
-<!-- Accent 1 -->
+ <!-- Accent 1 -->
<value>accent1</value>
-<!-- Accent 2 -->
+ <!-- Accent 2 -->
<value>accent2</value>
-<!-- Accent 3 -->
+ <!-- Accent 3 -->
<value>accent3</value>
-<!-- Accent 4 -->
+ <!-- Accent 4 -->
<value>accent4</value>
-<!-- Accent 5 -->
+ <!-- Accent 5 -->
<value>accent5</value>
-<!-- Accent 6 -->
+ <!-- Accent 6 -->
<value>accent6</value>
-<!-- Hyperlink -->
+ <!-- Hyperlink -->
<value>hlink</value>
-<!-- Followed Hyperlink -->
+ <!-- Followed Hyperlink -->
<value>folHlink</value>
</choice>
</list>
@@ -1165,9 +1168,9 @@
<element name="extLst" tokenid="ooxml:CT_BaseStyles_extLst"/>
</resource>
</namespace>
- <namespace name="dml-textCharacter" file="dml-textCharacter.rng">
+ <namespace name="dml-textCharacter" file="dml-textCharacter.rng" todo="ignore">
<grammar xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/main" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="dml-baseTypes.rng"/>
<include href="dml-shapeEffects.rng"/>
<include href="dml-shapeLineProperties.rng"/>
@@ -1240,41 +1243,41 @@
<list>
<xs:documentation>Text Underline Types</xs:documentation>
<choice>
-<!-- Text Underline Enum ( None ) -->
+ <!-- Text Underline Enum ( None ) -->
<value>none</value>
-<!-- Text Underline Enum ( Words ) -->
+ <!-- Text Underline Enum ( Words ) -->
<value>words</value>
-<!-- Text Underline Enum ( Single ) -->
+ <!-- Text Underline Enum ( Single ) -->
<value>sng</value>
-<!-- Text Underline Enum ( Double ) -->
+ <!-- Text Underline Enum ( Double ) -->
<value>dbl</value>
-<!-- Text Underline Enum ( Heavy ) -->
+ <!-- Text Underline Enum ( Heavy ) -->
<value>heavy</value>
-<!-- Text Underline Enum ( Dotted ) -->
+ <!-- Text Underline Enum ( Dotted ) -->
<value>dotted</value>
-<!-- Text Underline Enum ( Heavy Dotted ) -->
+ <!-- Text Underline Enum ( Heavy Dotted ) -->
<value>dottedHeavy</value>
-<!-- Text Underline Enum ( Dashed ) -->
+ <!-- Text Underline Enum ( Dashed ) -->
<value>dash</value>
-<!-- Text Underline Enum ( Heavy Dashed ) -->
+ <!-- Text Underline Enum ( Heavy Dashed ) -->
<value>dashHeavy</value>
-<!-- Text Underline Enum ( Long Dashed ) -->
+ <!-- Text Underline Enum ( Long Dashed ) -->
<value>dashLong</value>
-<!-- Text Underline Enum ( Heavy Long Dashed ) -->
+ <!-- Text Underline Enum ( Heavy Long Dashed ) -->
<value>dashLongHeavy</value>
-<!-- Text Underline Enum ( Dot Dash ) -->
+ <!-- Text Underline Enum ( Dot Dash ) -->
<value>dotDash</value>
-<!-- Text Underline Enum ( Heavy Dot Dash ) -->
+ <!-- Text Underline Enum ( Heavy Dot Dash ) -->
<value>dotDashHeavy</value>
-<!-- Text Underline Enum ( Dot Dot Dash ) -->
+ <!-- Text Underline Enum ( Dot Dot Dash ) -->
<value>dotDotDash</value>
-<!-- Text Underline Enum ( Heavy Dot Dot Dash ) -->
+ <!-- Text Underline Enum ( Heavy Dot Dot Dash ) -->
<value>dotDotDashHeavy</value>
-<!-- Text Underline Enum ( Wavy ) -->
+ <!-- Text Underline Enum ( Wavy ) -->
<value>wavy</value>
-<!-- Text Underline Enum ( Heavy Wavy ) -->
+ <!-- Text Underline Enum ( Heavy Wavy ) -->
<value>wavyHeavy</value>
-<!-- Text Underline Enum ( Double Wavy ) -->
+ <!-- Text Underline Enum ( Double Wavy ) -->
<value>wavyDbl</value>
</choice>
</list>
@@ -1314,11 +1317,11 @@
<list>
<xs:documentation>Text Strike Type</xs:documentation>
<choice>
-<!-- Text Strike Enum ( No Strike ) -->
+ <!-- Text Strike Enum ( No Strike ) -->
<value>noStrike</value>
-<!-- Text Strike Enum ( Single Strike ) -->
+ <!-- Text Strike Enum ( Single Strike ) -->
<value>sngStrike</value>
-<!-- Text Strike Enum ( Double Strike ) -->
+ <!-- Text Strike Enum ( Double Strike ) -->
<value>dblStrike</value>
</choice>
</list>
@@ -1327,11 +1330,11 @@
<list>
<xs:documentation>Text Cap Types</xs:documentation>
<choice>
-<!-- Text Caps Enum ( None ) -->
+ <!-- Text Caps Enum ( None ) -->
<value>none</value>
-<!-- Text Caps Enum ( Small ) -->
+ <!-- Text Caps Enum ( Small ) -->
<value>small</value>
-<!-- Text Caps Enum ( All ) -->
+ <!-- Text Caps Enum ( All ) -->
<value>all</value>
</choice>
</list>
@@ -1575,11 +1578,11 @@
<value name="all" tokenid="ooxml:Value_drawingml_ST_TextCapsType_all">all</value>
</resource>
</namespace>
- <namespace name="dml-shapeEffects" file="dml-shapeEffects.rng">
+ <namespace name="dml-shapeEffects" file="dml-shapeEffects.rng" todo="ignore">
<grammar xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/main" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="dml-baseTypes.rng"/>
-<!-- start = blip -->
+ <!-- start = blip -->
<define name="CT_AlphaBiLevelEffect">
<attribute name="thresh">
<ref name="ST_PositiveFixedPercentage"/>
@@ -1797,45 +1800,45 @@
<list>
<xs:documentation>Preset Shadow Type</xs:documentation>
<choice>
-<!-- Top Left Drop Shadow -->
+ <!-- Top Left Drop Shadow -->
<value>shdw1</value>
-<!-- Top Right Drop Shadow -->
+ <!-- Top Right Drop Shadow -->
<value>shdw2</value>
-<!-- Back Left Perspective Shadow -->
+ <!-- Back Left Perspective Shadow -->
<value>shdw3</value>
-<!-- Back Right Perspective Shadow -->
+ <!-- Back Right Perspective Shadow -->
<value>shdw4</value>
-<!-- Bottom Left Drop Shadow -->
+ <!-- Bottom Left Drop Shadow -->
<value>shdw5</value>
-<!-- Bottom Right Drop Shadow -->
+ <!-- Bottom Right Drop Shadow -->
<value>shdw6</value>
-<!-- Front Left Perspective Shadow -->
+ <!-- Front Left Perspective Shadow -->
<value>shdw7</value>
-<!-- Front Right Perspective Shadow -->
+ <!-- Front Right Perspective Shadow -->
<value>shdw8</value>
-<!-- Top Left Small Drop Shadow -->
+ <!-- Top Left Small Drop Shadow -->
<value>shdw9</value>
-<!-- Top Left Large Drop Shadow -->
+ <!-- Top Left Large Drop Shadow -->
<value>shdw10</value>
-<!-- Back Left Long Perspective Shadow -->
+ <!-- Back Left Long Perspective Shadow -->
<value>shdw11</value>
-<!-- Back Right Long Perspective Shadow -->
+ <!-- Back Right Long Perspective Shadow -->
<value>shdw12</value>
-<!-- Top Left Double Drop Shadow -->
+ <!-- Top Left Double Drop Shadow -->
<value>shdw13</value>
-<!-- Bottom Right Small Drop Shadow -->
+ <!-- Bottom Right Small Drop Shadow -->
<value>shdw14</value>
-<!-- Front Left Long Perspective Shadow -->
+ <!-- Front Left Long Perspective Shadow -->
<value>shdw15</value>
-<!-- Front Right LongPerspective Shadow -->
+ <!-- Front Right LongPerspective Shadow -->
<value>shdw16</value>
-<!-- 3D Outer Box Shadow -->
+ <!-- 3D Outer Box Shadow -->
<value>shdw17</value>
-<!-- 3D Inner Box Shadow -->
+ <!-- 3D Inner Box Shadow -->
<value>shdw18</value>
-<!-- Back Center Perspective Shadow -->
+ <!-- Back Center Perspective Shadow -->
<value>shdw19</value>
-<!-- Front Bottom Shadow -->
+ <!-- Front Bottom Shadow -->
<value>shdw20</value>
</choice>
</list>
@@ -2047,11 +2050,11 @@
<list>
<xs:documentation>Path Shade Type</xs:documentation>
<choice>
-<!-- Shape -->
+ <!-- Shape -->
<value>shape</value>
-<!-- Circle -->
+ <!-- Circle -->
<value>circle</value>
-<!-- Rectangle -->
+ <!-- Rectangle -->
<value>rect</value>
</choice>
</list>
@@ -2083,13 +2086,13 @@
<list>
<xs:documentation>Tile Flip Mode</xs:documentation>
<choice>
-<!-- None -->
+ <!-- None -->
<value>none</value>
-<!-- Horizontal -->
+ <!-- Horizontal -->
<value>x</value>
-<!-- Vertical -->
+ <!-- Vertical -->
<value>y</value>
-<!-- Horizontal and Vertical -->
+ <!-- Horizontal and Vertical -->
<value>xy</value>
</choice>
</list>
@@ -2198,15 +2201,15 @@
<list>
<xs:documentation>Blip Compression Type</xs:documentation>
<choice>
-<!-- Email Compression -->
+ <!-- Email Compression -->
<value>email</value>
-<!-- Screen Viewing Compression -->
+ <!-- Screen Viewing Compression -->
<value>screen</value>
-<!-- Printing Compression -->
+ <!-- Printing Compression -->
<value>print</value>
-<!-- High Quality Printing Compression -->
+ <!-- High Quality Printing Compression -->
<value>hqprint</value>
-<!-- No Compression -->
+ <!-- No Compression -->
<value>none</value>
</choice>
</list>
@@ -2319,113 +2322,113 @@
<list>
<xs:documentation>Preset Pattern Value</xs:documentation>
<choice>
-<!-- 5% -->
+ <!-- 5% -->
<value>pct5</value>
-<!-- 10% -->
+ <!-- 10% -->
<value>pct10</value>
-<!-- 20% -->
+ <!-- 20% -->
<value>pct20</value>
-<!-- 25% -->
+ <!-- 25% -->
<value>pct25</value>
-<!-- 30% -->
+ <!-- 30% -->
<value>pct30</value>
-<!-- 40% -->
+ <!-- 40% -->
<value>pct40</value>
-<!-- 50% -->
+ <!-- 50% -->
<value>pct50</value>
-<!-- 60% -->
+ <!-- 60% -->
<value>pct60</value>
-<!-- 70% -->
+ <!-- 70% -->
<value>pct70</value>
-<!-- 75% -->
+ <!-- 75% -->
<value>pct75</value>
-<!-- 80% -->
+ <!-- 80% -->
<value>pct80</value>
-<!-- 90% -->
+ <!-- 90% -->
<value>pct90</value>
-<!-- Horizontal -->
+ <!-- Horizontal -->
<value>horz</value>
-<!-- Vertical -->
+ <!-- Vertical -->
<value>vert</value>
-<!-- Light Horizontal -->
+ <!-- Light Horizontal -->
<value>ltHorz</value>
-<!-- Light Vertical -->
+ <!-- Light Vertical -->
<value>ltVert</value>
-<!-- Dark Horizontal -->
+ <!-- Dark Horizontal -->
<value>dkHorz</value>
-<!-- Dark Vertical -->
+ <!-- Dark Vertical -->
<value>dkVert</value>
-<!-- Narrow Horizontal -->
+ <!-- Narrow Horizontal -->
<value>narHorz</value>
-<!-- Narrow Vertical -->
+ <!-- Narrow Vertical -->
<value>narVert</value>
-<!-- Dashed Horizontal -->
+ <!-- Dashed Horizontal -->
<value>dashHorz</value>
-<!-- Dashed Vertical -->
+ <!-- Dashed Vertical -->
<value>dashVert</value>
-<!-- Cross -->
+ <!-- Cross -->
<value>cross</value>
-<!-- Downward Diagonal -->
+ <!-- Downward Diagonal -->
<value>dnDiag</value>
-<!-- Upward Diagonal -->
+ <!-- Upward Diagonal -->
<value>upDiag</value>
-<!-- Light Downward Diagonal -->
+ <!-- Light Downward Diagonal -->
<value>ltDnDiag</value>
-<!-- Light Upward Diagonal -->
+ <!-- Light Upward Diagonal -->
<value>ltUpDiag</value>
-<!-- Dark Downward Diagonal -->
+ <!-- Dark Downward Diagonal -->
<value>dkDnDiag</value>
-<!-- Dark Upward Diagonal -->
+ <!-- Dark Upward Diagonal -->
<value>dkUpDiag</value>
-<!-- Wide Downward Diagonal -->
+ <!-- Wide Downward Diagonal -->
<value>wdDnDiag</value>
-<!-- Wide Upward Diagonal -->
+ <!-- Wide Upward Diagonal -->
<value>wdUpDiag</value>
-<!-- Dashed Downward Diagonal -->
+ <!-- Dashed Downward Diagonal -->
<value>dashDnDiag</value>
-<!-- Dashed Upward DIagonal -->
+ <!-- Dashed Upward DIagonal -->
<value>dashUpDiag</value>
-<!-- Diagonal Cross -->
+ <!-- Diagonal Cross -->
<value>diagCross</value>
-<!-- Small Checker Board -->
+ <!-- Small Checker Board -->
<value>smCheck</value>
-<!-- Large Checker Board -->
+ <!-- Large Checker Board -->
<value>lgCheck</value>
-<!-- Small Grid -->
+ <!-- Small Grid -->
<value>smGrid</value>
-<!-- Large Grid -->
+ <!-- Large Grid -->
<value>lgGrid</value>
-<!-- Dotted Grid -->
+ <!-- Dotted Grid -->
<value>dotGrid</value>
-<!-- Small Confetti -->
+ <!-- Small Confetti -->
<value>smConfetti</value>
-<!-- Large Confetti -->
+ <!-- Large Confetti -->
<value>lgConfetti</value>
-<!-- Horizontal Brick -->
+ <!-- Horizontal Brick -->
<value>horzBrick</value>
-<!-- Diagonal Brick -->
+ <!-- Diagonal Brick -->
<value>diagBrick</value>
-<!-- Solid Diamond -->
+ <!-- Solid Diamond -->
<value>solidDmnd</value>
-<!-- Open Diamond -->
+ <!-- Open Diamond -->
<value>openDmnd</value>
-<!-- Dotted Diamond -->
+ <!-- Dotted Diamond -->
<value>dotDmnd</value>
-<!-- Plaid -->
+ <!-- Plaid -->
<value>plaid</value>
-<!-- Sphere -->
+ <!-- Sphere -->
<value>sphere</value>
-<!-- Weave -->
+ <!-- Weave -->
<value>weave</value>
-<!-- Divot -->
+ <!-- Divot -->
<value>divot</value>
-<!-- Shingle -->
+ <!-- Shingle -->
<value>shingle</value>
-<!-- Wave -->
+ <!-- Wave -->
<value>wave</value>
-<!-- Trellis -->
+ <!-- Trellis -->
<value>trellis</value>
-<!-- Zig Zag -->
+ <!-- Zig Zag -->
<value>zigZag</value>
</choice>
</list>
@@ -2485,15 +2488,15 @@
<list>
<xs:documentation>Blend Mode</xs:documentation>
<choice>
-<!-- Overlay -->
+ <!-- Overlay -->
<value>over</value>
-<!-- Multiply -->
+ <!-- Multiply -->
<value>mult</value>
-<!-- Screen -->
+ <!-- Screen -->
<value>screen</value>
-<!-- Darken -->
+ <!-- Darken -->
<value>darken</value>
-<!-- Lighten -->
+ <!-- Lighten -->
<value>lighten</value>
</choice>
</list>
@@ -2611,9 +2614,9 @@
<list>
<xs:documentation>Effect Container Type</xs:documentation>
<choice>
-<!-- Sibling -->
+ <!-- Sibling -->
<value>sib</value>
-<!-- Tree -->
+ <!-- Tree -->
<value>tree</value>
</choice>
</list>
@@ -2902,25 +2905,25 @@
<attribute name="name" tokenid="ooxml:CT_EffectContainer_name"/>
</resource>
</namespace>
- <namespace name="dml-shapeLineProperties" file="dml-shapeLineProperties.rng">
+ <namespace name="dml-shapeLineProperties" file="dml-shapeLineProperties.rng" todo="ignore">
<grammar xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/main">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="dml-shapeEffects.rng"/>
<define name="ST_LineEndType">
<list>
<xs:documentation>Line End Type</xs:documentation>
<choice>
-<!-- None -->
+ <!-- None -->
<value>none</value>
-<!-- Triangle Arrow Head -->
+ <!-- Triangle Arrow Head -->
<value>triangle</value>
-<!-- Stealth Arrow -->
+ <!-- Stealth Arrow -->
<value>stealth</value>
-<!-- Diamond -->
+ <!-- Diamond -->
<value>diamond</value>
-<!-- Oval -->
+ <!-- Oval -->
<value>oval</value>
-<!-- Arrow Head -->
+ <!-- Arrow Head -->
<value>arrow</value>
</choice>
</list>
@@ -2929,11 +2932,11 @@
<list>
<xs:documentation>Line End Width</xs:documentation>
<choice>
-<!-- Small -->
+ <!-- Small -->
<value>sm</value>
-<!-- Medium -->
+ <!-- Medium -->
<value>med</value>
-<!-- Large -->
+ <!-- Large -->
<value>lg</value>
</choice>
</list>
@@ -2942,11 +2945,11 @@
<list>
<xs:documentation>Line End Length</xs:documentation>
<choice>
-<!-- Small -->
+ <!-- Small -->
<value>sm</value>
-<!-- Medium -->
+ <!-- Medium -->
<value>med</value>
-<!-- Large -->
+ <!-- Large -->
<value>lg</value>
</choice>
</list>
@@ -3018,27 +3021,27 @@
<list>
<xs:documentation>Preset Line Dash Value</xs:documentation>
<choice>
-<!-- Solid -->
+ <!-- Solid -->
<value>solid</value>
-<!-- Dot -->
+ <!-- Dot -->
<value>dot</value>
-<!-- Dash -->
+ <!-- Dash -->
<value>dash</value>
-<!-- Large Dash -->
+ <!-- Large Dash -->
<value>lgDash</value>
-<!-- Dash Dot -->
+ <!-- Dash Dot -->
<value>dashDot</value>
-<!-- Large Dash Dot -->
+ <!-- Large Dash Dot -->
<value>lgDashDot</value>
-<!-- Large Dash Dot Dot -->
+ <!-- Large Dash Dot Dot -->
<value>lgDashDotDot</value>
-<!-- System Dash -->
+ <!-- System Dash -->
<value>sysDash</value>
-<!-- System Dot -->
+ <!-- System Dot -->
<value>sysDot</value>
-<!-- System Dash Dot -->
+ <!-- System Dash Dot -->
<value>sysDashDot</value>
-<!-- System Dash Dot Dot -->
+ <!-- System Dash Dot Dot -->
<value>sysDashDotDot</value>
</choice>
</list>
@@ -3082,11 +3085,11 @@
<list>
<xs:documentation>End Line Cap</xs:documentation>
<choice>
-<!-- Round Line Cap -->
+ <!-- Round Line Cap -->
<value>rnd</value>
-<!-- Square Line Cap -->
+ <!-- Square Line Cap -->
<value>sq</value>
-<!-- Flat Line Cap -->
+ <!-- Flat Line Cap -->
<value>flat</value>
</choice>
</list>
@@ -3098,9 +3101,9 @@
<list>
<xs:documentation>Alignment Type</xs:documentation>
<choice>
-<!-- Center Alignment -->
+ <!-- Center Alignment -->
<value>ctr</value>
-<!-- Inset Alignment -->
+ <!-- Inset Alignment -->
<value>in</value>
</choice>
</list>
@@ -3109,15 +3112,15 @@
<list>
<xs:documentation>Compound Line Type</xs:documentation>
<choice>
-<!-- Single Line -->
+ <!-- Single Line -->
<value>sng</value>
-<!-- Double Lines -->
+ <!-- Double Lines -->
<value>dbl</value>
-<!-- Thick Thin Double Lines -->
+ <!-- Thick Thin Double Lines -->
<value>thickThin</value>
-<!-- Thin Thick Double Lines -->
+ <!-- Thin Thick Double Lines -->
<value>thinThick</value>
-<!-- Thin Thick Thin Triple Lines -->
+ <!-- Thin Thick Thin Triple Lines -->
<value>tri</value>
</choice>
</list>
@@ -3243,9 +3246,9 @@
<attribute name="algn" tokenid="ooxml:CT_LineProperties_algn"/>
</resource>
</namespace>
- <namespace name="dml-shapeProperties" file="dml-shapeProperties.rng">
+ <namespace name="dml-shapeProperties" file="dml-shapeProperties.rng" todo="ignore">
<grammar xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/main">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="dml-shape3DStyles.rng"/>
<include href="dml-shape3DScene.rng"/>
<include href="dml-shapeGeometry.rng"/>
@@ -3338,7 +3341,7 @@
</namespace>
<namespace name="dml-baseTypes" file="dml-baseTypes">
<grammar xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/main" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="shared-relationshipReference.rng"/>
<define name="CT_OfficeArtExtension">
<element>
@@ -3625,65 +3628,65 @@
<list>
<xs:documentation>System Color Value</xs:documentation>
<choice>
-<!-- Scroll Bar System Color -->
+ <!-- Scroll Bar System Color -->
<value>scrollBar</value>
-<!-- Background System Color -->
+ <!-- Background System Color -->
<value>background</value>
-<!-- Active Caption System Color -->
+ <!-- Active Caption System Color -->
<value>activeCaption</value>
-<!-- Inactive Caption System Color -->
+ <!-- Inactive Caption System Color -->
<value>inactiveCaption</value>
-<!-- Menu System Color -->
+ <!-- Menu System Color -->
<value>menu</value>
-<!-- Window System Color -->
+ <!-- Window System Color -->
<value>window</value>
-<!-- Window Frame System Color -->
+ <!-- Window Frame System Color -->
<value>windowFrame</value>
-<!-- Menu Text System Color -->
+ <!-- Menu Text System Color -->
<value>menuText</value>
-<!-- Window Text System Color -->
+ <!-- Window Text System Color -->
<value>windowText</value>
-<!-- Caption Text System Color -->
+ <!-- Caption Text System Color -->
<value>captionText</value>
-<!-- Active Border System Color -->
+ <!-- Active Border System Color -->
<value>activeBorder</value>
-<!-- Inactive Border System Color -->
+ <!-- Inactive Border System Color -->
<value>inactiveBorder</value>
-<!-- Application Workspace System Color -->
+ <!-- Application Workspace System Color -->
<value>appWorkspace</value>
-<!-- Highlight System Color -->
+ <!-- Highlight System Color -->
<value>highlight</value>
-<!-- Highlight Text System Color -->
+ <!-- Highlight Text System Color -->
<value>highlightText</value>
-<!-- Button Face System Color -->
+ <!-- Button Face System Color -->
<value>btnFace</value>
-<!-- Button Shadow System Color -->
+ <!-- Button Shadow System Color -->
<value>btnShadow</value>
-<!-- Gray Text System Color -->
+ <!-- Gray Text System Color -->
<value>grayText</value>
-<!-- Button Text System Color -->
+ <!-- Button Text System Color -->
<value>btnText</value>
-<!-- Inactive Caption Text System Color -->
+ <!-- Inactive Caption Text System Color -->
<value>inactiveCaptionText</value>
-<!-- Button Highlight System Color -->
+ <!-- Button Highlight System Color -->
<value>btnHighlight</value>
-<!-- 3D Dark System Color -->
+ <!-- 3D Dark System Color -->
<value>3dDkShadow</value>
-<!-- 3D Light System Color -->
+ <!-- 3D Light System Color -->
<value>3dLight</value>
-<!-- Info Text System Color -->
+ <!-- Info Text System Color -->
<value>infoText</value>
-<!-- Info Back System Color -->
+ <!-- Info Back System Color -->
<value>infoBk</value>
-<!-- Hot Light System Color -->
+ <!-- Hot Light System Color -->
<value>hotLight</value>
-<!-- Gradient Active Caption System Color -->
+ <!-- Gradient Active Caption System Color -->
<value>gradientActiveCaption</value>
-<!-- Gradient Inactive Caption System Color -->
+ <!-- Gradient Inactive Caption System Color -->
<value>gradientInactiveCaption</value>
-<!-- Menu Highlight System Color -->
+ <!-- Menu Highlight System Color -->
<value>menuHighlight</value>
-<!-- Menu Bar System Color -->
+ <!-- Menu Bar System Color -->
<value>menuBar</value>
</choice>
</list>
@@ -3707,39 +3710,39 @@
<list>
<xs:documentation>Scheme Color</xs:documentation>
<choice>
-<!-- Background Color 1 -->
+ <!-- Background Color 1 -->
<value>bg1</value>
-<!-- Text Color 1 -->
+ <!-- Text Color 1 -->
<value>tx1</value>
-<!-- Background Color 2 -->
+ <!-- Background Color 2 -->
<value>bg2</value>
-<!-- Text Color 2 -->
+ <!-- Text Color 2 -->
<value>tx2</value>
-<!-- Accent Color 1 -->
+ <!-- Accent Color 1 -->
<value>accent1</value>
-<!-- Accent Color 2 -->
+ <!-- Accent Color 2 -->
<value>accent2</value>
-<!-- Accent Color 3 -->
+ <!-- Accent Color 3 -->
<value>accent3</value>
-<!-- Accent Color 4 -->
+ <!-- Accent Color 4 -->
<value>accent4</value>
-<!-- Accent Color 5 -->
+ <!-- Accent Color 5 -->
<value>accent5</value>
-<!-- Accent Color 6 -->
+ <!-- Accent Color 6 -->
<value>accent6</value>
-<!-- Hyperlink Color -->
+ <!-- Hyperlink Color -->
<value>hlink</value>
-<!-- Followed Hyperlink Color -->
+ <!-- Followed Hyperlink Color -->
<value>folHlink</value>
-<!-- Style Color -->
+ <!-- Style Color -->
<value>phClr</value>
-<!-- Dark Color 1 -->
+ <!-- Dark Color 1 -->
<value>dk1</value>
-<!-- Light Color 1 -->
+ <!-- Light Color 1 -->
<value>lt1</value>
-<!-- Dark Color 2 -->
+ <!-- Dark Color 2 -->
<value>dk2</value>
-<!-- Light Color 2 -->
+ <!-- Light Color 2 -->
<value>lt2</value>
</choice>
</list>
@@ -3757,285 +3760,285 @@
<list>
<xs:documentation>Preset Color Value</xs:documentation>
<choice>
-<!-- Alice Blue Preset Color -->
+ <!-- Alice Blue Preset Color -->
<value>aliceBlue</value>
-<!-- Antique White Preset Color -->
+ <!-- Antique White Preset Color -->
<value>antiqueWhite</value>
-<!-- Aqua Preset Color -->
+ <!-- Aqua Preset Color -->
<value>aqua</value>
-<!-- Aquamarine Preset Color -->
+ <!-- Aquamarine Preset Color -->
<value>aquamarine</value>
-<!-- Azure Preset Color -->
+ <!-- Azure Preset Color -->
<value>azure</value>
-<!-- Beige Preset Color -->
+ <!-- Beige Preset Color -->
<value>beige</value>
-<!-- Bisque Preset Color -->
+ <!-- Bisque Preset Color -->
<value>bisque</value>
-<!-- Black Preset Color -->
+ <!-- Black Preset Color -->
<value>black</value>
-<!-- Blanched Almond Preset Color -->
+ <!-- Blanched Almond Preset Color -->
<value>blanchedAlmond</value>
-<!-- Blue Preset Color -->
+ <!-- Blue Preset Color -->
<value>blue</value>
-<!-- Blue Violet Preset Color -->
+ <!-- Blue Violet Preset Color -->
<value>blueViolet</value>
-<!-- Brown Preset Color -->
+ <!-- Brown Preset Color -->
<value>brown</value>
-<!-- Burly Wood Preset Color -->
+ <!-- Burly Wood Preset Color -->
<value>burlyWood</value>
-<!-- Cadet Blue Preset Color -->
+ <!-- Cadet Blue Preset Color -->
<value>cadetBlue</value>
-<!-- Chartreuse Preset Color -->
+ <!-- Chartreuse Preset Color -->
<value>chartreuse</value>
-<!-- Chocolate Preset Color -->
+ <!-- Chocolate Preset Color -->
<value>chocolate</value>
-<!-- Coral Preset Color -->
+ <!-- Coral Preset Color -->
<value>coral</value>
-<!-- Cornflower Blue Preset Color -->
+ <!-- Cornflower Blue Preset Color -->
<value>cornflowerBlue</value>
-<!-- Cornsilk Preset Color -->
+ <!-- Cornsilk Preset Color -->
<value>cornsilk</value>
-<!-- Crimson Preset Color -->
+ <!-- Crimson Preset Color -->
<value>crimson</value>
-<!-- Cyan Preset Color -->
+ <!-- Cyan Preset Color -->
<value>cyan</value>
-<!-- Dark Blue Preset Color -->
+ <!-- Dark Blue Preset Color -->
<value>dkBlue</value>
-<!-- Dark Cyan Preset Color -->
+ <!-- Dark Cyan Preset Color -->
<value>dkCyan</value>
-<!-- Dark Goldenrod Preset Color -->
+ <!-- Dark Goldenrod Preset Color -->
<value>dkGoldenrod</value>
-<!-- Dark Gray Preset Color -->
+ <!-- Dark Gray Preset Color -->
<value>dkGray</value>
-<!-- Dark Green Preset Color -->
+ <!-- Dark Green Preset Color -->
<value>dkGreen</value>
-<!-- Dark Khaki Preset Color -->
+ <!-- Dark Khaki Preset Color -->
<value>dkKhaki</value>
-<!-- Dark Magenta Preset Color -->
+ <!-- Dark Magenta Preset Color -->
<value>dkMagenta</value>
-<!-- Dark Olive Green Preset Color -->
+ <!-- Dark Olive Green Preset Color -->
<value>dkOliveGreen</value>
-<!-- Dark Orange Preset Color -->
+ <!-- Dark Orange Preset Color -->
<value>dkOrange</value>
-<!-- Dark Orchid Preset Color -->
+ <!-- Dark Orchid Preset Color -->
<value>dkOrchid</value>
-<!-- Dark Red Preset Color -->
+ <!-- Dark Red Preset Color -->
<value>dkRed</value>
-<!-- Dark Salmon Preset Color -->
+ <!-- Dark Salmon Preset Color -->
<value>dkSalmon</value>
-<!-- Dark Sea Green Preset Color -->
+ <!-- Dark Sea Green Preset Color -->
<value>dkSeaGreen</value>
-<!-- Dark Slate Blue Preset Color -->
+ <!-- Dark Slate Blue Preset Color -->
<value>dkSlateBlue</value>
-<!-- Dark Slate Gray Preset Color -->
+ <!-- Dark Slate Gray Preset Color -->
<value>dkSlateGray</value>
-<!-- Dark Turquoise Preset Color -->
+ <!-- Dark Turquoise Preset Color -->
<value>dkTurquoise</value>
-<!-- Dark Violet Preset Color -->
+ <!-- Dark Violet Preset Color -->
<value>dkViolet</value>
-<!-- Deep Pink Preset Color -->
+ <!-- Deep Pink Preset Color -->
<value>deepPink</value>
-<!-- Deep Sky Blue Preset Color -->
+ <!-- Deep Sky Blue Preset Color -->
<value>deepSkyBlue</value>
-<!-- Dim Gray Preset Color -->
+ <!-- Dim Gray Preset Color -->
<value>dimGray</value>
-<!-- Dodger Blue Preset Color -->
+ <!-- Dodger Blue Preset Color -->
<value>dodgerBlue</value>
-<!-- Firebrick Preset Color -->
+ <!-- Firebrick Preset Color -->
<value>firebrick</value>
-<!-- Floral White Preset Color -->
+ <!-- Floral White Preset Color -->
<value>floralWhite</value>
-<!-- Forest Green Preset Color -->
+ <!-- Forest Green Preset Color -->
<value>forestGreen</value>
-<!-- Fuchsia Preset Color -->
+ <!-- Fuchsia Preset Color -->
<value>fuchsia</value>
-<!-- Gainsboro Preset Color -->
+ <!-- Gainsboro Preset Color -->
<value>gainsboro</value>
-<!-- Ghost White Preset Color -->
+ <!-- Ghost White Preset Color -->
<value>ghostWhite</value>
-<!-- Gold Preset Color -->
+ <!-- Gold Preset Color -->
<value>gold</value>
-<!-- Goldenrod Preset Color -->
+ <!-- Goldenrod Preset Color -->
<value>goldenrod</value>
-<!-- Gray Preset Color -->
+ <!-- Gray Preset Color -->
<value>gray</value>
-<!-- Green Preset Color -->
+ <!-- Green Preset Color -->
<value>green</value>
-<!-- Green Yellow Preset Color -->
+ <!-- Green Yellow Preset Color -->
<value>greenYellow</value>
-<!-- Honeydew Preset Color -->
+ <!-- Honeydew Preset Color -->
<value>honeydew</value>
-<!-- Hot Pink Preset Color -->
+ <!-- Hot Pink Preset Color -->
<value>hotPink</value>
-<!-- Indian Red Preset Color -->
+ <!-- Indian Red Preset Color -->
<value>indianRed</value>
-<!-- Indigo Preset Color -->
+ <!-- Indigo Preset Color -->
<value>indigo</value>
-<!-- Ivory Preset Color -->
+ <!-- Ivory Preset Color -->
<value>ivory</value>
-<!-- Khaki Preset Color -->
+ <!-- Khaki Preset Color -->
<value>khaki</value>
-<!-- Lavender Preset Color -->
+ <!-- Lavender Preset Color -->
<value>lavender</value>
-<!-- Lavender Blush Preset Color -->
+ <!-- Lavender Blush Preset Color -->
<value>lavenderBlush</value>
-<!-- Lawn Green Preset Color -->
+ <!-- Lawn Green Preset Color -->
<value>lawnGreen</value>
-<!-- Lemon Chiffon Preset Color -->
+ <!-- Lemon Chiffon Preset Color -->
<value>lemonChiffon</value>
-<!-- Light Blue Preset Color -->
+ <!-- Light Blue Preset Color -->
<value>ltBlue</value>
-<!-- Light Coral Preset Color -->
+ <!-- Light Coral Preset Color -->
<value>ltCoral</value>
-<!-- Light Cyan Preset Color -->
+ <!-- Light Cyan Preset Color -->
<value>ltCyan</value>
-<!-- Light Goldenrod Yellow Preset Color -->
+ <!-- Light Goldenrod Yellow Preset Color -->
<value>ltGoldenrodYellow</value>
-<!-- Light Gray Preset Color -->
+ <!-- Light Gray Preset Color -->
<value>ltGray</value>
-<!-- Light Green Preset Color -->
+ <!-- Light Green Preset Color -->
<value>ltGreen</value>
-<!-- Light Pink Preset Color -->
+ <!-- Light Pink Preset Color -->
<value>ltPink</value>
-<!-- Light Salmon Preset Color -->
+ <!-- Light Salmon Preset Color -->
<value>ltSalmon</value>
-<!-- Light Sea Green Preset Color -->
+ <!-- Light Sea Green Preset Color -->
<value>ltSeaGreen</value>
-<!-- Light Sky Blue Preset Color -->
+ <!-- Light Sky Blue Preset Color -->
<value>ltSkyBlue</value>
-<!-- Light Slate Gray Preset Color -->
+ <!-- Light Slate Gray Preset Color -->
<value>ltSlateGray</value>
-<!-- Light Steel Blue Preset Color -->
+ <!-- Light Steel Blue Preset Color -->
<value>ltSteelBlue</value>
-<!-- Light Yellow Preset Color -->
+ <!-- Light Yellow Preset Color -->
<value>ltYellow</value>
-<!-- Lime Preset Color -->
+ <!-- Lime Preset Color -->
<value>lime</value>
-<!-- Lime Green Preset Color -->
+ <!-- Lime Green Preset Color -->
<value>limeGreen</value>
-<!-- Linen Preset Color -->
+ <!-- Linen Preset Color -->
<value>linen</value>
-<!-- Magenta Preset Color -->
+ <!-- Magenta Preset Color -->
<value>magenta</value>
-<!-- Maroon Preset Color -->
+ <!-- Maroon Preset Color -->
<value>maroon</value>
-<!-- Medium Aquamarine Preset Color -->
+ <!-- Medium Aquamarine Preset Color -->
<value>medAquamarine</value>
-<!-- Medium Blue Preset Color -->
+ <!-- Medium Blue Preset Color -->
<value>medBlue</value>
-<!-- Medium Orchid Preset Color -->
+ <!-- Medium Orchid Preset Color -->
<value>medOrchid</value>
-<!-- Medium Purple Preset Color -->
+ <!-- Medium Purple Preset Color -->
<value>medPurple</value>
-<!-- Medium Sea Green Preset Color -->
+ <!-- Medium Sea Green Preset Color -->
<value>medSeaGreen</value>
-<!-- Medium Slate Blue Preset Color -->
+ <!-- Medium Slate Blue Preset Color -->
<value>medSlateBlue</value>
-<!-- Medium Spring Green Preset Color -->
+ <!-- Medium Spring Green Preset Color -->
<value>medSpringGreen</value>
-<!-- Medium Turquoise Preset Color -->
+ <!-- Medium Turquoise Preset Color -->
<value>medTurquoise</value>
-<!-- Medium Violet Red Preset Color -->
+ <!-- Medium Violet Red Preset Color -->
<value>medVioletRed</value>
-<!-- Midnight Blue Preset Color -->
+ <!-- Midnight Blue Preset Color -->
<value>midnightBlue</value>
-<!-- Mint Cream Preset Color -->
+ <!-- Mint Cream Preset Color -->
<value>mintCream</value>
-<!-- Misty Rose Preset Color -->
+ <!-- Misty Rose Preset Color -->
<value>mistyRose</value>
-<!-- Moccasin Preset Color -->
+ <!-- Moccasin Preset Color -->
<value>moccasin</value>
-<!-- Navajo White Preset Color -->
+ <!-- Navajo White Preset Color -->
<value>navajoWhite</value>
-<!-- Navy Preset Color -->
+ <!-- Navy Preset Color -->
<value>navy</value>
-<!-- Old Lace Preset Color -->
+ <!-- Old Lace Preset Color -->
<value>oldLace</value>
-<!-- Olive Preset Color -->
+ <!-- Olive Preset Color -->
<value>olive</value>
-<!-- Olive Drab Preset Color -->
+ <!-- Olive Drab Preset Color -->
<value>oliveDrab</value>
-<!-- Orange Preset Color -->
+ <!-- Orange Preset Color -->
<value>orange</value>
-<!-- Orange Red Preset Color -->
+ <!-- Orange Red Preset Color -->
<value>orangeRed</value>
-<!-- Orchid Preset Color -->
+ <!-- Orchid Preset Color -->
<value>orchid</value>
-<!-- Pale Goldenrod Preset Color -->
+ <!-- Pale Goldenrod Preset Color -->
<value>paleGoldenrod</value>
-<!-- Pale Green Preset Color -->
+ <!-- Pale Green Preset Color -->
<value>paleGreen</value>
-<!-- Pale Turquoise Preset Color -->
+ <!-- Pale Turquoise Preset Color -->
<value>paleTurquoise</value>
-<!-- Pale Violet Red Preset Color -->
+ <!-- Pale Violet Red Preset Color -->
<value>paleVioletRed</value>
-<!-- Papaya Whip Preset Color -->
+ <!-- Papaya Whip Preset Color -->
<value>papayaWhip</value>
-<!-- Peach Puff Preset Color -->
+ <!-- Peach Puff Preset Color -->
<value>peachPuff</value>
-<!-- Peru Preset Color -->
+ <!-- Peru Preset Color -->
<value>peru</value>
-<!-- Pink Preset Color -->
+ <!-- Pink Preset Color -->
<value>pink</value>
-<!-- Plum Preset Color -->
+ <!-- Plum Preset Color -->
<value>plum</value>
-<!-- Powder Blue Preset Color -->
+ <!-- Powder Blue Preset Color -->
<value>powderBlue</value>
-<!-- Purple Preset Color -->
+ <!-- Purple Preset Color -->
<value>purple</value>
-<!-- Red Preset Color -->
+ <!-- Red Preset Color -->
<value>red</value>
-<!-- Rosy Brown Preset Color -->
+ <!-- Rosy Brown Preset Color -->
<value>rosyBrown</value>
-<!-- Royal Blue Preset Color -->
+ <!-- Royal Blue Preset Color -->
<value>royalBlue</value>
-<!-- Saddle Brown Preset Color -->
+ <!-- Saddle Brown Preset Color -->
<value>saddleBrown</value>
-<!-- Salmon Preset Color -->
+ <!-- Salmon Preset Color -->
<value>salmon</value>
-<!-- Sandy Brown Preset Color -->
+ <!-- Sandy Brown Preset Color -->
<value>sandyBrown</value>
-<!-- Sea Green Preset Color -->
+ <!-- Sea Green Preset Color -->
<value>seaGreen</value>
-<!-- Sea Shell Preset Color -->
+ <!-- Sea Shell Preset Color -->
<value>seaShell</value>
-<!-- Sienna Preset Color -->
+ <!-- Sienna Preset Color -->
<value>sienna</value>
-<!-- Silver Preset Color -->
+ <!-- Silver Preset Color -->
<value>silver</value>
-<!-- Sky Blue Preset Color -->
+ <!-- Sky Blue Preset Color -->
<value>skyBlue</value>
-<!-- Slate Blue Preset Color -->
+ <!-- Slate Blue Preset Color -->
<value>slateBlue</value>
-<!-- Slate Gray Preset Color -->
+ <!-- Slate Gray Preset Color -->
<value>slateGray</value>
-<!-- Snow Preset Color -->
+ <!-- Snow Preset Color -->
<value>snow</value>
-<!-- Spring Green Preset Color -->
+ <!-- Spring Green Preset Color -->
<value>springGreen</value>
-<!-- Steel Blue Preset Color -->
+ <!-- Steel Blue Preset Color -->
<value>steelBlue</value>
-<!-- Tan Preset Color -->
+ <!-- Tan Preset Color -->
<value>tan</value>
-<!-- Teal Preset Color -->
+ <!-- Teal Preset Color -->
<value>teal</value>
-<!-- Thistle Preset Color -->
+ <!-- Thistle Preset Color -->
<value>thistle</value>
-<!-- Tomato Preset Color -->
+ <!-- Tomato Preset Color -->
<value>tomato</value>
-<!-- Turquoise Preset Color -->
+ <!-- Turquoise Preset Color -->
<value>turquoise</value>
-<!-- Violet Preset Color -->
+ <!-- Violet Preset Color -->
<value>violet</value>
-<!-- Wheat Preset Color -->
+ <!-- Wheat Preset Color -->
<value>wheat</value>
-<!-- White Preset Color -->
+ <!-- White Preset Color -->
<value>white</value>
-<!-- White Smoke Preset Color -->
+ <!-- White Smoke Preset Color -->
<value>whiteSmoke</value>
-<!-- Yellow Preset Color -->
+ <!-- Yellow Preset Color -->
<value>yellow</value>
-<!-- Yellow Green Preset Color -->
+ <!-- Yellow Green Preset Color -->
<value>yellowGreen</value>
</choice>
</list>
@@ -4221,23 +4224,23 @@
<list>
<xs:documentation>Rectangle Alignments</xs:documentation>
<choice>
-<!-- Rectangle Alignment Enum ( Top Left ) -->
+ <!-- Rectangle Alignment Enum ( Top Left ) -->
<value>tl</value>
-<!-- Rectangle Alignment Enum ( Top ) -->
+ <!-- Rectangle Alignment Enum ( Top ) -->
<value>t</value>
-<!-- Rectangle Alignment Enum ( Top Right ) -->
+ <!-- Rectangle Alignment Enum ( Top Right ) -->
<value>tr</value>
-<!-- Rectangle Alignment Enum ( Left ) -->
+ <!-- Rectangle Alignment Enum ( Left ) -->
<value>l</value>
-<!-- Rectangle Alignment Enum ( Center ) -->
+ <!-- Rectangle Alignment Enum ( Center ) -->
<value>ctr</value>
-<!-- Rectangle Alignment Enum ( Right ) -->
+ <!-- Rectangle Alignment Enum ( Right ) -->
<value>r</value>
-<!-- Rectangle Alignment Enum ( Bottom Left ) -->
+ <!-- Rectangle Alignment Enum ( Bottom Left ) -->
<value>bl</value>
-<!-- Rectangle Alignment Enum ( Bottom ) -->
+ <!-- Rectangle Alignment Enum ( Bottom ) -->
<value>b</value>
-<!-- Rectangle Alignment Enum ( Bottom Right ) -->
+ <!-- Rectangle Alignment Enum ( Bottom Right ) -->
<value>br</value>
</choice>
</list>
@@ -4282,27 +4285,27 @@
<list>
<xs:documentation>Black and White Mode</xs:documentation>
<choice>
-<!-- Color -->
+ <!-- Color -->
<value>clr</value>
-<!-- Automatic -->
+ <!-- Automatic -->
<value>auto</value>
-<!-- Gray -->
+ <!-- Gray -->
<value>gray</value>
-<!-- Light Gray -->
+ <!-- Light Gray -->
<value>ltGray</value>
-<!-- Inverse Gray -->
+ <!-- Inverse Gray -->
<value>invGray</value>
-<!-- Gray and White -->
+ <!-- Gray and White -->
<value>grayWhite</value>
-<!-- Black and Gray -->
+ <!-- Black and Gray -->
<value>blackGray</value>
-<!-- Black and White -->
+ <!-- Black and White -->
<value>blackWhite</value>
-<!-- Black -->
+ <!-- Black -->
<value>black</value>
-<!-- White -->
+ <!-- White -->
<value>white</value>
-<!-- Hidden -->
+ <!-- Hidden -->
<value>hidden</value>
</choice>
</list>
@@ -4421,7 +4424,27 @@
<resource name="ST_Coordinate32" resource="Integer" generated="yes"/>
<resource name="ST_PositiveCoordinate" resource="Integer" generated="yes"/>
<resource name="ST_Angle" resource="Integer" generated="yes"/>
+ <resource name="CT_Angle" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_Angle_val" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
+ </resource>
+ <resource name="CT_PositiveFixedAngle" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_PositiveFixedAngle_val" action="setValue"/>
+ </resource>
<resource name="ST_Percentage" resource="Integer" generated="yes"/>
+ <resource name="CT_Percentage" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_Percentage_val" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
+ </resource>
+ <resource name="CT_PositivePercentage" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_PositivePercentage_val" action="setValue"/>
+ </resource>
+ <resource name="CT_FixedPercentage" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_FixedPercentage_val" action="setValue"/>
+ </resource>
+ <resource name="CT_PositiveFixedPercentage" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_PositiveFixedPercentage_val" action="setValue"/>
+ </resource>
<resource name="CT_Point2D" resource="Properties">
<attribute name="x" tokenid="ooxml:CT_Point2D_x"/>
<attribute name="y" tokenid="ooxml:CT_Point2D_y"/>
@@ -4695,9 +4718,9 @@
</resource>
<resource name="ST_DrawingElementId" resource="Integer" generated="yes"/>
</namespace>
- <namespace name="dml-documentProperties" file="dml-documentProperties.rng">
+ <namespace name="dml-documentProperties" file="dml-documentProperties.rng" todo="ignore">
<grammar xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/main" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="dml-baseTypes.rng"/>
<include href="dml-shapeGeometry.rng"/>
<define name="AG_Locking">
@@ -5107,8 +5130,8 @@
<namespace name="dml-graphicalObject" file="dml-graphicalObject.rng">
<start name="graphic"/>
<grammar xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/main" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
-<!-- ISO RELAX NG Schema -->
-<!-- start = graphic -->
+ <!-- ISO RELAX NG Schema -->
+ <!-- start = graphic -->
<define name="CT_GraphicalObjectData">
<zeroOrMore>
<ref name="pic"/>
@@ -5146,387 +5169,387 @@
<element name="graphic" tokenid="ooxml:graphic_graphic"/>
</resource>
</namespace>
- <namespace name="dml-shapeGeometry" file="dml-shapeGeometry.rng">
+ <namespace name="dml-shapeGeometry" file="dml-shapeGeometry.rng" todo="ignore">
<grammar xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/main" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="dml-baseTypes.rng"/>
<define name="ST_ShapeType">
<list>
<xs:documentation>Preset Shape Types</xs:documentation>
<choice>
-<!-- Line Shape -->
+ <!-- Line Shape -->
<value>line</value>
-<!-- Line Inverse Shape -->
+ <!-- Line Inverse Shape -->
<value>lineInv</value>
-<!-- Triangle Shape -->
+ <!-- Triangle Shape -->
<value>triangle</value>
-<!-- Right Triangle Shape -->
+ <!-- Right Triangle Shape -->
<value>rtTriangle</value>
-<!-- Rectangle Shape -->
+ <!-- Rectangle Shape -->
<value>rect</value>
-<!-- Diamond Shape -->
+ <!-- Diamond Shape -->
<value>diamond</value>
-<!-- Parallelogram Shape -->
+ <!-- Parallelogram Shape -->
<value>parallelogram</value>
-<!-- Trapezoid Shape -->
+ <!-- Trapezoid Shape -->
<value>trapezoid</value>
-<!-- Non-Isosceles Trapezoid Shape -->
+ <!-- Non-Isosceles Trapezoid Shape -->
<value>nonIsoscelesTrapezoid</value>
-<!-- Pentagon Shape -->
+ <!-- Pentagon Shape -->
<value>pentagon</value>
-<!-- Hexagon Shape -->
+ <!-- Hexagon Shape -->
<value>hexagon</value>
-<!-- Heptagon Shape -->
+ <!-- Heptagon Shape -->
<value>heptagon</value>
-<!-- Octagon Shape -->
+ <!-- Octagon Shape -->
<value>octagon</value>
-<!-- Decagon Shape -->
+ <!-- Decagon Shape -->
<value>decagon</value>
-<!-- Dodecagon Shape -->
+ <!-- Dodecagon Shape -->
<value>dodecagon</value>
-<!-- Four Pointed Star Shape -->
+ <!-- Four Pointed Star Shape -->
<value>star4</value>
-<!-- Five Pointed Star Shape -->
+ <!-- Five Pointed Star Shape -->
<value>star5</value>
-<!-- Six Pointed Star Shape -->
+ <!-- Six Pointed Star Shape -->
<value>star6</value>
-<!-- Seven Pointed Star Shape -->
+ <!-- Seven Pointed Star Shape -->
<value>star7</value>
-<!-- Eight Pointed Star Shape -->
+ <!-- Eight Pointed Star Shape -->
<value>star8</value>
-<!-- Ten Pointed Star Shape -->
+ <!-- Ten Pointed Star Shape -->
<value>star10</value>
-<!-- Twelve Pointed Star Shape -->
+ <!-- Twelve Pointed Star Shape -->
<value>star12</value>
-<!-- Sixteen Pointed Star Shape -->
+ <!-- Sixteen Pointed Star Shape -->
<value>star16</value>
-<!-- Twenty Four Pointed Star Shape -->
+ <!-- Twenty Four Pointed Star Shape -->
<value>star24</value>
-<!-- Thirty Two Pointed Star Shape -->
+ <!-- Thirty Two Pointed Star Shape -->
<value>star32</value>
-<!-- Round Corner Rectangle Shape -->
+ <!-- Round Corner Rectangle Shape -->
<value>roundRect</value>
-<!-- One Round Corner Rectangle Shape -->
+ <!-- One Round Corner Rectangle Shape -->
<value>round1Rect</value>
-<!-- Two Same-side Round Corner Rectangle Shape -->
+ <!-- Two Same-side Round Corner Rectangle Shape -->
<value>round2SameRect</value>
-<!-- Two Diagonal Round Corner Rectangle Shape -->
+ <!-- Two Diagonal Round Corner Rectangle Shape -->
<value>round2DiagRect</value>
-<!-- One Snip One Round Corner Rectangle Shape -->
+ <!-- One Snip One Round Corner Rectangle Shape -->
<value>snipRoundRect</value>
-<!-- One Snip Corner Rectangle Shape -->
+ <!-- One Snip Corner Rectangle Shape -->
<value>snip1Rect</value>
-<!-- Two Same-side Snip Corner Rectangle Shape -->
+ <!-- Two Same-side Snip Corner Rectangle Shape -->
<value>snip2SameRect</value>
-<!-- Two Diagonal Snip Corner Rectangle Shape -->
+ <!-- Two Diagonal Snip Corner Rectangle Shape -->
<value>snip2DiagRect</value>
-<!-- Plaque Shape -->
+ <!-- Plaque Shape -->
<value>plaque</value>
-<!-- Ellipse Shape -->
+ <!-- Ellipse Shape -->
<value>ellipse</value>
-<!-- Teardrop Shape -->
+ <!-- Teardrop Shape -->
<value>teardrop</value>
-<!-- Home Plate Shape -->
+ <!-- Home Plate Shape -->
<value>homePlate</value>
-<!-- Chevron Shape -->
+ <!-- Chevron Shape -->
<value>chevron</value>
-<!-- Pie Wedge Shape -->
+ <!-- Pie Wedge Shape -->
<value>pieWedge</value>
-<!-- Pie Shape -->
+ <!-- Pie Shape -->
<value>pie</value>
-<!-- Block Arc Shape -->
+ <!-- Block Arc Shape -->
<value>blockArc</value>
-<!-- Donut Shape -->
+ <!-- Donut Shape -->
<value>donut</value>
-<!-- No Smoking Shape -->
+ <!-- No Smoking Shape -->
<value>noSmoking</value>
-<!-- Right Arrow Shape -->
+ <!-- Right Arrow Shape -->
<value>rightArrow</value>
-<!-- Left Arrow Shape -->
+ <!-- Left Arrow Shape -->
<value>leftArrow</value>
-<!-- Up Arrow Shape -->
+ <!-- Up Arrow Shape -->
<value>upArrow</value>
-<!-- Down Arrow Shape -->
+ <!-- Down Arrow Shape -->
<value>downArrow</value>
-<!-- Striped Right Arrow Shape -->
+ <!-- Striped Right Arrow Shape -->
<value>stripedRightArrow</value>
-<!-- Notched Right Arrow Shape -->
+ <!-- Notched Right Arrow Shape -->
<value>notchedRightArrow</value>
-<!-- Bent Up Arrow Shape -->
+ <!-- Bent Up Arrow Shape -->
<value>bentUpArrow</value>
-<!-- Left Right Arrow Shape -->
+ <!-- Left Right Arrow Shape -->
<value>leftRightArrow</value>
-<!-- Up Down Arrow Shape -->
+ <!-- Up Down Arrow Shape -->
<value>upDownArrow</value>
-<!-- Left Up Arrow Shape -->
+ <!-- Left Up Arrow Shape -->
<value>leftUpArrow</value>
-<!-- Left Right Up Arrow Shape -->
+ <!-- Left Right Up Arrow Shape -->
<value>leftRightUpArrow</value>
-<!-- Quad-Arrow Shape -->
+ <!-- Quad-Arrow Shape -->
<value>quadArrow</value>
-<!-- Callout Left Arrow Shape -->
+ <!-- Callout Left Arrow Shape -->
<value>leftArrowCallout</value>
-<!-- Callout Right Arrow Shape -->
+ <!-- Callout Right Arrow Shape -->
<value>rightArrowCallout</value>
-<!-- Callout Up Arrow Shape -->
+ <!-- Callout Up Arrow Shape -->
<value>upArrowCallout</value>
-<!-- Callout Down Arrow Shape -->
+ <!-- Callout Down Arrow Shape -->
<value>downArrowCallout</value>
-<!-- Callout Left Right Arrow Shape -->
+ <!-- Callout Left Right Arrow Shape -->
<value>leftRightArrowCallout</value>
-<!-- Callout Up Down Arrow Shape -->
+ <!-- Callout Up Down Arrow Shape -->
<value>upDownArrowCallout</value>
-<!-- Callout Quad-Arrow Shape -->
+ <!-- Callout Quad-Arrow Shape -->
<value>quadArrowCallout</value>
-<!-- Bent Arrow Shape -->
+ <!-- Bent Arrow Shape -->
<value>bentArrow</value>
-<!-- U-Turn Arrow Shape -->
+ <!-- U-Turn Arrow Shape -->
<value>uturnArrow</value>
-<!-- Circular Arrow Shape -->
+ <!-- Circular Arrow Shape -->
<value>circularArrow</value>
-<!-- Left Circular Arrow Shape -->
+ <!-- Left Circular Arrow Shape -->
<value>leftCircularArrow</value>
-<!-- Left Right Circular Arrow Shape -->
+ <!-- Left Right Circular Arrow Shape -->
<value>leftRightCircularArrow</value>
-<!-- Curved Right Arrow Shape -->
+ <!-- Curved Right Arrow Shape -->
<value>curvedRightArrow</value>
-<!-- Curved Left Arrow Shape -->
+ <!-- Curved Left Arrow Shape -->
<value>curvedLeftArrow</value>
-<!-- Curved Up Arrow Shape -->
+ <!-- Curved Up Arrow Shape -->
<value>curvedUpArrow</value>
-<!-- Curved Down Arrow Shape -->
+ <!-- Curved Down Arrow Shape -->
<value>curvedDownArrow</value>
-<!-- Swoosh Arrow Shape -->
+ <!-- Swoosh Arrow Shape -->
<value>swooshArrow</value>
-<!-- Cube Shape -->
+ <!-- Cube Shape -->
<value>cube</value>
-<!-- Can Shape -->
+ <!-- Can Shape -->
<value>can</value>
-<!-- Lightning Bolt Shape -->
+ <!-- Lightning Bolt Shape -->
<value>lightningBolt</value>
-<!-- Heart Shape -->
+ <!-- Heart Shape -->
<value>heart</value>
-<!-- Sun Shape -->
+ <!-- Sun Shape -->
<value>sun</value>
-<!-- Moon Shape -->
+ <!-- Moon Shape -->
<value>moon</value>
-<!-- Smiley Face Shape -->
+ <!-- Smiley Face Shape -->
<value>smileyFace</value>
-<!-- Irregular Seal 1 Shape -->
+ <!-- Irregular Seal 1 Shape -->
<value>irregularSeal1</value>
-<!-- Irregular Seal 2 Shape -->
+ <!-- Irregular Seal 2 Shape -->
<value>irregularSeal2</value>
-<!-- Folded Corner Shape -->
+ <!-- Folded Corner Shape -->
<value>foldedCorner</value>
-<!-- Bevel Shape -->
+ <!-- Bevel Shape -->
<value>bevel</value>
-<!-- Frame Shape -->
+ <!-- Frame Shape -->
<value>frame</value>
-<!-- Half Frame Shape -->
+ <!-- Half Frame Shape -->
<value>halfFrame</value>
-<!-- Corner Shape -->
+ <!-- Corner Shape -->
<value>corner</value>
-<!-- Diagonal Stripe Shape -->
+ <!-- Diagonal Stripe Shape -->
<value>diagStripe</value>
-<!-- Chord Shape -->
+ <!-- Chord Shape -->
<value>chord</value>
-<!-- Curved Arc Shape -->
+ <!-- Curved Arc Shape -->
<value>arc</value>
-<!-- Left Bracket Shape -->
+ <!-- Left Bracket Shape -->
<value>leftBracket</value>
-<!-- Right Bracket Shape -->
+ <!-- Right Bracket Shape -->
<value>rightBracket</value>
-<!-- Left Brace Shape -->
+ <!-- Left Brace Shape -->
<value>leftBrace</value>
-<!-- Right Brace Shape -->
+ <!-- Right Brace Shape -->
<value>rightBrace</value>
-<!-- Bracket Pair Shape -->
+ <!-- Bracket Pair Shape -->
<value>bracketPair</value>
-<!-- Brace Pair Shape -->
+ <!-- Brace Pair Shape -->
<value>bracePair</value>
-<!-- Straight Connector 1 Shape -->
+ <!-- Straight Connector 1 Shape -->
<value>straightConnector1</value>
-<!-- Bent Connector 2 Shape -->
+ <!-- Bent Connector 2 Shape -->
<value>bentConnector2</value>
-<!-- Bent Connector 3 Shape -->
+ <!-- Bent Connector 3 Shape -->
<value>bentConnector3</value>
-<!-- Bent Connector 4 Shape -->
+ <!-- Bent Connector 4 Shape -->
<value>bentConnector4</value>
-<!-- Bent Connector 5 Shape -->
+ <!-- Bent Connector 5 Shape -->
<value>bentConnector5</value>
-<!-- Curved Connector 2 Shape -->
+ <!-- Curved Connector 2 Shape -->
<value>curvedConnector2</value>
-<!-- Curved Connector 3 Shape -->
+ <!-- Curved Connector 3 Shape -->
<value>curvedConnector3</value>
-<!-- Curved Connector 4 Shape -->
+ <!-- Curved Connector 4 Shape -->
<value>curvedConnector4</value>
-<!-- Curved Connector 5 Shape -->
+ <!-- Curved Connector 5 Shape -->
<value>curvedConnector5</value>
-<!-- Callout 1 Shape -->
+ <!-- Callout 1 Shape -->
<value>callout1</value>
-<!-- Callout 2 Shape -->
+ <!-- Callout 2 Shape -->
<value>callout2</value>
-<!-- Callout 3 Shape -->
+ <!-- Callout 3 Shape -->
<value>callout3</value>
-<!-- Callout 1 Shape -->
+ <!-- Callout 1 Shape -->
<value>accentCallout1</value>
-<!-- Callout 2 Shape -->
+ <!-- Callout 2 Shape -->
<value>accentCallout2</value>
-<!-- Callout 3 Shape -->
+ <!-- Callout 3 Shape -->
<value>accentCallout3</value>
-<!-- Callout 1 with Border Shape -->
+ <!-- Callout 1 with Border Shape -->
<value>borderCallout1</value>
-<!-- Callout 2 with Border Shape -->
+ <!-- Callout 2 with Border Shape -->
<value>borderCallout2</value>
-<!-- Callout 3 with Border Shape -->
+ <!-- Callout 3 with Border Shape -->
<value>borderCallout3</value>
-<!-- Callout 1 with Border and Accent Shape -->
+ <!-- Callout 1 with Border and Accent Shape -->
<value>accentBorderCallout1</value>
-<!-- Callout 2 with Border and Accent Shape -->
+ <!-- Callout 2 with Border and Accent Shape -->
<value>accentBorderCallout2</value>
-<!-- Callout 3 with Border and Accent Shape -->
+ <!-- Callout 3 with Border and Accent Shape -->
<value>accentBorderCallout3</value>
-<!-- Callout Wedge Rectangle Shape -->
+ <!-- Callout Wedge Rectangle Shape -->
<value>wedgeRectCallout</value>
-<!-- Callout Wedge Round Rectangle Shape -->
+ <!-- Callout Wedge Round Rectangle Shape -->
<value>wedgeRoundRectCallout</value>
-<!-- Callout Wedge Ellipse Shape -->
+ <!-- Callout Wedge Ellipse Shape -->
<value>wedgeEllipseCallout</value>
-<!-- Callout Cloud Shape -->
+ <!-- Callout Cloud Shape -->
<value>cloudCallout</value>
-<!-- Cloud Shape -->
+ <!-- Cloud Shape -->
<value>cloud</value>
-<!-- Ribbon Shape -->
+ <!-- Ribbon Shape -->
<value>ribbon</value>
-<!-- Ribbon 2 Shape -->
+ <!-- Ribbon 2 Shape -->
<value>ribbon2</value>
-<!-- Ellipse Ribbon Shape -->
+ <!-- Ellipse Ribbon Shape -->
<value>ellipseRibbon</value>
-<!-- Ellipse Ribbon 2 Shape -->
+ <!-- Ellipse Ribbon 2 Shape -->
<value>ellipseRibbon2</value>
-<!-- Left Right Ribbon Shape -->
+ <!-- Left Right Ribbon Shape -->
<value>leftRightRibbon</value>
-<!-- Vertical Scroll Shape -->
+ <!-- Vertical Scroll Shape -->
<value>verticalScroll</value>
-<!-- Horizontal Scroll Shape -->
+ <!-- Horizontal Scroll Shape -->
<value>horizontalScroll</value>
-<!-- Wave Shape -->
+ <!-- Wave Shape -->
<value>wave</value>
-<!-- Double Wave Shape -->
+ <!-- Double Wave Shape -->
<value>doubleWave</value>
-<!-- Plus Shape -->
+ <!-- Plus Shape -->
<value>plus</value>
-<!-- Process Flow Shape -->
+ <!-- Process Flow Shape -->
<value>flowChartProcess</value>
-<!-- Decision Flow Shape -->
+ <!-- Decision Flow Shape -->
<value>flowChartDecision</value>
-<!-- Input Output Flow Shape -->
+ <!-- Input Output Flow Shape -->
<value>flowChartInputOutput</value>
-<!-- Predefined Process Flow Shape -->
+ <!-- Predefined Process Flow Shape -->
<value>flowChartPredefinedProcess</value>
-<!-- Internal Storage Flow Shape -->
+ <!-- Internal Storage Flow Shape -->
<value>flowChartInternalStorage</value>
-<!-- Document Flow Shape -->
+ <!-- Document Flow Shape -->
<value>flowChartDocument</value>
-<!-- Multi-Document Flow Shape -->
+ <!-- Multi-Document Flow Shape -->
<value>flowChartMultidocument</value>
-<!-- Terminator Flow Shape -->
+ <!-- Terminator Flow Shape -->
<value>flowChartTerminator</value>
-<!-- Preparation Flow Shape -->
+ <!-- Preparation Flow Shape -->
<value>flowChartPreparation</value>
-<!-- Manual Input Flow Shape -->
+ <!-- Manual Input Flow Shape -->
<value>flowChartManualInput</value>
-<!-- Manual Operation Flow Shape -->
+ <!-- Manual Operation Flow Shape -->
<value>flowChartManualOperation</value>
-<!-- Connector Flow Shape -->
+ <!-- Connector Flow Shape -->
<value>flowChartConnector</value>
-<!-- Punched Card Flow Shape -->
+ <!-- Punched Card Flow Shape -->
<value>flowChartPunchedCard</value>
-<!-- Punched Tape Flow Shape -->
+ <!-- Punched Tape Flow Shape -->
<value>flowChartPunchedTape</value>
-<!-- Summing Junction Flow Shape -->
+ <!-- Summing Junction Flow Shape -->
<value>flowChartSummingJunction</value>
-<!-- Or Flow Shape -->
+ <!-- Or Flow Shape -->
<value>flowChartOr</value>
-<!-- Collate Flow Shape -->
+ <!-- Collate Flow Shape -->
<value>flowChartCollate</value>
-<!-- Sort Flow Shape -->
+ <!-- Sort Flow Shape -->
<value>flowChartSort</value>
-<!-- Extract Flow Shape -->
+ <!-- Extract Flow Shape -->
<value>flowChartExtract</value>
-<!-- Merge Flow Shape -->
+ <!-- Merge Flow Shape -->
<value>flowChartMerge</value>
-<!-- Offline Storage Flow Shape -->
+ <!-- Offline Storage Flow Shape -->
<value>flowChartOfflineStorage</value>
-<!-- Online Storage Flow Shape -->
+ <!-- Online Storage Flow Shape -->
<value>flowChartOnlineStorage</value>
-<!-- Magnetic Tape Flow Shape -->
+ <!-- Magnetic Tape Flow Shape -->
<value>flowChartMagneticTape</value>
-<!-- Magnetic Disk Flow Shape -->
+ <!-- Magnetic Disk Flow Shape -->
<value>flowChartMagneticDisk</value>
-<!-- Magnetic Drum Flow Shape -->
+ <!-- Magnetic Drum Flow Shape -->
<value>flowChartMagneticDrum</value>
-<!-- Display Flow Shape -->
+ <!-- Display Flow Shape -->
<value>flowChartDisplay</value>
-<!-- Delay Flow Shape -->
+ <!-- Delay Flow Shape -->
<value>flowChartDelay</value>
-<!-- Alternate Process Flow Shape -->
+ <!-- Alternate Process Flow Shape -->
<value>flowChartAlternateProcess</value>
-<!-- Off-Page Connector Flow Shape -->
+ <!-- Off-Page Connector Flow Shape -->
<value>flowChartOffpageConnector</value>
-<!-- Blank Button Shape -->
+ <!-- Blank Button Shape -->
<value>actionButtonBlank</value>
-<!-- Home Button Shape -->
+ <!-- Home Button Shape -->
<value>actionButtonHome</value>
-<!-- Help Button Shape -->
+ <!-- Help Button Shape -->
<value>actionButtonHelp</value>
-<!-- Information Button Shape -->
+ <!-- Information Button Shape -->
<value>actionButtonInformation</value>
-<!-- Forward or Next Button Shape -->
+ <!-- Forward or Next Button Shape -->
<value>actionButtonForwardNext</value>
-<!-- Back or Previous Button Shape -->
+ <!-- Back or Previous Button Shape -->
<value>actionButtonBackPrevious</value>
-<!-- End Button Shape -->
+ <!-- End Button Shape -->
<value>actionButtonEnd</value>
-<!-- Beginning Button Shape -->
+ <!-- Beginning Button Shape -->
<value>actionButtonBeginning</value>
-<!-- Return Button Shape -->
+ <!-- Return Button Shape -->
<value>actionButtonReturn</value>
-<!-- Document Button Shape -->
+ <!-- Document Button Shape -->
<value>actionButtonDocument</value>
-<!-- Sound Button Shape -->
+ <!-- Sound Button Shape -->
<value>actionButtonSound</value>
-<!-- Movie Button Shape -->
+ <!-- Movie Button Shape -->
<value>actionButtonMovie</value>
-<!-- Gear 6 Shape -->
+ <!-- Gear 6 Shape -->
<value>gear6</value>
-<!-- Gear 9 Shape -->
+ <!-- Gear 9 Shape -->
<value>gear9</value>
-<!-- Funnel Shape -->
+ <!-- Funnel Shape -->
<value>funnel</value>
-<!-- Plus Math Shape -->
+ <!-- Plus Math Shape -->
<value>mathPlus</value>
-<!-- Minus Math Shape -->
+ <!-- Minus Math Shape -->
<value>mathMinus</value>
-<!-- Multiply Math Shape -->
+ <!-- Multiply Math Shape -->
<value>mathMultiply</value>
-<!-- Divide Math Shape -->
+ <!-- Divide Math Shape -->
<value>mathDivide</value>
-<!-- Equal Math Shape -->
+ <!-- Equal Math Shape -->
<value>mathEqual</value>
-<!-- Not Equal Math Shape -->
+ <!-- Not Equal Math Shape -->
<value>mathNotEqual</value>
-<!-- Corner Tabs Shape -->
+ <!-- Corner Tabs Shape -->
<value>cornerTabs</value>
-<!-- Square Tabs Shape -->
+ <!-- Square Tabs Shape -->
<value>squareTabs</value>
-<!-- Plaque Tabs Shape -->
+ <!-- Plaque Tabs Shape -->
<value>plaqueTabs</value>
-<!-- Chart X Shape -->
+ <!-- Chart X Shape -->
<value>chartX</value>
-<!-- Chart Star Shape -->
+ <!-- Chart Star Shape -->
<value>chartStar</value>
-<!-- Chart Plus Shape -->
+ <!-- Chart Plus Shape -->
<value>chartPlus</value>
</choice>
</list>
@@ -5535,87 +5558,87 @@
<list>
<xs:documentation>Preset Text Shape Types</xs:documentation>
<choice>
-<!-- No Text Shape -->
+ <!-- No Text Shape -->
<value>textNoShape</value>
-<!-- Plain Text Shape -->
+ <!-- Plain Text Shape -->
<value>textPlain</value>
-<!-- Stop Sign Text Shape -->
+ <!-- Stop Sign Text Shape -->
<value>textStop</value>
-<!-- Triangle Text Shape -->
+ <!-- Triangle Text Shape -->
<value>textTriangle</value>
-<!-- Inverted Triangle Text Shape -->
+ <!-- Inverted Triangle Text Shape -->
<value>textTriangleInverted</value>
-<!-- Chevron Text Shape -->
+ <!-- Chevron Text Shape -->
<value>textChevron</value>
-<!-- Inverted Chevron Text Shape -->
+ <!-- Inverted Chevron Text Shape -->
<value>textChevronInverted</value>
-<!-- Inside Ring Text Shape -->
+ <!-- Inside Ring Text Shape -->
<value>textRingInside</value>
-<!-- Outside Ring Text Shape -->
+ <!-- Outside Ring Text Shape -->
<value>textRingOutside</value>
-<!-- Upward Arch Text Shape -->
+ <!-- Upward Arch Text Shape -->
<value>textArchUp</value>
-<!-- Downward Arch Text Shape -->
+ <!-- Downward Arch Text Shape -->
<value>textArchDown</value>
-<!-- Circle Text Shape -->
+ <!-- Circle Text Shape -->
<value>textCircle</value>
-<!-- Button Text Shape -->
+ <!-- Button Text Shape -->
<value>textButton</value>
-<!-- Upward Pour Arch Text Shape -->
+ <!-- Upward Pour Arch Text Shape -->
<value>textArchUpPour</value>
-<!-- Downward Pour Arch Text Shape -->
+ <!-- Downward Pour Arch Text Shape -->
<value>textArchDownPour</value>
-<!-- Circle Pour Text Shape -->
+ <!-- Circle Pour Text Shape -->
<value>textCirclePour</value>
-<!-- Button Pour Text Shape -->
+ <!-- Button Pour Text Shape -->
<value>textButtonPour</value>
-<!-- Upward Curve Text Shape -->
+ <!-- Upward Curve Text Shape -->
<value>textCurveUp</value>
-<!-- Downward Curve Text Shape -->
+ <!-- Downward Curve Text Shape -->
<value>textCurveDown</value>
-<!-- Upward Can Text Shape -->
+ <!-- Upward Can Text Shape -->
<value>textCanUp</value>
-<!-- Downward Can Text Shape -->
+ <!-- Downward Can Text Shape -->
<value>textCanDown</value>
-<!-- Wave 1 Text Shape -->
+ <!-- Wave 1 Text Shape -->
<value>textWave1</value>
-<!-- Wave 2 Text Shape -->
+ <!-- Wave 2 Text Shape -->
<value>textWave2</value>
-<!-- Double Wave 1 Text Shape -->
+ <!-- Double Wave 1 Text Shape -->
<value>textDoubleWave1</value>
-<!-- Wave 4 Text Shape -->
+ <!-- Wave 4 Text Shape -->
<value>textWave4</value>
-<!-- Inflate Text Shape -->
+ <!-- Inflate Text Shape -->
<value>textInflate</value>
-<!-- Deflate Text Shape -->
+ <!-- Deflate Text Shape -->
<value>textDeflate</value>
-<!-- Bottom Inflate Text Shape -->
+ <!-- Bottom Inflate Text Shape -->
<value>textInflateBottom</value>
-<!-- Bottom Deflate Text Shape -->
+ <!-- Bottom Deflate Text Shape -->
<value>textDeflateBottom</value>
-<!-- Top Inflate Text Shape -->
+ <!-- Top Inflate Text Shape -->
<value>textInflateTop</value>
-<!-- Top Deflate Text Shape -->
+ <!-- Top Deflate Text Shape -->
<value>textDeflateTop</value>
-<!-- Deflate-Inflate Text Shape -->
+ <!-- Deflate-Inflate Text Shape -->
<value>textDeflateInflate</value>
-<!-- Deflate-Inflate-Deflate Text Shape -->
+ <!-- Deflate-Inflate-Deflate Text Shape -->
<value>textDeflateInflateDeflate</value>
-<!-- Right Fade Text Shape -->
+ <!-- Right Fade Text Shape -->
<value>textFadeRight</value>
-<!-- Left Fade Text Shape -->
+ <!-- Left Fade Text Shape -->
<value>textFadeLeft</value>
-<!-- Upward Fade Text Shape -->
+ <!-- Upward Fade Text Shape -->
<value>textFadeUp</value>
-<!-- Downward Fade Text Shape -->
+ <!-- Downward Fade Text Shape -->
<value>textFadeDown</value>
-<!-- Upward Slant Text Shape -->
+ <!-- Upward Slant Text Shape -->
<value>textSlantUp</value>
-<!-- Downward Slant Text Shape -->
+ <!-- Downward Slant Text Shape -->
<value>textSlantDown</value>
-<!-- Upward Cascade Text Shape -->
+ <!-- Upward Cascade Text Shape -->
<value>textCascadeUp</value>
-<!-- Downward Cascade Text Shape -->
+ <!-- Downward Cascade Text Shape -->
<value>textCascadeDown</value>
</choice>
</list>
@@ -5653,14 +5676,14 @@
<ref name="ST_GeomGuideName"/>
</choice>
</define>
-<!-- Union -->
+ <!-- Union -->
<define name="ST_AdjAngle">
<choice>
<ref name="ST_Angle"/>
<ref name="ST_GeomGuideName"/>
</choice>
</define>
-<!-- Union -->
+ <!-- Union -->
<define name="CT_AdjPoint2D">
<attribute name="x">
<ref name="ST_AdjCoordinate"/>
@@ -5860,17 +5883,17 @@
<list>
<xs:documentation>Path Fill Mode</xs:documentation>
<choice>
-<!-- No Path Fill -->
+ <!-- No Path Fill -->
<value>none</value>
-<!-- Normal Path Fill -->
+ <!-- Normal Path Fill -->
<value>norm</value>
-<!-- Lighten Path Fill -->
+ <!-- Lighten Path Fill -->
<value>lighten</value>
-<!-- Lighten Path Fill Less -->
+ <!-- Lighten Path Fill Less -->
<value>lightenLess</value>
-<!-- Darken Path Fill -->
+ <!-- Darken Path Fill -->
<value>darken</value>
-<!-- Darken Path Fill Less -->
+ <!-- Darken Path Fill Less -->
<value>darkenLess</value>
</choice>
</list>
@@ -6279,10 +6302,10 @@
<start name="inline"/>
<start name="anchor"/>
<grammar xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="dml-graphicalObject.rng"/>
<include href="dml-documentProperties.rng"/>
-<!-- start = inline | anchor -->
+ <!-- start = inline | anchor -->
<define name="CT_EffectExtent">
<attribute name="l">
<ref name="ST_Coordinate"/>
@@ -6357,13 +6380,13 @@
<list>
<xs:documentation>Text Wrapping Location</xs:documentation>
<choice>
-<!-- Both Sides -->
+ <!-- Both Sides -->
<value>bothSides</value>
-<!-- Left Side Only -->
+ <!-- Left Side Only -->
<value>left</value>
-<!-- Right Side Only -->
+ <!-- Right Side Only -->
<value>right</value>
-<!-- Largest Side Only -->
+ <!-- Largest Side Only -->
<value>largest</value>
</choice>
</list>
@@ -6521,15 +6544,15 @@
<list>
<xs:documentation>Relative Horizontal Alignment Positions</xs:documentation>
<choice>
-<!-- Left Alignment -->
+ <!-- Left Alignment -->
<value>left</value>
-<!-- Right Alignment -->
+ <!-- Right Alignment -->
<value>right</value>
-<!-- Center Alignment -->
+ <!-- Center Alignment -->
<value>center</value>
-<!-- Inside -->
+ <!-- Inside -->
<value>inside</value>
-<!-- Outside -->
+ <!-- Outside -->
<value>outside</value>
</choice>
</list>
@@ -6538,21 +6561,21 @@
<list>
<xs:documentation>Horizontal Relative Positioning</xs:documentation>
<choice>
-<!-- Page Margin -->
+ <!-- Page Margin -->
<value>margin</value>
-<!-- Page Edge -->
+ <!-- Page Edge -->
<value>page</value>
-<!-- Column -->
+ <!-- Column -->
<value>column</value>
-<!-- Character -->
+ <!-- Character -->
<value>character</value>
-<!-- Left Margin -->
+ <!-- Left Margin -->
<value>leftMargin</value>
-<!-- Right Margin -->
+ <!-- Right Margin -->
<value>rightMargin</value>
-<!-- Inside Margin -->
+ <!-- Inside Margin -->
<value>insideMargin</value>
-<!-- Outside Margin -->
+ <!-- Outside Margin -->
<value>outsideMargin</value>
</choice>
</list>
@@ -6578,15 +6601,15 @@
<list>
<xs:documentation>Vertical Alignment Definition</xs:documentation>
<choice>
-<!-- Top -->
+ <!-- Top -->
<value>top</value>
-<!-- Bottom -->
+ <!-- Bottom -->
<value>bottom</value>
-<!-- Center Alignment -->
+ <!-- Center Alignment -->
<value>center</value>
-<!-- Inside -->
+ <!-- Inside -->
<value>inside</value>
-<!-- Outside -->
+ <!-- Outside -->
<value>outside</value>
</choice>
</list>
@@ -6595,21 +6618,21 @@
<list>
<xs:documentation>Vertical Relative Positioning</xs:documentation>
<choice>
-<!-- Page Margin -->
+ <!-- Page Margin -->
<value>margin</value>
-<!-- Page Edge -->
+ <!-- Page Edge -->
<value>page</value>
-<!-- Paragraph -->
+ <!-- Paragraph -->
<value>paragraph</value>
-<!-- Line -->
+ <!-- Line -->
<value>line</value>
-<!-- Top Margin -->
+ <!-- Top Margin -->
<value>topMargin</value>
-<!-- Bottom Margin -->
+ <!-- Bottom Margin -->
<value>bottomMargin</value>
-<!-- Inside Margin -->
+ <!-- Inside Margin -->
<value>insideMargin</value>
-<!-- Outside Margin -->
+ <!-- Outside Margin -->
<value>outsideMargin</value>
</choice>
</list>
@@ -6802,8 +6825,9 @@
<element name="wrapThrough" tokenid="ooxml:EG_WrapType_wrapThrough"/>
<element name="wrapTopAndBottom" tokenid="ooxml:EG_WrapType_wrapTopAndBottom"/>
</resource>
+ <resource name="CT_PositionOffset" resource="Value"/>
<resource name="ST_PositionOffset" resource="Integer" generated="yes"/>
- <resource name="CT_PositionOffset" resource="IntegerValue"/>
+ <resource name="CT_AlignH" resource="Value"/>
<resource name="ST_AlignH" resource="List" generated="yes">
<value name="left" tokenid="ooxml:Value_wordprocessingDrawing_ST_AlignH_left">left</value>
<value name="right" tokenid="ooxml:Value_wordprocessingDrawing_ST_AlignH_right">right</value>
@@ -6811,7 +6835,6 @@
<value name="inside" tokenid="ooxml:Value_wordprocessingDrawing_ST_AlignH_inside">inside</value>
<value name="outside" tokenid="ooxml:Value_wordprocessingDrawing_ST_AlignH_outside">outside</value>
</resource>
- <resource name="CT_AlignH" resource="ListValue"/>
<resource name="ST_RelFromH" resource="List" generated="yes">
<value name="margin" tokenid="ooxml:Value_wordprocessingDrawing_ST_RelFromH_margin">margin</value>
<value name="page" tokenid="ooxml:Value_wordprocessingDrawing_ST_RelFromH_page">page</value>
@@ -6827,7 +6850,7 @@
<element name="posOffset" tokenid="ooxml:CT_PosH_posOffset"/>
<attribute name="relativeFrom" tokenid="ooxml:CT_PosH_relativeFrom"/>
</resource>
- <resource name="CT_AlignV" resource="ListValue"/>
+ <resource name="CT_AlignV" resource="Value"/>
<resource name="ST_AlignV" resource="List" generated="yes">
<value name="top" tokenid="ooxml:Value_wordprocessingDrawing_ST_AlignV_top">top</value>
<value name="bottom" tokenid="ooxml:Value_wordprocessingDrawing_ST_AlignV_bottom">bottom</value>
@@ -6881,8 +6904,8 @@
<namespace name="sml-customXmlMappings" file="sml-customXmlMappings-rng">
<start name="schemaLibrary"/>
<grammar xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/schemaLibrary/2006/main" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
-<!-- ISO RELAX NG Schema -->
-<!-- start = schemaLibrary -->
+ <!-- ISO RELAX NG Schema -->
+ <!-- start = schemaLibrary -->
<define name="CT_Schema">
<attribute name="uri">
<data type="string">
@@ -6922,9 +6945,9 @@
<start name="oMathPara"/>
<start name="oMath"/>
<grammar xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/officeDocument/2006/math" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" attributeFormDefault="qualified">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="wml.rng"/>
-<!-- start = mathPr | oMathPara | oMath -->
+ <!-- start = mathPr | oMathPara | oMath -->
<define name="ST_Integer255">
<data type="integer">
<xs:documentation>Integer value (1 to 255)</xs:documentation>
@@ -6991,9 +7014,9 @@
<list>
<xs:documentation>On Off</xs:documentation>
<choice>
-<!-- On -->
+ <!-- On -->
<value>on</value>
-<!-- Off -->
+ <!-- Off -->
<value>off</value>
</choice>
</list>
@@ -7019,11 +7042,11 @@
<list>
<xs:documentation>Horizontal Alignment</xs:documentation>
<choice>
-<!-- Left Justification -->
+ <!-- Left Justification -->
<value>left</value>
-<!-- Center -->
+ <!-- Center -->
<value>center</value>
-<!-- Right -->
+ <!-- Right -->
<value>right</value>
</choice>
</list>
@@ -7038,11 +7061,11 @@
<list>
<xs:documentation>Vertical Alignment</xs:documentation>
<choice>
-<!-- Top -->
+ <!-- Top -->
<value>top</value>
-<!-- Center (Function) -->
+ <!-- Center (Function) -->
<value>center</value>
-<!-- Bottom Alignment -->
+ <!-- Bottom Alignment -->
<value>bot</value>
</choice>
</list>
@@ -7057,9 +7080,9 @@
<list>
<xs:documentation>Shape (Delimiters)</xs:documentation>
<choice>
-<!-- Centered (Delimiters) -->
+ <!-- Centered (Delimiters) -->
<value>centered</value>
-<!-- Match -->
+ <!-- Match -->
<value>match</value>
</choice>
</list>
@@ -7074,13 +7097,13 @@
<list>
<xs:documentation>Fraction Type</xs:documentation>
<choice>
-<!-- Bar Fraction -->
+ <!-- Bar Fraction -->
<value>bar</value>
-<!-- Skewed -->
+ <!-- Skewed -->
<value>skw</value>
-<!-- Linear Fraction -->
+ <!-- Linear Fraction -->
<value>lin</value>
-<!-- No-Bar Fraction (Stack) -->
+ <!-- No-Bar Fraction (Stack) -->
<value>noBar</value>
</choice>
</list>
@@ -7095,9 +7118,9 @@
<list>
<xs:documentation>Limit Location</xs:documentation>
<choice>
-<!-- Under-Over location -->
+ <!-- Under-Over location -->
<value>undOvr</value>
-<!-- Subscript-Superscript location -->
+ <!-- Subscript-Superscript location -->
<value>subSup</value>
</choice>
</list>
@@ -7112,9 +7135,9 @@
<list>
<xs:documentation>Top-Bottom</xs:documentation>
<choice>
-<!-- Top -->
+ <!-- Top -->
<value>top</value>
-<!-- Bottom Alignment -->
+ <!-- Bottom Alignment -->
<value>bot</value>
</choice>
</list>
@@ -7129,17 +7152,17 @@
<list>
<xs:documentation>Script</xs:documentation>
<choice>
-<!-- Roman -->
+ <!-- Roman -->
<value>roman</value>
-<!-- Script -->
+ <!-- Script -->
<value>script</value>
-<!-- Fraktur -->
+ <!-- Fraktur -->
<value>fraktur</value>
-<!-- double-struck -->
+ <!-- double-struck -->
<value>double-struck</value>
-<!-- Sans-Serif -->
+ <!-- Sans-Serif -->
<value>sans-serif</value>
-<!-- Monospace -->
+ <!-- Monospace -->
<value>monospace</value>
</choice>
</list>
@@ -7154,13 +7177,13 @@
<list>
<xs:documentation>Style</xs:documentation>
<choice>
-<!-- Plain -->
+ <!-- Plain -->
<value>p</value>
-<!-- Bold -->
+ <!-- Bold -->
<value>b</value>
-<!-- Italic -->
+ <!-- Italic -->
<value>i</value>
-<!-- Bold-Italic -->
+ <!-- Bold-Italic -->
<value>bi</value>
</choice>
</list>
@@ -7989,13 +8012,13 @@
<list>
<xs:documentation>Justification</xs:documentation>
<choice>
-<!-- Left Justification -->
+ <!-- Left Justification -->
<value>left</value>
-<!-- Right -->
+ <!-- Right -->
<value>right</value>
-<!-- Center (Equation) -->
+ <!-- Center (Equation) -->
<value>center</value>
-<!-- Centered as Group (Equations) -->
+ <!-- Centered as Group (Equations) -->
<value>centerGroup</value>
</choice>
</list>
@@ -8028,11 +8051,11 @@
<list>
<xs:documentation>Break Binary Operators</xs:documentation>
<choice>
-<!-- Before -->
+ <!-- Before -->
<value>before</value>
-<!-- After -->
+ <!-- After -->
<value>after</value>
-<!-- Repeat -->
+ <!-- Repeat -->
<value>repeat</value>
</choice>
</list>
@@ -8047,11 +8070,11 @@
<list>
<xs:documentation>Break on Binary Subtraction</xs:documentation>
<choice>
-<!-- Minus Minus -->
+ <!-- Minus Minus -->
<value>--</value>
-<!-- Minus Plus -->
+ <!-- Minus Plus -->
<value>-+</value>
-<!-- Plus Minus -->
+ <!-- Plus Minus -->
<value>+-</value>
</choice>
</list>
@@ -8178,44 +8201,89 @@
</define>
</grammar>
<resource name="ST_Integer255" resource="Integer" generated="yes"/>
+ <resource name="CT_Integer255" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_Integer255_val" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
+ </resource>
<resource name="ST_Integer2" resource="Integer" generated="yes"/>
+ <resource name="CT_Integer2" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_Integer2_val" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
+ </resource>
<resource name="ST_SpacingRule" resource="Integer" generated="yes"/>
+ <resource name="CT_SpacingRule" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_SpacingRule_val" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
+ </resource>
<resource name="ST_UnSignedInteger" resource="Integer" generated="yes"/>
+ <resource name="CT_UnSignedInteger" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_UnSignedInteger_val" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
+ </resource>
<resource name="ST_Char" resource="String" generated="yes"/>
+ <resource name="CT_Char" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_Char_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="ST_OnOff" resource="List" generated="yes">
<value name="on" tokenid="ooxml:Value_math_ST_OnOff_on">on</value>
<value name="off" tokenid="ooxml:Value_math_ST_OnOff_off">off</value>
</resource>
- <resource name="CT_OnOff" resource="BooleanValue"/>
+ <resource name="CT_OnOff" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_OnOff_val" action="setValue"/>
+ <action name="start" action="setDefaultBooleanValue"/>
+ </resource>
<resource name="ST_String" resource="String" generated="yes"/>
+ <resource name="CT_String" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_String_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="ST_XAlign" resource="List" generated="yes">
<value name="left" tokenid="ooxml:Value_math_ST_XAlign_left">left</value>
<value name="center" tokenid="ooxml:Value_math_ST_XAlign_center">center</value>
<value name="right" tokenid="ooxml:Value_math_ST_XAlign_right">right</value>
</resource>
+ <resource name="CT_XAlign" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_XAlign_val" action="setValue"/>
+ </resource>
<resource name="ST_YAlign" resource="List" generated="yes">
<value name="top" tokenid="ooxml:Value_math_ST_YAlign_top">top</value>
<value name="center" tokenid="ooxml:Value_math_ST_YAlign_center">center</value>
<value name="bot" tokenid="ooxml:Value_math_ST_YAlign_bot">bot</value>
</resource>
+ <resource name="CT_YAlign" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_YAlign_val" action="setValue"/>
+ </resource>
<resource name="ST_Shp" resource="List" generated="yes">
<value name="centered" tokenid="ooxml:Value_math_ST_Shp_centered">centered</value>
<value name="match" tokenid="ooxml:Value_math_ST_Shp_match">match</value>
</resource>
+ <resource name="CT_Shp" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_Shp_val" action="setValue"/>
+ </resource>
<resource name="ST_FType" resource="List" generated="yes">
<value name="bar" tokenid="ooxml:Value_math_ST_FType_bar">bar</value>
<value name="skw" tokenid="ooxml:Value_math_ST_FType_skw">skw</value>
<value name="lin" tokenid="ooxml:Value_math_ST_FType_lin">lin</value>
<value name="noBar" tokenid="ooxml:Value_math_ST_FType_noBar">noBar</value>
</resource>
+ <resource name="CT_FType" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_FType_val" action="setValue"/>
+ </resource>
<resource name="ST_LimLoc" resource="List" generated="yes">
<value name="undOvr" tokenid="ooxml:Value_math_ST_LimLoc_undOvr">undOvr</value>
<value name="subSup" tokenid="ooxml:Value_math_ST_LimLoc_subSup">subSup</value>
</resource>
+ <resource name="CT_LimLoc" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_LimLoc_val" action="setValue"/>
+ </resource>
<resource name="ST_TopBot" resource="List" generated="yes">
<value name="top" tokenid="ooxml:Value_math_ST_TopBot_top">top</value>
<value name="bot" tokenid="ooxml:Value_math_ST_TopBot_bot">bot</value>
</resource>
+ <resource name="CT_TopBot" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_TopBot_val" action="setValue"/>
+ </resource>
<resource name="ST_Script" resource="List" generated="yes">
<value name="roman" tokenid="ooxml:Value_math_ST_Script_roman">roman</value>
<value name="script" tokenid="ooxml:Value_math_ST_Script_script">script</value>
@@ -8224,34 +8292,52 @@
<value name="sansmserif" tokenid="ooxml:Value_math_ST_Script_sansmserif">sans-serif</value>
<value name="monospace" tokenid="ooxml:Value_math_ST_Script_monospace">monospace</value>
</resource>
+ <resource name="CT_Script" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_Script_val" action="setValue"/>
+ </resource>
<resource name="ST_Style" resource="List">
<value tokenid="ooxml:Value_ST_Style_b">b</value>
<value tokenid="ooxml:Value_ST_Style_bi">bi</value>
<value tokenid="ooxml:Value_ST_Style_i">i</value>
<value tokenid="ooxml:Value_ST_Style_p">p</value>
</resource>
- <resource name="CT_Style" resource="ListValue"/>
+ <resource name="CT_Style" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_Style_val" action="setValue"/>
+ </resource>
<resource name="ST_Jc" resource="List" generated="yes">
<value name="left" tokenid="ooxml:Value_math_ST_Jc_left">left</value>
<value name="right" tokenid="ooxml:Value_math_ST_Jc_right">right</value>
<value name="center" tokenid="ooxml:Value_math_ST_Jc_center">center</value>
<value name="centerGroup" tokenid="ooxml:Value_math_ST_Jc_centerGroup">centerGroup</value>
</resource>
+ <resource name="CT_OMathJc" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_OMathJc_val" action="setValue"/>
+ </resource>
<resource name="ST_TwipsMeasure" resource="Integer" generated="yes"/>
+ <resource name="CT_TwipsMeasure" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_TwipsMeasure_val" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
+ </resource>
<resource name="ST_BreakBin" resource="List" generated="yes">
<value name="before" tokenid="ooxml:Value_math_ST_BreakBin_before">before</value>
<value name="after" tokenid="ooxml:Value_math_ST_BreakBin_after">after</value>
<value name="repeat" tokenid="ooxml:Value_math_ST_BreakBin_repeat">repeat</value>
</resource>
+ <resource name="CT_BreakBin" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_BreakBin_val" action="setValue"/>
+ </resource>
<resource name="ST_BreakBinSub" resource="List" generated="yes">
<value name="mm" tokenid="ooxml:Value_math_ST_BreakBinSub_mm">--</value>
<value name="mp" tokenid="ooxml:Value_math_ST_BreakBinSub_mp">-+</value>
<value name="pm" tokenid="ooxml:Value_math_ST_BreakBinSub_pm">+-</value>
</resource>
+ <resource name="CT_BreakBinSub" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_BreakBinSub_val" action="setValue"/>
+ </resource>
</namespace>
<namespace name="shared-relationshipReference" file="shared-relationshipReference.rng">
<grammar xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<define name="ST_RelationshipId">
<data type="string">
<xs:documentation>Explicit Relationship ID</xs:documentation>
@@ -8302,10 +8388,10 @@
<namespace name="dml-chartDrawing" file="dml-chartDrawing.rng">
<start name="pic"/>
<grammar xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/drawingml/2006/picture">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="dml-shapeProperties.rng"/>
<include href="dml-documentProperties.rng"/>
-<!-- start = pic -->
+ <!-- start = pic -->
<define name="CT_PictureNonVisual">
<element name="cNvPr">
<ref name="CT_NonVisualDrawingProps"/>
@@ -8344,7 +8430,7 @@
<element name="pic" tokenid="ooxml:pic_pic"/>
</resource>
</namespace>
- <namespace name="vml-main" file="vml-main.rng">
+ <namespace name="vml-main" file="vml-main.rng" todo="ignore">
<start name="shape"/>
<start name="shapetype"/>
<start name="group"/>
@@ -8366,15 +8452,15 @@
<start name="polyline"/>
<start name="rect"/>
<start name="roundrect"/>
- <grammar xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:wvml="urn:schemas-microsoft-com:office:word" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" ns="urn:schemas-microsoft-com:vml" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
-<!-- ISO RELAX NG Schema -->
+ <grammar xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:wvml="urn:schemas-microsoft-com:office:word" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="urn:schemas-microsoft-com:vml" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <!-- ISO RELAX NG Schema -->
<include href="vml-officeDrawing.rng"/>
-<!-- External schema: http://schemas.openxmlformats.org/wordprocessingml/2006/main -->
+ <!-- External schema: http://schemas.openxmlformats.org/wordprocessingml/2006/main -->
<include href="vml-wordprocessingDrawing.rng"/>
-<!-- External schema: http://schemas.openxmlformats.org/officeDocument/2006/relationships -->
+ <!-- External schema: http://schemas.openxmlformats.org/officeDocument/2006/relationships -->
<include href="vml-spreadsheetDrawing.rng"/>
<include href="vml-presentationDrawing.rng"/>
-<!-- start = shape | shapetype | group | background | fill | formulas | handles | imagedata | path | textbox | shadow | stroke | textpath | arc | curve | image | line | oval | polyline | rect | roundrect -->
+ <!-- start = shape | shapetype | group | background | fill | formulas | handles | imagedata | path | textbox | shadow | stroke | textpath | arc | curve | image | line | oval | polyline | rect | roundrect -->
<define name="AG_Id">
<optional>
<attribute name="id">
@@ -9739,11 +9825,11 @@
<list>
<xs:documentation>VML Extension Handling Behaviors</xs:documentation>
<choice>
-<!-- Not renderable -->
+ <!-- Not renderable -->
<value>view</value>
-<!-- Editable -->
+ <!-- Editable -->
<value>edit</value>
-<!-- Renderable -->
+ <!-- Renderable -->
<value>backwardCompatible</value>
</choice>
</list>
@@ -9752,13 +9838,13 @@
<list>
<xs:documentation>Boolean Value</xs:documentation>
<choice>
-<!-- True -->
+ <!-- True -->
<value>t</value>
-<!-- False -->
+ <!-- False -->
<value>f</value>
-<!-- True -->
+ <!-- True -->
<value>true</value>
-<!-- False -->
+ <!-- False -->
<value>false</value>
</choice>
</list>
@@ -9772,17 +9858,17 @@
<list>
<xs:documentation>Shape Fill Type</xs:documentation>
<choice>
-<!-- Solid Fill -->
+ <!-- Solid Fill -->
<value>solid</value>
-<!-- Linear Gradient -->
+ <!-- Linear Gradient -->
<value>gradient</value>
-<!-- Radial Gradient -->
+ <!-- Radial Gradient -->
<value>gradientRadial</value>
-<!-- Tiled Image -->
+ <!-- Tiled Image -->
<value>tile</value>
-<!-- Image Pattern -->
+ <!-- Image Pattern -->
<value>pattern</value>
-<!-- Stretch Image to Fit -->
+ <!-- Stretch Image to Fit -->
<value>frame</value>
</choice>
</list>
@@ -9791,15 +9877,15 @@
<list>
<xs:documentation>Gradient Fill Computation Type</xs:documentation>
<choice>
-<!-- No Gradient Fill -->
+ <!-- No Gradient Fill -->
<value>none</value>
-<!-- Linear Fill -->
+ <!-- Linear Fill -->
<value>linear</value>
-<!-- Sigma Fill -->
+ <!-- Sigma Fill -->
<value>sigma</value>
-<!-- Application Default Fill -->
+ <!-- Application Default Fill -->
<value>any</value>
-<!-- Linear Sigma Fill -->
+ <!-- Linear Sigma Fill -->
<value>linear sigma</value>
</choice>
</list>
@@ -9808,13 +9894,13 @@
<list>
<xs:documentation>Shadow Type</xs:documentation>
<choice>
-<!-- Single Shadow -->
+ <!-- Single Shadow -->
<value>single</value>
-<!-- Double Shadow -->
+ <!-- Double Shadow -->
<value>double</value>
-<!-- Embossed Shadow -->
+ <!-- Embossed Shadow -->
<value>emboss</value>
-<!-- Perspective Shadow -->
+ <!-- Perspective Shadow -->
<value>perspective</value>
</choice>
</list>
@@ -9823,15 +9909,15 @@
<list>
<xs:documentation>Stroke Line Style</xs:documentation>
<choice>
-<!-- Single Line -->
+ <!-- Single Line -->
<value>single</value>
-<!-- Two Thin Lines -->
+ <!-- Two Thin Lines -->
<value>thinThin</value>
-<!-- Thin Line Outside Thick Line -->
+ <!-- Thin Line Outside Thick Line -->
<value>thinThick</value>
-<!-- Thick Line Outside Thin Line -->
+ <!-- Thick Line Outside Thin Line -->
<value>thickThin</value>
-<!-- Thck Line Between Thin Lines -->
+ <!-- Thck Line Between Thin Lines -->
<value>thickBetweenThin</value>
</choice>
</list>
@@ -9840,11 +9926,11 @@
<list>
<xs:documentation>Line Join Type</xs:documentation>
<choice>
-<!-- Round Joint -->
+ <!-- Round Joint -->
<value>round</value>
-<!-- Bevel Joint -->
+ <!-- Bevel Joint -->
<value>bevel</value>
-<!-- Miter Joint -->
+ <!-- Miter Joint -->
<value>miter</value>
</choice>
</list>
@@ -9853,11 +9939,11 @@
<list>
<xs:documentation>Stroke End Cap Type</xs:documentation>
<choice>
-<!-- Flat End -->
+ <!-- Flat End -->
<value>flat</value>
-<!-- Square End -->
+ <!-- Square End -->
<value>square</value>
-<!-- Round End -->
+ <!-- Round End -->
<value>round</value>
</choice>
</list>
@@ -9866,11 +9952,11 @@
<list>
<xs:documentation>Stroke Arrowhead Length</xs:documentation>
<choice>
-<!-- Short Arrowhead -->
+ <!-- Short Arrowhead -->
<value>short</value>
-<!-- Medium Arrowhead -->
+ <!-- Medium Arrowhead -->
<value>medium</value>
-<!-- Long Arrowhead -->
+ <!-- Long Arrowhead -->
<value>long</value>
</choice>
</list>
@@ -9879,11 +9965,11 @@
<list>
<xs:documentation>Stroke Arrowhead Width</xs:documentation>
<choice>
-<!-- Narrow Arrowhead -->
+ <!-- Narrow Arrowhead -->
<value>narrow</value>
-<!-- Medium Arrowhead -->
+ <!-- Medium Arrowhead -->
<value>medium</value>
-<!-- Wide Arrowhead -->
+ <!-- Wide Arrowhead -->
<value>wide</value>
</choice>
</list>
@@ -9892,17 +9978,17 @@
<list>
<xs:documentation>Stroke Arrowhead Type</xs:documentation>
<choice>
-<!-- No Arrowhead -->
+ <!-- No Arrowhead -->
<value>none</value>
-<!-- Block Arrowhead -->
+ <!-- Block Arrowhead -->
<value>block</value>
-<!-- Classic Arrowhead -->
+ <!-- Classic Arrowhead -->
<value>classic</value>
-<!-- Oval Arrowhead -->
+ <!-- Oval Arrowhead -->
<value>oval</value>
-<!-- Diamond Arrowhead -->
+ <!-- Diamond Arrowhead -->
<value>diamond</value>
-<!-- Open Arrowhead -->
+ <!-- Open Arrowhead -->
<value>open</value>
</choice>
</list>
@@ -9911,11 +9997,11 @@
<list>
<xs:documentation>Image Scaling Behavior</xs:documentation>
<choice>
-<!-- Ignore Aspect Ratio -->
+ <!-- Ignore Aspect Ratio -->
<value>ignore</value>
-<!-- At Most -->
+ <!-- At Most -->
<value>atMost</value>
-<!-- At Least -->
+ <!-- At Least -->
<value>atLeast</value>
</choice>
</list>
@@ -9924,15 +10010,15 @@
<list>
<xs:documentation>Boolean Value with Blank [False] State</xs:documentation>
<choice>
-<!-- Logical True -->
+ <!-- Logical True -->
<value>t</value>
-<!-- Logical False -->
+ <!-- Logical False -->
<value>f</value>
-<!-- Logical True -->
+ <!-- Logical True -->
<value>true</value>
-<!-- Logical False -->
+ <!-- Logical False -->
<value>false</value>
-<!-- Blank – Logical False -->
+ <!-- Blank – Logical False -->
<value/>
</choice>
</list>
@@ -9941,19 +10027,19 @@
<list>
<xs:documentation>Shape Grouping Types</xs:documentation>
<choice>
-<!-- Shape Canvas -->
+ <!-- Shape Canvas -->
<value>canvas</value>
-<!-- Organization Chart Diagram -->
+ <!-- Organization Chart Diagram -->
<value>orgchart</value>
-<!-- Radial Diagram -->
+ <!-- Radial Diagram -->
<value>radial</value>
-<!-- Cycle Diagram -->
+ <!-- Cycle Diagram -->
<value>cycle</value>
-<!-- Pyramid Diagram -->
+ <!-- Pyramid Diagram -->
<value>stacked</value>
-<!-- Venn Diagram -->
+ <!-- Venn Diagram -->
<value>venn</value>
-<!-- Bullseye Diagram -->
+ <!-- Bullseye Diagram -->
<value>bullseye</value>
</choice>
</list>
@@ -10082,11 +10168,11 @@
<start name="column"/>
<start name="clippath"/>
<start name="fill"/>
- <grammar xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns:v="urn:schemas-microsoft-com:vml" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" ns="urn:schemas-microsoft-com:office:office" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
-<!-- ISO RELAX NG Schema -->
+ <grammar xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns:v="urn:schemas-microsoft-com:vml" xmlns="http://relaxng.org/ns/structure/1.0" ns="urn:schemas-microsoft-com:office:office" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <!-- ISO RELAX NG Schema -->
<include href="vml-main.rng"/>
-<!-- External schema: http://schemas.openxmlformats.org/officeDocument/2006/relationships -->
-<!-- start = shapedefaults | shapelayout | signatureline | ink | diagram | skew | extrusion | callout | lock | OLEObject | complex | left | top | right | bottom | column | clippath | fill -->
+ <!-- External schema: http://schemas.openxmlformats.org/officeDocument/2006/relationships -->
+ <!-- start = shapedefaults | shapelayout | signatureline | ink | diagram | skew | extrusion | callout | lock | OLEObject | complex | left | top | right | bottom | column | clippath | fill -->
<define name="bwmode">
<attribute name="bwmode"/>
</define>
@@ -11497,13 +11583,13 @@
<list>
<xs:documentation>Rule Type</xs:documentation>
<choice>
-<!-- Arc Rule -->
+ <!-- Arc Rule -->
<value>arc</value>
-<!-- Callout Rule -->
+ <!-- Callout Rule -->
<value>callout</value>
-<!-- Connector Rule -->
+ <!-- Connector Rule -->
<value>connector</value>
-<!-- Alignment Rule -->
+ <!-- Alignment Rule -->
<value>align</value>
</choice>
</list>
@@ -11512,17 +11598,17 @@
<list>
<xs:documentation>Alignment Type</xs:documentation>
<choice>
-<!-- Top Alignment -->
+ <!-- Top Alignment -->
<value>top</value>
-<!-- Middle Alignment -->
+ <!-- Middle Alignment -->
<value>middle</value>
-<!-- Bottom Alignment -->
+ <!-- Bottom Alignment -->
<value>bottom</value>
-<!-- Left Alignment -->
+ <!-- Left Alignment -->
<value>left</value>
-<!-- Center Alignment -->
+ <!-- Center Alignment -->
<value>center</value>
-<!-- Right Alignment -->
+ <!-- Right Alignment -->
<value>right</value>
</choice>
</list>
@@ -11531,29 +11617,29 @@
<list>
<xs:documentation>Black And White Modes</xs:documentation>
<choice>
-<!-- Color -->
+ <!-- Color -->
<value>color</value>
-<!-- Automatic -->
+ <!-- Automatic -->
<value>auto</value>
-<!-- Grayscale -->
+ <!-- Grayscale -->
<value>grayScale</value>
-<!-- Light grayscale -->
+ <!-- Light grayscale -->
<value>lightGrayscale</value>
-<!-- Inverse Grayscale -->
+ <!-- Inverse Grayscale -->
<value>inverseGray</value>
-<!-- Gray Outlines -->
+ <!-- Gray Outlines -->
<value>grayOutline</value>
-<!-- Black And White -->
+ <!-- Black And White -->
<value>highContrast</value>
-<!-- Black -->
+ <!-- Black -->
<value>black</value>
-<!-- White -->
+ <!-- White -->
<value>white</value>
-<!-- Hide Object When Displayed in Black and White -->
+ <!-- Hide Object When Displayed in Black and White -->
<value>hide</value>
-<!-- Do Not Show -->
+ <!-- Do Not Show -->
<value>undrawn</value>
-<!-- Black Text And Lines -->
+ <!-- Black Text And Lines -->
<value>blackTextAndLines</value>
</choice>
</list>
@@ -11562,17 +11648,17 @@
<list>
<xs:documentation>Screen Sizes Type</xs:documentation>
<choice>
-<!-- 544x376 pixels -->
+ <!-- 544x376 pixels -->
<value>544,376</value>
-<!-- 640x480 pixels -->
+ <!-- 640x480 pixels -->
<value>640,480</value>
-<!-- 720x512 pixels -->
+ <!-- 720x512 pixels -->
<value>720,512</value>
-<!-- 800x600 pixels -->
+ <!-- 800x600 pixels -->
<value>800,600</value>
-<!-- 1024x768 pixels -->
+ <!-- 1024x768 pixels -->
<value>1024,768</value>
-<!-- 1152x862 pixels -->
+ <!-- 1152x862 pixels -->
<value>1152,862</value>
</choice>
</list>
@@ -11581,9 +11667,9 @@
<list>
<xs:documentation>Inset Margin Type</xs:documentation>
<choice>
-<!-- Automatic Margins -->
+ <!-- Automatic Margins -->
<value>auto</value>
-<!-- Custom Margins -->
+ <!-- Custom Margins -->
<value>custom</value>
</choice>
</list>
@@ -11592,9 +11678,9 @@
<list>
<xs:documentation>Extrusion Color Types</xs:documentation>
<choice>
-<!-- Use Shape Fill Color -->
+ <!-- Use Shape Fill Color -->
<value>auto</value>
-<!-- Use Custom Color -->
+ <!-- Use Custom Color -->
<value>custom</value>
</choice>
</list>
@@ -11608,9 +11694,9 @@
<list>
<xs:documentation>Extrusion Type</xs:documentation>
<choice>
-<!-- Perspective Projection -->
+ <!-- Perspective Projection -->
<value>perspective</value>
-<!-- Parallel Projection -->
+ <!-- Parallel Projection -->
<value>parallel</value>
</choice>
</list>
@@ -11619,11 +11705,11 @@
<list>
<xs:documentation>Extrusion Rendering Types</xs:documentation>
<choice>
-<!-- Solid -->
+ <!-- Solid -->
<value>solid</value>
-<!-- Wireframe -->
+ <!-- Wireframe -->
<value>wireFrame</value>
-<!-- Bounding Cube -->
+ <!-- Bounding Cube -->
<value>boundingCube</value>
</choice>
</list>
@@ -11632,11 +11718,11 @@
<list>
<xs:documentation>Extrusion Planes</xs:documentation>
<choice>
-<!-- XY Plane -->
+ <!-- XY Plane -->
<value>XY</value>
-<!-- ZX Plane -->
+ <!-- ZX Plane -->
<value>ZX</value>
-<!-- YZ Plane -->
+ <!-- YZ Plane -->
<value>YZ</value>
</choice>
</list>
@@ -11645,17 +11731,17 @@
<list>
<xs:documentation>Callout Angles</xs:documentation>
<choice>
-<!-- Any Angle -->
+ <!-- Any Angle -->
<value>any</value>
-<!-- 30 degrees -->
+ <!-- 30 degrees -->
<value>30</value>
-<!-- 45 degrees -->
+ <!-- 45 degrees -->
<value>45</value>
-<!-- 60 degrees -->
+ <!-- 60 degrees -->
<value>60</value>
-<!-- 90 degrees -->
+ <!-- 90 degrees -->
<value>90</value>
-<!-- Automatic Angle -->
+ <!-- Automatic Angle -->
<value>auto</value>
</choice>
</list>
@@ -11669,13 +11755,13 @@
<list>
<xs:documentation>Callout Placement</xs:documentation>
<choice>
-<!-- Top placement -->
+ <!-- Top placement -->
<value>top</value>
-<!-- Center placement -->
+ <!-- Center placement -->
<value>center</value>
-<!-- Bottom placement -->
+ <!-- Bottom placement -->
<value>bottom</value>
-<!-- User-defined placement -->
+ <!-- User-defined placement -->
<value>user</value>
</choice>
</list>
@@ -11684,13 +11770,13 @@
<list>
<xs:documentation>Connector Type</xs:documentation>
<choice>
-<!-- No Connector -->
+ <!-- No Connector -->
<value>none</value>
-<!-- Straight Connector -->
+ <!-- Straight Connector -->
<value>straight</value>
-<!-- Elbow Connector -->
+ <!-- Elbow Connector -->
<value>elbow</value>
-<!-- Curved Connector -->
+ <!-- Curved Connector -->
<value>curved</value>
</choice>
</list>
@@ -11699,11 +11785,11 @@
<list>
<xs:documentation>Alignment Type</xs:documentation>
<choice>
-<!-- Left Alignment -->
+ <!-- Left Alignment -->
<value>left</value>
-<!-- Right Alignment -->
+ <!-- Right Alignment -->
<value>right</value>
-<!-- Center Alignment -->
+ <!-- Center Alignment -->
<value>center</value>
</choice>
</list>
@@ -11712,13 +11798,13 @@
<list>
<xs:documentation>Connection Locations Type</xs:documentation>
<choice>
-<!-- No -->
+ <!-- No -->
<value>none</value>
-<!-- Four Connections -->
+ <!-- Four Connections -->
<value>rect</value>
-<!-- Edit Point Connections -->
+ <!-- Edit Point Connections -->
<value>segments</value>
-<!-- Custom Connections -->
+ <!-- Custom Connections -->
<value>custom</value>
</choice>
</list>
@@ -11727,11 +11813,11 @@
<list>
<xs:documentation>Embedded Object Alternate Image Request Types</xs:documentation>
<choice>
-<!-- Other Image -->
+ <!-- Other Image -->
<value>Picture</value>
-<!-- Bitmap Image -->
+ <!-- Bitmap Image -->
<value>Bitmap</value>
-<!-- Enhanced Metafile Image -->
+ <!-- Enhanced Metafile Image -->
<value>EnhancedMetaFile</value>
</choice>
</list>
@@ -11740,9 +11826,9 @@
<list>
<xs:documentation>OLE Connection Type</xs:documentation>
<choice>
-<!-- Embedded Object -->
+ <!-- Embedded Object -->
<value>Embed</value>
-<!-- Linked Object -->
+ <!-- Linked Object -->
<value>Link</value>
</choice>
</list>
@@ -11751,9 +11837,9 @@
<list>
<xs:documentation>OLE Object Representations</xs:documentation>
<choice>
-<!-- Snapshot -->
+ <!-- Snapshot -->
<value>Content</value>
-<!-- Icon -->
+ <!-- Icon -->
<value>Icon</value>
</choice>
</list>
@@ -11762,9 +11848,9 @@
<list>
<xs:documentation>OLE Update Method Type</xs:documentation>
<choice>
-<!-- Server Application Update -->
+ <!-- Server Application Update -->
<value>Always</value>
-<!-- User Update -->
+ <!-- User Update -->
<value>OnCall</value>
</choice>
</list>
@@ -11784,13 +11870,13 @@
<list>
<xs:documentation>Boolean Value</xs:documentation>
<choice>
-<!-- True -->
+ <!-- True -->
<value>t</value>
-<!-- False -->
+ <!-- False -->
<value>f</value>
-<!-- True -->
+ <!-- True -->
<value>true</value>
-<!-- False -->
+ <!-- False -->
<value>false</value>
</choice>
</list>
@@ -11799,15 +11885,15 @@
<list>
<xs:documentation>Boolean Value with Blank [False] State</xs:documentation>
<choice>
-<!-- Blank – Logical False -->
+ <!-- Blank – Logical False -->
<value/>
-<!-- Logical True -->
+ <!-- Logical True -->
<value>t</value>
-<!-- Logical False -->
+ <!-- Logical False -->
<value>f</value>
-<!-- Logical True -->
+ <!-- Logical True -->
<value>true</value>
-<!-- Logical False -->
+ <!-- Logical False -->
<value>false</value>
</choice>
</list>
@@ -11816,23 +11902,23 @@
<list>
<xs:documentation>Shape Fill Type</xs:documentation>
<choice>
-<!-- Centered Radial Gradient -->
+ <!-- Centered Radial Gradient -->
<value>gradientCenter</value>
-<!-- Solid Fill -->
+ <!-- Solid Fill -->
<value>solid</value>
-<!-- Image Pattern -->
+ <!-- Image Pattern -->
<value>pattern</value>
-<!-- Tiled Image -->
+ <!-- Tiled Image -->
<value>tile</value>
-<!-- Stretch Image to Fit -->
+ <!-- Stretch Image to Fit -->
<value>frame</value>
-<!-- Unscaled Gradient -->
+ <!-- Unscaled Gradient -->
<value>gradientUnscaled</value>
-<!-- Radial Gradient -->
+ <!-- Radial Gradient -->
<value>gradientRadial</value>
-<!-- Linear Gradient -->
+ <!-- Linear Gradient -->
<value>gradient</value>
-<!-- Use Background Fill -->
+ <!-- Use Background Fill -->
<value>background</value>
</choice>
</list>
@@ -12010,9 +12096,9 @@
<start name="borderbottom"/>
<start name="wrap"/>
<start name="anchorlock"/>
- <grammar xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" ns="urn:schemas-microsoft-com:office:word" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
-<!-- ISO RELAX NG Schema -->
-<!-- start = bordertop | borderleft | borderright | borderbottom | wrap | anchorlock -->
+ <grammar xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="urn:schemas-microsoft-com:office:word" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <!-- ISO RELAX NG Schema -->
+ <!-- start = bordertop | borderleft | borderright | borderbottom | wrap | anchorlock -->
<define name="bordertop">
<element name="bordertop">
<ref name="CT_Border"/>
@@ -12098,59 +12184,59 @@
<list>
<xs:documentation>Border Type</xs:documentation>
<choice>
-<!-- No Border -->
+ <!-- No Border -->
<value>none</value>
-<!-- Single Line Border -->
+ <!-- Single Line Border -->
<value>single</value>
-<!-- Thick Line Border -->
+ <!-- Thick Line Border -->
<value>thick</value>
-<!-- Double Line Border -->
+ <!-- Double Line Border -->
<value>double</value>
-<!-- Hairline Border -->
+ <!-- Hairline Border -->
<value>hairline</value>
-<!-- Dotted Border -->
+ <!-- Dotted Border -->
<value>dot</value>
-<!-- pecifies a line border consisting of a dashed line around the parent object. -->
+ <!-- pecifies a line border consisting of a dashed line around the parent object. -->
<value>dash</value>
-<!-- Dot Dash Border -->
+ <!-- Dot Dash Border -->
<value>dotDash</value>
-<!-- Dash Dot Dot Border -->
+ <!-- Dash Dot Dot Border -->
<value>dashDotDot</value>
-<!-- Triple Line Border -->
+ <!-- Triple Line Border -->
<value>triple</value>
-<!-- Thin Thick Small Gap Border -->
+ <!-- Thin Thick Small Gap Border -->
<value>thinThickSmall</value>
-<!-- Small thick-thin lines border -->
+ <!-- Small thick-thin lines border -->
<value>thickThinSmall</value>
-<!-- Small thin-thick-thin Lines Border -->
+ <!-- Small thin-thick-thin Lines Border -->
<value>thickBetweenThinSmall</value>
-<!-- Thin Thick Line Border -->
+ <!-- Thin Thick Line Border -->
<value>thinThick</value>
-<!-- Thick Thin Line Border -->
+ <!-- Thick Thin Line Border -->
<value>thickThin</value>
-<!-- Thin-thick-thin Border -->
+ <!-- Thin-thick-thin Border -->
<value>thickBetweenThin</value>
-<!-- Thin Thick Large Gap Border -->
+ <!-- Thin Thick Large Gap Border -->
<value>thinThickLarge</value>
-<!-- Thick Thin Large Gap Border -->
+ <!-- Thick Thin Large Gap Border -->
<value>thickThinLarge</value>
-<!-- Large thin-thick-thin Border -->
+ <!-- Large thin-thick-thin Border -->
<value>thickBetweenThinLarge</value>
-<!-- Wavy Border -->
+ <!-- Wavy Border -->
<value>wave</value>
-<!-- Double Wavy Lines Border -->
+ <!-- Double Wavy Lines Border -->
<value>doubleWave</value>
-<!-- Small Dash Border -->
+ <!-- Small Dash Border -->
<value>dashedSmall</value>
-<!-- Stroked Dash Dot Border -->
+ <!-- Stroked Dash Dot Border -->
<value>dashDotStroked</value>
-<!-- 3D Embossed Border -->
+ <!-- 3D Embossed Border -->
<value>threeDEmboss</value>
-<!-- 3D Engraved Border -->
+ <!-- 3D Engraved Border -->
<value>threeDEngrave</value>
-<!-- Outset Border -->
+ <!-- Outset Border -->
<value>HTMLOutset</value>
-<!-- Inset Border -->
+ <!-- Inset Border -->
<value>HTMLInset</value>
</choice>
</list>
@@ -12159,13 +12245,13 @@
<list>
<xs:documentation>Border Shadow Type</xs:documentation>
<choice>
-<!-- True -->
+ <!-- True -->
<value>t</value>
-<!-- True -->
+ <!-- True -->
<value>true</value>
-<!-- False -->
+ <!-- False -->
<value>f</value>
-<!-- False -->
+ <!-- False -->
<value>false</value>
</choice>
</list>
@@ -12174,15 +12260,15 @@
<list>
<xs:documentation>Text Wrapping Type</xs:documentation>
<choice>
-<!-- Top and bottom wrapping -->
+ <!-- Top and bottom wrapping -->
<value>topAndBottom</value>
-<!-- Square wrapping -->
+ <!-- Square wrapping -->
<value>square</value>
-<!-- No wrapping -->
+ <!-- No wrapping -->
<value>none</value>
-<!-- Tight wrapping -->
+ <!-- Tight wrapping -->
<value>tight</value>
-<!-- Through wrapping -->
+ <!-- Through wrapping -->
<value>through</value>
</choice>
</list>
@@ -12191,13 +12277,13 @@
<list>
<xs:documentation>Text Wrapping Side</xs:documentation>
<choice>
-<!-- Both sides -->
+ <!-- Both sides -->
<value>both</value>
-<!-- Left side -->
+ <!-- Left side -->
<value>left</value>
-<!-- Right side -->
+ <!-- Right side -->
<value>right</value>
-<!-- Largest side -->
+ <!-- Largest side -->
<value>largest</value>
</choice>
</list>
@@ -12206,13 +12292,13 @@
<list>
<xs:documentation>Horizontal Anchor Type</xs:documentation>
<choice>
-<!-- Margin -->
+ <!-- Margin -->
<value>margin</value>
-<!-- Page -->
+ <!-- Page -->
<value>page</value>
-<!-- Text -->
+ <!-- Text -->
<value>text</value>
-<!-- Character -->
+ <!-- Character -->
<value>char</value>
</choice>
</list>
@@ -12221,13 +12307,13 @@
<list>
<xs:documentation>Vertical Anchor Type</xs:documentation>
<choice>
-<!-- Margin -->
+ <!-- Margin -->
<value>margin</value>
-<!-- Page -->
+ <!-- Page -->
<value>page</value>
-<!-- Text -->
+ <!-- Text -->
<value>text</value>
-<!-- Line -->
+ <!-- Line -->
<value>line</value>
</choice>
</list>
@@ -12319,12 +12405,12 @@
<start name="document"/>
<start name="glossaryDocument"/>
<grammar xmlns:sl="http://schemas.openxmlformats.org/schemaLibrary/2006/main" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:rel="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2006/xpath-functions" xmlns="http://relaxng.org/ns/structure/1.0" ns="http://schemas.openxmlformats.org/wordprocessingml/2006/main" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" attributeFormDefault="qualified">
-<!-- ISO RELAX NG Schema -->
+ <!-- ISO RELAX NG Schema -->
<include href="shared-customXmlSchemaProperties.rng"/>
<include href="shared-math.rng"/>
<include href="dml-wordprocessingDrawing.rng"/>
<include href="shared-relationshipReference.rng"/>
-<!-- start = recipients | txbxContent | comments | footnotes | endnotes | hdr | ftr | settings | webSettings | fonts | numbering | styles | document | glossaryDocument -->
+ <!-- start = recipients | txbxContent | comments | footnotes | endnotes | hdr | ftr | settings | webSettings | fonts | numbering | styles | document | glossaryDocument -->
<define name="CT_Empty">
<empty/>
</define>
@@ -12332,17 +12418,17 @@
<list>
<xs:documentation>On/Off Value</xs:documentation>
<choice>
-<!-- True -->
+ <!-- True -->
<value>true</value>
-<!-- False -->
+ <!-- False -->
<value>false</value>
-<!-- True -->
+ <!-- True -->
<value>on</value>
-<!-- False -->
+ <!-- False -->
<value>off</value>
-<!-- False -->
+ <!-- False -->
<value>0</value>
-<!-- True -->
+ <!-- True -->
<value>1</value>
</choice>
</list>
@@ -12515,39 +12601,39 @@
<list>
<xs:documentation>Text Highlight Colors</xs:documentation>
<choice>
-<!-- Black Highlighting Color -->
+ <!-- Black Highlighting Color -->
<value>black</value>
-<!-- Blue Highlighting Color -->
+ <!-- Blue Highlighting Color -->
<value>blue</value>
-<!-- Cyan Highlighting Color -->
+ <!-- Cyan Highlighting Color -->
<value>cyan</value>
-<!-- Green Highlighting Color -->
+ <!-- Green Highlighting Color -->
<value>green</value>
-<!-- Magenta Highlighting Color -->
+ <!-- Magenta Highlighting Color -->
<value>magenta</value>
-<!-- Red Highlighting Color -->
+ <!-- Red Highlighting Color -->
<value>red</value>
-<!-- Yellow Highlighting Color -->
+ <!-- Yellow Highlighting Color -->
<value>yellow</value>
-<!-- White Highlighting Color -->
+ <!-- White Highlighting Color -->
<value>white</value>
-<!-- Dark Blue Highlighting Color -->
+ <!-- Dark Blue Highlighting Color -->
<value>darkBlue</value>
-<!-- Dark Cyan Highlighting Color -->
+ <!-- Dark Cyan Highlighting Color -->
<value>darkCyan</value>
-<!-- Dark Green Highlighting Color -->
+ <!-- Dark Green Highlighting Color -->
<value>darkGreen</value>
-<!-- Dark Magenta Highlighting Color -->
+ <!-- Dark Magenta Highlighting Color -->
<value>darkMagenta</value>
-<!-- Dark Red Highlighting Color -->
+ <!-- Dark Red Highlighting Color -->
<value>darkRed</value>
-<!-- Dark Yellow Highlighting Color -->
+ <!-- Dark Yellow Highlighting Color -->
<value>darkYellow</value>
-<!-- Dark Gray Highlighting Color -->
+ <!-- Dark Gray Highlighting Color -->
<value>darkGray</value>
-<!-- Light Gray Highlighting Color -->
+ <!-- Light Gray Highlighting Color -->
<value>lightGray</value>
-<!-- No Text Highlighting -->
+ <!-- No Text Highlighting -->
<value>none</value>
</choice>
</list>
@@ -12560,8 +12646,8 @@
</define>
<define name="ST_HexColorAuto">
<list>
- <xs:documentation>&#x2018;Automatic&#x2019; Color Value</xs:documentation>
-<!-- Automatically Determined Color -->
+ <xs:documentation>‘Automatic’ Color Value</xs:documentation>
+ <!-- Automatically Determined Color -->
<value>auto</value>
</list>
</define>
@@ -12577,7 +12663,7 @@
<ref name="ST_HexColorRGB"/>
</choice>
</define>
-<!-- Union -->
+ <!-- Union -->
<define name="CT_Color">
<attribute name="val">
<ref name="ST_HexColor"/>
@@ -12614,7 +12700,7 @@
<ref name="ST_String"/>
</choice>
</define>
-<!-- Union -->
+ <!-- Union -->
<define name="CT_Lang">
<attribute name="val">
<ref name="ST_Lang"/>
@@ -12637,41 +12723,41 @@
<list>
<xs:documentation>Underline Patterns</xs:documentation>
<choice>
-<!-- Single Underline -->
+ <!-- Single Underline -->
<value>single</value>
-<!-- Underline Non-Space Characters Only -->
+ <!-- Underline Non-Space Characters Only -->
<value>words</value>
-<!-- Double Underline -->
+ <!-- Double Underline -->
<value>double</value>
-<!-- Thick Underline -->
+ <!-- Thick Underline -->
<value>thick</value>
-<!-- Dotted Underline -->
+ <!-- Dotted Underline -->
<value>dotted</value>
-<!-- Thick Dotted Underline -->
+ <!-- Thick Dotted Underline -->
<value>dottedHeavy</value>
-<!-- Dashed Underline -->
+ <!-- Dashed Underline -->
<value>dash</value>
-<!-- Thick Dashed Underline -->
+ <!-- Thick Dashed Underline -->
<value>dashedHeavy</value>
-<!-- Long Dashed Underline -->
+ <!-- Long Dashed Underline -->
<value>dashLong</value>
-<!-- Thick Long Dashed Underline -->
+ <!-- Thick Long Dashed Underline -->
<value>dashLongHeavy</value>
-<!-- Dash-Dot Underline -->
+ <!-- Dash-Dot Underline -->
<value>dotDash</value>
-<!-- Thick Dash-Dot Underline -->
+ <!-- Thick Dash-Dot Underline -->
<value>dashDotHeavy</value>
-<!-- Dash-Dot-Dot Underline -->
+ <!-- Dash-Dot-Dot Underline -->
<value>dotDotDash</value>
-<!-- Thick Dash-Dot-Dot Underline -->
+ <!-- Thick Dash-Dot-Dot Underline -->
<value>dashDotDotHeavy</value>
-<!-- Wave Underline -->
+ <!-- Wave Underline -->
<value>wave</value>
-<!-- Heavy Wave Underline -->
+ <!-- Heavy Wave Underline -->
<value>wavyHeavy</value>
-<!-- Double Wave Underline -->
+ <!-- Double Wave Underline -->
<value>wavyDouble</value>
-<!-- No Underline -->
+ <!-- No Underline -->
<value>none</value>
</choice>
</list>
@@ -12708,19 +12794,19 @@
<list>
<xs:documentation>Animated Text Effects</xs:documentation>
<choice>
-<!-- Blinking Background Animation -->
+ <!-- Blinking Background Animation -->
<value>blinkBackground</value>
-<!-- Colored Lights Animation -->
+ <!-- Colored Lights Animation -->
<value>lights</value>
-<!-- Black Dashed Line Animation -->
+ <!-- Black Dashed Line Animation -->
<value>antsBlack</value>
-<!-- Marching Red Ants -->
+ <!-- Marching Red Ants -->
<value>antsRed</value>
-<!-- Shimmer Animation -->
+ <!-- Shimmer Animation -->
<value>shimmer</value>
-<!-- Sparkling Lights Animation -->
+ <!-- Sparkling Lights Animation -->
<value>sparkle</value>
-<!-- No Animation -->
+ <!-- No Animation -->
<value>none</value>
</choice>
</list>
@@ -12735,387 +12821,387 @@
<list>
<xs:documentation>Border Styles</xs:documentation>
<choice>
-<!-- No Border -->
+ <!-- No Border -->
<value>nil</value>
-<!-- No Border -->
+ <!-- No Border -->
<value>none</value>
-<!-- Single Line Border -->
+ <!-- Single Line Border -->
<value>single</value>
-<!-- Single Line Border -->
+ <!-- Single Line Border -->
<value>thick</value>
-<!-- Double Line Border -->
+ <!-- Double Line Border -->
<value>double</value>
-<!-- Dotted Line Border -->
+ <!-- Dotted Line Border -->
<value>dotted</value>
-<!-- Dashed Line Border -->
+ <!-- Dashed Line Border -->
<value>dashed</value>
-<!-- Dot Dash Line Border -->
+ <!-- Dot Dash Line Border -->
<value>dotDash</value>
-<!-- Dot Dot Dash Line Border -->
+ <!-- Dot Dot Dash Line Border -->
<value>dotDotDash</value>
-<!-- Triple Line Border -->
+ <!-- Triple Line Border -->
<value>triple</value>
-<!-- Thin, Thick Line Border -->
+ <!-- Thin, Thick Line Border -->
<value>thinThickSmallGap</value>
-<!-- Thick, Thin Line Border -->
+ <!-- Thick, Thin Line Border -->
<value>thickThinSmallGap</value>
-<!-- Thin, Thick, Thin Line Border -->
+ <!-- Thin, Thick, Thin Line Border -->
<value>thinThickThinSmallGap</value>
-<!-- Thin, Thick Line Border -->
+ <!-- Thin, Thick Line Border -->
<value>thinThickMediumGap</value>
-<!-- Thick, Thin Line Border -->
+ <!-- Thick, Thin Line Border -->
<value>thickThinMediumGap</value>
-<!-- Thin, Thick, Thin Line Border -->
+ <!-- Thin, Thick, Thin Line Border -->
<value>thinThickThinMediumGap</value>
-<!-- Thin, Thick Line Border -->
+ <!-- Thin, Thick Line Border -->
<value>thinThickLargeGap</value>
-<!-- Thick, Thin Line Border -->
+ <!-- Thick, Thin Line Border -->
<value>thickThinLargeGap</value>
-<!-- Thin, Thick, Thin Line Border -->
+ <!-- Thin, Thick, Thin Line Border -->
<value>thinThickThinLargeGap</value>
-<!-- Wavy Line Border -->
+ <!-- Wavy Line Border -->
<value>wave</value>
-<!-- Double Wave Line Border -->
+ <!-- Double Wave Line Border -->
<value>doubleWave</value>
-<!-- Dashed Line Border -->
+ <!-- Dashed Line Border -->
<value>dashSmallGap</value>
-<!-- Dash Dot Strokes Line Border -->
+ <!-- Dash Dot Strokes Line Border -->
<value>dashDotStroked</value>
-<!-- 3D Embossed Line Border -->
+ <!-- 3D Embossed Line Border -->
<value>threeDEmboss</value>
-<!-- 3D Engraved Line Border -->
+ <!-- 3D Engraved Line Border -->
<value>threeDEngrave</value>
-<!-- Outset Line Border -->
+ <!-- Outset Line Border -->
<value>outset</value>
-<!-- Inset Line Border -->
+ <!-- Inset Line Border -->
<value>inset</value>
-<!-- Apples Art Border -->
+ <!-- Apples Art Border -->
<value>apples</value>
-<!-- Arched Scallops Art Border -->
+ <!-- Arched Scallops Art Border -->
<value>archedScallops</value>
-<!-- Baby Pacifier Art Border -->
+ <!-- Baby Pacifier Art Border -->
<value>babyPacifier</value>
-<!-- Baby Rattle Art Border -->
+ <!-- Baby Rattle Art Border -->
<value>babyRattle</value>
-<!-- Three Color Balloons Art Border -->
+ <!-- Three Color Balloons Art Border -->
<value>balloons3Colors</value>
-<!-- Hot Air Balloons Art Border -->
+ <!-- Hot Air Balloons Art Border -->
<value>balloonsHotAir</value>
-<!-- Black Dash Art Border -->
+ <!-- Black Dash Art Border -->
<value>basicBlackDashes</value>
-<!-- Black Dot Art Border -->
+ <!-- Black Dot Art Border -->
<value>basicBlackDots</value>
-<!-- Black Square Art Border -->
+ <!-- Black Square Art Border -->
<value>basicBlackSquares</value>
-<!-- Thin Line Art Border -->
+ <!-- Thin Line Art Border -->
<value>basicThinLines</value>
-<!-- White Dash Art Border -->
+ <!-- White Dash Art Border -->
<value>basicWhiteDashes</value>
-<!-- White Dot Art Border -->
+ <!-- White Dot Art Border -->
<value>basicWhiteDots</value>
-<!-- White Square Art Border -->
+ <!-- White Square Art Border -->
<value>basicWhiteSquares</value>
-<!-- Wide Inline Art Border -->
+ <!-- Wide Inline Art Border -->
<value>basicWideInline</value>
-<!-- Wide Midline Art Border -->
+ <!-- Wide Midline Art Border -->
<value>basicWideMidline</value>
-<!-- Wide Outline Art Border -->
+ <!-- Wide Outline Art Border -->
<value>basicWideOutline</value>
-<!-- Bats Art Border -->
+ <!-- Bats Art Border -->
<value>bats</value>
-<!-- Birds Art Border -->
+ <!-- Birds Art Border -->
<value>birds</value>
-<!-- Birds Flying Art Border -->
+ <!-- Birds Flying Art Border -->
<value>birdsFlight</value>
-<!-- Cabin Art Border -->
+ <!-- Cabin Art Border -->
<value>cabins</value>
-<!-- Cake Art Border -->
+ <!-- Cake Art Border -->
<value>cakeSlice</value>
-<!-- Candy Corn Art Border -->
+ <!-- Candy Corn Art Border -->
<value>candyCorn</value>
-<!-- Knot Work Art Border -->
+ <!-- Knot Work Art Border -->
<value>celticKnotwork</value>
-<!-- Certificate Banner Art Border -->
+ <!-- Certificate Banner Art Border -->
<value>certificateBanner</value>
-<!-- Chain Link Art Border -->
+ <!-- Chain Link Art Border -->
<value>chainLink</value>
-<!-- Champagne Bottle Art Border -->
+ <!-- Champagne Bottle Art Border -->
<value>champagneBottle</value>
-<!-- Black and White Bar Art Border -->
+ <!-- Black and White Bar Art Border -->
<value>checkedBarBlack</value>
-<!-- Color Checked Bar Art Border -->
+ <!-- Color Checked Bar Art Border -->
<value>checkedBarColor</value>
-<!-- Checkerboard Art Border -->
+ <!-- Checkerboard Art Border -->
<value>checkered</value>
-<!-- Christmas Tree Art Border -->
+ <!-- Christmas Tree Art Border -->
<value>christmasTree</value>
-<!-- Circles And Lines Art Border -->
+ <!-- Circles And Lines Art Border -->
<value>circlesLines</value>
-<!-- Circles and Rectangles Art Border -->
+ <!-- Circles and Rectangles Art Border -->
<value>circlesRectangles</value>
-<!-- Wave Art Border -->
+ <!-- Wave Art Border -->
<value>classicalWave</value>
-<!-- Clocks Art Border -->
+ <!-- Clocks Art Border -->
<value>clocks</value>
-<!-- Compass Art Border -->
+ <!-- Compass Art Border -->
<value>compass</value>
-<!-- Confetti Art Border -->
+ <!-- Confetti Art Border -->
<value>confetti</value>
-<!-- Confetti Art Border -->
+ <!-- Confetti Art Border -->
<value>confettiGrays</value>
-<!-- Confetti Art Border -->
+ <!-- Confetti Art Border -->
<value>confettiOutline</value>
-<!-- Confetti Streamers Art Border -->
+ <!-- Confetti Streamers Art Border -->
<value>confettiStreamers</value>
-<!-- Confetti Art Border -->
+ <!-- Confetti Art Border -->
<value>confettiWhite</value>
-<!-- Corner Triangle Art Border -->
+ <!-- Corner Triangle Art Border -->
<value>cornerTriangles</value>
-<!-- Dashed Line Art Border -->
+ <!-- Dashed Line Art Border -->
<value>couponCutoutDashes</value>
-<!-- Dotted Line Art Border -->
+ <!-- Dotted Line Art Border -->
<value>couponCutoutDots</value>
-<!-- Maze Art Border -->
+ <!-- Maze Art Border -->
<value>crazyMaze</value>
-<!-- Butterfly Art Border -->
+ <!-- Butterfly Art Border -->
<value>creaturesButterfly</value>
-<!-- Fish Art Border -->
+ <!-- Fish Art Border -->
<value>creaturesFish</value>
-<!-- Insects Art Border -->
+ <!-- Insects Art Border -->
<value>creaturesInsects</value>
-<!-- Ladybug Art Border -->
+ <!-- Ladybug Art Border -->
<value>creaturesLadyBug</value>
-<!-- Cross-stitch Art Border -->
+ <!-- Cross-stitch Art Border -->
<value>crossStitch</value>
-<!-- Cupid Art Border -->
+ <!-- Cupid Art Border -->
<value>cup</value>
-<!-- Archway Art Border -->
+ <!-- Archway Art Border -->
<value>decoArch</value>
-<!-- Color Archway Art Border -->
+ <!-- Color Archway Art Border -->
<value>decoArchColor</value>
-<!-- Blocks Art Border -->
+ <!-- Blocks Art Border -->
<value>decoBlocks</value>
-<!-- Gray Diamond Art Border -->
+ <!-- Gray Diamond Art Border -->
<value>diamondsGray</value>
-<!-- Double D Art Border -->
+ <!-- Double D Art Border -->
<value>doubleD</value>
-<!-- Diamond Art Border -->
+ <!-- Diamond Art Border -->
<value>doubleDiamonds</value>
-<!-- Earth Art Border -->
+ <!-- Earth Art Border -->
<value>earth1</value>
-<!-- Earth Art Border -->
+ <!-- Earth Art Border -->
<value>earth2</value>
-<!-- Shadowed Square Art Border -->
+ <!-- Shadowed Square Art Border -->
<value>eclipsingSquares1</value>
-<!-- Shadowed Square Art Border -->
+ <!-- Shadowed Square Art Border -->
<value>eclipsingSquares2</value>
-<!-- Painted Egg Art Border -->
+ <!-- Painted Egg Art Border -->
<value>eggsBlack</value>
-<!-- Fans Art Border -->
+ <!-- Fans Art Border -->
<value>fans</value>
-<!-- Film Reel Art Border -->
+ <!-- Film Reel Art Border -->
<value>film</value>
-<!-- Firecracker Art Border -->
+ <!-- Firecracker Art Border -->
<value>firecrackers</value>
-<!-- Flowers Art Border -->
+ <!-- Flowers Art Border -->
<value>flowersBlockPrint</value>
-<!-- Daisy Art Border -->
+ <!-- Daisy Art Border -->
<value>flowersDaisies</value>
-<!-- Flowers Art Border -->
+ <!-- Flowers Art Border -->
<value>flowersModern1</value>
-<!-- Flowers Art Border -->
+ <!-- Flowers Art Border -->
<value>flowersModern2</value>
-<!-- Pansy Art Border -->
+ <!-- Pansy Art Border -->
<value>flowersPansy</value>
-<!-- Red Rose Art Border -->
+ <!-- Red Rose Art Border -->
<value>flowersRedRose</value>
-<!-- Roses Art Border -->
+ <!-- Roses Art Border -->
<value>flowersRoses</value>
-<!-- Flowers in a Teacup Art Border -->
+ <!-- Flowers in a Teacup Art Border -->
<value>flowersTeacup</value>
-<!-- Small Flower Art Border -->
+ <!-- Small Flower Art Border -->
<value>flowersTiny</value>
-<!-- Gems Art Border -->
+ <!-- Gems Art Border -->
<value>gems</value>
-<!-- Gingerbread Man Art Border -->
+ <!-- Gingerbread Man Art Border -->
<value>gingerbreadMan</value>
-<!-- Triangle Gradient Art Border -->
+ <!-- Triangle Gradient Art Border -->
<value>gradient</value>
-<!-- Handmade Art Border -->
+ <!-- Handmade Art Border -->
<value>handmade1</value>
-<!-- Handmade Art Border -->
+ <!-- Handmade Art Border -->
<value>handmade2</value>
-<!-- Heart-Shaped Balloon Art Border -->
+ <!-- Heart-Shaped Balloon Art Border -->
<value>heartBalloon</value>
-<!-- Gray Heart Art Border -->
+ <!-- Gray Heart Art Border -->
<value>heartGray</value>
-<!-- Hearts Art Border -->
+ <!-- Hearts Art Border -->
<value>hearts</value>
-<!-- Pattern Art Border -->
+ <!-- Pattern Art Border -->
<value>heebieJeebies</value>
-<!-- Holly Art Border -->
+ <!-- Holly Art Border -->
<value>holly</value>
-<!-- House Art Border -->
+ <!-- House Art Border -->
<value>houseFunky</value>
-<!-- Circular Art Border -->
+ <!-- Circular Art Border -->
<value>hypnotic</value>
-<!-- Ice Cream Cone Art Border -->
+ <!-- Ice Cream Cone Art Border -->
<value>iceCreamCones</value>
-<!-- Light Bulb Art Border -->
+ <!-- Light Bulb Art Border -->
<value>lightBulb</value>
-<!-- Lightning Art Border -->
+ <!-- Lightning Art Border -->
<value>lightning1</value>
-<!-- Lightning Art Border -->
+ <!-- Lightning Art Border -->
<value>lightning2</value>
-<!-- Map Pins Art Border -->
+ <!-- Map Pins Art Border -->
<value>mapPins</value>
-<!-- Maple Leaf Art Border -->
+ <!-- Maple Leaf Art Border -->
<value>mapleLeaf</value>
-<!-- Muffin Art Border -->
+ <!-- Muffin Art Border -->
<value>mapleMuffins</value>
-<!-- Marquee Art Border -->
+ <!-- Marquee Art Border -->
<value>marquee</value>
-<!-- Marquee Art Border -->
+ <!-- Marquee Art Border -->
<value>marqueeToothed</value>
-<!-- Moon Art Border -->
+ <!-- Moon Art Border -->
<value>moons</value>
-<!-- Mosaic Art Border -->
+ <!-- Mosaic Art Border -->
<value>mosaic</value>
-<!-- Musical Note Art Border -->
+ <!-- Musical Note Art Border -->
<value>musicNotes</value>
-<!-- Patterned Art Border -->
+ <!-- Patterned Art Border -->
<value>northwest</value>
-<!-- Oval Art Border -->
+ <!-- Oval Art Border -->
<value>ovals</value>
-<!-- Package Art Border -->
+ <!-- Package Art Border -->
<value>packages</value>
-<!-- Black Palm Tree Art Border -->
+ <!-- Black Palm Tree Art Border -->
<value>palmsBlack</value>
-<!-- Color Palm Tree Art Border -->
+ <!-- Color Palm Tree Art Border -->
<value>palmsColor</value>
-<!-- Paper Clip Art Border -->
+ <!-- Paper Clip Art Border -->
<value>paperClips</value>
-<!-- Papyrus Art Border -->
+ <!-- Papyrus Art Border -->
<value>papyrus</value>
-<!-- Party Favor Art Border -->
+ <!-- Party Favor Art Border -->
<value>partyFavor</value>
-<!-- Party Glass Art Border -->
+ <!-- Party Glass Art Border -->
<value>partyGlass</value>
-<!-- Pencils Art Border -->
+ <!-- Pencils Art Border -->
<value>pencils</value>
-<!-- Character Art Border -->
+ <!-- Character Art Border -->
<value>people</value>
-<!-- Waving Character Border -->
+ <!-- Waving Character Border -->
<value>peopleWaving</value>
-<!-- Character With Hat Art Border -->
+ <!-- Character With Hat Art Border -->
<value>peopleHats</value>
-<!-- Poinsettia Art Border -->
+ <!-- Poinsettia Art Border -->
<value>poinsettias</value>
-<!-- Postage Stamp Art Border -->
+ <!-- Postage Stamp Art Border -->
<value>postageStamp</value>
-<!-- Pumpkin Art Border -->
+ <!-- Pumpkin Art Border -->
<value>pumpkin1</value>
-<!-- Push Pin Art Border -->
+ <!-- Push Pin Art Border -->
<value>pushPinNote2</value>
-<!-- Push Pin Art Border -->
+ <!-- Push Pin Art Border -->
<value>pushPinNote1</value>
-<!-- Pyramid Art Border -->
+ <!-- Pyramid Art Border -->
<value>pyramids</value>
-<!-- Pyramid Art Border -->
+ <!-- Pyramid Art Border -->
<value>pyramidsAbove</value>
-<!-- Quadrants Art Border -->
+ <!-- Quadrants Art Border -->
<value>quadrants</value>
-<!-- Rings Art Border -->
+ <!-- Rings Art Border -->
<value>rings</value>
-<!-- Safari Art Border -->
+ <!-- Safari Art Border -->
<value>safari</value>
-<!-- Saw tooth Art Border -->
+ <!-- Saw tooth Art Border -->
<value>sawtooth</value>
-<!-- Gray Saw tooth Art Border -->
+ <!-- Gray Saw tooth Art Border -->
<value>sawtoothGray</value>
-<!-- Scared Cat Art Border -->
+ <!-- Scared Cat Art Border -->
<value>scaredCat</value>
-<!-- Umbrella Art Border -->
+ <!-- Umbrella Art Border -->
<value>seattle</value>
-<!-- Shadowed Squares Art Border -->
+ <!-- Shadowed Squares Art Border -->
<value>shadowedSquares</value>
-<!-- Shark Tooth Art Border -->
+ <!-- Shark Tooth Art Border -->
<value>sharksTeeth</value>
-<!-- Bird Tracks Art Border -->
+ <!-- Bird Tracks Art Border -->
<value>shorebirdTracks</value>
-<!-- Rocket Art Border -->
+ <!-- Rocket Art Border -->
<value>skyrocket</value>
-<!-- Snowflake Art Border -->
+ <!-- Snowflake Art Border -->
<value>snowflakeFancy</value>
-<!-- Snowflake Art Border -->
+ <!-- Snowflake Art Border -->
<value>snowflakes</value>
-<!-- Sombrero Art Border -->
+ <!-- Sombrero Art Border -->
<value>sombrero</value>
-<!-- Southwest-themed Art Border -->
+ <!-- Southwest-themed Art Border -->
<value>southwest</value>
-<!-- Stars Art Border -->
+ <!-- Stars Art Border -->
<value>stars</value>
-<!-- Stars On Top Art Border -->
+ <!-- Stars On Top Art Border -->
<value>starsTop</value>
-<!-- 3-D Stars Art Border -->
+ <!-- 3-D Stars Art Border -->
<value>stars3d</value>
-<!-- Stars Art Border -->
+ <!-- Stars Art Border -->
<value>starsBlack</value>
-<!-- Stars With Shadows Art Border -->
+ <!-- Stars With Shadows Art Border -->
<value>starsShadowed</value>
-<!-- Sun Art Border -->
+ <!-- Sun Art Border -->
<value>sun</value>
-<!-- Whirligig Art Border -->
+ <!-- Whirligig Art Border -->
<value>swirligig</value>
-<!-- Torn Paper Art Border -->
+ <!-- Torn Paper Art Border -->
<value>tornPaper</value>
-<!-- Black Torn Paper Art Border -->
+ <!-- Black Torn Paper Art Border -->
<value>tornPaperBlack</value>
-<!-- Tree Art Border -->
+ <!-- Tree Art Border -->
<value>trees</value>
-<!-- Triangle Art Border -->
+ <!-- Triangle Art Border -->
<value>triangleParty</value>
-<!-- Triangles Art Border -->
+ <!-- Triangles Art Border -->
<value>triangles</value>
-<!-- Tribal Art Border One -->
+ <!-- Tribal Art Border One -->
<value>tribal1</value>
-<!-- Tribal Art Border Two -->
+ <!-- Tribal Art Border Two -->
<value>tribal2</value>
-<!-- Tribal Art Border Three -->
+ <!-- Tribal Art Border Three -->
<value>tribal3</value>
-<!-- Tribal Art Border Four -->
+ <!-- Tribal Art Border Four -->
<value>tribal4</value>
-<!-- Tribal Art Border Five -->
+ <!-- Tribal Art Border Five -->
<value>tribal5</value>
-<!-- Tribal Art Border Six -->
+ <!-- Tribal Art Border Six -->
<value>tribal6</value>
-<!-- Twisted Lines Art Border -->
+ <!-- Twisted Lines Art Border -->
<value>twistedLines1</value>
-<!-- Twisted Lines Art Border -->
+ <!-- Twisted Lines Art Border -->
<value>twistedLines2</value>
-<!-- Vine Art Border -->
+ <!-- Vine Art Border -->
<value>vine</value>
-<!-- Wavy Line Art Border -->
+ <!-- Wavy Line Art Border -->
<value>waveline</value>
-<!-- Weaving Angles Art Border -->
+ <!-- Weaving Angles Art Border -->
<value>weavingAngles</value>
-<!-- Weaving Braid Art Border -->
+ <!-- Weaving Braid Art Border -->
<value>weavingBraid</value>
-<!-- Weaving Ribbon Art Border -->
+ <!-- Weaving Ribbon Art Border -->
<value>weavingRibbon</value>
-<!-- Weaving Strips Art Border -->
+ <!-- Weaving Strips Art Border -->
<value>weavingStrips</value>
-<!-- White Flowers Art Border -->
+ <!-- White Flowers Art Border -->
<value>whiteFlowers</value>
-<!-- Woodwork Art Border -->
+ <!-- Woodwork Art Border -->
<value>woodwork</value>
-<!-- Crisscross Art Border -->
+ <!-- Crisscross Art Border -->
<value>xIllusions</value>
-<!-- Triangle Art Border -->
+ <!-- Triangle Art Border -->
<value>zanyTriangles</value>
-<!-- Zigzag Art Border -->
+ <!-- Zigzag Art Border -->
<value>zigZag</value>
-<!-- Zigzag stitch -->
+ <!-- Zigzag stitch -->
<value>zigZagStitch</value>
</choice>
</list>
@@ -13178,81 +13264,81 @@
<list>
<xs:documentation>Shading Patterns</xs:documentation>
<choice>
-<!-- No Pattern -->
+ <!-- No Pattern -->
<value>nil</value>
-<!-- No Pattern -->
+ <!-- No Pattern -->
<value>clear</value>
-<!-- 100% Fill Pattern -->
+ <!-- 100% Fill Pattern -->
<value>solid</value>
-<!-- Horizontal Stripe Pattern -->
+ <!-- Horizontal Stripe Pattern -->
<value>horzStripe</value>
-<!-- Vertical Stripe Pattern -->
+ <!-- Vertical Stripe Pattern -->
<value>vertStripe</value>
-<!-- Reverse Diagonal Stripe Pattern -->
+ <!-- Reverse Diagonal Stripe Pattern -->
<value>reverseDiagStripe</value>
-<!-- Diagonal Stripe Pattern -->
+ <!-- Diagonal Stripe Pattern -->
<value>diagStripe</value>
-<!-- Horizontal Cross Pattern -->
+ <!-- Horizontal Cross Pattern -->
<value>horzCross</value>
-<!-- Diagonal Cross Pattern -->
+ <!-- Diagonal Cross Pattern -->
<value>diagCross</value>
-<!-- Thin Horizontal Stripe Pattern -->
+ <!-- Thin Horizontal Stripe Pattern -->
<value>thinHorzStripe</value>
-<!-- Thin Vertical Stripe Pattern -->
+ <!-- Thin Vertical Stripe Pattern -->
<value>thinVertStripe</value>
-<!-- Thin Reverse Diagonal Stripe Pattern -->
+ <!-- Thin Reverse Diagonal Stripe Pattern -->
<value>thinReverseDiagStripe</value>
-<!-- Thin Diagonal Stripe Pattern -->
+ <!-- Thin Diagonal Stripe Pattern -->
<value>thinDiagStripe</value>
-<!-- Thin Horizontal Cross Pattern -->
+ <!-- Thin Horizontal Cross Pattern -->
<value>thinHorzCross</value>
-<!-- Thin Diagonal Cross Pattern -->
+ <!-- Thin Diagonal Cross Pattern -->
<value>thinDiagCross</value>
-<!-- 5% Fill Pattern -->
+ <!-- 5% Fill Pattern -->
<value>pct5</value>
-<!-- 10% Fill Pattern -->
+ <!-- 10% Fill Pattern -->
<value>pct10</value>
-<!-- 12.5% Fill Pattern -->
+ <!-- 12.5% Fill Pattern -->
<value>pct12</value>
-<!-- 15% Fill Pattern -->
+ <!-- 15% Fill Pattern -->
<value>pct15</value>
-<!-- 20% Fill Pattern -->
+ <!-- 20% Fill Pattern -->
<value>pct20</value>
-<!-- 25% Fill Pattern -->
+ <!-- 25% Fill Pattern -->
<value>pct25</value>
-<!-- 30% Fill Pattern -->
+ <!-- 30% Fill Pattern -->
<value>pct30</value>
-<!-- 35% Fill Pattern -->
+ <!-- 35% Fill Pattern -->
<value>pct35</value>
-<!-- 37.5% Fill Pattern -->
+ <!-- 37.5% Fill Pattern -->
<value>pct37</value>
-<!-- 40% Fill Pattern -->
+ <!-- 40% Fill Pattern -->
<value>pct40</value>
-<!-- 45% Fill Pattern -->
+ <!-- 45% Fill Pattern -->
<value>pct45</value>
-<!-- 50% Fill Pattern -->
+ <!-- 50% Fill Pattern -->
<value>pct50</value>
-<!-- 55% Fill Pattern -->
+ <!-- 55% Fill Pattern -->
<value>pct55</value>
-<!-- 60% Fill Pattern -->
+ <!-- 60% Fill Pattern -->
<value>pct60</value>
-<!-- 62.5% Fill Pattern -->
+ <!-- 62.5% Fill Pattern -->
<value>pct62</value>
-<!-- 65% Fill Pattern -->
+ <!-- 65% Fill Pattern -->
<value>pct65</value>
-<!-- 70% Fill Pattern -->
+ <!-- 70% Fill Pattern -->
<value>pct70</value>
-<!-- 75% Fill Pattern -->
+ <!-- 75% Fill Pattern -->
<value>pct75</value>
-<!-- 80% Fill Pattern -->
+ <!-- 80% Fill Pattern -->
<value>pct80</value>
-<!-- 85% Fill Pattern -->
+ <!-- 85% Fill Pattern -->
<value>pct85</value>
-<!-- 87.5% Fill Pattern -->
+ <!-- 87.5% Fill Pattern -->
<value>pct87</value>
-<!-- 90% Fill Pattern -->
+ <!-- 90% Fill Pattern -->
<value>pct90</value>
-<!-- 95% Fill Pattern -->
+ <!-- 95% Fill Pattern -->
<value>pct95</value>
</choice>
</list>
@@ -13315,11 +13401,11 @@
<list>
<xs:documentation>Vertical Positioning Location</xs:documentation>
<choice>
-<!-- Regular Vertical Positioning -->
+ <!-- Regular Vertical Positioning -->
<value>baseline</value>
-<!-- Superscript -->
+ <!-- Superscript -->
<value>superscript</value>
-<!-- Subscript -->
+ <!-- Subscript -->
<value>subscript</value>
</choice>
</list>
@@ -13346,15 +13432,15 @@
<list>
<xs:documentation>Emphasis Mark Type</xs:documentation>
<choice>
-<!-- No Emphasis Mark -->
+ <!-- No Emphasis Mark -->
<value>none</value>
-<!-- Dot Emphasis Mark Above Characters -->
+ <!-- Dot Emphasis Mark Above Characters -->
<value>dot</value>
-<!-- Comma Emphasis Mark Above Characters -->
+ <!-- Comma Emphasis Mark Above Characters -->
<value>comma</value>
-<!-- Circle Emphasis Mark Above Characters -->
+ <!-- Circle Emphasis Mark Above Characters -->
<value>circle</value>
-<!-- Dot Emphasis Mark Below Characters -->
+ <!-- Dot Emphasis Mark Below Characters -->
<value>underDot</value>
</choice>
</list>
@@ -13389,15 +13475,15 @@
<list>
<xs:documentation>Two Lines in One Enclosing Character Type</xs:documentation>
<choice>
-<!-- No Enclosing Brackets -->
+ <!-- No Enclosing Brackets -->
<value>none</value>
-<!-- Round Brackets -->
+ <!-- Round Brackets -->
<value>round</value>
-<!-- Square Brackets -->
+ <!-- Square Brackets -->
<value>square</value>
-<!-- Angle Brackets -->
+ <!-- Angle Brackets -->
<value>angle</value>
-<!-- Curly Brackets -->
+ <!-- Curly Brackets -->
<value>curly</value>
</choice>
</list>
@@ -13438,15 +13524,15 @@
<list>
<xs:documentation>Horizontal Alignment Location</xs:documentation>
<choice>
-<!-- Left Aligned Horizontally -->
+ <!-- Left Aligned Horizontally -->
<value>left</value>
-<!-- Centered Horizontally -->
+ <!-- Centered Horizontally -->
<value>center</value>
-<!-- Right Aligned Horizontally -->
+ <!-- Right Aligned Horizontally -->
<value>right</value>
-<!-- Inside -->
+ <!-- Inside -->
<value>inside</value>
-<!-- Outside -->
+ <!-- Outside -->
<value>outside</value>
</choice>
</list>
@@ -13455,17 +13541,17 @@
<list>
<xs:documentation>Vertical Alignment Location</xs:documentation>
<choice>
-<!-- In line With Text -->
+ <!-- In line With Text -->
<value>inline</value>
-<!-- Top -->
+ <!-- Top -->
<value>top</value>
-<!-- Centered Vertically -->
+ <!-- Centered Vertically -->
<value>center</value>
-<!-- Bottom -->
+ <!-- Bottom -->
<value>bottom</value>
-<!-- Inside Anchor Extents -->
+ <!-- Inside Anchor Extents -->
<value>inside</value>
-<!-- Outside Anchor Extents -->
+ <!-- Outside Anchor Extents -->
<value>outside</value>
</choice>
</list>
@@ -13474,11 +13560,11 @@
<list>
<xs:documentation>Height Rule</xs:documentation>
<choice>
-<!-- Determine Height Based On Contents -->
+ <!-- Determine Height Based On Contents -->
<value>auto</value>
-<!-- Exact Height -->
+ <!-- Exact Height -->
<value>exact</value>
-<!-- Minimum Height -->
+ <!-- Minimum Height -->
<value>atLeast</value>
</choice>
</list>
@@ -13487,17 +13573,17 @@
<list>
<xs:documentation>Text Wrapping around Text Frame Type</xs:documentation>
<choice>
-<!-- Default Text Wrapping Around Frame -->
+ <!-- Default Text Wrapping Around Frame -->
<value>auto</value>
-<!-- No Text Wrapping Beside Frame -->
+ <!-- No Text Wrapping Beside Frame -->
<value>notBeside</value>
-<!-- Allow Text Wrapping Around Frame -->
+ <!-- Allow Text Wrapping Around Frame -->
<value>around</value>
-<!-- Tight Text Wrapping Around Frame -->
+ <!-- Tight Text Wrapping Around Frame -->
<value>tight</value>
-<!-- Through Text Wrapping Around Frame -->
+ <!-- Through Text Wrapping Around Frame -->
<value>through</value>
-<!-- No Text Wrapping Around Frame -->
+ <!-- No Text Wrapping Around Frame -->
<value>none</value>
</choice>
</list>
@@ -13506,11 +13592,11 @@
<list>
<xs:documentation>Vertical Anchor Location</xs:documentation>
<choice>
-<!-- Relative To Vertical Text Extents -->
+ <!-- Relative To Vertical Text Extents -->
<value>text</value>
-<!-- Relative To Margin -->
+ <!-- Relative To Margin -->
<value>margin</value>
-<!-- Relative To Page -->
+ <!-- Relative To Page -->
<value>page</value>
</choice>
</list>
@@ -13519,11 +13605,11 @@
<list>
<xs:documentation>Horizontal Anchor Location</xs:documentation>
<choice>
-<!-- Relative to Text Extents -->
+ <!-- Relative to Text Extents -->
<value>text</value>
-<!-- Relative To Margin -->
+ <!-- Relative To Margin -->
<value>margin</value>
-<!-- Relative to Page -->
+ <!-- Relative to Page -->
<value>page</value>
</choice>
</list>
@@ -13532,11 +13618,11 @@
<list>
<xs:documentation>Text Frame Drop Cap Location</xs:documentation>
<choice>
-<!-- Not Drop Cap -->
+ <!-- Not Drop Cap -->
<value>none</value>
-<!-- Drop Cap Inside Margin -->
+ <!-- Drop Cap Inside Margin -->
<value>drop</value>
-<!-- Drop Cap Outside Margin -->
+ <!-- Drop Cap Outside Margin -->
<value>margin</value>
</choice>
</list>
@@ -13637,19 +13723,19 @@
<list>
<xs:documentation>Custom Tab Stop Type</xs:documentation>
<choice>
-<!-- No Tab Stop -->
+ <!-- No Tab Stop -->
<value>clear</value>
-<!-- Left Tab -->
+ <!-- Left Tab -->
<value>left</value>
-<!-- Centered Tab -->
+ <!-- Centered Tab -->
<value>center</value>
-<!-- Right Tab -->
+ <!-- Right Tab -->
<value>right</value>
-<!-- Decimal Tab -->
+ <!-- Decimal Tab -->
<value>decimal</value>
-<!-- Bar Tab -->
+ <!-- Bar Tab -->
<value>bar</value>
-<!-- List Tab -->
+ <!-- List Tab -->
<value>num</value>
</choice>
</list>
@@ -13658,17 +13744,17 @@
<list>
<xs:documentation>Custom Tab Stop Leader Character</xs:documentation>
<choice>
-<!-- No tab stop leader -->
+ <!-- No tab stop leader -->
<value>none</value>
-<!-- Dotted leader line -->
+ <!-- Dotted leader line -->
<value>dot</value>
-<!-- Dashed tab stop leader line -->
+ <!-- Dashed tab stop leader line -->
<value>hyphen</value>
-<!-- Solid leader line -->
+ <!-- Solid leader line -->
<value>underscore</value>
-<!-- Heavy solid leader line -->
+ <!-- Heavy solid leader line -->
<value>heavy</value>
-<!-- Middle dot leader line -->
+ <!-- Middle dot leader line -->
<value>middleDot</value>
</choice>
</list>
@@ -13693,11 +13779,11 @@
<list>
<xs:documentation>Line Spacing Rule</xs:documentation>
<choice>
-<!-- Automatically Determined Line Height -->
+ <!-- Automatically Determined Line Height -->
<value>auto</value>
-<!-- Exact Line Height -->
+ <!-- Exact Line Height -->
<value>exact</value>
-<!-- Minimum Line Height -->
+ <!-- Minimum Line Height -->
<value>atLeast</value>
</choice>
</list>
@@ -13806,25 +13892,25 @@
<list>
<xs:documentation>Horizontal Alignment Type</xs:documentation>
<choice>
-<!-- Align Left -->
+ <!-- Align Left -->
<value>left</value>
-<!-- Align Center -->
+ <!-- Align Center -->
<value>center</value>
-<!-- Align Right -->
+ <!-- Align Right -->
<value>right</value>
-<!-- Justified -->
+ <!-- Justified -->
<value>both</value>
-<!-- Medium Kashida Length -->
+ <!-- Medium Kashida Length -->
<value>mediumKashida</value>
-<!-- Distribute All Characters Equally -->
+ <!-- Distribute All Characters Equally -->
<value>distribute</value>
-<!-- Align to List Tab -->
+ <!-- Align to List Tab -->
<value>numTab</value>
-<!-- Widest Kashida Length -->
+ <!-- Widest Kashida Length -->
<value>highKashida</value>
-<!-- Low Kashida Length -->
+ <!-- Low Kashida Length -->
<value>lowKashida</value>
-<!-- Thai Language Justification -->
+ <!-- Thai Language Justification -->
<value>thaiDistribute</value>
</choice>
</list>
@@ -13839,17 +13925,17 @@
<list>
<xs:documentation>Document View Values</xs:documentation>
<choice>
-<!-- Default View -->
+ <!-- Default View -->
<value>none</value>
-<!-- Print Layout View -->
+ <!-- Print Layout View -->
<value>print</value>
-<!-- Outline View -->
+ <!-- Outline View -->
<value>outline</value>
-<!-- Master Document View -->
+ <!-- Master Document View -->
<value>masterPages</value>
-<!-- Draft View -->
+ <!-- Draft View -->
<value>normal</value>
-<!-- Web Page View -->
+ <!-- Web Page View -->
<value>web</value>
</choice>
</list>
@@ -13864,13 +13950,13 @@
<list>
<xs:documentation>Magnification Preset Values</xs:documentation>
<choice>
-<!-- No Preset Magnification -->
+ <!-- No Preset Magnification -->
<value>none</value>
-<!-- Display One Full Page -->
+ <!-- Display One Full Page -->
<value>fullPage</value>
-<!-- Display Page Width -->
+ <!-- Display Page Width -->
<value>bestFit</value>
-<!-- Display Text Width -->
+ <!-- Display Text Width -->
<value>textFit</value>
</choice>
</list>
@@ -13919,9 +14005,9 @@
<list>
<xs:documentation>Proofing State Values</xs:documentation>
<choice>
-<!-- Check Completed -->
+ <!-- Check Completed -->
<value>clean</value>
-<!-- Check Not Completed -->
+ <!-- Check Not Completed -->
<value>dirty</value>
</choice>
</list>
@@ -13944,11 +14030,11 @@
<list>
<xs:documentation>Document Classification Values</xs:documentation>
<choice>
-<!-- Default Document -->
+ <!-- Default Document -->
<value>notSpecified</value>
-<!-- Letter -->
+ <!-- Letter -->
<value>letter</value>
-<!-- E-Mail Message -->
+ <!-- E-Mail Message -->
<value>eMail</value>
</choice>
</list>
@@ -13963,15 +14049,15 @@
<list>
<xs:documentation>Document Protection Types</xs:documentation>
<choice>
-<!-- No Editing Restrictions -->
+ <!-- No Editing Restrictions -->
<value>none</value>
-<!-- Allow No Editing -->
+ <!-- Allow No Editing -->
<value>readOnly</value>
-<!-- Allow Editing of Comments -->
+ <!-- Allow Editing of Comments -->
<value>comments</value>
-<!-- Allow Editing With Revision Tracking -->
+ <!-- Allow Editing With Revision Tracking -->
<value>trackedChanges</value>
-<!-- Allow Editing of Form Fields -->
+ <!-- Allow Editing of Form Fields -->
<value>forms</value>
</choice>
</list>
@@ -13980,9 +14066,9 @@
<list>
<xs:documentation>Cryptographic Provider Types</xs:documentation>
<choice>
-<!-- AES Provider -->
+ <!-- AES Provider -->
<value>rsaAES</value>
-<!-- Any Provider -->
+ <!-- Any Provider -->
<value>rsaFull</value>
</choice>
</list>
@@ -13990,14 +14076,14 @@
<define name="ST_AlgClass">
<list>
<xs:documentation>Cryptographic Algorithm Classes</xs:documentation>
-<!-- Hashing -->
+ <!-- Hashing -->
<value>hash</value>
</list>
</define>
<define name="ST_AlgType">
<list>
<xs:documentation>Cryptographic Algorithm Types</xs:documentation>
-<!-- Any Type -->
+ <!-- Any Type -->
<value>typeAny</value>
</list>
</define>
@@ -14078,17 +14164,17 @@
<list>
<xs:documentation>Source Document Types</xs:documentation>
<choice>
-<!-- Catalog Source Document -->
+ <!-- Catalog Source Document -->
<value>catalog</value>
-<!-- Envelope Source Document -->
+ <!-- Envelope Source Document -->
<value>envelopes</value>
-<!-- Mailing Label Source Document -->
+ <!-- Mailing Label Source Document -->
<value>mailingLabels</value>
-<!-- Form Letter Source Document -->
+ <!-- Form Letter Source Document -->
<value>formLetters</value>
-<!-- E-Mail Source Document -->
+ <!-- E-Mail Source Document -->
<value>email</value>
-<!-- Fax Source Document -->
+ <!-- Fax Source Document -->
<value>fax</value>
</choice>
</list>
@@ -14103,17 +14189,17 @@
<list>
<xs:documentation>Mail Merge Data Source Type Values</xs:documentation>
<choice>
-<!-- Text File Data Source -->
+ <!-- Text File Data Source -->
<value>textFile</value>
-<!-- Database Data Source -->
+ <!-- Database Data Source -->
<value>database</value>
-<!-- Spreadsheet Data Source -->
+ <!-- Spreadsheet Data Source -->
<value>spreadsheet</value>
-<!-- Query Data Source -->
+ <!-- Query Data Source -->
<value>query</value>
-<!-- Open Database Connectivity Data Source -->
+ <!-- Open Database Connectivity Data Source -->
<value>odbc</value>
-<!-- Office Data Source Object Data Source -->
+ <!-- Office Data Source Object Data Source -->
<value>native</value>
</choice>
</list>
@@ -14128,13 +14214,13 @@
<list>
<xs:documentation>Merged Document Destination Types</xs:documentation>
<choice>
-<!-- Send Merged Documents to New Documents -->
+ <!-- Send Merged Documents to New Documents -->
<value>newDocument</value>
-<!-- Send Merged Documents to Printer -->
+ <!-- Send Merged Documents to Printer -->
<value>printer</value>
-<!-- Send Merged Documents as E-mail Messages -->
+ <!-- Send Merged Documents as E-mail Messages -->
<value>email</value>
-<!-- Send Merged Documents as Faxes -->
+ <!-- Send Merged Documents as Faxes -->
<value>fax</value>
</choice>
</list>
@@ -14149,9 +14235,9 @@
<list>
<xs:documentation>Merge Field Mapping Types</xs:documentation>
<choice>
-<!-- Field Not Mapped -->
+ <!-- Field Not Mapped -->
<value>null</value>
-<!-- Field Mapping to Data Source Column -->
+ <!-- Field Mapping to Data Source Column -->
<value>dbColumn</value>
</choice>
</list>
@@ -14208,17 +14294,17 @@
<list>
<xs:documentation>Text Flow Direction</xs:documentation>
<choice>
-<!-- Left to Right, Top to Bottom -->
+ <!-- Left to Right, Top to Bottom -->
<value>lrTb</value>
-<!-- Top to Bottom, Right to Left -->
+ <!-- Top to Bottom, Right to Left -->
<value>tbRl</value>
-<!-- Bottom to Top, Left to Right -->
+ <!-- Bottom to Top, Left to Right -->
<value>btLr</value>
-<!-- Left to Right, Top to Bottom Rotated -->
+ <!-- Left to Right, Top to Bottom Rotated -->
<value>lrTbV</value>
-<!-- Top to Bottom, Right to Left Rotated -->
+ <!-- Top to Bottom, Right to Left Rotated -->
<value>tbRlV</value>
-<!-- Top to Bottom, Left to Right Rotated -->
+ <!-- Top to Bottom, Left to Right Rotated -->
<value>tbLrV</value>
</choice>
</list>
@@ -14233,15 +14319,15 @@
<list>
<xs:documentation>Vertical Text Alignment Types</xs:documentation>
<choice>
-<!-- Align Text at Top -->
+ <!-- Align Text at Top -->
<value>top</value>
-<!-- Align Text at Center -->
+ <!-- Align Text at Center -->
<value>center</value>
-<!-- Align Text at Baseline -->
+ <!-- Align Text at Baseline -->
<value>baseline</value>
-<!-- Align Text at Bottom -->
+ <!-- Align Text at Bottom -->
<value>bottom</value>
-<!-- Automatically Determine Alignment -->
+ <!-- Automatically Determine Alignment -->
<value>auto</value>
</choice>
</list>
@@ -14256,9 +14342,9 @@
<list>
<xs:documentation>Location of Custom XML Markup Displacing an Annotation</xs:documentation>
<choice>
-<!-- Displaced by Next Custom XML Markup Tag -->
+ <!-- Displaced by Next Custom XML Markup Tag -->
<value>next</value>
-<!-- Displaced by Previous Custom XML Markup Tag -->
+ <!-- Displaced by Previous Custom XML Markup Tag -->
<value>prev</value>
</choice>
</list>
@@ -14267,9 +14353,9 @@
<list>
<xs:documentation>Table Cell Vertical Merge Revision Type</xs:documentation>
<choice>
-<!-- Vertically Merged Cell -->
+ <!-- Vertically Merged Cell -->
<value>cont</value>
-<!-- Vertically Split Cell -->
+ <!-- Vertically Split Cell -->
<value>rest</value>
</choice>
</list>
@@ -14592,15 +14678,15 @@
<list>
<xs:documentation>Lines To Tight Wrap Within Text Box</xs:documentation>
<choice>
-<!-- Do Not Tight Wrap -->
+ <!-- Do Not Tight Wrap -->
<value>none</value>
-<!-- Tight Wrap All Lines -->
+ <!-- Tight Wrap All Lines -->
<value>allLines</value>
-<!-- Tight Wrap First and Last Lines -->
+ <!-- Tight Wrap First and Last Lines -->
<value>firstAndLastLine</value>
-<!-- Tight Wrap First Line -->
+ <!-- Tight Wrap First Line -->
<value>firstLineOnly</value>
-<!-- Tight Wrap Last Line -->
+ <!-- Tight Wrap Last Line -->
<value>lastLineOnly</value>
</choice>
</list>
@@ -14934,11 +15020,11 @@
<list>
<xs:documentation>Complex Field Character Type</xs:documentation>
<choice>
-<!-- Start Character -->
+ <!-- Start Character -->
<value>begin</value>
-<!-- Separator Character -->
+ <!-- Separator Character -->
<value>separate</value>
-<!-- End Character -->
+ <!-- End Character -->
<value>end</value>
</choice>
</list>
@@ -14947,9 +15033,9 @@
<list>
<xs:documentation>Help or Status Text Type</xs:documentation>
<choice>
-<!-- Literal Text -->
+ <!-- Literal Text -->
<value>text</value>
-<!-- Glossary Document Entry -->
+ <!-- Glossary Document Entry -->
<value>autoText</value>
</choice>
</list>
@@ -14976,17 +15062,17 @@
<list>
<xs:documentation>Text Box Form Field Type Values</xs:documentation>
<choice>
-<!-- Text Box -->
+ <!-- Text Box -->
<value>regular</value>
-<!-- Number -->
+ <!-- Number -->
<value>number</value>
-<!-- Date -->
+ <!-- Date -->
<value>date</value>
-<!-- Current Time Display -->
+ <!-- Current Time Display -->
<value>currentTime</value>
-<!-- Current Date Display -->
+ <!-- Current Date Display -->
<value>currentDate</value>
-<!-- Field Calculation -->
+ <!-- Field Calculation -->
<value>calculated</value>
</choice>
</list>
@@ -15201,15 +15287,15 @@
<list>
<xs:documentation>Section Type</xs:documentation>
<choice>
-<!-- Next Page Section Break -->
+ <!-- Next Page Section Break -->
<value>nextPage</value>
-<!-- Column Section Break -->
+ <!-- Column Section Break -->
<value>nextColumn</value>
-<!-- Continuous Section Break -->
+ <!-- Continuous Section Break -->
<value>continuous</value>
-<!-- Even Page Section Break -->
+ <!-- Even Page Section Break -->
<value>evenPage</value>
-<!-- Odd Page Section Break -->
+ <!-- Odd Page Section Break -->
<value>oddPage</value>
</choice>
</list>
@@ -15234,125 +15320,125 @@
<list>
<xs:documentation>Numbering Format</xs:documentation>
<choice>
-<!-- Decimal Numbers -->
+ <!-- Decimal Numbers -->
<value>decimal</value>
-<!-- Uppercase Roman Numerals -->
+ <!-- Uppercase Roman Numerals -->
<value>upperRoman</value>
-<!-- Lowercase Roman Numerals -->
+ <!-- Lowercase Roman Numerals -->
<value>lowerRoman</value>
-<!-- Uppercase Latin Alphabet -->
+ <!-- Uppercase Latin Alphabet -->
<value>upperLetter</value>
-<!-- Lowercase Latin Alphabet -->
+ <!-- Lowercase Latin Alphabet -->
<value>lowerLetter</value>
-<!-- Ordinal -->
+ <!-- Ordinal -->
<value>ordinal</value>
-<!-- Cardinal Text -->
+ <!-- Cardinal Text -->
<value>cardinalText</value>
-<!-- Ordinal Text -->
+ <!-- Ordinal Text -->
<value>ordinalText</value>
-<!-- Hexadecimal Numbering -->
+ <!-- Hexadecimal Numbering -->
<value>hex</value>
-<!-- Chicago Manual of Style -->
+ <!-- Chicago Manual of Style -->
<value>chicago</value>
-<!-- Ideographs -->
+ <!-- Ideographs -->
<value>ideographDigital</value>
-<!-- Japanese Counting System -->
+ <!-- Japanese Counting System -->
<value>japaneseCounting</value>
-<!-- AIUEO Order Hiragana -->
+ <!-- AIUEO Order Hiragana -->
<value>aiueo</value>
-<!-- Iroha Ordered Katakana -->
+ <!-- Iroha Ordered Katakana -->
<value>iroha</value>
-<!-- Double Byte Arabic Numerals -->
+ <!-- Double Byte Arabic Numerals -->
<value>decimalFullWidth</value>
-<!-- Single Byte Arabic Numerals -->
+ <!-- Single Byte Arabic Numerals -->
<value>decimalHalfWidth</value>
-<!-- Japanese Legal Numbering -->
+ <!-- Japanese Legal Numbering -->
<value>japaneseLegal</value>
-<!-- Japanese Digital Ten Thousand Counting System -->
+ <!-- Japanese Digital Ten Thousand Counting System -->
<value>japaneseDigitalTenThousand</value>
-<!-- Decimal Numbers Enclosed in a Circle -->
+ <!-- Decimal Numbers Enclosed in a Circle -->
<value>decimalEnclosedCircle</value>
-<!-- Double Byte Arabic Numerals Alternate -->
+ <!-- Double Byte Arabic Numerals Alternate -->
<value>decimalFullWidth2</value>
-<!-- Full-Width AIUEO Order Hiragana -->
+ <!-- Full-Width AIUEO Order Hiragana -->
<value>aiueoFullWidth</value>
-<!-- Full-Width Iroha Ordered Katakana -->
+ <!-- Full-Width Iroha Ordered Katakana -->
<value>irohaFullWidth</value>
-<!-- Initial Zero Arabic Numerals -->
+ <!-- Initial Zero Arabic Numerals -->
<value>decimalZero</value>
-<!-- Bullet -->
+ <!-- Bullet -->
<value>bullet</value>
-<!-- Korean Ganada Numbering -->
+ <!-- Korean Ganada Numbering -->
<value>ganada</value>
-<!-- Korean Chosung Numbering -->
+ <!-- Korean Chosung Numbering -->
<value>chosung</value>
-<!-- Decimal Numbers Followed by a Period -->
+ <!-- Decimal Numbers Followed by a Period -->
<value>decimalEnclosedFullstop</value>
-<!-- Decimal Numbers Enclosed in Parenthesis -->
+ <!-- Decimal Numbers Enclosed in Parenthesis -->
<value>decimalEnclosedParen</value>
-<!-- Decimal Numbers Enclosed in a Circle -->
+ <!-- Decimal Numbers Enclosed in a Circle -->
<value>decimalEnclosedCircleChinese</value>
-<!-- Ideographs Enclosed in a Circle -->
+ <!-- Ideographs Enclosed in a Circle -->
<value>ideographEnclosedCircle</value>
-<!-- Traditional Ideograph Format -->
+ <!-- Traditional Ideograph Format -->
<value>ideographTraditional</value>
-<!-- Zodiac Ideograph Format -->
+ <!-- Zodiac Ideograph Format -->
<value>ideographZodiac</value>
-<!-- Traditional Zodiac Ideograph Format -->
+ <!-- Traditional Zodiac Ideograph Format -->
<value>ideographZodiacTraditional</value>
-<!-- Taiwanese Counting System -->
+ <!-- Taiwanese Counting System -->
<value>taiwaneseCounting</value>
-<!-- Traditional Legal Ideograph Format -->
+ <!-- Traditional Legal Ideograph Format -->
<value>ideographLegalTraditional</value>
-<!-- Taiwanese Counting Thousand System -->
+ <!-- Taiwanese Counting Thousand System -->
<value>taiwaneseCountingThousand</value>
-<!-- Taiwanese Digital Counting System -->
+ <!-- Taiwanese Digital Counting System -->
<value>taiwaneseDigital</value>
-<!-- Chinese Counting System -->
+ <!-- Chinese Counting System -->
<value>chineseCounting</value>
-<!-- Chinese Legal Simplified Format -->
+ <!-- Chinese Legal Simplified Format -->
<value>chineseLegalSimplified</value>
-<!-- Chinese Counting Thousand System -->
+ <!-- Chinese Counting Thousand System -->
<value>chineseCountingThousand</value>
-<!-- Korean Digital Counting System -->
+ <!-- Korean Digital Counting System -->
<value>koreanDigital</value>
-<!-- Korean Counting System -->
+ <!-- Korean Counting System -->
<value>koreanCounting</value>
-<!-- Korean Legal Numbering -->
+ <!-- Korean Legal Numbering -->
<value>koreanLegal</value>
-<!-- Korean Digital Counting System Alternate -->
+ <!-- Korean Digital Counting System Alternate -->
<value>koreanDigital2</value>
-<!-- Vietnamese Numerals -->
+ <!-- Vietnamese Numerals -->
<value>vietnameseCounting</value>
-<!-- Lowercase Russian Alphabet -->
+ <!-- Lowercase Russian Alphabet -->
<value>russianLower</value>
-<!-- Uppercase Russian Alphabet -->
+ <!-- Uppercase Russian Alphabet -->
<value>russianUpper</value>
-<!-- No Numbering -->
+ <!-- No Numbering -->
<value>none</value>
-<!-- Number With Dashes -->
+ <!-- Number With Dashes -->
<value>numberInDash</value>
-<!-- Hebrew Numerals -->
+ <!-- Hebrew Numerals -->
<value>hebrew1</value>
-<!-- Hebrew Alphabet -->
+ <!-- Hebrew Alphabet -->
<value>hebrew2</value>
-<!-- Arabic Alphabet -->
+ <!-- Arabic Alphabet -->
<value>arabicAlpha</value>
-<!-- Arabic Abjad Numerals -->
+ <!-- Arabic Abjad Numerals -->
<value>arabicAbjad</value>
-<!-- Hindi Vowels -->
+ <!-- Hindi Vowels -->
<value>hindiVowels</value>
-<!-- Hindi Consonants -->
+ <!-- Hindi Consonants -->
<value>hindiConsonants</value>
-<!-- Hindi Numbers -->
+ <!-- Hindi Numbers -->
<value>hindiNumbers</value>
-<!-- Hindi Counting System -->
+ <!-- Hindi Counting System -->
<value>hindiCounting</value>
-<!-- Thai Letters -->
+ <!-- Thai Letters -->
<value>thaiLetters</value>
-<!-- Thai Numerals -->
+ <!-- Thai Numerals -->
<value>thaiNumbers</value>
-<!-- Thai Counting System -->
+ <!-- Thai Counting System -->
<value>thaiCounting</value>
</choice>
</list>
@@ -15361,9 +15447,9 @@
<list>
<xs:documentation>Page Orientation</xs:documentation>
<choice>
-<!-- Portrait Mode -->
+ <!-- Portrait Mode -->
<value>portrait</value>
-<!-- Landscape Mode -->
+ <!-- Landscape Mode -->
<value>landscape</value>
</choice>
</list>
@@ -15426,9 +15512,9 @@
<list>
<xs:documentation>Page Border Z-Order</xs:documentation>
<choice>
-<!-- Page Border Ahead of Text -->
+ <!-- Page Border Ahead of Text -->
<value>front</value>
-<!-- Page Border Behind Text -->
+ <!-- Page Border Behind Text -->
<value>back</value>
</choice>
</list>
@@ -15437,11 +15523,11 @@
<list>
<xs:documentation>Page Border Display Options</xs:documentation>
<choice>
-<!-- Display Page Border on All Pages -->
+ <!-- Display Page Border on All Pages -->
<value>allPages</value>
-<!-- Display Page Border on First Page -->
+ <!-- Display Page Border on First Page -->
<value>firstPage</value>
-<!-- Display Page Border on All Pages Except First -->
+ <!-- Display Page Border on All Pages Except First -->
<value>notFirstPage</value>
</choice>
</list>
@@ -15450,9 +15536,9 @@
<list>
<xs:documentation>Page Border Positioning Base</xs:documentation>
<choice>
-<!-- Page Border Is Positioned Relative to Page Edges -->
+ <!-- Page Border Is Positioned Relative to Page Edges -->
<value>page</value>
-<!-- Page Border Is Positioned Relative to Text Extents -->
+ <!-- Page Border Is Positioned Relative to Text Extents -->
<value>text</value>
</choice>
</list>
@@ -15503,15 +15589,15 @@
<list>
<xs:documentation>Chapter Separator Types</xs:documentation>
<choice>
-<!-- Hyphen Chapter Separator -->
+ <!-- Hyphen Chapter Separator -->
<value>hyphen</value>
-<!-- Period Chapter Separator -->
+ <!-- Period Chapter Separator -->
<value>period</value>
-<!-- Colon Chapter Separator -->
+ <!-- Colon Chapter Separator -->
<value>colon</value>
-<!-- Em Dash Chapter Separator -->
+ <!-- Em Dash Chapter Separator -->
<value>emDash</value>
-<!-- En Dash Chapter Separator -->
+ <!-- En Dash Chapter Separator -->
<value>enDash</value>
</choice>
</list>
@@ -15520,11 +15606,11 @@
<list>
<xs:documentation>Line Numbering Restart Position</xs:documentation>
<choice>
-<!-- Restart Line Numbering on Each Page -->
+ <!-- Restart Line Numbering on Each Page -->
<value>newPage</value>
-<!-- Restart Line Numbering for Each Section -->
+ <!-- Restart Line Numbering for Each Section -->
<value>newSection</value>
-<!-- Continue Line Numbering From Previous Section -->
+ <!-- Continue Line Numbering From Previous Section -->
<value>continuous</value>
</choice>
</list>
@@ -15630,13 +15716,13 @@
<list>
<xs:documentation>Vertical Alignment Type</xs:documentation>
<choice>
-<!-- Align Top -->
+ <!-- Align Top -->
<value>top</value>
-<!-- Align Center -->
+ <!-- Align Center -->
<value>center</value>
-<!-- Vertical Justification -->
+ <!-- Vertical Justification -->
<value>both</value>
-<!-- Align Bottom -->
+ <!-- Align Bottom -->
<value>bottom</value>
</choice>
</list>
@@ -15651,13 +15737,13 @@
<list>
<xs:documentation>Document Grid Types</xs:documentation>
<choice>
-<!-- No Document Grid -->
+ <!-- No Document Grid -->
<value>default</value>
-<!-- Line Grid Only -->
+ <!-- Line Grid Only -->
<value>lines</value>
-<!-- Line and Character Grid -->
+ <!-- Line and Character Grid -->
<value>linesAndChars</value>
-<!-- Character Grid Only -->
+ <!-- Character Grid Only -->
<value>snapToChars</value>
</choice>
</list>
@@ -15680,11 +15766,11 @@
<list>
<xs:documentation>Header or Footer Type</xs:documentation>
<choice>
-<!-- Even Numbered Pages Only -->
+ <!-- Even Numbered Pages Only -->
<value>even</value>
-<!-- Default Header or Footer -->
+ <!-- Default Header or Footer -->
<value>default</value>
-<!-- First Page Only -->
+ <!-- First Page Only -->
<value>first</value>
</choice>
</list>
@@ -15693,19 +15779,18 @@
<list>
<xs:documentation>Footnote or Endnote Type</xs:documentation>
<choice>
-<!-- Normal Footnote/Endnote -->
+ <!-- Normal Footnote/Endnote -->
<value>normal</value>
-<!-- Separator -->
+ <!-- Separator -->
<value>separator</value>
-<!-- Continuation Separator -->
+ <!-- Continuation Separator -->
<value>continuationSeparator</value>
-<!-- Continuation Notice Separator -->
+ <!-- Continuation Notice Separator -->
<value>continuationNotice</value>
</choice>
</list>
</define>
<define name="CT_HdrFtrRef">
- <ref name="CT_Rel"/>
<attribute name="type">
<ref name="ST_HdrFtr"/>
<xs:documentation>Header or Footer Type</xs:documentation>
@@ -15876,11 +15961,11 @@
<list>
<xs:documentation>Break Types</xs:documentation>
<choice>
-<!-- Page Break -->
+ <!-- Page Break -->
<value>page</value>
-<!-- Column Break -->
+ <!-- Column Break -->
<value>column</value>
-<!-- Line Break -->
+ <!-- Line Break -->
<value>textWrapping</value>
</choice>
</list>
@@ -15889,13 +15974,13 @@
<list>
<xs:documentation>Line Break Text Wrapping Restart Location</xs:documentation>
<choice>
-<!-- Restart On Next Line -->
+ <!-- Restart On Next Line -->
<value>none</value>
-<!-- Restart In Next Text Region When In Leftmost Position -->
+ <!-- Restart In Next Text Region When In Leftmost Position -->
<value>left</value>
-<!-- Restart In Next Text Region When In Rightmost Position -->
+ <!-- Restart In Next Text Region When In Rightmost Position -->
<value>right</value>
-<!-- Restart On Next Full Line -->
+ <!-- Restart On Next Full Line -->
<value>all</value>
</choice>
</list>
@@ -15918,11 +16003,11 @@
<list>
<xs:documentation>Absolute Position Tab Alignment</xs:documentation>
<choice>
-<!-- Left -->
+ <!-- Left -->
<value>left</value>
-<!-- Center -->
+ <!-- Center -->
<value>center</value>
-<!-- Right -->
+ <!-- Right -->
<value>right</value>
</choice>
</list>
@@ -15931,9 +16016,9 @@
<list>
<xs:documentation>Absolute Position Tab Positioning Base</xs:documentation>
<choice>
-<!-- Relative To Text Margins -->
+ <!-- Relative To Text Margins -->
<value>margin</value>
-<!-- Relative To Indents -->
+ <!-- Relative To Indents -->
<value>indent</value>
</choice>
</list>
@@ -15942,15 +16027,15 @@
<list>
<xs:documentation>Absolute Position Tab Leader Character</xs:documentation>
<choice>
-<!-- No Leader Character -->
+ <!-- No Leader Character -->
<value>none</value>
-<!-- Dot Leader Character -->
+ <!-- Dot Leader Character -->
<value>dot</value>
-<!-- Hyphen Leader Character -->
+ <!-- Hyphen Leader Character -->
<value>hyphen</value>
-<!-- Underscore Leader Character -->
+ <!-- Underscore Leader Character -->
<value>underscore</value>
-<!-- Centered Dot Leader Character -->
+ <!-- Centered Dot Leader Character -->
<value>middleDot</value>
</choice>
</list>
@@ -15983,13 +16068,13 @@
<list>
<xs:documentation>Proofing Error Type</xs:documentation>
<choice>
-<!-- Start of Region Marked as Spelling Error -->
+ <!-- Start of Region Marked as Spelling Error -->
<value>spellStart</value>
-<!-- End of Region Marked as Spelling Error -->
+ <!-- End of Region Marked as Spelling Error -->
<value>spellEnd</value>
-<!-- Start of Region Marked as Grammatical Error -->
+ <!-- Start of Region Marked as Grammatical Error -->
<value>gramStart</value>
-<!-- End of Region Marked as Grammatical Error -->
+ <!-- End of Region Marked as Grammatical Error -->
<value>gramEnd</value>
</choice>
</list>
@@ -16004,19 +16089,19 @@
<list>
<xs:documentation>Range Permision Editing Group</xs:documentation>
<choice>
-<!-- No Users Have Editing Permissions -->
+ <!-- No Users Have Editing Permissions -->
<value>none</value>
-<!-- All Users Have Editing Permissions -->
+ <!-- All Users Have Editing Permissions -->
<value>everyone</value>
-<!-- Administrator Group -->
+ <!-- Administrator Group -->
<value>administrators</value>
-<!-- Contributors Group -->
+ <!-- Contributors Group -->
<value>contributors</value>
-<!-- Editors Group -->
+ <!-- Editors Group -->
<value>editors</value>
-<!-- Owners Group -->
+ <!-- Owners Group -->
<value>owners</value>
-<!-- Current Group -->
+ <!-- Current Group -->
<value>current</value>
</choice>
</list>
@@ -16248,11 +16333,11 @@
<list>
<xs:documentation>Font Type Hint</xs:documentation>
<choice>
-<!-- High ANSI Font -->
+ <!-- High ANSI Font -->
<value>default</value>
-<!-- East Asian Font -->
+ <!-- East Asian Font -->
<value>eastAsia</value>
-<!-- Complex Script Font -->
+ <!-- Complex Script Font -->
<value>cs</value>
</choice>
</list>
@@ -16261,21 +16346,21 @@
<list>
<xs:documentation>Theme Font</xs:documentation>
<choice>
-<!-- Major East Asian Theme Font -->
+ <!-- Major East Asian Theme Font -->
<value>majorEastAsia</value>
-<!-- Major Complex Script Theme Font -->
+ <!-- Major Complex Script Theme Font -->
<value>majorBidi</value>
-<!-- Major ASCII Theme Font -->
+ <!-- Major ASCII Theme Font -->
<value>majorAscii</value>
-<!-- Major High ANSI Theme Font -->
+ <!-- Major High ANSI Theme Font -->
<value>majorHAnsi</value>
-<!-- Minor East Asian Theme Font -->
+ <!-- Minor East Asian Theme Font -->
<value>minorEastAsia</value>
-<!-- Minor Complex Script Theme Font -->
+ <!-- Minor Complex Script Theme Font -->
<value>minorBidi</value>
-<!-- Minor ASCII Theme Font -->
+ <!-- Minor ASCII Theme Font -->
<value>minorAscii</value>
-<!-- Minor High ANSI Theme Font -->
+ <!-- Minor High ANSI Theme Font -->
<value>minorHAnsi</value>
</choice>
</list>
@@ -16622,17 +16707,17 @@
<list>
<xs:documentation>Phonetic Guide Text Alignment</xs:documentation>
<choice>
-<!-- Center -->
+ <!-- Center -->
<value>center</value>
-<!-- Distribute All Characters -->
+ <!-- Distribute All Characters -->
<value>distributeLetter</value>
-<!-- Distribute all Characters w/ Additional Space On Either Side -->
+ <!-- Distribute all Characters w/ Additional Space On Either Side -->
<value>distributeSpace</value>
-<!-- Left Aligned -->
+ <!-- Left Aligned -->
<value>left</value>
-<!-- Right Aligned -->
+ <!-- Right Aligned -->
<value>right</value>
-<!-- Vertically Aligned to Right of Base Text -->
+ <!-- Vertically Aligned to Right of Base Text -->
<value>rightVertical</value>
</choice>
</list>
@@ -16695,13 +16780,13 @@
<list>
<xs:documentation>Locking Types</xs:documentation>
<choice>
-<!-- SDT Cannot Be Deleted -->
+ <!-- SDT Cannot Be Deleted -->
<value>sdtLocked</value>
-<!-- Contents Cannot Be Edited At Runtime -->
+ <!-- Contents Cannot Be Edited At Runtime -->
<value>contentLocked</value>
-<!-- No Locking -->
+ <!-- No Locking -->
<value>unlocked</value>
-<!-- Contents Cannot Be Edited At Runtime And SDT Cannot Be Deleted -->
+ <!-- Contents Cannot Be Edited At Runtime And SDT Cannot Be Deleted -->
<value>sdtContentLocked</value>
</choice>
</list>
@@ -16726,11 +16811,11 @@
<list>
<xs:documentation>Date Storage Format Types</xs:documentation>
<choice>
-<!-- Same As Display -->
+ <!-- Same As Display -->
<value>text</value>
-<!-- XML Schema Date Format -->
+ <!-- XML Schema Date Format -->
<value>date</value>
-<!-- XML Schema DateTime Format -->
+ <!-- XML Schema DateTime Format -->
<value>dateTime</value>
</choice>
</list>
@@ -16745,25 +16830,25 @@
<list>
<xs:documentation>Calendar Types</xs:documentation>
<choice>
-<!-- Gregorian -->
+ <!-- Gregorian -->
<value>gregorian</value>
-<!-- Hijri -->
+ <!-- Hijri -->
<value>hijri</value>
-<!-- Hebrew -->
+ <!-- Hebrew -->
<value>hebrew</value>
-<!-- Taiwan -->
+ <!-- Taiwan -->
<value>taiwan</value>
-<!-- Japanese Emperor Era -->
+ <!-- Japanese Emperor Era -->
<value>japan</value>
-<!-- Thai -->
+ <!-- Thai -->
<value>thai</value>
-<!-- Korean Tangun Era -->
+ <!-- Korean Tangun Era -->
<value>korea</value>
-<!-- Saka Era -->
+ <!-- Saka Era -->
<value>saka</value>
-<!-- Gregorian transliterated English -->
+ <!-- Gregorian transliterated English -->
<value>gregorianXlitEnglish</value>
-<!-- Gregorian transliterated French -->
+ <!-- Gregorian transliterated French -->
<value>gregorianXlitFrench</value>
</choice>
</list>
@@ -17325,13 +17410,13 @@
<list>
<xs:documentation>Table Width Units</xs:documentation>
<choice>
-<!-- No Width -->
+ <!-- No Width -->
<value>nil</value>
-<!-- Width in Fiftieths of a Percent -->
+ <!-- Width in Fiftieths of a Percent -->
<value>pct</value>
-<!-- Width in Twentieths of a Point -->
+ <!-- Width in Twentieths of a Point -->
<value>dxa</value>
-<!-- Automatically Determined Width -->
+ <!-- Automatically Determined Width -->
<value>auto</value>
</choice>
</list>
@@ -17358,7 +17443,7 @@
</define>
<define name="CT_TblGridCol">
<attribute name="w">
- <text/>
+ <ref name="ST_TwipsMeasure"/>
<xs:documentation>Grid Column Width</xs:documentation>
</attribute>
</define>
@@ -17445,9 +17530,9 @@
<list>
<xs:documentation>Merged Cell Type</xs:documentation>
<choice>
-<!-- Continue Merged Region -->
+ <!-- Continue Merged Region -->
<value>continue</value>
-<!-- Start/Restart Merged Region -->
+ <!-- Start/Restart Merged Region -->
<value>restart</value>
</choice>
</list>
@@ -17691,9 +17776,9 @@
<list>
<xs:documentation>Table Layout Type</xs:documentation>
<choice>
-<!-- Fixed Width Table Layout -->
+ <!-- Fixed Width Table Layout -->
<value>fixed</value>
-<!-- AutoFit Table Layout -->
+ <!-- AutoFit Table Layout -->
<value>autofit</value>
</choice>
</list>
@@ -17708,9 +17793,9 @@
<list>
<xs:documentation>Table Overlap Setting</xs:documentation>
<choice>
-<!-- Floating Table Cannot Overlap -->
+ <!-- Floating Table Cannot Overlap -->
<value>never</value>
-<!-- Floating Table Can Overlap -->
+ <!-- Floating Table Can Overlap -->
<value>overlap</value>
</choice>
</list>
@@ -17975,13 +18060,13 @@
<list>
<xs:documentation>Footnote Positioning Location</xs:documentation>
<choice>
-<!-- Footnotes Positioned at Page Bottom -->
+ <!-- Footnotes Positioned at Page Bottom -->
<value>pageBottom</value>
-<!-- Footnotes Positioned Beneath Text -->
+ <!-- Footnotes Positioned Beneath Text -->
<value>beneathText</value>
-<!-- Footnotes Positioned At End of Section -->
+ <!-- Footnotes Positioned At End of Section -->
<value>sectEnd</value>
-<!-- Footnotes Positioned At End of Document -->
+ <!-- Footnotes Positioned At End of Document -->
<value>docEnd</value>
</choice>
</list>
@@ -17996,9 +18081,9 @@
<list>
<xs:documentation>Endnote Positioning Location</xs:documentation>
<choice>
-<!-- Endnotes Positioned at End of Section -->
+ <!-- Endnotes Positioned at End of Section -->
<value>sectEnd</value>
-<!-- Endnotes Positioned at End of Document -->
+ <!-- Endnotes Positioned at End of Document -->
<value>docEnd</value>
</choice>
</list>
@@ -18019,11 +18104,11 @@
<list>
<xs:documentation>Footnote/Endnote Numbering Restart Locations</xs:documentation>
<choice>
-<!-- Continue Numbering From Previous Section -->
+ <!-- Continue Numbering From Previous Section -->
<value>continuous</value>
-<!-- Restart Numbering For Each Section -->
+ <!-- Restart Numbering For Each Section -->
<value>eachSect</value>
-<!-- Restart Numbering On Each Page -->
+ <!-- Restart Numbering On Each Page -->
<value>eachPage</value>
</choice>
</list>
@@ -18191,23 +18276,23 @@
<list>
<xs:documentation>Mail Merge ODSO Data Source Types</xs:documentation>
<choice>
-<!-- Database Data Source -->
+ <!-- Database Data Source -->
<value>database</value>
-<!-- Address Book Data Source -->
+ <!-- Address Book Data Source -->
<value>addressBook</value>
-<!-- Alternate Document Format Data Source -->
+ <!-- Alternate Document Format Data Source -->
<value>document1</value>
-<!-- Alternate Document Format Data Source Two -->
+ <!-- Alternate Document Format Data Source Two -->
<value>document2</value>
-<!-- Text File Data Source -->
+ <!-- Text File Data Source -->
<value>text</value>
-<!-- E-Mail Program Data Source -->
+ <!-- E-Mail Program Data Source -->
<value>email</value>
-<!-- Native Data Souce -->
+ <!-- Native Data Souce -->
<value>native</value>
-<!-- Legacy Document Format Data Source -->
+ <!-- Legacy Document Format Data Source -->
<value>legacy</value>
-<!-- Aggregate Data Source -->
+ <!-- Aggregate Data Source -->
<value>master</value>
</choice>
</list>
@@ -18342,27 +18427,27 @@
<list>
<xs:documentation>Target Screen Sizes for Generated Web Pages</xs:documentation>
<choice>
-<!-- Optimize for 544x376 -->
+ <!-- Optimize for 544x376 -->
<value>544x376</value>
-<!-- Optimize for 640x480 -->
+ <!-- Optimize for 640x480 -->
<value>640x480</value>
-<!-- Optimize for 720x512 -->
+ <!-- Optimize for 720x512 -->
<value>720x512</value>
-<!-- Optimize for 800x600 -->
+ <!-- Optimize for 800x600 -->
<value>800x600</value>
-<!-- Optimize for 1024x768 -->
+ <!-- Optimize for 1024x768 -->
<value>1024x768</value>
-<!-- Optimize for 1152x882 -->
+ <!-- Optimize for 1152x882 -->
<value>1152x882</value>
-<!-- Optimize for 1152x900 -->
+ <!-- Optimize for 1152x900 -->
<value>1152x900</value>
-<!-- Optimize for 1280x1024 -->
+ <!-- Optimize for 1280x1024 -->
<value>1280x1024</value>
-<!-- Optimize for 1600x1200 -->
+ <!-- Optimize for 1600x1200 -->
<value>1600x1200</value>
-<!-- Optimize for 1800x1440 -->
+ <!-- Optimize for 1800x1440 -->
<value>1800x1440</value>
-<!-- Optimize for 1920x1200 -->
+ <!-- Optimize for 1920x1200 -->
<value>1920x1200</value>
</choice>
</list>
@@ -18733,11 +18818,11 @@
<list>
<xs:documentation>Character-Level Whitespace Compression Settings</xs:documentation>
<choice>
-<!-- Do Not Compress Whitespace -->
+ <!-- Do Not Compress Whitespace -->
<value>doNotCompress</value>
-<!-- Compress Whitespace From Punctuation Characters -->
+ <!-- Compress Whitespace From Punctuation Characters -->
<value>compressPunctuation</value>
-<!-- Compress Whitespace From Both Japanese Kana And Punctuation Characters -->
+ <!-- Compress Whitespace From Both Japanese Kana And Punctuation Characters -->
<value>compressPunctuationAndJapaneseKana</value>
</choice>
</list>
@@ -18791,29 +18876,29 @@
<list>
<xs:documentation>Theme Color Reference</xs:documentation>
<choice>
-<!-- Dark 1 Theme Color Reference -->
+ <!-- Dark 1 Theme Color Reference -->
<value>dark1</value>
-<!-- Light 1 Theme Color Reference -->
+ <!-- Light 1 Theme Color Reference -->
<value>light1</value>
-<!-- Dark 2 Theme Color Reference -->
+ <!-- Dark 2 Theme Color Reference -->
<value>dark2</value>
-<!-- Light 2 Theme Color Reference -->
+ <!-- Light 2 Theme Color Reference -->
<value>light2</value>
-<!-- Accent 1 Theme Color Reference -->
+ <!-- Accent 1 Theme Color Reference -->
<value>accent1</value>
-<!-- Accent 2 Theme Color Reference -->
+ <!-- Accent 2 Theme Color Reference -->
<value>accent2</value>
-<!-- Accent 3 Theme Color Reference -->
+ <!-- Accent 3 Theme Color Reference -->
<value>accent3</value>
-<!-- Accent4 Theme Color Reference -->
+ <!-- Accent4 Theme Color Reference -->
<value>accent4</value>
-<!-- Accent5 Theme Color Reference -->
+ <!-- Accent5 Theme Color Reference -->
<value>accent5</value>
-<!-- Accent 6 Theme Color Reference -->
+ <!-- Accent 6 Theme Color Reference -->
<value>accent6</value>
-<!-- Hyperlink Theme Color Reference -->
+ <!-- Hyperlink Theme Color Reference -->
<value>hyperlink</value>
-<!-- Followed Hyperlink Theme Color Reference -->
+ <!-- Followed Hyperlink Theme Color Reference -->
<value>followedHyperlink</value>
</choice>
</list>
@@ -19459,11 +19544,11 @@
<list>
<xs:documentation>Frame Scrollbar Visibility</xs:documentation>
<choice>
-<!-- Always Show Scrollbar -->
+ <!-- Always Show Scrollbar -->
<value>on</value>
-<!-- Never Show Scrollbar -->
+ <!-- Never Show Scrollbar -->
<value>off</value>
-<!-- Automatically Show Scrollbar As Needed -->
+ <!-- Automatically Show Scrollbar As Needed -->
<value>auto</value>
</choice>
</list>
@@ -19520,11 +19605,11 @@
<list>
<xs:documentation>Frameset Layout Order</xs:documentation>
<choice>
-<!-- Stack Frames Vertically -->
+ <!-- Stack Frames Vertically -->
<value>rows</value>
-<!-- Stack Frames Horizontally -->
+ <!-- Stack Frames Horizontally -->
<value>cols</value>
-<!-- Do Not Stack Frames -->
+ <!-- Do Not Stack Frames -->
<value>none</value>
</choice>
</list>
@@ -19601,11 +19686,11 @@
<list>
<xs:documentation>Content Between Numbering Symbol and Paragraph Text</xs:documentation>
<choice>
-<!-- Tab Between Numbering and Text -->
+ <!-- Tab Between Numbering and Text -->
<value>tab</value>
-<!-- Space Between Numbering and Text -->
+ <!-- Space Between Numbering and Text -->
<value>space</value>
-<!-- Nothing Between Numbering and Text -->
+ <!-- Nothing Between Numbering and Text -->
<value>nothing</value>
</choice>
</list>
@@ -19734,11 +19819,11 @@
<list>
<xs:documentation>Numbering Definition Type</xs:documentation>
<choice>
-<!-- Single Level Numbering Definition -->
+ <!-- Single Level Numbering Definition -->
<value>singleLevel</value>
-<!-- Multilevel Numbering Definition -->
+ <!-- Multilevel Numbering Definition -->
<value>multilevel</value>
-<!-- Hybrid Multilevel Numbering Definition -->
+ <!-- Hybrid Multilevel Numbering Definition -->
<value>hybridMultilevel</value>
</choice>
</list>
@@ -19852,31 +19937,31 @@
<list>
<xs:documentation>Conditional Table Style Formatting Types</xs:documentation>
<choice>
-<!-- Whole table formatting -->
+ <!-- Whole table formatting -->
<value>wholeTable</value>
-<!-- First Row Conditional Formatting -->
+ <!-- First Row Conditional Formatting -->
<value>firstRow</value>
-<!-- Last table row formatting -->
+ <!-- Last table row formatting -->
<value>lastRow</value>
-<!-- First Column Conditional Formatting -->
+ <!-- First Column Conditional Formatting -->
<value>firstCol</value>
-<!-- Last table column formatting -->
+ <!-- Last table column formatting -->
<value>lastCol</value>
-<!-- Banded Column Conditional Formatting -->
+ <!-- Banded Column Conditional Formatting -->
<value>band1Vert</value>
-<!-- Even Column Stripe Conditional Formatting -->
+ <!-- Even Column Stripe Conditional Formatting -->
<value>band2Vert</value>
-<!-- Banded Row Conditional Formatting -->
+ <!-- Banded Row Conditional Formatting -->
<value>band1Horz</value>
-<!-- Even Row Stripe Conditional Formatting -->
+ <!-- Even Row Stripe Conditional Formatting -->
<value>band2Horz</value>
-<!-- Top right table cell formatting -->
+ <!-- Top right table cell formatting -->
<value>neCell</value>
-<!-- Top left table cell formatting -->
+ <!-- Top left table cell formatting -->
<value>nwCell</value>
-<!-- Bottom right table cell formatting -->
+ <!-- Bottom right table cell formatting -->
<value>seCell</value>
-<!-- Bottom left table cell formatting -->
+ <!-- Bottom left table cell formatting -->
<value>swCell</value>
</choice>
</list>
@@ -19927,13 +20012,13 @@
<list>
<xs:documentation>Style Types</xs:documentation>
<choice>
-<!-- Paragraph Style -->
+ <!-- Paragraph Style -->
<value>paragraph</value>
-<!-- Character Style -->
+ <!-- Character Style -->
<value>character</value>
-<!-- Table Style -->
+ <!-- Table Style -->
<value>table</value>
-<!-- Numbering Style -->
+ <!-- Numbering Style -->
<value>numbering</value>
</choice>
</list>
@@ -20166,17 +20251,17 @@
<list>
<xs:documentation>Font Family Value</xs:documentation>
<choice>
-<!-- Novelty Font -->
+ <!-- Novelty Font -->
<value>decorative</value>
-<!-- Monospace Font -->
+ <!-- Monospace Font -->
<value>modern</value>
-<!-- Proportional Font With Serifs -->
+ <!-- Proportional Font With Serifs -->
<value>roman</value>
-<!-- Script Font -->
+ <!-- Script Font -->
<value>script</value>
-<!-- Proportional Font Without Serifs -->
+ <!-- Proportional Font Without Serifs -->
<value>swiss</value>
-<!-- No Font Family -->
+ <!-- No Font Family -->
<value>auto</value>
</choice>
</list>
@@ -20191,11 +20276,11 @@
<list>
<xs:documentation>Font Pitch Value</xs:documentation>
<choice>
-<!-- Fixed Width -->
+ <!-- Fixed Width -->
<value>fixed</value>
-<!-- Proportional Width -->
+ <!-- Proportional Width -->
<value>variable</value>
-<!-- Default -->
+ <!-- Default -->
<value>default</value>
</choice>
</list>
@@ -20540,39 +20625,39 @@
<list>
<xs:documentation>Theme Color</xs:documentation>
<choice>
-<!-- Dark 1 Theme Color -->
+ <!-- Dark 1 Theme Color -->
<value>dark1</value>
-<!-- Light 1 Theme Color -->
+ <!-- Light 1 Theme Color -->
<value>light1</value>
-<!-- Dark 2 Theme Color -->
+ <!-- Dark 2 Theme Color -->
<value>dark2</value>
-<!-- Light 2 Theme Color -->
+ <!-- Light 2 Theme Color -->
<value>light2</value>
-<!-- Accent 1 Theme Color -->
+ <!-- Accent 1 Theme Color -->
<value>accent1</value>
-<!-- Accent 2 Theme Color -->
+ <!-- Accent 2 Theme Color -->
<value>accent2</value>
-<!-- Accent 3 Theme Color -->
+ <!-- Accent 3 Theme Color -->
<value>accent3</value>
-<!-- Accent 4 Theme Color -->
+ <!-- Accent 4 Theme Color -->
<value>accent4</value>
-<!-- Accent 5 Theme Color -->
+ <!-- Accent 5 Theme Color -->
<value>accent5</value>
-<!-- Accent 6 Theme Color -->
+ <!-- Accent 6 Theme Color -->
<value>accent6</value>
-<!-- Hyperlink Theme Color -->
+ <!-- Hyperlink Theme Color -->
<value>hyperlink</value>
-<!-- Followed Hyperlink Theme Color -->
+ <!-- Followed Hyperlink Theme Color -->
<value>followedHyperlink</value>
-<!-- No Theme Color -->
+ <!-- No Theme Color -->
<value>none</value>
-<!-- Background 1 Theme Color -->
+ <!-- Background 1 Theme Color -->
<value>background1</value>
-<!-- Text 1 Theme Color -->
+ <!-- Text 1 Theme Color -->
<value>text1</value>
-<!-- Background 2 Theme Color -->
+ <!-- Background 2 Theme Color -->
<value>background2</value>
-<!-- Text 2 Theme Color -->
+ <!-- Text 2 Theme Color -->
<value>text2</value>
</choice>
</list>
@@ -20581,11 +20666,11 @@
<list>
<xs:documentation>Insertion Behavior Types</xs:documentation>
<choice>
-<!-- Insert Content At Specified Location -->
+ <!-- Insert Content At Specified Location -->
<value>content</value>
-<!-- Ensure Entry Is In New Paragraph -->
+ <!-- Ensure Entry Is In New Paragraph -->
<value>p</value>
-<!-- Ensure Entry Is On New Page -->
+ <!-- Ensure Entry Is On New Page -->
<value>pg</value>
</choice>
</list>
@@ -20607,19 +20692,19 @@
<list>
<xs:documentation>Entry Types</xs:documentation>
<choice>
-<!-- No Type -->
+ <!-- No Type -->
<value>none</value>
-<!-- Normal -->
+ <!-- Normal -->
<value>normal</value>
-<!-- Automatically Replace Name With Content -->
+ <!-- Automatically Replace Name With Content -->
<value>autoExp</value>
-<!-- AutoText User Interface Entry -->
+ <!-- AutoText User Interface Entry -->
<value>toolbar</value>
-<!-- AutoCorrect Entry -->
+ <!-- AutoCorrect Entry -->
<value>speller</value>
-<!-- Form Field Help Text -->
+ <!-- Form Field Help Text -->
<value>formFld</value>
-<!-- Structured Document Tag Placeholder Text -->
+ <!-- Structured Document Tag Placeholder Text -->
<value>bbPlcHdr</value>
</choice>
</list>
@@ -20647,81 +20732,81 @@
<list>
<xs:documentation>Entry Gallery Types</xs:documentation>
<choice>
-<!-- Structured Document Tag Placeholder Text Gallery -->
+ <!-- Structured Document Tag Placeholder Text Gallery -->
<value>placeholder</value>
-<!-- All Galleries -->
+ <!-- All Galleries -->
<value>any</value>
-<!-- No Gallery Classification -->
+ <!-- No Gallery Classification -->
<value>default</value>
-<!-- Document Parts Gallery -->
+ <!-- Document Parts Gallery -->
<value>docParts</value>
-<!-- Cover Page Gallery -->
+ <!-- Cover Page Gallery -->
<value>coverPg</value>
-<!-- Equations Gallery -->
+ <!-- Equations Gallery -->
<value>eq</value>
-<!-- Footers Gallery -->
+ <!-- Footers Gallery -->
<value>ftrs</value>
-<!-- Headers Gallery -->
+ <!-- Headers Gallery -->
<value>hdrs</value>
-<!-- Page Numbers Gallery -->
+ <!-- Page Numbers Gallery -->
<value>pgNum</value>
-<!-- Table Gallery -->
+ <!-- Table Gallery -->
<value>tbls</value>
-<!-- Watermark Gallery -->
+ <!-- Watermark Gallery -->
<value>watermarks</value>
-<!-- AutoText Gallery -->
+ <!-- AutoText Gallery -->
<value>autoTxt</value>
-<!-- Text Box Gallery -->
+ <!-- Text Box Gallery -->
<value>txtBox</value>
-<!-- Page Numbers At Top Gallery -->
+ <!-- Page Numbers At Top Gallery -->
<value>pgNumT</value>
-<!-- Page Numbers At Bottom Gallery -->
+ <!-- Page Numbers At Bottom Gallery -->
<value>pgNumB</value>
-<!-- Page Numbers At Margins Gallery -->
+ <!-- Page Numbers At Margins Gallery -->
<value>pgNumMargins</value>
-<!-- Table of Contents Gallery -->
+ <!-- Table of Contents Gallery -->
<value>tblOfContents</value>
-<!-- Bibliography Gallery -->
+ <!-- Bibliography Gallery -->
<value>bib</value>
-<!-- Custom Quick Parts Gallery -->
+ <!-- Custom Quick Parts Gallery -->
<value>custQuickParts</value>
-<!-- Custom Cover Page Gallery -->
+ <!-- Custom Cover Page Gallery -->
<value>custCoverPg</value>
-<!-- Custom Equation Gallery -->
+ <!-- Custom Equation Gallery -->
<value>custEq</value>
-<!-- Custom Footer Gallery -->
+ <!-- Custom Footer Gallery -->
<value>custFtrs</value>
-<!-- Custom Header Gallery -->
+ <!-- Custom Header Gallery -->
<value>custHdrs</value>
-<!-- Custom Page Number Gallery -->
+ <!-- Custom Page Number Gallery -->
<value>custPgNum</value>
-<!-- Custom Table Gallery -->
+ <!-- Custom Table Gallery -->
<value>custTbls</value>
-<!-- Custom Watermark Gallery -->
+ <!-- Custom Watermark Gallery -->
<value>custWatermarks</value>
-<!-- Custom AutoText Gallery -->
+ <!-- Custom AutoText Gallery -->
<value>custAutoTxt</value>
-<!-- Custom Text Box Gallery -->
+ <!-- Custom Text Box Gallery -->
<value>custTxtBox</value>
-<!-- Custom Page Number At Top Gallery -->
+ <!-- Custom Page Number At Top Gallery -->
<value>custPgNumT</value>
-<!-- Custom Page Number At Bottom Gallery -->
+ <!-- Custom Page Number At Bottom Gallery -->
<value>custPgNumB</value>
-<!-- Custom Page Number At Margins Gallery -->
+ <!-- Custom Page Number At Margins Gallery -->
<value>custPgNumMargins</value>
-<!-- Custom Table of Contents Gallery -->
+ <!-- Custom Table of Contents Gallery -->
<value>custTblOfContents</value>
-<!-- Custom Bibliography Gallery -->
+ <!-- Custom Bibliography Gallery -->
<value>custBib</value>
-<!-- Custom 1 Gallery -->
+ <!-- Custom 1 Gallery -->
<value>custom1</value>
-<!-- Custom 2 Gallery -->
+ <!-- Custom 2 Gallery -->
<value>custom2</value>
-<!-- Custom 3 Gallery -->
+ <!-- Custom 3 Gallery -->
<value>custom3</value>
-<!-- Custom 4 Gallery -->
+ <!-- Custom 4 Gallery -->
<value>custom4</value>
-<!-- Custom 5 Gallery -->
+ <!-- Custom 5 Gallery -->
<value>custom5</value>
</choice>
</list>
@@ -20827,13 +20912,13 @@
<list>
<xs:documentation>Automatic Caption Positioning Values</xs:documentation>
<choice>
-<!-- Position Caption Above Object -->
+ <!-- Position Caption Above Object -->
<value>above</value>
-<!-- Position Caption Below Object -->
+ <!-- Position Caption Below Object -->
<value>below</value>
-<!-- Position Caption Left Of Object -->
+ <!-- Position Caption Left Of Object -->
<value>left</value>
-<!-- Position Caption Right Of Object -->
+ <!-- Position Caption Right Of Object -->
<value>right</value>
</choice>
</list>
@@ -20963,35 +21048,74 @@
<action name="end" tokenid="ooxml:EG_RunInnerContent_cr" action="cr"/>
</resource>
<resource name="ST_OnOff" resource="Boolean"/>
- <resource name="CT_OnOff" resource="BooleanValue"/>
+ <resource name="CT_OnOff" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_OnOff_val" action="setValue"/>
+ <action name="start" action="setDefaultBooleanValue"/>
+ </resource>
<resource name="ST_LongHexNumber" resource="Hex"/>
- <resource name="CT_LongHexNumber" resource="HexValue"/>
+ <resource name="CT_LongHexNumber" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_LongHexNumber_val" action="setValue"/>
+ <action name="start" action="setDefaultHexValue"/>
+ </resource>
<resource name="ST_ShortHexNumber" resource="Hex"/>
- <resource name="CT_ShortHexNumber" resource="IntegerValue"/>
+ <resource name="CT_ShortHexNumber" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_ShortHexNumber_val" action="setValue"/>
+ <action name="start" action="setDefaultHexValue"/>
+ </resource>
<resource name="ST_UcharHexNumber" resource="Hex"/>
- <resource name="CT_UcharHexNumber" resource="HexValue"/>
+ <resource name="CT_UcharHexNumber" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_UcharHexNumber_val" action="setValue"/>
+ <action name="start" action="setDefaultHexValue"/>
+ </resource>
<resource name="ST_DecimalNumber" resource="Integer"/>
- <resource name="CT_DecimalNumber" resource="IntegerValue"/>
+ <resource name="CT_DecimalNumber" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_DecimalNumber_val" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
+ </resource>
<resource name="ST_UnsignedDecimalNumber" resource="Integer" generated="yes"/>
<resource name="ST_TwipsMeasure" resource="Integer"/>
- <resource name="CT_TwipsMeasure" resource="IntegerValue"/>
+ <resource name="CT_TwipsMeasure" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_TwipsMeasure_val" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
+ </resource>
<resource name="ST_SignedTwipsMeasure" resource="Integer"/>
- <resource name="CT_SignedTwipsMeasure" resource="IntegerValue"/>
+ <resource name="CT_SignedTwipsMeasure" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_SignedTwipsMeasure_val" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
+ </resource>
<resource name="ST_PixelsMeasure" resource="Integer" generated="yes"/>
- <resource name="CT_PixelsMeasure" resource="IntegerValue"/>
+ <resource name="CT_PixelsMeasure" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_PixelsMeasure_val" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
+ </resource>
<resource name="ST_HpsMeasure" resource="Integer"/>
- <resource name="CT_HpsMeasure" resource="IntegerValue"/>
+ <resource name="CT_HpsMeasure" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_HpsMeasure_val" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
+ </resource>
<resource name="ST_SignedHpsMeasure" resource="Integer"/>
- <resource name="CT_SignedHpsMeasure" resource="IntegerValue"/>
+ <resource name="CT_SignedHpsMeasure" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_SignedHpsMeasure_val" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
+ </resource>
<resource name="ST_DateTime" resource="String" generated="yes"/>
<resource name="ST_MacroName" resource="String" generated="yes"/>
- <resource name="CT_MacroName" resource="StringValue" generated="yes"/>
+ <resource name="CT_MacroName" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_MacroName_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="ST_EighthPointMeasure" resource="Integer"/>
<resource name="ST_PointMeasure" resource="Integer"/>
<resource name="ST_String" resource="String"/>
- <resource name="CT_String" resource="StringValue"/>
+ <resource name="CT_String" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_String_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="ST_TextScale" resource="Integer"/>
- <resource name="CT_TextScale" resource="IntegerValue"/>
+ <resource name="CT_TextScale" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_TextScale_val" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
+ </resource>
<resource name="ST_HighlightColor" resource="List">
<value tokenid="1">black</value>
<value tokenid="2">blue</value>
@@ -21011,8 +21135,8 @@
<value tokenid="16">lightGray</value>
<value tokenid="0">none</value>
</resource>
- <resource name="CT_Highlight" resource="ListValue">
- <attribute name="val" tokenid="ooxml:CT_Highlight_val"/>
+ <resource name="CT_Highlight" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_Highlight_val" action="setValue"/>
</resource>
<resource name="ST_HexColorAuto" resource="List">
<value tokenid="ooxml:Value_ST_HexColorAuto_auto">auto</value>
@@ -21027,12 +21151,14 @@
</resource>
<resource name="ST_LangCode" resource="Hex" generated="yes"/>
<resource name="ST_Lang" resource="String"/>
- <resource name="CT_Lang" resource="StringValue">
- <attribute name="val" tokenid="ooxml:CT_Lang_val"/>
+ <resource name="CT_Lang" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_Lang_val" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
</resource>
<resource name="ST_Guid" resource="String"/>
- <resource name="CT_Guid" resource="StringValue">
- <attribute name="val" tokenid="ooxml:CT_Guid_val"/>
+ <resource name="CT_Guid" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_Guid_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
</resource>
<resource name="ST_Underline" resource="List">
<value tokenid="1">single</value>
@@ -21070,8 +21196,8 @@
<value tokenid="5">antsRed</value>
<value tokenid="6">shimmer</value>
</resource>
- <resource name="CT_TextEffect" resource="ListValue">
- <attribute name="val" tokenid="ooxml:CT_TextEffect_val"/>
+ <resource name="CT_TextEffect" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_TextEffect_val" action="setValue"/>
</resource>
<resource name="ST_Border" resource="List">
<value tokenid="255">nil</value>
@@ -21333,8 +21459,14 @@
<value name="superscript" tokenid="ooxml:Value_wordprocessingml_ST_VerticalAlignRun_superscript">superscript</value>
<value name="subscript" tokenid="ooxml:Value_wordprocessingml_ST_VerticalAlignRun_subscript">subscript</value>
</resource>
- <resource name="CT_VerticalAlignRun" resource="StringValue" generated="yes"/>
- <resource name="CT_FitText" resource="StringValue" generated="yes"/>
+ <resource name="CT_VerticalAlignRun" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_VerticalAlignRun_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
+ <resource name="CT_FitText" resource="Properties">
+ <attribute name="val" tokenid="ooxml:CT_FitText_val"/>
+ <attribute name="id" tokenid="ooxml:CT_FitText_id"/>
+ </resource>
<resource name="ST_Em" resource="List">
<value tokenid="0">none</value>
<value tokenid="1">dot</value>
@@ -21342,8 +21474,8 @@
<value tokenid="3">circle</value>
<value tokenid="4">underDot</value>
</resource>
- <resource name="CT_Em" resource="ListValue">
- <attribute name="val" tokenid="ooxml:CT_Em_val"/>
+ <resource name="CT_Em" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_Em_val" action="setValue"/>
</resource>
<resource name="CT_Language" resource="Properties">
<attribute name="val" tokenid="ooxml:CT_Language_val"/>
@@ -21484,8 +21616,8 @@
<value tokenid="ooxml:Value_ST_Jc_lowKashida">lowKashida</value>
<value tokenid="ooxml:Value_ST_Jc_thaiDistribute">thaiDistribute</value>
</resource>
- <resource name="CT_Jc" resource="ListValue">
- <attribute name="val" tokenid="ooxml:CT_Jc_val"/>
+ <resource name="CT_Jc" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_Jc_val" action="setValue"/>
</resource>
<resource name="ST_View" resource="List" generated="yes">
<value name="none" tokenid="ooxml:Value_wordprocessingml_ST_View_none">none</value>
@@ -21576,7 +21708,10 @@
<value name="email" tokenid="ooxml:Value_wordprocessingml_ST_MailMergeDocType_email">email</value>
<value name="fax" tokenid="ooxml:Value_wordprocessingml_ST_MailMergeDocType_fax">fax</value>
</resource>
- <resource name="CT_MailMergeDocType" resource="StringValue" generated="yes"/>
+ <resource name="CT_MailMergeDocType" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_MailMergeDocType_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="ST_MailMergeDataType" resource="List" generated="yes">
<value name="textFile" tokenid="ooxml:Value_wordprocessingml_ST_MailMergeDataType_textFile">textFile</value>
<value name="database" tokenid="ooxml:Value_wordprocessingml_ST_MailMergeDataType_database">database</value>
@@ -21585,19 +21720,28 @@
<value name="odbc" tokenid="ooxml:Value_wordprocessingml_ST_MailMergeDataType_odbc">odbc</value>
<value name="native" tokenid="ooxml:Value_wordprocessingml_ST_MailMergeDataType_native">native</value>
</resource>
- <resource name="CT_MailMergeDataType" resource="StringValue" generated="yes"/>
+ <resource name="CT_MailMergeDataType" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_MailMergeDataType_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="ST_MailMergeDest" resource="List" generated="yes">
<value name="newDocument" tokenid="ooxml:Value_wordprocessingml_ST_MailMergeDest_newDocument">newDocument</value>
<value name="printer" tokenid="ooxml:Value_wordprocessingml_ST_MailMergeDest_printer">printer</value>
<value name="email" tokenid="ooxml:Value_wordprocessingml_ST_MailMergeDest_email">email</value>
<value name="fax" tokenid="ooxml:Value_wordprocessingml_ST_MailMergeDest_fax">fax</value>
</resource>
- <resource name="CT_MailMergeDest" resource="StringValue" generated="yes"/>
+ <resource name="CT_MailMergeDest" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_MailMergeDest_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="ST_MailMergeOdsoFMDFieldType" resource="List" generated="yes">
<value name="null" tokenid="ooxml:Value_wordprocessingml_ST_MailMergeOdsoFMDFieldType_null">null</value>
<value name="dbColumn" tokenid="ooxml:Value_wordprocessingml_ST_MailMergeOdsoFMDFieldType_dbColumn">dbColumn</value>
</resource>
- <resource name="CT_MailMergeOdsoFMDFieldType" resource="StringValue" generated="yes"/>
+ <resource name="CT_MailMergeOdsoFMDFieldType" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_MailMergeOdsoFMDFieldType_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="CT_TrackChangesView" resource="Properties">
<attribute name="markup" tokenid="ooxml:CT_TrackChangesView_markup"/>
<attribute name="comments" tokenid="ooxml:CT_TrackChangesView_comments"/>
@@ -21617,7 +21761,9 @@
<value tokenid="ooxml:Value_ST_TextDirection_tbRlV">tbRlV</value>
<value tokenid="ooxml:Value_ST_TextDirection_tbLrV">tbLrV</value>
</resource>
- <resource name="CT_TextDirection" resource="ListValue"/>
+ <resource name="CT_TextDirection" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_TextDirection_val" action="setValue"/>
+ </resource>
<resource name="ST_TextAlignment" resource="List" generated="yes">
<value name="top" tokenid="ooxml:Value_wordprocessingml_ST_TextAlignment_top">top</value>
<value name="center" tokenid="ooxml:Value_wordprocessingml_ST_TextAlignment_center">center</value>
@@ -21625,6 +21771,9 @@
<value name="bottom" tokenid="ooxml:Value_wordprocessingml_ST_TextAlignment_bottom">bottom</value>
<value name="auto" tokenid="ooxml:Value_wordprocessingml_ST_TextAlignment_auto">auto</value>
</resource>
+ <resource name="CT_TextAlignment" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_TextAlignment_val" action="setValue"/>
+ </resource>
<resource name="ST_DisplacedByCustomXml" resource="List" generated="yes">
<value name="next" tokenid="ooxml:Value_wordprocessingml_ST_DisplacedByCustomXml_next">next</value>
<value name="prev" tokenid="ooxml:Value_wordprocessingml_ST_DisplacedByCustomXml_prev">prev</value>
@@ -21640,11 +21789,6 @@
<attribute name="author" tokenid="ooxml:CT_TrackChange_author"/>
<attribute name="date" tokenid="ooxml:CT_TrackChange_date"/>
</resource>
- <resource name="CT_ParaTrackChange" resource="Properties">
- <action name="start" action="tokenproperty"/>
- <action name="start" action="propagateCharacterPropertiesAsSet" sendtokenid="ooxml:paratrackchange"/>
- <action name="start" action="clearProps"/>
- </resource>
<resource name="CT_CellMergeTrackChange" resource="Properties">
<attribute name="vMerge" tokenid="ooxml:CT_CellMergeTrackChange_vMerge"/>
<attribute name="vMergeOrig" tokenid="ooxml:CT_CellMergeTrackChange_vMergeOrig"/>
@@ -21737,7 +21881,10 @@
<value name="firstLineOnly" tokenid="ooxml:Value_wordprocessingml_ST_TextboxTightWrap_firstLineOnly">firstLineOnly</value>
<value name="lastLineOnly" tokenid="ooxml:Value_wordprocessingml_ST_TextboxTightWrap_lastLineOnly">lastLineOnly</value>
</resource>
- <resource name="CT_TextboxTightWrap" resource="StringValue" generated="yes"/>
+ <resource name="CT_TextboxTightWrap" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_TextboxTightWrap_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="CT_PPrBase" resource="Properties">
<kind name="paragraph"/>
<element name="pStyle" tokenid="ooxml:CT_PPrBase_pStyle"/>
@@ -21842,8 +21989,14 @@
<value name="currentDate" tokenid="ooxml:Value_wordprocessingml_ST_FFTextType_currentDate">currentDate</value>
<value name="calculated" tokenid="ooxml:Value_wordprocessingml_ST_FFTextType_calculated">calculated</value>
</resource>
- <resource name="CT_FFTextType" resource="StringValue" generated="yes"/>
- <resource name="CT_FFName" resource="StringValue" generated="yes"/>
+ <resource name="CT_FFTextType" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_FFTextType_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
+ <resource name="CT_FFName" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_FFName_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="CT_FldChar" resource="Stream">
<element name="fldData" tokenid="ooxml:CT_FldChar_fldData"/>
<element name="ffData" tokenid="ooxml:CT_FldChar_ffData"/>
@@ -21873,8 +22026,26 @@
<action name="start" action="fieldsep"/>
<action name="end" action="fieldend"/>
</resource>
- <resource name="CT_FFHelpText" resource="StringValue" generated="yes"/>
- <resource name="CT_FFStatusText" resource="StringValue" generated="yes"/>
+ <resource name="CT_FFData" resource="Properties">
+ <element name="name" tokenid="ooxml:CT_FFData_name"/>
+ <element name="enabled" tokenid="ooxml:CT_FFData_enabled"/>
+ <element name="calcOnExit" tokenid="ooxml:CT_FFData_calcOnExit"/>
+ <element name="entryMacro" tokenid="ooxml:CT_FFData_entryMacro"/>
+ <element name="exitMacro" tokenid="ooxml:CT_FFData_exitMacro"/>
+ <element name="helpText" tokenid="ooxml:CT_FFData_helpText"/>
+ <element name="statusText" tokenid="ooxml:CT_FFData_statusText"/>
+ <element name="checkBox" tokenid="ooxml:CT_FFData_checkBox"/>
+ <element name="ddList" tokenid="ooxml:CT_FFData_ddList"/>
+ <element name="textInput" tokenid="ooxml:CT_FFData_textInput"/>
+ </resource>
+ <resource name="CT_FFHelpText" resource="Properties">
+ <attribute name="type" tokenid="ooxml:CT_FFHelpText_type"/>
+ <attribute name="val" tokenid="ooxml:CT_FFHelpText_val"/>
+ </resource>
+ <resource name="CT_FFStatusText" resource="Properties">
+ <attribute name="type" tokenid="ooxml:CT_FFStatusText_type"/>
+ <attribute name="val" tokenid="ooxml:CT_FFStatusText_val"/>
+ </resource>
<resource name="ST_SectionMark" resource="List">
<value tokenid="0">continuous</value>
<value tokenid="1">nextColumn</value>
@@ -21882,7 +22053,9 @@
<value tokenid="3">evenPage</value>
<value tokenid="4">oddPage</value>
</resource>
- <resource name="CT_SectType" resource="ListValue"/>
+ <resource name="CT_SectType" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_SectType_val" action="setValue"/>
+ </resource>
<resource name="ST_NumberFormat" resource="List">
<value tokenid="ooxml:Value_ST_NumberFormat_decimal">decimal</value>
<value tokenid="ooxml:Value_ST_NumberFormat_upperRoman">upperRoman</value>
@@ -22027,7 +22200,9 @@
<value tokenid="2">both</value>
<value tokenid="3">bottom</value>
</resource>
- <resource name="CT_VerticalJc" resource="ListValue"/>
+ <resource name="CT_VerticalJc" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_VerticalJc_val" action="setValue"/>
+ </resource>
<resource name="ST_DocGrid" resource="List" generated="yes">
<value name="default" tokenid="ooxml:Value_wordprocessingml_ST_DocGrid_default">default</value>
<value name="lines" tokenid="ooxml:Value_wordprocessingml_ST_DocGrid_lines">lines</value>
@@ -22282,6 +22457,11 @@
<element name="del" tokenid="ooxml:CT_ParaRPr_del"/>
<element name="rPrChange" tokenid="ooxml:CT_ParaRPr_rPrChange"/>
</resource>
+ <resource name="CT_ParaTrackChange" resource="Properties">
+ <action name="start" action="tokenproperty"/>
+ <action name="start" action="propagateCharacterPropertiesAsSet" sendtokenid="ooxml:paratrackchange"/>
+ <action name="start" action="clearProps"/>
+ </resource>
<resource name="ST_RubyAlign" resource="List" generated="yes">
<value name="center" tokenid="ooxml:Value_wordprocessingml_ST_RubyAlign_center">center</value>
<value name="distributeLetter" tokenid="ooxml:Value_wordprocessingml_ST_RubyAlign_distributeLetter">distributeLetter</value>
@@ -22290,20 +22470,29 @@
<value name="right" tokenid="ooxml:Value_wordprocessingml_ST_RubyAlign_right">right</value>
<value name="rightVertical" tokenid="ooxml:Value_wordprocessingml_ST_RubyAlign_rightVertical">rightVertical</value>
</resource>
- <resource name="CT_RubyAlign" resource="StringValue" generated="yes"/>
+ <resource name="CT_RubyAlign" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_RubyAlign_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="ST_Lock" resource="List" generated="yes">
<value name="sdtLocked" tokenid="ooxml:Value_wordprocessingml_ST_Lock_sdtLocked">sdtLocked</value>
<value name="contentLocked" tokenid="ooxml:Value_wordprocessingml_ST_Lock_contentLocked">contentLocked</value>
<value name="unlocked" tokenid="ooxml:Value_wordprocessingml_ST_Lock_unlocked">unlocked</value>
<value name="sdtContentLocked" tokenid="ooxml:Value_wordprocessingml_ST_Lock_sdtContentLocked">sdtContentLocked</value>
</resource>
- <resource name="CT_Lock" resource="StringValue" generated="yes"/>
+ <resource name="CT_Lock" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_Lock_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="ST_SdtDateMappingType" resource="List" generated="yes">
<value name="text" tokenid="ooxml:Value_wordprocessingml_ST_SdtDateMappingType_text">text</value>
<value name="date" tokenid="ooxml:Value_wordprocessingml_ST_SdtDateMappingType_date">date</value>
<value name="dateTime" tokenid="ooxml:Value_wordprocessingml_ST_SdtDateMappingType_dateTime">dateTime</value>
</resource>
- <resource name="CT_SdtDateMappingType" resource="StringValue" generated="yes"/>
+ <resource name="CT_SdtDateMappingType" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_SdtDateMappingType_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="ST_CalendarType" resource="List" generated="yes">
<value name="gregorian" tokenid="ooxml:Value_wordprocessingml_ST_CalendarType_gregorian">gregorian</value>
<value name="hijri" tokenid="ooxml:Value_wordprocessingml_ST_CalendarType_hijri">hijri</value>
@@ -22316,9 +22505,16 @@
<value name="gregorianXlitEnglish" tokenid="ooxml:Value_wordprocessingml_ST_CalendarType_gregorianXlitEnglish">gregorianXlitEnglish</value>
<value name="gregorianXlitFrench" tokenid="ooxml:Value_wordprocessingml_ST_CalendarType_gregorianXlitFrench">gregorianXlitFrench</value>
</resource>
- <resource name="CT_CalendarType" resource="StringValue" generated="yes"/>
+ <resource name="CT_CalendarType" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_CalendarType_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="CT_SdtContentRun" resource="Properties"/>
- <resource name="CT_Attr" resource="StringValue" generated="yes"/>
+ <resource name="CT_Attr" resource="Properties">
+ <attribute name="uri" tokenid="ooxml:CT_Attr_uri"/>
+ <attribute name="name" tokenid="ooxml:CT_Attr_name"/>
+ <attribute name="val" tokenid="ooxml:CT_Attr_val"/>
+ </resource>
<resource name="CT_CustomXmlRun" resource="Properties">
<element name="customXmlPr" tokenid="ooxml:CT_CustomXmlRun_customXmlPr"/>
<attribute name="uri" tokenid="ooxml:CT_CustomXmlRun_uri"/>
@@ -22355,13 +22551,16 @@
<attribute name="w" tokenid="ooxml:CT_TblWidth_w"/>
<attribute name="type" tokenid="ooxml:CT_TblWidth_type"/>
</resource>
- <resource name="CT_TblGridCol" resource="IntegerValue"/>
+ <resource name="CT_TblGridCol" resource="Value">
+ <attribute name="w" tokenid="ooxml:CT_TblGridCol_w" action="setValue"/>
+ <action name="start" action="setDefaultIntegerValue"/>
+ </resource>
<resource name="CT_TblGridBase" resource="Properties">
<element name="gridCol" tokenid="ooxml:CT_TblGridBase_gridCol"/>
</resource>
<resource name="CT_TblGrid" resource="Properties">
<element name="tblGridChange" tokenid="ooxml:CT_TblGrid_tblGridChange"/>
- <action name="end" action="propagateCharacterProperties"/>
+ <action name="end" action="propagateTableProperties"/>
<action name="end" action="clearProps"/>
</resource>
<resource name="CT_TcBorders" resource="Properties">
@@ -22387,11 +22586,11 @@
<value tokenid="ooxml:Value_ST_Merge_restart">restart</value>
<default tokenid="ooxml:Value_ST_Merge_continue"/>
</resource>
- <resource name="CT_VMerge" resource="ListValue">
- <default tokenid="ooxml:Value_ST_Merge_continue"/>
+ <resource name="CT_VMerge" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_VMerge_val" action="setValue"/>
</resource>
- <resource name="CT_HMerge" resource="ListValue">
- <default tokenid="ooxml:Value_ST_Merge_continue"/>
+ <resource name="CT_HMerge" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_HMerge_val" action="setValue"/>
</resource>
<resource name="CT_TcPrBase" resource="Properties">
<kind name="table"/>
@@ -22411,17 +22610,21 @@
</resource>
<resource name="CT_TcPr" resource="Properties">
<element name="tcPrChange" tokenid="ooxml:CT_TcPr_tcPrChange"/>
- <action name="end" action="propagateCharacterProperties"/>
+ <action name="end" action="propagateCellProperties"/>
<action name="end" action="clearProps"/>
</resource>
<resource name="CT_TcPrInner" resource="Properties"/>
<resource name="CT_Tc" resource="TextTableCell">
<action name="start" action="startCell"/>
<action name="end" action="endCell"/>
+ <action name="end" action="sendCellProperties"/>
<action name="end" action="endParagraphGroup"/>
</resource>
<resource name="ST_Cnf" resource="String" generated="yes"/>
- <resource name="CT_Cnf" resource="StringValue" generated="yes"/>
+ <resource name="CT_Cnf" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_Cnf_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="CT_TrPrBase" resource="Properties">
<kind name="table"/>
<element name="cnfStyle" tokenid="ooxml:CT_TrPrBase_cnfStyle"/>
@@ -22442,9 +22645,15 @@
<element name="ins" tokenid="ooxml:CT_TrPr_ins"/>
<element name="del" tokenid="ooxml:CT_TrPr_del"/>
<element name="trPrChange" tokenid="ooxml:CT_TrPr_trPrChange"/>
- <action name="end" action="propagateTableProperties"/>
+ <action name="end" action="propagateRowProperties"/>
+ <action name="end" action="clearProps"/>
+ </resource>
+ <resource name="CT_Row" resource="TextTableRow">
+ <action name="start" action="startRow"/>
+ <action name="end" action="sendRowProperties"/>
+ <action name="end" action="sendTableProperties"/>
+ <action name="end" action="endRow"/>
</resource>
- <resource name="CT_Row" resource="TextTableRow"/>
<resource name="ST_TblLayoutType" resource="List" generated="yes">
<value name="fixed" tokenid="ooxml:Value_wordprocessingml_ST_TblLayoutType_fixed">fixed</value>
<value name="autofit" tokenid="ooxml:Value_wordprocessingml_ST_TblLayoutType_autofit">autofit</value>
@@ -22453,7 +22662,9 @@
<value tokenid="ooxml:Value_ST_TblOverlap_never">never</value>
<value tokenid="ooxml:Value_ST_TblOverlap_overlap">overlap</value>
</resource>
- <resource name="CT_TblOverlap" resource="ListValue"/>
+ <resource name="CT_TblOverlap" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_TblOverlap_val" action="setValue"/>
+ </resource>
<resource name="CT_TblCellMar" resource="Properties">
<element name="top" tokenid="ooxml:CT_TblCellMar_top"/>
<element name="left" tokenid="ooxml:CT_TblCellMar_left"/>
@@ -22490,7 +22701,7 @@
<resource name="CT_TblPr" resource="Properties">
<kind name="table"/>
<element name="tblPrChange" tokenid="ooxml:CT_TblPr_tblPrChange"/>
- <action name="end" action="propagateCharacterProperties"/>
+ <action name="end" action="propagateTableProperties"/>
<action name="end" action="clearProps"/>
</resource>
<resource name="CT_Tbl" resource="TextTable"/>
@@ -22500,34 +22711,37 @@
<value tokenid="ooxml:Value_ST_FtnPos_sectEnd">sectEnd</value>
<value tokenid="ooxml:Value_ST_FtnPos_docEnd">docEnd</value>
</resource>
- <resource name="CT_FtnPos" resource="ListValue">
- <attribute name="val" tokenid="ooxml:CT_FtnPos_val"/>
+ <resource name="CT_FtnPos" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_FtnPos_val" action="setValue"/>
</resource>
<resource name="ST_EdnPos" resource="List">
<value tokenid="ooxml:Value_ST_EdnPos_sectEnd">sectEnd</value>
<value tokenid="ooxml:Value_ST_EdnPos_docEnd">docEnd</value>
</resource>
- <resource name="CT_EdnPos" resource="ListValue">
- <attribute name="val" tokenid="ooxml:CT_EdnPos_val"/>
+ <resource name="CT_EdnPos" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_EdnPos_val" action="setValue"/>
</resource>
- <resource name="CT_NumFmt" resource="ListValue">
- <attribute name="val" tokenid="ooxml:CT_NumFmt_val"/>
+ <resource name="CT_NumFmt" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_NumFmt_val" action="setValue"/>
</resource>
<resource name="ST_RestartNumber" resource="List">
<value tokenid="ooxml:Value_ST_RestartNumber_continuous">continuous</value>
<value tokenid="ooxml:Value_ST_RestartNumber_eachSect">eachSect</value>
<value tokenid="ooxml:Value_ST_RestartNumber_eachPage">eachPage</value>
</resource>
- <resource name="CT_NumRestart" resource="ListValue">
- <attribute name="val" tokenid="ooxml:CT_NumRestart_val"/>
+ <resource name="CT_NumRestart" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_NumRestart_val" action="setValue"/>
</resource>
<resource name="CT_FtnEdnRef" resource="Properties">
<attribute name="customMarkFollows" tokenid="ooxml:CT_FtnEdnRef_customMarkFollows"/>
<attribute name="id" tokenid="ooxml:CT_FtnEdnRef_id" action="setXNoteId"/>
<action name="end" action="handleXNotes"/>
</resource>
+ <resource name="CT_FtnEdnSepRef" resource="Properties">
+ <attribute name="id" tokenid="ooxml:CT_FtnEdnSepRef_id"/>
+ </resource>
<resource name="CT_FtnEdn" resource="XNote">
- <attribute name="type" tokenid="ooxml:CT_FtnEdn_type" action="checkXNoteType"/>
+ <attribute name="type" tokenid="ooxml:CT_FtnEdn_type"/>
<attribute name="id" tokenid="ooxml:CT_FtnEdn_id" action="checkId"/>
<action name="start" action="propagateCharacterProperties"/>
<action name="end" action="endSectionGroup"/>
@@ -22564,7 +22778,10 @@
<value name="legacy" tokenid="ooxml:Value_wordprocessingml_ST_MailMergeSourceType_legacy">legacy</value>
<value name="master" tokenid="ooxml:Value_wordprocessingml_ST_MailMergeSourceType_master">master</value>
</resource>
- <resource name="CT_MailMergeSourceType" resource="StringValue" generated="yes"/>
+ <resource name="CT_MailMergeSourceType" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_MailMergeSourceType_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="CT_MailMerge" resource="Properties">
<element name="mainDocumentType" tokenid="ooxml:CT_MailMerge_mainDocumentType"/>
<element name="linkToQuery" tokenid="ooxml:CT_MailMerge_linkToQuery"/>
@@ -22596,7 +22813,10 @@
<value name="1800x1440" tokenid="ooxml:Value_wordprocessingml_ST_TargetScreenSz_1800x1440">1800x1440</value>
<value name="1920x1200" tokenid="ooxml:Value_wordprocessingml_ST_TargetScreenSz_1920x1200">1920x1200</value>
</resource>
- <resource name="CT_TargetScreenSz" resource="StringValue" generated="yes"/>
+ <resource name="CT_TargetScreenSz" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_TargetScreenSz_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="CT_Compat" resource="Properties">
<element name="useSingleBorderforContiguousCells" tokenid="ooxml:CT_Compat_useSingleBorderforContiguousCells"/>
<element name="wpJustification" tokenid="ooxml:CT_Compat_wpJustification"/>
@@ -22664,7 +22884,10 @@
<element name="useAnsiKerningPairs" tokenid="ooxml:CT_Compat_useAnsiKerningPairs"/>
<element name="cachedColBalance" tokenid="ooxml:CT_Compat_cachedColBalance"/>
</resource>
- <resource name="CT_DocVar" resource="StringValue" generated="yes"/>
+ <resource name="CT_DocVar" resource="Properties">
+ <attribute name="name" tokenid="ooxml:CT_DocVar_name"/>
+ <attribute name="val" tokenid="ooxml:CT_DocVar_val"/>
+ </resource>
<resource name="CT_DocRsids" resource="Properties">
<element name="rsidRoot" tokenid="ooxml:CT_DocRsids_rsidRoot"/>
<element name="rsid" tokenid="ooxml:CT_DocRsids_rsid"/>
@@ -22674,7 +22897,10 @@
<value name="compressPunctuation" tokenid="ooxml:Value_wordprocessingml_ST_CharacterSpacing_compressPunctuation">compressPunctuation</value>
<value name="compressPunctuationAndJapaneseKana" tokenid="ooxml:Value_wordprocessingml_ST_CharacterSpacing_compressPunctuationAndJapaneseKana">compressPunctuationAndJapaneseKana</value>
</resource>
- <resource name="CT_CharacterSpacing" resource="StringValue" generated="yes"/>
+ <resource name="CT_CharacterSpacing" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_CharacterSpacing_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="CT_SaveThroughXslt" resource="Properties">
<attribute name="r:id" tokenid="ooxml:CT_SaveThroughXslt_r_id"/>
<attribute name="solutionID" tokenid="ooxml:CT_SaveThroughXslt_solutionID"/>
@@ -22816,19 +23042,28 @@
<value name="off" tokenid="ooxml:Value_wordprocessingml_ST_FrameScrollbar_off">off</value>
<value name="auto" tokenid="ooxml:Value_wordprocessingml_ST_FrameScrollbar_auto">auto</value>
</resource>
- <resource name="CT_FrameScrollbar" resource="StringValue" generated="yes"/>
+ <resource name="CT_FrameScrollbar" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_FrameScrollbar_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="ST_FrameLayout" resource="List" generated="yes">
<value name="rows" tokenid="ooxml:Value_wordprocessingml_ST_FrameLayout_rows">rows</value>
<value name="cols" tokenid="ooxml:Value_wordprocessingml_ST_FrameLayout_cols">cols</value>
<value name="none" tokenid="ooxml:Value_wordprocessingml_ST_FrameLayout_none">none</value>
</resource>
- <resource name="CT_FrameLayout" resource="StringValue" generated="yes"/>
+ <resource name="CT_FrameLayout" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_FrameLayout_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="ST_LevelSuffix" resource="List" generated="yes">
<value name="tab" tokenid="ooxml:Value_wordprocessingml_ST_LevelSuffix_tab">tab</value>
<value name="space" tokenid="ooxml:Value_wordprocessingml_ST_LevelSuffix_space">space</value>
<value name="nothing" tokenid="ooxml:Value_wordprocessingml_ST_LevelSuffix_nothing">nothing</value>
</resource>
- <resource name="CT_LevelSuffix" resource="StringValue" generated="yes"/>
+ <resource name="CT_LevelSuffix" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_LevelSuffix_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="CT_LevelText" resource="Properties">
<attribute name="val" tokenid="ooxml:CT_LevelText_val"/>
<attribute name="null" tokenid="ooxml:CT_LevelText_null"/>
@@ -22848,7 +23083,7 @@
<element name="suff" tokenid="ooxml:CT_Lvl_suff"/>
<element name="lvlText" tokenid="ooxml:CT_Lvl_lvlText"/>
<element name="lvlPicBulletId" tokenid="ooxml:CT_Lvl_lvlPicBulletId"/>
- <element name="legacy" tokenid="rtf:FWORD6"/>
+ <element name="legacy" tokenid="rtf:FCONVERTED"/>
<element name="lvlJc" tokenid="ooxml:CT_Lvl_lvlJc"/>
<element name="pPr" tokenid="ooxml:CT_Lvl_pPr"/>
<element name="rPr" tokenid="ooxml:CT_Lvl_rPr"/>
@@ -22861,7 +23096,9 @@
<value tokenid="ooxml:Value_ST_MultiLevelType_multilevel">multilevel</value>
<value tokenid="ooxml:Value_ST_MultiLevelType_hybridMultilevel">hybridMultilevel</value>
</resource>
- <resource name="CT_MultiLevelType" resource="ListValue"/>
+ <resource name="CT_MultiLevelType" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_MultiLevelType_val" action="setValue"/>
+ </resource>
<resource name="CT_AbstractNum" resource="Properties">
<kind name="paragraph"/>
<element name="nsid" tokenid="rtf:LSID"/>
@@ -22907,12 +23144,6 @@
<value tokenid="12">seCell</value>
<value tokenid="13">swCell</value>
</resource>
- <resource name="ST_StyleType" resource="List">
- <value tokenid="1">paragraph</value>
- <value tokenid="2">character</value>
- <value tokenid="3">table</value>
- <value tokenid="4">numbering</value>
- </resource>
<resource name="CT_Style_tblStylePr" resource="Properties">
<element name="pPr" tokenid="ooxml:CT_PPrBase"/>
<element name="rPr" tokenid="ooxml:EG_RPrBase"/>
@@ -22921,6 +23152,12 @@
<element name="tcPr" tokenid="ooxml:CT_TcPrBase"/>
<attribute name="type" tokenid="ooxml:CT_TblStyleOverrideType"/>
</resource>
+ <resource name="ST_StyleType" resource="List">
+ <value tokenid="1">paragraph</value>
+ <value tokenid="2">character</value>
+ <value tokenid="3">table</value>
+ <value tokenid="4">numbering</value>
+ </resource>
<resource name="CT_Style" resource="Properties">
<element name="name" tokenid="ooxml:CT_Style_name"/>
<element name="aliases" tokenid="ooxml:CT_Style_aliases"/>
@@ -22951,7 +23188,10 @@
</resource>
<resource name="CT_Styles" resource="Table" tokenid="rtf:STYLESHEET"/>
<resource name="ST_Panose" resource="Hex"/>
- <resource name="CT_Panose" resource="HexValue"/>
+ <resource name="CT_Panose" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_Panose_val" action="setValue"/>
+ <action name="start" action="setDefaultHexValue"/>
+ </resource>
<resource name="ST_FontFamily" resource="List">
<value tokenid="ooxml:Value_ST_FontFamily_decorative">decorative</value>
<value tokenid="ooxml:Value_ST_FontFamily_modern">modern</value>
@@ -22960,13 +23200,17 @@
<value tokenid="ooxml:Value_ST_FontFamily_swiss">swiss</value>
<value tokenid="ooxml:Value_ST_FontFamily_auto">auto</value>
</resource>
- <resource name="CT_FontFamily" resource="ListValue"/>
+ <resource name="CT_FontFamily" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_FontFamily_val" action="setValue"/>
+ </resource>
<resource name="ST_Pitch" resource="List">
<value tokenid="ooxml:Value_ST_Pitch_fixed">fixed</value>
<value tokenid="ooxml:Value_ST_Pitch_variable">variable</value>
<value tokenid="ooxml:Value_ST_Pitch_default">default</value>
</resource>
- <resource name="CT_Pitch" resource="ListValue"/>
+ <resource name="CT_Pitch" resource="Value">
+ <attribute name="val" tokenid="ooxml:CT_Pitch_val" action="setValue"/>
+ </resource>
<resource name="CT_FontSig" resource="Properties">
<attribute name="usb0" tokenid="ooxml:CT_FontSig_usb0"/>
<attribute name="usb1" tokenid="ooxml:CT_FontSig_usb1"/>
@@ -23008,7 +23252,7 @@
</resource>
<resource name="CT_Body" resource="Stream">
<action name="start" action="startSectionGroup"/>
-<!--
+ <!--
<action name="start" action="footnoteSeparator"/>
<action name="start" action="footnoteCont"/>
<action name="start" action="endnoteSeparator"/>
@@ -23033,31 +23277,14 @@
<attribute name="strokecolor" tokenid="ooxml:CT_ShapeDefaults_strokecolor"/>
<attribute name="allowincell" tokenid="ooxml:CT_ShapeDefaults_allowincell"/>
</resource>
- <resource name="CT_ShapeDefaults" resource="Properties">
- <element name="" tokenid="ooxml:CT_ShapeDefaults_"/>
- </resource>
- <resource name="CT_ShapeDefaults" resource="Properties">
- <element name="v:fill" tokenid="ooxml:CT_ShapeDefaults_v_fill"/>
- <element name="v:stroke" tokenid="ooxml:CT_ShapeDefaults_v_stroke"/>
- <element name="v:textbox" tokenid="ooxml:CT_ShapeDefaults_v_textbox"/>
- <element name="v:shadow" tokenid="ooxml:CT_ShapeDefaults_v_shadow"/>
- <element name="colormru" tokenid="ooxml:CT_ShapeDefaults_colormru"/>
- <element name="colormenu" tokenid="ooxml:CT_ShapeDefaults_colormenu"/>
- <attribute name="spidmax" tokenid="ooxml:CT_ShapeDefaults_spidmax"/>
- <attribute name="style" tokenid="ooxml:CT_ShapeDefaults_style"/>
- <attribute name="fill" tokenid="ooxml:CT_ShapeDefaults_fill"/>
- <attribute name="fillcolor" tokenid="ooxml:CT_ShapeDefaults_fillcolor"/>
- <attribute name="stroke" tokenid="ooxml:CT_ShapeDefaults_stroke"/>
- <attribute name="strokecolor" tokenid="ooxml:CT_ShapeDefaults_strokecolor"/>
- <attribute name="allowincell" tokenid="ooxml:CT_ShapeDefaults_allowincell"/>
- </resource>
- <resource name="CT_ShapeDefaults" resource="Properties">
- <element name="" tokenid="ooxml:CT_ShapeDefaults_"/>
- </resource>
<resource name="CT_Comments" resource="Stream">
<action name="start" action="startSectionGroup"/>
<action name="end" action="endSectionGroup"/>
</resource>
+ <resource name="CT_Footnotes" resource="Stream"/>
+ <resource name="footnotes" resource="Stream"/>
+ <resource name="CT_Endnotes" resource="Stream"/>
+ <resource name="endnotes" resource="Stream"/>
<resource name="CT_SmartTagType" resource="Properties">
<attribute name="namespaceuri" tokenid="ooxml:CT_SmartTagType_namespaceuri"/>
<attribute name="name" tokenid="ooxml:CT_SmartTagType_name"/>
@@ -23087,7 +23314,10 @@
<value name="p" tokenid="ooxml:Value_wordprocessingml_ST_DocPartBehavior_p">p</value>
<value name="pg" tokenid="ooxml:Value_wordprocessingml_ST_DocPartBehavior_pg">pg</value>
</resource>
- <resource name="CT_DocPartBehavior" resource="StringValue" generated="yes"/>
+ <resource name="CT_DocPartBehavior" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_DocPartBehavior_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="ST_DocPartType" resource="List" generated="yes">
<value name="none" tokenid="ooxml:Value_wordprocessingml_ST_DocPartType_none">none</value>
<value name="normal" tokenid="ooxml:Value_wordprocessingml_ST_DocPartType_normal">normal</value>
@@ -23097,7 +23327,10 @@
<value name="formFld" tokenid="ooxml:Value_wordprocessingml_ST_DocPartType_formFld">formFld</value>
<value name="bbPlcHdr" tokenid="ooxml:Value_wordprocessingml_ST_DocPartType_bbPlcHdr">bbPlcHdr</value>
</resource>
- <resource name="CT_DocPartType" resource="StringValue" generated="yes"/>
+ <resource name="CT_DocPartType" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_DocPartType_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
<resource name="ST_DocPartGallery" resource="List" generated="yes">
<value name="placeholder" tokenid="ooxml:Value_wordprocessingml_ST_DocPartGallery_placeholder">placeholder</value>
<value name="any" tokenid="ooxml:Value_wordprocessingml_ST_DocPartGallery_any">any</value>
@@ -23138,12 +23371,26 @@
<value name="custom4" tokenid="ooxml:Value_wordprocessingml_ST_DocPartGallery_custom4">custom4</value>
<value name="custom5" tokenid="ooxml:Value_wordprocessingml_ST_DocPartGallery_custom5">custom5</value>
</resource>
- <resource name="CT_DocPartGallery" resource="StringValue" generated="yes"/>
- <resource name="CT_DocPartName" resource="StringValue" generated="yes"/>
+ <resource name="CT_DocPartGallery" resource="Value" generated="yes">
+ <attribute name="val" tokenid="ooxml:CT_DocPartGallery_val" action="setValue"/>
+ <action name="start" action="setDefaultStringValue"/>
+ </resource>
+ <resource name="CT_DocPartName" resource="Properties">
+ <attribute name="val" tokenid="ooxml:CT_DocPartName_val"/>
+ <attribute name="decorated" tokenid="ooxml:CT_DocPartName_decorated"/>
+ </resource>
<resource name="settings" resource="Stream">
<element name="settings" tokenid="ooxml:settings_settings"/>
</resource>
- <resource name="numbering" resource="Stream"/>
+ <resource name="fonts" resource="Stream">
+ <element name="fonts" tokenid="rtf:FONTTABLE"/>
+ </resource>
+ <resource name="numbering" resource="Stream">
+ <element name="numbering" tokenid="ooxml:NUMBERING"/>
+ </resource>
+ <resource name="styles" resource="Stream">
+ <element name="styles" tokenid="rtf:STYLESHEET"/>
+ </resource>
<resource name="ST_CaptionPos" resource="List" generated="yes">
<value name="above" tokenid="ooxml:Value_wordprocessingml_ST_CaptionPos_above">above</value>
<value name="below" tokenid="ooxml:Value_wordprocessingml_ST_CaptionPos_below">below</value>
diff --git a/writerfilter/source/ooxml/modelcleanup.xsl b/writerfilter/source/ooxml/modelcleanup.xsl
index 364d41a6bc9c..d7a9aec40100 100644
--- a/writerfilter/source/ooxml/modelcleanup.xsl
+++ b/writerfilter/source/ooxml/modelcleanup.xsl
@@ -34,7 +34,7 @@
xmlns:xalan="http://xml.apache.org/xalan"
exclude-result-prefixes = "xalan"
xml:indent="true">
- <xsl:output method="xml" />
+ <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="no"/>
<xsl:key name="resources"
@@ -85,6 +85,116 @@
</xsl:element>
</xsl:template>
+ <xsl:template name="typeofdefine">
+ <xsl:for-each select="rng:data">
+ <xsl:choose>
+ <xsl:when test="@type='base64Binary'">
+ <xsl:text>String</xsl:text>
+ </xsl:when>
+ <xsl:when test="@type='boolean'">
+ <xsl:text>Boolean</xsl:text>
+ </xsl:when>
+ <xsl:when test="@type='byte'">
+ <xsl:text>Integer</xsl:text>
+ </xsl:when>
+ <xsl:when test="@type='dateTime'">
+ <xsl:text>String</xsl:text>
+ </xsl:when>
+ <xsl:when test="@type='decimal'">
+ <xsl:text>Integer</xsl:text>
+ </xsl:when>
+ <xsl:when test="@type='float'">
+ <xsl:text>Float</xsl:text>
+ </xsl:when>
+ <xsl:when test="@type='hexBinary'">
+ <xsl:text>Hex</xsl:text>
+ </xsl:when>
+ <xsl:when test="@type='int'">
+ <xsl:text>Integer</xsl:text>
+ </xsl:when>
+ <xsl:when test="@type='integer'">
+ <xsl:text>Integer</xsl:text>
+ </xsl:when>
+ <xsl:when test="@type='positiveInteger'">
+ <xsl:text>Integer</xsl:text>
+ </xsl:when>
+ <xsl:when test="@type='string'">
+ <xsl:text>String</xsl:text>
+ </xsl:when>
+ <xsl:when test="@type='token'">
+ <xsl:text>Integer</xsl:text>
+ </xsl:when>
+ <xsl:when test="@type='unsignedInt'">
+ <xsl:text>Integer</xsl:text>
+ </xsl:when>
+ <xsl:when test="@type='unsignedLong'">
+ <xsl:text>Integer</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>Unknown</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template name="typeofattribute">
+ <xsl:for-each select="rng:ref">
+ <xsl:variable name="name" select="@name"/>
+ <xsl:for-each select="ancestor::namespace/rng:grammar/rng:define[@name=$name]">
+ <xsl:call-template name="typeofdefine"/>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template name="generatevalueresource">
+ <xsl:variable name="name" select="@name"/>
+ <resource>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ <xsl:attribute name="resource">Value</xsl:attribute>
+ <xsl:attribute name="generated">yes</xsl:attribute>
+ <xsl:for-each select=".//rng:attribute">
+ <xsl:variable name="type">
+ <xsl:choose>
+ <xsl:when test="rng:ref[@name='ST_OnOff']">
+ <xsl:text>Boolean</xsl:text>
+ </xsl:when>
+ <xsl:when test="rng:text">
+ <xsl:text>String</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="typeofattribute"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <attribute>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ <xsl:attribute name="tokenid">
+ <xsl:text>ooxml:</xsl:text>
+ <xsl:value-of select="$name"/>
+ <xsl:text>_</xsl:text>
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ <xsl:attribute name="action">
+ <xsl:text>setValue</xsl:text>
+ </xsl:attribute>
+ </attribute>
+ <xsl:if test="string-length($type) > 0">
+ <action name="start">
+ <xsl:attribute name="action">
+ <xsl:text>setDefault</xsl:text>
+ <xsl:value-of select="$type"/>
+ <xsl:text>Value</xsl:text>
+ </xsl:attribute>
+ </action>
+ </xsl:if>
+ </xsl:for-each>
+ </resource>
+ </xsl:template>
+
<xsl:template match="namespace">
<xsl:variable name="nsid" select="generate-id(.)"/>
<xsl:element name="namespace">
@@ -97,10 +207,8 @@
<xsl:copy-of select="$resources"/>
<xsl:if test="count($resources) = 0">
<xsl:if test="substring(@name, 1, 3) = 'CT_'">
- <xsl:if test="./rng:attribute[@name='val']/rng:text">
- <xsl:call-template name="generateresource">
- <xsl:with-param name="resource">StringValue</xsl:with-param>
- </xsl:call-template>
+ <xsl:if test="./rng:attribute[@name='val']">
+ <xsl:call-template name="generatevalueresource"/>
</xsl:if>
</xsl:if>
<xsl:if test="substring(@name, 1, 3) = 'ST_'">
diff --git a/writerfilter/source/ooxml/modelpreprocess.xsl b/writerfilter/source/ooxml/modelpreprocess.xsl
index 2a78f8e748a6..0b898e63f933 100644
--- a/writerfilter/source/ooxml/modelpreprocess.xsl
+++ b/writerfilter/source/ooxml/modelpreprocess.xsl
@@ -60,8 +60,6 @@
xmlns:UML = 'org.omg.xmi.namespace.UML' xml:space="default">
<xsl:output method="xml" />
- <!--<xsl:include href="resourcestools.xsl"/>-->
-
<xsl:key name="namespace-aliases" match="//namespace-alias" use="@name"/>
<xsl:template match="/">
@@ -100,7 +98,7 @@
<xsl:value-of select="ancestor::namespace/rng:grammar/@ns"/>
</xsl:template>
- <xsl:template match="rng:element[@name] | rng:attribute[@name] | element | attribute">
+ <xsl:template match="rng:element[@name|./rng:anyName] | rng:attribute[@name] | element | attribute">
<xsl:variable name="prefix">
<xsl:choose>
<xsl:when test="contains(@name, ':')">
@@ -110,7 +108,7 @@
</xsl:call-template>
</xsl:when>
<xsl:when test="name(.)='attribute'">
- <xsl:if test="ancestor::rng:grammar/@attributeFormDefault='qualified'">
+ <xsl:if test="ancestor::namespace/rng:grammar/@attributeFormDefault='qualified'">
<xsl:call-template name="prefixforgrammar"/>
</xsl:if>
</xsl:when>
@@ -140,6 +138,9 @@
<xsl:when test="contains(@name, ':')">
<xsl:value-of select="substring-after(@name, ':')"/>
</xsl:when>
+ <xsl:when test="./rng:anyName">
+ <xsl:text>FAST_TOKENS_END</xsl:text>
+ </xsl:when>
<xsl:otherwise>
<xsl:value-of select="@name"/>
</xsl:otherwise>
diff --git a/writerfilter/source/ooxml/namespace_preprocess.pl b/writerfilter/source/ooxml/namespace_preprocess.pl
deleted file mode 100644
index 22c172329f61..000000000000
--- a/writerfilter/source/ooxml/namespace_preprocess.pl
+++ /dev/null
@@ -1,65 +0,0 @@
-$ARGV0 = shift @ARGV;
-
-print <<EOF;
-<?xml version="1.0"?>
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="xml"/>
-
- <xsl:include href="./modelpreprocess.xsl"/>
-
- <xsl:template match="namespace-alias[\@id]">
- <xsl:variable name="value">
- <xsl:call-template name="getnamespaceid">
- <xsl:with-param name="id" select="\@id" />
- </xsl:call-template>
- </xsl:variable>
- <xsl:copy>
- <xsl:apply-templates select="@*"/>
- <xsl:attribute name="id">
- <xsl:value-of select="\$value"/>
- </xsl:attribute>
- </xsl:copy>
- </xsl:template>
-
- <xsl:template name="getnamespaceid">
- <xsl:param name='id'/>
- <xsl:choose>
-EOF
-
-
-# print the mapping
-open ( NAMESPACES, $ARGV0 ) || die "can't open namespace file: $!";
-$group = 0;
-$i = 1;
-while ( <NAMESPACES> )
-{
- chomp( $_ );
- $_ =~ s/\s*//g;
- if ( $_ =~ m/^$/ )
- {
- # Start a new group
- $i = 0;
- $group++;
- }
- elsif ( $_ =~ m/^[^#]/ )
- {
- # Neither an empty line nor a comment
- $_ =~ /^[a-zA-Z0-9-_]+$/ or die "Invalid namespace token $_";
- $_ =~ s/-/_/g;
- $no = $group*10 + $i;
- print <<EOF;
- <xsl:when test="\$id = '$_'">
- <xsl:text>$no</xsl:text>
- </xsl:when>
-EOF
- ++$i;
- }
-}
-
-print <<EOF;
- </xsl:choose>
- </xsl:template>
-
-</xsl:stylesheet>
-EOF
diff --git a/writerfilter/source/ooxml/namespaceids.xsl b/writerfilter/source/ooxml/namespaceids.xsl
index 318155c47fdc..45828761da0c 100644
--- a/writerfilter/source/ooxml/namespaceids.xsl
+++ b/writerfilter/source/ooxml/namespaceids.xsl
@@ -58,7 +58,18 @@
<xsl:output method="text" />
<xsl:param name="prefix"/>
- <xsl:include href="resourcestools.xsl"/>
+ <xsl:include href="factorytools.xsl"/>
+
+<xsl:template name="namespaceids">
+ <xsl:for-each select="//namespace-alias">
+ <xsl:text>
+const sal_uInt32 </xsl:text>
+<xsl:call-template name="namespaceid"/>
+<xsl:text> = </xsl:text>
+<xsl:value-of select="@id"/>
+<xsl:text> &lt;&lt; 16;</xsl:text>
+ </xsl:for-each>
+</xsl:template>
<xsl:template match="/">
<out xml:space="preserve">
diff --git a/writerfilter/source/ooxml/nostatus.xsl b/writerfilter/source/ooxml/nostatus.xsl
new file mode 100644
index 000000000000..e2e113c6a602
--- /dev/null
+++ b/writerfilter/source/ooxml/nostatus.xsl
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:output method="text"/>
+
+<xsl:template match="/">
+ <xsl:for-each select="/stage3">
+ <xsl:for-each select="attribute|element">
+ <xsl:for-each select="file[nostatus]">
+ <xsl:value-of select="@name"/>
+ <xsl:text>:</xsl:text>
+ <xsl:value-of select="@line"/>
+ <xsl:text>&#xa;</xsl:text>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:for-each>
+</xsl:template>
+
+</xsl:stylesheet> \ No newline at end of file
diff --git a/writerfilter/source/ooxml/qnametostr.xsl b/writerfilter/source/ooxml/qnametostr.xsl
index 888eb36325e8..1c0a706df56d 100644
--- a/writerfilter/source/ooxml/qnametostr.xsl
+++ b/writerfilter/source/ooxml/qnametostr.xsl
@@ -63,7 +63,66 @@
xml:space="default">
<xsl:output method="text" />
- <xsl:include href="resourcestools.xsl"/>
+ <xsl:include href="factorytools.xsl"/>
+
+ <!--
+ Generates mapping from tokenids to strings. (DEBUG)
+ -->
+ <xsl:template name="qnametostr">
+ <xsl:text>
+void QNameToString::init_ooxml()
+{
+ /* ooxml */
+ </xsl:text>
+ <xsl:for-each select="//@tokenid">
+ <xsl:if test="generate-id(.) = generate-id(key('tokenids', .)[1]) and contains(., 'ooxml:')">
+ <xsl:text>
+ mMap[</xsl:text>
+ <xsl:call-template name="idtoqname">
+ <xsl:with-param name="id" select="."/>
+ </xsl:call-template>
+ <xsl:text>] = "</xsl:text>
+ <xsl:value-of select="."/>
+ <xsl:text>";</xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ <xsl:text>
+}
+ </xsl:text>
+ </xsl:template>
+
+ <xsl:template name="ooxmlidstoxml">
+ <xsl:text>
+void ooxmlsprmidsToXML(::std::ostream &amp; out)
+{</xsl:text>
+ <xsl:for-each select="//@tokenid">
+ <xsl:if test="contains(., 'ooxml:') and generate-id(.) = generate-id(key('tokenids', .)[1]) and ancestor::element">
+ <xsl:text>
+ out &lt;&lt; "&lt;theid name=\"</xsl:text>
+ <xsl:value-of select="."/>
+ <xsl:text>\"&gt;</xsl:text>
+ <xsl:value-of select="90000 + position()"/>
+ <xsl:text>&lt;/theid&gt;" &lt;&lt; endl; </xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ <xsl:text>
+}</xsl:text>
+ <xsl:text>
+void ooxmlidsToXML(::std::ostream &amp; out)
+{</xsl:text>
+ <xsl:for-each select="//@tokenid">
+ <xsl:if test="contains(., 'ooxml:') and generate-id(.) = generate-id(key('tokenids', .)[1]) and ancestor::attribute">
+ <xsl:text>
+ out &lt;&lt; "&lt;theid name=\"</xsl:text>
+ <xsl:value-of select="."/>
+ <xsl:text>\"&gt;</xsl:text>
+ <xsl:value-of select="90000 + position()"/>
+ <xsl:text>&lt;/theid&gt;" &lt;&lt; endl; </xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ <xsl:text>
+}</xsl:text>
+ </xsl:template>
<xsl:template match="/">
<xsl:call-template name="qnametostr"/>
diff --git a/writerfilter/source/ooxml/resourceids.xsl b/writerfilter/source/ooxml/resourceids.xsl
index 33eea88691ac..23ee6ffaad60 100644
--- a/writerfilter/source/ooxml/resourceids.xsl
+++ b/writerfilter/source/ooxml/resourceids.xsl
@@ -64,7 +64,27 @@
xml:space="default">
<xsl:output method="text" />
- <xsl:include href="resourcestools.xsl"/>
+ <xsl:include href="factorytools.xsl"/>
+
+ <!--
+ Generates contant definitions for tokenids.
+ -->
+ <xsl:template name="defineooxmlids">
+ <xsl:text>
+namespace NS_ooxml
+{</xsl:text>
+<xsl:for-each select="//@tokenid|//@sendtokenid">
+ <xsl:if test="contains(., 'ooxml:') and generate-id(.) = generate-id(key('tokenids', .)[1])">
+ <xsl:text>
+ const Id LN_</xsl:text>
+ <xsl:value-of select="substring-after(., 'ooxml:')"/>
+ <xsl:text> = </xsl:text>
+ <xsl:value-of select="90000 + position()"/>
+ <xsl:text>;</xsl:text>
+ </xsl:if>
+</xsl:for-each>
+}
+ </xsl:template>
<xsl:template match="/">
<out>
diff --git a/writerfilter/source/ooxml/resourcestools.xsl b/writerfilter/source/ooxml/resourcestools.xsl
deleted file mode 100644
index f7039aca5321..000000000000
--- a/writerfilter/source/ooxml/resourcestools.xsl
+++ /dev/null
@@ -1,2338 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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:xalan="http://xml.apache.org/xalan"
- xmlns:UML = 'org.omg.xmi.namespace.UML'
- exclude-result-prefixes = "xalan"
- xml:space="default">
- <xsl:output method="text" />
-
- <xsl:key name="same-attribute"
- match="rng:attribute" use="@name" />
-
- <xsl:key name="same-element"
- match="rng:element" use="@name" />
-
- <xsl:key name="defines-with-name"
- match="rng:define" use="@name" />
-
- <xsl:key name="same-element-enum"
- match="rng:element" use="@enumname"/>
-
- <xsl:key name="same-attribute-enum"
- match="rng:attribute" use="@enumname"/>
-
- <xsl:key name="same-element-or-attribute-enum"
- match="rng:attribute|rng:element" use="@enumname"/>
-
- <xsl:key name="context-resource"
- match="resource" use="@name"/>
-
- <xsl:key name="defines-with-application"
- match="rng:define" use="ancestor::rng:grammar/@application"/>
-
- <xsl:key name="namespace-aliases" match="//namespace-alias" use="@name"/>
-
- <!-- Tiny template helping devs to debug -->
- <xsl:template name="dbg_path">
- <xsl:text>/*</xsl:text>
- <xsl:for-each select="ancestor::*">
- <xsl:value-of select="name(.)"/>
- <xsl:text>/</xsl:text>
- </xsl:for-each>
- <xsl:value-of select="name(.)"/>
- <xsl:text>[@name=</xsl:text>
- <xsl:value-of select="@name"/>
- <xsl:text>]</xsl:text>
- <xsl:text>*/</xsl:text>
- </xsl:template>
-
- <xsl:template name="licenseheader">
- <xsl:text>
-/*
-
- THIS FILE IS GENERATED AUTOMATICALLY! DO NOT EDIT!
-
-*/
-&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template name="hasrefs">
- <xsl:choose>
- <xsl:when test=".//rng:ref[not(ancestor::rng:element or ancestor::rng:attribute)]">
- <xsl:text>1</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>0</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <!--
- Returns <define> for the current <ref>.
-
- The current node must be a <ref>!
- -->
- <xsl:template name="defineforref">
- <xsl:variable name="mygrammarid" select="generate-id(ancestor::rng:grammar)"/>
- <xsl:value-of select="key('defines-with-name', @name)[generate-id(ancestor::rng:grammar) = $mygrammarid]"/>
- </xsl:template>
-
- <!--
- Create name with prefix.
-
- The result is <prefix>:<name>.
-
- Exception: If <name> contains a ':' the prefix is ignored.
-
- @param prefix the prefix
- @param name the name
- -->
- <xsl:template name="prefixname">
- <xsl:param name="prefix"/>
- <xsl:param name="name"/>
- <xsl:choose>
- <xsl:when test="contains($name, ':')">
- <xsl:value-of select="$name"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$prefix"/>
- <xsl:text>:</xsl:text>
- <xsl:value-of select="$name"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="fastnamespace">
- <xsl:if test="string-length(@prefix) > 0">
- <xsl:text>NS_</xsl:text>
- <xsl:value-of select="@prefix"/>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="fastlocalname">
- <xsl:text>OOXML_</xsl:text>
- <xsl:value-of select="@localname"/>
- </xsl:template>
-
- <!--
- Create entries in enum definition for fast tokens.
-
- For each occurrence of rng:element an entry
-
- OOXML_<name>
-
- is generated, but only if the element is the first named <name>.
- -->
- <xsl:template name="enumfasttokens">
- <xsl:param name="prefix"/>
- <xsl:for-each select=".//rng:element|.//rng:attribute">
- <xsl:if test="generate-id(.) = generate-id(key('same-token-name', @localname)[1])">
- <xsl:call-template name="fastlocalname"/>
- <xsl:text>, &#xa; </xsl:text>
- </xsl:if>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="fasttokens">
- <xsl:text>
-typedef sal_Int32 Token_t;
- </xsl:text>
- <xsl:for-each select="/model/fasttoken">
- <xsl:text>
-const Token_t OOXML_</xsl:text>
-<xsl:value-of select="translate(., '-', '_')"/>
-<xsl:text> = </xsl:text>
-<xsl:value-of select="position() - 1"/>
-<xsl:text>;</xsl:text>
- </xsl:for-each>
- <xsl:text>
-const Token_t OOXML_FAST_TOKENS_END =</xsl:text>
-<xsl:value-of select="count(/model/fasttoken)"/>
-<xsl:text>;&#xa;</xsl:text>
- </xsl:template>
-
- <!--
- Returns prefix for the rng:grammar of the current node.
- -->
- <xsl:template name="prefixforgrammar">
- <xsl:variable name="ns" select="ancestor::rng:grammar/@ns"/>
- <xsl:variable name="nsalias"><xsl:value-of select="key('namespace-aliases', $ns)/@alias"/></xsl:variable>
- <!--<xsl:variable name="nsalias">test</xsl:variable>-->
- <xsl:choose>
- <xsl:when test="string-length($nsalias) > 0">
- <xsl:value-of select="$nsalias"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="translate(substring-after($ns, 'http://'), '/.', '__')"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <!--
- Returns prefix for the rng:grammar of the matching nodes.
- -->
- <xsl:template match="*" mode="grammar-prefix">
- <xsl:call-template name="prefixforgrammar"/>
- </xsl:template>
-
- <!--
- Generates name for fast context class for this <define>
- -->
- <xsl:template name="fastcontextname">
- <xsl:variable name="do">
- <xsl:call-template name="classfordefine"/>
- </xsl:variable>
- <xsl:if test="$do = '1'">
- <xsl:variable name="definename">
- <xsl:call-template name="searchdefinenamespace">
- <xsl:with-param name="name" select="@name"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:for-each select="/model/namespace[@name=substring-before($definename, ':')]">
- <xsl:text>OOXMLFastContextHandler_</xsl:text>
- <xsl:value-of select="@namespacealias"/>
- <xsl:text>_</xsl:text>
- <xsl:value-of select="substring-after($definename, ':')"/>
- </xsl:for-each>
- </xsl:if>
- </xsl:template>
-
- <!--
- Returns the value of the @resource attribute of the <resource>
- node according to the current <define>.
- -->
- <xsl:template name="contextresource">
- <xsl:variable name="mynsid" select="generate-id(ancestor::namespace)"/>
- <xsl:choose>
- <xsl:when test="count(key('context-resource', @name)) = 1">
- <xsl:value-of select="key('context-resource', @name)/@resource"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="key('context-resource', @name)[generate-id(ancestor::namespace)=$mynsid]/@resource"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <!--
- Returns a value name.
-
- The resulting value name is
-
- OOXMLValue_$prefix_$name
-
- @prefix the prefix
- @name the name
- -->
- <xsl:template name="valuename">
- <xsl:param name="prefix"/>
- <xsl:param name="name"/>
- <xsl:text>OOXMLValue_</xsl:text>
- <xsl:value-of select="$prefix"/>
- <xsl:text>_</xsl:text>
- <xsl:value-of select="$name"/>
- </xsl:template>
-
- <!--
- Returns the value name for the current <define>.
- -->
- <xsl:template name="valuenamefordefine">
- <xsl:call-template name="valuename">
- <xsl:with-param name="prefix" select="key('namespace-aliases', ancestor::namespace/rng:grammar/@ns)/@alias"/>
- <xsl:with-param name="name" select="translate(@name, '-', '_')"/>
- </xsl:call-template>
- </xsl:template>
-
- <!--
- Returns the name of the parent class of the class for the
- current <define>.
-
- Precondition: The class for the current <define> is derived
- indirectly from OOXMLValue.
-
- -->
- <xsl:template name="valueparent">
- <xsl:variable name="resource">
- <xsl:call-template name="contextresource"/>
- </xsl:variable>
- <xsl:text>OOXML</xsl:text>
- <xsl:value-of select="$resource"/>
- <xsl:text>Value</xsl:text>
- </xsl:template>
-
- <!--
- Generates declaration for a value class.
-
- Precondition: <resource> for current <define> indicates that the
- class is derived directly or indirectly from OOXMLValue.
- -->
- <xsl:template name="valuedecl">
- <xsl:variable name="classname">
- <xsl:call-template name="valuenamefordefine"/>
- </xsl:variable>
- <xsl:variable name="resource">
- <xsl:call-template name="contextresource"/>
- </xsl:variable>
- <xsl:text>
-class </xsl:text>
- <xsl:value-of select="$classname"/>
- <xsl:text> : public </xsl:text>
- <xsl:call-template name="valueparent"/>
- <xsl:text>
-{
-public:
- </xsl:text>
- <xsl:choose>
- <xsl:when test="$resource='List'">
- <xsl:value-of select="$classname"/>
- <xsl:text>(</xsl:text>
- <xsl:text>const rtl::OUString &amp; rValue</xsl:text>
- <xsl:text>);</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$classname"/>
- <xsl:text>(const rtl::OUString &amp; rValue) : </xsl:text>
- <xsl:call-template name="valueparent"/>
- <xsl:text>(rValue) {}</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>
- virtual ~</xsl:text>
- <xsl:value-of select="$classname"/>
- <xsl:text>() {}
-};
-</xsl:text>
- </xsl:template>
-
- <!--
- Checks if a class derived from OOXMLContex shall be defined for
- the current <define>.
-
- @retval 1 the class shall be defined.
- @retval 0 otherwise
- -->
- <xsl:template name="classfordefine">
- <!--
- <xsl:variable name="name" select="@name"/>
- <xsl:choose>
- <xsl:when test="(starts-with(@name, 'CT_') or starts-with(@name, 'EG_') or starts-with(@name, 'AG_'))">1</xsl:when>
- <xsl:when test="ancestor::namespace//start[@name=$name]">1</xsl:when>
- <xsl:otherwise>0</xsl:otherwise>
- </xsl:choose>
- -->
- <xsl:value-of select="@classfordefine"/>
- </xsl:template>
-
- <!--
- Checks if a class derived from OOXMLValue shall be defined for
- the current <define>.
-
- @retval 1 the class shall be defined
- @retval 0 otherwise
- -->
- <xsl:template name="valuefordefine">
- <xsl:choose>
- <xsl:when test="starts-with(@name, 'ST_')">1</xsl:when>
- <xsl:otherwise>0</xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="valuedecls">
- <xsl:for-each select=".//rng:grammar/rng:define">
- <xsl:variable name="dovalue">
- <xsl:call-template name="valuefordefine"/>
- </xsl:variable>
- <xsl:if test="$dovalue = '1'">
- <xsl:call-template name="valuedecl"/>
- </xsl:if>
- </xsl:for-each>
- </xsl:template>
-
- <!--
- Generate switch body for createFastChildContext
- -->
- <xsl:template name="switchbodycreatechildcontext">
- <xsl:for-each select=".//rng:element[@name]">
- <xsl:call-template name="caselabelfasttoken"/>
- <xsl:variable name="createstatement">
- <xsl:call-template name="fastelementcreatestatement"/>
- </xsl:variable>
- <xsl:if test="string-length($createstatement) > 0">
- <xsl:text>
- xContextHandler.set(</xsl:text>
- <xsl:value-of select="$createstatement"/>
- <xsl:text>);
- </xsl:text>
- </xsl:if>
- <xsl:text>
- break;
- </xsl:text>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="fastelementcreatefromrefstatement">
- <xsl:variable name="definename">
- <xsl:call-template name="searchdefinenamespace">
- <xsl:with-param name="name" select="@name"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:for-each select="/model/namespace[@name=substring-before($definename, ':')]">
- <xsl:for-each select="./rng:grammar/rng:define[@name=substring-after($definename, ':')]">
- <xsl:variable name="do">
- <xsl:call-template name="classfordefine"/>
- </xsl:variable>
- <xsl:if test="$do = '1'">
- <xsl:text>OOXMLFastHelper &lt;</xsl:text>
- <xsl:call-template name="fastcontextname"/>
- <xsl:text>&gt;::createAndSetParentRef(this, Element, Attribs)</xsl:text>
- </xsl:if>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="switchbodycreatechildcontextrefs">
- <xsl:for-each select=".//rng:ref[not (ancestor::rng:element or ancestor::rng:attribute)]">
- <xsl:variable name="createstatement">
- <xsl:call-template name="fastelementcreatefromrefstatement"/>
- </xsl:variable>
- <xsl:if test="string-length($createstatement) > 0">
- <xsl:text>
- if (! xContextHandler.is() || dynamic_cast&lt;OOXMLFastContextHandler *&gt;(xContextHandler.get())->isFallback())
- {
- xContextHandler.set(</xsl:text>
- <xsl:value-of select="$createstatement"/>
- <xsl:text>);
- }
- </xsl:text>
- </xsl:if>
- </xsl:for-each>
- <xsl:for-each select=".//rng:element[rng:anyName]">
- <xsl:variable name="createstatement">
- <xsl:call-template name="fastelementcreatestatement"/>
- </xsl:variable>
- <xsl:if test="string-length($createstatement) > 0">
- <xsl:text>
- if (! xContextHandler.is() || dynamic_cast&lt;OOXMLFastContextHandler *&gt;(xContextHandler.get())->isFallback())
- {
- xContextHandler.set(</xsl:text>
- <xsl:value-of select="$createstatement"/>
- <xsl:text>);
- }
- </xsl:text>
- </xsl:if>
- </xsl:for-each>
- </xsl:template>
-
- <!--
- Generates definition of method createFastChildContext for current <define>
- -->
- <xsl:template name="createfastchildcontext">
- <xsl:variable name="resource">
- <xsl:call-template name="contextresource"/>
- </xsl:variable>
- <xsl:if test="not($resource='Shape')">
- <xsl:variable name="switchbody">
- <xsl:call-template name="switchbodycreatechildcontext"/>
- </xsl:variable>
- <xsl:variable name="switchbodyrefs">
- <xsl:call-template name="switchbodycreatechildcontextrefs"/>
- </xsl:variable>
- <xsl:if test="string-length($switchbody) > 0 or string-length($switchbodyrefs) > 0">
- <xsl:text>
-uno::Reference &lt; xml::sax::XFastContextHandler &gt;
-</xsl:text>
-<xsl:call-template name="fastcontextname"/>
-<xsl:text>::lcl_createFastChildContext
-(::sal_Int32 Element,
- const uno::Reference &lt; xml::sax::XFastAttributeList &gt; &amp;</xsl:text>
-<xsl:if test="contains($switchbody, 'Attribs') or contains($switchbodyrefs, 'Attribs')">
- <xsl:text> Attribs</xsl:text>
-</xsl:if>
-<xsl:text>)
- throw (uno::RuntimeException, xml::sax::SAXException)
-{
- uno::Reference &lt; xml::sax::XFastContextHandler &gt; xContextHandler;
-</xsl:text>
-<xsl:if test="string-length($switchbody) > 0">
- <xsl:text>
- switch (Element)
- {
- </xsl:text>
- <xsl:value-of select="$switchbody"/>
- <xsl:text>
- default:
- break;
- }
- </xsl:text>
-</xsl:if>
-<xsl:if test="string-length($switchbodyrefs) > 0">
- <xsl:value-of select="$switchbodyrefs"/>
-</xsl:if>
-<xsl:text>
-
- return xContextHandler;
-}
-</xsl:text>
- </xsl:if>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="idforattr">
- <xsl:variable name="name" select="@name"/>
- <xsl:for-each select="ancestor::rng:define">
- <xsl:variable name="definename" select="@name"/>
- <xsl:for-each select="ancestor::namespace/resource[@name=$definename]">
- <xsl:for-each select="./attribute[@name=$name]">
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@tokenid"/>
- </xsl:call-template>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="idforelement">
- <xsl:variable name="name" select="@name"/>
- <xsl:for-each select="ancestor::rng:define">
- <xsl:variable name="definename" select="@name"/>
- <xsl:for-each select="ancestor::namespace/resource[@name=$definename]">
- <xsl:for-each select="./element[@name=$name]">
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@tokenid"/>
- </xsl:call-template>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:template>
-
- <!--
- Processes token id given in <resource> elements.
-
- The result is the identifier for the tokenid.
- -->
- <xsl:template name="processtokenid">
- <xsl:choose>
- <xsl:when test="contains(@tokenid, ':')">
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@tokenid"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="@tokenid"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="getidcaseimpl">
- <xsl:for-each select="attribute|element">
- <xsl:text>
- </xsl:text>
- <xsl:call-template name="caselabelfasttoken"/>
- <xsl:text>
- nResult = </xsl:text>
- <xsl:call-template name="processtokenid"/>
- <xsl:text>;
- break;</xsl:text>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="attributeproptype">
- <xsl:variable name="mynsid" select="generate-id(ancestor::namespace)"/>
- <xsl:variable name="name" select="@name"/>
- <xsl:variable name="resource" select="key('context-resource', @name)[generate-id(ancestor::namespace)=$mynsid]"/>
- <xsl:choose>
- <xsl:when test="$resource/element[@name=$name]">
- <xsl:text>OOXMLPropertyImpl::SPRM</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>OOXMLPropertyImpl::ATTRIBUTE</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <!--
- Check if a default is defined for a define.
-
- Returns if the <resource> for the current <define> has a
- <default> child.
-
- @retval 0 there is no default
- @retval 1 there is a default
- -->
- <xsl:template name="contexthasdefault">
- <xsl:variable name="name" select="@name"/>
- <xsl:choose>
- <xsl:when test="ancestor::namespace/resource[@name=$name]//default">1</xsl:when>
- <xsl:otherwise>0</xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <!--
- Chooses the action for the current <action> element.
- -->
- <xsl:template name="chooseaction">
- <xsl:if test="@tokenid">
- <xsl:text>
- if (sal::static_int_cast&lt;Id&gt;(getId()) == </xsl:text>
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@tokenid"/>
- </xsl:call-template>
- <xsl:text>)
- {</xsl:text>
- </xsl:if>
- <xsl:for-each select="./cond">
- <xsl:text>
- {
- OOXMLPropertySetEntryToInteger aHandler(</xsl:text>
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@tokenid"/>
- </xsl:call-template>
- <xsl:text>);
- getPropertySetAttrs()->resolve(aHandler);
-
- if (sal::static_int_cast&lt;Id&gt;(aHandler.getValue()) == </xsl:text>
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@value"/>
- </xsl:call-template>
- <xsl:text>)
- {</xsl:text>
- </xsl:for-each>
- <xsl:choose>
- <xsl:when test="@action='sendTableDepth'">
- <xsl:text>
- sendTableDepth();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='startCell'">
- <xsl:text>
- startCell();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='startParagraphGroup'">
- <xsl:text>
- startParagraphGroup();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='startCharacterGroup'">
- <xsl:text>
- startCharacterGroup();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='startSectionGroup'">
- <xsl:text>
- startSectionGroup();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='fieldstart'">
- <xsl:text>
- startField();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='fieldsep'">
- <xsl:text>
- fieldSeparator();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='fieldend'">
- <xsl:text>
- endField();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='ftnednref'">
- <xsl:text>
- ftnednref();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='ftnednsep'">
- <xsl:text>
- ftnednsep();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='ftnedncont'">
- <xsl:text>
- ftnedncont();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='pgNum'">
- <xsl:text>
- pgNum();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='tab'">
- <xsl:text>
- tab();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='cr'">
- <xsl:text>
- cr();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='noBreakHyphen'">
- <xsl:text>
- noBreakHyphen();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='softHyphen'">
- <xsl:text>
- softHyphen();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='endOfParagraph'">
- <xsl:text>
- endOfParagraph();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='handleLastParagraphInSection'">
- <xsl:text>
- handleLastParagraphInSection();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='setLastParagraphInSection'">
- <xsl:text>
- setLastParagraphInSection();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='endCell'">
- <xsl:text>
- endCell();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='endParagraphGroup'">
- <xsl:text>
- endParagraphGroup();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='endCharacterGroup'">
- <xsl:text>
- endCharacterGroup();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='endSectionGroup'">
- <xsl:text>
- endSectionGroup();</xsl:text>
- </xsl:when>
- <xsl:when test="@action='handleXNotes'">
- handleXNotes();</xsl:when>
- <xsl:when test="@action='handleHdrFtr'">
- handleHdrFtr();</xsl:when>
- <xsl:when test="@action='handleComment'">
- handleComment();</xsl:when>
- <xsl:when test="@action='handlePicture'">
- handlePicture();</xsl:when>
- <xsl:when test="@action='handleHyperlink'">
- handleHyperlink();</xsl:when>
- <xsl:when test="@action='handleBreak'">
- handleBreak();</xsl:when>
- <xsl:when test="@action='handleOLE'">
- handleOLE();</xsl:when>
- <xsl:when test="@action='printproperty'">
- <xsl:text>
- sendProperty(</xsl:text>
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@sendtokenid"/>
- </xsl:call-template>
- <xsl:text>);</xsl:text>
- </xsl:when>
- <xsl:when test="@action='propagateCharacterProperties'">
- propagateCharacterProperties();
- </xsl:when>
- <xsl:when test="@action='propagateCharacterPropertiesAsSet'">
- <xsl:text>
- propagateCharacterPropertiesAsSet(</xsl:text>
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@sendtokenid"/>
- </xsl:call-template>
- <xsl:text>);</xsl:text>
- </xsl:when>
- <xsl:when test="@action='propagateTableProperties'">
- propagateTableProperties();
- </xsl:when>
- <xsl:when test="@action='sendPropertiesWithId'">
- <xsl:text>
- sendPropertiesWithId(</xsl:text>
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@sendtokenid"/>
- </xsl:call-template>
- <xsl:text>);</xsl:text>
- </xsl:when>
- <xsl:when test="@action='clearProps'">
- clearProps();
- </xsl:when>
- <xsl:when test="@action='text'">
- text(sText);
- </xsl:when>
- <xsl:when test="@action='setHandle'">
- setHandle();
- </xsl:when>
-
- <xsl:when test="@action='footnoteSeparator'">
- footnoteSeparator();
- </xsl:when>
- <xsl:when test="@action='footnoteCont'">
- footnoteCont();
- </xsl:when>
- <xsl:when test="@action='endnoteSeparator'">
- endnoteSeparator();
- </xsl:when>
- <xsl:when test="@action='endnoteCont'">
- endnoteCont();
- </xsl:when>
- <xsl:when test="@action='newProperty'">
- <xsl:text>
- OOXMLFastHelper&lt;OOXMLIntegerValue&gt;::newProperty(this, </xsl:text>
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@tokenid"/>
- </xsl:call-template>
- <xsl:text>, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("</xsl:text>
- <xsl:value-of select="@value"/>
- <xsl:text>")));</xsl:text>
- </xsl:when>
- <xsl:when test="@action='mark'">
- <xsl:text>
- OOXMLFastHelper&lt;OOXMLIntegerValue&gt;::mark(this, </xsl:text>
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@sendtokenid"/>
- </xsl:call-template>
- <xsl:text>, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("</xsl:text>
- <xsl:value-of select="@value"/>
- <xsl:text>")));</xsl:text>
- </xsl:when>
- <xsl:when test="@action='tokenproperty'">
- <xsl:text>
- OOXMLFastHelper&lt;OOXMLIntegerValue&gt;::newProperty(this, </xsl:text>
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id">ooxml:token</xsl:with-param>
- </xsl:call-template>
- <xsl:text>, getToken());</xsl:text>
- </xsl:when>
- </xsl:choose>
- <xsl:for-each select="./cond">
- <xsl:text>
- }
- }</xsl:text>
- </xsl:for-each>
- <xsl:if test="@tokenid">
- <xsl:text>
- }</xsl:text>
- </xsl:if>
- </xsl:template>
-
- <!--
- Generates the definitions of the methods of the fast context class
- for the current <define>.
- -->
- <xsl:template name="fastcontextimpls">
- <xsl:param name="ns"/>
- <xsl:for-each select=".//namespace[@name=$ns]">
- <xsl:text>
-</xsl:text>
- <xsl:for-each select="./rng:grammar/rng:define">
- <xsl:variable name="do">
- <xsl:call-template name="classfordefine"/>
- </xsl:variable>
- <xsl:if test="$do = '1'">
- <xsl:variable name="classname">
- <xsl:call-template name="fastcontextname"/>
- </xsl:variable>
- <xsl:text>
-/*
- class: </xsl:text>
- <xsl:value-of select="$classname"/>
- <xsl:text>
-*/
-</xsl:text>
-<xsl:call-template name="fastcontextconstructor"/>
-<xsl:call-template name="fastcontextdestructor"/>
-<xsl:call-template name="faststartaction"/>
-<xsl:call-template name="fastendaction"/>
-<xsl:call-template name="createfastchildcontext"/>
-<xsl:call-template name="fastattribute"/>
-<xsl:call-template name="fastcharacters"/>
-<xsl:call-template name="propagatesproperties"/>
- </xsl:if>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:key name="value-with-content" match="//rng:value"
- use="text()"/>
-
- <!--
- Generates name for a value string.
-
- Value strings are possible values for attributes in OOXML.
-
- @param string the string as present in the according <rng:value>
- -->
- <xsl:template name="valuestringname">
- <xsl:param name="string"/>
- <xsl:text>OOXMLValueString_</xsl:text>
- <xsl:value-of select="translate($string, '-+ ,', 'mp__')"/>
- </xsl:template>
-
- <!--
- Generates constant definitions for attribute values.
- -->
- <xsl:template name="valueconstants">
- <xsl:text>
-rtl::OUString </xsl:text>
-<xsl:call-template name="valuestringname">
- <xsl:with-param name="string"></xsl:with-param>
-</xsl:call-template>
-<xsl:text>(RTL_CONSTASCII_USTRINGPARAM(""));</xsl:text>
-<xsl:for-each select="//rng:value[generate-id(key('value-with-content', text())[1]) = generate-id(.)]">
- <xsl:text>
-rtl::OUString </xsl:text>
-<xsl:call-template name="valuestringname">
- <xsl:with-param name="string" select="."/>
-</xsl:call-template>
-<xsl:text>(RTL_CONSTASCII_USTRINGPARAM("</xsl:text>
-<xsl:value-of select="."/>
-<xsl:text>"));</xsl:text>
-</xsl:for-each>
- </xsl:template>
-
- <!--
- Generates constant declarations for attribute values.
- -->
- <xsl:template name="valueconstantdecls">
- <xsl:text>
-extern rtl::OUString
- </xsl:text>
- <xsl:call-template name="valuestringname">
- <xsl:with-param name="string"></xsl:with-param>
- </xsl:call-template>
- <xsl:text>;</xsl:text>
- <xsl:for-each select="//rng:value[generate-id(key('value-with-content', text())[1]) = generate-id(.)]">
- <xsl:text>
-extern rtl::OUString </xsl:text>
- <xsl:call-template name="valuestringname">
- <xsl:with-param name="string" select="."/>
- </xsl:call-template>
- <xsl:text>;</xsl:text>
- </xsl:for-each>
- </xsl:template>
-
- <!--
- Generates definition of constructor for attribute value class
- for current <define>.
- -->
- <xsl:template name="valueconstructorimpl">
- <xsl:variable name="name" select="@name"/>
- <xsl:variable name="resource">
- <xsl:call-template name="contextresource"/>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$resource = 'List'">
- <xsl:variable name="classname">
- <xsl:call-template name="valuenamefordefine"/>
- </xsl:variable>
- <xsl:text>&#xa;</xsl:text>
- <xsl:value-of select="$classname"/>
- <xsl:text>::</xsl:text>
- <xsl:value-of select="$classname"/>
- <xsl:text>(const rtl::OUString &amp; </xsl:text>
- <xsl:choose>
- <xsl:when test="count(ancestor::namespace/resource[@name=$name]/value) > 0">
- <xsl:text>rValue</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>/* rValue */</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>)
-: OOXMLListValue()
-{</xsl:text>
- <xsl:for-each select="ancestor::namespace/resource[@name=$name]">
- <xsl:for-each select="./default">
- <xsl:text>
- mnValue = </xsl:text>
- <xsl:choose>
- <xsl:when test="@tokenid">
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@tokenid"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="."/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>;</xsl:text>
- </xsl:for-each>
- <xsl:for-each select="./value">
- <xsl:text>
- if (rValue.compareTo(</xsl:text>
- <xsl:call-template name="valuestringname">
- <xsl:with-param name="string" select="text()"/>
- </xsl:call-template>
- <xsl:text>) == 0)
- {
- mnValue = </xsl:text>
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@tokenid"/>
- </xsl:call-template>
- <xsl:text>;
- return;
- }</xsl:text>
- </xsl:for-each>
- </xsl:for-each>
- <xsl:text>
-}
-</xsl:text>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <!--
- Generates definition of destructor of attribute value class for
- current <define>.
- -->
- <xsl:template name="valuedestructorimpl">
- <xsl:variable name="classname">
- <xsl:call-template name="valuenamefordefine"/>
- </xsl:variable>
- <xsl:text>&#xa;</xsl:text>
- <xsl:value-of select="$classname"/>
- <xsl:text>::~</xsl:text>
- <xsl:value-of select="$classname"/>
- <xsl:text>()
-{
-}
- </xsl:text>
- </xsl:template>
-
- <!--
- Generates definitions for attribute value class for current
- <define>.
- -->
- <xsl:template name="valueimpls">
- <xsl:for-each select=".//rng:grammar/rng:define">
- <xsl:variable name="do">
- <xsl:call-template name="valuefordefine"/>
- </xsl:variable>
- <xsl:if test="$do = 1">
- <xsl:variable name="classname">
- <xsl:call-template name="valuenamefordefine"/>
- </xsl:variable>
- <xsl:text>
-/*
- class: </xsl:text>
- <xsl:value-of select="$classname"/>
- <xsl:text>
-*/
- </xsl:text>
- <xsl:call-template name="valueconstructorimpl"/>
- </xsl:if>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:key name="tokenids" match="@tokenid|@sendtokenid" use="."/>
-
- <!--
- Generates contant definitions for tokenids.
- -->
- <xsl:template name="defineooxmlids">
- <xsl:text>
-namespace NS_ooxml
-{</xsl:text>
-<xsl:for-each select="//@tokenid|//@sendtokenid">
- <xsl:if test="contains(., 'ooxml:') and generate-id(.) = generate-id(key('tokenids', .)[1])">
- <xsl:text>
- const Id LN_</xsl:text>
- <xsl:value-of select="substring-after(., 'ooxml:')"/>
- <xsl:text> = </xsl:text>
- <xsl:value-of select="90000 + position()"/>
- <xsl:text>;</xsl:text>
- </xsl:if>
-</xsl:for-each>
-}
- </xsl:template>
-
- <xsl:template name="ooxmlidstoxml">
- <xsl:text>
-void ooxmlsprmidsToXML(::std::ostream &amp; out)
-{</xsl:text>
- <xsl:for-each select="//@tokenid">
- <xsl:if test="contains(., 'ooxml:') and generate-id(.) = generate-id(key('tokenids', .)[1]) and ancestor::element">
- <xsl:text>
- out &lt;&lt; "&lt;theid name=\"</xsl:text>
- <xsl:value-of select="."/>
- <xsl:text>\"&gt;</xsl:text>
- <xsl:value-of select="90000 + position()"/>
- <xsl:text>&lt;/theid&gt;" &lt;&lt; endl; </xsl:text>
- </xsl:if>
- </xsl:for-each>
- <xsl:text>
-}</xsl:text>
- <xsl:text>
-void ooxmlidsToXML(::std::ostream &amp; out)
-{</xsl:text>
- <xsl:for-each select="//@tokenid">
- <xsl:if test="contains(., 'ooxml:') and generate-id(.) = generate-id(key('tokenids', .)[1]) and ancestor::attribute">
- <xsl:text>
- out &lt;&lt; "&lt;theid name=\"</xsl:text>
- <xsl:value-of select="."/>
- <xsl:text>\"&gt;</xsl:text>
- <xsl:value-of select="90000 + position()"/>
- <xsl:text>&lt;/theid&gt;" &lt;&lt; endl; </xsl:text>
- </xsl:if>
- </xsl:for-each>
- <xsl:text>
-}</xsl:text>
- </xsl:template>
-
- <!--
- Generates mapping from tokenids to strings. (DEBUG)
- -->
- <xsl:template name="qnametostr">
- <xsl:text>
-void QNameToString::init_ooxml()
-{
- /* ooxml */
- </xsl:text>
- <xsl:for-each select="//@tokenid">
- <xsl:if test="generate-id(.) = generate-id(key('tokenids', .)[1]) and contains(., 'ooxml:')">
- <xsl:text>
- mMap[</xsl:text>
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="."/>
- </xsl:call-template>
- <xsl:text>] = "</xsl:text>
- <xsl:value-of select="."/>
- <xsl:text>";</xsl:text>
- </xsl:if>
- </xsl:for-each>
- <xsl:text>
-}
- </xsl:text>
- </xsl:template>
-
- <xsl:template name="qnametostrfunc">
- <xsl:text>
-string qnameToString(sal_uInt32 nToken)
-{
- string sResult;
-
- switch (nToken)
- {</xsl:text>
- <xsl:for-each select="//resource">
- <xsl:variable name="name" select="@name"/>
- <xsl:for-each select="attribute|element">
- <xsl:if test="contains(@tokenid, 'ooxml:')">
- <xsl:text>
- case </xsl:text>
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@tokenid"/>
- </xsl:call-template>
- <xsl:text>:
- sResult = "</xsl:text>
- <xsl:value-of select="@token"/>
- <xsl:text>";
- break;</xsl:text>
- </xsl:if>
- </xsl:for-each>
- </xsl:for-each>
- <xsl:text>
- default:
- ;
- }
-
- return sResult;
-}</xsl:text>
- </xsl:template>
-
- <xsl:key name="resources-with-kind" match="resource[.//kind]"
- use=".//kind/@name"/>
-
- <xsl:key name="sprms-with-code" match="element" use="@tokenid"/>
-
- <!--
- Generates case labels for mapping from token ids to a single kind
- of sprm.
-
- @param kind the sprm kind for which to generate the case labels
- -->
- <xsl:template name="sprmkindcase">
- <xsl:param name="kind"/>
- <xsl:for-each select="key('resources-with-kind', $kind)/element">
- <xsl:if test="generate-id(.) = generate-id(key('sprms-with-code', @tokenid))">
- <xsl:text>
- case </xsl:text>
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@tokenid"/>
- </xsl:call-template>
- <xsl:text>: //</xsl:text>
- <xsl:value-of select="ancestor::resource/@name"/>
- <xsl:text>, </xsl:text>
- <xsl:value-of select="@name"/>
- </xsl:if>
- </xsl:for-each>
- </xsl:template>
-
- <!--
- Generates SprmKind.
- -->
- <xsl:template name="sprmkind">
- <xsl:text>
-Sprm::Kind SprmKind(sal_uInt32 nSprmCode)
-{
- Sprm::Kind nResult = Sprm::UNKNOWN;
-
- switch (nSprmCode)
- {</xsl:text>
- <xsl:call-template name="sprmkindcase">
- <xsl:with-param name="kind">paragraph</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
- nResult = Sprm::PARAGRAPH;
- break;</xsl:text>
- <xsl:call-template name="sprmkindcase">
- <xsl:with-param name="kind">character</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
- nResult = Sprm::CHARACTER;
- break;</xsl:text>
- <xsl:call-template name="sprmkindcase">
- <xsl:with-param name="kind">table</xsl:with-param>
- </xsl:call-template>
- <xsl:text>
- nResult = Sprm::TABLE;
- break;</xsl:text>
- <xsl:text>
- default:
- break;
- }
-
- return nResult;
-}</xsl:text>
- </xsl:template>
-
- <!--
- Generates qname for id.
-
- @param id the id to generate qname for
-
- If id is of format <prefix>:<localname> the result is
-
- NS_<prefix>::LN_<localname>
-
- If id does not contain ":" the result is just id.
- -->
- <xsl:template name='idtoqname'>
- <xsl:param name='id'/>
- <xsl:choose>
- <xsl:when test="contains($id, ':')">
- <xsl:text>NS_</xsl:text>
- <xsl:value-of select='substring-before($id, ":")'/>
- <xsl:text>::LN_</xsl:text>
- <xsl:value-of select='substring-after($id, ":")'/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$id"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:key name="same-token-name" match="rng:element|rng:attribute" use="@localname"/>
-
- <!--
- Generates input for gperf to genreate hash map for OOXMLFastTokenHandler
- -->
- <xsl:template name="gperfinputfasttokenhandler">
- <xsl:text>
-%{
-#include "OOXMLFastTokens.hxx"
-
-namespace writerfilter { namespace ooxml { namespace tokenmap {
-%}
-struct token { const char * name; Token_t nToken; };
-%%</xsl:text>
- <xsl:for-each select=".//rng:element|.//rng:attribute">
- <xsl:if test="generate-id(.) = generate-id(key('same-token-name', @localname)[1])">
- <xsl:text>&#xa;</xsl:text>
- <xsl:value-of select="@localname"/>
- <xsl:text>, </xsl:text>
- <xsl:call-template name="fastlocalname"/>
- </xsl:if>
- </xsl:for-each>
- <xsl:text>
-%%&#xa;</xsl:text>
-}}}&#xa;</xsl:template>
-
-<xsl:template name="namespaceid">
- <xsl:text>NS_</xsl:text>
- <xsl:value-of select="@alias"/>
-</xsl:template>
-
-<xsl:template name="namespaceids">
- <xsl:for-each select="//namespace-alias">
- <xsl:text>
-const sal_uInt32 </xsl:text>
-<xsl:call-template name="namespaceid"/>
-<xsl:text> = </xsl:text>
-<xsl:value-of select="@id"/>
-<xsl:text> &lt;&lt; 16;</xsl:text>
- </xsl:for-each>
-</xsl:template>
-
-<xsl:template name="fasttoken">
- <xsl:variable name="ns">
- <xsl:call-template name="fastnamespace"/>
- </xsl:variable>
- <xsl:if test="string-length($ns) > 0">
- <xsl:value-of select="$ns"/>
- <xsl:text>|</xsl:text>
- </xsl:if>
- <xsl:call-template name="fastlocalname"/>
-</xsl:template>
-
-<xsl:template name="fasttokenwithattr">
- <xsl:if test="local-name(.)='attribute'">
- <xsl:text>F_Attribute|</xsl:text>
- </xsl:if>
- <xsl:call-template name="fasttoken"/>
-</xsl:template>
-
-<xsl:template name="caselabelfasttoken">
- <xsl:text>case </xsl:text>
- <xsl:call-template name="fasttokenwithattr"/>
- <xsl:text>:</xsl:text>
-</xsl:template>
-
-<xsl:key name="elementsattrsbynamespace"
- match="rng:element[@name]|rng:attribute[@name]" use="ancestor::rng:grammar/@ns"/>
-
-<xsl:template name="fasttokentoid">
- <xsl:text>
-namespace tokenmap {
-struct token { const char * name; Token_t nToken; };
-class Perfect_Hash
-{
-private:
- static inline unsigned int hash (const char *str, unsigned int len);
-public:
- static struct token *in_word_set (const char *str, unsigned int len);
-};
-}
-
-string fastTokenToId(sal_uInt32 nToken)
-{
- </xsl:text>
- <xsl:text>
- string sResult;
-
- switch (nToken &amp; 0xffff0000)
- {</xsl:text>
- <xsl:for-each select="//namespace-alias">
- <xsl:text>
- case NS_</xsl:text>
- <xsl:value-of select="@alias"/>
- <xsl:text>:
- sResult += "</xsl:text>
- <xsl:value-of select="@alias"/>
- <xsl:text>:";
- break;</xsl:text>
- </xsl:for-each>
- <xsl:text>
- }
-
- switch (nToken &amp; 0xffff)
- {</xsl:text>
- <xsl:for-each select=".//rng:element[@localname]|.//rng:attribute[@localname]">
- <xsl:variable name="localname" select="@localname"/>
- <xsl:if test="generate-id(.) = generate-id(key('same-token-name', $localname)[1])">
- <xsl:text>
- case </xsl:text>
- <xsl:call-template name="fastlocalname"/>
- <xsl:text>:
- sResult += "</xsl:text>
- <xsl:value-of select="$localname"/>
- <xsl:text>";
- break;</xsl:text>
- </xsl:if>
- </xsl:for-each>
-<xsl:text>
- }
-
- return sResult;
-}
- </xsl:text>
-</xsl:template>
-
-<xsl:template name="getfastparser">
-<xsl:text>
-uno::Reference &lt; xml::sax::XFastParser &gt; OOXMLStreamImpl::getFastParser()
-{
- if (! mxFastParser.is())
- {
- uno::Reference &lt; lang::XMultiComponentFactory &gt; xFactory =
- uno::Reference &lt; lang::XMultiComponentFactory &gt;
- (mxContext->getServiceManager());
-
- mxFastParser.set(xFactory->createInstanceWithContext
- ( ::rtl::OUString::createFromAscii
- ( "com.sun.star.xml.sax.FastParser" ),
- mxContext ), uno::UNO_QUERY_THROW);
-</xsl:text>
-<xsl:for-each select="//namespace-alias">
- <xsl:text>
- mxFastParser->registerNamespace(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("</xsl:text>
- <xsl:value-of select="@name"/>
- <xsl:text>")), </xsl:text>
- <xsl:call-template name="namespaceid"/>
- <xsl:text>);</xsl:text>
-</xsl:for-each>
-<xsl:text>
- }
-
- return mxFastParser;
-}
-</xsl:text>
-</xsl:template>
-
-<xsl:template name="searchdefinenamespace">
- <xsl:param name="name"/>
- <xsl:variable name="tmp">
- <xsl:for-each select="ancestor::namespace">
- <xsl:call-template name="searchdefinenamespacerec">
- <xsl:with-param name="name" select="$name"/>
- </xsl:call-template>
- </xsl:for-each>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="string-length($tmp) > 0">
- <xsl:value-of select="$tmp"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:for-each select="key('defines-with-name', $name)[1]">
- <xsl:value-of select="ancestor::namespace/@name"/>
- <xsl:text>:</xsl:text>
- <xsl:value-of select="@name"/>
- </xsl:for-each>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="searchdefinenamespacerec">
- <xsl:param name="name"/>
- <xsl:variable name="nsname" select="@name"/>
- <xsl:variable name="nsid" select="generate-id(.)"/>
- <xsl:variable name="tmp">
- <xsl:for-each select="key('defines-with-name', $name)">
- <xsl:if test="generate-id(ancestor::namespace)=$nsid">
- <xsl:value-of select="$nsname"/>
- <xsl:text>:</xsl:text>
- <xsl:value-of select="$name"/>
- </xsl:if>
- </xsl:for-each>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="string-length($tmp) > 0">
- <xsl:value-of select="$tmp"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:for-each select="./rng:include">
- <xsl:for-each select="/model/namespace[@file=@href]">
- <xsl:call-template name="searchdefinenamespacerec">
- <xsl:with-param name="name" select="$name"/>
- </xsl:call-template>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
- <xsl:template name="fastattributescheckattr">
- <xsl:text>if (Attribs->hasAttribute(</xsl:text>
- <xsl:call-template name="fastlocalname"/>
- <xsl:text>))</xsl:text>
- </xsl:template>
-
- <xsl:template name="fastattributescheckattrwithns">
- <xsl:text>if (Attribs->hasAttribute(</xsl:text>
- <xsl:call-template name="fasttoken"/>
- <xsl:text>))</xsl:text>
- </xsl:template>
-
- <xsl:template name="fastcontextnameforattribute">
- <xsl:choose>
- <xsl:when test="./rng:ref">
- <xsl:for-each select="./rng:ref">
- <xsl:call-template name="valuenameforref"/>
- </xsl:for-each>
- </xsl:when>
- <xsl:when test="./rng:data/@type = 'boolean'">
- <xsl:text>OOXMLBooleanValue</xsl:text>
- </xsl:when>
- <xsl:when test="./rng:data/@type = 'unsignedInt'">
- <xsl:text>OOXMLIntegerValue</xsl:text>
- </xsl:when>
- <xsl:when test="./rng:text or ./rng:data/@type = 'string' or ./rng:data/@type = 'token'">
- <xsl:text>OOXMLStringValue</xsl:text>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="fastattributesproperties">
- <xsl:variable name="definename" select="@name"/>
- <xsl:for-each select=".//rng:attribute">
- <xsl:variable name="attrname" select="@name"/>
- <xsl:variable name="contextname">
- <xsl:call-template name="fastcontextnameforattribute"/>
- </xsl:variable>
- <xsl:variable name="attrid">
- <xsl:call-template name="idforattr"/>
- </xsl:variable>
- <xsl:if test="string-length($contextname) > 0 and string-length($attrid) > 0">
- <xsl:text>
- </xsl:text>
- <xsl:call-template name="fastattributescheckattrwithns"/>
- <xsl:text>
- {
- ::rtl::OUString aValue(Attribs->getValue(</xsl:text>
- <xsl:call-template name="fasttoken"/>
- <xsl:text>));
- OOXMLFastHelper &lt; </xsl:text>
- <xsl:value-of select="$contextname"/>
- <xsl:text> &gt;::newProperty(this, </xsl:text>
- <xsl:value-of select="$attrid"/>
- <xsl:text>, aValue);</xsl:text>
- <xsl:for-each select="ancestor::namespace/resource[@name=$definename]">
- <xsl:for-each select="./attribute[@name=$attrname]">
- <xsl:choose>
- <xsl:when test="@action='checkId'">
- <xsl:text>
- checkId(aValue);</xsl:text>
- </xsl:when>
- <xsl:when test="@action='checkXNoteType'">
- </xsl:when>
- <xsl:when test="@action='setXNoteId'">
- <xsl:text>
- setXNoteId(aValue);</xsl:text>
- </xsl:when>
- </xsl:choose>
- </xsl:for-each>
- </xsl:for-each>
- <xsl:text>
- }</xsl:text>
- </xsl:if>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="fastcharactersstringvalue">
- <xsl:text>
-
- msValue = sText;</xsl:text>
- </xsl:template>
-
- <xsl:template name="fastattributesstringvalue">
- <xsl:for-each select=".//rng:attribute">
- <xsl:text>
- </xsl:text>
- <xsl:call-template name="fastattributescheckattrwithns"/>
- <xsl:text>
- msValue = Attribs->getValue(</xsl:text>
- <xsl:call-template name="fasttoken"/>
- <xsl:text>);</xsl:text>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="fastcharactersintvalue">
- <xsl:text>
-
- mnValue = sText.toInt32();</xsl:text>
- </xsl:template>
-
- <xsl:template name="fastattributesintvalue">
- <xsl:for-each select=".//rng:attribute">
- <xsl:text>
- </xsl:text>
- <xsl:call-template name="fastattributescheckattrwithns"/>
- <xsl:text>
- mnValue = Attribs->getValue(</xsl:text>
- <xsl:call-template name="fasttoken"/>
- <xsl:text>).toInt32();</xsl:text>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="fastcharactershexvalue">
- <xsl:text>
-
- mnValue = sText.toInt32(16);</xsl:text>
- </xsl:template>
-
- <xsl:template name="fastattributeshexvalue">
- <xsl:for-each select=".//rng:attribute">
- <xsl:text>
- </xsl:text>
- <xsl:call-template name="fastattributescheckattrwithns"/>
- <xsl:text>
- mnValue = Attribs->getValue(</xsl:text>
- <xsl:call-template name="fasttoken"/>
- <xsl:text>).toInt32(16);</xsl:text>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="fastcharactersboolvalue">
- <xsl:text>
-
- setValue( sText );</xsl:text>
- </xsl:template>
-
- <xsl:template name="fastattributesboolvalue">
- <xsl:for-each select=".//rng:attribute">
- <xsl:text>
- </xsl:text>
- <xsl:call-template name="fastattributescheckattrwithns"/>
- <xsl:text>
- setValue(Attribs->getValue(</xsl:text>
- <xsl:call-template name="fasttoken"/>
- <xsl:text>));</xsl:text>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="fastcharacterslistvalue">
- <xsl:variable name="bodywithns">
- <xsl:for-each select="rng:ref">
- <xsl:variable name="refname" select="@name"/>
- <xsl:variable name="refns">
- <xsl:call-template name="searchdefinenamespace">
- <xsl:with-param name="name" select="@name"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="valname">
- <xsl:for-each select="/model/namespace[@name=substring-before($refns, ':')]">
- <xsl:for-each select="./rng:grammar/rng:define[@name=substring-after($refns, ':')]">
- <xsl:call-template name="valuenamefordefine"/>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:variable>
- <xsl:text>
- mpValue = OOXMLValue::Pointer_t (new </xsl:text>
- <xsl:value-of select="$valname"/>
- <xsl:text>( sText ) );</xsl:text>
- </xsl:for-each>
- </xsl:variable>
- <xsl:if test="string-length($bodywithns) > 0">
- <xsl:text>
- </xsl:text>
- <xsl:value-of select="$bodywithns"/>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="fastattributeslistvalue">
- <xsl:for-each select=".//rng:attribute">
- <xsl:variable name="myfasttoken">
- <xsl:call-template name="fastlocalname"/>
- </xsl:variable>
- <xsl:variable name="myfasttokenwithns">
- <xsl:call-template name="fasttoken"/>
- </xsl:variable>
- <xsl:variable name="bodywithns">
- <xsl:for-each select="rng:ref">
- <xsl:variable name="refname" select="@name"/>
- <xsl:variable name="refns">
- <xsl:call-template name="searchdefinenamespace">
- <xsl:with-param name="name" select="@name"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="valname">
- <xsl:for-each select="/model/namespace[@name=substring-before($refns, ':')]">
- <xsl:for-each select="./rng:grammar/rng:define[@name=substring-after($refns, ':')]">
- <xsl:call-template name="valuenamefordefine"/>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:variable>
- <xsl:text>
- mpValue = OOXMLValue::Pointer_t (new </xsl:text>
- <xsl:value-of select="$valname"/>
- <xsl:text>(Attribs->getValue(</xsl:text>
- <xsl:value-of select="$myfasttokenwithns"/>
- <xsl:text>)));</xsl:text>
- </xsl:for-each>
- </xsl:variable>
- <xsl:if test="string-length($bodywithns) > 0">
- <xsl:text>
- </xsl:text>
- <xsl:call-template name="fastattributescheckattrwithns"/>
- <xsl:value-of select="$bodywithns"/>
- </xsl:if>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="fastattributebody">
- <xsl:variable name="resource">
- <xsl:call-template name="contextresource"/>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$resource = 'Properties' or $resource = 'Stream' or $resource='XNote' or $resource='Shape'" >
- <xsl:call-template name="fastattributesproperties"/>
- </xsl:when>
- <xsl:when test="$resource = 'StringValue'">
- <xsl:call-template name="fastattributesstringvalue"/>
- </xsl:when>
- <xsl:when test="$resource = 'IntegerValue'">
- <xsl:call-template name="fastattributesintvalue"/>
- </xsl:when>
- <xsl:when test="$resource = 'HexValue'">
- <xsl:call-template name="fastattributeshexvalue"/>
- </xsl:when>
- <xsl:when test="$resource = 'BooleanValue'">
- <xsl:call-template name="fastattributesboolvalue"/>
- </xsl:when>
- <xsl:when test="$resource = 'ListValue'">
- <xsl:call-template name="fastattributeslistvalue"/>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="valuenameforref">
- <xsl:variable name="definename">
- <xsl:call-template name="searchdefinenamespace">
- <xsl:with-param name="name" select="@name"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:for-each select="/model/namespace[@name=substring-before($definename, ':')]">
- <xsl:for-each select="./rng:grammar/rng:define[@name=substring-after($definename, ':')]">
- <xsl:call-template name="valuenamefordefine"/>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="fastcontextnameforref">
- <xsl:variable name="definename">
- <xsl:call-template name="searchdefinenamespace">
- <xsl:with-param name="name" select="@name"/>
- </xsl:call-template>
- </xsl:variable>
- <!--
- <xsl:text>/* </xsl:text>
- <xsl:value-of select="@name"/>
- <xsl:text>, </xsl:text>
- <xsl:value-of select="$definename"/>
- <xsl:text> */</xsl:text>
- -->
- <xsl:for-each select="/model/namespace[@name=substring-before($definename, ':')]">
- <xsl:for-each select="./rng:grammar/rng:define[@name=substring-after($definename, ':')]">
- <xsl:call-template name="fastcontextname"/>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="fastattributebodyrefs">
- <xsl:for-each select=".//rng:ref[not(ancestor::rng:element or ancestor::rng:attribute)]">
- <xsl:variable name="contextname">
- <xsl:call-template name="fastcontextnameforref"/>
- </xsl:variable>
- <xsl:if test="string-length($contextname) > 0">
- <xsl:text>
- OOXMLFastHelper &lt;</xsl:text>
- <xsl:value-of select="$contextname"/>
- <xsl:text>&gt;::attributes(this, Attribs);</xsl:text>
- </xsl:if>
- </xsl:for-each>
- </xsl:template>
-
- <!--
- Generates definition of method attributes for current <define>
- -->
- <xsl:template name="fastattribute">
- <xsl:variable name="resource">
- <xsl:call-template name="contextresource"/>
- </xsl:variable>
- <!--<xsl:if test="not($resource='Shape')"> -->
- <xsl:variable name="body">
- <xsl:call-template name="fastattributebody"/>
- </xsl:variable>
- <xsl:variable name="bodyrefs">
- <xsl:call-template name="fastattributebodyrefs"/>
- </xsl:variable>
- <xsl:if test="string-length($body) > 0 or string-length($bodyrefs) > 0">
- <xsl:text>
-void </xsl:text>
-<xsl:call-template name="fastcontextname"/>
-<xsl:text>::attributes
-(const uno::Reference &lt; xml::sax::XFastAttributeList &gt; &amp; Attribs)
- throw (uno::RuntimeException, xml::sax::SAXException)
-{
-#ifdef DEBUG_DUMP_ATTRIBUTES
- dumpAttribs(Attribs);
-#endif
-</xsl:text>
-<xsl:value-of select="$body"/>
-<xsl:value-of select="$bodyrefs"/>
-<xsl:text>
-}
-</xsl:text>
- </xsl:if>
- <!-- </xsl:if> -->
- </xsl:template>
-
- <xsl:template name="fastelementcreatestatement">
- <xsl:for-each select=".//rng:ref">
- <xsl:choose>
- <xsl:when test="@name='BUILT_IN_ANY_TYPE'">
- <xsl:text>createFromStart(Element, Attribs)</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:variable name="classname">
- <xsl:call-template name="fastcontextname"/>
- </xsl:variable>
- <xsl:if test="string-length($classname) > 0">
- <xsl:text>OOXMLFastHelper &lt;</xsl:text>
- <xsl:value-of select="$classname"/>
- <xsl:text>&gt;::createAndSetParent(this, Element, </xsl:text>
- <xsl:for-each select="ancestor::rng:element">
- <xsl:variable name="id">
- <xsl:call-template name="idforelement"/>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="string-length($id) > 0">
- <xsl:value-of select="$id"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>0</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:text>)</xsl:text>
- </xsl:if>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </xsl:template>
-
- <!--
- Generates name for parent class of fast context.
- -->
- <xsl:template name="fastresourceclass">
- <xsl:text>OOXMLFastContextHandler</xsl:text>
- <xsl:call-template name="contextresource"/>
- </xsl:template>
-
- <!--
- Generates the declaration of the fast context for the current <define>
- -->
- <xsl:template name="fastcontextdecl">
- <xsl:variable name="classname">
- <xsl:call-template name="fastcontextname"/>
- </xsl:variable>
- <xsl:text>
-class WRITERFILTER_DLLPRIVATE </xsl:text>
-<xsl:value-of select="$classname"/>
-<xsl:text>: public </xsl:text>
-<xsl:call-template name="fastresourceclass"/>
-<xsl:text>
-{
-public:
- explicit </xsl:text>
- <xsl:value-of select="$classname"/>
- <xsl:text>
- (OOXMLFastContextHandler * context);
- virtual ~</xsl:text>
- <xsl:value-of select="$classname"/>
- <xsl:text>();
- </xsl:text>
- <xsl:variable name="createchildcontextbody">
- <xsl:call-template name="createfastchildcontext"/>
- </xsl:variable>
- <xsl:if test="string-length($createchildcontextbody) > 0">
- virtual uno::Reference &lt; xml::sax::XFastContextHandler &gt;
- lcl_createFastChildContext
- (::sal_Int32 Element,
- const uno::Reference &lt; xml::sax::XFastAttributeList &gt; &amp; Attribs)
- throw (uno::RuntimeException, xml::sax::SAXException);
- </xsl:if>
- <xsl:variable name="fastattributebody">
- <xsl:call-template name="fastattribute"/>
- </xsl:variable>
- <xsl:if test="string-length($fastattributebody) > 0">
- virtual void attributes
- (const uno::Reference &lt; xml::sax::XFastAttributeList &gt; &amp; Attribs)
- throw (uno::RuntimeException, xml::sax::SAXException);
- </xsl:if>
- <xsl:variable name="faststartactionbody">
- <xsl:call-template name="faststartaction"/>
- </xsl:variable>
- <xsl:if test="string-length($faststartactionbody)">
- virtual void lcl_startAction(Token_t nElement);
- </xsl:if>
- <xsl:variable name="fastendactionbody">
- <xsl:call-template name="fastendaction"/>
- </xsl:variable>
- <xsl:if test="string-length($fastendactionbody)">
- virtual void lcl_endAction(Token_t nElement);
- </xsl:if>
- <xsl:variable name="fastcharactersbody">
- <xsl:call-template name="fastcharacters"/>
- </xsl:variable>
- <xsl:if test="string-length($fastcharactersbody)">
- virtual void lcl_characters(const ::rtl::OUString &amp; aChars)
- throw (uno::RuntimeException, xml::sax::SAXException);
- </xsl:if>
- <xsl:text>
- virtual string getType() const { return "</xsl:text>
- <xsl:value-of select="$classname"/>
- <xsl:text>"; }</xsl:text>
- <xsl:variable name="propagatespropsbody">
- <xsl:call-template name="propagatesproperties"/>
- </xsl:variable>
- <xsl:if test="string-length($propagatespropsbody)">
- <xsl:text>
- virtual bool propagatesProperties() const;</xsl:text>
- </xsl:if>
- <xsl:text>
-};
- </xsl:text>
- </xsl:template>
-
- <xsl:template name="fastcontextdecls">
- <xsl:param name="namespace"/>
- <xsl:for-each select="/model/namespace[@name=$namespace]">
- <xsl:for-each select="./rng:grammar/rng:define">
- <xsl:variable name="do">
- <xsl:call-template name="classfordefine"/>
- </xsl:variable>
- <xsl:text>
-/*
- </xsl:text>
- <xsl:value-of select="ancestor::namespace/@name"/>
- <xsl:text>:</xsl:text>
- <xsl:value-of select="@name"/>
- <xsl:text>
-*/</xsl:text>
-<xsl:if test="$do = '1'">
- <xsl:call-template name="fastcontextdecl"/>
-</xsl:if>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="fastcontextconstructor">
- <xsl:variable name="classname">
- <xsl:call-template name="fastcontextname"/>
- </xsl:variable>
- <xsl:value-of select="$classname"/>
- <xsl:text>::</xsl:text>
- <xsl:value-of select="$classname"/>
- <xsl:text>
-(OOXMLFastContextHandler * pContext)
-: </xsl:text>
-<xsl:call-template name="fastresourceclass"/>
-<xsl:text>(pContext)
-{}
-</xsl:text>
- </xsl:template>
-
- <xsl:template name="fastcontextdestructor">
- <xsl:variable name="classname">
- <xsl:call-template name="fastcontextname"/>
- </xsl:variable>
- <xsl:value-of select="$classname"/>
- <xsl:text>::~</xsl:text>
- <xsl:value-of select="$classname"/>
- <xsl:text>
-()
-{}
-</xsl:text>
- </xsl:template>
-
- <xsl:template name="faststartactionbodysetid">
- <xsl:if test="@resource = 'Table' or @resource='PropertyTable'">
- <xsl:text>
- setId(</xsl:text>
- <xsl:call-template name="idtoqname">
- <xsl:with-param name="id" select="@tokenid"/>
- </xsl:call-template>
- <xsl:text>);</xsl:text>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="faststartactionbodychooseaction">
- <xsl:for-each select="./action[@name='start']">
- <xsl:call-template name="chooseaction"/>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="faststartactionbody">
- <xsl:variable name="name" select="@name"/>
- <xsl:for-each select="ancestor::namespace/resource[@name = $name]">
- <xsl:call-template name="faststartactionbodysetid"/>
- <xsl:call-template name="faststartactionbodychooseaction"/>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="faststartaction">
- <xsl:variable name="body">
- <xsl:call-template name="faststartactionbody"/>
- </xsl:variable>
- <xsl:variable name="name" select="@name"/>
- <xsl:if test="string-length($body) > 0">
- <xsl:variable name="classname">
- <xsl:call-template name="fastcontextname"/>
- </xsl:variable>
- <xsl:text>
-void </xsl:text>
-<xsl:value-of select="$classname"/>
-<xsl:text>::lcl_startAction(Token_t</xsl:text>
-<xsl:for-each select="ancestor::namespace/resource[@name=$name]">
- <xsl:if test="./element/action[@name='start']">
- <xsl_text> nElement</xsl_text>
- </xsl:if>
-</xsl:for-each>
-<xsl:text>)
-{</xsl:text>
-<xsl:value-of select="$body"/>
-<xsl:text>
-}
-</xsl:text>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="fastendactionbody">
- <xsl:variable name="name" select="@name"/>
- <xsl:for-each select="ancestor::namespace/resource[@name = $name]">
- <xsl:for-each select="./action[@name='end']">
- <xsl:call-template name="chooseaction"/>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="fastendaction">
- <xsl:variable name="body">
- <xsl:call-template name="fastendactionbody"/>
- </xsl:variable>
- <xsl:variable name="name" select="@name"/>
- <xsl:if test="string-length($body) > 0">
- <xsl:variable name="classname">
- <xsl:call-template name="fastcontextname"/>
- </xsl:variable>
- <xsl:text>
-void </xsl:text>
-<xsl:value-of select="$classname"/>
-<xsl:text>::lcl_endAction(Token_t</xsl:text>
-<xsl:for-each select="ancestor::namespace/resource[@name=$name]">
- <xsl:if test="./element/action[@name='end']">
- <xsl_text> nElement</xsl_text>
- </xsl:if>
-</xsl:for-each>
-<xsl:text>)
-{</xsl:text>
-<xsl:value-of select="$body"/>
-<xsl:text>
-}
-</xsl:text>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="fastcharactersbody">
- <xsl:variable name="name" select="@name"/>
- <!-- ST values as text -->
- <xsl:variable name="resource">
- <xsl:call-template name="contextresource"/>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$resource = 'StringValue'">
- <xsl:call-template name="fastcharactersstringvalue"/>
- </xsl:when>
- <xsl:when test="$resource = 'IntegerValue'">
- <xsl:call-template name="fastcharactersintvalue"/>
- </xsl:when>
- <xsl:when test="$resource = 'HexValue'">
- <xsl:call-template name="fastcharactershexvalue"/>
- </xsl:when>
- <xsl:when test="$resource = 'BooleanValue'">
- <xsl:call-template name="fastcharactersboolvalue"/>
- </xsl:when>
- <xsl:when test="$resource = 'ListValue'">
- <xsl:call-template name="fastcharacterslistvalue"/>
- </xsl:when>
- </xsl:choose>
-
- <!-- characters action -->
- <xsl:for-each select="ancestor::namespace/resource[@name = $name]//action[@name='characters']">
- <xsl:call-template name="chooseaction"/>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="fastcharacters">
- <xsl:variable name="body">
- <xsl:call-template name="fastcharactersbody"/>
- </xsl:variable>
- <xsl:if test="string-length($body) > 0">
- <xsl:variable name="classname">
- <xsl:call-template name="fastcontextname"/>
- </xsl:variable>
- <xsl:text>
-void </xsl:text>
-<xsl:value-of select="$classname"/>
-<xsl:text>::lcl_characters(const ::rtl::OUString &amp; sText)
- throw (uno::RuntimeException, xml::sax::SAXException)
-{</xsl:text>
-<xsl:value-of select="$body"/>
-<xsl:text>
-}
-</xsl:text>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="propagatespropertiesbody">
- <xsl:variable name="name" select="@name"/>
- <xsl:for-each select="ancestor::namespace/resource[@name=$name]">
- <xsl:for-each select=".//action">
- <xsl:choose>
- <xsl:when test="@name='propagateCharacterProperties'">
- <xsl:text>
- return true;</xsl:text>
- </xsl:when>
- <xsl:when test="@name='propagateTableProperties'">
- <xsl:text>
- return true;</xsl:text>
- </xsl:when>
- </xsl:choose>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="propagatesproperties">
- <xsl:variable name="body">
- <xsl:call-template name="propagatespropertiesbody"/>
- </xsl:variable>
- <xsl:if test="string-length($body) > 0">
- <xsl:variable name="classname">
- <xsl:call-template name="fastcontextname"/>
- </xsl:variable>
- <xsl:text>
-bool </xsl:text>
-<xsl:value-of select="$classname"/>
-<xsl:text>::propagatesProperties() const
-{</xsl:text>
- <xsl:value-of select="$body"/>
- <xsl:text>
-}
- </xsl:text>
- </xsl:if>
- </xsl:template>
-
- <xsl:template name="fastcontextcreatefromstart">
- <xsl:text>
-uno::Reference &lt; xml::sax::XFastContextHandler &gt;
-OOXMLFastContextHandler::createFromStart
-(::sal_Int32 Element,
- const uno::Reference &lt; xml::sax::XFastAttributeList &gt; &amp; Attribs)
-{
-#ifdef DEBUG_CREATE
- debug_logger-&gt;startElement("createfromstart");
- debug_logger-&gt;attribute("element", fastTokenToId(Element));
-#endif
- uno::Reference &lt; xml::sax::XFastContextHandler &gt; xResult;</xsl:text>
-
- <xsl:for-each select="//namespace/start">
- <xsl:variable name="name" select="@name"/>
- <xsl:for-each select="ancestor::namespace/rng:grammar/rng:define[@name=$name]">
- <xsl:text>
- if (! xResult.is() || dynamic_cast&lt;OOXMLFastContextHandler *&gt;(xResult.get())->isFallback())
- {
- xResult = OOXMLFastHelper &lt; </xsl:text>
- <xsl:call-template name="fastcontextname"/>
- <xsl:text> &gt;::createAndSetParentRef(this, Element, Attribs);
- }</xsl:text>
- </xsl:for-each>
- </xsl:for-each>
- <xsl:text>
-
-#ifdef DEBUG_CREATE
- debug_logger-&gt;endElement("createfromstart");
-#endif
-
- return xResult;
-}
- </xsl:text>
- </xsl:template>
-
- <xsl:key name="attribs-qnames" match="rng:attribute" use="@qname"/>
-
- <xsl:template name="dumpattribs">
- <xsl:text>
-void dumpAttrib(const char * sToken, sal_uInt32 nToken,
- const uno::Reference &lt; xml::sax::XFastAttributeList
- &gt; &amp; Attribs)
-{
- try
- {
- if (Attribs->hasAttribute(nToken))
- {
- debug_logger-&gt;startElement("attrib");
- debug_logger-&gt;attribute("id", sToken);
- debug_logger-&gt;chars(Attribs->getValue(nToken));
- debug_logger-&gt;endElement("attrib");
- }
- }
- catch (...)
- {
- debug_logger-&gt;startElement("error");
- debug_logger-&gt;chars(sToken);
- debug_logger-&gt;endElement("error");
- }
-}
-
-void dumpAttribs
-(const uno::Reference &lt; xml::sax::XFastAttributeList &gt; &amp; Attribs)
- throw (uno::RuntimeException, xml::sax::SAXException)
-{
- debug_logger-&gt;startElement("attribs");
- </xsl:text>
- <xsl:for-each select="//rng:attribute[@name]">
- <xsl:if test="generate-id(.) = generate-id(key('attribs-qnames', @qname)[1]
-)">
- <xsl:text>
- dumpAttrib("</xsl:text>
- <xsl:call-template name="fastlocalname"/>
- <xsl:text>", </xsl:text>
- <xsl:call-template name="fastlocalname"/>
- <xsl:text>, Attribs);</xsl:text>
- <xsl:text>
- dumpAttrib("</xsl:text>
- <xsl:call-template name="fasttoken"/>
- <xsl:text>", </xsl:text>
- <xsl:call-template name="fasttoken"/>
- <xsl:text>, Attribs);</xsl:text>
- </xsl:if>
- </xsl:for-each>
- <xsl:text>
- debug_logger-&gt;endElement("attribs");
-}</xsl:text>
- </xsl:template>
-
-<xsl:template name="createfastchildcontextname">
- <xsl:text>createFastContextHandler_</xsl:text>
- <xsl:value-of select="@name"/>
-</xsl:template>
-
-<xsl:template name="caselabeldefine">
- <xsl:text>case CLASS_</xsl:text>
- <xsl:value-of select="translate(ancestor::namespace/@name, '-', '_')"/>
- <xsl:text>_</xsl:text>
- <xsl:value-of select="@name"/>
- <xsl:text>:</xsl:text>
-</xsl:template>
-
-<xsl:template name="createfastchildcontextswitchbodyref">
- <xsl:variable name="definename">
- <xsl:call-template name="searchdefinenamespace">
- <xsl:with-param name="name" select="@name"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:for-each select="/model/namespace[@name=substring-before($definename, ':')]">
- <xsl:for-each select="./rng:grammar/rng:define[@name=substring-after($definename, ':')]">
- <xsl:call-template name="createfastchildcontextswitchbody"/>
- </xsl:for-each>
- </xsl:for-each>
-</xsl:template>
-
-<xsl:template name="createfastchildcontextswitchbody">
- <xsl:for-each select=".//rng:element">
- <xsl:text>
- </xsl:text>
- <xsl:call-template name="caselabelfasttoken"/>
- <xsl:text>
- xResult.set(</xsl:text>
- <xsl:call-template name="fastelementcreatestatement"/>
- <xsl:text>);
- break;</xsl:text>
- </xsl:for-each>
- <xsl:for-each
- select=".//rng:ref[not(ancestor::rng:element or ancestor::rng:attribute)]">
- <xsl:call-template name="createfastchildcontextswitchbodyref"/>
- </xsl:for-each>
-</xsl:template>
-
-<xsl:template name="createfastchildcontextswitch">
- <xsl:variable name="body">
- <xsl:call-template name="createfastchildcontextswitchbody"/>
- </xsl:variable>
- <xsl:if test="string-length($body) > 0">
- <xsl:text>
- switch(Element)
- {</xsl:text>
- <xsl:value-of select="$body"/>
- <xsl:text>
- default:
- ;
- }</xsl:text>
- </xsl:if>
-</xsl:template>
-
-<xsl:template name="createfastchildcontextlookup">
- <xsl:text>
-uno::Reference&lt;XFastContextHandler&gt; </xsl:text>
-<xsl:call-template name="createfastchildcontextname"/>
-<xsl:text>(Id parent, Token_t Element)
-{
- uno::Reference&lt;XFastContextHandler&gt; xResult;
- switch (parent)
- {</xsl:text>
-<xsl:for-each select="./rng:grammar/rng:define">
- <xsl:variable name="do">
- <xsl:call-template name="classfordefine"/>
- </xsl:variable>
- <xsl:if test="$do='1'">
- <xsl:variable name="casebody">
- <xsl:call-template name="createfastchildcontextswitch"/>
- </xsl:variable>
- <xsl:if test="string-length($casebody) > 0">
- <xsl:text>
- </xsl:text>
- <xsl:call-template name="caselabeldefine"/>
- <xsl:value-of select="$casebody"/>
- <xsl:text>
- break;</xsl:text>
- </xsl:if>
- </xsl:if>
-</xsl:for-each>
-<xsl:text>
- default:
- ;
- }
-
- return xResult;
-}
-</xsl:text>
-</xsl:template>
-
-</xsl:stylesheet>
diff --git a/writerfilter/source/ooxml/status.sh b/writerfilter/source/ooxml/status.sh
new file mode 100755
index 000000000000..e06382b13aa1
--- /dev/null
+++ b/writerfilter/source/ooxml/status.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+SEARCHIN=$SRC_ROOT/writerfilter/source/dmapper
+
+(
+echo '<?xml version="1.0"?>'
+echo "<stage1>"
+
+xsltproc analyzemodel.xsl model.xml | tail -n +2
+
+mdfind -onlyin $SEARCHIN "case NS_" |
+xargs -J % grep -A 1 -n "case NS_" % |
+grep "cxx" |
+grep -v "//.*case NS_" |
+sed 's#'$SEARCHIN'##' |
+sed 's#\(^[^:]*\):\([0-9]*\):#<qname file="\1" line="\2"#' |
+sed 's#[/* ]*case \(NS_.*\):.*# qname="\1"/>#' |
+sed 's#.*WRITERFILTERSTATUS: done: \([0-9]*\), planned: \([0-9.]*\), spent: \([0-9.]*\).*#<status done="\1" planned="\2" spent="\3"/>#' |
+grep -v "WRITERFILTERSTATUS:" |
+sed 's#^.*-[0-9][0-9]*-.*$#<nostatus/>#' |
+grep -v "^--"
+
+echo "</stage1>"
+) |
+xsltproc analyzestage2.xsl - |
+xsltproc analyzestage3.xsl -
diff --git a/writerfilter/source/ooxml/todo.xsl b/writerfilter/source/ooxml/todo.xsl
new file mode 100644
index 000000000000..80431ea90487
--- /dev/null
+++ b/writerfilter/source/ooxml/todo.xsl
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:rng="http://relaxng.org/ns/structure/1.0">
+
+<xsl:output method="xml" indent="yes"/>
+
+<xsl:template match="/">
+ <todo>
+ <xsl:for-each select="/stage3">
+ <xsl:for-each select="attribute|element">
+ <xsl:choose>
+ <xsl:when test="@qname and @resource='Properties' and not(file)">
+ <xsl:copy-of select="."/>
+ </xsl:when>
+ <xsl:when test="@qname and file/status[number(@done) &lt; 100 and number(@planned) &gt; 0]">
+ <xsl:copy>
+ <xsl:copy-of select="@*"/>
+ <xsl:copy-of select="file[status[number(@done) &lt; 100 and number(@planned) &gt; 0]]"/>
+ </xsl:copy>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:for-each>
+ </xsl:for-each>
+ </todo>
+</xsl:template>
+
+</xsl:stylesheet> \ No newline at end of file
diff --git a/writerfilter/source/ooxml/valuesimpl.xsl b/writerfilter/source/ooxml/valuesimpl.xsl
deleted file mode 100644
index 64be68700ad5..000000000000
--- a/writerfilter/source/ooxml/valuesimpl.xsl
+++ /dev/null
@@ -1,85 +0,0 @@
-<!--
-/*************************************************************************
- *
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org 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 version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************/
-
--->
-<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="/">
- <out xml:space="preserve">
- <xsl:call-template name="licenseheader"/>
- <xsl:text>
-#include &lt;iostream&gt;
-#include &lt;doctok/resourceids.hxx&gt;
-#include &lt;ooxml/resourceids.hxx&gt;
-#include "OOXMLvalues.hxx"
-#include "OOXMLPropertySetImpl.hxx"
-
-namespace writerfilter {
-namespace ooxml {
-using namespace ::std;
- </xsl:text>
- <xsl:call-template name="valueconstants"/>
- <xsl:call-template name="valueimpls"/>
- <xsl:text>
-}}&#xa;</xsl:text></out></xsl:template>
-
-</xsl:stylesheet> \ No newline at end of file