News

Nested Lists in PHPdocx

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

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

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

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

Creating a Table of Contents in a docx document with PHPdocx

  • 05/04/2011

This information is outdated, please, refer to the addTableContents documentation for up to date info. A table of contents, or TOC, is usually an order list of chapters and subchapters that simplify...

Read More