Sample scripts

New feature: Merged cells
Merging the cells of document table.
Merged_cells.php   Source code

Hello World

Here is a sample of creating simple rtf document “HelloWorld”.
Hello_world.php   Source code

Document sections

Creating rtf document with sections. Sections have different sizes, borders, headers and footers.
Document sections.php   Source code

Paragraphs and fonts

Formating paragraphs, fonts, hyperlinks and using html style tags in PhpRtf.
Paragraps and fonts.php   Source code

Paragraphs in tables

Sample shows how paragraphs are used in tables.
Paragraphs in tables   Source code

Images

Sample of inserting images into rtf document.
Images.php   Source code

Chess tournament

“Chess tournament” shows how to create and format tables int rtf document.
Chess tournament.php   Source code

Use UTF-8

Sample shows how to insert resources encoded utf-8 into rtf documents.
use_utf8.php   Source code