In Writer I can access the Navigator/Styles and Formatting windows when they are docked using thiscomponent.currentcontroller.componentwindow.AccessibleContext
When these are floating however they don't appear there.
The windows behave differently when floating in that there is only a single one of each window for all documents opened. The information shown and position of the window changes depending on which document is given the focus.
They don't appear in the list of Stardesktop frames though.
Anyone know how to access these?
The intention would be, for example, to set the Styles and Formatting to open at the formatting for Characters instead of for Paragraphs - which can be achieved using the AccessibleContext when docked.
Edit:
calling
Code: Select all
msgbox thiscomponent.currentcontroller.componentwindow.AccessibleContext.getAccessibleChildcount
I've looked at the component window, container window and Frame LayoutManager elements and can't find any reference to these floating windows there. I presume access (if there is any) would be via the StarDesktop as all documents share them when floating.