https://bugs.documentfoundation.org/show_bug.cgi?id=91806

--- Comment #8 from Laurent Godard <[email protected]> ---
Hi

for some example of the API, maybe have a look at (pyuno) unit test
http://opengrok.libreoffice.org/xref/core/sfx2/qa/python/check_sidebar.py

XPanel:getDialog() should give you access to the XWindow dialog that contains
UI elements
maybe have a look at 
http://opengrok.libreoffice.org/xref/core/offapi/com/sun/star/ui/XPanel.idl#81

regarding global versus per document changes

initially, the sidebar redraw itself at each deck changes (load, draw panels
and forget their expand/collapse state)

one other problem is that having 2 documents, with a sidebar, opened on the
same deck, changing something in panel states in one document occurs also in
the other.
moreover, with "shared decks" this also comes accross context (eg. property
panel for writer and calc)

the main problem remains that destroying panels at each deck changes looses
users configuration

so, now, for each document (controller), the sidebar -> deck collection -->
panel collection is defined. deck changes only hides the panels and do not
destroy all previous state. It allows then to go back and forth among all decks
and have the correct panels states (expand collapse and order)

/me hopes it is clearer

i'm totally opened to improvement suggestion

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to