using Prism.Mvvm; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media.Imaging; namespace PDF_Master.Model.Dialog.ToolsDialogs { class MergeObject : BindableBase { private string docName; /// <summary> /// 文档名 /// </summary> public string DocName { get { return docName; } set { SetProperty(ref docName, value); } } private string docSize; /// <summary> /// 文档大小 /// </summary> public string DocSize { get { return docSize; } set { SetProperty(ref docSize, value); } } private BitmapSource docThumbnail; /// <summary> /// 文档首张图片 /// </summary> public BitmapSource DocThumbnail { get { return docThumbnail; } set { SetProperty(ref docThumbnail, value); } } private int sdkPageCount; /// <summary> /// SDK获取到的页面数量 /// </summary> public int SDKPageCount { get { return sdkPageCount; } set { SetProperty(ref sdkPageCount, value); } } private string docPageCount; /// <summary> /// 文档页数 /// </summary> public string DocPageCount { get { return docPageCount; } set { SetProperty(ref docPageCount, value); } } private string filePath; /// <summary> /// 文档文件路径 /// </summary> public string FilePath { get { return filePath; } set { SetProperty(ref filePath, value); } } private List<int> setPageRange; /// <summary> /// 设置的文档页面范围 /// </summary> public List<int> SetPageRange { get { return setPageRange; } set { SetProperty(ref setPageRange, value); } } private string setPageRangeStr; /// <summary> /// 设置的文档页面范围 /// </summary> public string SetPageRangeStr { get { return setPageRangeStr; } set { SetProperty(ref setPageRangeStr, value); } } private string password=""; /// <summary> /// 密码 /// </summary> public string Password { get { return password; } set { SetProperty(ref password, value); } } /// <summary> /// 显示上半部分线 /// </summary> private bool isBackwards = false; public bool IsBackwards { get { return isBackwards; } set { SetProperty(ref isBackwards, value); } } /// <summary> /// 显示下半部分线 /// </summary> private bool isForward=false; public bool IsForward { get { return isForward; } set { SetProperty(ref isForward, value); } } /// <summary> /// 偶数页置灰 /// </summary> private bool isEvenPageIsEnabled = false; public bool IsEvenPageIsEnabled { get { return isEvenPageIsEnabled; } set { SetProperty(ref isEvenPageIsEnabled, value); } } private int itemIndex; public int ItemIndex { get { return itemIndex; } set { SetProperty(ref itemIndex, value); } } } }