News

Draw lines with PHPdocx 2.3

  • Jun 06, 2011

This information is outdated, please, refer to the adShape documentation for up to date info. Do you need to draw a line into your Word document? You can easily do it witf PHPDocX using this code:...

Read More

Creating a bar chart in a docx document with PHPDocX

  • Jun 06, 2011

Creating a Bar Chart is easy: you just have to pass as parameters to the addChart the data array, the type as 'colChart' as well as some additional formating data. Sample code: require_once '.....

Read More

Replacing images in a Word template with PHPdocx

  • Jun 06, 2011

This information is outdated, please, refer to the addTemplateImage method documentation for up to date info. You may create a template with placeholder images that may be later replaced by other one...

Read More

Insert an external Word document into your Word template

  • Jun 06, 2011

You may replace a single template variable within your Word template by the contents of a full docx document with just one single line of code and the help of the addTemplatevariable method:...

Read More

Creating a Report using PHPdocx

  • Jun 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