Any tools/libraries to convert ppt and pdf files to flash swf on server side?

假如想象 提交于 2019-12-22 00:08:45

问题


I'm building a pet project which needs to convert pdf and ppt files to flash swf files on the server side. This should look similar to what Scribd, Docstoc or Slideshare these websites do. But after some googling, I couldn't find any open source tools or libraries to do this except the OpenOffice wrapper. So I'm wondering how those websites do it or maybe there are some tools/libraries I don't know?

Thanks,

Wei


回答1:


Convert your ppts into pdfs. And then use swftools for converting pdf (using openoffice, you can use uno bridge, which is available in C, C++, python, java, for automating the whole pdf conversion)) into swf. Its an open source library and it is damn good.




回答2:


Maybe you could convert from PPT to JPEG and then replay the slideshow, but that would be without the animations and special effects... take a look at http://poi.apache.org/




回答3:


Why not just use the scribd API to upload your file, and embed the scribd file in your site?




回答4:


I wrote something similar a while ago. It's not pretty - I used open office to convert the ppt files to pdf, then used imagemagick to convert the pdf files to images, then wrote a flash player to display the images.



来源:https://stackoverflow.com/questions/886144/any-tools-libraries-to-convert-ppt-and-pdf-files-to-flash-swf-on-server-side

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!