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
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:
com.sun.star.beans.UnknownPropertyException –
UnknownPropertyException
com.sun.star.lang.WrappedTargetException –
WrappedTargetException
- Return type:
None
- Parameters:
listener (com.sun.star.beans.XPropertyChangeListener) –
prop_name (str) –
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:
com.sun.star.beans.UnknownPropertyException –
UnknownPropertyException
com.sun.star.lang.WrappedTargetException –
WrappedTargetException
- Return type:
None
- Parameters:
listener (com.sun.star.beans.XVetoableChangeListener) –
prop_name (str) –
Provides the implementation name of the service implementation.
- Return type:
str
Gets the complete information of the properties provided by this object.
- Returns:
Property set info.
- Return type:
XPropertySetInfo
Gets a property value.
- Raises:
com.sun.star.beans.UnknownPropertyException –
UnknownPropertyException
com.sun.star.lang.WrappedTargetException –
WrappedTargetException
- Return type:
Any
- Parameters:
name (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:
a_type (Any) –
- Return type:
None
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:
com.sun.star.beans.UnknownPropertyException –
UnknownPropertyException
com.sun.star.lang.WrappedTargetException –
WrappedTargetException
- Return type:
None
- Parameters:
listener (com.sun.star.beans.XPropertyChangeListener) –
prop_name (str) –
removes an XVetoableChangeListener from the listener list.
It is a
noop
if the listener is not registered.- Raises:
com.sun.star.beans.UnknownPropertyException –
UnknownPropertyException
com.sun.star.lang.WrappedTargetException –
WrappedTargetException
- Return type:
None
- Parameters:
listener (com.sun.star.beans.XVetoableChangeListener) –
prop_name (str) –
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:
name (str) –
value (Any) –
Tests whether the specified service is supported, i.e.
implemented by the implementation.
- Return type:
bool
- Parameters:
name (str) –
Command URL
- Return type:
int