GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  RTF::TEXT::CONVERTER (3)

.ds Aq ’

NAME

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

CONTENTS

VERSION

version 1.12

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 to a string. This is where our text output will end up.

parse_stream()

Read RTF in from a filehandle, and start processing it. Pass me a 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 stop you outputting to a string when you’ve read from a filehandle...

AUTHOR

Peter Sergeant pete@clueball.com, originally by Philippe Verdret

COPYRIGHT

Copyright 2004 <B>Pete SergeantB>.

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

CREDITS

This work was carried out under a grant generously provided by The Perl Foundation - give them money!
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 RTF::TEXT::CONVERTER (3) 2014-04-20

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.