KMPDFConfig.swift 738 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // KMPDFConfig.swift
  3. // PDF Reader Pro
  4. //
  5. // Created by Niehaoyu on 2024/10/21.
  6. //
  7. import Cocoa
  8. //注释对齐方式
  9. @objc public enum KMAnnotationsAlignmentType: Int, CaseIterable {
  10. case None = 0
  11. case Left
  12. case XCenter
  13. case Right
  14. case Top
  15. case YCenter
  16. case Bottom
  17. case Horizontal
  18. case Vertical
  19. }
  20. //工具类型
  21. @objc public enum KMPDFViewToolsType: Int, CaseIterable {
  22. case Select = 0
  23. case Scroll
  24. case Content_Selection
  25. case Magnify
  26. case AreaZoom
  27. }
  28. //PDF模式
  29. @objc public enum KMPDFToolsMode: Int, CaseIterable {
  30. case PageEdit = 0
  31. case View_Tools
  32. case Markup
  33. case Edit
  34. case Form
  35. case Fill
  36. case Convert
  37. case Protect
  38. case Tools
  39. }