SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

RTF::TEXT::Converter

Section: User Contributed Perl Documentation (3)
Updated: perl v5.6.1
Index 

NAME

RTF::TEXT::Converter - Perl extension for converting RTF into text 

DESCRIPTION

Perl extension for converting RTF into text 

SYNOPSIS

        use strict;        use RTF::TEXT::Converter;
        my $object = RTF::TEXT::Converter->new(
                output => \*STDOUT
        );
        $object->parse_stream( \*RTF_FILE );
OR

        use strict;        use RTF::TEXT::Converter;
        my $object = RTF::TEXT::Converter->new(
                output => \$string
        );
        $object->parse_string( $rtf_data );
 

METHODS

 

new()

Constructor method. Currently takes one named parameter, "output",which can either be a reference to a filehandle, or a reference toa string. This is where our text output will end up. 

parse_stream()

Read RTF in from a filehandle, and start processing it. Pass mea reference to a filehandle. 

parse_string()

Read RTF in from a string, and start processing it. Pass me a string. 

JUST SO YOU KNOW

You can mix-and-match your output and input methods - nothing to stopyou outputting to a string when you've read from a filehandle... 

AUTHOR

Peter Sergeant "rtf.parserAATTclueball.com", originally by Philippe Verdret 

COPYRIGHT

Copyright 2004 Pete Sergeant.

This program is free software; you can redistribute it and/or modify it underthe same terms as Perl itself. 

CREDITS

This work was carried out under a grant generously provided by The Perl Foundation -give them money!


 

Index

NAME
DESCRIPTION
SYNOPSIS
METHODS
new()
parse_stream()
parse_string()
JUST SO YOU KNOW
AUTHOR
COPYRIGHT
CREDITS

This document was created byman2html,using the manual pages.