# can I change styles without using mouse?

I hate being forced to use the mouse.

I'm aware of F11... but is it possible to change styles without then ever touching the mouse? And then make the Styles dialog disappear... without touching the mouse?

I'm also aware of macros and customisation (of hotkeys). Obviously I could set a hotkey combo for a particular style... perhaps I could write a macro which will let me choose a particular style "by hand" without using the mouse.

There is also the little box at the far left in the style toolbar, where the style is displayed... maybe it's possible to access this box using a hotkey? And then change the style and then return to the document with another keyboard command?

Any help appreciated...

edit retag close merge delete

Sort by » oldest newest most voted

Hi

In addition to the answers already given, it is possible to modify the current style without the mouse. Use the keyboard key to display the pop-up menu (or Shift+F10) then StylesEdit Style.

This is limited to the current style but if you mainly use the heading styles and the Text Body, they are applicable by the shortcuts Ctrl+0, Ctrl+1, and so on.

So we can apply / edit very quickly without the mouse.

HTH - Regards

more

You're probably already aware of these, but if not...
Here are a few bits to help in your future mouse-avoidance efforts:

Working with the LibreOffice user interface without mouse
https://help.libreoffice.org/Common/S...

General Shortcut Keys in LibreOffice
https://help.libreoffice.org/Common/G...

Shortcut Keys for LibreOffice Writer
https://help.libreoffice.org/Writer/S...

more

LibreOffice should be usable without mouse, although the way to the operations is often not short (see next paragraph). If something is not doable without mouse, it is a bug. You find a lot of information with the search term "accessibility" in the help. Because of the long ways to get the desired operation, defining own short-cuts for often needed features is advisable, see answer by JohnSUN.

With accessibility ways you jump from part to part of the Style&Formatting pane by tab and shift-tab, and move inside a part with arrow-keys. You assign the selected (dark blue, simple highlight is light-blue-gray) style with Enter, which in addition sets the focus back to the document. But annoying is the fact, that F11 opens the pane, but the pane does not get focus. So you would in addition use F6 and Shift+F6 to traverse the toolbars and windows to set the focus to the Style&Formatting pane. It has the focus, when there is a dotted rectangle around the word "Styles".

A quicker way besides the short-cut way, is using access-keys, those underlined characters, which you use together with the Alt-key. For an English UI you get Alt y to open the Styles menu and then e.g. Alt x to assign style "text body". Here you might need to once add your often used styles to the menu.

more

Thanks... in fact the Styles menu in my version of LO Writer (5.1.6.2) has access key "S", not "Y", and in fact I'd prefer those underlinings to be on permanent, not just when you press "Alt". Yes, "X" selected Text Body, but that's one of the few styles which has an in-built hotkey (Ctrl-0). Yes, I'll probably add some styles to that menu. I wonder whether you can stipulate in a macro this "multi-F6/Shift-F6" to get to or from the F11 panel? Pretty annoying!

( 2018-05-15 18:42:20 +0200 )edit

The best solution I've found so far is to press F6 x 4, followed by Alt-Down. With my setup anyway (showing the Standard and Formatting toolbars, i.e. default) this means the name of the current style in that little box (containing the style name) at the far left of the Formatting toolbar is selected... you can then overtype it...

The contents of this combibox are made to appear by pressing Alt-Down (i.e. the keypad down key) - and this also makes the contents of the box (the current style) selected, so you don't have to press Ctrl-A. If we're into minimising keystrokes (which I am) this seems the best solution.

... with the combibox contents displayed it is then very easy to see what styles are available to you... Once you have chosen a style and pressed Enter this is applied to any selection (or sets the style at the cursor...). Pressing Enter also returns the "active" cursor to the point in the text where you're writing...

I'm something of a Writer newb, so I don't know where these styles come from: they appear to be the Paragraph styles which are displayed when you press F11. I don't know whether there's a way of displaying Character styles in this box...

Anyway this is a start (for me).

more

Of course you can, why not? Your idea about hot keys is the most faithful (IMHO)

more