Forráskód Böngészése

【签名&填写表单】添加签名后,调整透明度无效 -- 修复

lizhe 10 hónapja
szülő
commit
97cb27cec5

+ 5 - 5
PDF Office/PDF Master/Class/PDFWindowController/Side/RightSide/StampList/KMAnnotationStampViewController.swift

@@ -876,11 +876,11 @@ let KMPDFDynamicStampNeedAuthorKey1 = "km_pdfview_dynamic_stamp_need_author"
     @IBAction func opacityComboBoxAction(_ sender: Any) {
         for tAnnotation in self.annotations {
             let opacity = CGFloat(self.opacityComboBox.intValue) / 100
-//            if tAnnotation is CPDFListStampAnnotation {
-//                self.pdfView?.setStampAnnotation(((tAnnotation) as! CPDFListStampAnnotation), forImageAlpha: CGFloat(opacity))
-//            } else if tAnnotation is CPDFListSignatureAnnotation {
-//                self.pdfView?.setSignatureAnnotation(((tAnnotation) as! CPDFListSignatureAnnotation), forImageAlpha: CGFloat(opacity))
-//            }
+            if tAnnotation is CPDFListStampAnnotation {
+                self.pdfView?.setStampAnnotation(((tAnnotation) as! CPDFListStampAnnotation), forImageAlpha: CGFloat(opacity))
+            } else if tAnnotation is CPDFListSignatureAnnotation {
+                self.pdfView?.setSignatureAnnotation(((tAnnotation) as! CPDFListSignatureAnnotation), forImageAlpha: CGFloat(opacity))
+            }
             annotationModel?.setOpacity(CGFloat(opacity))
             opacitySlider.floatValue = Float(opacity)
             opacitySlider.toolTip = "\(Int(opacity * 100))%"

+ 193 - 33
PDF Office/PDF Reader Pro.xcodeproj/xcuserdata/lizhe.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -17648,22 +17648,6 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "AFE6428D-D9D6-4F42-8F28-85D2DB389296"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "PDF Master/Class/PDFWindowController/Side/RightSide/StampList/KMAnnotationStampViewController.swift"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "131"
-            endingLineNumber = "131"
-            landmarkName = "KMAnnotationStampViewController"
-            landmarkType = "3">
-         </BreakpointContent>
-      </BreakpointProxy>
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
@@ -18778,8 +18762,8 @@
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "1016"
             endingLineNumber = "1016"
-            landmarkName = "createInkAndLineProperties()"
-            landmarkType = "7">
+            landmarkName = "KMGeneralAnnotationViewController"
+            landmarkType = "3">
             <Locations>
                <Location
                   uuid = "89C3CE83-EA26-438A-A411-86087DF93A47 - 894487740885a5c9"
@@ -18871,7 +18855,7 @@
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "1073"
             endingLineNumber = "1073"
-            landmarkName = "createTextProperties()"
+            landmarkName = "createInkAndLineProperties()"
             landmarkType = "7">
             <Locations>
                <Location
@@ -21314,8 +21298,8 @@
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "859"
             endingLineNumber = "859"
-            landmarkName = "KMGeneralAnnotationViewController"
-            landmarkType = "3">
+            landmarkName = "createMarkupProperties()"
+            landmarkType = "7">
             <Locations>
                <Location
                   uuid = "C4914917-BF30-4FA0-8312-C2456CE439C7 - f2734e8e335f9e40"
@@ -21440,8 +21424,8 @@
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "1905"
             endingLineNumber = "1905"
-            landmarkName = "KMGeneralAnnotationViewController"
-            landmarkType = "3">
+            landmarkName = "iconButtonAction(_:)"
+            landmarkType = "7">
             <Locations>
                <Location
                   uuid = "7AF75CC1-7ACE-45F2-9C18-47EC3E0C2D3F - d88e1ceb3d2ce4d7"
@@ -21686,8 +21670,8 @@
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "2102"
             endingLineNumber = "2102"
-            landmarkName = "KMGeneralAnnotationViewController"
-            landmarkType = "3">
+            landmarkName = "fontSizeComboBoxAction(_:)"
+            landmarkType = "7">
             <Locations>
                <Location
                   uuid = "8CF61E05-8F21-426A-B532-1431DA58E9C5 - c9e791dee1153132"
@@ -21992,7 +21976,7 @@
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "1990"
             endingLineNumber = "1990"
-            landmarkName = "fontPopUpButtonAction(_:)"
+            landmarkName = "fontButtonAction(_:)"
             landmarkType = "7">
             <Locations>
                <Location
@@ -22395,7 +22379,7 @@
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "2180"
             endingLineNumber = "2180"
-            landmarkName = "dateCheckButtonAction(_:)"
+            landmarkName = "buttonClicked_SwitchIncludeTime(_:)"
             landmarkType = "7">
             <Locations>
                <Location
@@ -23305,7 +23289,7 @@
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "1505"
             endingLineNumber = "1505"
-            landmarkName = "colorPickerViewAction(_:)"
+            landmarkName = "setFontStyle(fontName:currentStyle:)"
             landmarkType = "7">
             <Locations>
                <Location
@@ -23368,7 +23352,7 @@
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "1533"
             endingLineNumber = "1533"
-            landmarkName = "fillColorPickerViewAction(_:)"
+            landmarkName = "setFontStyle(fontName:currentStyle:)"
             landmarkType = "7">
             <Locations>
                <Location
@@ -23416,8 +23400,8 @@
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "1605"
             endingLineNumber = "1605"
-            landmarkName = "opacitySliderAction(_:)"
-            landmarkType = "7">
+            landmarkName = "KMGeneralAnnotationViewController"
+            landmarkType = "3">
             <Locations>
                <Location
                   uuid = "5EE2A976-E0BC-44C9-A5FF-2D40ACD97839 - 376bbd0964d3653a"
@@ -25148,7 +25132,7 @@
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
             uuid = "CDF327CB-AE51-4037-A6B5-F6235EBF9E49"
-            shouldBeEnabled = "No"
+            shouldBeEnabled = "Yes"
             ignoreCount = "0"
             continueAfterRunningActions = "No"
             filePath = "PDF Master/Class/PDFWindowController/ViewController/KMMainViewController+MenuAction.swift"
@@ -25260,7 +25244,7 @@
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
             uuid = "12F4315E-C765-45BD-80DE-3F3CB9495641"
-            shouldBeEnabled = "No"
+            shouldBeEnabled = "Yes"
             ignoreCount = "0"
             continueAfterRunningActions = "No"
             filePath = "PDF Master/Class/Document/KMMainDocument.swift"
@@ -25352,5 +25336,181 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "C4ACD78C-E161-4C40-AD52-E556FC3FEDC0"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "PDF Master/Class/PDFTools/Print/KMPrintWindowController.swift"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "188"
+            endingLineNumber = "188"
+            landmarkName = "showNewPrintWindowControll(inputDocument:inputType:inputPageRange:printType:)"
+            landmarkType = "7">
+            <Locations>
+               <Location
+                  uuid = "C4ACD78C-E161-4C40-AD52-E556FC3FEDC0 - d1d2cc8628cea0f9"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "static PDF_Reader_Pro.KMPrintWindowController.showNewPrintWindowControll(inputDocument: Swift.Optional&lt;__C.CPDFDocument&gt;, inputType: PDF_Reader_Pro.DataNavigationViewButtonActionType, inputPageRange: PDF_Reader_Pro.KMPrintPageRange, printType: PDF_Reader_Pro.KMPrintModelType) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Volumes/Data/Company/kdan/Projects/PDF%20Office/PDF%20Office/PDF%20Master/Class/PDFTools/Print/KMPrintWindowController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "188"
+                  endingLineNumber = "188"
+                  offsetFromSymbolStart = "996">
+               </Location>
+               <Location
+                  uuid = "C4ACD78C-E161-4C40-AD52-E556FC3FEDC0 - d1d2cc8628cea0f9"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "static PDF_Reader_Pro.KMPrintWindowController.showNewPrintWindowControll(inputDocument: Swift.Optional&lt;__C.CPDFDocument&gt;, inputType: PDF_Reader_Pro.DataNavigationViewButtonActionType, inputPageRange: PDF_Reader_Pro.KMPrintPageRange, printType: PDF_Reader_Pro.KMPrintModelType) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Volumes/Data/Company/kdan/Projects/PDF%20Office/PDF%20Office/PDF%20Master/Class/PDFTools/Print/KMPrintWindowController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "188"
+                  endingLineNumber = "188"
+                  offsetFromSymbolStart = "1124">
+               </Location>
+            </Locations>
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "2C03F51F-13FB-45A0-9984-10C6AE0D8B92"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "PDF Master/Class/PDFWindowController/ViewController/KMMainViewController+Action.swift"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "3123"
+            endingLineNumber = "3123"
+            landmarkName = "showPrintWindow(pageRange:)"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "1AB3D8BB-3287-493A-B9D3-B247463DFF9E"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "PDF Master/Class/PDFWindowController/Side/RightSide/AnnotationProperty/KMGeneralAnnotationViewController.swift"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "1623"
+            endingLineNumber = "1623"
+            landmarkName = "opacitySliderAction(_:)"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "713C29C9-BA9D-4961-8709-4289ADA45133"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "PDF Master/Class/PDFWindowController/Side/RightSide/StampList/KMAnnotationStampViewController.swift"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "862"
+            endingLineNumber = "862"
+            landmarkName = "opacitySliderAction(_:)"
+            landmarkType = "7">
+            <Locations>
+               <Location
+                  uuid = "713C29C9-BA9D-4961-8709-4289ADA45133 - cf8cbe47e8aa5c0b"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMAnnotationStampViewController.opacitySliderAction(Any) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Volumes/Data/Company/kdan/Projects/PDF%20Office/PDF%20Office/PDF%20Master/Class/PDFWindowController/Side/RightSide/StampList/KMAnnotationStampViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "862"
+                  endingLineNumber = "862"
+                  offsetFromSymbolStart = "188">
+               </Location>
+               <Location
+                  uuid = "713C29C9-BA9D-4961-8709-4289ADA45133 - cf8cbe47e8aa5c0b"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMAnnotationStampViewController.opacitySliderAction(Any) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Volumes/Data/Company/kdan/Projects/PDF%20Office/PDF%20Office/PDF%20Master/Class/PDFWindowController/Side/RightSide/StampList/KMAnnotationStampViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "862"
+                  endingLineNumber = "862"
+                  offsetFromSymbolStart = "336">
+               </Location>
+            </Locations>
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "69723765-F587-493E-A811-96709037C2D4"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "PDF Master/Class/PDFWindowController/Side/RightSide/StampList/KMAnnotationStampViewController.swift"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "877"
+            endingLineNumber = "877"
+            landmarkName = "opacityComboBoxAction(_:)"
+            landmarkType = "7">
+            <Locations>
+               <Location
+                  uuid = "69723765-F587-493E-A811-96709037C2D4 - f803ea4932cc7e34"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMAnnotationStampViewController.opacityComboBoxAction(Any) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Volumes/Data/Company/kdan/Projects/PDF%20Office/PDF%20Office/PDF%20Master/Class/PDFWindowController/Side/RightSide/StampList/KMAnnotationStampViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "877"
+                  endingLineNumber = "877"
+                  offsetFromSymbolStart = "140">
+               </Location>
+               <Location
+                  uuid = "69723765-F587-493E-A811-96709037C2D4 - f803ea4932cc7e34"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMAnnotationStampViewController.opacityComboBoxAction(Any) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Volumes/Data/Company/kdan/Projects/PDF%20Office/PDF%20Office/PDF%20Master/Class/PDFWindowController/Side/RightSide/StampList/KMAnnotationStampViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "877"
+                  endingLineNumber = "877"
+                  offsetFromSymbolStart = "288">
+               </Location>
+            </Locations>
+         </BreakpointContent>
+      </BreakpointProxy>
    </Breakpoints>
 </Bucket>