Bug 122039 - Rotate text in custom shapes
Summary: Rotate text in custom shapes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Draw-UX
  Show dependency treegraph
 
Reported: 2018-12-12 10:38 UTC by Heiko Tietze
Modified: 2024-04-18 13:36 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
rotated text (11.85 KB, application/vnd.oasis.opendocument.graphics)
2018-12-12 11:49 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Tietze 2018-12-12 10:38:15 UTC
As reported in bug 116672, text in flipped/rotated shapes are always upside down. For a general solution we need the ability to rotate text to any degree. Similar issue regarding forms was reported in bug 115591. 

(In reply to Regina Henschel from comment #8)
> Yes, ODF has the feature to rotate the text. But there are two shortcomings:
> 1. LibreOffice has no UI for this feature.
> 2. Import and Export with MS Office does not work. LibreOffice cannot yet
> read/write the OOXML text rotations needed for 180° rotation and MS Office
> cannot read/write the ODF text rotations.
> 
> MS Office has the trapezoid, with the smaller top edge in its presets, not
> the one with the smaller edge at bottom, which is currently in LibreOffic's
> preset. I don't know why LibreOffice has it, perhaps it was used in MS 97.
> 
> If you use LibreOffice's trapezoid or my trapezoid from the attached file
> and save to pptx, it has no handle, if you open it in PowerPoint. If saved
> to odp, PowerPoint opens it and it has the handle. But if then saved to pptx
> by PowerPoint and opened by LibreOffice, the handle is not usable.
> 
> If LibreOffice opens a pptx file, it generates a shape of type
> "ooxml-trapezoid" with smaller edge at top. If you use this shape in a new
> file, which is then exported into the pptx-format, PowerPoint can read it.
> But if you use it in a new file and save to odp-format, it has at least the
> viewBox bug 76334. PowerPoint will not open it. 
> 
> Simple adding the trapezoid from my attached file to the preset might be a
> _immediately_ possible solution. All other solutions need a lot of bug
> fixing and/or feature implementation.
> 
> I have not tested Word or Excel. There might be additional problems.
Comment 1 Regina Henschel 2018-12-12 11:49:42 UTC
Created attachment 147462 [details]
rotated text

To be clear, "only" the UI is missing. LibreOffice has already internally the ability to rotate text in a custom shape. Open attached document to see it.
Comment 2 Roman Kuznetsov 2019-05-06 09:49:36 UTC
Let's set it as NEW
Comment 3 Stéphane Guillou (stragu) 2021-05-25 07:18:03 UTC
This is especially important since currently, some shapes are given a rotation value automatically when drawn, as described in Bug 137997, which means there is no way to reset the rotation of the text independently of the shape's.

Not sure in which menu it should be available, but I assume it should be locked to the shape's rotation by default, with the option to set them independently.

Feature confirmed not available in:

Version: 7.2.0.0.alpha1+ / LibreOffice Community
Build ID: 4a9eef7849a75ba91806886ea9c96d114c8d56f9
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-05-22_06:45:25
Calc: threaded
Comment 4 Regina Henschel 2021-12-11 20:31:04 UTC
(In reply to stragu from comment #3)
> This is especially important since currently, some shapes are given a
> rotation value automatically when drawn, as described in Bug 137997, which
> means there is no way to reset the rotation of the text independently of the
> shape's.

Bug 137997 is different, because the issue here is only about the shapes from sets "Basic Shapes", "Symbol Shapes" and so on, which are called "custom shapes" in file format. They have the ability to rotate text independently from shape rotation. But the problem is, that LibreOffice has no UI for that. Bug 137997 is about path-like shapes. Those do not have this independent text rotation.
Comment 5 Stéphane Guillou (stragu) 2023-06-27 14:34:38 UTC
(In reply to Regina Henschel from comment #4)
> Bug 137997 is different, because the issue here is only about the shapes
> from sets "Basic Shapes", "Symbol Shapes" and so on, which are called
> "custom shapes" in file format. They have the ability to rotate text
> independently from shape rotation. But the problem is, that LibreOffice has
> no UI for that. Bug 137997 is about path-like shapes. Those do not have this
> independent text rotation.

Thanks for clarifying, Regina. So the bug related to bug 137997 would be bug 127353.

The issue here is inherited, and affects more than Draw.
Comment 6 Telesto 2024-04-18 10:35:35 UTC
Does this qualify as easy hack and/or as papercut bug. Appears to be UI only. So shouldn't be to complex, right? Although it's about dialog + sidebar.
Comment 7 Heiko Tietze 2024-04-18 13:36:20 UTC
(In reply to Telesto from comment #6)
> Does this qualify as easy hack and/or as papercut bug.
Does it, Hossein?