Written by: Jonathan Maron. Stored in: Templates.

Using phpLiveDocx, it is possible to populate template files, containing text fields, with data from disparate data sources (such as XML files, databases etc).

The resulting word processing document can be saved in any supported format.

Supported template file formats (input)

  • DOCX – Office Open XML Format
  • DOC – Microsoft Word DOC Format
  • RTF – Rich Text Format
  • TXD – TX Text Control Format

Supported document file formats (output)

  • DOCX – Office Open XML Format
  • DOC – Microsoft Word DOC Format
  • HTML – XHTML 1.0 Transitional Format
  • RTF – Rich Text Format
  • PDF – Acrobat Portable Document Format
  • TXD – TX Text Control Format
  • TXT – ANSI Plain Text

Supported image file formats (output)

  • BMP – Bitmap Image Format
  • GIF – Graphics Interchange Format
  • JPG – Joint Photographic Experts Group Format
  • PNG – Portable Network Graphics Format
  • TIFF – Tagged Image File Format
  • WMF – Windows Meta File Format

This information is also available programmatically. This post illustrates how.

The phpLiveDocx project and the backend service LiveDocx differentiate between the terms template and document. For details, please see this post.

3 Responses to “Supported file formats in phpLiveDocx”

  1. LiveDocx 1.2 has been released Says:

    [...] are appended to one another to become one (possibly very long) document, which can be saved to any supported format. This new feature is especially useful for scenarios, such as label printing and voucher or [...]

  2. Generate bitmap image files in phpLiveDocx 1.2 Says:

    [...] addition to the supported document file formats, phpLiveDocx 1.2 can now save documents as BMP, GIF, JPG, PNG and [...]

  3. Convert DOCX, DOC & RTF to HTML in PHP Says:

    [...] possible to generate documents in XHTML 1.0 Transitional. Thus, you can now convert any supported template file format (DOCX, DOC and RTF) to [...]

Leave a Reply