diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-05-06 17:00:40 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-05-06 17:11:44 +0200 |
commit | f0d6137c4e61bea3bed2b201a83a8e7a66065114 (patch) | |
tree | 21fb7e92907d18a8f4543166bdd572a461a1bd45 /oox/source/shape | |
parent | d3832fc60d42fedf2ba9a49b8d353a3d1265a38f (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.cxx | 1 |
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)) |