Bug 91586 - Filesave: Impress does not properly open 90º rotated text in an ODP copy of a PPTX
Summary: Filesave: Impress does not properly open 90º rotated text in an ODP copy of a...
Status: RESOLVED DUPLICATE of bug 149551
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.3.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: PPTX
  Show dependency treegraph
 
Reported: 2015-05-24 18:29 UTC by Juanjo
Modified: 2023-03-08 15:21 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Slide 8 contains a text rotated 90º (239.17 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2015-05-24 18:29 UTC, Juanjo
Details
Text is rotated in PPTX format (53.52 KB, image/png)
2015-05-24 18:31 UTC, Juanjo
Details
Text is *not* rotated in ODP format (52.66 KB, image/png)
2015-05-24 18:32 UTC, Juanjo
Details
Text is correctly rotated in a PDF copy of the ODP-format file (40.05 KB, image/png)
2015-05-24 18:34 UTC, Juanjo
Details
Minimal test case.pptx (30.05 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2017-01-17 15:40 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juanjo 2015-05-24 18:29:59 UTC
Created attachment 115991 [details]
Slide 8 contains a text rotated 90º

Steps:
1. Open file attached to this bug report (test.pptx)
2. Save a copy in ODP format (testPPTX.odp)
3. Open testPPTX.odp
4. Go to slide #8
Result:
Text box "This text is rotated 90º" is correctly rendered in test.pptx but it doesn't in testPPTX.odp

Note: in a saved PDF copy of testPPTX.odp text box appears correctly rotated 90º
Comment 1 Juanjo 2015-05-24 18:31:44 UTC
Created attachment 115992 [details]
Text is rotated in PPTX format
Comment 2 Juanjo 2015-05-24 18:32:39 UTC
Created attachment 115993 [details]
Text is *not* rotated in ODP format
Comment 3 Juanjo 2015-05-24 18:34:17 UTC
Created attachment 115994 [details]
Text is correctly rotated in a PDF copy of the ODP-format file
Comment 4 raal 2015-05-24 20:56:35 UTC
I can confirm  with Version: 5.1.0.0.alpha1+
Build ID: 891304bb0ad3af9d8d73f947f25477abf57485a4
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2015-05-24_00:37:40
and Lo 4.3.7
Comment 5 QA Administrators 2016-09-20 09:46:23 UTC Comment hidden (obsolete)
Comment 6 Timur 2017-01-17 15:40:51 UTC
Created attachment 130498 [details]
Minimal test case.pptx
Comment 7 Xisco Faulí 2017-11-08 15:57:05 UTC
The problem in the original file is no longer reproducible in

Version: 6.0.0.0.alpha1+
Build ID: 5e0022c90c4125a1590b3688dfec73c271b7aedd
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

However, the issue is still reproducible using the minial test case file
Comment 8 Xisco Faulí 2018-08-16 21:48:53 UTC
The issue with the first attachment was fixed in https://cgit.freedesktop.org/libreoffice/core/commit/?id=bb72ef2a15b0a08b07256f1bb3a0c96c413e8da8, a commit done by Szymon Kłos

@Szymon Kłos, I thought you could be interested in the issue with the minimal case attached, it might be a corner case...
Comment 9 QA Administrators 2019-08-19 07:01:09 UTC Comment hidden (obsolete)
Comment 10 Timur 2019-12-07 20:17:28 UTC
Repro 6.5+ with Minimal test case. That's text box shape with "rotate all text" option.
Comment 11 QA Administrators 2021-12-07 04:56:55 UTC Comment hidden (obsolete)
Comment 12 Regina Henschel 2022-07-04 14:49:33 UTC
I see both texts rotated in the odp-file. And the texts on slide 8 are correct too. Tested with Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: d2dfc0c4286057f5d8dda178817de3503c3a7d29
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL
Comment 13 Timur 2022-07-04 15:05:43 UTC
Doesn't look good, text box size is small. Same as in Lo 7.0
Comment 14 Regina Henschel 2022-07-04 16:40:08 UTC
The text rotation belongs to the 'vert' attribute in pptx. It is converted to property "TextPreRotateAngle" on import. You see the property inside "CustomShapeGeometry" property using the Develment Tools.

ODF has no way to store this text rotation. I have tried a discussion on the dev-list how to export this to ODF, but without success. My current suggestion would be to use writing-modes, as it is done for frames.

In theory we can change width and height of the text area rectangle of the custom shape. But that would conflict with using predefined shape types.
Comment 15 Xisco Faulí 2023-03-08 15:21:36 UTC
Issue fixed with https://cgit.freedesktop.org/libreoffice/core/commit/?id=c70ee4a6b9071468255e5d4fdb893e9c9bdf4fad
Closing as RESOLVED DUPLICATED of bug 149551

*** This bug has been marked as a duplicate of bug 149551 ***