summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-12-06 00:55:59 +0500
committerMiklos Vajna <vmiklos@collabora.com>2024-12-09 14:51:26 +0100
commit72c90f83fb89a048c04d6cc8cfbdd44608075efa (patch)
tree494dcf25aafc45fe320c80605022bb645649489e /officecfg
parent9a459a782b9cb03ef70906a7916dc70adebb6cc5 (diff)
tdf#62845: Hide some sidebar panels in Viewer app mode
These are confusing and cluttering the UI in this mode. Change-Id: I909f17f71846f5a7e82e43f078f32ed7b5daf159 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178009 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu42
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs6
2 files changed, 48 insertions, 0 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
index e038472d704e..465c8e5732bb 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
@@ -39,6 +39,9 @@
<prop oor:name="OrderIndex" oor:type="xs:int">
<value>100</value>
</prop>
+ <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
</node>
<node oor:name="InspectorDeck" oor:op="replace">
@@ -59,6 +62,9 @@
<prop oor:name="OrderIndex" oor:type="xs:int">
<value>600</value>
</prop>
+ <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
</node>
<node oor:name="WriterPageDeck" oor:op="replace">
@@ -79,6 +85,9 @@
<prop oor:name="OrderIndex" oor:type="xs:int">
<value>500</value>
</prop>
+ <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
</node>
<node oor:name="A11yCheckDeck" oor:op="replace">
@@ -99,6 +108,9 @@
<prop oor:name="OrderIndex" oor:type="xs:int">
<value>900</value>
</prop>
+ <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
</node>
<node oor:name="ShapesDeck" oor:op="replace">
@@ -119,6 +131,9 @@
<prop oor:name="OrderIndex" oor:type="xs:int">
<value>500</value>
</prop>
+ <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
</node>
@@ -142,6 +157,9 @@
<prop oor:name="OrderIndex" oor:type="xs:int">
<value>300</value>
</prop>
+ <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
</node>
<node oor:name="SdMasterPagesDeck" oor:op="replace">
@@ -162,6 +180,9 @@
<prop oor:name="OrderIndex" oor:type="xs:int">
<value>700</value>
</prop>
+ <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
</node>
<node oor:name="SdCustomAnimationDeck" oor:op="replace">
@@ -182,6 +203,9 @@
<prop oor:name="OrderIndex" oor:type="xs:int">
<value>600</value>
</prop>
+ <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
</node>
<node oor:name="SdSlideTransitionDeck" oor:op="replace">
@@ -202,6 +226,9 @@
<prop oor:name="OrderIndex" oor:type="xs:int">
<value>500</value>
</prop>
+ <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
</node>
<node oor:name="NavigatorDeck" oor:op="replace">
@@ -246,6 +273,9 @@
<prop oor:name="OrderIndex" oor:type="xs:int">
<value>200</value>
</prop>
+ <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
</node>
<node oor:name="ScFunctionsDeck" oor:op="replace">
@@ -266,6 +296,9 @@
<prop oor:name="OrderIndex" oor:type="xs:int">
<value>500</value>
</prop>
+ <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
</node>
<node oor:name="SwManageChangesDeck" oor:op="replace">
@@ -290,6 +323,9 @@
<prop oor:name="OrderIndex" oor:type="xs:int">
<value>600</value>
</prop>
+ <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
</node>
<node oor:name="SwDesignDeck" oor:op="replace">
@@ -313,6 +349,9 @@
<prop oor:name="IsExperimental" oor:type="xs:boolean">
<value>true</value>
</prop>
+ <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
</node>
<node oor:name="ElementsDeck" oor:op="replace">
@@ -333,6 +372,9 @@
<prop oor:name="OrderIndex" oor:type="xs:int">
<value>300</value>
</prop>
+ <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
</node>
</node>
diff --git a/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs b/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs
index 4b5d13b63c5f..29c42c2c8393 100644
--- a/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs
@@ -140,6 +140,12 @@
</info>
<value>false</value>
</prop>
+ <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
+ <info>
+ <desc>This flag controls whether the deck is hidden when viewer application mode is enabled.</desc>
+ </info>
+ <value>false</value>
+ </prop>
</group>
<group oor:name="Panel">
<info>