Bug 159536 - FILEOPEN PPTX setting 'Keep text flat' is ignored
Summary: FILEOPEN PPTX setting 'Keep text flat' is ignored
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: PPTX-Shapes
  Show dependency treegraph
 
Reported: 2024-02-02 23:49 UTC by Regina Henschel
Modified: 2024-02-16 14:35 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example to reproduce the problem (16.45 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2024-02-02 23:49 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2024-02-02 23:49:14 UTC
Created attachment 192362 [details]
Example to reproduce the problem

Open attached document. It contains 'heart' shapes, which were rotated by using the z-Rotation of a 3D camera. In that settings the option "Keep text flat" was checked. That excludes the text from the z-Rotation, so that it stays horizontal.

Error: The text is rotated in LibreOffice.

This option is the element <flatTx> in OOXML.

There exists already the property TextCameraZRotateAngle in CustomShapeGeometry. It could be used to compensate the shape rotation. But the <flatTx> element is not even read, see https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/textbodypropertiescontext.cxx?r=60bce1af#273

[When Skia is disabled, the text area inside the shapes is wrong in addition, so that the text is cut. But that is a different problem and already reported in bug 157986.]
Comment 1 Buovjaga 2024-02-16 14:35:37 UTC
Confirmed.

Arch Linux 64-bit, X11
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3b04e74503ec6d07dc4befdb756e6abdc3de4e58
CPU threads: 8; OS: Linux 6.7; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 16 February 2024