25 lines
787 B
C#
25 lines
787 B
C#
using BeWo.Service.Plugins;
|
|
using BS.Shared.DataContracts;
|
|
|
|
namespace demo_reports.Export
|
|
{
|
|
public class CustomDataExporter : DataExporter
|
|
{
|
|
public override string CreateExportString(string pFileID, string[] pHeaderCaption, string[][] pContent)
|
|
{
|
|
// TODO: anpassen -> Contains("Qlik")
|
|
//if(pHeaderCaption != null && pHeaderCaption.Length > 0 && pHeaderCaption[0].Contains("FibuNet"))
|
|
//{
|
|
// return QlikCsvExporter.CreateExportString(pHeaderCaption, pContent);
|
|
//}
|
|
return base.CreateExportString(pFileID, pHeaderCaption, pContent);
|
|
|
|
}
|
|
|
|
public override QueryDC CreateQuery(QueryDC query)
|
|
{
|
|
return QlikCsvExporter.CreateQuery(query);
|
|
}
|
|
}
|
|
}
|