GroupDocs.Signature for Java API 功能包含大量使用电子签名处理按需文档格式的方法。支持广泛的电子签名,如文本、图像、数字证书、条形码、二维码、印章或元数据。客户可以在 PDF、MS Word 文档、MS Excel 工作簿、MS PowerPoint 演示文稿、Adobe Photoshop 文件和各种图像格式中添加、删除、编辑、验证或搜索数字签名。提供了许多有用的功能和设置。
GroupDocs.Signature for Java 包括有用的功能,例如更新放置在 Odp 文档中的 Image 签名。无需额外代码即可更改签名功能。
所有主要平台和操作系统都支持 GroupDocs.Signature for Java。在执行以下代码之前,请确保您的系统上安装了以下先决条件。
// Set up input Odp file
String filePath = "input.odp";
// Set up output file
String outputFilePath = "output.odp";
// Instantiate Signature for input file
Signature signature = new Signature(filePath);
// Id of signature which is supposed to be updated
// such Id might be got as a result of search operation
String id = "ff988ab1-7403-4c8d-8db7-f2a56b9f8530";
// provide signature features to update
// set up particular signature id
ImageSignature signatureToUpdate = new ImageSignature(id);
// specify signature width
signatureToUpdate.setWidth(170);
// specify signature height
signatureToUpdate.setHeight(250);
// set left position
signatureToUpdate.setLeft(10);
// set top position
signatureToUpdate.setTop(10);
// update signature
Boolean updateResult = signature.update(outputFilePath, signatureToUpdate);
// process updation result
if (updateResult)
{
System.out.println("Signature was updated successfully!");
}
立即访问 GroupDocs.Signature App 网站编辑 Odp 文档的各种电子签名。
无需下载 API
无需编写任何代码
只需上传源文件
获取下载链接以保存文件
“编辑以各种文档格式放置的数字签名。无需额外代码即可更新签名数据。”
(Portable Document Format)
(Microsoft Word Binary Format)
(Office 2007+ Word Document)
(Microsoft Word 2007 Marco File)
(Microsoft Word Template Files)
(Microsoft Word 2007+ Template File)
(Microsoft Word Template File )
(OpenDocument Text File Format)
(OpenDocument Standard Format)
(Rich Text Format)
(Microsoft Excel Spreadsheet (Legacy))
(Open XML Workbook)
(Macro-enabled Spreadsheet)
(Excel Binary Workbook)
(Comma Seperated Values)
(OpenDocument Spreadsheet)
(OpenDocument Spreadsheet Template)
(Excel Template)
(Excel Macro-Enabled Template)
(Microsoft PowerPoint 97-2003)
(Open XML presentation Format)
(PowerPoint Slide Show)
(PowerPoint Slide Show)
(OpenDocument Standard Format)
(Microsoft PowerPoint Template Presentation)
(Microsoft PowerPoint Template File)
(Macro-enabled Presentation File)
(Macro-enabled Slide Show)