Jérémy Bethmont wrote:
Hello,

I'm trying to create a docking window inside OpenOffice (2.0.1) like
the Gallery or the Media Player in the tools menu.

I try to achieve this but i cannot find any documentation or snippet
code about this.

I can create a "dockingwindow" and i think i have to create an UI
element with the FactoryManager and dock it via the LayoutManager but
i don't know how to do this.

I didn't find anything about this on the web or the mailinglists.

Hi Jérémy,

I am very sorry to inform you that your code looks good, but the current implementation of the layout manager is limited to the following window types.

- Toolbars    = "private:resource/toolbar"
- Menubar     = "private:resource/menubar/menubar"
- Statusbar   = "private:resource/statusbar/statusbar"
- Progressbar = "private:resource/progressbar/progressbar"

As you can see floaters are not part of the supported window types. The layout manager was designed to handle all kind of window types a modern GUI should support. Therefore you can find types in the IDL files that are currently not supported. In OOo 2.0 the Gallery, Navigator and "Styles and Formatting" floaters are implemented using a C++ base class for docking windows. The media player is a toolbar. I am sorry, but you have for the next major version. May be you can also use a toolbar for your solution?

Regards,
Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to