ooodev.adapter.awt.uno_control_fixed_hyperlink_model_partial module
- class ooodev.adapter.awt.uno_control_fixed_hyperlink_model_partial.UnoControlFixedHyperlinkModelPartial(component)[source]
Bases:
UnoControlModelPartialPartial class for UnoControlFixedHyperlinkModel.
- Parameters:
component (UnoControlFixedHyperlinkModel) –
- __init__(component)[source]
Constructor
- Parameters:
component (Any) – Component that implements
com.sun.star.awt.UnoControlFixedHyperlinkModelservice.
- set_font_descriptor(font_descriptor)[source]
Sets the font descriptor of the control.
- Parameters:
font_descriptor (FontDescriptor, FontDescriptorStructComp) – UNO Struct - Font descriptor to set.
- Return type:
None
Note
The
font_descriptorproperty can also be used to set the font descriptor.Hint
FontDescriptorcan be imported fromooo.dyn.awt.font_descriptor.
- Return type:
None
- Parameters:
font_descriptor (FontDescriptor | FontDescriptorStructComp) –
- property align: AlignKind
Get/Sets the horizontal alignment of the text in the control.
Hint
AlignKindcan be imported fromooodev.utils.kind.align_kind.
- Return type:
AlignKind
- property background_color: Color
Gets/Set the background color of the control.
- Returns:
Color
- Return type:
- property border: BorderKind
Gets/Sets the border style of the control.
Note
Value can be set with
BorderKindorint.Hint
BorderKindcan be imported fromooodev.utils.kind.border_kind.
- Return type:
- property border_color: Color | None
Gets/Sets the color of the border, if present
Not every border style (see Border) may support coloring. For instance, usually a border with 3D effect will ignore the border_color setting.
optional
- Returns:
Color or None if not set.
- Return type:
Color | None
- property enabled: bool
Gets/Sets whether the control is enabled or disabled.
- Return type:
bool
- property font_descriptor: FontDescriptorStructComp
Gets/Sets the Font Descriptor.
Setting value can be done with a
FontDescriptororFontDescriptorStructCompobject.- Returns:
Font Descriptor
- Return type:
Hint
FontDescriptorcan be imported fromooo.dyn.awt.font_descriptor.
- property font_emphasis_mark: FontEmphasisEnum
Gets/Sets the
FontEmphasisvalue of the text in the control.Note
Value can be set with
FontEmphasisEnumorint.Hint
FontEmphasisEnumcan be imported fromooo.dyn.text.font_emphasis.
- Return type:
FontEmphasisEnum
- property font_relief: FontReliefEnum
Gets/Sets
FontReliefvalue of the text in the control.Note
Value can be set with
FontReliefEnumorint.Hint
FontReliefEnumcan be imported fromooo.dyn.text.font_relief.
- Return type:
FontReliefEnum
- property help_text: str
Get/Sets the help text of the control.
- Return type:
str
- property help_url: str
Gets/Sets the help URL of the control.
- Return type:
str
- property label: str
Gets/Sets the label of the control.
- Return type:
str
- property multi_line: bool
Gets/Sets that the text may be displayed on more than one line.
- Return type:
bool
- property printable: bool
Gets/Sets that the control will be printed with the document.
- Return type:
bool
- property text_line_color: Color
Gets/Sets the text line color (RGB) of the control.
- Returns:
Color
- Return type:
- property url: str
Gets/Sets the URL.
- Return type:
str
- property vertical_align: VerticalAlignment | None
Gets/Sets the vertical alignment of the text in the control.
optional
Hint
VerticalAlignmentcan be imported fromooo.dyn.style.vertical_alignment
- Return type:
VerticalAlignment | None