13
Jan
Written by: Jonathan Maron. Stored in: Documents, Templates.

The phpLiveDocx project and the backend service LiveDocx differentiate 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 phpLiveDocx understands the difference.

Template

The term template is used to refer to the input file, containing formatting and text fields. You can download an example template, stored as a DOCX file.

Document

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.

2 Responses to “Template vs document – what’s the difference?”

  1. Thorsten Franke Says:

    I can’t open the example template with either Microsoft Word 2003 or OpenOffice3….

  2. Björn Meyer Says:

    Hello Thorsten

    The sample template is a DOCX file (Open Office XML). Did you install the compatibility pack from Microsoft?

    Download the Office compatibility pack that lets Word 2003 open and save files in Office Open XML docx format:

    http://www.microsoft.com/downloads/details.aspx?familyid=941B3470-3AE9-4AEE-8F43-C6BB74CD1466&displaylang=en

Leave a Reply