[Writer] How to suppress formatting samples in Styles & Formatting window?

Styles & Formatting window in LO 5.0 displays a preview of the advertised style as well as in the Styles and Font drop-down menu.

Since I work mainly with customised styles (from a template document), I know which style I want to use. In this particular case, I do not need visual clues for choosing the style. My style names are also semantically significant to mark up the text. (Note: the semantic aspect is of prime importance for me, much more important than visual aspect. Since aesthetically acceptable variants are rather limited, two different semantic mark up may end up with same visual aspect.) The inconvenience, here, is preview takes relatively a lot of space, resulting in fewer styles being listed, leading to scroll first with the mouse before double-clicking.

The Font drop-down menu can be controlled from Tools->Options->LO->Display to enable/disable preview display. I have not found the equivalent setting for the Styles & Formatting window, albeit I explored thoroughly the Options and right-clicked in the S & F window.

Is there a feature to suppress the preview in the Styles & Formatting window in order to have a compact list?

Note:

I checked the other components (Calc, Impress, Draw) which display no preview but share the inconvenience (in my case) of too much vertical spacing between style items. Consequently, the side question is “how to customise this vertical spacing?”

@ajlittoz Reopened. Have another go!

Thanks, but it was not necessary.

Hi

Yes, Tomaž Vajngerl developed an option. The previews can be disabled in:

ToolsOptionsLibreOfficeAdvancedExpert Configuration

by setting the property /org.openoffice.Office.Common/StylesAndFormatting Preview to false.

Note: if the styles window were displayed when editing option, you will need to refresh, for example by displaying the navigator.

Regards

Merci

That feature is impressive! Just like an iceberg: 10% (or less) adjustable through the UI, 90% for developers. But what a mess!

To make it a bit clearer: The “Preference name” is just “/org.openoffice.Office.Common/StylesAndFormatting”; the “property” is “Preview”; the value is to be set “false”. Don’t concatenate these…

Somehow, despite the fact that the property is set to ‘false’ in my case, I can still see the preview of styles in the dropdown menu.
(The problem is that the preview causes the toolbar to dislocate/jump from its position, or so I presume.)

@datka: what is your LO version?

Versions released since this question now include a check box in the style sidepane (F11 if not visible). I have not tested if the advanced setting is still necessary because the checkbox in the UI is very handy.