Browse Source

【标记密文】添加标记密文,设置覆盖文本的对齐方式为居中对齐,重复应用密文,对齐方式变成向左对齐

liujiajie 10 months ago
parent
commit
4e353f697e

+ 1 - 0
PDF Office/PDF Master/Class/PDFTools/Redact/View/KMRedactPDFView.swift

@@ -544,6 +544,7 @@ extension KMRedactPDFView {
                     annotation?.setFont(anno.font())
                     annotation?.setOverlayText(anno.overlayText())
                     annotation?.setFontColor(anno.fontColor())
+                    annotation?.setAlignment(anno.alignment())
                     
                     let pageRect = page?.bounds ?? .zero
                     let annotationRect  = annotation?.bounds ?? .zero

+ 2 - 2
PDF Office/PDF Reader Pro.xcodeproj/project.pbxproj

@@ -11791,13 +11791,13 @@
 		BB4EEF2929763EC7003A3537 /* Window */ = {
 			isa = PBXGroup;
 			children = (
-				BB9599C62B3164B40062D346 /* KMRedactPropertiesWindowController.xib */,
-				BB4EEF3329764166003A3537 /* KMRedactPropertyWindowController.swift */,
 				BB24D4A52977BE6700041659 /* KMRedactConfirmWindowController.swift */,
 				BB24D4A62977BE6700041659 /* KMRedactConfirmWindowController.xib */,
 				BBB14A562978E75D00936EDB /* KMRedactMutilPageFlagWindowController.swift */,
 				BBB14A5E297929BD00936EDB /* KMRedactPageRangeWindowController.swift */,
 				BB9599C22B31647B0062D346 /* KMRedactPropertiesWindowController.swift */,
+				BB9599C62B3164B40062D346 /* KMRedactPropertiesWindowController.xib */,
+				BB4EEF3329764166003A3537 /* KMRedactPropertyWindowController.swift */,
 				BB9599CA2B3184230062D346 /* KMRedactSelectPagesWindowController.swift */,
 				BB9599CE2B3184430062D346 /* KMRedactSelectPagesWindowController.xib */,
 			);