diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-11-08 14:24:29 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-11-08 15:19:37 +0100 |
commit | f2c55815128fde9f760c5cbf81e3ab18402c5b3d (patch) | |
tree | c43ba4cd11300759657b489714313f8cd7f81a22 /oox/source/vml/vmlshapecontext.cxx | |
parent | 6063fd0402e0b63aec4a6740e94e4f76fcc312c1 (diff) |
implement inset attribute of <v:textbox> (part of bnc#773061)
Change-Id: I1ec9b5d9fed86c44dc0a412c2323033ea67985c9
Diffstat (limited to 'oox/source/vml/vmlshapecontext.cxx')
-rw-r--r-- | oox/source/vml/vmlshapecontext.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/oox/source/vml/vmlshapecontext.cxx b/oox/source/vml/vmlshapecontext.cxx index 35525e69f76f..394c963abd32 100644 --- a/oox/source/vml/vmlshapecontext.cxx +++ b/oox/source/vml/vmlshapecontext.cxx @@ -19,6 +19,7 @@ #include "oox/vml/vmlshapecontext.hxx" +#include "oox/core/xmlfilterbase.hxx" #include "oox/vml/vmldrawing.hxx" #include "oox/vml/vmlshape.hxx" #include "oox/vml/vmlshapecontainer.hxx" @@ -406,7 +407,8 @@ ContextHandlerRef ShapeContext::onCreateContext( sal_Int32 nElement, const Attri // Custom shape in Writer with a textbox are transformed into a frame dynamic_cast<SimpleShape&>( mrShape ).setService( "com.sun.star.text.TextFrame"); - return new TextBoxContext( *this, mrShapeModel.createTextBox(), rAttribs ); + return new TextBoxContext( *this, mrShapeModel.createTextBox(), rAttribs, + mrShape.getDrawing().getFilter().getGraphicHelper()); case VMLX_TOKEN( ClientData ): return new ClientDataContext( *this, mrShapeModel.createClientData(), rAttribs ); case VMLPPT_TOKEN( textdata ): |