NAME
Mail::Message::Convert::HtmlFormatPS - Convert HTML into PostScript
CLASS INHERITANCE
Mail::Message::Convert::HtmlFormatPS is a Mail::Message::Convert is a Mail::Reporter
SYNOPSIS
use Mail::Message::Convert::HtmlFormatPS;
my $af = Mail::Message::Convert::HtmlFormatPS->new;
my $postscript = $af->format($body);
DESCRIPTION
Translate an HTML/XHTML message body into a postscript body using the HTML::FormatPS package.
METHODS
Initiation
- new OPTIONS
-
OPTIONS which start with capitals are blindly passed to HTML::FormatPS. As of this writing, that package defines BottomMargin, FontFamily, FontScale, HorizontalMargin, Leading, LeftMargin, PageNo, PaperHeight, PaperSize, PaperWidth, RightMargin, TopMargin, and VerticalMargin.
OPTION DEFAULT fields <not used> log 'WARNINGS' trace 'WARNINGS'
Converting
- format BODY
-
Pass an html/xhtml encoded body, and a plain text body is returned. Characters are translated into Latin1.
- selectedFields HEAD
-
See Mail::Message::Convert::selectedFields()
Logging and Tracing
- defaultTrace [LEVEL, [LEVEL]
-
See Mail::Reporter::defaultTrace()
- errors
-
See Mail::Reporter::errors()
- log [LEVEL [,STRINGS]]
-
See Mail::Reporter::log()
- report [LEVEL]
-
See Mail::Reporter::report()
- reportAll [LEVEL]
-
See Mail::Reporter::reportAll()
- trace [LEVEL]
-
See Mail::Reporter::trace()
- warnings
-
See Mail::Reporter::warnings()
Other Methods
- AUTOLOAD
-
See Mail::Reporter::AUTOLOAD()
- DESTROY
-
See Mail::Reporter::DESTROY()
- inGlobalDestruction
-
See Mail::Reporter::inGlobalDestruction()
- logPriority LEVEL
-
See Mail::Reporter::logPriority()
- logSettings
-
See Mail::Reporter::logSettings()
- notImplemented
-
See Mail::Reporter::notImplemented()
SEE ALSO
A good start to read is Mail::Box-Overview. More documentation and a mailinglist are available from the project's website at http://perl.overmeer.net/mailbox/.
AUTHOR
Mark Overmeer (mark@overmeer.net) with the help of many.
VERSION
This code is beta, version 2.025.
Copyright (c) 2001-2002 Mark Overmeer. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.