summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2020-08-20 17:36:56 +0300
committerRizal Muttaqin <riz_17_oke@yahoo.co.id>2020-08-25 09:43:23 +0200
commit100fa70da3c4692d8cabd991a0fc3cda686fbdd4 (patch)
treea556a1b29cd2837afe3798bb3d8191973e6037ad /officecfg
parentb2b4eea40ceba9268a4fb3876f40b6b11a206f84 (diff)
tdf#92287 Make LibreLogo icons theme based
Change-Id: I9f8eacd79fd890ae81f9ef8337e03213818c879e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101078 Tested-by: Jenkins Tested-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id> Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/Configuration_officecfg.mk1
-rw-r--r--officecfg/registry/data/org/openoffice/Office/Addons.xcu137
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu72
3 files changed, 82 insertions, 128 deletions
diff --git a/officecfg/Configuration_officecfg.mk b/officecfg/Configuration_officecfg.mk
index 9ce55fafcc4a..af9884d91262 100644
--- a/officecfg/Configuration_officecfg.mk
+++ b/officecfg/Configuration_officecfg.mk
@@ -111,6 +111,7 @@ $(eval $(call gb_Configuration_add_spool_modules,registry,officecfg/registry/dat
org/openoffice/Office/Embedding-base.xcu \
org/openoffice/Office/Embedding-reportbuilder.xcu \
org/openoffice/Office/Embedding-writer.xcu \
+ org/openoffice/Office/UI/WriterCommands-librelogo.xcu \
org/openoffice/Office/UI/WriterWindowState-librelogo.xcu \
org/openoffice/Office/UI/Controller-reportbuilder.xcu \
org/openoffice/TypeDetection/UISort-writer.xcu \
diff --git a/officecfg/registry/data/org/openoffice/Office/Addons.xcu b/officecfg/registry/data/org/openoffice/Office/Addons.xcu
index 8ddfbebdf3c8..6b905e7d174c 100644
--- a/officecfg/registry/data/org/openoffice/Office/Addons.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/Addons.xcu
@@ -16,7 +16,7 @@
<value>com.sun.star.text.TextDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$goforward?language=Python&amp;location=share</value>
+ <value>.uno:LibreLogo-goforward</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">FORWARD 10</value>
@@ -30,7 +30,7 @@
<value>com.sun.star.text.TextDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$gobackward?language=Python&amp;location=share</value>
+ <value>.uno:LibreLogo-gobackward</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">BACK 10</value>
@@ -44,7 +44,7 @@
<value>com.sun.star.text.TextDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$left?language=Python&amp;location=share</value>
+ <value>.uno:LibreLogo-left</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">LEFT 15°</value>
@@ -58,7 +58,7 @@
<value>com.sun.star.text.TextDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$right?language=Python&amp;location=share</value>
+ <value>.uno:LibreLogo-right</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">RIGHT 15°</value>
@@ -72,7 +72,7 @@
<value>com.sun.star.text.TextDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$run?language=Python&amp;location=share</value>
+ <value>.uno:LibreLogo-run</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">Start Logo program (text or selected text of the documents) or an example (in empty documents)</value>
@@ -86,7 +86,7 @@
<value>com.sun.star.text.TextDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$stop?language=Python&amp;location=share</value>
+ <value>.uno:LibreLogo-stop</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">STOP</value>
@@ -100,7 +100,7 @@
<value>com.sun.star.text.TextDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$home?language=Python&amp;location=share</value>
+ <value>.uno:LibreLogo-home</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">HOME</value>
@@ -114,7 +114,7 @@
<value>com.sun.star.text.TextDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$clearscreen?language=Python&amp;location=share</value>
+ <value>.uno:LibreLogo-clearscreen</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">CLEARSCREEN</value>
@@ -148,7 +148,7 @@
<value>com.sun.star.text.TextDocument</value>
</prop>
<prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$__translate__?language=Python&amp;location=share</value>
+ <value>.uno:LibreLogo-translate</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en-US">Set editing layout, format program or translate it into the language of the document</value>
@@ -159,124 +159,5 @@
</node>
</node>
</node>
- <node oor:name="Images">
- <node oor:name="logo-forward" oor:op="replace">
- <prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$goforward?language=Python&amp;location=share</value>
- </prop>
- <node oor:name="UserDefinedImages">
- <prop oor:name="ImageSmallURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/sc_arrowshapes.up-arrow.png</value>
- </prop>
- <prop oor:name="ImageBigURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/lc_arrowshapes.up-arrow.png</value>
- </prop>
- </node>
- </node>
- <node oor:name="logo-backward" oor:op="replace">
- <prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$gobackward?language=Python&amp;location=share</value>
- </prop>
- <node oor:name="UserDefinedImages">
- <prop oor:name="ImageSmallURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/sc_arrowshapes.down-arrow.png</value>
- </prop>
- <prop oor:name="ImageBigURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/lc_arrowshapes.down-arrow.png</value>
- </prop>
- </node>
- </node>
- <node oor:name="logo-left" oor:op="replace">
- <prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$left?language=Python&amp;location=share</value>
- </prop>
- <node oor:name="UserDefinedImages">
- <prop oor:name="ImageSmallURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/sc_arrowshapes.circular-leftarrow.png</value>
- </prop>
- <prop oor:name="ImageBigURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/lc_arrowshapes.circular-leftarrow.png</value>
- </prop>
- </node>
- </node>
- <node oor:name="logo-right" oor:op="replace">
- <prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$right?language=Python&amp;location=share</value>
- </prop>
- <node oor:name="UserDefinedImages">
- <prop oor:name="ImageSmallURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/sc_arrowshapes.circular-arrow.png</value>
- </prop>
- <prop oor:name="ImageBigURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/lc_arrowshapes.circular-arrow.png</value>
- </prop>
- </node>
- </node>
- <node oor:name="logo-run" oor:op="replace">
- <prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$run?language=Python&amp;location=share</value>
- </prop>
- <node oor:name="UserDefinedImages">
- <prop oor:name="ImageSmallURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/sc_runbasic.png</value>
- </prop>
- <prop oor:name="ImageBigURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/lc_runbasic.png</value>
- </prop>
- </node>
- </node>
- <node oor:name="logo-stop" oor:op="replace">
- <prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$stop?language=Python&amp;location=share</value>
- </prop>
- <node oor:name="UserDefinedImages">
- <prop oor:name="ImageSmallURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/sc_basicstop.png</value>
- </prop>
- <prop oor:name="ImageBigURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/lc_basicstop.png</value>
- </prop>
- </node>
- </node>
- <node oor:name="logo-home" oor:op="replace">
- <prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$home?language=Python&amp;location=share</value>
- </prop>
- <node oor:name="UserDefinedImages">
- <prop oor:name="ImageSmallURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/sc_navigationbarleft.png</value>
- </prop>
- <prop oor:name="ImageBigURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/lc_navigationbarleft.png</value>
- </prop>
- </node>
- </node>
- <node oor:name="logo-clearscreen" oor:op="replace">
- <prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$clearscreen?language=Python&amp;location=share</value>
- </prop>
- <node oor:name="UserDefinedImages">
- <prop oor:name="ImageSmallURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/sc_newdoc.png</value>
- </prop>
- <prop oor:name="ImageBigURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/lc_newdoc.png</value>
- </prop>
- </node>
- </node>
- <node oor:name="logo-translate" oor:op="replace">
- <prop oor:name="URL" oor:type="xs:string">
- <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$__translate__?language=Python&amp;location=share</value>
- </prop>
- <node oor:name="UserDefinedImages">
- <prop oor:name="ImageSmallURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/sc_editglossary.png</value>
- </prop>
- <prop oor:name="ImageBigURL">
- <value>vnd.sun.star.expand:$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/Scripts/python/LibreLogo/icons/lc_editglossary.png</value>
- </prop>
- </node>
- </node>
- </node>
</node>
</oor:component-data>
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
index 4aa43ea00bae..0e4dd6fdc29d 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
@@ -2916,6 +2916,78 @@
<value>9</value>
</prop>
</node>
+ <node oor:name=".uno:LibreLogo-goforward" oor:op="replace" install:module="librelogo">
+ <prop oor:name="TargetURL" oor:type="xs:string">
+ <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$goforward?language=Python&amp;location=share</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
+ <node oor:name=".uno:LibreLogo-gobackward" oor:op="replace" install:module="librelogo">
+ <prop oor:name="TargetURL" oor:type="xs:string">
+ <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$gobackward?language=Python&amp;location=share</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
+ <node oor:name=".uno:LibreLogo-left" oor:op="replace" install:module="librelogo">
+ <prop oor:name="TargetURL" oor:type="xs:string">
+ <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$left?language=Python&amp;location=share</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
+ <node oor:name=".uno:LibreLogo-right" oor:op="replace" install:module="librelogo">
+ <prop oor:name="TargetURL" oor:type="xs:string">
+ <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$right?language=Python&amp;location=share</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
+ <node oor:name=".uno:LibreLogo-run" oor:op="replace" install:module="librelogo">
+ <prop oor:name="TargetURL" oor:type="xs:string">
+ <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$run?language=Python&amp;location=share</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
+ <node oor:name=".uno:LibreLogo-stop" oor:op="replace" install:module="librelogo">
+ <prop oor:name="TargetURL" oor:type="xs:string">
+ <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$stop?language=Python&amp;location=share</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
+ <node oor:name=".uno:LibreLogo-home" oor:op="replace" install:module="librelogo">
+ <prop oor:name="TargetURL" oor:type="xs:string">
+ <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$home?language=Python&amp;location=share</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
+ <node oor:name=".uno:LibreLogo-clearscreen" oor:op="replace" install:module="librelogo">
+ <prop oor:name="TargetURL" oor:type="xs:string">
+ <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$clearscreen?language=Python&amp;location=share</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
+ <node oor:name=".uno:LibreLogo-translate" oor:op="replace" install:module="librelogo">
+ <prop oor:name="TargetURL" oor:type="xs:string">
+ <value>vnd.sun.star.script:LibreLogo|LibreLogo.py$__translate__?language=Python&amp;location=share</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
</node>
<node oor:name="Popups">
<node oor:name=".uno:CharacterMenu" oor:op="replace">