Login   Register  
PHP Classes
elePHPant
Icontem

RTF Generator: Create RTF documents from HTML

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Thomas Graham
Name: Thomas Graham <contact>
Classes: 2 packages by
Country: United Kingdom United Kingdom
Age: 28
All time rank: 665 in United Kingdom United Kingdom
Week rank: 187 Down10 in United Kingdom United Kingdom Down
Innovation award
Innovation award
Nominee: 2x


  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.

  Classes of Thomas Graham  >  RTF Generator  >  Download Download .zip .tar.gz  >  Support forum Support forum (14)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
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: 18004 users
All time rank: 37
Week users: 8 users
Week rank: 179 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 (56%) - - Not sure (45%) 1891
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.