Bug 125560

Summary: FILEOPEN PPTX: text transformation "Deflate" is wrongly imported as "Inflate"
Product: LibreOffice Reporter: Regina Henschel <rb.henschel>
Component: ImpressAssignee: Gabor Kelemen (allotropia) <kelemeng>
Status: VERIFIED FIXED    
Severity: normal CC: aron.budea, mentoring, raal
Priority: medium Keywords: easyHack
Version: 6.2.0.3 release   
Hardware: All   
OS: All   
Whiteboard: target:7.2.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 79512, 107634    
Attachments: Shape with text transformation "Deflate" and screenshot
shape type textInflateTop with image

Description Regina Henschel 2019-05-28 19:02:09 UTC
Created attachment 151746 [details]
Shape with text transformation "Deflate" and screenshot

Open attached file. It contains a shape with text transformation "Deflate" and an image, which shows, how it looks in PowerPoint.

The wrong mapping is in file
oox/source/drawingml/presetgeometrynames.cxx

Because it has no corresponding fontwork-shape among LibreOffice's own Fontwork shapes, the name does not start with 'fontwork'. But you find the correct name in file svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx

This is no regression but was wrong from the beginning, when the text transformation feature was implemented (see bug 116350).
Comment 1 raal 2019-05-28 19:33:46 UTC
Confirm Version: 6.3.0.0.alpha1+
Build ID: 53325b40b557cc84d8d21c1baa0ef8d3bfc00ab8
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Comment 2 Regina Henschel 2019-06-05 20:54:54 UTC
Created attachment 151948 [details]
shape type textInflateTop with image

The transformation "textInflateTop" is wrongly mapped too.
Comment 3 Regina Henschel 2019-06-07 16:59:46 UTC
*** Bug 125070 has been marked as a duplicate of this bug. ***
Comment 4 Commit Notification 2021-03-29 15:05:14 UTC
Gabor Kelemen committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/9083ed07950d8c9f3e5f2f8bba7f07862c6433e2

tdf#125560 PPTX import: fix WordArt effect textDeflate and textInflateTop

It will be available in 7.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 NISZ LibreOffice Team 2021-05-05 13:46:51 UTC
Verified in: 

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ef78c7d93e4f170ac7a7f0307a8305052524eb53
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: default; VCL: win
Locale: ug-CN (hu_HU); UI: hu-HU
Calc: threaded