Login   Register  
PHP Classes
elePHPant
Icontem

RTF Generator

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

  Author  
Picture of Thomas Graham
Name: Thomas Graham <e-mail contact>
Packages: 2 Browse all classes by Thomas Graham Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: 27
All time rank: 645 in United Kingdom United Kingdom
Week rank: 99 Down6 in United Kingdom United Kingdom Down
Innovation award
Innovation award
Nominee: 2x


  Detailed description   Download .zip .tar.gz  
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 .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: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 17395 users
All time rank: 37
Week users: 18 users
Week rank: 78 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  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (66.7%)
Sufficient (67.6%)
-
Not sure (56.5%)
-
-
Not sure (45.7%)
1795
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
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

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.