spreadsheet_intelligence.formatters.drawing package#
Submodules#
spreadsheet_intelligence.formatters.drawing.format module#
- class spreadsheet_intelligence.formatters.drawing.format.BaseFormatter(drawing: TBaseDrawingConverted)[source]#
Bases:
Generic
[TBaseDrawingConverted
]Base class for formatting drawing objects.
- Parameters:
drawing (TBaseDrawingConverted) – The drawing object to be formatted.
- class spreadsheet_intelligence.formatters.drawing.format.BentConnectorFormatter(drawing: TBaseDrawingConverted)[source]#
Bases:
BaseFormatter
[BentConnector3
]Formatter for BentConnector3 objects.
- class spreadsheet_intelligence.formatters.drawing.format.StraightConnectorFormatter(drawing: TBaseDrawingConverted)[source]#
Bases:
BaseFormatter
[StraightConnector1
]Formatter for StraightConnector1 objects.
- class spreadsheet_intelligence.formatters.drawing.format.ShapeFormatter(drawing: TBaseDrawingConverted)[source]#
Bases:
BaseFormatter
[Shape
]Formatter for Shape objects.
- class spreadsheet_intelligence.formatters.drawing.format.AllDrawingsFormatter(connector_list: list[BentConnector3 | StraightConnector1], shape_list: list[Shape])[source]#
Bases:
object
Formatter for a list of drawing objects including connectors and shapes.
- Parameters:
connector_list (list[Union[BentConnector3, StraightConnector1]]) – List of connector objects.
shape_list (list[Shape]) – List of shape objects.
Module contents#
- class spreadsheet_intelligence.formatters.drawing.AllDrawingsFormatter(connector_list: list[BentConnector3 | StraightConnector1], shape_list: list[Shape])[source]#
Bases:
object
Formatter for a list of drawing objects including connectors and shapes.
- Parameters:
connector_list (list[Union[BentConnector3, StraightConnector1]]) – List of connector objects.
shape_list (list[Shape]) – List of shape objects.
- class spreadsheet_intelligence.formatters.drawing.ShapeFormatter(drawing: TBaseDrawingConverted)[source]#
Bases:
BaseFormatter
[Shape
]Formatter for Shape objects.
- class spreadsheet_intelligence.formatters.drawing.BentConnectorFormatter(drawing: TBaseDrawingConverted)[source]#
Bases:
BaseFormatter
[BentConnector3
]Formatter for BentConnector3 objects.
- class spreadsheet_intelligence.formatters.drawing.StraightConnectorFormatter(drawing: TBaseDrawingConverted)[source]#
Bases:
BaseFormatter
[StraightConnector1
]Formatter for StraightConnector1 objects.