summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/shapepropertiescontext.cxx
diff options
context:
space:
mode:
authorJacobo Aragunde Pérez <jaragunde@igalia.com>2014-05-05 17:24:59 +0200
committerJacobo Aragunde Pérez <jaragunde@igalia.com>2014-05-06 16:32:28 +0200
commit1b7773cb071c7bbf60ea023551f35375b6120d4a (patch)
tree01caeb4b93ffd64c3865c551691d3adc1b698f3d /oox/source/drawingml/shapepropertiescontext.cxx
parent8d2a5c16c7e487b407aced891da17e5c2486f2ff (diff)
oox: preserve scene3d/camera effects on shapes.
Shapes can contain 3D effects like in the following example: <a:scene3d> <a:camera prst="isometricLeftDown" zoom="150000"/> <a:lightRig rig="threePt" dir="t"/> </a:scene3d> This patch preserves the a:camera tag and its attributes using the shape grab bag. It also adds a unit test for this case. Change-Id: Ic6a78031d2e1fb84a2bacd97b5cc9c55d9dbaa95
Diffstat (limited to 'oox/source/drawingml/shapepropertiescontext.cxx')
-rw-r--r--oox/source/drawingml/shapepropertiescontext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/shapepropertiescontext.cxx b/oox/source/drawingml/shapepropertiescontext.cxx
index 10130d3e5eef..0823e67240c7 100644
--- a/oox/source/drawingml/shapepropertiescontext.cxx
+++ b/oox/source/drawingml/shapepropertiescontext.cxx
@@ -94,7 +94,7 @@ ContextHandlerRef ShapePropertiesContext::onCreateContext( sal_Int32 aElementTok
case A_TOKEN( effectDag ): // CT_EffectContainer
return new EffectPropertiesContext( *this, mrShape.getEffectProperties() );
- // todo
+ // todo not supported by core, only for preservation via grab bags
case A_TOKEN( scene3d ): // CT_Scene3D
return new Scene3DPropertiesContext( *this, mrShape.get3DProperties() );
break;