News

Inserting a RFT document into your Word template

  • 06/06/2011

You may replace a single Word template variable by a full RTF document with the help of the addTemplateVariable method: require_once '../../classes/CreateDocx.inc'; $docx = new CreateDoc...

Read More

Creating and adding info to a template table in PHPdocx

  • 06/06/2011

If you have a template with a table, you can pass parameteres and info to it. For the code, use a template like this: Use this code: require_once '../../classes/CreateDocx.inc'; $doc...

Read More

Multiple custom documents with PHPdocx

  • 06/06/2011

This information is outdated, please, refer to the PHPDocX API documentation for up to date info. Do you want multiple and name-customized documents from only one code? This example shows you how to...

Read More

Add a footnote to a chart in a Word document with PHPdocx

  • 06/06/2011

This information is outdated, please, refer to the addFootnote and addText documentation for up to date info. In you want to add a chart (pie, bars) in PHPdocx is easy. There are several blog posts...

Read More

Creating a Report using PHPdocx

  • 06/06/2011

This is an advanced example of how to use PHPdocx to create a complete Report. The code is commented to make easy to understand how it works: require_once '../../classes/CreateDocx.inc'; $do...

Read More