报告XP.ReportEngine基础类设计和接口开发。

This commit is contained in:
QI Mingxuan
2026-05-11 16:40:24 +08:00
parent 18111b8468
commit 1573a33a02
31 changed files with 2596 additions and 3 deletions
@@ -0,0 +1,30 @@
namespace XP.ReportEngine.Models
{
/// <summary>
/// 报告生成选项 | Report generation options
/// </summary>
public class ReportGenerationOptions
{
/// <summary>
/// 模板文件路径 | Template file path
/// </summary>
public string TemplatePath { get; set; }
/// <summary>
/// 输出文件路径(可选,为 null 时仅返回 MemoryStream| Output file path (optional)
/// </summary>
public string OutputFilePath { get; set; }
/// <summary>
/// 输出格式 | Output format
/// </summary>
public ReportOutputFormat Format { get; set; } = ReportOutputFormat.Pdf;
}
public enum ReportOutputFormat
{
Pdf,
Excel,
Csv
}
}