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 Translate an HTML/XHTML message body into a postscript body using
21 HTML::FormatPS.
22
24 Constructors
25
26 Mail::Message::Convert::HtmlFormatPS->new(OPTIONS)
27
28 OPTIONS which start with capitals are blindly passed to HTML::For‐
29 matPS. As of this writing, that package defines BottomMargin,
30 FontFamily, FontScale, HorizontalMargin, Leading, LeftMargin,
31 PageNo, PaperHeight, PaperSize, PaperWidth, RightMargin, TopMargin,
32 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
41 . log LEVEL
42
43 . trace LEVEL
44
45 Converting
46
47 $obj->format(BODY)
48
49 Pass an html/xhtml encoded body, and a plain text body is returned.
50 Characters are translated into Latin1.
51
52 $obj->selectedFields(HEAD)
53
54 See "Converting" in Mail::Message::Convert
55
56 Error handling
57
58 $obj->AUTOLOAD
59
60 See "Error handling" in Mail::Reporter
61
62 $obj->addReport(OBJECT)
63
64 See "Error handling" in Mail::Reporter
65
66 $obj->defaultTrace([LEVEL]⎪[LOGLEVEL, TRACELEVEL]⎪[LEVEL, CALLBACK])
67
68 Mail::Message::Convert::HtmlFormatPS->defaultTrace([LEVEL]⎪[LOGLEVEL,
69 TRACELEVEL]⎪[LEVEL, CALLBACK])
70
71 See "Error handling" in Mail::Reporter
72
73 $obj->errors
74
75 See "Error handling" in Mail::Reporter
76
77 $obj->log([LEVEL [,STRINGS]])
78
79 Mail::Message::Convert::HtmlFormatPS->log([LEVEL [,STRINGS]])
80
81 See "Error handling" in Mail::Reporter
82
83 $obj->logPriority(LEVEL)
84
85 Mail::Message::Convert::HtmlFormatPS->logPriority(LEVEL)
86
87 See "Error handling" in Mail::Reporter
88
89 $obj->logSettings
90
91 See "Error handling" in Mail::Reporter
92
93 $obj->notImplemented
94
95 See "Error handling" in Mail::Reporter
96
97 $obj->report([LEVEL])
98
99 See "Error handling" in Mail::Reporter
100
101 $obj->reportAll([LEVEL])
102
103 See "Error handling" in Mail::Reporter
104
105 $obj->trace([LEVEL])
106
107 See "Error handling" in Mail::Reporter
108
109 $obj->warnings
110
111 See "Error handling" in Mail::Reporter
112
113 Cleanup
114
115 $obj->DESTROY
116
117 See "Cleanup" in Mail::Reporter
118
119 $obj->inGlobalDestruction
120
121 See "Cleanup" in Mail::Reporter
122
124 Error: Package $package does not implement $method.
125
126 Fatal error: the specific package (or one of its superclasses) does not
127 implement this method where it should. This message means that some
128 other related classes do implement this method however the class at
129 hand does not. Probably you should investigate this and probably
130 inform the author of the package.
131
133 This module is part of Mail-Box distribution version 2.070, built on
134 March 25, 2007. Website: http://perl.overmeer.net/mailbox/
135
137 Copyrights 2001-2007 by Mark Overmeer.For other contributors see
138 ChangeLog.
139
140 This program is free software; you can redistribute it and/or modify it
141 under the same terms as Perl itself. See
142 http://www.perl.com/perl/misc/Artistic.html
143
144
145
146perl v5.8.8 2007-0M3a-i2l5::Message::Convert::HtmlFormatPS(3)