using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace PDF_Office.Model.PageEdit { public class PageEditHistory { /// /// 操作类型 /// public ActionType Type { get; set; } /// /// 原位置-新位置集合 用于倒序、旋转、拖拽排序 /// public Dictionary SourceTargetValue { get; set; } /// /// 插入位置 /// public int InsertIndex { get; set; } /// ///插入文件的文件路径 /// public string InsertFilePath { get; set; } /// /// 插入文件的密码 /// public string InsertFilePassWord { get; set; } /// /// 插入文档的页面总数 /// public int InsertPageCount { get; set; } /// /// 插入的页面尺寸大小 /// public Size PageSize { get; set; } } /// /// 操作类型 /// public enum ActionType { /// /// 页面右旋转 /// RightRotate, /// /// 页面左旋转 /// LeftRotate, /// /// 从文件插入 /// InsertFromFile, /// /// 插入自定义页面 /// InsertCustomPages, /// /// 拖拽排序 /// DragSort, /// /// 倒序 /// Reverse } }