LibreOffice
LibreOffice 24.2 SDK API Reference
|
Optional interface of sidebar panels. More...
import"XSidebarPanel.idl";
Public Member Functions | |
LayoutSize | getHeightForWidth ([in] long nWidth) |
For a given width of the container the layouter asks every ui element for its optimal height. More... | |
long | getMinimalWidth () |
Minimal possible width of this panel in pixels. More... | |
Optional interface of sidebar panels.
LayoutSize getHeightForWidth | ( | [in] long | nWidth | ) |
For a given width of the container the layouter asks every ui element for its optimal height.
The height to which a ui element is set may differ from the returned value.
The height is set via the XWindow interface.
long getMinimalWidth | ( | ) |
Minimal possible width of this panel in pixels.
If this value is smaller than the maximum allowed size of the Sidebar (see config option 'org.openoffice.Office.UI.Sidebar.General.MaximumWidth'), the config option will be ignored and the new maximum Sidebar width will be getMinimalWidth() + 100px.