using System; using System.Collections.Generic; using PDFSettings; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PDF_Office.Model.EditTools.HeaderFooter { public class HeaderFooterCreateModel { } public class HeaderFooterInfo { /// /// 模板名称 /// public string ItemName = ""; /// /// 内容 /// public contentItem[] TextData = new contentItem[6]; /// /// 间距 /// /// public float[] margin = new float[4]; /// /// 起始页 /// public int StarPagetNumber = 1; /// /// 页眉页脚:页码格式 /// public string PageNumberFormat = "1"; /// /// 页眉页脚:日期格式 /// public string DateTimeFormat = "m/d"; /// /// 页面范围 /// public string PageRange = "0"; /// /// 页面范围索引; /// 0:全部页面 /// 1:奇数页 /// 2;偶数页 /// 3:自定义页 /// public int PageRangeIndex = 0; } //public struct contentItem //{ // public BateHeaderFooter_ContentType textTag; // public string text; // public string fontName; // public float fontSize; // /// // /// 纯色背景颜色 // /// // public byte[] Color; //} //public enum BateHeaderFooter_ContentType //{ // L_Header, // C_Header, // R_Header, // L_Footer, // C_Footer, // R_Footer //} }