News

Two charts in a docx document with PHPdocx

  • May 04, 2011

In this example we add a couple of charts inside a docx documents. The process for adding a chart in PHPdocx is simple: first you need to define the labels and info, next you define how will be the ch...

Read More

Nested Lists in PHPdocx

  • May 04, 2011

If you need to create a nested list (a list inside a list) is not complicated, just take a look at this code: require_once '../../classes/CreateDocx.inc'; $docx = new CreateDocx(); // Par...

Read More

Text with different styles in the same paragraph in a docx document with PHPdocx

  • May 04, 2011

In a text documents, one paragraph maybe need different format for a phrase, or a complete text. PHPfocx can handle this situation using properties for every different text. require_once('../../c...

Read More

How to generate a dynamical table with a PHPDocX Word template

  • May 04, 2011

Very often we receive questions about how to generate dinamically a table with the help of a Word template. One should first generate a docx document with a table that contains the required placehol...

Read More

Add page breaks in a docx document with PHPDocX

  • May 04, 2011

This information is outdated, please, refer to the addBreak documentation for up to date info. Need to jump to another page? use a page break! Wtih his code you will learn how to insert a page brea...

Read More