Page 1 of 1

[Solved] Toolbar for whole LibreOffice

Posted: Mon Nov 15, 2021 4:45 pm
by Ponny
I don't know, what is the trick, but I can't find what I am searcihng in this forum. This is the reason, why I open new topic, but my problem is maybe already solved on some other topic. But I just can't find.

Problem is this. How to make toolbar, just made in one of the odt files to be accessible in whole LibreOffice to all files?

This is maybe just easy to to, but for me is mystery.

Hm, just one idea. Maybe I should copy this new tollbar to template. But I have no idea, how to do this.

Re: Toolbar for whole LibreOffice

Posted: Mon Nov 15, 2021 5:06 pm
by Hagar Delest
By default, toolbars are not limited to documents IIRC, it should be visible for any document of the same type (.odm and .odt trigger separate settings nonetheless).
If it has to be across different modules (for example Writer and Calc), that's another story.
How have you proceeded exactly?

Re: Toolbar for whole LibreOffice

Posted: Mon Nov 15, 2021 5:36 pm
by Villeroy
The toolbar creator has a listbox in the upper-right corner where you can specify if the toolbar should be stored with the current document (here "Untitled 1" or with the whole component (here Writer). IMHO, there is no way to create a toolbar for many components.

Re: Toolbar for whole LibreOffice

Posted: Mon Nov 15, 2021 6:24 pm
by Hagar Delest
Villeroy wrote:IMHO, there is no way to create a toolbar for many components.
It can if it is packaged in an extension.
Strangely, it is repeated for each button (it would be more appropriate to declare that setting for the whole toolbar), here for as display in Writer for standard documents and master documents:
<prop oor:name="Context" oor:type="xs:string">
   <value>com.sun.star.text.TextDocument,com.sun.star.text.GlobalDocument</value>
</prop>

Re: Toolbar for whole LibreOffice

Posted: Mon Nov 15, 2021 10:45 pm
by Ponny
I made new toolbar in template. But then it seems files nort accepted this toolbar. Or maybe I am doing something very wrong.

Re: Toolbar for whole LibreOffice

Posted: Mon Nov 15, 2021 10:58 pm
by Ponny
Now I made another trick.
I made new toolbar in template.
Then I made document on this template.
Now new tollbar is in this file.
Well, toollbar made in document odt is maybe not posible to simply copy to template.

Well, then I will in future use this acrobatic way, because, there maybe is not easy way.