Bug 125560 - FILEOPEN PPTX: text transformation "Deflate" is wrongly imported as "Inflate"
Summary: FILEOPEN PPTX: text transformation "Deflate" is wrongly imported as "Inflate"
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.2.0.3 release
Hardware: All All
: medium normal
Assignee: Gabor Kelemen (allotropia)
URL:
Whiteboard: target:7.2.0
Keywords: easyHack
Depends on:
Blocks: OOXML-WordArt FontWork-WordArt
  Show dependency treegraph
 
Reported: 2019-05-28 19:02 UTC by Regina Henschel
Modified: 2021-05-05 13:46 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Shape with text transformation "Deflate" and screenshot (35.24 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2019-05-28 19:02 UTC, Regina Henschel
Details
shape type textInflateTop with image (31.26 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2019-06-05 20:54 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
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