NAME

HTML::FromMail::Format::OODoc - convert messages into HTML using OODoc::Template

INHERITANCE

HTML::FromMail::Format::OODoc
  is a HTML::FromMail::Format
  is a Mail::Reporter

SYNOPSIS

my $fmt = HTML::FromMail->new(
  templates => ...,
  formatter => 'OODoc',   # but this is also the default
);

DESCRIPTION

Convert messages into HTML using OODoc::Template. This is a simple template system, which focusses on giving produced pieces of HTML a place in larger HTML structures.

Extends "DESCRIPTION" in HTML::FromMail::Format.

METHODS

Extends "METHODS" in HTML::FromMail::Format.

Constructors

Extends "Constructors" in HTML::FromMail::Format.

$class->new(%options)

Attributes

Extends "Attributes" in HTML::FromMail::Format.

$obj->oodoc()

Returns the OODoc::Template object which is used.

Other methods

Extends "Other methods" in HTML::FromMail::Format.

$obj->containerText(\%options)

Inherited, see "Other methods" in HTML::FromMail::Format

$obj->expand(\%options, $tag, \%attrs, \$text)

Kind of autoloader, used to discover the correct method to be invoked when a pattern must be filled-in.

$obj->lookup($tag, \%options)

Inherited, see "Other methods" in HTML::FromMail::Format

$obj->onFinalToken(\%options)

Inherited, see "Other methods" in HTML::FromMail::Format

$obj->processText($template, \%options)

Inherited, see "Other methods" in HTML::FromMail::Format

SEE ALSO

This module is part of HTML-FromMail version 3.01, built on November 21, 2025. Website: http://perl.overmeer.net/CPAN/

LICENSE

For contributors see file ChangeLog.

This software is copyright (c) 2003-2025 by Mark Overmeer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.