News

Draw lines with PHPdocx 2.3

  • 06/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

  • 06/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

Creating a 3D pie chart with PHPDocX

  • 06/06/2011

Creating a Pie Chart is easy: you just have to pass as parameters a data array, the type (pie3DChart for this particular example) and some additional formatting info (like size, alignment, ...). Sam...

Read More

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