04
Nov
Written by: Jonathan Maron.

There are applications in which thousands of populated templates need to be concatenated into one PDF file. Consider, for example, the case of a telephone company, wishing to generate an invoice for all its customers. Such a scenario can be split up into two separate and distinct processes: invoice generation and invoice printing. LiveDocx is [...]

13
Aug
Written by: Jonathan Maron.

As of phpLiveDocx 1.2, it is possible to generate documents in XHTML 1.0 Transitional. Thus, you can now convert any supported template file format (DOCX, DOC and RTF) to XHTML. Consider the following example (discussion under the code): 1 2 3 4 5 6 7 8 9 10 11 12 13 14 $mailMerge = new [...]

12
Aug
Written by: Jonathan Maron.

Another useful feature of phpLiveDocx 1.2, is the ability to append one document to another. All you have to do is assign multiple sets of data to phpLiveDocx, in the form of a multi-depth associative array (see below). Each sub array (see set 1, set 2 etc.) is used to to create one document. Each [...]