The main purpose of the script
    

The main purpose of the class is generating RTF files, which are compatible with the most popular office packet - Microsoft Office. In my practice I often had situations, when there was a need of some application which could form certain information in a format, which could be easily downloaded from internet server and then opened by any internet user in Microsoft Word. So, this script appeared…


Technical information
    

This script is written in PHP and uses no additional components (plugins or else). It works on Unix or Win32 platforms and require only PHP installed. As there is no plugins required for the script to work, it could be easily installed on server, or even be used in a local network to create some reports, or anything else.

The script uses special markup language which is HTML-based but not HTML itself. The language is very flexible and allow to create perfect-looking documents as there are a lot of options available to control document look.

With this script it is possible to create very complicated tables having full control over their look at the same time. It is possible to merge cells, change background color, control width and height of the cells.

The script supports images (.JPG and .PNG) which could be inserted into your RTF document. Besides it supports multiple pages layout with page numbering, headers and footers.