MergeObject.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. using Prism.Mvvm;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace PDF_Office.Model.Dialog.ToolsDialogs
  8. {
  9. class MergeObject : BindableBase
  10. {
  11. private string docName;
  12. /// <summary>
  13. /// 文档名
  14. /// </summary>
  15. public string DocName
  16. {
  17. get { return docName; }
  18. set
  19. {
  20. SetProperty(ref docName, value);
  21. }
  22. }
  23. private string docSize;
  24. /// <summary>
  25. /// 文档大小
  26. /// </summary>
  27. public string DocSize
  28. {
  29. get { return docSize; }
  30. set
  31. {
  32. SetProperty(ref docSize, value);
  33. }
  34. }
  35. private string docPageCount;
  36. /// <summary>
  37. /// 文档页数
  38. /// </summary>
  39. public string DocPageCount
  40. {
  41. get { return docPageCount; }
  42. set
  43. {
  44. SetProperty(ref docPageCount, value);
  45. }
  46. }
  47. private string filePath;
  48. /// <summary>
  49. /// 文档文件路径
  50. /// </summary>
  51. public string FilePath
  52. {
  53. get { return filePath; }
  54. set
  55. {
  56. SetProperty(ref filePath, value);
  57. }
  58. }
  59. private string setPageRange;
  60. /// <summary>
  61. /// 设置的文档页面范围
  62. /// </summary>
  63. public string SetPageRange
  64. {
  65. get { return setPageRange; }
  66. set
  67. {
  68. SetProperty(ref setPageRange, value);
  69. }
  70. }
  71. private string password="";
  72. /// <summary>
  73. /// 密码
  74. /// </summary>
  75. public string Password
  76. {
  77. get { return password; }
  78. set
  79. {
  80. SetProperty(ref password, value);
  81. }
  82. }
  83. /// <summary>
  84. /// 显示上半部分线
  85. /// </summary>
  86. private bool isBackwards = false;
  87. public bool IsBackwards
  88. {
  89. get { return isBackwards; }
  90. set
  91. {
  92. SetProperty(ref isBackwards, value);
  93. }
  94. }
  95. /// <summary>
  96. /// 显示下半部分线
  97. /// </summary>
  98. private bool isForward=false;
  99. public bool IsForward
  100. {
  101. get { return isForward; }
  102. set
  103. {
  104. SetProperty(ref isForward, value);
  105. }
  106. }
  107. }
  108. }