pdf操作组件aspose的无限制使用方法

此处举例,使用21年的旧版本21.11版本

jar包,可以到如下地址进行下载(下载的是release无限制版本,支持使用license激活后使用全功能的版本)

https://releases.aspose.com/pdf/java/21-11/#package-explorer

Aspose.Cells 21.11 | Process Spreadsheet Formats via Java API

https://releases.aspose.com/words/java/21-11/#package-explorer

下载后,文件名称为:aspose-words-21.11-jdk17.jar,更改名称为aspose-words-21.11.jar

使用aspose-pdf 21.11,破解license方式如下

java实现pdf转word、Excel(无水印,无数量限制)_java pdf转excel-CSDN博客文章浏览阅读2.9k次。JAVA实现pdf转word,无水印和数量限制_java pdf转excelhttps://blog.csdn.net/dhyway/article/details/125852865

手动安装jar包到本地manve仓库,参考如下命令

mvn install:install-file -DgroupId=cn.codeforfun -DartifactId=mysql-migrate -Dversion=1.3.16 -Dpackaging=jar -Dfile=C:\jar_path\mysql-migrate-1.3.16.jar -s C:\mvn_setting_path\settings.xml

所以安装命令如下

mvn install:install-file -DgroupId=com.aspose -DartifactId=aspose-words -Dversion=21.11 -Dpackaging=jar -Dfile=C:\Users\myname\Downloads\aspose-words-21.11.jar -s C:\Users\myname\.m2\settings.xml

在idea的maven插件窗口,打开maven命令行界面,执行安装(不要用windows命令行打开执行maven命令行安装,尤其是不是使用的独立maven安装版本,使用的是idea集成内嵌自带的maven的版本的时候)

安装成功,可以看到如下输出

复制代码
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< org.example:pdf-excel-aspose >--------------------
[INFO] Building pdf-excel-aspose 1.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- install:2.5.2:install-file (default-cli) @ pdf-excel-aspose ---
[INFO] pom.xml not found in aspose-words-21.11.jar
[INFO] Installing C:\Users\liuyouzhang\Downloads\aspose-words-21.11.jar to E:\maven_default_repository\repository\com\aspose\aspose-words\21.11\aspose-words-21.11.jar
[INFO] Installing C:\Users\LIUYOU~1\AppData\Local\Temp\mvninstall3240540123781640973.pom to E:\maven_default_repository\repository\com\aspose\aspose-words\21.11\aspose-words-21.11.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.499 s
[INFO] Finished at: 2024-12-19T14:14:36+08:00
[INFO] ------------------------------------------------------------------------

Process finished with exit code 0

安装aspose-cells

复制代码
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< org.example:pdf-excel-aspose >--------------------
[INFO] Building pdf-excel-aspose 1.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- install:2.5.2:install-file (default-cli) @ pdf-excel-aspose ---
[INFO] pom.xml not found in aspose-cells-21.11.jar
[INFO] Installing C:\Users\liuyouzhang\Downloads\aspose-cells-21.11.jar to E:\maven_default_repository\repository\com\aspose\aspose-cells\21.11\aspose-cells-21.11.jar
[INFO] Installing C:\Users\LIUYOU~1\AppData\Local\Temp\mvninstall7150304202063608303.pom to E:\maven_default_repository\repository\com\aspose\aspose-cells\21.11\aspose-cells-21.11.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.389 s
[INFO] Finished at: 2024-12-19T14:20:40+08:00
[INFO] ------------------------------------------------------------------------

Process finished with exit code 0
相关推荐
背太阳的牧羊人14 分钟前
使用 PyMuPDF(fitz)库打开 PDF 文件,并且是从内存中的字节流(BytesIO)读取 PDF 内容
数据库·pdf·文件处理·pymupdf·fitz
灯火不休ᝰ21 分钟前
前端处理pdf文件流,展示pdf
前端·pdf
梨小橙子5 小时前
PPT画图,如何用Visio转化为pdf,且无白边
pdf·powerpoint
云只上6 小时前
解决Luckysheet在线预览编辑Excel、PDF.....无法在同一个界面创建多个luckysheet实列问题
pdf
inxunoffice7 小时前
批量给 PDF 添加页眉页脚以及页码信息
前端·javascript·pdf
学c真好玩8 小时前
4.1-python操作wrod/pdf 文件
开发语言·python·pdf
绘绘~8 小时前
软考-数据库系统工程师第四版pdf
pdf·软考·数据库系统工程师
nzz_17121411 小时前
puppeteer+express服务端导出页面为pdf
pdf·express
inxunoffice20 小时前
批量给 PDF 添加或删除密码保护,支持设置打开密码、只读密码、限制复制和打印
运维·服务器·pdf
inxunoffice20 小时前
批量清空或者删除 PDF 文档中作者、创建程序、修改时间等元数据
pdf