فهرست منبع

【订阅】比较表高保真调整

lizhe 1 سال پیش
والد
کامیت
e3c5141f98

+ 4 - 3
PDF Office/PDF Master/Class/Home/ViewController/KMAILanguagePopVC.xib

@@ -1,7 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
+        <deployment identifier="macosx"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21701"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
@@ -97,7 +98,7 @@
                         <constraint firstAttribute="height" constant="441" id="rdA-eT-dCB"/>
                     </constraints>
                     <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="INY-9b-67r">
-                        <rect key="frame" x="1" y="119" width="223" height="15"/>
+                        <rect key="frame" x="1" y="425" width="205" height="15"/>
                         <autoresizingMask key="autoresizingMask"/>
                     </scroller>
                     <scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="bV5-KW-cD2">

+ 2 - 1
PDF Office/PDF Master/Class/Home/ViewController/KMHomePopViewController.xib

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

+ 21 - 0
PDF Office/PDF Master/Class/KMLightMember/Controller/ComparativeTable/Source/KMCompatative.xcassets/icon_info.imageset/Contents.json

@@ -0,0 +1,21 @@
+{
+  "images" : [
+    {
+      "filename" : "info.pdf",
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 131 - 0
PDF Office/PDF Master/Class/KMLightMember/Controller/ComparativeTable/Source/KMCompatative.xcassets/icon_info.imageset/info.pdf

@@ -0,0 +1,131 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+q
+1.000000 0.000000 -0.000000 1.000000 1.000000 1.000000 cm
+1.000000 1.000000 1.000000 scn
+14.000000 7.000000 m
+14.000000 3.134007 10.865993 0.000000 7.000000 0.000000 c
+3.134007 0.000000 0.000000 3.134007 0.000000 7.000000 c
+0.000000 10.865993 3.134007 14.000000 7.000000 14.000000 c
+10.865993 14.000000 14.000000 10.865993 14.000000 7.000000 c
+h
+f
+n
+Q
+15.000000 8.000000 m
+15.000000 4.134007 11.865993 1.000000 8.000000 1.000000 c
+4.134007 1.000000 1.000000 4.134007 1.000000 8.000000 c
+1.000000 11.865993 4.134007 15.000000 8.000000 15.000000 c
+11.865993 15.000000 15.000000 11.865993 15.000000 8.000000 c
+h
+W*
+n
+q
+1.000000 0.000000 -0.000000 1.000000 1.000000 1.000000 cm
+0.807843 0.815686 0.831373 scn
+13.000000 7.000000 m
+13.000000 3.686292 10.313708 1.000000 7.000000 1.000000 c
+7.000000 -1.000000 l
+11.418278 -1.000000 15.000000 2.581722 15.000000 7.000000 c
+13.000000 7.000000 l
+h
+7.000000 1.000000 m
+3.686291 1.000000 1.000000 3.686292 1.000000 7.000000 c
+-1.000000 7.000000 l
+-1.000000 2.581722 2.581722 -1.000000 7.000000 -1.000000 c
+7.000000 1.000000 l
+h
+1.000000 7.000000 m
+1.000000 10.313708 3.686291 13.000000 7.000000 13.000000 c
+7.000000 15.000000 l
+2.581722 15.000000 -1.000000 11.418278 -1.000000 7.000000 c
+1.000000 7.000000 l
+h
+7.000000 13.000000 m
+10.313708 13.000000 13.000000 10.313708 13.000000 7.000000 c
+15.000000 7.000000 l
+15.000000 11.418278 11.418278 15.000000 7.000000 15.000000 c
+7.000000 13.000000 l
+h
+f
+n
+Q
+Q
+q
+1.000000 0.000000 -0.000000 -1.000000 7.100098 12.000000 cm
+0.580392 0.596078 0.611765 scn
+0.370000 2.669955 m
+1.400000 2.669955 l
+1.660000 6.089956 l
+1.710000 7.579956 l
+0.060000 7.579956 l
+0.110000 6.089956 l
+0.370000 2.669955 l
+h
+0.890000 -0.000045 m
+1.390000 -0.000045 1.770000 0.369956 1.770000 0.889956 c
+1.770000 1.409956 1.390000 1.769956 0.890000 1.769956 c
+0.380000 1.769956 0.000000 1.409956 0.000000 0.889956 c
+0.000000 0.369956 0.370000 -0.000045 0.890000 -0.000045 c
+h
+f
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  1966
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 16.000000 16.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000002056 00000 n
+0000002079 00000 n
+0000002252 00000 n
+0000002326 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+2385
+%%EOF

+ 108 - 29
PDF Office/PDF Master/Class/KMLightMember/Controller/ComparativeTable/View/KMComparativeView/KMComparativeView.swift

@@ -18,10 +18,14 @@ class KMComparativeView: KMBaseXibView {
     @IBOutlet weak var collectionView: NSCollectionView!
     @IBOutlet weak var closeButton: NSButton!
     @IBOutlet weak var closeBox: KMBox!
-    @IBOutlet var textView: NSTextView!
+//    @IBOutlet var textView: NSTextView!
     @IBOutlet weak var imageView: NSImageView!
     @IBOutlet weak var restoreButton: NSButton!
     @IBOutlet weak var titleLabel: NSTextField!
+    @IBOutlet weak var infoButton: NSButton!
+    @IBOutlet weak var privacyPolicyButton: NSButton!
+    @IBOutlet weak var termsServiceButton: NSButton!
+    @IBOutlet weak var lineView: NSView!
     
     
     var closeAction: KMComparativeViewCloseAction?
@@ -66,6 +70,8 @@ class KMComparativeView: KMBaseXibView {
         ]
     ]
     
+    let popover = NSPopover()
+    
     override func setup() {
         super.setup()
         
@@ -90,10 +96,10 @@ class KMComparativeView: KMBaseXibView {
             }
         }
         
-        self.textView.delegate = self
-        self.textView.isEditable = false
-        self.textView.frame = (self.textView.enclosingScrollView?.contentView.bounds)!
-        self.textView.autoresizingMask = [.width, .height]
+//        self.textView.delegate = self
+//        self.textView.isEditable = false
+//        self.textView.frame = (self.textView.enclosingScrollView?.contentView.bounds)!
+//        self.textView.autoresizingMask = [.width, .height]
         
         self.imageView.backgroundColor(NSColor(hex: "#FFFFFF"))
         
@@ -103,6 +109,14 @@ class KMComparativeView: KMBaseXibView {
         self.restoreButton.contentTintColor = NSColor(hex: "#1770F4")
         self.restoreButton.font = NSFont.SFProTextRegular(16)
         
+        self.privacyPolicyButton.contentTintColor = NSColor(hex: "#1770F4")
+        self.privacyPolicyButton.font = NSFont.SFProTextRegular(12)
+        
+        self.lineView.backgroundColor(NSColor(hex: "#000000").withAlphaComponent(0.1))
+        
+        self.termsServiceButton.contentTintColor = NSColor(hex: "#1770F4")
+        self.termsServiceButton.font = NSFont.SFProTextRegular(12)
+        
         self.titleLabel.textColor = NSColor(hex: "#252629")
         self.titleLabel.font = NSFont.SFProTextSemibold(24)
     }
@@ -112,30 +126,30 @@ class KMComparativeView: KMBaseXibView {
         self.restoreButton.title = NSLocalizedString("Restore", comment: "")
         self.titleLabel.stringValue = NSLocalizedString("Upgrade to Use All Features", comment: "")
         
-        let string = NSLocalizedString("""
-Payment will be charged to your Apple ID account at the confirmation of purchase.
-Subscription automatically renews unless it is canceled at least 24 hours before
-the end of the current period. Your account will be charged for renewal within 24
-hours prior to the end of the current period. You can manage and cancel your
-subscriptions by going to your account settings on the App Store after purchase.
-""", comment: "")
-        let attributedString = NSMutableAttributedString.init(string: string)
-        let paragraphStyle = NSMutableParagraphStyle()
-        paragraphStyle.alignment = .left;
-        paragraphStyle.lineHeightMultiple = 1.37
-        attributedString.addAttributes([NSAttributedString.Key.font : NSFont.SFProTextRegular(11.0),
-                                        NSAttributedString.Key.foregroundColor : NSColor(hex: "#94989C"),
-                                        NSAttributedString.Key.paragraphStyle : paragraphStyle],
-                                    range: NSRange(location: 0, length: string.count))
-        
-//        let range = string.range(of: NSLocalizedString("Subscription", comment: ""))
-//        attributedString.setAttributes([NSAttributedString.Key.font : NSFont.SFProTextRegular(12.0),
-//                                        NSAttributedString.Key.foregroundColor : NSColor(hex: "#1770F4"),
-//                                        NSAttributedString.Key.underlineColor : NSColor.clear,
-//                                        NSAttributedString.Key.link : "register://"],
-//                                       range: string.nsRange(from: range!)!)
-        
-        self.textView.textStorage?.setAttributedString(attributedString)
+//        let string = NSLocalizedString("""
+//Payment will be charged to your Apple ID account at the confirmation of purchase.
+//Subscription automatically renews unless it is canceled at least 24 hours before
+//the end of the current period. Your account will be charged for renewal within 24
+//hours prior to the end of the current period. You can manage and cancel your
+//subscriptions by going to your account settings on the App Store after purchase.
+//""", comment: "")
+//        let attributedString = NSMutableAttributedString.init(string: string)
+//        let paragraphStyle = NSMutableParagraphStyle()
+//        paragraphStyle.alignment = .left;
+//        paragraphStyle.lineHeightMultiple = 1.37
+//        attributedString.addAttributes([NSAttributedString.Key.font : NSFont.SFProTextRegular(11.0),
+//                                        NSAttributedString.Key.foregroundColor : NSColor(hex: "#94989C"),
+//                                        NSAttributedString.Key.paragraphStyle : paragraphStyle],
+//                                    range: NSRange(location: 0, length: string.count))
+//
+////        let range = string.range(of: NSLocalizedString("Subscription", comment: ""))
+////        attributedString.setAttributes([NSAttributedString.Key.font : NSFont.SFProTextRegular(12.0),
+////                                        NSAttributedString.Key.foregroundColor : NSColor(hex: "#1770F4"),
+////                                        NSAttributedString.Key.underlineColor : NSColor.clear,
+////                                        NSAttributedString.Key.link : "register://"],
+////                                       range: string.nsRange(from: range!)!)
+//
+//        self.textView.textStorage?.setAttributedString(attributedString)
     }
     
     override func reloadData() {
@@ -145,6 +159,71 @@ subscriptions by going to your account settings on the App Store after purchase.
             self?.collectionView.reloadData()
         }
     }
+    
+    @IBAction func infoButtonAction(_ sender: Any) {
+//        let contentViewController = NSViewController()
+//        contentViewController.view = NSView(frame: NSRect(x: 0, y: 0, width: 200, height: 100))
+//        contentViewController.view.wantsLayer = true
+//        contentViewController.view.layer?.backgroundColor = NSColor(hex:"#36383B").cgColor
+//        contentViewController.title =
+//
+//        let popover = NSPopover()
+//        popover.contentViewController = contentViewController
+//        popover.behavior = .transient
+//        popover.setValue(true, forKey: "shouldHideAnchor")
+//        popover.show(relativeTo: infoButton.bounds, of: infoButton, preferredEdge: .maxX)
+        self.showPopover(sender)
+    }
+    
+    @IBAction func privacyPolicyButtonAction(_ sender: Any) {
+        NSWorkspace.shared.open(URL(string: "https://www.pdfreaderpro.com/privacy-policy")!)
+    }
+    
+    @IBAction func termsServiceButtonAction(_ sender: Any) {
+        NSWorkspace.shared.open(URL(string: "https://www.pdfreaderpro.com/terms_of_service")!)
+    }
+    
+    func setupPopover() {
+        let string: NSString = NSLocalizedString("""
+            Payment will be charged to your Apple ID account at the confirmation of purchase.
+            Subscription automatically renews unless it is canceled at least 24 hours before
+            the end of the current period. Your account will be charged for renewal within 24
+            hours prior to the end of the current period. You can manage and cancel your
+            subscriptions by going to your account settings on the App Store after purchase.
+            """, comment: "") as NSString
+        
+        let paragraphStyle = NSMutableParagraphStyle()
+        paragraphStyle.lineHeightMultiple = 1.4
+        paragraphStyle.alignment = .left
+        let attributes = [NSAttributedString.Key.font : NSFont.SFProTextRegular(12), NSAttributedString.Key.paragraphStyle : paragraphStyle]
+        let size: NSSize = string.boundingRect(with: NSSize(width: 420, height: 400), options: NSString.DrawingOptions(rawValue: 3), attributes: attributes).size
+        
+        
+        popover.behavior = .transient
+        popover.setValue(true, forKey: "shouldHideAnchor")
+        popover.contentViewController = NSViewController()
+        popover.contentViewController?.view = NSView(frame: NSRect(x: 0, y: 0, width: size.width, height: size.height))
+        popover.contentViewController?.view.wantsLayer = true
+        popover.contentViewController?.view.layer?.backgroundColor = NSColor(hex:"#36383B").cgColor
+        
+        let textField = NSTextField(frame: NSRect(x: 16, y: 8, width: size.width - 32, height: size.height - 16))
+        textField.attributedStringValue = NSMutableAttributedString(string: NSLocalizedString(string as String, comment: ""), attributes: attributes)
+        textField.isEditable = false
+        textField.isSelectable = true
+        textField.textColor = NSColor(hex: "#FFFFFF")
+        
+        popover.contentViewController?.view.addSubview(textField)
+    }
+    
+    @objc func showPopover(_ sender: Any?) {
+        if popover.isShown {
+            popover.performClose(sender)
+        } else {
+            self.setupPopover()
+            let button = sender as? NSButton
+            popover.show(relativeTo: button?.bounds ?? NSZeroRect, of: button ?? NSView(), preferredEdge: NSRectEdge.maxX)
+        }
+    }
 }
 
 extension KMComparativeView: NSCollectionViewDataSource {

+ 58 - 38
PDF Office/PDF Master/Class/KMLightMember/Controller/ComparativeTable/View/KMComparativeView/KMComparativeView.xib

@@ -13,8 +13,11 @@
                 <outlet property="collectionContentView" destination="yhM-ic-Qb1" id="jLH-k3-At6"/>
                 <outlet property="collectionView" destination="tXY-fl-8XY" id="YW7-b3-uXQ"/>
                 <outlet property="imageView" destination="Rwo-sa-TEc" id="6uM-hc-EtN"/>
+                <outlet property="infoButton" destination="t36-hD-ZhM" id="DwB-cP-2Yj"/>
+                <outlet property="lineView" destination="WwB-fr-JGi" id="Xfb-VP-YWA"/>
+                <outlet property="privacyPolicyButton" destination="hY1-Tk-GCi" id="cFV-Cm-cEz"/>
                 <outlet property="restoreButton" destination="BFl-PZ-fp3" id="hG2-in-77d"/>
-                <outlet property="textView" destination="63A-Ab-bi6" id="uOM-WN-xPL"/>
+                <outlet property="termsServiceButton" destination="rP2-sO-AA6" id="wT7-Li-jS9"/>
                 <outlet property="titleLabel" destination="MnS-Io-H7L" id="S60-8o-pk7"/>
                 <outlet property="topView" destination="fSi-Nh-UBK" id="Cui-Cv-WgW"/>
             </connections>
@@ -73,44 +76,44 @@
                     <rect key="frame" x="0.0" y="0.0" width="807" height="631"/>
                     <subviews>
                         <customView translatesAutoresizingMaskIntoConstraints="NO" id="cMm-TO-WQD">
-                            <rect key="frame" x="40" y="20" width="727" height="40"/>
+                            <rect key="frame" x="40" y="20" width="727" height="20"/>
                             <subviews>
-                                <scrollView borderType="none" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" hasVerticalScroller="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QOf-nA-UgU">
-                                    <rect key="frame" x="0.0" y="0.0" width="727" height="40"/>
-                                    <clipView key="contentView" drawsBackground="NO" id="wPA-OF-BeS">
-                                        <rect key="frame" x="0.0" y="0.0" width="727" height="40"/>
-                                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                                        <subviews>
-                                            <textView wantsLayer="YES" editable="NO" drawsBackground="NO" importsGraphics="NO" richText="NO" verticallyResizable="YES" spellingCorrection="YES" smartInsertDelete="YES" id="63A-Ab-bi6">
-                                                <rect key="frame" x="0.0" y="0.0" width="727" height="40"/>
-                                                <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                                                <color key="backgroundColor" red="1" green="0.99843658089999998" blue="0.99619259260000004" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
-                                                <size key="minSize" width="727" height="40"/>
-                                                <size key="maxSize" width="807" height="10000000"/>
-                                                <color key="insertionPointColor" name="textColor" catalog="System" colorSpace="catalog"/>
-                                            </textView>
-                                        </subviews>
-                                        <color key="backgroundColor" red="1" green="0.99843658089999998" blue="0.99619259260000004" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
-                                    </clipView>
+                                <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rP2-sO-AA6">
+                                    <rect key="frame" x="384" y="2" width="106" height="16"/>
+                                    <buttonCell key="cell" type="square" title="Terms of Service" bezelStyle="shadowlessSquare" alignment="center" imageScaling="proportionallyDown" inset="2" id="ply-Hb-Jcv">
+                                        <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                                        <font key="font" metaFont="system"/>
+                                    </buttonCell>
+                                    <connections>
+                                        <action selector="termsServiceButtonAction:" target="-2" id="Yps-Fj-s1b"/>
+                                    </connections>
+                                </button>
+                                <customView translatesAutoresizingMaskIntoConstraints="NO" id="WwB-fr-JGi">
+                                    <rect key="frame" x="363" y="2" width="1" height="16"/>
                                     <constraints>
-                                        <constraint firstAttribute="height" constant="40" id="7zU-tG-2nS"/>
+                                        <constraint firstAttribute="height" constant="16" id="NaH-2F-rQ9"/>
+                                        <constraint firstAttribute="width" constant="1" id="ikC-DO-ZFL"/>
                                     </constraints>
-                                    <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="5Ae-I9-hHc">
-                                        <rect key="frame" x="-100" y="-100" width="225" height="15"/>
-                                        <autoresizingMask key="autoresizingMask"/>
-                                    </scroller>
-                                    <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="PcH-xT-FFj">
-                                        <rect key="frame" x="-100" y="-100" width="15" height="24"/>
-                                        <autoresizingMask key="autoresizingMask"/>
-                                    </scroller>
-                                </scrollView>
+                                </customView>
+                                <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hY1-Tk-GCi">
+                                    <rect key="frame" x="255" y="2" width="88" height="16"/>
+                                    <buttonCell key="cell" type="square" title="Privacy Policy" bezelStyle="shadowlessSquare" alignment="center" imageScaling="proportionallyDown" inset="2" id="Z32-Nt-dbF">
+                                        <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                                        <font key="font" metaFont="system"/>
+                                    </buttonCell>
+                                    <connections>
+                                        <action selector="privacyPolicyButtonAction:" target="-2" id="m6t-Bc-zCD"/>
+                                    </connections>
+                                </button>
                             </subviews>
                             <constraints>
-                                <constraint firstItem="QOf-nA-UgU" firstAttribute="top" secondItem="cMm-TO-WQD" secondAttribute="top" id="InD-Pe-erG"/>
-                                <constraint firstAttribute="trailing" secondItem="QOf-nA-UgU" secondAttribute="trailing" id="VfU-B3-6nD"/>
-                                <constraint firstItem="QOf-nA-UgU" firstAttribute="leading" secondItem="cMm-TO-WQD" secondAttribute="leading" id="avP-MJ-35A"/>
-                                <constraint firstAttribute="bottom" secondItem="QOf-nA-UgU" secondAttribute="bottom" id="jWW-pd-WtN"/>
-                                <constraint firstAttribute="height" constant="40" id="t0M-RP-8Q7"/>
+                                <constraint firstItem="hY1-Tk-GCi" firstAttribute="centerY" secondItem="cMm-TO-WQD" secondAttribute="centerY" id="GvB-xo-Yz2"/>
+                                <constraint firstItem="rP2-sO-AA6" firstAttribute="leading" secondItem="WwB-fr-JGi" secondAttribute="trailing" constant="20" id="ScB-mG-orL"/>
+                                <constraint firstItem="WwB-fr-JGi" firstAttribute="leading" secondItem="hY1-Tk-GCi" secondAttribute="trailing" constant="20" id="TuP-nN-pZr"/>
+                                <constraint firstItem="rP2-sO-AA6" firstAttribute="centerY" secondItem="cMm-TO-WQD" secondAttribute="centerY" id="XLD-a4-Icg"/>
+                                <constraint firstItem="WwB-fr-JGi" firstAttribute="centerX" secondItem="cMm-TO-WQD" secondAttribute="centerX" id="nxh-og-xDu"/>
+                                <constraint firstAttribute="height" constant="20" id="t0M-RP-8Q7"/>
+                                <constraint firstItem="WwB-fr-JGi" firstAttribute="centerY" secondItem="cMm-TO-WQD" secondAttribute="centerY" id="uzh-xR-FTa"/>
                             </constraints>
                         </customView>
                         <customView translatesAutoresizingMaskIntoConstraints="NO" id="nXE-h3-HLH">
@@ -142,28 +145,44 @@
                                         <action selector="restoreButtonAction:" target="-2" id="Bzc-zn-scx"/>
                                     </connections>
                                 </button>
+                                <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="t36-hD-ZhM">
+                                    <rect key="frame" x="204" y="8" width="16" height="16"/>
+                                    <constraints>
+                                        <constraint firstAttribute="height" constant="16" id="ANF-bC-Abf"/>
+                                        <constraint firstAttribute="width" constant="16" id="YSy-2J-4ZD"/>
+                                    </constraints>
+                                    <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="icon_info" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="bFX-Ce-vIG">
+                                        <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                                        <font key="font" metaFont="system"/>
+                                    </buttonCell>
+                                    <connections>
+                                        <action selector="infoButtonAction:" target="-2" id="XeA-K0-PqQ"/>
+                                    </connections>
+                                </button>
                             </subviews>
                             <constraints>
                                 <constraint firstAttribute="height" constant="32" id="2L4-Ai-nKn"/>
+                                <constraint firstItem="t36-hD-ZhM" firstAttribute="centerY" secondItem="nXE-h3-HLH" secondAttribute="centerY" id="AzW-3Z-umn"/>
                                 <constraint firstItem="MnS-Io-H7L" firstAttribute="centerY" secondItem="nXE-h3-HLH" secondAttribute="centerY" id="MND-pN-vv2"/>
                                 <constraint firstItem="MnS-Io-H7L" firstAttribute="leading" secondItem="hbn-Vp-scG" secondAttribute="trailing" constant="8" id="Mb7-Yn-VJ2"/>
                                 <constraint firstAttribute="trailing" secondItem="BFl-PZ-fp3" secondAttribute="trailing" constant="40" id="jYO-IV-l6b"/>
                                 <constraint firstItem="hbn-Vp-scG" firstAttribute="leading" secondItem="nXE-h3-HLH" secondAttribute="leading" constant="40" id="jZs-7I-kLE"/>
                                 <constraint firstItem="hbn-Vp-scG" firstAttribute="centerY" secondItem="nXE-h3-HLH" secondAttribute="centerY" id="kIR-8I-3T2"/>
                                 <constraint firstItem="BFl-PZ-fp3" firstAttribute="centerY" secondItem="nXE-h3-HLH" secondAttribute="centerY" id="van-IL-ofw"/>
+                                <constraint firstItem="t36-hD-ZhM" firstAttribute="leading" secondItem="MnS-Io-H7L" secondAttribute="trailing" constant="8" id="vjX-vN-gb2"/>
                             </constraints>
                         </customView>
                         <customView translatesAutoresizingMaskIntoConstraints="NO" id="tuB-UO-PhU">
-                            <rect key="frame" x="0.0" y="76" width="807" height="485"/>
+                            <rect key="frame" x="0.0" y="56" width="807" height="505"/>
                             <subviews>
                                 <scrollView wantsLayer="YES" borderType="none" autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasVerticalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ScA-aL-r0P">
-                                    <rect key="frame" x="40" y="0.0" width="727" height="485"/>
+                                    <rect key="frame" x="40" y="0.0" width="727" height="505"/>
                                     <clipView key="contentView" drawsBackground="NO" id="O9C-OM-ue0">
-                                        <rect key="frame" x="0.0" y="0.0" width="727" height="485"/>
+                                        <rect key="frame" x="0.0" y="0.0" width="727" height="505"/>
                                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
                                             <collectionView allowsEmptySelection="NO" id="tXY-fl-8XY">
-                                                <rect key="frame" x="0.0" y="0.0" width="727" height="485"/>
+                                                <rect key="frame" x="0.0" y="0.0" width="727" height="505"/>
                                                 <autoresizingMask key="autoresizingMask" heightSizable="YES"/>
                                                 <collectionViewFlowLayout key="collectionViewLayout" minimumInteritemSpacing="10" minimumLineSpacing="10" scrollDirection="horizontal" id="cPd-fj-JkJ">
                                                     <size key="itemSize" width="50" height="50"/>
@@ -224,5 +243,6 @@
         <image name="Upgrade your plan" width="37" height="36"/>
         <image name="background_comparative_Badge" width="807" height="194"/>
         <image name="control_btn_icon_close" width="12" height="12"/>
+        <image name="icon_info" width="16" height="16"/>
     </resources>
 </document>

+ 3 - 3
PDF Office/PDF Master/Class/Merge/Controller/KMMergePopoverViewController.xib

@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
         <deployment identifier="macosx"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21701"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
-        <customObject id="-2" userLabel="File's Owner" customClass="KMMergePopoverViewController" customModule="PDF_Office" customModuleProvider="target">
+        <customObject id="-2" userLabel="File's Owner" customClass="KMMergePopoverViewController" customModule="PDF_Master" customModuleProvider="target">
             <connections>
                 <outlet property="label" destination="8ON-RW-0EV" id="y6y-6f-K2k"/>
                 <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>

+ 2 - 2
PDF Office/PDF Master/Class/PDFWindowController/Side/RightSide/AnnotationProperty/KMAnnotationFontWindowController.xib

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

+ 2 - 2
PDF Office/PDF Master/Class/PDFWindowController/Side/RightSide/AnnotationProperty/KMPropertiesViewPopController.xib

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