1Mail::Message::Convert:U:sHetrmlCFoonrtmraitbPuSt(e3d)PMearill:D:oMceusmseangtea:t:iCoonnvert::HtmlFormatPS(3)
2
3
4
6 Mail::Message::Convert::HtmlFormatPS - Convert HTML into PostScript
7
9 Mail::Message::Convert::HtmlFormatPS
10 is a Mail::Message::Convert
11 is a Mail::Reporter
12
14 use Mail::Message::Convert::HtmlFormatPS;
15 my $af = Mail::Message::Convert::HtmlFormatPS->new;
16
17 my $postscript = $af->format($body);
18
20 Converters between message objects
21 Other converters
22 Translate an HTML/XHTML message body into a postscript body using
23 HTML::FormatPS.
24
26 Constructors
27 Mail::Message::Convert::HtmlFormatPS->new(OPTIONS)
28 OPTIONS which start with capitals are blindly passed to
29 HTML::FormatPS. As of this writing, that package defines
30 BottomMargin, FontFamily, FontScale, HorizontalMargin, Leading,
31 LeftMargin, PageNo, PaperHeight, PaperSize, PaperWidth,
32 RightMargin, TopMargin, and VerticalMargin.
33
34 -Option--Defined in --Default
35 fields Mail::Message::Convert <not used>
36 log Mail::Reporter 'WARNINGS'
37 trace Mail::Reporter 'WARNINGS'
38
39 fields => NAMES|ARRAY-OF-NAMES|REGEXS
40 log => LEVEL
41 trace => LEVEL
42
43 Converting
44 $obj->format(BODY)
45 Pass an html/xhtml encoded body, and a plain text body is returned.
46 Characters are translated into Latin1.
47
48 $obj->selectedFields(HEAD)
49 See "Converting" in Mail::Message::Convert
50
51 Error handling
52 $obj->AUTOLOAD
53 See "Error handling" in Mail::Reporter
54
55 $obj->addReport(OBJECT)
56 See "Error handling" in Mail::Reporter
57
58 $obj->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK])
59 Mail::Message::Convert::HtmlFormatPS->defaultTrace([LEVEL]|[LOGLEVEL,
60 TRACELEVEL]|[LEVEL, CALLBACK])
61
62 See "Error handling" in Mail::Reporter
63
64 $obj->errors
65 See "Error handling" in Mail::Reporter
66
67 $obj->log([LEVEL [,STRINGS]])
68 Mail::Message::Convert::HtmlFormatPS->log([LEVEL [,STRINGS]])
69
70 See "Error handling" in Mail::Reporter
71
72 $obj->logPriority(LEVEL)
73 Mail::Message::Convert::HtmlFormatPS->logPriority(LEVEL)
74
75 See "Error handling" in Mail::Reporter
76
77 $obj->logSettings
78 See "Error handling" in Mail::Reporter
79
80 $obj->notImplemented
81 See "Error handling" in Mail::Reporter
82
83 $obj->report([LEVEL])
84 See "Error handling" in Mail::Reporter
85
86 $obj->reportAll([LEVEL])
87 See "Error handling" in Mail::Reporter
88
89 $obj->trace([LEVEL])
90 See "Error handling" in Mail::Reporter
91
92 $obj->warnings
93 See "Error handling" in Mail::Reporter
94
95 Cleanup
96 $obj->DESTROY
97 See "Cleanup" in Mail::Reporter
98
99 $obj->inGlobalDestruction
100 See "Cleanup" in Mail::Reporter
101
103 Error: Package $package does not implement $method.
104 Fatal error: the specific package (or one of its superclasses) does
105 not implement this method where it should. This message means that
106 some other related classes do implement this method however the
107 class at hand does not. Probably you should investigate this and
108 probably inform the author of the package.
109
111 This module is part of Mail-Box distribution version 2.097, built on
112 January 26, 2011. Website: http://perl.overmeer.net/mailbox/
113
115 Copyrights 2001-2011 by Mark Overmeer. For other contributors see
116 ChangeLog.
117
118 This program is free software; you can redistribute it and/or modify it
119 under the same terms as Perl itself. See
120 http://www.perl.com/perl/misc/Artistic.html
121
122
123
124perl v5.12.3 2011-0M1a-i2l6::Message::Convert::HtmlFormatPS(3)