PHPOffice / PHPWord

A pure PHP library for reading and writing word processing documents
https://phpoffice.github.io/PHPWord/
Other
7.26k stars 2.69k forks source link

docx, xlsx to pdf conversion #894

Open whimsicaldreamer opened 8 years ago

whimsicaldreamer commented 8 years ago

Is it possible to convert any office file such as doc, docx, xls, xls to pdf with this lib?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37950358-docx-xlsx-to-pdf-conversion?utm_campaign=plugin&utm_content=tracker%2F323108&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F323108&utm_medium=issues&utm_source=github).
DotAmzi commented 8 years ago

Not's possible, only open and write office and pdf files. Docx to PDF, do manually using library.

whimsicaldreamer commented 8 years ago

Which library??

DotAmzi commented 8 years ago

Phpword, you use to read docx and after convert to pdf. Manually.

NimzyMaina commented 8 years ago

Could you maybe give an example or a link of how to do so manually.