Class ActionTriggerSep
Bases:
BasePropertySet
,BaseServiceInfo
Provides item.
- Parameters:
args (Any) –
kwargs (Any) –
- Return type:
Any
Constructor.
- Parameters:
separator_type (int, ActionTriggerSeparatorTypeEnum, optional) – Separator Type. Defaults to
0
(Line).
Hint
ActionTriggerSeparatorTypeEnum
is an enum and can be imported fromooo.dyn.ui.action_trigger_separator_type
.
separator_type
can be one of the following:0
: Line1
: Space2
: LineBreak
- Return type:
None
Not Implemented.
Adds an XPropertyChangeListener to the specified property.
An empty name registers the listener to all bound properties. If the property is not bound, the behavior is not specified.
It is suggested to allow multiple registration of the same listener, thus for each time a listener is added, it has to be removed.
- Raises:
NotImplementedError –
NotImplementedError
- Return type:
None
- Parameters:
aPropertyName (str) –
xListener (com.sun.star.beans.XPropertyChangeListener) –
Not Implemented.
Adds an XVetoableChangeListener to the specified property with the name PropertyName.
An empty name registers the listener to all constrained properties. If the property is not constrained, the behavior is not specified.
- Raises:
NotImplementedError –
NotImplementedError
- Return type:
None
- Parameters:
PropertyName (str) –
aListener (com.sun.star.beans.XVetoableChangeListener) –
Provides the implementation name of the service implementation.
- Return type:
str
Not Implemented.
Gets the complete information of the properties provided by this object.
- Raises:
NotImplementedError –
NotImplementedError
- Return type:
XPropertySetInfo
Gets a property value.
- Raises:
com.sun.star.beans.UnknownPropertyException –
UnknownPropertyException
com.sun.star.lang.WrappedTargetException –
WrappedTargetException
- Return type:
Any
- Parameters:
PropertyName (str) –
Provides the supported service names of the implementation, including also indirect service names.
- Return type:
Tuple
[str
]
Gets if the item is a separator.
- Returns:
True
- Return type:
bool
- Return type:
Any
- Parameters:
aType (Any) –
- Return type:
None
Not Implemented.
Removes an XPropertyChangeListener from the listener list.
It is a
noop
if the listener is not registered.It is suggested to allow multiple registration of the same listener, thus for each time a listener is added, it has to be removed.
- Raises:
NotImplementedError –
NotImplementedError
- Return type:
None
- Parameters:
aPropertyName (str) –
aListener (com.sun.star.beans.XPropertyChangeListener) –
Not Implemented.
Removes an XVetoableChangeListener from the listener list.
It is a
noop
if the listener is not registered.- Raises:
NotImplementedError –
NotImplementedError
- Return type:
None
- Parameters:
PropertyName (str) –
aListener (com.sun.star.beans.XVetoableChangeListener) –
Sets the value of the property with the specified name.
If it is a bound property the value will be changed before the change event is fired. If it is a constrained property a vetoable event is fired before the property value can be changed.
- Raises:
com.sun.star.beans.UnknownPropertyException –
UnknownPropertyException
com.sun.star.beans.PropertyVetoException –
PropertyVetoException
com.sun.star.lang.IllegalArgumentException –
IllegalArgumentException
com.sun.star.lang.WrappedTargetException –
WrappedTargetException
- Return type:
None
- Parameters:
aPropertyName (str) –
aValue (Any) –
Tests whether the specified service is supported, i.e.
implemented by the implementation.
- Return type:
bool
- Parameters:
ServiceName (str) –
Command URL
- Return type:
int