=encoding utf8

=head1 NAME

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

=head1 INHERITANCE

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

=head1 SYNOPSIS

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

=head1 DESCRIPTION

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

Extends L<"DESCRIPTION" in HTML::FromMail::Format|HTML::FromMail::Format/"DESCRIPTION">.

=head1 METHODS

Extends L<"METHODS" in HTML::FromMail::Format|HTML::FromMail::Format/"METHODS">.

=over 4

=item $obj-E<gt>B<containerText>(ARGS)

Inherited, see L<HTML::FromMail::Format/"METHODS">

=item $obj-E<gt>B<expand>(ARGS, TAG, ATTRS, TEXTREF)

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

=item $obj-E<gt>B<lookup>(TAG, ARGS)

Inherited, see L<HTML::FromMail::Format/"METHODS">

=item $class-E<gt>B<new>(OPTIONS)

Z<>

=item $obj-E<gt>B<onFinalToken>(ARGS)

Inherited, see L<HTML::FromMail::Format/"METHODS">

=item $obj-E<gt>B<oodoc>()

Returns the L<OODoc::Template> object which is used.

=item $obj-E<gt>B<processText>(TEXT, ARGS)

Inherited, see L<HTML::FromMail::Format/"METHODS">

=back

=head1 SEE ALSO

This module is part of HTML-FromMail version 3.00,
built on November 19, 2025. Website: F<http://perl.overmeer.net/CPAN/>

=head1 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.

