KMProductModel.swift 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. //
  2. // KMProductModel.swift
  3. // PDF Reader Pro
  4. //
  5. // Created by wanjun on 2024/11/6.
  6. //
  7. import Foundation
  8. import Combine
  9. @objc enum KMCompareTableType : Int {
  10. case trial = 0 // 试用比较表
  11. case dmg_Base // DMG 基础版
  12. case dmg_MacWindows // DMG Mac&Windows双平台高级版永久
  13. case lite_Base // Lite 基础版
  14. case lite_MacWindows // Lite Mac&Windows双平台高级版永久
  15. case pro_Base // Pro 基础版
  16. case pro_Advanced // Pro Mac单平台高级版永久
  17. }
  18. @objc enum KMCompareProductType : Int {
  19. case free = 0 // 免费
  20. case freeTrial // 试用
  21. case allPlatformStandard // 全平台标准版年订阅
  22. case dualPlatformAdvanced // Mac&Windows双平台高级版永久
  23. case allPlatformAdvanced_6 // 全平台高级版6个月订阅
  24. case allPlatformAdvanced_12 // 全平台高级版12个月订阅
  25. case macPlatformAdvanced // MAC单平台高级版永久
  26. }
  27. @objc enum KMPurchasedProductType : Int {
  28. case fourDevicesAllAccessPackNew6months_lite = 0 // 4_devices_all_access_pack_new_6months(订阅)
  29. case fourDevicesAllAccessPackNew12months_lite // 4_devices_all_access_pack_12months(订阅)
  30. // case allAccessPackNew6months_lite // all_access_pack_new_6months(订阅)
  31. // case allAccessPack12months_lite // all_access_pack_12months(订阅)
  32. // case allAccessPack6months_lite // all_access_pack_6months(订阅)
  33. case aiAllAccessPack1month_lite // ai_all_access_pack_1month(订阅)
  34. case aiAllAccessPack12month_lite // ai_all_access_pack_12month(订阅)
  35. case allAccessPackPermanent_lite // all_access_pack_permanent(永久)
  36. case advancedAddDevicesAllAccessPack12months_lite // advanced_add_devices_all_access_pack_12months(订阅)
  37. case advancedAdd2DevicesAllAccessPack12months_lite // advanced_add_2_devices_all_access_pack_12months(订阅)
  38. case aiAllAccessPack1month_pro // ai_all_access_pack_1month(订阅)
  39. case aiAllAccessPack12month_pro // ai_all_access_pack_1month(订阅)
  40. case pdfToOfficePackPermanent_pro // pdf_to_office_pack_permanent(永久)
  41. case fourDevicesAllAccessPack12months_pro // 4_devices_all_access_pack_12months(全平台高级年订阅)
  42. case standardAddDevicesAllAccessPack12months_pro // standard_add_devices_all_access_pack_12months(订阅)
  43. case advancedAddDevicesAllAccessPack12months_pro // advanced_add_devices_all_access_pack_12months(订阅)
  44. case advancedAdd2DevicesAllAccessPack12months_pro // advanced_add_2_devices_all_access_pack_12months(订阅)
  45. }
  46. typealias AppstorePurchaseComplete = (_ success: Bool,_ msg: String) -> Void
  47. @objcMembers
  48. class KMProductModel: ObservableObject {
  49. /**
  50. 比较表类型
  51. */
  52. @Published var state: KMCompareTableType = .trial
  53. /**
  54. 高级版半年 或 年订阅,true为年订阅,false为半年订阅,默认true为年订阅
  55. */
  56. @Published var isPurchaseSwitch: Bool = true
  57. // MARK: Public Method
  58. /**
  59. @abstract 根据当前权益获取比较表类型
  60. @param
  61. */
  62. func getCurrentComparisonTableType() -> Void {
  63. if KMMemberInfo.shared.canTrail {
  64. state = .trial
  65. } else {
  66. #if VERSION_FREE
  67. #if VERSION_DMG
  68. // DMG
  69. if KMMemberInfo.shared.vip_levels == "1" {
  70. state = .dmg_Base
  71. } else if KMMemberInfo.shared.vip_levels == "2" {
  72. state = .dmg_MacWindows
  73. }
  74. #else
  75. // AppStore 免费版本
  76. if KMMemberInfo.shared.vip_levels == "1" {
  77. state = .lite_Base
  78. } else if KMMemberInfo.shared.vip_levels == "2" {
  79. state = .lite_MacWindows
  80. }
  81. #endif
  82. #else
  83. // AppStore 付费版
  84. if KMMemberInfo.shared.vip_levels == "1" {
  85. state = .pro_Base
  86. } else if KMMemberInfo.shared.vip_levels == "2" {
  87. state = .pro_Advanced
  88. }
  89. #endif
  90. }
  91. }
  92. /**
  93. 对应商品价格
  94. */
  95. func getProductPrice(_ type: KMPurchasedProductType) -> String {
  96. if type == .fourDevicesAllAccessPackNew6months_lite {
  97. if let product = IAPProductsManager.default().fourDevicesAllAccessPackNew6Months_lite, product.isOffers {
  98. return product.offersPrice()
  99. } else {
  100. return IAPProductsManager.default().fourDevicesAllAccessPackNew6Months_lite.price()
  101. }
  102. } else if type == .fourDevicesAllAccessPackNew12months_lite {
  103. if let product = IAPProductsManager.default().fourDevicesAllAccessPackNew12months_lite, product.isOffers {
  104. return product.offersPrice()
  105. } else {
  106. return IAPProductsManager.default().fourDevicesAllAccessPackNew12months_lite.price()
  107. }
  108. } else if type == .aiAllAccessPack1month_lite {
  109. if let product = IAPProductsManager.default().aiAllAccessPack1month_lite, product.isOffers {
  110. return product.offersPrice()
  111. } else {
  112. return IAPProductsManager.default().aiAllAccessPack1month_lite.price()
  113. }
  114. } else if type == .aiAllAccessPack12month_lite {
  115. if let product = IAPProductsManager.default().aiAllAccessPack12month_lite, product.isOffers {
  116. return product.offersPrice()
  117. } else {
  118. return IAPProductsManager.default().aiAllAccessPack12month_lite.price()
  119. }
  120. } else if type == .allAccessPackPermanent_lite {
  121. if let product = IAPProductsManager.default().allAccessPackPermanent_lite, product.isOffers {
  122. return product.offersPrice()
  123. } else {
  124. return IAPProductsManager.default().allAccessPackPermanent_lite.price()
  125. }
  126. } else if type == .advancedAddDevicesAllAccessPack12months_lite {
  127. if let product = IAPProductsManager.default().advancedAddDevicesAllAccessPack12months_lite, product.isOffers {
  128. return product.offersPrice()
  129. } else {
  130. return IAPProductsManager.default().advancedAddDevicesAllAccessPack12months_lite.price()
  131. }
  132. } else if type == .advancedAdd2DevicesAllAccessPack12months_lite {
  133. if let product = IAPProductsManager.default().advancedAdd2DevicesAllAccessPack12months_lite, product.isOffers {
  134. return product.offersPrice()
  135. } else {
  136. return IAPProductsManager.default().advancedAdd2DevicesAllAccessPack12months_lite.price()
  137. }
  138. } else if type == .aiAllAccessPack1month_pro {
  139. if let product = IAPProductsManager.default().aiAllAccessPack1month_pro, product.isOffers {
  140. return product.offersPrice()
  141. } else {
  142. return IAPProductsManager.default().aiAllAccessPack1month_pro.price()
  143. }
  144. } else if type == .aiAllAccessPack12month_pro {
  145. if let product = IAPProductsManager.default().aiAllAccessPack12month_pro, product.isOffers {
  146. return product.offersPrice()
  147. } else {
  148. return IAPProductsManager.default().aiAllAccessPack12month_pro.price()
  149. }
  150. } else if type == .pdfToOfficePackPermanent_pro {
  151. if let product = IAPProductsManager.default().pdfToOfficePackPermanent_pro, product.isOffers {
  152. return product.offersPrice()
  153. } else {
  154. return IAPProductsManager.default().pdfToOfficePackPermanent_pro.price()
  155. }
  156. } else if type == .fourDevicesAllAccessPack12months_pro {
  157. if let product = IAPProductsManager.default().fourDevicesAllAccessPack12months_pro, product.isOffers {
  158. return product.offersPrice()
  159. } else {
  160. return IAPProductsManager.default().fourDevicesAllAccessPack12months_pro.price()
  161. }
  162. } else if type == .standardAddDevicesAllAccessPack12months_pro {
  163. if let product = IAPProductsManager.default().standardAddDevicesAllAccessPack12months_pro, product.isOffers {
  164. return product.offersPrice()
  165. } else {
  166. return IAPProductsManager.default().standardAddDevicesAllAccessPack12months_pro.price()
  167. }
  168. } else if type == .advancedAddDevicesAllAccessPack12months_pro {
  169. if let product = IAPProductsManager.default().advancedAddDevicesAllAccessPack12months_pro, product.isOffers {
  170. return product.offersPrice()
  171. } else {
  172. return IAPProductsManager.default().advancedAddDevicesAllAccessPack12months_pro.price()
  173. }
  174. } else if type == .advancedAdd2DevicesAllAccessPack12months_pro {
  175. if let product = IAPProductsManager.default().advancedAdd2DevicesAllAccessPack12months_pro, product.isOffers {
  176. return product.offersPrice()
  177. } else {
  178. return IAPProductsManager.default().advancedAdd2DevicesAllAccessPack12months_pro.price()
  179. }
  180. }
  181. return ""
  182. }
  183. func appstorePurchaseAction(_ tag: Int, _ complete: @escaping AppstorePurchaseComplete) -> Void {
  184. if state == .dmg_Base {
  185. } else if state == .dmg_MacWindows {
  186. } else if state == .lite_Base {
  187. if tag == 0 {
  188. if isPurchaseSwitch { membershipPurchase(.fourDevicesAllAccessPackNew12months_lite) }
  189. else { membershipPurchase(.fourDevicesAllAccessPackNew6months_lite) }
  190. } else if tag == 3 {
  191. membershipPurchase(.allAccessPackPermanent_lite)
  192. } else {
  193. membershipPurchase(.fourDevicesAllAccessPackNew12months_lite)
  194. }
  195. } else if state == .lite_MacWindows {
  196. if tag == 2 {
  197. let platforms = KMMemberInfo.shared.vip_platforms
  198. let platformsArray = platforms
  199. .components(separatedBy: ",")
  200. .map { $0.trimmingCharacters(in: .whitespaces) }
  201. if platformsArray.count == 1 {
  202. membershipPurchase(.advancedAddDevicesAllAccessPack12months_lite)
  203. } else if platformsArray.count == 2 {
  204. membershipPurchase(.advancedAdd2DevicesAllAccessPack12months_lite)
  205. } else {
  206. membershipPurchase(.advancedAdd2DevicesAllAccessPack12months_lite)
  207. }
  208. }
  209. } else if state == .pro_Base {
  210. if KMMemberInfo.shared.userScenarioType == .pro_type3 {
  211. if tag == 2 {
  212. membershipPurchase(.standardAddDevicesAllAccessPack12months_pro)
  213. } else if tag == 3 {
  214. membershipPurchase(.pdfToOfficePackPermanent_pro)
  215. }
  216. }
  217. } else if state == .pro_Advanced {
  218. if KMMemberInfo.shared.userScenarioType == .pro_type1 {
  219. membershipPurchase(.advancedAddDevicesAllAccessPack12months_pro)
  220. } else if KMMemberInfo.shared.userScenarioType == .pro_type4 {
  221. membershipPurchase(.advancedAddDevicesAllAccessPack12months_pro)
  222. }
  223. } else {
  224. if tag == 2 {
  225. membershipPurchase(.fourDevicesAllAccessPackNew12months_lite)
  226. }
  227. }
  228. }
  229. var isCancelAutoRenew: Bool {
  230. return IAPProductsManager.default().isCancelAutoRenew()
  231. }
  232. var isShowSale: Bool {
  233. if #available(macOS 10.14.4, *), isCancelAutoRenew {
  234. let manager = IAPProductsManager.default()
  235. let isSubscribed_newlyMonth = manager?.allAccessPackNew6months_lite.isSubscribed ?? false
  236. let isSubscribed_year = manager?.allAccessPack12months_lite.isSubscribed ?? false
  237. if isSubscribed_newlyMonth || isSubscribed_year {
  238. return false
  239. }
  240. if let info = KMAdvertisementManager.manager.info.StoreUserRecovery?.content?.first, !(info.show! as NSString).boolValue {
  241. return false
  242. }
  243. return true
  244. }
  245. return false
  246. }
  247. // MARK: Private Method
  248. /**
  249. 会员购买
  250. */
  251. private func membershipPurchase(_ type: KMPurchasedProductType) -> Void {
  252. if type == .fourDevicesAllAccessPackNew6months_lite || type == .fourDevicesAllAccessPackNew12months_lite {
  253. if isPurchaseSwitch {
  254. IAPProductsManager.default().makeSubProduct(IAPProductsManager.default().fourDevicesAllAccessPackNew12months_lite, discount: isCancelAutoRenew)
  255. } else {
  256. IAPProductsManager.default().makeSubProduct(IAPProductsManager.default().fourDevicesAllAccessPackNew6Months_lite, discount: isCancelAutoRenew)
  257. }
  258. } else if type == .aiAllAccessPack1month_lite {
  259. IAPProductsManager.default().makeSubProduct(IAPProductsManager.default().aiAllAccessPack1month_lite, discount: isCancelAutoRenew)
  260. } else if type == .aiAllAccessPack12month_lite {
  261. IAPProductsManager.default().makeSubProduct(IAPProductsManager.default().aiAllAccessPack12month_lite, discount: isCancelAutoRenew)
  262. } else if type == .allAccessPackPermanent_lite {
  263. IAPProductsManager.default().makeSubProduct(IAPProductsManager.default().allAccessPackPermanent_lite, discount: isCancelAutoRenew)
  264. } else if type == .advancedAddDevicesAllAccessPack12months_lite {
  265. IAPProductsManager.default().makeSubProduct(IAPProductsManager.default().advancedAddDevicesAllAccessPack12months_lite, discount: isCancelAutoRenew)
  266. } else if type == .advancedAdd2DevicesAllAccessPack12months_lite {
  267. IAPProductsManager.default().makeSubProduct(IAPProductsManager.default().advancedAdd2DevicesAllAccessPack12months_lite, discount: isCancelAutoRenew)
  268. } else if type == .aiAllAccessPack1month_pro {
  269. IAPProductsManager.default().makeSubProduct(IAPProductsManager.default().aiAllAccessPack1month_pro, discount: isCancelAutoRenew)
  270. } else if type == .aiAllAccessPack12month_pro {
  271. IAPProductsManager.default().makeSubProduct(IAPProductsManager.default().aiAllAccessPack12month_pro, discount: isCancelAutoRenew)
  272. } else if type == .pdfToOfficePackPermanent_pro {
  273. IAPProductsManager.default().makeSubProduct(IAPProductsManager.default().pdfToOfficePackPermanent_pro, discount: isCancelAutoRenew)
  274. } else if type == .fourDevicesAllAccessPack12months_pro {
  275. IAPProductsManager.default().makeSubProduct(IAPProductsManager.default().fourDevicesAllAccessPack12months_pro, discount: isCancelAutoRenew)
  276. } else if type == .standardAddDevicesAllAccessPack12months_pro {
  277. IAPProductsManager.default().makeSubProduct(IAPProductsManager.default().standardAddDevicesAllAccessPack12months_pro, discount: isCancelAutoRenew)
  278. } else if type == .advancedAddDevicesAllAccessPack12months_pro {
  279. IAPProductsManager.default().makeSubProduct(IAPProductsManager.default().advancedAddDevicesAllAccessPack12months_pro, discount: isCancelAutoRenew)
  280. } else if type == .advancedAdd2DevicesAllAccessPack12months_pro {
  281. IAPProductsManager.default().makeSubProduct(IAPProductsManager.default().advancedAdd2DevicesAllAccessPack12months_pro, discount: isCancelAutoRenew)
  282. }
  283. }
  284. // MARK: Action Method
  285. /**
  286. 恢复购买
  287. */
  288. func productRestore() -> Void {
  289. IAPProductsManager.default().restoreSubscriptions()
  290. }
  291. func privacyPolicyAction() -> Void {
  292. NSWorkspace.shared.open(URL(string: "https://www.pdfreaderpro.com/privacy-policy")!)
  293. }
  294. func termOfSerAction() -> Void {
  295. NSWorkspace.shared.open(URL(string: "https://www.pdfreaderpro.com/terms_of_service")!)
  296. }
  297. // MARK: Get & Set
  298. /**
  299. 当前比较表产品列表内容
  300. */
  301. var products: [KMCompareProductType] {
  302. if state == .trial {
  303. return [.free, .freeTrial]
  304. } else if state == .dmg_Base {
  305. return [.free, .allPlatformStandard, .allPlatformAdvanced_12, .dualPlatformAdvanced]
  306. } else if state == .dmg_MacWindows {
  307. return [.allPlatformAdvanced_12]
  308. } else if state == .lite_Base {
  309. return [.free, .allPlatformAdvanced_6, .allPlatformAdvanced_12, .dualPlatformAdvanced]
  310. } else if state == .lite_MacWindows {
  311. return [.allPlatformAdvanced_12]
  312. } else if state == .pro_Base {
  313. return [.allPlatformAdvanced_12, .macPlatformAdvanced]
  314. } else if state == .pro_Advanced {
  315. return [.allPlatformAdvanced_12]
  316. }
  317. return []
  318. }
  319. /**
  320. 比较表数据源
  321. */
  322. var dataSource: [Any] {
  323. if isPurchaseSwitch {
  324. // 试用 全平台标准版年订阅 全平台高级版6/12个月订阅 Mac&Windows双平台高级版永久 MAC单平台高级版永久
  325. //MAC单平台标准版永久
  326. return [
  327. "Benefit",
  328. ["Supported platforms", "mac, windows, ios, android", "mac, windows, ios, android", "mac, windows, ios, android", "mac, windows", "mac"],
  329. ["Maximum number of accessible devices", "2 devices", "4 devices", "4 devices", "2 devices", "1 devices"],
  330. "PDF to Office",
  331. ["Convert PDFs to Word, HTML, TXT, JPEG or PNG files", "Only first 10 pages", "Standard", "Advanced", "Advanced", "Advanced"],
  332. ["Turn PDF to PPT, Excel, RTF, CSV, and more", "Only first 10 pages", "Only first 10 pages", "✓", "✓", "✓"],
  333. ["Convert PDF to TIFF, BMP, GIF or TGA files", "Only first 10 pages", "Only first 10 pages", "✓", "✓", "✓"],
  334. "Edit PDF",
  335. ["Add and edit text in PDF", "X", "✓", "✓", "✓", "✓"],
  336. ["Edit, crop, replace image in PDF", "X", "✓", "✓", "✓", "✓"],
  337. "OCR",
  338. ["Extract texts from image-based or scanned PDF", "X", "✓", "✓", "✓", "✓"],
  339. "Organize Pages",
  340. ["Extract, rotate, rearrange, replace, add, delete pages", "X", "✓", "✓", "✓", "✓"],
  341. ["Split PDFs into multiple files", "X", "✓", "✓", "✓", "✓"],
  342. "Advanced Editing Tools",
  343. ["Merge multiple documents into a new PDF", "Up to 2 files or 20 MB", "✓", "✓", "✓", "∞", "∞"],
  344. ["Add & edit watermark", "X", "✓", "✓", "✓", "✓"],
  345. ["Add header, footer, page numbers", "X", "✓", "✓", "✓", "✓"],
  346. ["Add Bates Number", "X", "✓", "✓", "✓", "✓"],
  347. ["Insert PDF page background by color or image", "X", "✓", "✓", "✓", "✓"],
  348. ["Create fattened copies", "X", "✓", "✓", "✓", "✓"],
  349. ["Extract Images", "X", "✓", "✓", "✓", "✓"],
  350. ["Extract tables", "Only first 10 pages", "Only first 10 pages", "✓", "✓", "✓"],
  351. ["Measuring Tools", "X", "✓", "✓", "✓", "✓"],
  352. "Fill & Sign",
  353. ["Create digital signature", "X", "✓", "✓", "✓", "✓"],
  354. ["Create & Edit & Fill Adobe Fillable PDF Forms", "X", "✓", "✓", "✓", "✓"],
  355. "Security",
  356. ["Batch encrypting PDF documents", "X", "✓", "✓", "✓", "✓"],
  357. ["PDF Password Remover", "X", "✓", "✓", "✓", "✓"],
  358. ["Redact sensitive information", "X", "✓", "✓", "✓", "✓"],
  359. "Create PDF",
  360. ["Convert JPEG, JPG, PNG, TIFF, BMP or PSD files to PDFs", "1 file", "✓", "✓", "✓", "✓"],
  361. ["Create PDFs from a scanner and iOS devices", "X", "✓", "✓", "✓", "✓"],
  362. "Annotations",
  363. ["Customize PDF stamps", "X", "✓", "✓", "✓", "✓"],
  364. ["Hyperlink", "Page Number", "Page Number, URL, Email", "Page Number, URL, Email", "Page Number, URL, Email", "Page Number, URL, Email"],
  365. ["Signature", "Standard", "Advanced", "Advanced", "Advanced", "Advanced"],
  366. ["Table", "X", "✓", "✓", "✓", "✓"],
  367. "View PDF",
  368. ["Multi-tab viewer", "X", "✓", "✓", "✓", "✓"],
  369. ["Various printing types: poster, booklet, multi-page printing", "X", "✓", "✓", "✓", "✓"],
  370. ["Customize theme colors: Light Mode, Dark Mode, Sepia Mode and more", "X", "✓", "✓", "✓", "✓"],
  371. ["Split View to compare files", "X", "✓", "✓", "✓", "✓"],
  372. "Subscription Based Solution",
  373. ["Access all premium features in app", "X", "12 months", "12 months", "∞", "∞"],
  374. ["Priority customer support", "X", "✓", "✓", "✓", "✓"],
  375. ["Ad-free", "X", "✓", "✓", "✓", "✓"]
  376. ]
  377. } else {
  378. return [
  379. "Benefit",
  380. ["Supported platforms", "mac, windows, ios, android", "mac, windows, ios, android", "mac, windows, ios, android", "mac, windows", "mac"],
  381. ["Maximum number of accessible devices", "2 devices", "4 devices", "4 devices", "2 devices", "1 devices"],
  382. "PDF to Office",
  383. ["Convert PDFs to Word, HTML, TXT, JPEG or PNG files", "Only first 10 pages", "Standard", "Advanced", "Advanced", "Advanced"],
  384. ["Turn PDF to PPT, Excel, RTF, CSV, and more", "Only first 10 pages", "Only first 10 pages", "✓", "✓", "✓"],
  385. ["Convert PDF to TIFF, BMP, GIF or TGA files", "Only first 10 pages", "Only first 10 pages", "✓", "✓", "✓"],
  386. "Edit PDF",
  387. ["Add and edit text in PDF", "X", "✓", "✓", "✓", "✓"],
  388. ["Edit, crop, replace image in PDF", "X", "✓", "✓", "✓", "✓"],
  389. "OCR",
  390. ["Extract texts from image-based or scanned PDF", "X", "✓", "✓", "✓", "✓"],
  391. "Organize Pages",
  392. ["Extract, rotate, rearrange, replace, add, delete pages", "X", "✓", "✓", "✓", "✓"],
  393. ["Split PDFs into multiple files", "X", "✓", "✓", "✓", "✓"],
  394. "Advanced Editing Tools",
  395. ["Merge multiple documents into a new PDF", "Up to 2 files or 20 MB", "✓", "✓", "✓", "∞", "∞"],
  396. ["Add & edit watermark", "X", "✓", "✓", "✓", "✓"],
  397. ["Add header, footer, page numbers", "X", "✓", "✓", "✓", "✓"],
  398. ["Add Bates Number", "X", "✓", "✓", "✓", "✓"],
  399. ["Insert PDF page background by color or image", "X", "✓", "✓", "✓", "✓"],
  400. ["Create fattened copies", "X", "✓", "✓", "✓", "✓"],
  401. ["Extract Images", "X", "✓", "✓", "✓", "✓"],
  402. ["Extract tables", "Only first 10 pages", "Only first 10 pages", "✓", "✓", "✓"],
  403. ["Measuring Tools", "X", "✓", "✓", "✓", "✓"],
  404. "Fill & Sign",
  405. ["Create digital signature", "X", "✓", "✓", "✓", "✓"],
  406. ["Create & Edit & Fill Adobe Fillable PDF Forms", "X", "✓", "✓", "✓", "✓"],
  407. "Security",
  408. ["Batch encrypting PDF documents", "X", "✓", "✓", "✓", "✓"],
  409. ["PDF Password Remover", "X", "✓", "✓", "✓", "✓"],
  410. ["Redact sensitive information", "X", "✓", "✓", "✓", "✓"],
  411. "Create PDF",
  412. ["Convert JPEG, JPG, PNG, TIFF, BMP or PSD files to PDFs", "1 file", "✓", "✓", "✓", "✓"],
  413. ["Create PDFs from a scanner and iOS devices", "X", "✓", "✓", "✓", "✓"],
  414. "Annotations",
  415. ["Customize PDF stamps", "X", "✓", "✓", "✓", "✓"],
  416. ["Hyperlink", "Page Number", "Page Number, URL, Email", "Page Number, URL, Email", "Page Number, URL, Email", "Page Number, URL, Email"],
  417. ["Signature", "Standard", "Advanced", "Advanced", "Advanced", "Advanced"],
  418. ["Table", "X", "✓", "✓", "✓", "✓"],
  419. "View PDF",
  420. ["Multi-tab viewer", "X", "✓", "✓", "✓", "✓"],
  421. ["Various printing types: poster, booklet, multi-page printing", "X", "✓", "✓", "✓", "✓"],
  422. ["Customize theme colors: Light Mode, Dark Mode, Sepia Mode and more", "X", "✓", "✓", "✓", "✓"],
  423. ["Split View to compare files", "X", "✓", "✓", "✓", "✓"],
  424. "Subscription Based Solution",
  425. ["Access all premium features in app", "X", "6 months", "6 months", "∞", "∞"],
  426. ["Priority customer support", "X", "✓", "✓", "✓", "✓"],
  427. ["Ad-free", "X", "✓", "✓", "✓", "✓"]
  428. ]
  429. }
  430. }
  431. }