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

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

Creating sections in docx documents with PHPdocx

  • May 04, 2011

Word processors uses section breaks to specify parts of a document that have different page orientation, columns, or headers and footers. Section breaks allow the user to specify where the different f...

Read More