public PdfPCell RenderingCell(CellAttributes attributes)
{
var html = FuncHelper.ApplyFormula(attributes.BasicProperties.DisplayFormatFormula, attributes.RowData.Value);
attributes.RowData.FormattedValue = html;
var cell = new XmlWorkerHelper
{
Html = html,
RunDirection = attributes.BasicProperties.RunDirection.Value,
CssFilesPath = CssFilesPath,
InlineCss = InlineCss,
ImagesPath = ImagesPath,
DefaultFont = attributes.BasicProperties.PdfFont.Fonts[0]
}.RenderHtml();
return cell;
}