Ask Your Question
0

Rotate table Writer

asked 2015-06-03 14:47:15 +0200

Stophface1 gravatar image

updated 2015-08-22 16:55:19 +0200

Alex Kemp gravatar image

LO 4.3 I have many tables inserted through the table tab. I want to rotate them 90° clockwise or couner clockwise. So, the whole table, with the content. The formatting and cell width etc. should be preserved. How would I do this?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2015-06-05 19:03:26 +0200

pierre-yves samyn gravatar image

Hi

In previous versions (OOo 3.2.1) it was possible to set a frame for a vertical orientation: Right-to-left (vertical) (Options tab, Text direction). I do not know from which version of LibreOffice that is no longer available.

This is no longer offered in the interface but still availabe by the API. See ToVertical.odt that launches the macro:

Sub ToVertical
if thiscomponent.currentselection.supportsService("com.sun.star.text.TextFrame") then
    thiscomponent.currentselection.WritingMode = com.sun.star.text.WritingMode2.TB_RL
else    
    msgbox "select the frame please"    
end if  
End Sub

You could insert your tables into frames and use this macro. I created the bug report 91878

Regards

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-06-03 14:47:15 +0200

Seen: 2,048 times

Last updated: Jun 05 '15