KMProductModel.swift 34 KB

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