ooodev.adapter.beans.exact_name_partial module

class ooodev.adapter.beans.exact_name_partial.ExactNamePartial(component, interface=com.sun.star.beans.XExactName)[source]

Bases: object

Partial class for XExactName.

Parameters:
  • component (XExactName) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.beans.XExactName)[source]

Constructor

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

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

Return type:

None

get_exact_name(approximate_name)[source]

For example getExactName could be returned for GETEXACTNAME when GETEXACTNAME was used by a case insensitive scripting language.

Return type:

str

Parameters:

approximate_name (str) –

ooodev.adapter.beans.exact_name_partial.get_builder(component)[source]

Get the builder for the component.

Parameters:

component (Any) – The component.

Returns:

Builder instance.

Return type:

DefaultBuilder