HomePagePictureToPDFDialogModel.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. using ComPDFKit.PDFDocument;
  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.HomePageToolsDialogs
  8. {
  9. public class HomePagePictureToPDFDialogModel
  10. {
  11. /// <summary>
  12. /// 拆分模式
  13. /// </summary>
  14. public ToPDFFileMode Mode = ToPDFFileMode.NewFiles;
  15. /// <summary>
  16. /// 文件名标签
  17. /// </summary>
  18. public string RearFileNameLabel = "down";
  19. /// <summary>
  20. /// 文件名标签
  21. /// </summary>
  22. public string FrontFileNameLabel = "part";
  23. /// <summary>
  24. /// 当前文件路径
  25. /// </summary>
  26. public string FilePath = "";
  27. /// <summary>
  28. /// 文件密码
  29. /// </summary>
  30. public string Password = "";
  31. /// <summary>
  32. /// 保存逻辑
  33. /// </summary>
  34. public enum ToPDFFileMode
  35. {
  36. /// <summary>
  37. /// 单独为一个文档
  38. /// </summary>
  39. NewFiles,
  40. /// <summary>
  41. /// 保存为一个文档
  42. /// </summary>
  43. OneNewFile,
  44. /// <summary>
  45. /// 当前文档
  46. /// </summary>
  47. SelectFileName
  48. }
  49. }
  50. }