6

Aspose 系列和 Spire 系列, pdf2word 到底哪个强?有了解的吗?

 2 years ago
source link: https://www.v2ex.com/t/849126
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  程序员

Aspose 系列和 Spire 系列, pdf2word 到底哪个强?有了解的吗?

  bihui · 15 小时 6 分钟前 · 587 次点击

为了做一些 pdf 和 word 文档转换之类的工作,需要买控件, 不知道哪个好一些,

有了解的大佬吗,谢谢

11 条回复    2022-04-25 22:23:37 +08:00

wedfds

wedfds      14 小时 41 分钟前

金山 wps

thewiredguy

thewiredguy      14 小时 12 分钟前

根据我的测试来看(样本比较少) WPS 的效果是最好的,Aspose 效果不如 WPS 。Spire 没试过。

Jekins

Jekins      14 小时 5 分钟前

@thewiredguy Java 这边能直接通过 wps 转换??

chenuu

chenuu      13 小时 26 分钟前

Aspose

leeg810312

leeg810312      12 小时 23 分钟前

@thewiredguy 看着 op 是要用厂商的 api 开发转换功能,我也一直在找 aspose 和 spire 以外的开发组件,wps 有这样的 api 吗?

unco020511

unco020511      11 小时 58 分钟前

我司(wps)有这样的 api,但不是完全开放的,需要与商务沟通
https://open.wps.cn/docs/file-convert/AccessKnow

文档转换服务
转换服务提供将 Word/Excel/PPT 文档转换成 PDF/图片 /txt 格式文件的功能。

转换服务 Demo 体验
PDF 在线转换为 Word 、Excel 、PPT 、图片能力,不在本服务范围,如需申请此能力请加 WPS 合作商务 QQ:2033519501 咨询。

ye4241

ye4241      11 小时 46 分钟前   ❤️ 1

Apose 兼容性相对来说较强。
但是我建议楼主换个思路,装 Windows 服务器,然后安装 Office ,通过 COM 来调用 Office 的接口实现转换,这样子成本个人感觉是最低的,而且兼容性也是最强的。
同理,也能用来做一些线上的后台二次编辑导出更多格式的工作的。

VeryZero

VeryZero      10 小时 19 分钟前

office2pdf 我最近也在搞。jodconverter+OpenOffice+pdfbox 效果还不错。

反向的就不知道了。

sundev

sundev      8 小时 38 分钟前

赞同 #7 ,我们现在就是这么搞的
其他方案都可以不用考虑

leeg810312

leeg810312      5 小时 35 分钟前 via Android

@ye4241 Windows 服务器,是 win10 当服务器,还是 Windows server ?

ye4241

ye4241      5 小时 25 分钟前

@leeg810312 Windows 10 或者 Windows Server 均可,都能调用 COM 的(常规建议.NET 来搞,非要用其他语言也不是不行),也都能安装 Office 。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK