diff options
author | Andre Fischer <af@apache.org> | 2013-04-29 07:44:43 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-05-20 11:33:24 +0100 |
commit | 603c089e4261a028d9ea70012cb5b1f4effcb545 (patch) | |
tree | 8978cd43cf0f801eddc2a8e5edaa405d685a652b /officecfg | |
parent | Related: #i122156# #i122087# correct context notification... (diff) | |
download | core-603c089e4261a028d9ea70012cb5b1f4effcb545.tar.gz core-603c089e4261a028d9ea70012cb5b1f4effcb545.zip |
Resolves: #i122082# Hide sidebar panels for read only documents
(cherry picked from commit aae247a34cd6f3bf421e57bbec08837d73ddf258)
Conflicts:
sfx2/inc/sfx2/sidebar/SidebarChildWindow.hxx
sfx2/inc/sfx2/sidebar/Theme.hxx
sfx2/source/sidebar/SidebarChildWindow.cxx
sfx2/source/sidebar/SidebarController.cxx
sfx2/source/sidebar/SidebarDockingWindow.cxx
Change-Id: Ib59132d6d5e177d5a02ee24973b0fb07114db60a
Diffstat (limited to 'officecfg')
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu | 9 | ||||
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs | 6 |
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 b435c9a7bbd5..9c9ff6365f28 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu @@ -831,6 +831,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> @@ -857,6 +860,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> @@ -883,6 +889,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 f7a35a364a52..8d096b3a69c8 100644 --- a/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs @@ -201,6 +201,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> |