KMBatchHeader.swift 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. //
  2. // KMBatchHeader.swift
  3. // PDF Reader Pro
  4. //
  5. // Created by kdanmobile on 2023/10/25.
  6. //
  7. import Foundation
  8. @objc enum KMConvertWithPDFType: Int {
  9. case WordAdvance = 0
  10. case WordStandard
  11. case Excel
  12. case PowerPoint
  13. case RTF
  14. case CSV
  15. case HTML
  16. case Text
  17. case JPEG
  18. case JPG
  19. case PNG
  20. case GIF
  21. case TIFF
  22. case TGA
  23. case BMP
  24. case JPEG2000
  25. case Json
  26. }
  27. @objc enum KMCompareWithToolType: Int {
  28. case Convert = 0
  29. case OCR
  30. case PageEdit
  31. case PDFEdit
  32. case FromSign
  33. case EditPDF
  34. case Sign
  35. }
  36. @objc enum KMBatchOperationType: Int {
  37. case NotDetermined = 0
  38. case CreatePDF
  39. case Convert
  40. case Merge
  41. case Compress
  42. case OCR
  43. case AddPassword
  44. case RemovePassword
  45. case AddWatermark
  46. case RemoveWatermark
  47. case AddBackground
  48. case RemoveBackground
  49. case AddHeaderFooter
  50. case RemoveHeaderFooter
  51. case AddBates
  52. case RemoveBates
  53. }
  54. @objc enum KMBatchOperateStatus: Int {
  55. case Waiting = 0
  56. case processing
  57. case Success
  58. case Failed
  59. }
  60. @objc enum KMBatchOperatePageChoice: Int {
  61. case All = 0
  62. case Odd
  63. case Even
  64. case Input
  65. }
  66. @objc enum KMBatchOperateFileType: Int {
  67. case Unknow = 0
  68. case Image
  69. case PDF
  70. }
  71. @objc enum KMWatermarkOperateType: Int {
  72. case Edit = 0
  73. case Delete
  74. }
  75. @objc enum KMBackgroundOperateType: Int {
  76. case Edit = 0
  77. case Delete
  78. }
  79. @objc enum KMBatchOperateInterfaceStatus: Int {
  80. case PrepareProcess = 0
  81. case Processing
  82. }
  83. //@objc enum KMBackgroundType: Int {
  84. // case Color = 0
  85. // case File
  86. //}
  87. @objc enum KMBatchHeaderFooterType: Int {
  88. case HeaderFooter = 0
  89. case Bates
  90. }
  91. @objc enum KMBatchModifyTemplateType: Int {
  92. case Add = 0
  93. case Edit
  94. case Delete
  95. case Use
  96. }
  97. let kNeedChangePageRangeNotification = "kNeedChangePageRangeNotification"