ooodev.adapter.drawing.connector_properties_partial module

class ooodev.adapter.drawing.connector_properties_partial.ConnectorPropertiesPartial(component)[source]

Bases: object

Partial class for ConnectorProperties Service.

Parameters:

component (ConnectorProperties) –

__init__(component)[source]

Constructor

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

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

Return type:

None

property edge_kind: ConnectorType

Gets/Sets the kind of the connector.

Returns:

The kind of the connector.

Return type:

ConnectorType

Hint

  • ConnectorType can be imported from ooo.dyn.drawing.connector_type

property edge_node1_horz_dist: UnitMM100

Gets/Sets the horizontal distance of node 1.

When setting this property it can be a value of type int or UnitT.

Returns:

The horizontal distance of node 1.

Return type:

UnitMM100

property edge_node1_vert_dist: UnitMM100

Gets/Sets the vertical distance of node 1.

When setting this property it can be a value of type int or UnitT.

Returns:

The vertical distance of node 1.

Return type:

UnitMM100

property edge_node2_horz_dist: UnitMM100

This property contains the horizontal distance of node 2.

When setting this property it can be a value of type int or UnitT.

Returns:

The horizontal distance of node 2.

Return type:

UnitMM100

property edge_node2_vert_dist: UnitMM100

This property contains the vertical distance of node 2.

When setting this property it can be a value of type int or UnitT.

Returns:

The vertical distance of node 2.

Return type:

UnitMM100