ooodev.adapter.awt.fixed_hyperlink_partial module
- class ooodev.adapter.awt.fixed_hyperlink_partial.FixedHyperlinkPartial(component, interface=com.sun.star.awt.XFixedHyperlink)[source]
Bases:
object
Partial class for XFixedHyperlink.
- Parameters:
component (XFixedHyperlink) –
interface (UnoInterface | None) –
- __init__(component, interface=com.sun.star.awt.XFixedHyperlink)[source]
Constructor
- Parameters:
component (XFixedHyperlink) – UNO Component that implements
com.sun.star.awt.XFixedHyperlink
interface.interface (UnoInterface, optional) – The interface to be validated. Defaults to
XFixedHyperlink
.
- Return type:
None
- add_action_listener(listener)[source]
Registers an event handler for click action event.
- Return type:
None
- Parameters:
listener (com.sun.star.awt.XActionListener) –
- get_alignment()[source]
Gets the alignment of the text in the control.
- Returns:
The alignment of the text.
- Return type:
AlignKind
Hint
AlignKind
can be imported fromooodev.utils.kind.align_kind
.
- remove_action_listener(listener)[source]
Un-registers an event handler for click action event.
- Return type:
None
- Parameters:
listener (com.sun.star.awt.XActionListener) –