文档格式转换API
我正在寻找一个 RESTful Web 服务,我可以向该服务发送文档(至少是 doc、docx、xls、xlsx、ppt、pptx 和 tiff)以转换为 pdf 和 swf。
除了 pfd 之外,我还需要 swf 的原因是这样我可以使用基于 flash 的文档查看器(例如 FlexPaper。
我基本上想要 transloadit.com 来获取文档。
一种选择是使用 Scribd API,下载 pdf,然后使用 swftools 将 pdf 转换为swf。不过我对替代方案很感兴趣。
I am looking for a RESTful web service to which I can send a document (doc, docx, xls, xlsx, ppt, pptx, and tiff at a minimum) for conversion to pdf and swf.
The reason I need swf in addition to pfd is so that I can display the document in the browser using a flash-based document viewer such as FlexPaper.
I basically want transloadit.com for documents.
One option is to use the Scribd API, download the pdf, and use swftools to convert the pdf to swf. However I am interested in alternatives.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
doxument.com 可能就是您要找的。他们确实提供某种 REST API。但我不确定格式。
doxument.com might be what you looking for. They do offer some kind of REST API. I'm not sure about the formats though.
我正在 http://webservices.io 上进行开发,该版本处于测试阶段,并通过 REST API 提供文档转换。
虽然它也不能完成您要求的所有转换,但它确实具有 docx 和 xlsx 支持。请参阅支持转换的矩阵
I am developing on http://webservices.io which is in beta and offers document conversion via a REST API.
While it also doesn't do all the conversions you are asking for, it does have docx and xlsx support. See matrix with supported conversions
Aspose 库是最好的 http://www.aspose.com/ 使用它来创建您自己的服务
Aspose library is best of the best http://www.aspose.com/ Use it for create your own service
虽然这是一个老问题,但只是想分享另一个解决方案以供将来参考。
GroupDocs.Conversion Cloud REST API 是另一种在超过 65 种以上类型的文档之间来回转换的选项图像,包括所有 Microsoft Office 和 OpenDocument 文件格式、PDF 文档、HTML、CAD、光栅图像等。
cURL 示例代码:
我作为开发人员传播者与 Aspose 合作。
Although it's an old question, however just want to share another solution for future reference.
GroupDocs.Conversion Cloud REST API is another option to convert back and forth between over 65+ types of documents and images, including all Microsoft Office and OpenDocument file formats, PDF documents, HTML, CAD, raster images and much more.
cURL sample Code:
I work with Aspose as developer evangelist.