summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-11-21 14:33:22 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-11-21 18:05:58 +0100
commit91efe26d177b0686923b95b5c28cb208798f1df6 (patch)
treeb526f82e11fb08742cb9dc90dc6e135fa6cc69dd /oox
parentbb4cbfc139f27b75ba118e107faa29ceda6a19e4 (diff)
DOCX drawingML shape import: initial wps:txbx handling
A proper textframe is created, but the text on the shape is still outside the frame. Change-Id: I042295cfdd61ce9c0ee52cdf5e8700d8d2b1b1c5
Diffstat (limited to 'oox')
-rw-r--r--oox/source/shape/WpsContext.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/oox/source/shape/WpsContext.cxx b/oox/source/shape/WpsContext.cxx
index 92c1a088f237..6ecf320482ed 100644
--- a/oox/source/shape/WpsContext.cxx
+++ b/oox/source/shape/WpsContext.cxx
@@ -49,6 +49,9 @@ oox::core::ContextHandlerRef WpsContext::onCreateContext(sal_Int32 nElementToken
break;
case XML_bodyPr:
break;
+ case XML_txbx:
+ mpShape->setServiceName("com.sun.star.text.TextFrame");
+ break;
default:
SAL_WARN("oox", "WpsContext::createFastChildContext: unhandled element:" << getBaseToken(nElementToken));
break;