Sign Xlsb files with Text signatures in Java

How to add Text Signature with a few lines of Java code


Download Free Trial

About GroupDocs.Signature for Java 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 Xlsb with Text in Java

GroupDocs.Signature for Java provides ability to sign Xlsb documents with Text signatures quickly and easily.

  • Create an instance of Signature class providing Xlsb file supposed to signing as path or memory stream
  • Instantiate SignOptions class and set all demanded data.
  • Invoke the Signature.Sign() method passing output Xlsb 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 Xlsb file
String filePath = "input.xlsb";
// Set up output file
String outputFilePath = "output.xlsb";

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

//Provide sign options
TextSignOptions options = new TextSignOptions("John Smith");

// set signature position
options.setLeft(50);
options.setTop(200);

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

Signing Xlsb documents with Text Live Demo

Sign Xlsb 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 Text signatures for Java

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

Sign PDF with TEXT

(Portable Document Format)

Sign DOC with TEXT

(Microsoft Word Binary Format)

Sign DOCX with TEXT

(Office 2007+ Word Document)

Sign DOCM with TEXT

(Microsoft Word 2007 Marco File)

Sign DOT with TEXT

(Microsoft Word Template Files)

Sign DOTM with TEXT

(Microsoft Word 2007+ Template File)

Sign DOTX with TEXT

(Microsoft Word Template File )

Sign ODT with TEXT

(OpenDocument Text File Format)

Sign OTT with TEXT

(OpenDocument Standard Format)

Sign RTF with TEXT

(Rich Text Format)

Sign XLS with TEXT

(Microsoft Excel Spreadsheet (Legacy))

Sign XLSX with TEXT

(Open XML Workbook)

Sign XLSM with TEXT

(Macro-enabled Spreadsheet)

Sign CSV with TEXT

(Comma Seperated Values)

Sign ODS with TEXT

(OpenDocument Spreadsheet)

Sign OTS with TEXT

(OpenDocument Spreadsheet Template)

Sign XLTX with TEXT

(Excel Template)

Sign XLTM with TEXT

(Excel Macro-Enabled Template)

Sign PPT with TEXT

(Microsoft PowerPoint 97-2003)

Sign PPTX with TEXT

(Open XML presentation Format)

Sign PPS with TEXT

(PowerPoint Slide Show)

Sign PPSX with TEXT

(PowerPoint Slide Show)

Sign ODP with TEXT

(OpenDocument Presentation Format)

Sign OTP with TEXT

(OpenDocument Standard Format)

Sign POTX with TEXT

(Microsoft PowerPoint Template Presentation)

Sign POTM with TEXT

(Microsoft PowerPoint Template File)

Sign PPTM with TEXT

(Macro-enabled Presentation File)

Sign PPSM with TEXT

(Macro-enabled Slide Show)

Sign PNG with TEXT

(Portable Network Graphic)

Sign JPG with TEXT

(Joint Photographic Expert Group Image)

Sign BMP with TEXT

(Bitmap Image File)

Sign GIF with TEXT

(Graphical Interchange Format)

Sign TIFF with TEXT

(Tagged Image File Format)

Sign SVG with TEXT

(Scalar Vector Graphics)

Sign WEBP with TEXT

(Raster Web Image Format)

Sign WMF with TEXT

(Windows Metafile)

Back to top
 English