Просмотр исходного кода

【UI替换】编辑工具 - 屏蔽功能

lizhe 1 год назад
Родитель
Сommit
7a3ecb2168

+ 1 - 1
PDF Office/PDF Master.xcodeproj/xcuserdata/lizhe.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -14251,7 +14251,7 @@
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "278"
             endingLineNumber = "278"
-            landmarkName = "cancelButtonAction(_:)"
+            landmarkName = "tableView(_:acceptDrop:row:dropOperation:)"
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>

+ 1 - 1
PDF Office/PDF Master/Class/PDFTools/AddHeaderFooter/New/KMHeaderFooterWindowController.swift

@@ -28,7 +28,7 @@ class KMHeaderFooterWindowController: KMBaseWindowController {
         }
         
         headerFooterView.operateCallBack = { [unowned self] model in
-            operateCallBack?(self, model)
+//            operateCallBack?(self, model)
         }
     }
 }

+ 1 - 1
PDF Office/PDF Master/Class/PDFTools/AddHeaderFooter/New/View/KMHeaderFooterView.swift

@@ -1099,7 +1099,7 @@ extension KMHeaderFooterView {
     }
 
     @IBAction func apply(_ sender: Any) {
-        
+        return
         let needSave = saveToTemplateButton.state == .on
         
         var pages = [String]()

+ 2 - 2
PDF Office/PDF Master/Class/PDFTools/AddPassword/New/KMSecurityWindowController.swift

@@ -24,11 +24,11 @@ class KMSecurityWindowController: KMBaseWindowController {
         }
         
         securityView.batchAction = { [unowned self] view, files in
-            self.batchAction?(self, files)
+//            self.batchAction?(self, files)
         }
         
         securityView.doneAction = { [unowned self] view, model, files in
-            self.setPassword(model: model, files: files)
+//            self.setPassword(model: model, files: files)
         }
     }
 }

+ 1 - 0
PDF Office/PDF Master/Class/PDFTools/Background/New/View/KMAddBackgroundView.swift

@@ -809,6 +809,7 @@ extension KMAddBackgroundView {
     }
 
     @IBAction func buttonClicked_Done(_ sender: Any) {
+        return
         guard let pdfDocument = pdfDocument else { return }
         if background.type == .color {
             background.imagePath = ""

+ 1 - 1
PDF Office/PDF Master/Class/PDFTools/Compare/KMCompareWindowController.swift

@@ -46,7 +46,7 @@ class KMCompareWindowController: KMBaseWindowController {
         }
         
         compareView.doneAction = { [unowned self] view, config in
-            self.compareAction(config: config)
+//            self.compareAction(config: config)
         }
     }
     

+ 1 - 1
PDF Office/PDF Master/Class/PDFTools/Compare/ViewController/ContentComplete/KMCompareContentWindowController.swift

@@ -43,7 +43,7 @@ class KMCompareContentWindowController: NSWindowController {
         }
         
         contentView.saveHandle = { view in
-            self.saveHandle?(self)
+//            self.saveHandle?(self)
         }
     }
     

+ 2 - 2
PDF Office/PDF Master/Class/PDFTools/Compress/Controller/KMCompressWIndowControllerNew.swift

@@ -56,11 +56,11 @@ class KMCompressWIndowControllerNew: NSWindowController {
             print("Batch 按钮点击")
             guard let callBack = batchAction else { return }
             
-            callBack(self, [documentURL])
+//            callBack(self, [documentURL])
         }
         
         self.compressView.compressAction = { [unowned self] view, value in
-            self.compressButtonAction(value: value)
+//            self.compressButtonAction(value: value)
         }
     }
     

+ 1 - 1
PDF Office/PDF Master/Class/PDFTools/Merge/MergeNew/KMMergeWindowController.swift

@@ -64,7 +64,7 @@ class KMMergeWindowController: NSWindowController {
         }
         
         mergeView.mergeAction = { [unowned self] view, files, size in
-            self.mergeFiles(files: files, size: size)
+//            self.mergeFiles(files: files, size: size)
         }
         
         mergeView.cancelAction = { [unowned self] view in

+ 1 - 1
PDF Office/PDF Master/Class/PDFTools/Watermark/New/KMWatermarkWindowController.swift

@@ -31,7 +31,7 @@ class KMWatermarkWindowController: KMBaseWindowController {
         }
         
         watermarkView.operateCallBack = { [unowned self] watermark, countType in
-            operateCallBack?(self, watermark, countType)
+//            operateCallBack?(self, watermark, countType)
         }
         watermarkView.reloadData()
     }

+ 2 - 0
PDF Office/PDF Master/Class/PDFTools/Watermark/New/View/KMWatermarkView.swift

@@ -716,6 +716,8 @@ extension KMWatermarkView {
     }
     
     @IBAction func buttonClicked_Done(_ sender: Any) {
+        return;
+        
         if checkPageRangeValidate(pageRangeComboBox.stringValue) {
             self.watermark.pagesString = pageRangeComboBox.stringValue
             updatePDFView()