diff options
Diffstat (limited to 'oox/source/shape/ShapeContextHandler.cxx')
-rw-r--r-- | oox/source/shape/ShapeContextHandler.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/oox/source/shape/ShapeContextHandler.cxx b/oox/source/shape/ShapeContextHandler.cxx index 4af1ab04ff2f..bcf43c85542d 100644 --- a/oox/source/shape/ShapeContextHandler.cxx +++ b/oox/source/shape/ShapeContextHandler.cxx @@ -426,6 +426,7 @@ ShapeContextHandler::getShape() throw (uno::RuntimeException) if (pShape) { basegfx::B2DHomMatrix aMatrix; + pShape->setPosition(maPosition); pShape->addShape(*mxFilterBase, mpThemePtr.get(), xShapes, aMatrix, pShape->getFillProperties()); xResult = pShape->getXShape(); mxWpsContext.clear(); @@ -512,6 +513,16 @@ void SAL_CALL ShapeContextHandler::setStartToken( ::sal_Int32 _starttoken ) thro } +awt::Point SAL_CALL ShapeContextHandler::getPosition() throw (uno::RuntimeException) +{ + return maPosition; +} + +void SAL_CALL ShapeContextHandler::setPosition(const awt::Point& rPosition) throw (uno::RuntimeException) +{ + maPosition = rPosition; +} + OUString ShapeContextHandler::getImplementationName() throw (css::uno::RuntimeException) { |