Revision 115b92fc
Von Moritz Bunkus vor mehr als 4 Jahren hinzugefügt
SL/Helper/MassPrintCreatePDF.pm | ||
---|---|---|
25 | 25 |
my ($self, %params) = @_; |
26 | 26 |
my $form = Form->new(''); |
27 | 27 |
my %create_params = ( |
28 |
variables => $form,
|
|
29 |
return => 'file_name',
|
|
28 |
variables => $form, |
|
29 |
return => 'file_name', |
|
30 | 30 |
); |
31 | 31 |
## find_template may return a list ! |
32 | 32 |
$create_params{template} = $self->find_template(name => $params{variables}->{formname}, printer_id => $params{printer_id}); |
SL/Template/LaTeX.pm | ||
---|---|---|
408 | 408 |
push @options, sprintf('%s={%s}', $name, $value); # TODO: escaping |
409 | 409 |
}; |
410 | 410 |
|
411 |
$add_opt->('ucfilespec', $embed_name); |
|
412 |
$add_opt->('desc', $file->{description}); |
|
413 |
$add_opt->('afrelationship', $file->{relationship}); |
|
414 |
$add_opt->('mimetype', $file->{mime_type}); |
|
411 |
$add_opt->('ucfilespec', $embed_name);
|
|
412 |
$add_opt->('desc', $file->{description});
|
|
413 |
$add_opt->('afrelationship', $file->{relationship});
|
|
414 |
$add_opt->('mimetype', $file->{mime_type});
|
|
415 | 415 |
|
416 | 416 |
return sprintf('\embedfile[%s]{%s}', join(',', @options), $file_name); |
417 | 417 |
} |
Auch abrufbar als: Unified diff
Kosmetik: Einrückung