Mail::LMLM::Render::HTML - backend for rendering HTML.


NAME

Mail::LMLM::Render::HTML - backend for rendering HTML.


SYNOPSIS

    use Mail::LMLM::Render::HTML;
    open O, ">out.html";
    my $r = Mail::LMLM::Render::HTML->new(\*O);
    $r->start_document("My Document", "Head Title");
    
    $r->start_section("Google", { 'title_url' => "http://www.google.com/", });
    
    $r->para("Google is a very nice search engine.");
    $r->end_section();
    $r->end_document();
    close(O);


DESCRIPTION

This is a derived class of the Mail::LMLM::Render manpage that renders HTML.


METHODS

start_document($head_title, $body_title)

end_document()

start_section($title [, { 'title_url' => $url } ])

end_section()

start_para()

end_para()

text($text [, $style])

newline()

start_link($url)

end_link()

indent_inc()

indent_dec()

horizontal_line()

email_address($account,$host)

url($url [, $inside])

para($text [, $style])

See the documentation at the Mail::LMLM::Render manpage.

initialize()

Construction method. For internal use.


AUTHOR

Shlomi Fish http://www.shlomifish.org/.