LiveDocx is a SOAP service that allows developers to generate word processing documents by combining structured data from PHP with a template, created in a word processor. The resulting document can be saved as a PDF, DOCX, DOC, HTML or RTF file. LiveDocx implements mail-merge in PHP.
The family of
Zend_Service_LiveDocx components provides a clean
and simple interface to the LiveDocx API
and additionally offers functionality to improve network performance.
In addition to this section of the manual, if you are interested in learning more about
Zend_Service_LiveDocx and the backend SOAP
service LiveDocx, please take a look at the following resources:
Shipped demonstration applications. There are a large number of demonstration applications in the directory /demos/Zend/Service/LiveDocx of the Zend Framework distribution file or trunk version, checked out of the standard SVN repository. These are designed to get you up to speed with
Zend_Service_LiveDocxwithin a matter of minutes.
Before you can start using LiveDocx, you must first sign up for an account. The account is completely free of charge and you only need to specify a username, password and e-mail address. Your login credentials will be dispatched to the e-mail address you supply, so please type carefully.
LiveDocx differentiates between the following terms: 1) template and 2) document. In order to fully understand the documentation and indeed the actual API, it is important that any programmer deploying LiveDocx understands the difference.
The term template is used to refer to the input file, created in a word processor, containing formatting and text fields. You can download an example template, stored as a DOCX file. The term document is used to refer to the output file that contains the template file, populated with data - i.e. the finished document. You can download an example document, stored as a PDF file.
LiveDocx supports the following file formats:
Templates can be saved in any of the following file formats:
The resulting document can be saved in any of the following file formats:
Images can be merged into templates in any of following file formats:
The resulting document can be exported to any of the following graphical file formats: