summaryrefslogtreecommitdiff
path: root/oox/source/shape
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-05-06 17:00:40 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-05-06 17:11:44 +0200
commitf0d6137c4e61bea3bed2b201a83a8e7a66065114 (patch)
tree21fb7e92907d18a8f4543166bdd572a461a1bd45 /oox/source/shape
parentd3832fc60d42fedf2ba9a49b8d353a3d1265a38f (diff)
oox: prepare for importing a TextBox property on shapes
Writer's SwXShape doesn't have that property yet, though. Change-Id: I997eb188574fab93d35595972fdc2eaebabc015b
Diffstat (limited to 'oox/source/shape')
-rw-r--r--oox/source/shape/WpsContext.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/oox/source/shape/WpsContext.cxx b/oox/source/shape/WpsContext.cxx
index fa1730471727..ed2b1de4de2d 100644
--- a/oox/source/shape/WpsContext.cxx
+++ b/oox/source/shape/WpsContext.cxx
@@ -117,6 +117,7 @@ oox::core::ContextHandlerRef WpsContext::onCreateContext(sal_Int32 nElementToken
{
mpShape->getCustomShapeProperties()->setShapeTypeOverride(true);
mpShape->setServiceName("com.sun.star.text.TextFrame");
+ mpShape->setTextBox(true);
//in case if the textbox is linked, save the attributes
//for further processing.
if (rAttribs.hasAttribute(XML_id))