Revision b1cf0c0b
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
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
CreatePDF-Helfer: Anpassung an API-Änderung SL::Template.*new