ooodev.adapter.awt.uno_control_fixed_line_model_partial module

class ooodev.adapter.awt.uno_control_fixed_line_model_partial.UnoControlFixedLineModelPartial(component)[source]

Bases: UnoControlModelPartial

Partial class for UnoControlFixedLineModel.

Parameters:

component (UnoControlFixedLineModel) –

__init__(component)[source]

Constructor

Parameters:

component (Any) – Component that implements com.sun.star.awt.UnoControlFixedLineModel service.

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_descriptor property can also be used to set the font descriptor.

Hint

  • FontDescriptor can be imported from ooo.dyn.awt.font_descriptor.

Return type:

None

Parameters:

font_descriptor (FontDescriptor | FontDescriptorStructComp) –

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 FontDescriptor or FontDescriptorStructComp object.

Returns:

Font Descriptor

Return type:

FontDescriptorStructComp

Hint

  • FontDescriptor can be imported from ooo.dyn.awt.font_descriptor.

property font_emphasis_mark: FontEmphasisEnum

Gets/Sets the FontEmphasis value of the text in the control.

Note

Value can be set with FontEmphasisEnum or int.

Hint

  • FontEmphasisEnum can be imported from ooo.dyn.text.font_emphasis.

Return type:

FontEmphasisEnum

property font_relief: FontReliefEnum

Gets/Sets FontRelief value of the text in the control.

Note

Value can be set with FontReliefEnum or int.

Hint

  • FontReliefEnum can be imported from ooo.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 orientation: OrientationKind

Gets/Sets the orientation of the control.

Note

Value can be set with OrientationKind or int.

Hint

  • OrientationKind can be imported from ooodev.utils.kind.orientation_kind.

Return type:

OrientationKind

property printable: bool

Gets/Sets that the control will be printed with the document.

Return type:

bool

property text_color: Color

Gets/Sets the text color of the control.

Returns:

Color

Return type:

Color

property text_line_color: Color

Gets/Sets the text line color (RGB) of the control.

Returns:

Color

Return type:

Color