ooodev.adapter.script.library_query_executable_partial module

class ooodev.adapter.script.library_query_executable_partial.LibraryQueryExecutablePartial(component, interface=com.sun.star.script.XLibraryQueryExecutable)[source]

Bases: object

Partial class for XLibraryQueryExecutable.

Parameters:
  • component (XLibraryQueryExecutable) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.script.XLibraryQueryExecutable)[source]

Constructor

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

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

Return type:

None

has_executable_code(name)[source]

Gets whether the library contains executable code for the specified name.

Return type:

bool

Parameters:

name (str) –