【问题标题】:How to remove Spire.XLS signature from pdf File?如何从 pdf 文件中删除 Spire.XLS 签名?
【发布时间】:2021-11-12 16:38:58
【问题描述】:

我正在研究 java,我有一个名为“file.xlsx”的 excel 文件,我想使用 Spire.XLS 将其转换为 pdf,这是我为此编写的代码:

            //Create a Workbook instance
            workbook = new Workbook();
            //Load an Excel file
            workbook.loadFromFile("file.xlsx");

            //Get the first worksheet
            sheet = workbook.getWorksheets().get(0);
            //Add a new worksheet to the workbook
            sheet_copy = workbook.getWorksheets().add("Copy of sheet1");
            //Copy the first worksheet to the new worksheet
            sheet_copy.copyFrom(sheet);

            //Save the result file
            workbook.saveToFile("file.xlsx");
            
            workbook.saveToFile("result.pdf", com.spire.xls.FileFormat.PDF);

生成的 pdf 文件带有签名:评估警告:该文档是使用 Spire.XLS for Java 创建的,我想知道如何删除它,有什么想法吗?

【问题讨论】:

    标签: java excel digital-signature spire.xls


    【解决方案1】:

    请求专业试用许可证或

    根据老答案使用免费版本

    免费版在结果文件上没有评估警告。 请确保您使用的版本正确,

    https://www.e-iceblue.com/forum/evaluation-warning-the-document-was-created-with-spire-pdf-t4925.html

    https://www.e-iceblue.com/Download/xls-for-java-free.html

    或对于 .net 用户

    https://www.e-iceblue.com/Download/download-excel-for-net-free.html

    【讨论】:

      猜你喜欢
      • 2014-12-04
      • 2022-01-22
      • 1970-01-01
      • 1970-01-01
      • 2011-08-01
      • 1970-01-01
      • 1970-01-01
      • 2019-12-01
      • 1970-01-01
      相关资源
      最近更新 更多