summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-06-19 17:13:29 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-06-23 04:17:34 +0000
commit0f61ec4974a8c9aee85c3225814c002371eac4ff (patch)
tree09e8db6c903be5189967f0ffb7d938999ace5bde
parent4efffd86ee2d87e9d5a276d0525108fed0828d62 (diff)
fdo#43641 oox: add support for the lockedCanvas 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: Ibc0d9838f3db717004a3bc8b80a408a39c8f0886 (cherry picked from commit 32b93c5c4f0663eefd1e1979875f8af659c463df) Reviewed-on: https://gerrit.libreoffice.org/4420 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
-rw-r--r--oox/source/token/namespaces.hxx.tail1
-rw-r--r--oox/source/token/namespaces.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/token/namespaces.hxx.tail b/oox/source/token/namespaces.hxx.tail
index 7b1e869701dc..b684ea5932d1 100644
--- a/oox/source/token/namespaces.hxx.tail
+++ b/oox/source/token/namespaces.hxx.tail
@@ -51,6 +51,7 @@ inline sal_Int32 getNamespace( sal_Int32 nToken ) { return nToken & NMSP_MASK; }
#define XML_TOKEN( token ) OOX_TOKEN( xml, token )
#define VMLPPT_TOKEN( token ) OOX_TOKEN( vmlPowerpoint, token )
#define DSP_TOKEN( token ) OOX_TOKEN( dsp, token )
+#define LC_TOKEN( token ) OOX_TOKEN( dmlLockedCanvas, token )
// ============================================================================
diff --git a/oox/source/token/namespaces.txt b/oox/source/token/namespaces.txt
index 98f8dcf27143..78ba6ba8ff31 100644
--- a/oox/source/token/namespaces.txt
+++ b/oox/source/token/namespaces.txt
@@ -49,6 +49,7 @@ dsp http://schemas.microsoft.com/office/drawing/2008/diagram
dmlChart http://schemas.openxmlformats.org/drawingml/2006/chart
dmlChartDr http://schemas.openxmlformats.org/drawingml/2006/chartDrawing
dmlDiagram http://schemas.openxmlformats.org/drawingml/2006/diagram
+dmlLockedCanvas http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas
dmlPicture http://schemas.openxmlformats.org/drawingml/2006/picture
dmlSpreadDr http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing
dmlWordDr http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing