Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b1cf0c0b

Von Moritz Bunkus vor etwa 10 Jahren hinzugefügt

  • ID b1cf0c0b1f64742c78426285b30cc399e10d2f0e
  • Vorgänger 89e9e5db
  • Nachfolger a75f4558

CreatePDF-Helfer: Anpassung an API-Änderung SL::Template.*new

Unterschiede anzeigen:

SL/Helper/CreatePDF.pm
47 47
    UNLINK => ($::lx_office_conf{debug} && $::lx_office_conf{debug}->{keep_temp_files})? 0 : 1,
48 48
  );
49 49

  
50
  my $parser = SL::Template::LaTeX->new(
51
    $form->{IN},
52
    $form,
53
    \%::myconfig,
54
    $userspath,
50
  my $parser  = SL::Template::create(
51
    type      => 'LaTeX',
52
    source    => $form->{IN},
53
    form      => $form,
54
    myconfig  => \%::myconfig,
55
    userspath => $userspath,
55 56
  );
56 57

  
57 58
  my $result = $parser->parse($temp_fh);

Auch abrufbar als: Unified diff