private getText ( PdfRpt.Core.Contracts.CellAttributes attributes ) : string | ||
attributes | PdfRpt.Core.Contracts.CellAttributes | |
리턴 | string |
private string getText(CellAttributes attributes)
{
var text = FuncHelper.ApplyFormula(attributes.BasicProperties.DisplayFormatFormula, attributes.RowData.Value);
if (!string.IsNullOrEmpty(TextPropertyName))
{
text = attributes.RowData.TableRowData.GetSafeStringValueOf(TextPropertyName);
}
attributes.RowData.FormattedValue = text;
return text;
}