public string GetFieldAsHtml(Field f)
{
string html = "";
if (f.Document is TextDocument)
{
try
{
if (f != null)
html = f.Value;
}
catch(Exception ex)
{
throw new AODLException("Exception while trying to build a HTML string from a Field object.", ex);
}
return html;
}
else return "";
}