summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-05-20 02:37:16 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-05-20 20:55:01 +0200
commitb930234aade453d8a162f609779756594532d02b (patch)
treeeafb9d6ff8962cc40159fa9915e980b0f5afd343 /oox
parent0617174992d1d05fe829f3743971a4bae2c65fe1 (diff)
add namespace for extensions from Excel2010
Change-Id: I45144a08729b00c1e46784b430af7bc15244dfe7
Diffstat (limited to 'oox')
-rw-r--r--oox/source/core/xmlfilterbase.cxx6
-rw-r--r--oox/source/token/namespaces.hxx.tail1
-rw-r--r--oox/source/token/namespaces.txt6
3 files changed, 11 insertions, 2 deletions
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index 24a1391572d4..762e2bd35035 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -150,7 +150,8 @@ namespace
"http://schemas.openxmlformats.org/presentationml/2006/main",
"http://schemas.openxmlformats.org/markup-compatibility/2006",
"http://schemas.openxmlformats.org/spreadsheetml/2006/main/v2",
- "http://schemas.microsoft.com/office/drawing/2008/diagram"
+ "http://schemas.microsoft.com/office/drawing/2008/diagram",
+ "http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"
};
static const sal_Int32 namespaceIds[] = {
@@ -173,7 +174,8 @@ namespace
NMSP_xm,
NMSP_mce,
NMSP_mceTest,
- NMSP_dsp
+ NMSP_dsp,
+ NMSP_xlsExtLst
};
Sequence< Pair< OUString, sal_Int32 > > aRet(STATIC_ARRAY_SIZE(namespaceIds));
diff --git a/oox/source/token/namespaces.hxx.tail b/oox/source/token/namespaces.hxx.tail
index 945ebbd1b4d9..ce57879273ae 100644
--- a/oox/source/token/namespaces.hxx.tail
+++ b/oox/source/token/namespaces.hxx.tail
@@ -29,6 +29,7 @@ inline sal_Int32 getNamespace( sal_Int32 nToken ) { return nToken & NMSP_MASK; }
#define VMLX_TOKEN( token ) OOX_TOKEN( vmlExcel, token )
#define XDR_TOKEN( token ) OOX_TOKEN( dmlSpreadDr, token )
#define XLS_TOKEN( token ) OOX_TOKEN( xls, token )
+#define XLS_EXT_TOKEN( token ) OOX_TOKEN( xlsExtLst, token )
#define XM_TOKEN( token ) OOX_TOKEN( xm, token )
#define XML_TOKEN( token ) OOX_TOKEN( xml, token )
#define VMLPPT_TOKEN( token ) OOX_TOKEN( vmlPowerpoint, token )
diff --git a/oox/source/token/namespaces.txt b/oox/source/token/namespaces.txt
index 57d5905a6ad8..d37e296de2b0 100644
--- a/oox/source/token/namespaces.txt
+++ b/oox/source/token/namespaces.txt
@@ -53,3 +53,9 @@ xm http://schemas.microsoft.com/office/excel/2006/main
sprm http://sprm
mce http://schemas.openxmlformats.org/markup-compatibility/2006
mceTest http://schemas.openxmlformats.org/spreadsheetml/2006/main/v2
+
+# extlst namespaces
+
+# xlsExtLst for features introduced by excel 2010
+xlsExtLst http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
+