KMBatesModel.swift 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // KMHeaderFooterObject.swift
  3. // PDF Reader Pro
  4. //
  5. // Created by tangchao on 2022/12/28.
  6. //
  7. import Cocoa
  8. @objcMembers class KMBatesModel: NSObject {
  9. var fontName: String = "Helvetica"
  10. var fontsize: CGFloat = 12
  11. var color: NSColor = NSColor.black
  12. var leftMargin: Int = 30
  13. var rightMargin: Int = 30
  14. var bottomMargin: Int = 30
  15. var topMargin: Int = 30
  16. var topLeftString: String = ""
  17. var topCenterString: String = ""
  18. var topRightString: String = ""
  19. var bottomLeftString: String = ""
  20. var bottomCenterString: String = ""
  21. var bottomRightString: String = ""
  22. var prefixString: String = ""
  23. var suffixString: String = ""
  24. var digits: Int = 1
  25. var startString: String = "1"
  26. var name: String = ""
  27. var tag: String = ""
  28. override init() {
  29. super.init()
  30. self.name = "Bates Number"
  31. self.tag = NSString.tagString()
  32. }
  33. required init?(coder: NSCoder) {
  34. fatalError("init(coder:) has not been implemented")
  35. }
  36. }