ooodev.adapter.script.document_script_library_container_comp module

class ooodev.adapter.script.document_script_library_container_comp.DocumentScriptLibraryContainerComp(component)[source]

Bases: _DocumentScriptLibraryContainerComp, StorageBasedLibraryContainerPartial, LibraryContainer3Partial, LibraryQueryExecutablePartial, VBACompatibilityPartial, VBAScriptEvents, PropertySetPartial, NameAccessPartial[XNameAccess], CompDefaultsPartial

Service Class

Defines a container of StarBasic script libraries, which is to be made persistent in a sub storage of a document storage.

Note

This is a Dynamic class that is created at runtime. This means that the class is created at runtime and not defined in the source code. In addition, the class may be created with additional classes implemented.

The Type hints for this class at design time may not be accurate. To check if a class implements a specific interface, use the isinstance function or is_supported_interface() methods which is always available in this class.

Parameters:

component (Any) –

__init__(component)[source]

Constructor

Parameters:

component (XStorageBasedLibraryContainer) – UNO Component that supports com.sun.star.script.DocumentScriptLibraryContainer service.

Return type:

None

property component: com.sun.star.script.DocumentScriptLibraryContainer

DocumentScriptLibraryContainer Component

Return type:

DocumentScriptLibraryContainer

ooodev.adapter.script.document_script_library_container_comp.get_builder(component)[source]

Get the builder for the component.

Parameters:

component (Any) – The component.

Returns:

Builder instance.

Return type:

DefaultBuilder