NAME

Mail::Message::Convert::HtmlFormatPS - Convert HTML into PostScript

CLASS HIERARCHY

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.

METHOD INDEX

Methods prefixed with an abbreviation are described in Mail::Reporter (MR), Mail::Message::Convert (MMC).

The general methods for Mail::Message::Convert::HtmlFormatPS objects:

MR errors                            MR report [LEVEL]
   format BODY                       MR reportAll [LEVEL]
MR log [LEVEL [,STRINGS]]            MR trace [LEVEL]
   new OPTIONS                       MR warnings

The extra methods for extension writers:

MR AUTOLOAD                          MR logSettings
MR DESTROY                           MR notImplemented
MR inGlobalDestruction              MMC selectedFields HEAD
MR logPriority LEVEL

METHODS

new OPTIONS

Options defined by Mail::Box:

OPTION      DESCRIBED IN            DEFAULT
fields      Mail::Message::Convert  <no used>
log         Mail::Reporter          'WARNINGS'
trace       Mail::Reporter          'WARNINGS'

Furthermore, options which start with capitals are passed to HTML::FormatPS directly. As of this writing, that package defines BottomMargin, FontFamily, FontScale, HorizontalMargin, Leading, LeftMargin, PageNo, PaperHeight, PaperSize, PaperWidth, RightMargin, TopMargin, and VerticalMargin.

format BODY

Pass an html/xhtml encoded body, and a plain text body is returned. Characters are translated into Latin1.

SEE ALSO

Mail::Box-Overview

For support and additional documentation, see http://perl.overmeer.net/mailbox/

AUTHOR

Mark Overmeer (mailbox@overmeer.net). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

VERSION

This code is beta, version 2.017.

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.