News

Adding a section to a docx document with PHPDocX

  • 06/06/2011

This information is outdated, please, refer to the addSection documentation for up to date info. Creating a section with PHPdocx is now very easy. You may just use the code below with the obvious m...

Read More

How to include a chart in a Word template with PHPDocX

  • 06/06/2011

You may replace a placeholder variable by a chart within a Word document with the help of the PHPDocX addTemplate variable method. An example follows where the placeholder variable 'PIECHART' is rep...

Read More

Getting the PHPDocX template variables from a Word template

  • 06/06/2011

When using a Word template in PHPDocX you may need at certain point to get a list of all its placeholder variables. You can recover, with the help of the getTemplateVariables method, all template va...

Read More

Replacing variables in a PHPdocx Template

  • 06/06/2011

You can create Word templates with placeholder variables that will be replace later by PHPDocX with real data. For example, you can use the addTemplateVariable method as follows to replace variables...

Read More

Multiple columns layout with PHPdocx

  • 06/06/2011

This information is outdated, please, refer to the modifyPageLayout method documentation for up to date info. Do you need to create a Word document with more than a single column per page? You can...

Read More