public string GetHtml()
{
string style = ((TextStyle)this.Style).TextProperties.GetHtmlStyle();
string html = "<span ";
string text = this.GetTextWithHtmlControl();
if (style.Length > 0)
html = html + style + ">\n";
else
html += ">\n";
if (text.Length > 0)
html += text;
html += "</span>\n";
html = this.GetSubOrSupStartTag()+html+this.GetSubOrSupEndTag();
return html;
}