You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace Infrastructure.Excel.Attributes
|
|
|
|
|
{
|
|
|
|
|
[AttributeUsage(AttributeTargets.Class,AllowMultiple = true)]
|
|
|
|
|
public class TableHeaderAttribute : Attribute
|
|
|
|
|
{
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
public int StartRowIndex { get; set; }
|
|
|
|
|
public int StartCellIndex { get; set; }
|
|
|
|
|
public int EndRowIndex { get; set; }
|
|
|
|
|
public int EndCellIndex { get; set; }
|
|
|
|
|
public bool Auto { get; set; }
|
|
|
|
|
public float FontSize { get; set; }
|
|
|
|
|
public HeaderHorizontalAlignment HorizontalAlignment { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum HeaderHorizontalAlignment
|
|
|
|
|
{
|
|
|
|
|
Left,
|
|
|
|
|
Center,
|
|
|
|
|
Right
|
|
|
|
|
}
|
|
|
|
|
}
|