123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- 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_Office.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 string setPageRange;
- /// <summary>
- /// 设置的文档页面范围
- /// </summary>
- public string SetPageRange
- {
- get { return setPageRange; }
- set
- {
- SetProperty(ref setPageRange, 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);
- }
- }
- private int itemIndex;
- public int ItemIndex
- {
- get { return itemIndex; }
- set
- {
- SetProperty(ref itemIndex, value);
- }
- }
- }
- }
|