News
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 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 MoreAdding a section to a docx document with PHPDocX
- Jun 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 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