diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2023-11-24 01:18:22 +0100 |
---|---|---|
committer | Regina Henschel <rb.henschel@t-online.de> | 2023-11-24 15:15:41 +0100 |
commit | 63ecd577f5fe95feda0d1d8577a7d3b493999d78 (patch) | |
tree | b69b842f35a6fbd2400f1d6066eede375e2b00d3 /oox/source | |
parent | b1a866caccb322ec6e88eac67710310160e72b58 (diff) |
tdf#158339 setFullWPGSupport to group shape in wpc
otherwise the group will create no wps shapes but draw shapes and those
cannot be connected to text frames. The text frames were then located
separate outside the drawing canvas instead of being bound to the shape.
Change-Id: I525fac157c08c60d43ff9420775e2cbb9d891d23
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159885
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'oox/source')
-rw-r--r-- | oox/source/shape/WordprocessingCanvasContext.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/oox/source/shape/WordprocessingCanvasContext.cxx b/oox/source/shape/WordprocessingCanvasContext.cxx index 7273a8d23ea6..9365e387f5e3 100644 --- a/oox/source/shape/WordprocessingCanvasContext.cxx +++ b/oox/source/shape/WordprocessingCanvasContext.cxx @@ -88,7 +88,11 @@ WordprocessingCanvasContext::onCreateContext(sal_Int32 nElementToken, << getBaseToken(nElementToken)); break; case XML_wgp: // CT_WordprocessingGroup - return new oox::shape::WpgContext(*this, mpShapePtr); + { + rtl::Reference<WpgContext> pWPGContext = new oox::shape::WpgContext(*this, mpShapePtr); + pWPGContext->setFullWPGSupport(m_bFullWPGSupport); + return pWPGContext; + } default: // includes case XML_contentPart // Word uses this for Ink, as <w14:contentPart r:id="rId4"> for example. Thereby rId4 is |