PHP Classes
elePHPant
Icontem

File: examples/texter/texter.php

Recommend this page to a friend!
  Classes of Christian Vigh  >  PHP RTF Tools  >  examples/texter/texter.php  >  Download  
File: examples/texter/texter.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP RTF Tools
Parse and generate RTF documents using templates
Author: By
Last change: Modified the RtfDocument source to include the SearchableFile class, so that scripts will have to include only one file. Modified the examples accordingly
Date: 3 years ago
Size: 498 bytes
 

 

Contents

Class file image Download
<?php
   
/****************************************************************************************************
     *
     * This script demonstrates the Rtf text extraction capabilities of the RtfTexter classes
     * (RtfStringTexter or RtfFileTexter).
     *
     ****************************************************************************************************/

   
include ( '../../sources/RtfTexter.phpclass' ) ;

   
$texter = new RtfFileTexter ( 'sample.rtf' ) ;
    echo
$texter -> AsString ( ) ;