This commit is contained in:
Masin Wiedner 2026-01-20 16:39:11 +01:00
parent cd98c0beec
commit 1d606632c5
9 changed files with 207 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest:manifest>
  <manifest:file-entry manifest:full-path="common.xcu" manifest:media-type="application/vnd.sun.star.configuration-data"/>
  <manifest:file-entry manifest:full-path="setup.xcu" manifest:media-type="application/vnd.sun.star.configuration-data"/>
  <manifest:file-entry manifest:full-path="toolbarMode.xcu" manifest:media-type="application/vnd.sun.star.configuration-data"/>
<manifest:file-entry manifest:full-path="writer.xcu" manifest:media-type="application/vnd.sun.star.configuration-data"/>
</manifest:manifest>

31
src/common.xcu Normal file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data oor:name="Common" oor:package="org.openoffice.Office"
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema" >
<!-- Never show the Help menu's "Tip of the Day" -->
<node oor:name="Misc">
<prop oor:name="ShowTipOfTheDay"
oor:type="xs:boolean"
oor:finalized="false" >
<value>false</value>
</prop>
</node>
<node oor:name="Save">
<node oor:name="Document">
<!-- Save a backup copy (defaulted to being turn on starting in 24.2) -->
<prop oor:name="CreateBackup" oor:type="xs:boolean" oor:finalized="false">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="History">
<!--24.8: Do not limit recently used list to the application you are using - show all recently opened files-->
<prop oor:name="ShowCurrentModuleOnly" oor:type="xs:boolean" oor:finalized="false">
<value>false</value>
</prop>
</node>
</oor:component-data>

26
src/description.xml Normal file
View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<description xmlns="http://openoffice.org/extensions/description/2006"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:lo="http://libreoffice.org/extensions/description/2011">
<version value="1.0.0"/>
<identifier value="de.wikimedia.Defaults" />
<platform value="all" />
<display-name>
<name lang="en">WMDE - Wikimedia Deutschland Configuration Extension</name>
</display-name>
<icon>
<default xlink:href="images/WMDE_Logo_white.png" />
<high-contrast xlink:href="images/WMDE_Logo_white.png" />
</icon>
<extension-description>
<src xlink:href="description/desc_en.txt" lang="en" />
<src xlink:href="description/desc_de.txt" lang="de" />
</extension-description>
</description>

View File

@ -0,0 +1,12 @@
Diese Erweiterung stellt einige Standardeinstellungen für WMDE, Wikimedia Deutschland bereit.
-Register toolbarMode
-Nutze Montserrat und Source Serif Pro Fonts
-Keine Backup-Kopien anlegen
-Versteckte Zeichen mit "Formatierungszeichen anzeigen" anzeigen
-Infobalken zu Spenden und Beitragen deaktiviert
-Tipp des Tages deaktiviert
-Dateien aller LibreOffice-Anwendungen in "Zuletzte verwendete Dokumente" anzeigen

View File

@ -0,0 +1,12 @@
This extension provides some defaults for WMDE, Wikimedia Deutschland.
-Set ribbon-like toolbarMode
-use Montserrat and Source Serif Pro fonts
-Do not create/accumulate backup copies
-Show hidden content with "View Formatting Marks"
-Disable GetInvolved and Donate infobars
-Disable Tip of the Day
-Show all file types in "open recent documents"

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

35
src/setup.xcu Normal file
View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data oor:name="Setup" oor:package="org.openoffice"
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema" >
<!-- Set the language locale setting -->
<!--
<node oor:name="L10N">
<prop oor:name="ooSetupSystemLocale" oor:type="xs:string" oor:finalized="false" >
<value>en-GB</value>
</prop>
</node>
-->
<!-- Never show the "Get Involved" or "Donate" Infobar messages. -->
<node oor:name="Product">
<prop oor:name="LastTimeDonateShown" oor:finalized="true" >
<value>2147483646</value>
</prop>
</node>
<node oor:name="Product">
<prop oor:name="LastTimeGetInvolvedShown" oor:finalized="true" >
<value>2147483646</value>
</prop>
</node>
<!-- Never show the Welcome dialog - triggered by a ooSetupLastVersion change -->
<!-- <node oor:name="Product">
<prop oor:name="WhatsNew" oor:finalized="false" >
<value>false</value>
</prop>
</node>-->
</oor:component-data>

49
src/toolbarMode.xcu Normal file
View File

@ -0,0 +1,49 @@
<?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>
<node oor:name="Calc">
<prop oor:name="Active" oor:type="xs:string" oor:finalized="false" >
<value>notebookbar.ui</value>
</prop>
</node>
<node oor:name="Impress">
<prop oor:name="Active" oor:type="xs:string" oor:finalized="false" >
<value>notebookbar.ui</value>
</prop>
</node>
<node oor:name="Draw">
<prop oor:name="Active" oor:type="xs:string" oor:finalized="false" >
<value>notebookbar.ui</value>
</prop>
</node>
</node>
<prop oor:name="ActiveCalc" oor:type="xs:string" oor:finalized="false" >
<value>notebookbar.ui</value>
</prop>
<prop oor:name="ActiveDraw" oor:type="xs:string" oor:finalized="false" >
<value>notebookbar.ui</value>
</prop>
<prop oor:name="ActiveImpress" oor:type="xs:string" oor:finalized="false" >
<value>notebookbar.ui</value>
</prop>
<prop oor:name="ActiveWriter" oor:type="xs:string" oor:finalized="false" >
<value>notebookbar.ui</value>
</prop>
</oor:component-data>

35
src/writer.xcu Normal file
View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data oor:name="Writer" oor:package="org.openoffice.Office"
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema" >
<!-- Change the default font -->
<node oor:name="DefaultFont">
<prop oor:name="Caption" oor:type="xs:string" oor:finalized="false" >
<value>Source Serif Pro</value>
</prop>
<prop oor:name="Heading" oor:type="xs:string" oor:finalized="false" >
<value>Montserrat</value>
</prop>
<prop oor:name="Index" oor:type="xs:string" oor:finalized="false" >
<value>Source Serif Pro</value>
</prop>
<prop oor:name="List" oor:type="xs:string" oor:finalized="false" >
<value>Source Serif Pro</value>
</prop>
<prop oor:name="Standard" oor:type="xs:string" oor:finalized="false" >
<value>Source Serif Pro</value>
</prop>
</node>
<node oor:name="Content">
<node oor:name="NonprintingCharacter">
<!-- Show hidden characters when "Show formatting" is turned on:
Tools - Options - Writer - Formatting Aids - Display Formatting - Hidden characters-->
<prop oor:name="HiddenCharacter" oor:type="xs:boolean" oor:finalized="false">
<value>true</value>
</prop>
</node>
</node>
</oor:component-data>