20 Apr 2014 15:08:27 UTC
- Distribution: RTF-Parser
- Module version: 1.12
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (6)
- Testers (563 / 3 / 0)
- KwaliteeBus factor: 1
- 70.30% Coverage
- License: perl_5
- Activity24 month
- Download (42.21KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionSARGIE Peter Sergeantand 1 contributors
- Peter Sergeant
Deprecated.The maintainer of this distribution has indicated that it is deprecated and no longer suitable for use.
- JUST SO YOU KNOW
RTF::HTML::Converter - Perl extension for converting RTF into HTML
Perl extension for converting RTF into HTML
use strict; use RTF::HTML::Converter; my $object = RTF::HTML::Converter->new( output => \*STDOUT ); $object->parse_stream( \*RTF_FILE );
use strict; use RTF::HTML::Converter; my $object = RTF::HTML::Converter->new( output => \$string ); $object->parse_string( $rtf_data );
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 HTML will end up.
Read RTF in from a filehandle, and start processing it. Pass me a reference to a filehandle.
Read RTF in from a string, and start processing it. Pass me a string.
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...
email@example.com, originally by Philippe Verdret
Copyright 2004 Pete Sergeant.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This work was carried out under a grant generously provided by The Perl Foundation - give them money!