Created
April 8, 2024 11:05
-
-
Save shantanuo/1e460f0e430475256821af34afec1806 to your computer and use it in GitHub Desktop.
Change the libreoffice apps default toolbars to ribbon that looks like Microsoft Office
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<oor:component-data oor:name="ToolbarMode" oor:package="org.openoffice.Office.UI" | |
xmlns:oor="http://openoffice.org/2001/registry" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" > | |
<!-- Change the default user interface | |
default #Classic menu/toolbar | |
notebookbar.ui #MS Office ribbon clone | |
Other options are Single, Sidebar, notebookbar_compact.ui, notebookbar_groupedbar_compact.ui, notebookbar_single.ui | |
--> | |
<node oor:name="Applications"> | |
<node oor:name="Writer"> | |
<prop oor:name="Active" oor:type="xs:string" oor:finalized="false" > | |
<value>notebookbar.ui</value> | |
</prop> | |
<node oor:name="Modes"> | |
<node oor:name="Tabbed"> | |
<prop oor:name="HasMenubar" oor:type="xs:boolean" oor:finalized="false" > | |
<value>true</value> | |
</prop> | |
</node> | |
</node> | |
</node> | |
<node oor:name="Calc"> | |
<prop oor:name="Active" oor:type="xs:string" oor:finalized="false" > | |
<value>notebookbar.ui</value> | |
</prop> | |
<node oor:name="Modes"> | |
<node oor:name="Tabbed"> | |
<prop oor:name="HasMenubar" oor:type="xs:boolean" oor:finalized="false" > | |
<value>true</value> | |
</prop> | |
</node> | |
</node> | |
</node> | |
<node oor:name="Impress"> | |
<prop oor:name="Active" oor:type="xs:string" oor:finalized="false" > | |
<value>notebookbar.ui</value> | |
</prop> | |
<node oor:name="Modes"> | |
<node oor:name="Tabbed"> | |
<prop oor:name="HasMenubar" oor:type="xs:boolean" oor:finalized="false" > | |
<value>true</value> | |
</prop> | |
</node> | |
</node> | |
</node> | |
<node oor:name="Draw"> | |
<prop oor:name="Active" oor:type="xs:string" oor:finalized="false" > | |
<value>notebookbar.ui</value> | |
</prop> | |
<node oor:name="Modes"> | |
<node oor:name="Tabbed"> | |
<prop oor:name="HasMenubar" oor:type="xs:boolean" oor:finalized="false" > | |
<value>true</value> | |
</prop> | |
</node> | |
</node> | |
</node> | |
</node> | |
</oor:component-data> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is quite amazing! I have already downloaded the extension but I have a problem. I wrote macros for LibreOffice Writer and also created a custom menu whose entries are associated with the macros. You may find the macros here. Now I want to compact all this in an extension so that I won't need to configure the custom menu on another PC (want to have it by installing the extension). However I don't actually know how write the Addons.xcu file accordingly. Can you help me with this. Here is the structure of the menu :
Custom Menu
Submenu