def __str__(self):
attribs_str = "<STR_LIT>"<EOL>if self.bgcolor: self.attribs['<STR_LIT>'] = self.bgcolor<EOL>if self.width:   self.attribs['<STR_LIT:width>']   = self.width<EOL>if self.align:   self.attribs['<STR_LIT>']   = self.align<EOL>if self.char:    self.attribs['<STR_LIT>']    = self.char<EOL>if self.charoff: self.attribs['<STR_LIT>'] = self.charoff<EOL>if self.valign:  self.attribs['<STR_LIT>']  = self.valign<EOL>if self.style:   self.attribs['<STR_LIT>']   = self.style<EOL>for attr in self.attribs:<EOL><INDENT>attribs_str += '<STR_LIT>' % (attr, self.attribs[attr])<EOL><DEDENT>if self.text:<EOL><INDENT>text = str(self.text)<EOL><DEDENT>else:<EOL><INDENT>text = '<STR_LIT>'<EOL><DEDENT>if self.header:<EOL><INDENT>return '<STR_LIT>' % (attribs_str, text)<EOL><DEDENT>else:<EOL><INDENT>return '<STR_LIT>' % (attribs_str, text)<EOL><DEDENT>
return the HTML code for the table cell as a string