On 3.4.2015 17:01, Ariel Constenla-Haile wrote:
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
Thank you for your reply. You saved my life. :)
For about bug report, it is already reported:
https://bz.apache.org/ooo/show_bug.cgi?id=126042
I voted up.
Regards.