1 #====================================================================
4 # Based on SQL-Ledger Version 2.1.9
5 # Web http://www.lx-office.org
7 #====================================================================
13 use SL::Template::Simple;
14 use SL::Template::Excel;
15 use SL::Template::HTML;
16 use SL::Template::LaTeX;
17 use SL::Template::OpenDocument;
18 use SL::Template::PlainText;
19 use SL::Template::XML;
23 my $package = "SL::Template::" . $params{type};
25 $package->new($params{file_name}, $params{form}, $params{myconfig} || \%::myconfig, $params{userspath} || $::lx_office_conf{paths}->{userspath});