添加项目文件。

This commit is contained in:
2023-03-13 15:00:34 +08:00
parent 42bf06ca3e
commit 1d73df3235
1205 changed files with 185078 additions and 0 deletions

View File

@@ -0,0 +1,61 @@
using JNPF.DependencyInjection;
using System.Drawing;
namespace JNPF.Common.Models.NPOI;
/// <summary>
/// Excel导出列名
/// 版 本V3.0.0
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 日 期2017.03.09.
/// </summary>
[SuppressSniffer]
public class ExcelColumnModel
{
/// <summary>
/// 列名.
/// </summary>
public string? Column { get; set; }
/// <summary>
/// Excel列名.
/// </summary>
public string? ExcelColumn { get; set; }
/// <summary>
/// 宽度.
/// </summary>
public int Width { get; set; }
/// <summary>
/// 前景色.
/// </summary>
public Color ForeColor { get; set; }
/// <summary>
/// 背景色.
/// </summary>
public Color Background { get; set; }
/// <summary>
/// 字体.
/// </summary>
public string? Font { get; set; }
/// <summary>
/// 字号.
/// </summary>
public short Point { get; set; }
/// <summary>
/// 对齐方式
/// left 左
/// center 中间
/// right 右
/// fill 填充
/// justify 两端对齐
/// centerselection 跨行居中
/// distributed.
/// </summary>
public string? Alignment { get; set; }
}

View File

@@ -0,0 +1,74 @@
using System.Drawing;
using JNPF.DependencyInjection;
namespace JNPF.Common.Models.NPOI;
/// <summary>
/// Excel导出配置
/// 版 本V3.0.0
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 日 期2017.03.09.
/// </summary>
[SuppressSniffer]
public class ExcelConfig
{
/// <summary>
/// 文件名.
/// </summary>
public string? FileName { get; set; }
/// <summary>
/// 标题.
/// </summary>
public string? Title { get; set; }
/// <summary>
/// 标题字号.
/// </summary>
public short TitlePoint { get; set; }
/// <summary>
/// 标题高度.
/// </summary>
public short TitleHeight { get; set; }
/// <summary>
/// 标题字体.
/// </summary>
public string? TitleFont { get; set; }
/// <summary>
/// 字体景色.
/// </summary>
public Color ForeColor { get; set; }
/// <summary>
/// 背景色.
/// </summary>
public Color Background { get; set; }
/// <summary>
/// 列头字号.
/// </summary>
public short HeadPoint { get; set; }
/// <summary>
/// 列标题高度.
/// </summary>
public short HeadHeight { get; set; }
/// <summary>
/// 列头字体.
/// </summary>
public string? HeadFont { get; set; }
/// <summary>
/// 是否按内容长度来适应表格宽度.
/// </summary>
public bool IsAllSizeColumn { get; set; }
/// <summary>
/// 列设置.
/// </summary>
public List<ExcelColumnModel>? ColumnModel { get; set; }
}

View File

@@ -0,0 +1,28 @@
using JNPF.DependencyInjection;
namespace JNPF.Common.Models.NPOI;
/// <summary>
/// Excel导出模板
/// 版 本V3.0.0
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 日 期2017.03.09.
/// </summary>
[SuppressSniffer]
public class ExcelTemplateModel
{
/// <summary>
/// 行号.
/// </summary>
public int row { get; set; }
/// <summary>
/// 列号.
/// </summary>
public int cell { get; set; }
/// <summary>
/// 数据值.
/// </summary>
public string? value { get; set; }
}

View File

@@ -0,0 +1,20 @@
using JNPF.DependencyInjection;
namespace JNPF.Common.Models.NPOI;
/// <summary>
/// 参数模型.
/// </summary>
[SuppressSniffer]
public class ParamsModel
{
/// <summary>
/// 值.
/// </summary>
public string? value { get; set; }
/// <summary>
/// 字段.
/// </summary>
public string? field { get; set; }
}