News

PHPDocX - the basics

  • May 03, 2011

If you are new to PHPDocX, there are some things that never change when you create a .php document that will generate a .docx document. There are the basics that you should never forget. you always...

Read More

Images on templates with PHPDocX

  • May 03, 2011

Learn to change a picture or photo in a template with PHPdocx. In this example we show you how simple it is with PHPDocX to include photos in a document template at “run time”. One may need to sho...

Read More

How 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

Headers and Footers in PHPdocx

  • May 03, 2011

Oftentimes it is necessary to put vital information about your document either at the top of the page, at the bottom of the page, or a combination of both. While you can easily enter things such as do...

Read More

Specify a language for a docx document in PHPdocx

  • May 03, 2011

Sometimes you need to create a document with different language that meet your needs. For change it, you need to add a property that define the language of the document with setLanguage. This is an...

Read More