GroupDocs.Signature for Java API 功能包含大量使用电子签名处理按需文档格式的方法。支持广泛的电子签名,如文本、图像、数字证书、条形码、二维码、印章或元数据。客户可以在 PDF、MS Word 文档、MS Excel 工作簿、MS PowerPoint 演示文稿、Adobe Photoshop 文件和各种图像格式中添加、删除、编辑、验证或搜索数字签名。提供了许多有用的功能和设置。
GroupDocs.Signature for Java 包括有用的功能,例如更新放置在 Pptx 文档中的 Text 签名。无需额外代码即可更改签名功能。
所有主要平台和操作系统都支持 GroupDocs.Signature for Java。在执行以下代码之前,请确保您的系统上安装了以下先决条件。
// Set up input Pptx file
String filePath = "input.pptx";
// Set up output file
String outputFilePath = "output.pptx";
// 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 = "eff64a14-dad9-47b0-88e5-2ee4e3604e71";
// provide signature features to update
// set up particular signature id
TextSignature signatureToUpdate = new TextSignature(id);
// specify signature width
signatureToUpdate.setWidth(130);
// specify signature height
signatureToUpdate.setHeight(20);
// set left position
signatureToUpdate.setLeft(40);
// set top position
signatureToUpdate.setTop(50);
// set up new text
signatureToUpdate.setText("Mr. John Smith");
// update signature
Boolean updateResult = signature.update(outputFilePath, signatureToUpdate);
// process updation result
if (updateResult)
{
System.out.println("Signature was updated successfully!");
}
立即访问 GroupDocs.Signature App 网站编辑 Pptx 文档的各种电子签名。
无需下载 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)
(PowerPoint Slide Show)
(PowerPoint Slide Show)
(OpenDocument Presentation Format)
(OpenDocument Standard Format)
(Microsoft PowerPoint Template Presentation)
(Microsoft PowerPoint Template File)
(Macro-enabled Presentation File)
(Macro-enabled Slide Show)