KMBotaEnum.swift 708 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // KMBotaEnum.swift
  3. // PDF Reader Pro
  4. //
  5. // Created by tangchao on 2023/11/17.
  6. //
  7. import Foundation
  8. enum KMNoteSortType: Int {
  9. case none = 0
  10. case time
  11. case page
  12. }
  13. enum KMLeftSidePaneState: Int {
  14. case thumbnail = 1
  15. case outline
  16. case noteList
  17. case snapshotList
  18. case find
  19. }
  20. enum KMFindPaneState: Int {
  21. case singular = 1
  22. case grouped
  23. }
  24. enum KMFindState: Int {
  25. case none
  26. case content = 1
  27. case note
  28. case snapshot
  29. }
  30. enum KMSelectedSegmentType: Int {
  31. case thumbnail = 0
  32. case outline
  33. case annotation
  34. case snapshot
  35. case search
  36. }
  37. enum KMFoldType: Int {
  38. case none = 0 //混合
  39. case unfold //展开
  40. case fold //折叠
  41. }