Ver Fonte

【OCR】- 批量OCR UI搭建

lizhe há 1 semana atrás
pai
commit
a296272518
16 ficheiros alterados com 261 adições e 85 exclusões
  1. 2 0
      PDF Office/PDF Master/Class/Batch/WindowController/KMBatchOperateBaseWindowController.swift
  2. 3 3
      PDF Office/PDF Master/Class/Batch/WindowController/KMBatchOperateBaseWindowController.xib
  3. 11 0
      PDF Office/PDF Master/Class/Batch/WindowController/KMBatchOperateRightViewController.swift
  4. 4 2
      PDF Office/PDF Master/Class/Batch/WindowController/KMBatchOperateWindowController.swift
  5. 17 0
      PDF Office/PDF Master/Class/Batch/WindowController/VC/Compress/KMBatchOperateCompressSettingViewController.swift
  6. 19 0
      PDF Office/PDF Master/Class/Batch/WindowController/VC/Compress/KMBatchOperateCompressSettingViewController.xib
  7. 27 32
      PDF Office/PDF Master/Class/Batch/WindowController/VC/KMBatchOperateCompressViewController.swift
  8. 22 9
      PDF Office/PDF Master/Class/Batch/WindowController/VC/KMBatchOperateCompressViewController.xib
  9. 2 2
      PDF Office/PDF Master/Class/Batch/WindowController/VC/KMBatchOperateImageToPDFViewController.xib
  10. 17 0
      PDF Office/PDF Master/Class/Batch/WindowController/VC/KMBatchOperateOCRFViewController.swift
  11. 60 0
      PDF Office/PDF Master/Class/Batch/WindowController/VC/KMBatchOperateOCRFViewController.xib
  12. 25 25
      PDF Office/PDF Master/Class/PDFTools/Convert/Controller/KMConvertBaseWindowController.xib
  13. 4 4
      PDF Office/PDF Master/Class/PDFTools/OCRNew/Controller/KMLanguageViewController.xib
  14. 3 3
      PDF Office/PDF Master/Class/PDFTools/OCRNew/Controller/KMOCRPDFWindowController.xib
  15. 1 1
      PDF Office/PDF Master/Class/PDFWindowController/ViewController/KMMainViewController.swift
  16. 44 4
      PDF Office/PDF Reader Pro.xcodeproj/project.pbxproj

+ 2 - 0
PDF Office/PDF Master/Class/Batch/WindowController/KMBatchOperateBaseWindowController.swift

@@ -43,6 +43,8 @@ import Cocoa
                 self.window!.title = NSLocalizedString("Remove Bates Numbers", comment: "")
             case .CreatePDF:
                 self.window!.title = NSLocalizedString("Image To PDF", comment: "")
+            case .OCR:
+                self.window!.title = NSLocalizedString("OCR", comment: "")
             default :
                 self.window!.title = NSLocalizedString("Convert", comment: "")
             }

+ 3 - 3
PDF Office/PDF Master/Class/Batch/WindowController/KMBatchOperateBaseWindowController.xib

@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22155" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
         <deployment identifier="macosx"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22155"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
@@ -13,7 +13,7 @@
         </customObject>
         <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
         <customObject id="-3" userLabel="Application" customClass="NSObject"/>
-        <window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="F0z-JX-Cv5" customClass="KMBatchWindow" customModule="PDF_Master" customModuleProvider="target">
+        <window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="F0z-JX-Cv5" customClass="KMBatchWindow" customModule="PDF_Reader_Pro" customModuleProvider="target">
             <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
             <rect key="contentRect" x="422" y="270" width="480" height="270"/>
             <rect key="screenRect" x="0.0" y="0.0" width="2560" height="1415"/>

+ 11 - 0
PDF Office/PDF Master/Class/Batch/WindowController/KMBatchOperateRightViewController.swift

@@ -83,6 +83,12 @@ class KMBatchOperateRightViewController: NSViewController{
         return vc
     }()
     
+    lazy var ocrViewController: KMBatchOperateOCRFViewController? = {
+        let vc = KMBatchOperateOCRFViewController(files: self.files)
+        vc.operateType = .OCR
+        return vc
+    }()
+    
     var _currentType: KMBatchOperationType?
     var currentType: KMBatchOperationType?{
         get{
@@ -161,6 +167,11 @@ class KMBatchOperateRightViewController: NSViewController{
                     self.imageToPDFViewController?.view.mas_makeConstraints({ make in
                         make?.edges.equalTo()(self.view)
                     })
+                } else if _currentType == .OCR {
+                    self.view.addSubview(self.ocrViewController!.view)
+                    self.ocrViewController?.view.mas_makeConstraints({ make in
+                        make?.edges.equalTo()(self.view)
+                    })
                 }
             }
         }

+ 4 - 2
PDF Office/PDF Master/Class/Batch/WindowController/KMBatchOperateWindowController.swift

@@ -474,7 +474,8 @@ let kBatchOperateToolbar_BatesIdentifier = "kBatchOperateToolbar_BatesIdentifier
                    NSToolbarItem.Identifier(rawValue: kBatchOperateToolbar_HeadFooterIdentifier),
                    NSToolbarItem.Identifier.flexibleSpace,
                    NSToolbarItem.Identifier(rawValue: kBatchOperateToolbar_BatesIdentifier),
-                   NSToolbarItem.Identifier.flexibleSpace
+                   NSToolbarItem.Identifier.flexibleSpace,
+                   NSToolbarItem.Identifier(rawValue: kBatchOperateToolbar_OCRIdentifier)
         ]
         return arr
     }
@@ -486,7 +487,8 @@ let kBatchOperateToolbar_BatesIdentifier = "kBatchOperateToolbar_BatesIdentifier
             NSToolbarItem.Identifier(rawValue: kBatchOperateToolbar_WatermarkIdentifier),
             NSToolbarItem.Identifier(rawValue: kBatchOperateToolbar_BackgroundIdentifier),
             NSToolbarItem.Identifier(rawValue: kBatchOperateToolbar_HeadFooterIdentifier),
-            NSToolbarItem.Identifier(rawValue: kBatchOperateToolbar_BatesIdentifier)
+            NSToolbarItem.Identifier(rawValue: kBatchOperateToolbar_BatesIdentifier),
+            NSToolbarItem.Identifier(rawValue: kBatchOperateToolbar_OCRIdentifier)
         ]
         return arr
     }

+ 17 - 0
PDF Office/PDF Master/Class/Batch/WindowController/VC/Compress/KMBatchOperateCompressSettingViewController.swift

@@ -0,0 +1,17 @@
+//
+//  KMBatchOperateCompressSettingViewController.swift
+//  PDF Reader Pro
+//
+//  Created by lizhe on 2024/11/15.
+//
+
+import Cocoa
+
+class KMBatchOperateCompressSettingViewController: NSViewController {
+
+    override func viewDidLoad() {
+        super.viewDidLoad()
+        // Do view setup here.
+    }
+    
+}

+ 19 - 0
PDF Office/PDF Master/Class/Batch/WindowController/VC/Compress/KMBatchOperateCompressSettingViewController.xib

@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11134" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
+    <dependencies>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11134"/>
+    </dependencies>
+    <objects>
+        <customObject id="-2" userLabel="File's Owner" customClass="KMBatchOperateCompressSettingViewController" customModuleProvider="target">
+            <connections>
+                <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
+            </connections>
+        </customObject>
+        <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
+        <customObject id="-3" userLabel="Application" customClass="NSObject"/>
+        <customView id="Hz6-mo-xeY">
+            <rect key="frame" x="0.0" y="0.0" width="480" height="272"/>
+            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+        </customView>
+    </objects>
+</document>

+ 27 - 32
PDF Office/PDF Master/Class/Batch/WindowController/VC/KMBatchOperateCompressViewController.swift

@@ -10,33 +10,22 @@ import Cocoa
 class KMBatchOperateCompressViewController: KMBatchOperateBaseViewController{
     
     @IBOutlet var titleLabel: NSTextField!
-    
     @IBOutlet var dpi300Button: NSButton!
-    
     @IBOutlet var dpi300Label: NSTextField!
-    
     @IBOutlet var dpi150Button: NSButton!
-    
     @IBOutlet var dpi150Label: NSTextField!
-    
     @IBOutlet var dpi72Button: NSButton!
-    
     @IBOutlet var dpi72Label: NSTextField!
-    
     @IBOutlet var dpi50Button: NSButton!
-    
     @IBOutlet var dpi50Label: NSTextField!
-    
     @IBOutlet var otherChoiceButton: NSButton!
-    
     @IBOutlet var actionButton: NSButton!
-    
     @IBOutlet var comprssSlider: KMSlider!
-    
     @IBOutlet var lowLabel: NSTextField!
-    
     @IBOutlet var highLabel: NSTextField!
     
+    @IBOutlet weak var settingButton: NSButton!
+    
     var currentType: NSNumber = 60
     var savePath: String?
     var haveFiles: Bool = false
@@ -87,9 +76,9 @@ class KMBatchOperateCompressViewController: KMBatchOperateBaseViewController{
     func localizedLanguage() {
         self.titleLabel.stringValue = NSLocalizedString("Optimization Options", comment: "")
         self.actionButton.title = NSLocalizedString("Compress", comment: "")
-        self.dpi300Label.stringValue = NSLocalizedString("Large File Size(High Quality)", comment: "")
-        self.dpi150Label.stringValue = NSLocalizedString("Medium File Size(Medium Quality)", comment: "")
-        self.dpi72Label.stringValue = NSLocalizedString("Small File Size(Recommended Quality)", comment: "")
+        self.dpi300Label.stringValue = NSLocalizedString("移动设备", comment: "")
+        self.dpi150Label.stringValue = NSLocalizedString("标准(智能推荐)", comment: "")
+        self.dpi72Label.stringValue = NSLocalizedString("自定义值", comment: "")
         self.dpi50Label.stringValue = NSLocalizedString("Minimum File Size(Low Quality)", comment: "")
         self.otherChoiceButton.title = NSLocalizedString("Other", comment: "")
         self.lowLabel.stringValue = NSLocalizedString("Low Quality", comment: "")
@@ -105,22 +94,22 @@ class KMBatchOperateCompressViewController: KMBatchOperateBaseViewController{
         self.dpi50Button.setTitleColor(KMAppearance.Layout.h0Color())
         self.otherChoiceButton.setTitleColor(KMAppearance.Layout.h0Color())
         
-        self.currentType = 60
-        self.dpi72Button.state = .on
-        self.dpi50Button.state = .off
-        self.dpi300Button.state = .off
-        self.dpi150Button.state = .off
-        self.otherChoiceButton.state = .off
-        
-        self.highLabel.isEnabled = false
-        self.lowLabel.isEnabled = false
-        self.comprssSlider.isEnabled = false
-        self.comprssSlider.tipEnabled = false
-        
-        self.lowLabel.textColor = KMAppearance.Layout.h0Color()
-        self.highLabel.textColor = KMAppearance.Layout.h0Color()
-        self.lowLabel.alphaValue = 0.4
-        self.highLabel.alphaValue = 0.4
+//        self.currentType = 60
+//        self.dpi72Button.state = .on
+//        self.dpi50Button.state = .off
+//        self.dpi300Button.state = .off
+//        self.dpi150Button.state = .off
+//        self.otherChoiceButton.state = .off
+//        
+//        self.highLabel.isEnabled = false
+//        self.lowLabel.isEnabled = false
+//        self.comprssSlider.isEnabled = false
+//        self.comprssSlider.tipEnabled = false
+//        
+//        self.lowLabel.textColor = KMAppearance.Layout.h0Color()
+//        self.highLabel.textColor = KMAppearance.Layout.h0Color()
+//        self.lowLabel.alphaValue = 0.4
+//        self.highLabel.alphaValue = 0.4
         
         self.actionButton.wantsLayer = true
         if self.files!.count > 0 {
@@ -135,6 +124,8 @@ class KMBatchOperateCompressViewController: KMBatchOperateBaseViewController{
         self.actionButton.layer!.cornerRadius = 1.0
         
         NotificationCenter.default.addObserver(self, selector: #selector(batchFilesCountNotification(notification:)), name: NSNotification.Name("KMBatchFilesCountNotification"), object: nil)
+        
+        self.buttonClicked_ChooseDPI(self.dpi150Button)
     }
     func updateViewColor() {
         if KMAppearance.isDarkMode() {
@@ -215,6 +206,10 @@ class KMBatchOperateCompressViewController: KMBatchOperateBaseViewController{
         }
     }
     
+    @IBAction func settingButtonAction(_ sender: Any) {
+        
+    }
+    
     override func beginQueueOperation() {
         // hiddenWindowCloseButtonIfNeeded()
         self.successFilePathURLArray?.removeAll()

+ 22 - 9
PDF Office/PDF Master/Class/Batch/WindowController/VC/KMBatchOperateCompressViewController.xib

@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22155" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
         <deployment identifier="macosx"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22155"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
-        <customObject id="-2" userLabel="File's Owner" customClass="KMBatchOperateCompressViewController" customModule="PDF_Master" customModuleProvider="target">
+        <customObject id="-2" userLabel="File's Owner" customClass="KMBatchOperateCompressViewController" customModule="PDF_Reader_Pro" customModuleProvider="target">
             <connections>
                 <outlet property="actionButton" destination="0oc-wO-giJ" id="H39-W9-bBl"/>
                 <outlet property="comprssSlider" destination="ZM8-au-Zjj" id="3Ya-cJ-SgE"/>
@@ -21,6 +21,7 @@
                 <outlet property="highLabel" destination="uQM-Hg-SLo" id="3wI-j6-K9j"/>
                 <outlet property="lowLabel" destination="tY3-My-5Ov" id="pgE-oh-hQk"/>
                 <outlet property="otherChoiceButton" destination="AR5-qb-z8e" id="z9K-kn-mFS"/>
+                <outlet property="settingButton" destination="V9L-vL-dps" id="JiJ-xQ-hOk"/>
                 <outlet property="titleLabel" destination="BGJ-le-5vT" id="6Xn-od-bMf"/>
                 <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
             </connections>
@@ -61,7 +62,7 @@
                         <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                     </textFieldCell>
                 </textField>
-                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="G4p-Mj-Wqk">
+                <textField hidden="YES" focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="G4p-Mj-Wqk">
                     <rect key="frame" x="34" y="164" width="37" height="16"/>
                     <textFieldCell key="cell" title="Label" id="9BY-68-WZA">
                         <font key="font" metaFont="system"/>
@@ -99,7 +100,7 @@
                         <action selector="buttonClicked_ChooseDPI:" target="-2" id="WjF-bm-AdH"/>
                     </connections>
                 </button>
-                <button tag="3" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="F9r-Rt-hvI">
+                <button hidden="YES" tag="3" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="F9r-Rt-hvI">
                     <rect key="frame" x="14" y="163" width="57" height="18"/>
                     <buttonCell key="cell" type="radio" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="m2Y-Fl-32m">
                         <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@@ -109,7 +110,7 @@
                         <action selector="buttonClicked_ChooseDPI:" target="-2" id="Dcz-WW-AHw"/>
                     </connections>
                 </button>
-                <button tag="4" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="AR5-qb-z8e">
+                <button hidden="YES" tag="4" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="AR5-qb-z8e">
                     <rect key="frame" x="14" y="136.5" width="58" height="18"/>
                     <buttonCell key="cell" type="radio" title="Radio" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="0v5-ap-CkP">
                         <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@@ -140,7 +141,7 @@
                         <action selector="buttonClicked_Action:" target="-2" id="cVx-s7-YUc"/>
                     </connections>
                 </button>
-                <slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZM8-au-Zjj" customClass="KMSlider" customModule="PDF_Master" customModuleProvider="target">
+                <slider hidden="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZM8-au-Zjj" customClass="KMSlider" customModule="PDF_Reader_Pro" customModuleProvider="target">
                     <rect key="frame" x="36" y="100" width="204" height="28"/>
                     <constraints>
                         <constraint firstAttribute="width" constant="200" id="stZ-Di-EVJ"/>
@@ -150,7 +151,7 @@
                         <action selector="comprssVauleAction:" target="-2" id="R9C-l8-4aD"/>
                     </connections>
                 </slider>
-                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tY3-My-5Ov">
+                <textField hidden="YES" focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tY3-My-5Ov">
                     <rect key="frame" x="36" y="85" width="37" height="16"/>
                     <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="1C5-jz-2Kv">
                         <font key="font" metaFont="system"/>
@@ -158,7 +159,7 @@
                         <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                     </textFieldCell>
                 </textField>
-                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="uQM-Hg-SLo">
+                <textField hidden="YES" focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="uQM-Hg-SLo">
                     <rect key="frame" x="203" y="85" width="37" height="16"/>
                     <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="dmh-q4-Y71">
                         <font key="font" metaFont="system"/>
@@ -166,6 +167,16 @@
                         <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                     </textFieldCell>
                 </textField>
+                <button translatesAutoresizingMaskIntoConstraints="NO" id="V9L-vL-dps">
+                    <rect key="frame" x="77" y="191" width="46" height="16"/>
+                    <buttonCell key="cell" type="square" title="setting" bezelStyle="shadowlessSquare" alignment="center" imageScaling="proportionallyDown" inset="2" id="zm8-yP-K0w">
+                        <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                        <font key="font" metaFont="system"/>
+                    </buttonCell>
+                    <connections>
+                        <action selector="settingButtonAction:" target="-2" id="85L-xO-R0c"/>
+                    </connections>
+                </button>
             </subviews>
             <constraints>
                 <constraint firstItem="9XA-Ss-REU" firstAttribute="centerY" secondItem="OzU-e9-6bT" secondAttribute="centerY" id="1p1-fT-TzM"/>
@@ -181,6 +192,7 @@
                 <constraint firstItem="0oc-wO-giJ" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="16" id="L6H-oZ-GtD"/>
                 <constraint firstItem="BGJ-le-5vT" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="10" id="M94-v9-QZI"/>
                 <constraint firstItem="U4U-em-sMp" firstAttribute="leading" secondItem="BGJ-le-5vT" secondAttribute="leading" id="OoI-JN-bQs"/>
+                <constraint firstItem="V9L-vL-dps" firstAttribute="leading" secondItem="s3M-WR-b0B" secondAttribute="trailing" constant="8" id="QX7-El-49R"/>
                 <constraint firstAttribute="bottom" secondItem="0oc-wO-giJ" secondAttribute="bottom" constant="20" id="R9j-gx-MC7"/>
                 <constraint firstItem="AR5-qb-z8e" firstAttribute="leading" secondItem="BGJ-le-5vT" secondAttribute="leading" id="Sd9-Lg-XOh"/>
                 <constraint firstItem="NJ8-R3-NNq" firstAttribute="leading" secondItem="9XA-Ss-REU" secondAttribute="leading" id="Sig-4j-H53"/>
@@ -191,6 +203,7 @@
                 <constraint firstItem="G4p-Mj-Wqk" firstAttribute="leading" secondItem="9XA-Ss-REU" secondAttribute="leading" id="Xgi-jK-m06"/>
                 <constraint firstItem="s3M-WR-b0B" firstAttribute="trailing" secondItem="Nsj-my-flw" secondAttribute="trailing" id="Yb1-x4-cTH"/>
                 <constraint firstItem="BGJ-le-5vT" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="16" id="ZUz-p7-LAt"/>
+                <constraint firstItem="V9L-vL-dps" firstAttribute="centerY" secondItem="Nsj-my-flw" secondAttribute="centerY" id="aTe-YU-LxG"/>
                 <constraint firstItem="OzU-e9-6bT" firstAttribute="leading" secondItem="BGJ-le-5vT" secondAttribute="leading" id="aZ6-vc-UIW"/>
                 <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="G4p-Mj-Wqk" secondAttribute="trailing" constant="16" id="akS-Dg-5W2"/>
                 <constraint firstItem="NJ8-R3-NNq" firstAttribute="trailing" secondItem="U4U-em-sMp" secondAttribute="trailing" id="bGC-oZ-6Su"/>

+ 2 - 2
PDF Office/PDF Master/Class/Batch/WindowController/VC/KMBatchOperateImageToPDFViewController.xib

@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22155" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
         <deployment identifier="macosx"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22155"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>

+ 17 - 0
PDF Office/PDF Master/Class/Batch/WindowController/VC/KMBatchOperateOCRFViewController.swift

@@ -0,0 +1,17 @@
+//
+//  KMBatchOperateOCRFViewController.swift
+//  PDF Reader Pro
+//
+//  Created by lizhe on 2024/11/14.
+//
+
+import Cocoa
+
+class KMBatchOperateOCRFViewController: KMBatchOperateBaseViewController {
+
+    override func viewDidLoad() {
+        super.viewDidLoad()
+        // Do view setup here.
+    }
+    
+}

+ 60 - 0
PDF Office/PDF Master/Class/Batch/WindowController/VC/KMBatchOperateOCRFViewController.xib

@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
+    <dependencies>
+        <deployment identifier="macosx"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
+        <capability name="System colors introduced in macOS 10.13" minToolsVersion="9.0"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <objects>
+        <customObject id="-2" userLabel="File's Owner" customClass="KMBatchOperateOCRFViewController" customModule="PDF_Reader_Pro" customModuleProvider="target">
+            <connections>
+                <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
+            </connections>
+        </customObject>
+        <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
+        <customObject id="-3" userLabel="Application" customClass="NSObject"/>
+        <customView id="Hz6-mo-xeY">
+            <rect key="frame" x="0.0" y="0.0" width="436" height="279"/>
+            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+            <subviews>
+                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Bce-fk-DUK">
+                    <rect key="frame" x="81" y="191" width="35" height="15"/>
+                    <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="F4D-My-x5U">
+                        <font key="font" metaFont="cellTitle"/>
+                        <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
+                        <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
+                    </textFieldCell>
+                </textField>
+                <box ambiguous="YES" boxType="custom" borderType="bezel" borderWidth="0.0" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="UkG-li-FGz">
+                    <rect key="frame" x="83" y="161" width="244" height="22"/>
+                    <view key="contentView" id="ZYc-2E-9d3">
+                        <rect key="frame" x="0.0" y="0.0" width="244" height="22"/>
+                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                    </view>
+                    <constraints>
+                        <constraint firstAttribute="height" constant="22" id="JJ9-h0-u9Z"/>
+                        <constraint firstAttribute="width" constant="244" id="obb-nz-5yI"/>
+                    </constraints>
+                    <color key="fillColor" name="findHighlightColor" catalog="System" colorSpace="catalog"/>
+                </box>
+                <box ambiguous="YES" boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="qwC-Rh-dRx">
+                    <rect key="frame" x="83" y="121" width="244" height="32"/>
+                    <view key="contentView" ambiguous="YES" id="qqy-qw-KC6">
+                        <rect key="frame" x="0.0" y="0.0" width="244" height="32"/>
+                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                    </view>
+                    <constraints>
+                        <constraint firstAttribute="height" constant="32" id="8tQ-5n-ESH"/>
+                    </constraints>
+                    <color key="fillColor" name="findHighlightColor" catalog="System" colorSpace="catalog"/>
+                </box>
+            </subviews>
+            <constraints>
+                <constraint firstItem="qwC-Rh-dRx" firstAttribute="top" secondItem="UkG-li-FGz" secondAttribute="bottom" constant="8" id="XPL-2P-i5j"/>
+                <constraint firstItem="UkG-li-FGz" firstAttribute="top" secondItem="Bce-fk-DUK" secondAttribute="bottom" constant="8" id="dFJ-AP-TTb"/>
+            </constraints>
+            <point key="canvasLocation" x="89" y="-9.5"/>
+        </customView>
+    </objects>
+</document>

+ 25 - 25
PDF Office/PDF Master/Class/PDFTools/Convert/Controller/KMConvertBaseWindowController.xib

@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22154" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
         <deployment identifier="macosx"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22154"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
         <capability name="System colors introduced in macOS 10.13" minToolsVersion="9.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
-        <customObject id="-2" userLabel="File's Owner" customClass="KMConvertBaseWindowController" customModule="PDF_Master" customModuleProvider="target">
+        <customObject id="-2" userLabel="File's Owner" customClass="KMConvertBaseWindowController" customModule="PDF_Reader_Pro" customModuleProvider="target">
             <connections>
                 <outlet property="backBox" destination="gFg-Q7-54m" id="8ww-CO-9PP"/>
                 <outlet property="batchButton" destination="iFO-Ki-C0L" id="KTA-dQ-WkN"/>
@@ -45,7 +45,7 @@
                             <rect key="frame" x="0.0" y="0.0" width="586" height="44"/>
                             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                             <subviews>
-                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="FhR-40-9KK">
+                                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="FhR-40-9KK">
                                     <rect key="frame" x="14" y="10" width="44" height="19"/>
                                     <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="i7C-Qe-kqF">
                                         <font key="font" metaFont="system" size="16"/>
@@ -69,13 +69,13 @@
                             <rect key="frame" x="0.0" y="0.0" width="212" height="320"/>
                             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                             <subviews>
-                                <customView translatesAutoresizingMaskIntoConstraints="NO" id="mvl-fd-L7y" customClass="KMCustomPDFView" customModule="PDF_Master" customModuleProvider="target">
+                                <customView translatesAutoresizingMaskIntoConstraints="NO" id="mvl-fd-L7y" customClass="KMCustomPDFView" customModule="PDF_Reader_Pro" customModuleProvider="target">
                                     <rect key="frame" x="16" y="56" width="182" height="248"/>
                                 </customView>
                                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="XyN-M5-Ckr">
                                     <rect key="frame" x="56" y="16" width="56" height="24"/>
                                     <subviews>
-                                        <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="0fT-PL-boX">
+                                        <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="0fT-PL-boX">
                                             <rect key="frame" x="8" y="2" width="40" height="21"/>
                                             <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" id="PMO-9h-eKH">
                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -92,7 +92,7 @@
                                         <constraint firstItem="0fT-PL-boX" firstAttribute="centerY" secondItem="XyN-M5-Ckr" secondAttribute="centerY" id="t3M-pb-lv4"/>
                                     </constraints>
                                 </customView>
-                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="OjN-CY-T87">
+                                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="OjN-CY-T87">
                                     <rect key="frame" x="118" y="18" width="9" height="20"/>
                                     <textFieldCell key="cell" lineBreakMode="clipping" title="/" id="B2h-9Y-2H7">
                                         <font key="font" metaFont="system" size="17"/>
@@ -100,7 +100,7 @@
                                         <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                     </textFieldCell>
                                 </textField>
-                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="b9V-3O-PC8">
+                                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="b9V-3O-PC8">
                                     <rect key="frame" x="131" y="20" width="32" height="16"/>
                                     <constraints>
                                         <constraint firstAttribute="width" relation="lessThanOrEqual" constant="28" id="Iqf-l4-eTt"/>
@@ -169,7 +169,7 @@
                                     <rect key="frame" x="0.0" y="0.0" width="358" height="391"/>
                                     <clipView key="contentView" id="tI2-Vq-Nms">
                                         <rect key="frame" x="0.0" y="0.0" width="343" height="376"/>
-                                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                                        <autoresizingMask key="autoresizingMask"/>
                                         <subviews>
                                             <view id="dBH-xr-mGL">
                                                 <rect key="frame" x="0.0" y="0.0" width="328" height="361"/>
@@ -280,7 +280,7 @@
             </connections>
             <point key="canvasLocation" x="13" y="100.5"/>
         </window>
-        <customView id="LzC-nd-jo2" customClass="KMConvertWordSettingView" customModule="PDF_Master" customModuleProvider="target">
+        <customView id="LzC-nd-jo2" customClass="KMConvertWordSettingView" customModule="PDF_Reader_Pro" customModuleProvider="target">
             <rect key="frame" x="0.0" y="0.0" width="276" height="250"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
             <subviews>
@@ -290,7 +290,7 @@
                         <rect key="frame" x="0.0" y="0.0" width="276" height="88"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
-                            <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="whh-eW-WBM">
+                            <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="whh-eW-WBM">
                                 <rect key="frame" x="14" y="67" width="35" height="15"/>
                                 <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="ROy-KL-lN4">
                                     <font key="font" metaFont="cellTitle"/>
@@ -298,13 +298,13 @@
                                     <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                 </textFieldCell>
                             </textField>
-                            <customView translatesAutoresizingMaskIntoConstraints="NO" id="sIu-Jp-911" customClass="KMImageTitleButton" customModule="PDF_Master" customModuleProvider="target">
+                            <customView translatesAutoresizingMaskIntoConstraints="NO" id="sIu-Jp-911" customClass="KMImageTitleButton" customModule="PDF_Reader_Pro" customModuleProvider="target">
                                 <rect key="frame" x="16" y="37" width="244" height="22"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="22" id="vJn-IG-4gT"/>
                                 </constraints>
                             </customView>
-                            <customView translatesAutoresizingMaskIntoConstraints="NO" id="y6s-OJ-cG8" customClass="KMImageTitleButton" customModule="PDF_Master" customModuleProvider="target">
+                            <customView translatesAutoresizingMaskIntoConstraints="NO" id="y6s-OJ-cG8" customClass="KMImageTitleButton" customModule="PDF_Reader_Pro" customModuleProvider="target">
                                 <rect key="frame" x="16" y="7" width="244" height="22"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="22" id="obd-W8-at7"/>
@@ -367,11 +367,11 @@
             </connections>
             <point key="canvasLocation" x="118" y="543"/>
         </customView>
-        <customView id="rMz-DL-eLf" customClass="KMConvertOCRSettingItemView" customModule="PDF_Master" customModuleProvider="target">
+        <customView id="rMz-DL-eLf" customClass="KMConvertOCRSettingItemView" customModule="PDF_Reader_Pro" customModuleProvider="target">
             <rect key="frame" x="0.0" y="0.0" width="276" height="86"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
             <subviews>
-                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hUX-cE-if5">
+                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hUX-cE-if5">
                     <rect key="frame" x="14" y="71" width="35" height="15"/>
                     <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="tdB-aW-iJn">
                         <font key="font" metaFont="cellTitle"/>
@@ -420,11 +420,11 @@
             </connections>
             <point key="canvasLocation" x="436" y="466"/>
         </customView>
-        <customView id="pQ2-zT-XVA" customClass="KMConvertPageRangeSettingItemView" customModule="PDF_Master" customModuleProvider="target">
+        <customView id="pQ2-zT-XVA" customClass="KMConvertPageRangeSettingItemView" customModule="PDF_Reader_Pro" customModuleProvider="target">
             <rect key="frame" x="0.0" y="0.0" width="280" height="76"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
             <subviews>
-                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="yO0-Oi-VYM">
+                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="yO0-Oi-VYM">
                     <rect key="frame" x="14" y="60" width="37" height="16"/>
                     <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="Z4k-2p-kHi">
                         <font key="font" usesAppearanceFont="YES"/>
@@ -458,7 +458,7 @@
             </connections>
             <point key="canvasLocation" x="438" y="599"/>
         </customView>
-        <customView id="Aiu-IG-eq4" customClass="KMConvertImageSettingView" customModule="PDF_Master" customModuleProvider="target">
+        <customView id="Aiu-IG-eq4" customClass="KMConvertImageSettingView" customModule="PDF_Reader_Pro" customModuleProvider="target">
             <rect key="frame" x="0.0" y="0.0" width="276" height="250"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
             <subviews>
@@ -468,7 +468,7 @@
                         <rect key="frame" x="0.0" y="0.0" width="276" height="80"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
-                            <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Ezu-db-Vdi">
+                            <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Ezu-db-Vdi">
                                 <rect key="frame" x="14" y="65" width="35" height="15"/>
                                 <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="50D-1S-EUR">
                                     <font key="font" metaFont="cellTitle"/>
@@ -506,7 +506,7 @@
                         <rect key="frame" x="0.0" y="0.0" width="276" height="80"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
-                            <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="F2Q-wA-eBY">
+                            <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="F2Q-wA-eBY">
                                 <rect key="frame" x="14" y="64" width="37" height="16"/>
                                 <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="bMK-zp-HOX">
                                     <font key="font" usesAppearanceFont="YES"/>
@@ -569,7 +569,7 @@
             </connections>
             <point key="canvasLocation" x="118" y="839.5"/>
         </customView>
-        <customView id="Gcl-gP-wFo" customClass="KMConvertCSVSettingView" customModule="PDF_Master" customModuleProvider="target">
+        <customView id="Gcl-gP-wFo" customClass="KMConvertCSVSettingView" customModule="PDF_Reader_Pro" customModuleProvider="target">
             <rect key="frame" x="0.0" y="0.0" width="276" height="250"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
             <subviews>
@@ -586,7 +586,7 @@
                                     <font key="font" metaFont="system"/>
                                 </buttonCell>
                             </button>
-                            <comboBox hidden="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="uah-L1-IyT">
+                            <comboBox hidden="YES" focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="uah-L1-IyT">
                                 <rect key="frame" x="31" y="-22" width="215" height="23"/>
                                 <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" completes="NO" numberOfVisibleItems="5" id="X1R-ss-GZO">
                                     <font key="font" metaFont="system"/>
@@ -653,7 +653,7 @@
             </connections>
             <point key="canvasLocation" x="118" y="1154"/>
         </customView>
-        <customView id="xUu-ga-ZZ7" customClass="KMConvertPPTsSettingView" customModule="PDF_Master" customModuleProvider="target">
+        <customView id="xUu-ga-ZZ7" customClass="KMConvertPPTsSettingView" customModule="PDF_Reader_Pro" customModuleProvider="target">
             <rect key="frame" x="0.0" y="0.0" width="276" height="250"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
             <subviews>
@@ -692,7 +692,7 @@
             </connections>
             <point key="canvasLocation" x="118" y="1465"/>
         </customView>
-        <customView id="CNe-Pz-PVB" customClass="KMConvertExcelSettingView" customModule="PDF_Master" customModuleProvider="target">
+        <customView id="CNe-Pz-PVB" customClass="KMConvertExcelSettingView" customModule="PDF_Reader_Pro" customModuleProvider="target">
             <rect key="frame" x="0.0" y="0.0" width="270" height="370"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
             <subviews>
@@ -702,7 +702,7 @@
                         <rect key="frame" x="0.0" y="0.0" width="270" height="200"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
-                            <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="MHF-XE-yf0">
+                            <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="MHF-XE-yf0">
                                 <rect key="frame" x="14" y="184" width="37" height="16"/>
                                 <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="Z4s-Tq-fFY">
                                     <font key="font" usesAppearanceFont="YES"/>

+ 4 - 4
PDF Office/PDF Master/Class/PDFTools/OCRNew/Controller/KMLanguageViewController.xib

@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22155" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
     <dependencies>
         <deployment identifier="macosx"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22155"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
-        <customObject id="-2" userLabel="File's Owner" customClass="KMLanguageViewController" customModule="PDF_Master" customModuleProvider="target">
+        <customObject id="-2" userLabel="File's Owner" customClass="KMLanguageViewController" customModule="PDF_Reader_Pro" customModuleProvider="target">
             <connections>
                 <outlet property="outlineView" destination="8Es-2J-byF" id="drN-nm-ux1"/>
                 <outlet property="tokenField" destination="5gm-kg-o0h" id="CVP-A1-cVJ"/>
@@ -55,7 +55,7 @@
                                         </textFieldCell>
                                         <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
                                         <prototypeCellViews>
-                                            <tableCellView identifier="DataCell" id="C0I-oH-B2j" customClass="KMLanguageTableCellView" customModule="PDF_Master" customModuleProvider="target">
+                                            <tableCellView identifier="DataCell" id="C0I-oH-B2j" customClass="KMLanguageTableCellView" customModule="PDF_Reader_Pro" customModuleProvider="target">
                                                 <rect key="frame" x="20" y="0.0" width="295" height="24"/>
                                                 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                                 <subviews>

+ 3 - 3
PDF Office/PDF Master/Class/PDFTools/OCRNew/Controller/KMOCRPDFWindowController.xib

@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22155" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
         <deployment identifier="macosx"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22155"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
         <capability name="System colors introduced in macOS 10.14" minToolsVersion="10.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
-        <customObject id="-2" userLabel="File's Owner" customClass="KMOCRPDFWindowController" customModule="PDF_Master" customModuleProvider="target">
+        <customObject id="-2" userLabel="File's Owner" customClass="KMOCRPDFWindowController" customModule="PDF_Reader_Pro" customModuleProvider="target">
             <connections>
                 <outlet property="box1" destination="jMC-LE-Zxs" id="nh5-tV-ncG"/>
                 <outlet property="boxLabel1" destination="cZ7-HB-Jv8" id="Itx-SQ-dSU"/>

+ 1 - 1
PDF Office/PDF Master/Class/PDFWindowController/ViewController/KMMainViewController.swift

@@ -465,7 +465,7 @@ import Cocoa
         
         //检测OCR包是否需要更新
 #if VERSION_DMG
-//        KMResourceDownloadManager.manager.checkDocumentAIVersion()
+        KMResourceDownloadManager.manager.checkDocumentAIVersion()
 #endif
         
 //         Open snapshots?

+ 44 - 4
PDF Office/PDF Reader Pro.xcodeproj/project.pbxproj

@@ -90,7 +90,6 @@
 		65C9CAFE2CA16827009794E5 /* libonnxruntime.1.14.1.dylib in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 65C9CAE92CA16232009794E5 /* libonnxruntime.1.14.1.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
 		65C9CB012CA16B36009794E5 /* DocumentAI.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 65C9CB002CA16B36009794E5 /* DocumentAI.bundle */; };
 		65C9CB022CA16B36009794E5 /* DocumentAI.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 65C9CB002CA16B36009794E5 /* DocumentAI.bundle */; };
-		65C9CB032CA16B36009794E5 /* DocumentAI.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 65C9CB002CA16B36009794E5 /* DocumentAI.bundle */; };
 		65C9CB042CA29E67009794E5 /* libpaddle2onnx.1.0.7.dylib in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 65C9CAE62CA16231009794E5 /* libpaddle2onnx.1.0.7.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
 		65D684062C6A250C003A532E /* KMWavyLineAnnotationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65D684052C6A250C003A532E /* KMWavyLineAnnotationController.swift */; };
 		65D684072C6A250C003A532E /* KMWavyLineAnnotationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65D684052C6A250C003A532E /* KMWavyLineAnnotationController.swift */; };
@@ -1649,6 +1648,18 @@
 		AD3718AB2CE43498007095A8 /* KMApplePay.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD3718AA2CE43498007095A8 /* KMApplePay.swift */; };
 		AD3718AC2CE43498007095A8 /* KMApplePay.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD3718AA2CE43498007095A8 /* KMApplePay.swift */; };
 		AD3718AD2CE43498007095A8 /* KMApplePay.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD3718AA2CE43498007095A8 /* KMApplePay.swift */; };
+		AD3718B02CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD3718AE2CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.swift */; };
+		AD3718B12CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD3718AE2CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.swift */; };
+		AD3718B22CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD3718AE2CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.swift */; };
+		AD3718B32CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = AD3718AF2CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.xib */; };
+		AD3718B42CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = AD3718AF2CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.xib */; };
+		AD3718B52CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = AD3718AF2CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.xib */; };
+		AD3718B92CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD3718B72CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.swift */; };
+		AD3718BA2CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD3718B72CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.swift */; };
+		AD3718BB2CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD3718B72CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.swift */; };
+		AD3718BC2CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = AD3718B82CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.xib */; };
+		AD3718BD2CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = AD3718B82CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.xib */; };
+		AD3718BE2CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = AD3718B82CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.xib */; };
 		AD3A3587294C11ED00D72802 /* KMPrintPreviewPresenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD3A3586294C11ED00D72802 /* KMPrintPreviewPresenter.swift */; };
 		AD3A3588294C11ED00D72802 /* KMPrintPreviewPresenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD3A3586294C11ED00D72802 /* KMPrintPreviewPresenter.swift */; };
 		AD3A3589294C11ED00D72802 /* KMPrintPreviewPresenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD3A3586294C11ED00D72802 /* KMPrintPreviewPresenter.swift */; };
@@ -2248,6 +2259,7 @@
 		ADC31FAC2A0E0C3900ED44A2 /* KMEditPropertyAlignmentView.xib in Resources */ = {isa = PBXBuildFile; fileRef = ADC31FAB2A0E0C3900ED44A2 /* KMEditPropertyAlignmentView.xib */; };
 		ADC31FAD2A0E0C3900ED44A2 /* KMEditPropertyAlignmentView.xib in Resources */ = {isa = PBXBuildFile; fileRef = ADC31FAB2A0E0C3900ED44A2 /* KMEditPropertyAlignmentView.xib */; };
 		ADC31FAE2A0E0C3900ED44A2 /* KMEditPropertyAlignmentView.xib in Resources */ = {isa = PBXBuildFile; fileRef = ADC31FAB2A0E0C3900ED44A2 /* KMEditPropertyAlignmentView.xib */; };
+		ADC59B822CE7200B002F819D /* DocumentAI.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 65C9CB002CA16B36009794E5 /* DocumentAI.bundle */; };
 		ADC63E372A49813E00854E02 /* KMSubscribeSuccessWindowController.swift in Sources */ = {isa = PBXBuildFile; fileRef = ADC63E352A49813E00854E02 /* KMSubscribeSuccessWindowController.swift */; };
 		ADC63E382A49813E00854E02 /* KMSubscribeSuccessWindowController.swift in Sources */ = {isa = PBXBuildFile; fileRef = ADC63E352A49813E00854E02 /* KMSubscribeSuccessWindowController.swift */; };
 		ADC63E392A49813E00854E02 /* KMSubscribeSuccessWindowController.swift in Sources */ = {isa = PBXBuildFile; fileRef = ADC63E352A49813E00854E02 /* KMSubscribeSuccessWindowController.swift */; };
@@ -6290,6 +6302,10 @@
 		AD2D74B429F0D39500EDC5E4 /* KMCancellationSuccessView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMCancellationSuccessView.swift; sourceTree = "<group>"; };
 		AD2D74B829F0D3A100EDC5E4 /* KMCancellationSuccessView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = KMCancellationSuccessView.xib; sourceTree = "<group>"; };
 		AD3718AA2CE43498007095A8 /* KMApplePay.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMApplePay.swift; sourceTree = "<group>"; };
+		AD3718AE2CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMBatchOperateOCRFViewController.swift; sourceTree = "<group>"; };
+		AD3718AF2CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = KMBatchOperateOCRFViewController.xib; sourceTree = "<group>"; };
+		AD3718B72CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMBatchOperateCompressSettingViewController.swift; sourceTree = "<group>"; };
+		AD3718B82CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = KMBatchOperateCompressSettingViewController.xib; sourceTree = "<group>"; };
 		AD3A3586294C11ED00D72802 /* KMPrintPreviewPresenter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMPrintPreviewPresenter.swift; sourceTree = "<group>"; };
 		AD3AAD112B0B5B2700DE5FE7 /* KMCompareContentWindowController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMCompareContentWindowController.swift; sourceTree = "<group>"; };
 		AD3AAD122B0B5B2700DE5FE7 /* KMCompareContentWindowController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = KMCompareContentWindowController.xib; sourceTree = "<group>"; };
@@ -9687,6 +9703,17 @@
 			path = ApplePay;
 			sourceTree = "<group>";
 		};
+		AD3718B62CE6F7CD007095A8 /* Compress */ = {
+			isa = PBXGroup;
+			children = (
+				BBE9D0962AF0CECB002E83CE /* KMBatchOperateCompressViewController.swift */,
+				BBE9D09A2AF0CEEA002E83CE /* KMBatchOperateCompressViewController.xib */,
+				AD3718B72CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.swift */,
+				AD3718B82CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.xib */,
+			);
+			path = Compress;
+			sourceTree = "<group>";
+		};
 		AD3A358B294C120B00D72802 /* Presenter */ = {
 			isa = PBXGroup;
 			children = (
@@ -14054,16 +14081,17 @@
 		BBE9D0952AF0CEB6002E83CE /* VC */ = {
 			isa = PBXGroup;
 			children = (
-				BBE9D0962AF0CECB002E83CE /* KMBatchOperateCompressViewController.swift */,
+				AD3718B62CE6F7CD007095A8 /* Compress */,
 				BB65A0812AF8FEA1003A27A0 /* KMBatchOperateRemoveHeaderFooterViewController.xib */,
 				BB65A07F2AF8FE7A003A27A0 /* KMBatchOperateRemoveHeaderFooterViewController.swift */,
-				BBE9D09A2AF0CEEA002E83CE /* KMBatchOperateCompressViewController.xib */,
 				BB6347AD2AF1F0A400F5438E /* KMBatchOperateConvertViewController.swift */,
 				BB6347AF2AF1F0BB00F5438E /* KMBatchOperateConvertViewController.xib */,
 				BBAC26A32AFE134300563A08 /* KMToolbarItemPopViewController.swift */,
 				BBAC26A72AFE138700563A08 /* KMToolbarItemPopViewController.xib */,
 				BB9EA14E2B1ECD0400EAFD9B /* KMBatchOperateImageToPDFViewController.swift */,
 				BB9EA1522B1ECD0F00EAFD9B /* KMBatchOperateImageToPDFViewController.xib */,
+				AD3718AE2CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.swift */,
+				AD3718AF2CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.xib */,
 				BB04FD0B2B206F3600D80F7B /* KMPlanViewController.swift */,
 				BB04FD0F2B206F4000D80F7B /* KMPlanViewController.xib */,
 			);
@@ -15233,6 +15261,7 @@
 				BB49ECE0293EED6100C82CA2 /* KMConvertWordWindowController.xib in Resources */,
 				ADB2D6FD294882B70029D2B3 /* KMTextFieldStepperView.xib in Resources */,
 				BB69C95F299116FD0001A9B1 /* plaid.pdf in Resources */,
+				AD3718B32CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.xib in Resources */,
 				89D2D2FE294C806000BFF5FE /* KMPDFThumbnailItem.xib in Resources */,
 				AD055E282B70B3C10035F824 /* KMBookmarkController.xib in Resources */,
 				BBF62C6C2B033B5B007B7E86 /* KMPDFEditExtractWindow.xib in Resources */,
@@ -15414,6 +15443,7 @@
 				9F8539F92947137500DF644E /* newtab_p.pdf in Resources */,
 				ADE3C1C429A4C13700793B13 /* KMPrintAccessoryController_OC.xib in Resources */,
 				9F080B17298CFDB300FC27DA /* KMTextImageButtonVC.xib in Resources */,
+				AD3718BC2CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.xib in Resources */,
 				ADAFDA512AEB43BF00F084BC /* KMAdvertisement.xcassets in Resources */,
 				BBB789962BE8BF2400F7E09C /* AIInfoInputView.xib in Resources */,
 				ADAFDA702AEB470E00F084BC /* KMHomeHistoryListView.xib in Resources */,
@@ -15802,6 +15832,7 @@
 				BBB376A22B10A7FD009539CC /* a_2b.png in Resources */,
 				899700EC28F3E4D3009AF911 /* MainWindowController.xib in Resources */,
 				BB8F4553295A9FA50037EA22 /* KMCreateHeaderFooterController.xib in Resources */,
+				AD3718B42CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.xib in Resources */,
 				9F8539EC2947131F00DF644E /* KMChromiumTabView.xib in Resources */,
 				BBD1F780296F9BE000343885 /* KMPageEditSettingBaseWindowController.xib in Resources */,
 				BBEC00BB295C2C1600A26C98 /* KMBatesPropertyHomeController.xib in Resources */,
@@ -15983,6 +16014,7 @@
 				BB69C963299116FD0001A9B1 /* horizontal_line.pdf in Resources */,
 				BBFE6E612930809A00142C01 /* KMMergeCollectionPageViewItem.xib in Resources */,
 				BB93C31A2B9EFC9800A926E6 /* AITranslateTipWindowController.xib in Resources */,
+				AD3718BD2CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.xib in Resources */,
 				BB10FAF32AFE23BE00F18D65 /* LineInspector.xib in Resources */,
 				ADD5AE5A2A64DD2600C14249 /* KMPurchaseAlertView.xib in Resources */,
 				BB89723E294B3C840045787C /* KMWatermarkPropertyController.xib in Resources */,
@@ -16152,7 +16184,6 @@
 				9F0CB4842967F64D00007028 /* KMPropertiesPanelReadOnlySubVC.xib in Resources */,
 				BB8810AE2B4F7D7500AFA63E /* KMVerificationViewController.xib in Resources */,
 				9FDD0F9B2952FF4D000C4DAD /* alias-light.json in Resources */,
-				65C9CB032CA16B36009794E5 /* DocumentAI.bundle in Resources */,
 				AD867F9A29D955D200F00440 /* KMBOTAOutlineCellView.xib in Resources */,
 				BB853C972AF8DCC7009C20C1 /* KMBatchOperateRemovePasswordViewController.xib in Resources */,
 				AD3AAD8D2B10349600DE5FE7 /* KMHeaderFooterWindowController.xib in Resources */,
@@ -16319,6 +16350,7 @@
 				BB031B6B2C47BB080099F7AD /* KMUserFbEmailItemView.xib in Resources */,
 				BBB789C22BE8BF2400F7E09C /* AIChatView.xib in Resources */,
 				BB183DDC2B4EBE1B00F99C7E /* KMTrialSuccessController.xib in Resources */,
+				ADC59B822CE7200B002F819D /* DocumentAI.bundle in Resources */,
 				9F56648C2988B16F00020985 /* KMTextfieldVC.xib in Resources */,
 				9FA607E328FD4C9F00B46586 /* KMHomePopViewController.xib in Resources */,
 				F356720A29AF184A00740FF3 /* CPDFListAnnotationNoteWindowController.xib in Resources */,
@@ -16338,6 +16370,7 @@
 				AD3AAD202B0B5B4400DE5FE7 /* KMCompareCoveringWindowController.xib in Resources */,
 				BBFE6E842930EBD400142C01 /* KMCompressWindowController.xib in Resources */,
 				BB5F8A1E29BB15AD00365ADB /* KMEmailSubWindowController.xib in Resources */,
+				AD3718B52CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.xib in Resources */,
 				AD867FB929DFBB3200F00440 /* KMAnnotationOutlineCellView.xib in Resources */,
 				BB8810812B4F7A1F00AFA63E /* KMActivityALertViewController.xib in Resources */,
 				ADE86A982B0226BB00414DFA /* KMRemovePasswordView.xib in Resources */,
@@ -16549,6 +16582,7 @@
 				BBF62C6E2B033B5B007B7E86 /* KMPDFEditExtractWindow.xib in Resources */,
 				9F0CB46C2967E5CB00007028 /* KMPropertiesPanelSubViewController.xib in Resources */,
 				BB1B0AD62B4FC6E900889528 /* KMFunctionGuideSingleController.xib in Resources */,
+				AD3718BE2CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.xib in Resources */,
 				ADDF83552B391A5C00A81A4E /* DSignatureFileListViewController.xib in Resources */,
 				AD85D1B22AF09C79000F4D28 /* KMHomeQuickToolsWindowCollectionViewItem.xib in Resources */,
 				BB52372C29C313CA00663BD7 /* KMAnnotationPropertyBaseController.xib in Resources */,
@@ -17060,6 +17094,7 @@
 				9F0CB46F2967E63100007028 /* KMPropertiesPanelNameSubVC.swift in Sources */,
 				9FD0FA3129CD947000F2AB0D /* KMOpacityPanel.swift in Sources */,
 				9F0201792A1B5C0300C9B673 /* KMAIServerConfig.swift in Sources */,
+				AD3718B92CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.swift in Sources */,
 				BB1969E02B2856A900922736 /* KMSnapshotPDFView.swift in Sources */,
 				BB3D97122B301CF1007094C8 /* KMRedactPDFView.swift in Sources */,
 				9F1FE4F329406E4700E952CA /* FastResizeView.m in Sources */,
@@ -17459,6 +17494,7 @@
 				BBDE52BB2BF3676C000545B2 /* KMPresentTableViewCell.swift in Sources */,
 				BB0FE0372B734DD1001E0F88 /* AIConfigWindowController.swift in Sources */,
 				AD7D5CE42B96B394006562CD /* KMBookmarkOutlineSeparatorCellView.swift in Sources */,
+				AD3718B02CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.swift in Sources */,
 				BB6013902AD3AFF000A76FB2 /* NSPopover+KMExtension.swift in Sources */,
 				BB2EDF79296ECE17003BCF58 /* KMPageEditThumbnailItem.swift in Sources */,
 				899700E828F3E4D3009AF911 /* MainWindowController.swift in Sources */,
@@ -18375,6 +18411,7 @@
 				BB14700F299DC0D100784A6A /* OIDScopes.m in Sources */,
 				BB9EA1502B1ECD0400EAFD9B /* KMBatchOperateImageToPDFViewController.swift in Sources */,
 				9F0CB52E298656D900007028 /* KMDesignToken+BorderWidthRight.swift in Sources */,
+				AD3718BA2CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.swift in Sources */,
 				ADD1B6E52946C00800C3FFF7 /* KMPrintChoosePageSizePosterView.swift in Sources */,
 				BBE01DC22BF60D9200304FA4 /* KMTabStripController.swift in Sources */,
 				9F1FE4BB29406E4700E952CA /* NSImage+CTAdditions.m in Sources */,
@@ -19073,6 +19110,7 @@
 				9FF816DE2AFA5B8E0087EFC5 /* KMAnnotationTableViewController.swift in Sources */,
 				9FF371CB2C69B857005F9CC5 /* CDistanceMeasureInfoWindowController.swift in Sources */,
 				BBFE14D02BFD7FC300176992 /* KMCouponDueWindowController.swift in Sources */,
+				AD3718B12CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.swift in Sources */,
 				AD0FA50329A8E36200EDEB50 /* KMLightMemberAlertView.swift in Sources */,
 				9F0CB53E2986571A00007028 /* KMDesignToken+Typography.swift in Sources */,
 				9FCFEC712AC40F9B00EAD2CB /* CStampSignatureObject.swift in Sources */,
@@ -19270,6 +19308,7 @@
 				BB6B4C0A292F53CE0071CA06 /* KMMergeFileModel.swift in Sources */,
 				BB1B0A9F2B4FB88100889528 /* IAPProductsManager.m in Sources */,
 				BBB7898C2BE8BF2300F7E09C /* AIHeaderView.swift in Sources */,
+				AD3718B22CE5D9A4007095A8 /* KMBatchOperateOCRFViewController.swift in Sources */,
 				9F0CB4B72977BC1000007028 /* KMPropertiesPanelPreviewSubVC.swift in Sources */,
 				BB3A81B72AC2C0F4006FC66C /* NSObject+KMExtension.swift in Sources */,
 				ADFA8F132B60E01C002595A4 /* KMSecureAlertView.swift in Sources */,
@@ -20158,6 +20197,7 @@
 				BB8B173E2907CDD9001C5EA5 /* NibLoadable.swift in Sources */,
 				9FCFEC862AD0EF6700EAD2CB /* KMCustomButtonPopMenuViewController.swift in Sources */,
 				BB7289E22B8838D8004B53B5 /* KMDataManager.swift in Sources */,
+				AD3718BB2CE6F818007095A8 /* KMBatchOperateCompressSettingViewController.swift in Sources */,
 				ADD5AE572A64D31200C14249 /* KMPurchaseAlertView.swift in Sources */,
 				BB4F7E8B2B0C55E70077EC8C /* KMFilterAuthorLabel.swift in Sources */,
 				ADF6B86E2A480C5F0090CB78 /* KMComparativeView.swift in Sources */,