Bladeren bron

Merge branch 'develop_PDFReaderProNew' of git.kdan.cc:Mac_PDF/PDF_Office into develop_PDFReaderProNew

niehaoyu 1 jaar geleden
bovenliggende
commit
72da02b7c0

+ 54 - 0
PDF Office/PDF Master/Class/Common/Category/CPDFKit/CPDFView+KMExtension.swift

@@ -26,5 +26,59 @@ import Foundation
     @objc func allowsNotes() -> Bool {
         return self.document?.allowsNotes() ?? false
     }
+}
+
+@objc extension CPDFListView {
+    @objc func addTextField(subType: KMSelfSignAnnotationFreeTextSubType, string: String) {
+//        NSPoint center = [self convertPoint:[[self window] mouseLocationOutsideOfEventStream] fromView:nil];
+        let point = self.window?.mouseLocationOutsideOfEventStream ?? .zero
+        let fromView: NSView? = nil
+        let center = self.convert(point, from: fromView)
+        self.addTextField(center: center, subType: subType, string: string)
+    }
     
+    @objc func addTextField(center: NSPoint, subType: KMSelfSignAnnotationFreeTextSubType, string: String) {
+        var page: CPDFPage?
+        var bounds: NSRect = .zero
+        var selection = self.currentSelection
+        page = selection?.safeFirstPage()
+        
+        var centerP = center
+//        page = NSMouseInRect(center, [self visibleContentRect], [self isFlipped]) ? [self pageForPoint:center nearest:NO] : nil;
+        if NSMouseInRect(center, self.visibleContentRect(), self.isFlipped) {
+            page = self.page(for: center, nearest: false)
+        } else {
+            page = nil
+        }
+        if (page == nil) {
+            var viewFrame = self.frame
+            centerP = KMCenterPoint(viewFrame)
+            page = self.page(for: centerP, nearest: true)
+            if (page == nil) {
+                page = self.currentPage()
+                centerP = self.convert(KMCenterPoint(page?.bounds(for: self.displayBox) ?? .zero), from: page)
+            }
+        }
+
+        let defaultWidth: CGFloat = 200
+        let defaultHeight: CGFloat = 100
+//        NSSize defaultSize = ([page rotation] % 180 == 0) ? NSMakeSize(defaultWidth, defaultHeight) : NSMakeSize(defaultHeight, defaultWidth);
+        let defaultSize = ((page?.rotation ?? 0) % 180 == 0) ? NSMakeSize(defaultWidth, defaultHeight) : NSMakeSize(defaultHeight, defaultWidth)
+
+        centerP = KMIntegralPoint(self.convert(centerP, to: page))
+        bounds = KMRectFromCenterAndSize(center: centerP, size: defaultSize)
+        bounds = KMConstrainRect(rect: bounds, boundary: page?.bounds(for: self.displayBox) ?? .zero)
+        if (page != nil) {
+//            KMSelfSignAnnotationFreeText *annotation = [[KMSelfSignAnnotationFreeText alloc] initSkimNoteWithBounds:bounds subType:subType string:string];
+            let annotation = KMSelfSignAnnotationFreeText(document: self.document, subType: subType, string: string, bounds: bounds)
+            let date = Date()
+            annotation.setModificationDate(date)
+            annotation.registerUserName()
+            self.addAnnotation(with: annotation, to: page)
+//            [self setActiveAnnotation:annotation];
+            self.updateActiveAnnotations([annotation])
+        } else {
+            NSSound.beep()
+        }
+    }
 }

+ 10 - 1
PDF Office/PDF Master/Class/Home/WindowController/KMHistoryFileDeleteWindowController.swift

@@ -9,12 +9,13 @@ import Cocoa
 
 typealias historyFileDeleteCallback = (_ indexPaths: [URL], _ windowController: KMHistoryFileDeleteWindowController) -> Void
 
-class KMHistoryFileDeleteWindowController: NSWindowController {
+class KMHistoryFileDeleteWindowController: KMBaseWindowController {
 
     @IBOutlet weak var deleteOptionsLabel: NSTextField!
     @IBOutlet weak var noLongerPromptView: NSView!
     @IBOutlet weak var cancelBox: NSBox!
     @IBOutlet weak var deleteBox: NSBox!
+    @IBOutlet weak var iconImageView: NSImageView!
     
     var cancelVC: KMDesignButton!
     var deleteVC: KMDesignButton!
@@ -77,6 +78,14 @@ class KMHistoryFileDeleteWindowController: NSWindowController {
         noLongerPromptVC.stringValue = NSLocalizedString("Don't ask again", comment: "")
         cancelVC.stringValue = NSLocalizedString("Cancel", comment: "")
         deleteVC.stringValue = NSLocalizedString("Delete", comment: "")
+        
+        let mainBundle = Bundle.main
+        if let infoDictionary = mainBundle.infoDictionary {
+            if let iconFileName: String = infoDictionary["CFBundleIconName"] as? String  {
+                let iconImage = NSImage(named: iconFileName)
+                self.iconImageView.image = iconImage
+            }
+        }
     }
     
     // MARK: Private Methods

+ 5 - 7
PDF Office/PDF Master/Class/Home/WindowController/KMHistoryFileDeleteWindowController.xib

@@ -1,16 +1,17 @@
 <?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="KMHistoryFileDeleteWindowController" customModule="PDF_Master" customModuleProvider="target">
+        <customObject id="-2" userLabel="File's Owner" customClass="KMHistoryFileDeleteWindowController" customModule="PDF_Reader_Pro" customModuleProvider="target">
             <connections>
                 <outlet property="cancelBox" destination="84N-oJ-zPU" id="vS5-xZ-TRI"/>
                 <outlet property="deleteBox" destination="ICh-pS-7xc" id="e6j-Jk-V9z"/>
                 <outlet property="deleteOptionsLabel" destination="pp4-jZ-PBy" id="RfJ-0m-IH8"/>
+                <outlet property="iconImageView" destination="fLO-Nh-mth" id="6up-eE-zcv"/>
                 <outlet property="noLongerPromptView" destination="D79-0i-D8F" id="pot-uk-rRP"/>
                 <outlet property="window" destination="F0z-JX-Cv5" id="gIp-Ho-8D9"/>
             </connections>
@@ -84,7 +85,7 @@
                             <constraint firstAttribute="width" constant="64" id="2Bl-A7-mw4"/>
                             <constraint firstAttribute="height" constant="64" id="Xct-nV-zdw"/>
                         </constraints>
-                        <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="KMimageAppIcon" id="ohe-3M-dgU"/>
+                        <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="ohe-3M-dgU"/>
                     </imageView>
                     <customView translatesAutoresizingMaskIntoConstraints="NO" id="D79-0i-D8F">
                         <rect key="frame" x="16" y="17" width="228" height="16"/>
@@ -115,7 +116,4 @@
             <point key="canvasLocation" x="138" y="188.5"/>
         </window>
     </objects>
-    <resources>
-        <image name="KMimageAppIcon" width="1024" height="1024"/>
-    </resources>
 </document>

+ 2 - 0
PDF Office/PDF Master/Class/PDFTools/Compare/View/KMCompareView.swift

@@ -194,6 +194,8 @@ class KMCompareView: KMBaseXibView {
         self.addFileContentView.mouseUpBack = { [unowned self] view in
             self.chooseFileAction(isNew: true)
         }
+        
+        KMCompareFilesConfig.defaultConfig.fileNewAttribute.pdfDocument = nil
     }
     
     override func updateLanguage() {

+ 28 - 37
PDF Office/PDF Master/Class/PDFTools/SelfSign/Window/KMProfileInfoWindowController.swift

@@ -7,7 +7,7 @@
 
 import Cocoa
 
-class KMProfileInfoWindowController: NSWindowController {
+class KMProfileInfoWindowController: KMBaseWindowController {
     var callBack: ((String) -> Void)?
     
     @IBOutlet var titleLabel: NSTextField!
@@ -22,11 +22,6 @@ class KMProfileInfoWindowController: NSWindowController {
     
     private let TitleCellIdentifier = "TitleCell"
     private let NormalCellIdentifier = "Normal"
-
-    deinit {
-        KMPrint("KMProfileInfoWindowController deinit.")
-        DistributedNotificationCenter.default().removeObserver(self)
-    }
     
     override func windowDidLoad() {
         super.windowDidLoad()
@@ -34,7 +29,6 @@ class KMProfileInfoWindowController: NSWindowController {
         self._configuViews()
         self._fetchDisplayKeys()
         self.tableView.reloadData()
-        DistributedNotificationCenter.default().addObserver(self, selector: #selector(_themeChanged), name: NSNotification.Name("AppleInterfaceThemeChangedNotification"), object: nil)
     }
     
     @IBAction func addFileName_Add(_ sender: NSButton) {
@@ -172,6 +166,14 @@ class KMProfileInfoWindowController: NSWindowController {
         self._fetchDisplayKeys()
         self.tableView.reloadData()
     }
+    
+    override func interfaceThemeDidChanged(_ appearance: NSAppearance.Name) {
+        super.interfaceThemeDidChanged(appearance)
+        
+        DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
+            self._updateViewColor()
+        }
+    }
 }
 
 // MARK: - Private Methods
@@ -230,12 +232,6 @@ extension KMProfileInfoWindowController {
         }
     }
     
-    @objc private func _themeChanged(_ notification: NSNotification) {
-        DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
-            self._updateViewColor()
-        }
-    }
-    
     private func _updateViewColor() {
         self.tableView.reloadData()
     }
@@ -356,13 +352,15 @@ extension KMProfileInfoWindowController: NSTableViewDelegate, NSTableViewDataSou
             cellView?.textField?.textColor = KMAppearance.Layout.h0Color()
             if (customIndex > row) {
                 cellView?.detailtextField.tag = row
-//                [self configuTextField:cellView];
                 self._configuTextField(cellView)
                 cellView?.textField?.isEditable = false
                 cellView?.textField?.isSelectable = false
                 if addingString == KMLocalizedString("Date", nil) {
                     cellView?.detailtextField.isEditable = false
                     cellView?.detailtextField.isSelectable = false
+                } else {
+                    cellView?.detailtextField.isEditable = true
+                    cellView?.detailtextField.isSelectable = true
                 }
 
                 cellView?.detailtextField.delegate = self
@@ -396,7 +394,7 @@ extension KMProfileInfoWindowController: NSTableViewDelegate, NSTableViewDataSou
     
     func tableViewSelectionDidChange(_ notification: Notification) {
         if (self.tableView.selectedRow == NSNotFound || self.tableView.selectedRow == -1) {
-            return;
+            return
         }
         let cellView = self.tableView.view(atColumn: 0, row: self.tableView.selectedRow, makeIfNecessary: false) as? KMProfileCellView
         self.addButton.isEnabled = cellView?.detailtextField.stringValue.isEmpty == false
@@ -434,39 +432,39 @@ extension KMProfileInfoWindowController: NSTextFieldDelegate {
         }
         let cellView = self.tableView.view(atColumn: 0, row: currentRow, makeIfNecessary: false) as? KMProfileCellView
         if (currentRow == 1) {
-            KMProfileInfo.shared().fullName = textField.stringValue;
+            KMProfileInfo.shared().fullName = textField.stringValue
         } else if (currentRow == 2) {
-            KMProfileInfo.shared().firstName = textField.stringValue;
+            KMProfileInfo.shared().firstName = textField.stringValue
         } else if (currentRow == 3) {
-            KMProfileInfo.shared().middleName = textField.stringValue;
+            KMProfileInfo.shared().middleName = textField.stringValue
         } else if (currentRow == 4) {
-            KMProfileInfo.shared().lastName = textField.stringValue;
+            KMProfileInfo.shared().lastName = textField.stringValue
         } else if (currentRow == 6) {
-            KMProfileInfo.shared().street1 = textField.stringValue;
+            KMProfileInfo.shared().street1 = textField.stringValue
         } else if (currentRow == 7) {
-            KMProfileInfo.shared().street2 = textField.stringValue;
+            KMProfileInfo.shared().street2 = textField.stringValue
         } else if (currentRow == 8) {
-            KMProfileInfo.shared().city = textField.stringValue;
+            KMProfileInfo.shared().city = textField.stringValue
         } else if (currentRow == 9) {
-            KMProfileInfo.shared().state = textField.stringValue;
+            KMProfileInfo.shared().state = textField.stringValue
         } else if (currentRow == 10) {
-            KMProfileInfo.shared().zip = textField.stringValue;
+            KMProfileInfo.shared().zip = textField.stringValue
         } else if (currentRow == 11) {
-            KMProfileInfo.shared().country = textField.stringValue;
+            KMProfileInfo.shared().country = textField.stringValue
         } else if (currentRow == 13) {
-            KMProfileInfo.shared().email = textField.stringValue;
+            KMProfileInfo.shared().email = textField.stringValue
         } else if (currentRow == 14) {
-            KMProfileInfo.shared().tel = textField.stringValue;
+            KMProfileInfo.shared().tel = textField.stringValue
         } else if (currentRow == 16) {
     //        [KMProfileInfo.shared().date = textField.stringValue;
         } else if (currentRow == 17) {
-            KMProfileInfo.shared().birthDate = textField.stringValue;
+            KMProfileInfo.shared().birthDate = textField.stringValue
         } else if (currentRow >= 19 ) {
             let customIndex = currentRow - 19
             if (cellView != nil) {
                 let dict = KMProfileInfo.shared().customInfoArray[customIndex] as? [String : Any]
-                let originalKey = dict?.keys.first!
-                let originalValue = dict?.values.first as! String
+                let originalKey = dict?.keys.first ?? ""
+                let originalValue = dict?.values.first as? String ?? ""
                 if textField.isEqual(cellView?.textField) {
                     let newDict = [textField.stringValue : originalValue]
                     KMProfileInfo.shared().replaceObjectInCustomInfoArray(at: customIndex, with: newDict)
@@ -486,13 +484,6 @@ extension KMProfileInfoWindowController: NSTextFieldDelegate {
     
     func controlTextDidBeginEditing(_ obj: Notification) {
          let textField = obj.object as? NSTextField
-//        BOOL isDarkMode = NO;
-//        if (@available(macOS 10.14, *)) {
-//            if ([[NSApplication sharedApplication].effectiveAppearance isEqual: [NSAppearance appearanceNamed:NSAppearanceNameDarkAqua]]) {
-//                isDarkMode =YES;
-//            }
-//        }
-
         textField?.textColor = NSColor.labelColor
     }
     

+ 4 - 5
PDF Office/PDF Master/Class/PDFWindowController/PDFListView/CPDFKitExtensions/CPDFAnnotationExtensions/CPDFInkAnnotation+PDFListView.swift

@@ -11,11 +11,10 @@ import Foundation
     convenience init(KMNoteBounds bounds: NSRect) {
         self.init(document: CPDFDocument())
 
-        color = UserDefaults.standard.color(forKey: "SKInkNoteColorKey") ?? .black
-        opacity = 1.0
-        let lineWidth = CGFloat(UserDefaults.standard.float(forKey: "CInkNoteLineWidthKey"))
-        let dashPattern = UserDefaults.standard.array(forKey: "CInkNoteDashPatternKey") as? [NSNumber] ?? []
-        let style = CPDFBorderStyle(rawValue: Int(UserDefaults.standard.float(forKey: "CInkNoteLineStyleKey"))) ?? .solid
+        color = UserDefaults.standard.color(forKey: SKInkNoteColorKey) ?? .black
+        let lineWidth = CGFloat(UserDefaults.standard.float(forKey: SKInkNoteLineWidthKey))
+        let dashPattern = UserDefaults.standard.array(forKey: SKInkNoteDashPatternKey) as? [NSNumber] ?? []
+        let style = CPDFBorderStyle(rawValue: Int(UserDefaults.standard.float(forKey: SKInkNoteLineStyleKey))) ?? .solid
         self.border = CPDFBorder(style: style, lineWidth: lineWidth, dashPattern: dashPattern)
         self.bounds = bounds
     }

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

@@ -4524,9 +4524,9 @@ extension KMMainViewController : KMMainToolbarControllerDelegate {
                     Swift.debugPrint("KMToolbarToolProfileIdentifier ...")
                     let windowC = KMProfileInfoWindowController(windowNibName: "KMProfileInfoWindowController")
                     windowC.callBack = { [weak self] string in
-//                        if (string.length > 0) {
-//                            [blockSelf.pdfView addTextFieldWithSubType:KMSelfSignAnnotationFreeTextSubType_Profile string:string];
-//                        }
+                        if (string.isEmpty == false) {
+                            self?.listView.addTextField(subType: .profile, string: string)
+                        }
                         self?.km_endSheet()
                     }
                     self.km_beginSheet(windowC: windowC)

+ 111 - 156
PDF Office/PDF Reader Pro.xcodeproj/xcuserdata/kdanmobile.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -160,36 +160,6 @@
                   endingLineNumber = "239"
                   offsetFromSymbolStart = "307">
                </Location>
-               <Location
-                  uuid = "C7C5E7EB-B0DF-4235-AF65-1600A9C47C37 - a1dd9d1b8830716a"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "PDF_Reader_Pro.KMHomeHistoryFileTableviewCell.historyFileDeleteAction(Swift.Array&lt;Foundation.URL&gt;) -&gt; ()"
-                  moduleName = "PDF Reader Pro"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/Class/Home/ViewController/KMHomeHistoryFileViewController.swift"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "238"
-                  endingLineNumber = "238"
-                  offsetFromSymbolStart = "824">
-               </Location>
-               <Location
-                  uuid = "C7C5E7EB-B0DF-4235-AF65-1600A9C47C37 - 78b20d06475dc1cc"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "closure #1 @Swift.MainActor () -&gt; () in PDF_Reader_Pro.KMHomeHistoryFileTableviewCell.historyFileDeleteAction(Swift.Array&lt;Foundation.URL&gt;) -&gt; ()"
-                  moduleName = "PDF Reader Pro"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/Class/Home/ViewController/KMHomeHistoryFileViewController.swift"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "238"
-                  endingLineNumber = "238"
-                  offsetFromSymbolStart = "360">
-               </Location>
             </Locations>
          </BreakpointContent>
       </BreakpointProxy>
@@ -207,38 +177,6 @@
             endingLineNumber = "368"
             landmarkName = "viewDidAppear()"
             landmarkType = "7">
-            <Locations>
-               <Location
-                  uuid = "04E07B7E-6311-4531-B13B-1CF089F93B9A - 32d5577e3055e387"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "PDF_Reader_Pro.KMHomeHistoryFileViewController.viewDidAppear() -&gt; ()"
-                  moduleName = "PDF Reader Pro"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/Class/Home/ViewController/KMHomeHistoryFileViewController.swift"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "368"
-                  endingLineNumber = "368"
-                  offsetFromSymbolStart = "464">
-               </Location>
-               <Location
-                  uuid = "04E07B7E-6311-4531-B13B-1CF089F93B9A - 32d5577e3055e387"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "PDF_Reader_Pro.KMHomeHistoryFileViewController.viewDidAppear() -&gt; ()"
-                  moduleName = "PDF Reader Pro"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/Class/Home/ViewController/KMHomeHistoryFileViewController.swift"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "368"
-                  endingLineNumber = "368"
-                  offsetFromSymbolStart = "692">
-               </Location>
-            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy
@@ -255,38 +193,6 @@
             endingLineNumber = "580"
             landmarkName = "deleteAction(_:)"
             landmarkType = "7">
-            <Locations>
-               <Location
-                  uuid = "97F1A1F6-EA0A-4519-A518-F16347EBF2C5 - 44778aff718b7d0"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "PDF_Reader_Pro.KMHomeHistoryFileViewController.deleteAction(__C.NSButton) -&gt; ()"
-                  moduleName = "PDF Reader Pro"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/Class/Home/ViewController/KMHomeHistoryFileViewController.swift"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "580"
-                  endingLineNumber = "580"
-                  offsetFromSymbolStart = "396">
-               </Location>
-               <Location
-                  uuid = "97F1A1F6-EA0A-4519-A518-F16347EBF2C5 - 44778aff718b7d0"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "PDF_Reader_Pro.KMHomeHistoryFileViewController.deleteAction(__C.NSButton) -&gt; ()"
-                  moduleName = "PDF Reader Pro"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/Class/Home/ViewController/KMHomeHistoryFileViewController.swift"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "580"
-                  endingLineNumber = "580"
-                  offsetFromSymbolStart = "632">
-               </Location>
-            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy
@@ -383,53 +289,6 @@
             endingLineNumber = "3907"
             landmarkName = "clickChildTool(type:index:)"
             landmarkType = "7">
-            <Locations>
-               <Location
-                  uuid = "704A9D07-43BC-4F2B-8466-823716A7A94F - 5fcfd7af54748df2"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "closure #7 (__C.NSWindowController, PDF_Reaer_Pro.KMHeaderFooterModel) -&gt; () in closure #1 @Sendable () async -&gt; () in PDF_Reaer_Pro.KMMainViewController.clickChildTool(type: PDF_Reaer_Pro.KMToolbarType, index: Swift.Int) -&gt; ()"
-                  moduleName = "PDF Reaer Pro"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/kdanmobile/work/tangchao/git/PDFOffice/PDF%20Office/PDF%20Master/Class/PDFWindowController/ViewController/KMMainViewController+Action.swift"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "3907"
-                  endingLineNumber = "3907"
-                  offsetFromSymbolStart = "219">
-               </Location>
-               <Location
-                  uuid = "704A9D07-43BC-4F2B-8466-823716A7A94F - 5fcfd7af54748df2"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "closure #7 (__C.NSWindowController, PDF_Reaer_Pro.KMHeaderFooterModel) -&gt; () in closure #1 @Sendable () async -&gt; () in PDF_Reaer_Pro.KMMainViewController.clickChildTool(type: PDF_Reaer_Pro.KMToolbarType, index: Swift.Int) -&gt; ()"
-                  moduleName = "PDF Reaer Pro"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/kdanmobile/work/tangchao/git/PDFOffice/PDF%20Office/PDF%20Master/Class/PDFWindowController/ViewController/KMMainViewController+Action.swift"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "3907"
-                  endingLineNumber = "3907"
-                  offsetFromSymbolStart = "288">
-               </Location>
-               <Location
-                  uuid = "704A9D07-43BC-4F2B-8466-823716A7A94F - 9726d40f0a5ec460"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "(1) suspend resume partial function for closure #1 @Sendable () async -&gt; () in PDF_Reader_Pro.KMMainViewController.clickChildTool(type: PDF_Reader_Pro.KMToolbarType, index: Swift.Int) -&gt; ()"
-                  moduleName = "PDF Reader Pro"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/Class/PDFWindowController/ViewController/KMMainViewController+Action.swift"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "3908"
-                  endingLineNumber = "3908"
-                  offsetFromSymbolStart = "12212">
-               </Location>
-            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy
@@ -467,48 +326,144 @@
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
-            uuid = "35AECE8B-D0A4-493E-A012-0A5DD001B840"
+            uuid = "C549DF0E-AC2F-49D4-B2A1-413F74F8AA22"
             shouldBeEnabled = "Yes"
             ignoreCount = "0"
             continueAfterRunningActions = "No"
-            filePath = "PDF Master/Third Pard Library/iVersion/iVersion.m"
+            filePath = "PDF Master/Class/PDFTools/SelfSign/Window/KMProfileInfoWindowController.swift"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "1345"
-            endingLineNumber = "1345"
-            landmarkName = "-willPresentAlertView:"
+            startingLineNumber = "63"
+            endingLineNumber = "63"
+            landmarkName = "buttonClicked_addNewInfo(_:)"
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
-            uuid = "A8A6C792-1C76-4A5B-ABAE-149AC95D209F"
+            uuid = "2EE1ADB4-7259-4E8C-A65B-9D661FD534A6"
             shouldBeEnabled = "Yes"
             ignoreCount = "0"
             continueAfterRunningActions = "No"
-            filePath = "PDF Master/Third Pard Library/iVersion/iVersion.m"
+            filePath = "PDF Master/Class/PDFTools/SelfSign/Window/KMProfileInfoWindowController.swift"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "983"
-            endingLineNumber = "983"
-            landmarkName = "-checkIfNewVersion"
+            startingLineNumber = "79"
+            endingLineNumber = "79"
+            landmarkName = "buttonClicked_RemoveNewInfo(_:)"
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
-            uuid = "9F973352-0C44-4B94-955E-9D1768B6469D"
+            uuid = "420D08E5-EF45-4277-8829-126645D63C25"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "PDF Master/Class/PDFTools/SelfSign/Window/KMProfileInfoWindowController.swift"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "92"
+            endingLineNumber = "92"
+            landmarkName = "menuItemClicked_Edit(_:)"
+            landmarkType = "7">
+            <Locations>
+               <Location
+                  uuid = "420D08E5-EF45-4277-8829-126645D63C25 - dd4e5e6c912185a9"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reaer_Pro.KMProfileInfoWindowController.menuItemClicked_Edit(Swift.Optional&lt;Swift.AnyObject&gt;) -&gt; ()"
+                  moduleName = "PDF Reaer Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/work/tangchao/git/PDFOffice/PDF%20Office/PDF%20Master/Class/PDFTools/SelfSign/Window/KMProfileInfoWindowController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "92"
+                  endingLineNumber = "92"
+                  offsetFromSymbolStart = "171">
+               </Location>
+               <Location
+                  uuid = "420D08E5-EF45-4277-8829-126645D63C25 - dd4e5e6c912185a9"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reaer_Pro.KMProfileInfoWindowController.menuItemClicked_Edit(Swift.Optional&lt;Swift.AnyObject&gt;) -&gt; ()"
+                  moduleName = "PDF Reaer Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/work/tangchao/git/PDFOffice/PDF%20Office/PDF%20Master/Class/PDFTools/SelfSign/Window/KMProfileInfoWindowController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "92"
+                  endingLineNumber = "92"
+                  offsetFromSymbolStart = "653">
+               </Location>
+            </Locations>
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "9D5FA5F4-0720-42EF-B7B2-1D04CEE324CD"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "PDF Master/Class/PDFTools/SelfSign/Window/KMProfileInfoWindowController.swift"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "107"
+            endingLineNumber = "107"
+            landmarkName = "menuItemClicked_Add(_:)"
+            landmarkType = "7">
+            <Locations>
+               <Location
+                  uuid = "9D5FA5F4-0720-42EF-B7B2-1D04CEE324CD - 9c3d353f930d7421"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reaer_Pro.KMProfileInfoWindowController.menuItemClicked_Add(Swift.Optional&lt;Swift.AnyObject&gt;) -&gt; ()"
+                  moduleName = "PDF Reaer Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/work/tangchao/git/PDFOffice/PDF%20Office/PDF%20Master/Class/PDFTools/SelfSign/Window/KMProfileInfoWindowController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "107"
+                  endingLineNumber = "107"
+                  offsetFromSymbolStart = "81">
+               </Location>
+               <Location
+                  uuid = "9D5FA5F4-0720-42EF-B7B2-1D04CEE324CD - 9c3d353f930d7421"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reaer_Pro.KMProfileInfoWindowController.menuItemClicked_Add(Swift.Optional&lt;Swift.AnyObject&gt;) -&gt; ()"
+                  moduleName = "PDF Reaer Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/work/tangchao/git/PDFOffice/PDF%20Office/PDF%20Master/Class/PDFTools/SelfSign/Window/KMProfileInfoWindowController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "107"
+                  endingLineNumber = "107"
+                  offsetFromSymbolStart = "523">
+               </Location>
+            </Locations>
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "F8ED6208-846A-4FF3-9BAC-C82C0A0BB7B2"
             shouldBeEnabled = "Yes"
             ignoreCount = "0"
             continueAfterRunningActions = "No"
-            filePath = "PDF Master/Third Pard Library/iVersion/iVersion.m"
+            filePath = "PDF Master/Class/PDFTools/SelfSign/Window/KMProfileInfoWindowController.swift"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "1288"
-            endingLineNumber = "1288"
-            landmarkName = "-resizeAlertView:"
+            startingLineNumber = "114"
+            endingLineNumber = "114"
+            landmarkName = "menuItemClicked_Delete(_:)"
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>