public string GetHtml()
{
try
{
string html = this.GetAnchor()+"<p ";
string style = this.GetHtmlStyle(this.StyleName);
if (style.Length > 0)
html += style;
html += ">\n";
//Check numbering
string number = this.GetHeadingNumber();
if (number.Length > 0)
html += number+" ";
foreach(IText itext in this.TextContent)
if (itext is IHtml)
html += ((IHtml)itext).GetHtml();
html += "</p>\n";
return html;
}
catch(Exception)
{
}
return "";
}