Hi Carsten,
Carsten Driesner schrieb:
That's the drawback of the current solution and not possible. You can
set a title for the document toolbar, but nothing more. The users have
to change the settings via "Tools - Options" themselves.
You meant "tools-customize"
We discussed
the current solution before the OpenOffice.org 2.0 release and believed
that the old solution (also storing state information
(pos,size,visible,style etc.) inside the document) was bad (we had
several user complaints). Every user wants to set this information
individually.
Yes, of course that makes sense for all bars of the module, but should
imo not apply according to document specific _custom_ toolbars with a
unique name.
Anyway, at present there are two workarounds:
* Setting the WindowState with a macro, it will work for this document
the module is restarted. Layout properties (docking) can be set
dynamically at runtime.
* Deploying a modified WindowState.xcs with the name and style of the
custom toolbar during installation or with a package. Templates using
this toolbar are working correctly the first time they are called by the
user.
Thanks again and have a nice Xmas,
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]