News

Adding HTML to a template variable in PHPDocX

  • Jun 06, 2011

Like add the contents of a docx document, you can add HTML in a variable of a template. You don't need to call a document, ut ad this HTML manually or using other import functions. Here is the code:...

Read More

PHPdocx 2.3 release notes

  • Jun 03, 2011

It is available for download (or update) the new version of PHPDocX. PHPDocX PRO 2.3 comes with lots of new features and options. Some of them have been requested while othershave been simply develope...

Read More

Simple example: how to use text in italics

  • Jun 03, 2011

This information is outdated, please, refer to the addText documentation for up to date info. Do you need to write some text in italics? Here it goes: require_once '../../classes/CreateDocx.in...

Read More

Line spacing

  • Jun 03, 2011

Since PHPdocx 2.3 it is posible to control the line spacing of a paragraph. Now you can select the space between lines using the 'lineSpacing' on the code. 240 is the value that Word uses to define...

Read More

Custom Bullets with PHPDocX

  • Jun 03, 2011

This information is outdated, please, refer to the addList documentation for up to date info. Do you need custom bullets? In PHPDocX 2.3 we add support for spot, square and empty spot bullets in al...

Read More