docstr: Convert cell attributes to OpenDocument attributes
  
  Parameters
  ----------
  cell : ExcelCell
      Spreadsheet cell data
  
  Returns
  -------
  attributes : Dict[str, Union[int, str]]
      Dictionary with attributes and attribute values
docstr_tok: ["Convert","cell","attributes","to","OpenDocument","attributes","Parameters","--","--","--","--","--","cell",":","ExcelCell","Spreadsheet","cell","data","Returns","--","--","--","-","attributes",":","Dict","[","str",",","Union","[","int",",","str","]","]","Dictionary","with","attributes","and","attribute","values"]
code: def _make_table_cell_attributes(self, cell) -> dict[str, int | str]:
      """Convert cell attributes to OpenDocument attributes
  
      Parameters
      ----------
      cell : ExcelCell
          Spreadsheet cell data
  
      Returns
      -------
      attributes : Dict[str, Union[int, str]]
          Dictionary with attributes and attribute values
      """
      attributes: dict[str, int | str] = {}
      style_name = self._process_style(cell.style)
      if style_name is not None:
          attributes["stylename"] = style_name
      if cell.mergestart is not None and cell.mergeend is not None:
          attributes["numberrowsspanned"] = max(1, cell.mergestart)
          attributes["numbercolumnsspanned"] = cell.mergeend
      return attributes
  
file_path: catboost/contrib/python/pandas/py3/pandas/io/excel/_odswriter.py
imports: from __future__ import annotations
  from collections import defaultdict
  import datetime
  from typing import TYPE_CHECKING, Any, DefaultDict, Tuple, cast
  from pandas._libs import json
  from pandas._typing import FilePath, StorageOptions, WriteExcelBuffer
  from pandas.io.excel._base import ExcelWriter
  from pandas.io.excel._util import combine_kwargs, validate_freeze_panes
label_desc: Use image node_id 6 for calling the ODSWriter obj's underlying member method code with example usage: obj._make_table_cell_attributes(cell) and returns: attributes