summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-11-13 10:32:55 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-11-13 15:42:35 +0100
commit1d4db60ab3c1947c096370d043b1f673e92dbc8c (patch)
tree5887118e00365ac801139cadec4e027752fe7279 /oox
parentb5026aaabf49b9c6e23bf9329674de2c24272c4e (diff)
oox: add support for the wps namespace
The plan is that once these are here, the writerfilter ooxml tokenizer can refer to them. And then the writerfilter will call back to oox to do the real drawingml import. Change-Id: I1f860d1ade21cde767ad259d46b8d38ff167662f
Diffstat (limited to 'oox')
-rw-r--r--oox/source/token/namespaces.hxx.tail1
-rw-r--r--oox/source/token/namespaces.txt1
-rw-r--r--oox/source/token/tokens.txt1
3 files changed, 3 insertions, 0 deletions
diff --git a/oox/source/token/namespaces.hxx.tail b/oox/source/token/namespaces.hxx.tail
index b684ea5932d1..a0489fe168e1 100644
--- a/oox/source/token/namespaces.hxx.tail
+++ b/oox/source/token/namespaces.hxx.tail
@@ -52,6 +52,7 @@ inline sal_Int32 getNamespace( sal_Int32 nToken ) { return nToken & NMSP_MASK; }
#define VMLPPT_TOKEN( token ) OOX_TOKEN( vmlPowerpoint, token )
#define DSP_TOKEN( token ) OOX_TOKEN( dsp, token )
#define LC_TOKEN( token ) OOX_TOKEN( dmlLockedCanvas, token )
+#define WPS_TOKEN( token ) OOX_TOKEN( wps, token )
// ============================================================================
diff --git a/oox/source/token/namespaces.txt b/oox/source/token/namespaces.txt
index 78ba6ba8ff31..0083bcab05c6 100644
--- a/oox/source/token/namespaces.txt
+++ b/oox/source/token/namespaces.txt
@@ -71,6 +71,7 @@ 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
+wps http://schemas.microsoft.com/office/word/2010/wordprocessingShape
# extlst namespaces
diff --git a/oox/source/token/tokens.txt b/oox/source/token/tokens.txt
index 94644b45ebb6..952520f5a0b1 100644
--- a/oox/source/token/tokens.txt
+++ b/oox/source/token/tokens.txt
@@ -5660,6 +5660,7 @@ wrapTopAndBottom
wrapTrailSpaces
wrapcoords
writeProtection
+wsp
wsDr
x
x14