KMSecureEncryptModel.swift 911 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // KMSecureEncryptModel.swift
  3. // PDF Master
  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. }