Hello Engin, On Wed, Apr 01, 2015 at 10:35:29AM +0300, Engin Oz wrote: > Hi, > > How can i show my panel as default in Sidebar? I set order with orderindex, > but still propertydesk is default panel in Sidebar when openoffice start.
The PropertyDeck seems to be hard-coded in the source code https://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/sidebar/SidebarController.cxx?revision=1562080&view=markup#l101 https://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/sidebar/SidebarController.cxx?revision=1562080&view=markup#l120 https://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/sidebar/SidebarController.cxx?revision=1562080&view=markup#l166 As you can see in the last link, if you set "default" as deck ID it will work; this is a hack, of course: the ID should be unique and you should use something like the reverse domain name notation used in Java packages names. The sidebar should store its window state, so you could set your deck/panel in the configuration file; besides, it should be possible to dispatch a .uno:Sidebar requesting an specific desk/panel. Please open a bug report. Regards -- Ariel Constenla-Haile La Plata, Argentina
signature.asc
Description: Digital signature