|
@@ -7,6 +7,7 @@ using System.ComponentModel;
|
|
using System.Diagnostics;
|
|
using System.Diagnostics;
|
|
using System.Drawing;
|
|
using System.Drawing;
|
|
using System.IO;
|
|
using System.IO;
|
|
|
|
+using System.Linq;
|
|
using System.Reflection;
|
|
using System.Reflection;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Text.RegularExpressions;
|
|
using System.Text.RegularExpressions;
|
|
@@ -16,6 +17,7 @@ using System.Windows.Interop;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Xml;
|
|
using System.Xml;
|
|
|
|
+using ComPDFKit.DigitalSign;
|
|
using Point = System.Windows.Point;
|
|
using Point = System.Windows.Point;
|
|
using Size = System.Windows.Size;
|
|
using Size = System.Windows.Size;
|
|
|
|
|
|
@@ -1014,4 +1016,19 @@ namespace Compdfkit_Tools.Helper
|
|
return standardZoom / 100;
|
|
return standardZoom / 100;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ public class SignatureHelper
|
|
|
|
+ {
|
|
|
|
+ public static List<CPDFSignature> GetEffectiveSignatureList(List<CPDFSignature>signatureList)
|
|
|
|
+ {
|
|
|
|
+ for(int index = signatureList.Count - 1; index >= 0; index--)
|
|
|
|
+ {
|
|
|
|
+ if (signatureList[index].SignerList.Count <= 0)
|
|
|
|
+ {
|
|
|
|
+ signatureList.RemoveAt(index);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ return signatureList;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|