GroupDocs.Signature for Java is an advanced Java library to digitally sign documents using various 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 add, edit, verify, delete and search 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.
The below code example clearly demonstrates the steps about how to add digital signatures to a PPT file using GroupDocs.Signature library 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("sample.pdf");
DigitalSignOptions options = new DigitalSignOptions("certificate.pfx");
// certifiate password
options.setPassword("1234567890");
// digital certificate details
options.setReason("Sign");
options.setContact("JohnSmith");
options.setLocation("Office1");
// image as digital certificate appearance on document pages
options.setImageFilePath("sample.jpg");
//
options.setAllPages(true);
options.setWidth(80);
options.setHeight(60);
options.setVerticalAlignment(VerticalAlignment.Bottom);
options.setHorizontalAlignment(HorizontalAlignment.Right);
Padding padding = new Padding();
padding.setBottom(10);
padding.setRight(10);
options.setMargin(padding);
SignResult signResult = signature.sign("signed.ppt", options);
// analyzing result
System.out.print("List of newly created signatures:");
int number = 1;
for(BaseSignature temp : signResult.getSucceeded())
{
System.out.print("Signature #"+ number++ +": Type: "+temp.getSignatureType()+" Id:"+temp.getSignatureId()+
",Location: "+temp.getLeft()+"x"+temp.getTop()+". Size: "+temp.getWidth()+"x"+temp.getHeight());
}
Add PPT 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 PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. A PPT file can contain several different types of information such as text, bulleted points, images, multimedia and other embedded OLE objects. Microsoft came up with newer file format for PowerPoint, known as PPTX, from 2007 onward that is based on Office OpenXML and is different from this binary file format. Several other application programs such as OpenOffice Impress and Apple Keynote can also create PPT files. Learn more about PPT file format
Read More What is PPT File FormatMulti-format digital signatures API for documents and images. Add signatures to 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)