News

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

Creating a 3D pie chart with PHPDocX

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

Creating and adding info to a template table in PHPdocx

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

Styling a table with PHPdocx

  • Jun 06, 2011

This information is outdated, please, refer to the addTable method documentation for up to date info. Do you need to insert a sophisticated table into your Word document? You can get a hint about ho...

Read More

Adding HTML to a docx document created with PHPdocx

  • Jun 06, 2011

This information is outdated, please, refer to the HTML to Word documentation for up to date info. Add HTML to a docx document with PHPDocX is easy. In this example you can see how to add some HTML...

Read More