GroupDocs.Signature for Java is an advanced Java eSignature library to digitally sign documents using various signature signature types such as text, image, barcode, stamp, form-field, QR-code and metadata. By adding just a few lines of code, empower your Java applications with features to view, create, edit, validate, remove and find digital signatures within PDF, Microsoft Word, Excel worksheets, PowerPoint presentations, Adobe Photoshop, metafiles and image file formats. The e-signature API also supports additional features to customize signature properties as per requirements.
Below Java code example clearly demonstrates the steps to search for digital signatures within a DOTM file in Java by adding just a few lines of code.
GroupDocs.Signature for Java APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.
Signature signature = new Signature("signed.pdf");
DigitalSearchOptions options = new DigitalSearchOptions();
// specify special search criteria
options.setComments("Test comment");
// certificate issues criteria
options.setIssuerName("John");
// digital certificate subject
options.setSubjectName("Test");
// specify date range period of signature
options.setSignDateTimeFrom(DateUtils.addMonths(new Date(), -1));
options.setSignDateTimeTo(new Date());
// search for signatures in document
List signatures = signature.search(DigitalSignature.class, options);
System.out.print("\nSource document contains following signatures.");
for (DigitalSignature digitalSignature : signatures)
{
System.out.print("Digital signature found from "+digitalSignature.getSignTime()+" with validation flag "+digitalSignature.isValid()+". Certificate SN "+ digitalSignature.getCertificate().getType());
}
Add DOTM file electronic signatures right now by visiting GroupDocs.Signature Live Demos website. The live demo has the following benefits
No need to download API
No need to write any code
Just upload the source file
Get download link to save the file
A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. It is similar to the popular DOCX file format other than it retains the user defined settings for reuse in case of creating new documents. Such documents are more often used in offices where a standard template file is generated with settings like page information, margins, default layout and macros, and is used to create new documents from it when required. DOTM files, however, save macros, that are a series of commands in the form of recorded actions for automatic completion of a task. This helps save time in carrying out actions that are repeated in completion of a task. Learn more about DOTM file format
Read More What is DOTM File FormatMulti-format digital signatures searching API for documents and images. Find signatures from within some of the popular file formats as stated below.
(Adobe Portable Document Format)
(Microsoft Word Document)
(Microsoft Word Macro-Enabled Document)
(Microsoft Word Open XML Document)
(Microsoft Word Document Template)
(Word Open XML Document Template)
(Microsoft Word Macro-Enabled Template)
(Rich Text Document)
(Open Document Text)
(OpenDocument Text Template)
(Microsoft Excel Binary File Format)
(Microsoft Excel Open XML Spreadsheet)
(Microsoft Excel Macro-Enabled Spreadsheet)
(Microsoft Excel Macro-Enabled Spreadsheet)
(Microsoft Excel Binary Worksheet)
(Microsoft Excel template)
(Microsoft Excel macro-enabled template)
(Open Document Spreadsheet)
(OpenDocument Spreadsheet Template)
(PowerPoint Presentation)
(PowerPoint Open XML Presentation)
(Microsoft PowerPoint 97-2003 Slide Show)
(PowerPoint Open XML Slide Show)
(Microsoft PowerPoint Macro-Enabled Template)
(Microsoft PowerPoint Template)
(Microsoft PowerPoint Presentation)
(OpenDocument Presentation)
(OpenDocument Presentation Template)
(WebP Image)
(Tagged Image File Format)
(JPEG Image)
(Graphics Interchange Format)
(Portable Network Graphic)
(Bitmap File Format)
(CorelDraw Vector Graphic Drawing)
(Scalable Vector Graphics)
(Adobe Photoshop Document)
(Windows Metafile)
(Enhanced Metafile Format)
(Corel Metafile eXchange Image)
(Deja Vu)
(Microsoft PowerPoint Macro-Enabled Slide Show)
(Digital Imaging and Communications in Medicine)