Bug 127485 - Rotate tables
Summary: Rotate tables
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2019-09-10 23:03 UTC by P. Maier
Modified: 2024-03-19 14:29 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description P. Maier 2019-09-10 23:03:34 UTC
Description:
Sometimes it would be helpful to move or rotate tables in writer.

Large tables are often to wide so I have to rotate them 90°.

I do not want to rotate the whole page. Because after that the header and footer is moving also.


Steps to Reproduce:
create a large table

Actual Results:
table to wide for normal view

Expected Results:
posibility to rotate the table


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Dieter 2019-09-15 11:36:26 UTC
It's possible to rotate text, images, ... within a table. So I don't see the necessity to rotate a table as a whole.

cc: Design-eam for further input
Comment 2 Heiko Tietze 2019-09-17 06:37:13 UTC
The exact use case is not clear top me. And since rotated text is not reader-friendly, shall we really support this?
Comment 3 Heiko Tietze 2019-09-17 06:45:58 UTC
For the (freely) moving request: Select the table (Table > Select > Table) and insert a frame it (Insert > Frame > Frame... and Okay).

I adjusted the summary accordingly.
Comment 4 V Stuart Foote 2019-09-17 12:58:04 UTC
Unfortunately rotating the text of each cell in a table (select all -> rotate -> optimize height/width) is much more cumbersome and is error prone.

While current alternative of inserting a page break to layout a table onto a landscape page shifts the header/footer of the page to the long page axis, awkward for printing/binding of a document.

As Heiko noted for moving a table (and its anchor) current use of a Frame to hold the table is efficient. 

So any reason rotating a table could not be implemented by rotatation of an enclosing frame--as done for images now?

If ODF would allow that, it should be a limited dev effort to implement the feature. Right?
Comment 5 Heiko Tietze 2019-09-18 05:07:41 UTC
More simple approach is to take the row count and properties (width, height...) into cols and vice versa, and to rotate the text finally. Could also be done per extension.
Comment 6 csongor 2019-09-18 07:01:08 UTC
I agree, in some cases, rotation of a table without changing the page orientation would be nice.

However, I couldn't do it with frames. If I insert a frame, I cannot rotate it. Is it something I just cannot find or this feature doesn't exist?

The https://bugs.documentfoundation.org/show_bug.cgi?id=91530 bug is about this and the solution proposed there (using Text Box instead of Frame) works only with texts but does not work with tables.
Comment 7 Heiko Tietze 2019-09-18 07:24:52 UTC
(In reply to csongor from comment #6)
> However, I couldn't do it with frames....

Original subject was "moving, rotating tables in LibreOffice writer" and the moving part is up to the frames. Would be an interesting enhancement if frames could rotate.
Comment 8 V Stuart Foote 2019-09-18 12:53:15 UTC
Not clear bug 91530 was closed correctly. Anyhow, use case for rotated tables in a word processor is pretty clear, and existing methods of achieving it are currently too cumbersome. As one alternative, to complement the moving of tables held in anchored frames, rotation of tables held in frames seems valid--if ODF container can support. RFE design and dev effort.

To => NEW
Comment 9 Cor Nouws 2019-09-19 11:52:42 UTC
Interesting suggestion.
Rather complicated to implement I guess.
But no objections that I could think of.
Comment 10 Heiko Tietze 2019-09-19 13:08:17 UTC
So accepted by UX; don't see much coding trouble, could be realized per extension by taking the right-top cell as top-left with row-to-col and row-to-col properties etc.