openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Brinzing <Oliver.Brinz...@gmx.de>
Subject Re: disabling the toolbar
Date Thu, 21 May 2015 04:43:55 GMT
Hi Eric,

> I am attempting to disable certain functions of the toolbar in OpenOffice.

it should be possible to disable toolbar function using a *WindowState.xcu, for example

https://wiki.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/AddOns/Toolbars

<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry"
	xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="WriterWindowState"
	oor:package="org.openoffice.Office.UI">
	<node oor:name="UIElements">
		<node oor:name="States">
			<node oor:name="private:resource/toolbar/addon_my_toolbar"
				oor:op="replace">
				<prop oor:name="ContextSensitive" oor:type="xs:boolean">
					<value>false</value>
				</prop>
				<prop oor:name="UIName" oor:type="xs:string">
					<value>My Toolbar</value>
				</prop>
				<prop oor:name="Visible" oor:type="xs:boolean">
					<value>false</value>
				</prop>
				<prop oor:name="SoftClose" oor:type="xs:boolean">
					<value>true</value>
				</prop>
				<prop oor:name="Locked" oor:type="xs:boolean">
					<value>false</value>
				</prop>
				<prop oor:name="Pos" oor:type="xs:string">
					<value>0,0</value>
				</prop>
				<prop oor:name="Size" oor:type="xs:string">
					<value>0,0</value>
				</prop>
				<prop oor:name="Docked" oor:type="xs:boolean">
					<value>false</value>
				</prop>
				<prop oor:name="DockingArea" oor:type="xs:int">
					<value>0</value>
				</prop>
				<prop oor:name="DockPos" oor:type="xs:string">
					<value>0,0</value>
				</prop>
			</node>
		</node>
	</node>
</oor:component-data>


Regards
Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Mime
View raw message