Ask Your Question
0

Quick way to hide/show my toolbars

asked 2017-10-04 07:13:05 +0200

Per gravatar image

Is there a quick way to show/hide my toolbars? (Not show/hide one at a time, but all I am using)

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2017-10-04 08:55:29 +0200

pierre-yves samyn gravatar image

Hi

Would not ViewFull Screen be what you need? You can toggle with Ctrl+Shift+J

Regards

edit flag offensive delete link more

Comments

@pierre-yves samyn I believe this time yours is the better and faster solution :)

Ratslinger gravatar imageRatslinger ( 2017-10-04 09:04:22 +0200 )edit

This is good if you want a single fullscreen window, but doesn't help if you want multiple windows alongside each other on a single monitor.

peci1 gravatar imagepeci1 ( 2018-01-04 12:19:30 +0200 )edit
0

answered 2017-10-04 08:48:00 +0200

Ratslinger gravatar image

updated 2017-10-04 09:11:53 +0200

Hello,

You can do this with a macro. The macro is a toggle; if toolbars on it will turn off; if toolbars off it will turn on. Macro:

Sub Toggle_Toolbar
     Dim oLayoutManager as Object
     oLayoutManager = thisComponent.CurrentController.Frame.LayoutManager
     If oLayoutManager.isVisible then
        oLayoutManager.visible = 0
     Else
        oLayoutManager.visible = 1
     End If
     oLayoutManager.showElement("private:resource/menubar/menubar")
End Sub

It would be best to add this as a new menu/item ( use Tools->Customize then Menu tab) so as to be able to toggle on/off when wanted. If you are unfamiliar with either macros or adding a menu item, see the LO Getting Started Documentation, Chapters 13 & 14 for clarification.

Edit:

Sample with new menu item after Help: ToolBarsOnOff.odt

I may be wrong but I believe you also would need to install Java JRE for this to work.

If this answers your question please click on the ✔ (upper left area of answer).

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-10-04 07:13:05 +0200

Seen: 456 times

Last updated: Oct 04 '17