ooodev.adapter.awt.uno_control_progress_bar_model_partial module

class ooodev.adapter.awt.uno_control_progress_bar_model_partial.UnoControlProgressBarModelPartial(component)[source]

Bases: UnoControlModelPartial

Partial class for UnoControlProgressBarModel.

Parameters:

component (UnoControlProgressBarModel) –

__init__(component)[source]

Constructor

Parameters:

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

property background_color: Color

Gets/Set the background color of the control.

Returns:

Color

Return type:

Color

property border: BorderKind

Gets/Sets the border style of the control.

Note

Value can be set with BorderKind or int.

Hint

  • BorderKind can be imported from ooodev.utils.kind.border_kind.

Return type:

BorderKind

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 fill_color: Color

Gets/Set the fill color of the control.

Return type:

NewType()(Color, int)

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 printable: bool

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

Return type:

bool

property progress_value: int

Gets/Sets the progress value of the control.

Return type:

int

property progress_value_max: int

Gets/Sets the maximum progress value of the control.

Return type:

int

property progress_value_min: int

Gets/Sets the minimum progress value of the control.

Return type:

int