Explorar el Código

【综合】测量补充WhatNew

tangchao hace 6 meses
padre
commit
0374f34489

+ 22 - 0
PDF Office/PDF Master/Class/Appearance/Image.xcassets/Other/KMImageNameWhatNewMeasure.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "filename" : "What's New-Measure-3.pdf",
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "filename" : "What's New-Measure-3 1.pdf",
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
PDF Office/PDF Master/Class/GuideInfo/GuideInfoImages.xcassets/guideMeasure.imageset/What's New-Measure 1.pdf


BIN
PDF Office/PDF Master/Class/Appearance/Image.xcassets/Other/KMImageNameWhatNewMeasure.imageset/What's New-Measure-3.pdf


+ 13 - 1
PDF Office/PDF Master/Class/GuideInfo/Controllers/KMFunctionGuideMultiController.swift

@@ -30,6 +30,7 @@ class KMFunctionGuideMultiController: NSViewController {
     let DigitalSignatureKey = "DigitalSignatureKey"
     let ComparePDFsKey = "ComparePDFsKey"
     let AIInfoKey = "AIInfoKey"
+    let MeasureInfoKey = "MeasureInfoKey"
     
     var namesArr = Array<Any>()
     var currentNameKEY = String()
@@ -47,7 +48,18 @@ class KMFunctionGuideMultiController: NSViewController {
                           "key":AIInfoKey,
                           "infoTitle":"Experience the Power of PDF AI Tools",
                           "imageName":"whatNew_AIGuide",
-                          "description":NSLocalizedString("• AI Summarize with a deep understanding of document", comment: "") + "\n" + NSLocalizedString("• AI Translate your document without leaving a PDF", comment: "") + "\n" + NSLocalizedString("• Check grammar, fix spelling errors to ensure a professional file", comment: "") + "\n" + NSLocalizedString("• Rewrite your PDF to enhance style and polish content", comment: "")]]
+                          "description":NSLocalizedString("• AI Summarize with a deep understanding of document", comment: "") + "\n" + NSLocalizedString("• AI Translate your document without leaving a PDF", comment: "") + "\n" + NSLocalizedString("• Check grammar, fix spelling errors to ensure a professional file", comment: "") + "\n" + NSLocalizedString("• Rewrite your PDF to enhance style and polish content", comment: "")],
+                         ["name":"Measuring Tools",
+                          "key":MeasureInfoKey,
+                          "infoTitle":"Easily Annotate Dimensional Data on PDFs",
+                          "imageName":"KMImageNameWhatNewMeasure",
+                          "description":NSLocalizedString("The measuring tool allows users to measure distance, perimeter, area and angle accurately, making it an ideal solution for the construction industry to annotate dimensional data on PDFs.", comment: "")],
+//                         ["name":"Compare PDFs",
+//                          "key":ComparePDFsKey,
+//                          "infoTitle":"Experience the Power of PDF AI Tools 2222",
+//                          "imageName":"guideMeasure",
+//                          "description":NSLocalizedString("The document compare feature lets you quickly spot differences between two versions of a PDF for a better review process.", comment: "")]
+        ]
         let dict = self.namesArr.first as! NSDictionary
         self.currentNameKEY = dict["key"] as! String
         

+ 1 - 1
PDF Office/PDF Master/Class/GuideInfo/GuideInfoImages.xcassets/guideMeasure.imageset/Contents.json

@@ -11,7 +11,7 @@
           "value" : "dark"
         }
       ],
-      "filename" : "What's New-Measure 1.pdf",
+      "filename" : "What's New-Measure-2.pdf",
       "idiom" : "universal"
     }
   ],

BIN
PDF Office/PDF Master/Class/GuideInfo/GuideInfoImages.xcassets/guideMeasure.imageset/What's New-Measure-2.pdf


+ 4 - 4
PDF Office/PDF Master/Class/GuideInfo/KMGuideInfoWindowController.swift

@@ -413,10 +413,10 @@ class KMGuideInfoWindowController: NSWindowController {
                 self.openFileFunctionView.type =  self.type
                 self.openFileFunctionView.clickHandle = {[weak self] view, actionType in
                     guard let self = self else { return }
-                    guard let callBack = self.finishHandle else {
-                        return
-                    }
-                    callBack(self, .windowDigitalFinish)
+//                    guard let callBack = self.finishHandle else {
+//                        return
+//                    }
+//                    callBack(self, .windowDigitalFinish)
                     if actionType == .getIt {
                         self.closeAction()
                     }