Thanks!

Il'll give it a try


----- Messaggio originale -----
Da: "Oliver Brinzing" <oliver.brinz...@gmx.de>
A: dev@openoffice.apache.org
Inviato: Lunedì, 27 luglio 2015 18:57:59
Oggetto: Re: Disable arrow for customizing toolbar

Hi,

> Is it possibile to disable the little arrow used in a toolbar for customizing 
> it?

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

you can add a "<Module>WindowState.xcu" file to change settings for custom 
toolbars, for example:

<?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="CalcWindowState" 
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>true</value>
                                </prop>
                                <prop oor:name="NoClose" oor:type="xs:boolean">
                                        <value>true</value>
                                </prop>
                                <prop oor:name="SoftClose" 
oor:type="xs:boolean">
                                        <value>false</value>
                                </prop>
                                <prop oor:name="HideFromToolbarMenu" 
oor:type="xs:boolean">
                                        <value>true</value>
                                </prop>
                                <prop oor:name="Locked" oor:type="xs:boolean">
                                        <value>true</value>
                                </prop>
                                <prop oor:name="Pos" oor:type="xs:string">
                                        <value>2147483647,2147483647</value>
                                </prop>
                                <prop oor:name="Size" oor:type="xs:string">
                                        <value>0,0</value>
                                </prop>
                                <prop oor:name="Docked" oor:type="xs:boolean">
                                        <value>true</value>
                                </prop>
                                <prop oor:name="DockingArea" oor:type="xs:int">
                                        <value>3</value>
                                </prop>
                                <prop oor:name="DockPos" oor:type="xs:string">
                                        <value>0,0</value>
                                </prop>
                        </node>

                </node>
        </node>
</oor:component-data>


but i am not sure, if it works for the standard toolbars.

Oliver


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


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

Reply via email to