From 91efe26d177b0686923b95b5c28cb208798f1df6 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 21 Nov 2013 14:33:22 +0100 Subject: 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 --- oox/source/shape/WpsContext.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'oox') 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; -- cgit