PHP Classes

RTF Generator: Create RTF documents from HTML

Recommend this page to a friend!

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This is a class for creating RTF document files from HTML.

RTF is a popular rich text format meant for interchange of documents between any word processor program.

The class parses and converts to RTF various HTML tags, such as:

<strong>, <em>, <u>, <strike>, <ul>, <li>, <br>, <p>, <h1>, <h2>, <h3>

An example script is included to implement a Web based WYSIWYG editor that saves documents in RTF format.

  Author Author  
Picture of Thomas Graham
Name: Thomas Graham <contact>
Classes: 2 packages by
Country: United Kingdom
Age: 37
All time rank: 675 in United Kingdom
Week rank: 180 Down7 in United Kingdom Down
Innovation award
Innovation award
Nominee: 2x

  Classes of Thomas Graham  >  RTF Generator  >  Download Download .zip .tar.gz  >  Support forum Support forum (15)  >  Blog Blog  
Name: RTF Generator
Base name: rtfgenerator
Description: Create RTF documents from HTML
Version: 1.0.0
PHP version: -
License: GNU General Public License (GPL)
All time users: 19150 users
All time rank: 39
Week users: 1 user
Week rank: 158 Down
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
August 2004
Number 3


Prize: One book of choice by SAMS
RTF is a rich text document format used by many word processing programs for interchange of documents. RTF documents can be read by most word processing programs.

This class provides a solution for generating RTF documents from formatted text definition based on a subset of HTML tags making it possible to generate documents that can be read, edited or printed in many different platforms.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (66%) Sufficient (67%) - Not sure (57%) - - Not sure (45%) 2700
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Plain text file class_rtf.php Class The class source file
Accessible without login Plain text file getrtf.php Example Example of class use
Accessible without login HTML file index.html Example Form example
Accessible without login Plain text file rtf_config.php Conf. Default config file
Accessible without login Plain text file source_rtf.php Conf. Source file

Install with Composer Install with Composer - Download Download all files: rtfgenerator.tar.gz rtfgenerator.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
  Files folder image Files  
File Role Description
Plain text file class_rtf.php Class The class source file
Accessible without login Plain text file getrtf.php Example Example of class use
Accessible without login HTML file index.html Example Form example
Accessible without login Plain text file rtf_config.php Conf. Default config file
Accessible without login Plain text file source_rtf.php Conf. Source file

Install with Composer Install with Composer - Download Download all files: rtfgenerator.tar.gz rtfgenerator.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.