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 MoreCreating 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 MoreAdding HTML to a docx document using PHPDocX
- Jun 06, 2011
If you want to find more detailed info about the different posible ways to add HTML to your Word document, please, refer to the HTML to Word section of our API documentation. If you need to embed som...
Read MoreHow to include a chart in a Word template with PHPDocX
- Jun 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 MoreGetting the PHPDocX template variables from a Word template
- Jun 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