ooodev.adapter.frame.title_partial module

class ooodev.adapter.frame.title_partial.TitlePartial(component, interface=com.sun.star.frame.XTitle)[source]

Bases: object

Partial class for XTitle.

Parameters:
  • component (XTitle) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.frame.XTitle)[source]

Constructor

Parameters:
  • component (XTitle) – UNO Component that implements com.sun.star.frame.XTitle interface.

  • interface (UnoInterface, optional) – The interface to be validated. Defaults to XTitle.

Return type:

None

get_title()[source]

Returns the title of the object.

Return type:

str

set_title(title)[source]

Sets the title of the object.

Return type:

None

Parameters:

title (str) –