GroupDocs.Signature for Java 是一个快速简便的 API,用于使用 UPCA、UPCE、EAN13、EAN14、Code39、Code39Extended、Code128、Codabar、Postnet、ISBN 等条码类型管理数字文档电子签名, ITF14 和许多其他的。客户可以轻松创建提供所需文本的条码,并将它们放在 PDF、Microsoft Office Words 文档、Microsoft Office Excel 工作簿、MS PowerPoint 演示文稿、Adobe Photoshop 文件和各种图像格式中。可以更新、搜索、验证、删除或预览放置在文档中的条形码。此外,还支持条码定制。
GroupDocs.Signature for Java 提供使用 Barcode 签名快速轻松地签署 Xlsm 文档的能力。
所有主要平台和操作系统都支持 GroupDocs.Signature for Java。在执行以下代码之前,请确保您的系统上安装了以下先决条件。
// Set up input Xlsm file
String filePath = "input.xlsm";
// Set up output file
String outputFilePath = "output.xlsm";
// Instantiate Signature for input file
Signature signature = new Signature(filePath);
// create barcode option with predefined barcode text
BarcodeSignOptions options = new BarcodeSignOptions("John Smith");
// setup Barcode encoding type
options.setEncodeType(BarcodeTypes.Code128);
// set signature position
options.setLeft(50);
options.setTop(50);
options.setWidth(200);
options.setHeight(50);
// sign Xlsm document
SignResult result = signature.sign(outputFilePath, options);
访问 GroupDocs.Signature App 网站,立即使用各种签名为 Xlsm 文件签名。免费在线演示等着你。
无需下载 API
无需编写任何代码
只需上传源文件
获取下载链接以保存文件
Code 128 是 ISO/IEC 15417:2007 中定义的高密度线性条码符号。它用于字母数字或纯数字条形码。
ASCII 的所有 128 个字符。
没有具体限制。
“您还可以使用其他签名类型对 Xlsm 进行签名。请参阅下面的列表。”
(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)
(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 Presentation Format)
(OpenDocument Standard Format)
(Microsoft PowerPoint Template Presentation)
(Microsoft PowerPoint Template File)
(Macro-enabled Presentation File)
(Macro-enabled Slide Show)
(Portable Network Graphic)
(Joint Photographic Expert Group Image)
(Bitmap Image File)
(Graphical Interchange Format)
(Tagged Image File Format)
(Scalar Vector Graphics)
(Raster Web Image Format)
(Windows Metafile)