|
@@ -510,6 +510,17 @@ namespace ComPDFKit.Tool
|
|
|
historyGroup.Histories.Add(redactHistory);
|
|
|
}
|
|
|
break;
|
|
|
+ case C_ANNOTATION_TYPE.C_ANNOTATION_LINK:
|
|
|
+ {
|
|
|
+ LinkAnnotHistory linkHistory= new LinkAnnotHistory();
|
|
|
+ AnnotParam annotParam = ParamConverter.AnnotConverter(cPDFDocument, annotCore);
|
|
|
+ linkHistory.Action = HistoryAction.Add;
|
|
|
+ linkHistory.CurrentParam = (LinkParam)annotParam;
|
|
|
+ linkHistory.PDFDoc = cPDFDocument;
|
|
|
+ linkHistory.Action = HistoryAction.Add;
|
|
|
+ historyGroup.Histories.Add(linkHistory);
|
|
|
+ }
|
|
|
+ break;
|
|
|
default:
|
|
|
break;
|
|
|
}
|