code: def generate_to(self, worksheet, row):
          '''Generate row report.
  
          Generates a row report of the item represented by this instance and
          inserts it into a given worksheet at a specified row number.
  
          :param worksheet: Reference to a worksheet in which to insert row
          report.
  
          :param row: Row number.
  
          '''
          super(ItemText, self).generate_to(worksheet, row)
  
          fmt = self.generator.formats
          worksheet.write(row, 3, "text", fmt['type_text'])
          worksheet.write(row, 4, uni(self.data), fmt['default']f generate_to(self, worksheet, row):
          '''Generate row report.
  
          Generates a row report of the item represented by this instance and
          inserts it into a given worksheet at a specified row number.
  
          :param worksheet: Reference to a worksheet in which to insert row
          report.
  
          :param row: Row number.
  
          '''
          super(ItemText, self).generate_to(worksheet, row)
  
          fmt = self.generator.formats
          worksheet.write(row, 3, "text", fmt['type_text'])
          worksheet.write(row, 4, uni(self.data), fmt['default'])
docs: Generate row report.
  
          Generates a row report of the item represented by this instance and
          inserts it into a given worksheet at a specified row number.
  
          :param worksheet: Reference to a worksheet in which to insert row
          report.
  
          :param row: Row number.