Class CalcSheetId

class ooodev.calc.calc_sheet_id.CalcSheetId(sheet)[source]

Generates a unique id for the sheet if it does not exist and makes it available via the id property.

Note

This class creates a hidden control on the sheet to store the unique id. When the sheet is copied the hidden control is not copied. This means that for copied and new sheets a new unique id will be generated.

Parameters:

sheet (CalcSheet) –

__init__(sheet)[source]

Constructor

Parameters:
  • values (Dict[str, Any] | None, optional) – Dictionary Values. Defaults to None.

  • sheet (CalcSheet) –

Return type:

None