News

PHPDocX - the basics

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

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

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

Create a PDF with PHPdocx

  • 05/03/2011

Warning This post is outdated. For up date information about creating PDF documents please refer to the Conversion plugin tutorial documentation. PHPdocx can create PDF when the .do...

Read More

Working with templates: inserting multiline text with PHPDocX

  • 05/03/2011

Time to play with templates! PhPDocX allows to modify an existing Word template. You may create a working template by copying and pasting the following text in a docx document: You may, for...

Read More