summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2013-04-29 07:44:43 +0000
committerAndre Fischer <af@apache.org>2013-04-29 07:44:43 +0000
commitaae247a34cd6f3bf421e57bbec08837d73ddf258 (patch)
tree11d452bb4c76406349d6e5478d2df2e250e42c4c /officecfg
parent5e5dca13097c4d23f4efce9296163ff47e26872e (diff)
122082: Hide sidebar panels for read only documents.
Notes
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu9
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs6
2 files changed, 15 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 c483ba2da7f7..de78e852c38c 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
@@ -859,6 +859,9 @@
<prop oor:name="TitleBarIsOptional" oor:type="xs:boolean">
<value>true</value>
</prop>
+ <prop oor:name="ShowForReadOnlyDocument" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
<prop oor:name="Id" oor:type="xs:string">
<value>SwNavigatorPanel</value>
</prop>
@@ -885,6 +888,9 @@
<prop oor:name="TitleBarIsOptional" oor:type="xs:boolean">
<value>true</value>
</prop>
+ <prop oor:name="ShowForReadOnlyDocument" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
<prop oor:name="Id" oor:type="xs:string">
<value>ScNavigatorPanel</value>
</prop>
@@ -911,6 +917,9 @@
<prop oor:name="TitleBarIsOptional" oor:type="xs:boolean">
<value>true</value>
</prop>
+ <prop oor:name="ShowForReadOnlyDocument" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
<prop oor:name="Id" oor:type="xs:string">
<value>SdNavigatorPanel</value>
</prop>
diff --git a/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs b/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs
index c2b2d587b114..556cf86e17b7 100644
--- a/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs
@@ -206,6 +206,12 @@
</info>
<value>10000</value>
</prop>
+ <prop oor:name="ShowForReadOnlyDocument" oor:type="xs:boolean">
+ <info>
+ <desc>This flag controls whether the panel is shown when the document in the edit view is read only.</desc>
+ </info>
+ <value>false</value>
+ </prop>
<prop oor:name="WantsCanvas" oor:type="xs:boolean">
<info>
<desc>Experimental: Set to true when panel wants to paint its content via a XCanvas.</desc>