X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FTemplate.pm;h=8693580d63299abe4099c11a1a979c0630b5a776;hb=8cc4ba47074672d0907a19e71617c9f468b0361e;hp=e4e940ba2d2370b005cb03321f58d89eeb3e757a;hpb=fedfcc676894b8dc44f74b97cb53ed6e3d97f748;p=kivitendo-erp.git diff --git a/SL/Template.pm b/SL/Template.pm index e4e940ba2..8693580d6 100644 --- a/SL/Template.pm +++ b/SL/Template.pm @@ -616,6 +616,37 @@ sub convert_to_pdf { } +#### +#### PlainTextTemplate +#### + +package PlainTextTemplate; + +use vars qw(@ISA); + +@ISA = qw(LaTeXTemplate); + +sub new { + my $type = shift; + + return $type->SUPER::new(@_); +} + +sub format_string { + my ($self, $variable) = @_; + + return $variable; +} + +sub get_mime_type { + return "text/plain"; +} + +sub parse { +} + +1; + #### #### OpenDocumentTemplate ####