Browse Source

【表格】添加表格保存后,注释列表会识别成手绘,表格不应出现在注释列表 -- 修复

lizhe 10 months ago
parent
commit
6f1baad6db

+ 1 - 1
PDF Office/PDF Master/Class/PDFWindowController/Side/LeftSide/KMLeftSideViewController+Note.swift

@@ -774,7 +774,7 @@ extension KMLeftSideViewController {
                 var annos: [CPDFAnnotation] = []
                 // 处理过滤
                 if typeArr.count == 0 && colorArr.count == 0 && authorArr.count == 0 {
-                    let types = ["Highlight","Underline","Strikeout","Freehand","FreeText","Note","Square","Circle","Line","Stamp","Arrow","Image","Redact","Sign", "table"]
+                    let types = ["Highlight","Underline","Strikeout","Freehand","FreeText","Note","Square","Circle","Line","Stamp","Arrow","Image","Redact","Sign"/*, "table"*/]
                     annos = KMOCToolClass.filterAnnotation(annotations: page?.annotations ?? [],types: types) as? [CPDFAnnotation] ?? []
                 } else {
                     var filterAnnos: [CPDFAnnotation] = page?.annotations ?? []