code: def _get_data(self):
          
  
          data = {}
  
          data["shape"] = self.shape
          data["grid"] = {}.update(self.dict_grid)
          data["attributes"] = [ca for ca in self.cell_attributes]
          data["row_heights"] = self.row_heights
          data["col_widths"] = self.col_widths
          data["macros"] = self.macros
  
          return data
docs: Returns dict of data content.
  
          Keys
          ----
  
          shape: 3-tuple of Integer
          \tGrid shape
          grid: Dict of 3-tuples to strings
          \tCell content
          attributes: List of 3-tuples
          \tCell attributes
          row_heights: Dict of 2-tuples to float
          \t(row, tab): row_height
          col_widths: Dict of 2-tuples to float
          \t(col, tab): col_width
          macros: String
          \tMacros from macro list