Type: info
Title: css.inspection.ObjectInspector: help section support
Posted by: [EMAIL PROTECTED]
Affected: [EMAIL PROTECTED],-
Effective from: CWS oihelp
*Summary*
--------
in css.inspection:
+ boolean XObjectInspectorModel::HasHelpSection
+ long XObjectInspectorModel::MinHelpTextLines
+ long XObjectInspectorModel::MaxHelpTextLines
+ ObjectInspectorModel::createWithHandlerFactoriesAndHelpSection
+ XObjectInspectorUI XObjectInspector::InspectorUI
+ XObjectInspectorUI::setHelpSectionText
+ XObjectInspectorUI::registerControlObserver
+ XObjectInspectorUI::revokeControlObserver
+ DefaultHelpProvider
+ XPropertyControlObserver
- XPropertyControlContext : XInterface
+ XPropertyControlContext : XPropertyControlObserver
*Description*
-------------
The services and interfaces in the com.sun.star.inspection have been
extended to allow for an additional help section of the inspector window.
That is, the ObjectInspectorModel can request that the object
inspector displays a dedicated help text section at the bottom of the
inspector window, by setting its HasHelpSection property to <TRUE/>.
For implementing a context sensitive help, it is possible to register
as XPropertyControlObserver at the XPropertyInspectorUI, which allows
to be notified when the focus changes to another property control.
Then, the observer can set a new help text by using the new
XPropertyInspectorUI::setHelpSectionText.
For ease of use, a DefaultHelpProvider is implemented, which, once
instantiated with an XObjectInspectorUI, will observer control focus
changes, and will forward the respective control's QuickHelpText to
the help section.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]