1Mail::Message::Convert:U:sTeerxtCAounttorfiobrumtaetdM(a3Pi)elr:l:MDeoscsuamgeen:t:aCtoinovnert::TextAutoformat(3)
2
3
4

NAME

6       Mail::Message::Convert::TextAutoformat - Reformat plain text messages
7

INHERITANCE

9        Mail::Message::Convert::TextAutoformat
10          is a Mail::Message::Convert
11          is a Mail::Reporter
12

SYNOPSIS

14        use Mail::Message::Convert::TextAutoformat;
15        my $af = Mail::Message::Convert::TextAutoformat->new;
16
17        my $beautified_body = $af->autoformatBody($body);
18

DESCRIPTION

20       Play trics with plain text, for instance bodies with type "text/plain"
21       using Damian Conway's Text::Autoformat.
22

METHODS

24       Constructors
25
26       Mail::Message::Convert::TextAutoformat->new(OPTIONS)
27
28        Option --Defined in     --Default
29        fields   Mail::Message::Convert  <see description>
30        log      Mail::Reporter   'WARNINGS'
31        options                   { (all, 1) }
32        trace    Mail::Reporter   'WARNINGS'
33
34           . fields NAMES⎪ARRAY-OF-NAMES⎪REGEXS
35
36           . log LEVEL
37
38           . options HASH-REF
39
40               Options to pass to Text::Autoformat, when its "autoformat"
41               method is called.
42
43           . trace LEVEL
44
45       Converting
46
47       $obj->autoformatBody(BODY)
48
49           Formats a single message body (a Mail::Message::Body object) into a
50           new body object using Text::Autoformat.  If the Text::Autoformat is
51           not installed, "undef" is returned.
52
53       $obj->selectedFields(HEAD)
54
55           See "Converting" in Mail::Message::Convert
56
57       Error handling
58
59       $obj->AUTOLOAD
60
61           See "Error handling" in Mail::Reporter
62
63       $obj->addReport(OBJECT)
64
65           See "Error handling" in Mail::Reporter
66
67       $obj->defaultTrace([LEVEL]⎪[LOGLEVEL, TRACELEVEL]⎪[LEVEL, CALLBACK])
68
69       Mail::Message::Convert::TextAutoformat->defaultTrace([LEVEL]⎪[LOGLEVEL,
70       TRACELEVEL]⎪[LEVEL, CALLBACK])
71
72           See "Error handling" in Mail::Reporter
73
74       $obj->errors
75
76           See "Error handling" in Mail::Reporter
77
78       $obj->log([LEVEL [,STRINGS]])
79
80       Mail::Message::Convert::TextAutoformat->log([LEVEL [,STRINGS]])
81
82           See "Error handling" in Mail::Reporter
83
84       $obj->logPriority(LEVEL)
85
86       Mail::Message::Convert::TextAutoformat->logPriority(LEVEL)
87
88           See "Error handling" in Mail::Reporter
89
90       $obj->logSettings
91
92           See "Error handling" in Mail::Reporter
93
94       $obj->notImplemented
95
96           See "Error handling" in Mail::Reporter
97
98       $obj->report([LEVEL])
99
100           See "Error handling" in Mail::Reporter
101
102       $obj->reportAll([LEVEL])
103
104           See "Error handling" in Mail::Reporter
105
106       $obj->trace([LEVEL])
107
108           See "Error handling" in Mail::Reporter
109
110       $obj->warnings
111
112           See "Error handling" in Mail::Reporter
113
114       Cleanup
115
116       $obj->DESTROY
117
118           See "Cleanup" in Mail::Reporter
119
120       $obj->inGlobalDestruction
121
122           See "Cleanup" in Mail::Reporter
123

DIAGNOSTICS

125       Error: Package $package does not implement $method.
126
127       Fatal error: the specific package (or one of its superclasses) does not
128       implement this method where it should. This message means that some
129       other related classes do implement this method however the class at
130       hand does not.  Probably you should investigate this and probably
131       inform the author of the package.
132

SEE ALSO

134       This module is part of Mail-Box distribution version 2.070, built on
135       March 25, 2007. Website: http://perl.overmeer.net/mailbox/
136

LICENSE

138       Copyrights 2001-2007 by Mark Overmeer.For other contributors see
139       ChangeLog.
140
141       This program is free software; you can redistribute it and/or modify it
142       under the same terms as Perl itself.  See
143       http://www.perl.com/perl/misc/Artistic.html
144
145
146
147perl v5.8.8                       2007M-a0i3l-:2:5Message::Convert::TextAutoformat(3)
Impressum