| LibreOffice
    LibreOffice 25.2 SDK API Reference | 
This event is broadcast by a Controller whenever the state of the feature changes. More...
import "FeatureStateEvent.idl";
 
  
| Public Attributes | |
| com::sun::star::util::URL | FeatureURL | 
| contains the URL of the feature. | |
| string | FeatureDescriptor | 
| contains a descriptor of the feature for the user interface. | |
| boolean | IsEnabled | 
| specifies whether the feature is currently enabled or disabled. | |
| boolean | Requery | 
| specifies whether the XDispatch has to be required. | |
| any | State | 
| contains the state of the feature in this dispatch. | |
| Public Attributes inherited from EventObject | |
| com::sun::star::uno::XInterface | Source | 
| refers to the object that fired the event. | |
This event is broadcast by a Controller whenever the state of the feature changes.
| string FeatureDescriptor | 
contains a descriptor of the feature for the user interface.
| com::sun::star::util::URL FeatureURL | 
contains the URL of the feature.
| boolean IsEnabled | 
specifies whether the feature is currently enabled or disabled.
| boolean Requery | 
specifies whether the XDispatch has to be required.
Interest code should listen for FrameActionEvent too, to update own feature states and dispatch listener on FrameAction::CONTEXT_CHANGED.
| any State | 
contains the state of the feature in this dispatch.
This can be, for example, simply TRUE for a boolean feature like underline on/off. Some simple types like string or boolean are useful here for generic UI elements, like a checkmark in a menu.