News
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 MoreAdd 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 MorePHPDocX Templates and Charts
- May 04, 2011
One of the coolest options of PHPDocX PRO is the use of templates. You cand add a placeholder variable to a docx document and replace it later with different type of elements, including chart. For e...
Read MoreCreating 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 MoreHow to mark a document as final in PHPdocx
- May 03, 2011
If you need to mark a document as final, simply add one extra line at your code to mark it ($docx->setMarkAsFinal();) This is an example of how to do it. require_once '../../classes/CreateDoc...
Read More
