KMSecureEncryptModel.swift 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // KMSecureEncryptModel.swift
  3. // PDF Reader Pro
  4. //
  5. // Created by tangchao on 2022/11/28.
  6. //
  7. import Cocoa
  8. class KMSecureEncryptModel: NSObject {
  9. var openPasswordOn: Bool = false
  10. var openPassword: String = ""
  11. var ownerPasswordOn: Bool = false
  12. var ownerPassword: String = ""
  13. var printEnabled: Bool = false
  14. var printArray: [String] = ["无","低分辨率(150dpi)","高分辨率"]
  15. var printSelectedIndex: Int = 0
  16. var printAllowed: Bool = true
  17. var editEnabled: Bool = false
  18. var editArray: [String] = ["无","插入、删除和旋转页面","填写表单域和签名现有的签名域", "注释、填写表单域和签名现有签名域","除了提取页面"]
  19. var editSelectedIndex: Int = 0
  20. var editAllowed: Bool = true
  21. var encryptLevetArray: [String] = ["128-bit-RC4","128-bit-AES","256-bit-AES"]
  22. var encryptLevelSelectedIndex = 0
  23. var title: String = ""
  24. var author: String = ""
  25. var subject: String = ""
  26. var keywords: String = ""
  27. }