Metadata electronic signatures for Ots document via Java are simple and easy for using!

eSign your Ots documents and contracts with hidden Metadata entries. Generate Metadata for PDFs, MS Word documents, MS Excel workbooks, MS PowerPoint presentations and various image formats with no problems and extra coding.


Download Free Trial

About GroupDocs.Signature for Java Metadata signatures API

GroupDocs.Signature for Java is a popular API for digital documents e-signing. Signatures like texts, images, digital certificates, barcodes, QR-codes, stamps or metadata are available. Signatures might be placed on PDFs, MS Word documents, MS Excel workbooks, MS PowerPoint presentations, Adobe Photoshop files and various image formats. Customers can sign their document and update, search, verify, delete or preview e-signatures which were put on those documents. Moreover, a lot of abilities for signatures customization are provided.

Steps to sign Ots with Metadata in Java

GroupDocs.Signature for Java provides ability to sign Ots documents with Metadata signatures quickly and easily.

  • Create an instance of Signature class providing Ots file supposed to signing as path or memory stream
  • Instantiate SignOptions class and set all demanded data.
  • Invoke the Signature.Sign() method passing output Ots file or memory stream

System Requirements

GroupDocs.Signature for Java 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.

  • Operating systems: Microsoft Windows, Linux, MacOS
  • Development environments: NetBeans, Intellij IDEA, Eclipse, etc.
  • Java runtime: J2SE 6.0 and above
  • Get the latest GroupDocs.Signature for Java from Maven

        
// Set up input Ots file
String filePath = "input.ots";
// Set up output file
String outputFilePath = "output.ots";

// Instantiate Signature for input file
Signature signature = new Signature(filePath);

// instantiate metadata signing options
MetadataSignOptions options = new MetadataSignOptions();

// setup Author property
SpreadsheetMetadataSignature mdSign_Author = new SpreadsheetMetadataSignature("Author", "Mr.Scherlock Holmes");// String value
options.getSignatures().add(mdSign_Author);
// setup document data
SpreadsheetMetadataSignature mdSign_DocData = new SpreadsheetMetadataSignature("CreatedOn", new Date());// Datetime value
options.getSignatures().add(mdSign_DocData);
// setup document id
SpreadsheetMetadataSignature mdSign_DocId = new SpreadsheetMetadataSignature("DocumentId", 123456);// Integer value
options.getSignatures().add(mdSign_DocId);

// sign Ots document
SignResult result = signature.sign(outputFilePath, options);

Signing Ots documents with Metadata Live Demo

Sign Ots file with various signatures right now by visiting the GroupDocs.Signature App website. Free online demo waiting for you.

No need to download API

No need to write any code

Just upload the source file

Get download link to save the file

Other supported Metadata signatures for Java

“You can also sign Ots with other signature types. Please see the list below.”

Sign PDF with METADATA

(Portable Document Format)

Sign DOC with METADATA

(Microsoft Word Binary Format)

Sign DOCX with METADATA

(Office 2007+ Word Document)

Sign DOCM with METADATA

(Microsoft Word 2007 Marco File)

Sign DOT with METADATA

(Microsoft Word Template Files)

Sign DOTM with METADATA

(Microsoft Word 2007+ Template File)

Sign DOTX with METADATA

(Microsoft Word Template File )

Sign ODT with METADATA

(OpenDocument Text File Format)

Sign OTT with METADATA

(OpenDocument Standard Format)

Sign RTF with METADATA

(Rich Text Format)

Sign XLS with METADATA

(Microsoft Excel Spreadsheet (Legacy))

Sign XLSX with METADATA

(Open XML Workbook)

Sign XLSM with METADATA

(Macro-enabled Spreadsheet)

Sign XLSB with METADATA

(Excel Binary Workbook)

Sign CSV with METADATA

(Comma Seperated Values)

Sign ODS with METADATA

(OpenDocument Spreadsheet)

Sign XLTX with METADATA

(Excel Template)

Sign XLTM with METADATA

(Excel Macro-Enabled Template)

Sign PPT with METADATA

(Microsoft PowerPoint 97-2003)

Sign PPTX with METADATA

(Open XML presentation Format)

Sign PPS with METADATA

(PowerPoint Slide Show)

Sign PPSX with METADATA

(PowerPoint Slide Show)

Sign ODP with METADATA

(OpenDocument Presentation Format)

Sign OTP with METADATA

(OpenDocument Standard Format)

Sign POTX with METADATA

(Microsoft PowerPoint Template Presentation)

Sign POTM with METADATA

(Microsoft PowerPoint Template File)

Sign PPTM with METADATA

(Macro-enabled Presentation File)

Sign PPSM with METADATA

(Macro-enabled Slide Show)

Sign PNG with METADATA

(Portable Network Graphic)

Sign JPG with METADATA

(Joint Photographic Expert Group Image)

Sign BMP with METADATA

(Bitmap Image File)

Sign GIF with METADATA

(Graphical Interchange Format)

Sign TIFF with METADATA

(Tagged Image File Format)

Sign SVG with METADATA

(Scalar Vector Graphics)

Sign WEBP with METADATA

(Raster Web Image Format)

Sign WMF with METADATA

(Windows Metafile)

Back to top
 English