Use php to convert office files such as word to pdf format

Source: Internet
Author: User
I have been using php to convert office files such as word to the pdf format and have not found it for a long time. Currently, it seems that only two solutions are available,

1. the ms com component can only be used on the win server,
2. I am not familiar with openoffice. it seems that I want to install openoffice,

But I don't have to do anything if I'm a rented server.


Reply to discussion (solution)

Http://developer.51cto.com/art/200912/168346.htm

Http://stackoverflow.com/questions/5538584/convert-word-doc-docx-and-excel-xls-xlsx-to-pdf-with-php

Http://developer.51cto.com/art/200912/168346.htm


This is the use of openoffice. the comments below are not available and I have tried it.

I have also tried converting PDF files in PHP, and I have only tried PDF converting in VB. NET and PDF converting in C #. NET. who can share this code? thank you in advance!

Is there any plug-in recommendation for pdf to png conversion and pdf to bmp conversion? Will all the trial versions be watermarked?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.