|
@@ -5681,6 +5681,11 @@ extension KMMainViewController: CPDFViewDelegate,CPDFListViewDelegate {
|
|
|
menuStringArr.append(PDFViewMenuIdentifier_Normal_CopyText)
|
|
|
menuStringArr.append(PDFViewMenuIdentifier_Normal_Delete)
|
|
|
menuStringArr.append(PDFViewMenuIdentifier_Space)
|
|
|
+ } else if firstAnnotation?.isKind(of: CPDFRedactAnnotation.self) == true {
|
|
|
+ menuStringArr.append(PDFViewMenuIdentifier_Normal_Delete)
|
|
|
+ menuStringArr.append(PDFViewMenuIdentifier_Space)
|
|
|
+ menuStringArr.append(PDFViewMenuIdentifier_Redact_Apply)
|
|
|
+ menuStringArr.append(PDFViewMenuIdentifier_Redact_Multipage)
|
|
|
} else {
|
|
|
menuStringArr.append(PDFViewMenuIdentifier_Normal_Copy)
|
|
|
menuStringArr.append(PDFViewMenuIdentifier_Normal_Cut)
|
|
@@ -5692,7 +5697,13 @@ extension KMMainViewController: CPDFViewDelegate,CPDFListViewDelegate {
|
|
|
menuStringArr.append(PDFViewMenuIdentifier_Normal_ShowPopUI)
|
|
|
menuStringArr.append(PDFViewMenuIdentifier_Space)
|
|
|
}
|
|
|
- menuStringArr.append(PDFViewMenuIdentifier_Normal_SortAnnotation)
|
|
|
+
|
|
|
+ if firstAnnotation?.isKind(of: CPDFRedactAnnotation.self) == true {
|
|
|
+
|
|
|
+ } else {
|
|
|
+ menuStringArr.append(PDFViewMenuIdentifier_Normal_SortAnnotation)
|
|
|
+ }
|
|
|
+
|
|
|
if firstAnnotation?.isKind(of: CPDFLinkAnnotation.self) == true || firstAnnotation?.isKind(of: CPDFWidgetAnnotation.self) == true {
|
|
|
menuStringArr.append(PDFViewMenuIdentifier_Space)
|
|
|
menuStringArr.append(PDFViewMenuIdentifier_Normal_Aligning)
|