ooodev.adapter.frame.layout_manager2_partial module

class ooodev.adapter.frame.layout_manager2_partial.LayoutManager2Partial(component, interface=com.sun.star.frame.XLayoutManager2)[source]

Bases: LayoutManagerPartial, FrameActionEvents, UIConfigurationEvents, MenuBarMergingAcceptorPartial, LayoutManagerEventBroadcasterPartial

Partial class for XLayoutManager2.

Parameters:
  • component (XLayoutManager2) –

  • interface (UnoInterface | None) –

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

Constructor

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

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

Return type:

None

ooodev.adapter.frame.layout_manager2_partial.get_builder(component)[source]

Get the builder for the component.

Parameters:

component (Any) – The component.

Returns:

Builder instance.

Return type:

DefaultBuilder