Revision 2b339152
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
bin/mozilla/am.pl | ||
---|---|---|
2457 | 2457 |
_build_cfg_options('numberformat', ('1,000.00', '1000.00', '1.000,00', '1000,00')); |
2458 | 2458 |
|
2459 | 2459 |
my @formats = (); |
2460 |
if ($main::opendocument_templates
|
|
2460 |
if ($::lx_office_conf{print_templates}->{opendocument}
|
|
2461 | 2461 |
&& $::lx_office_conf{applications}->{openofficeorg_writer} && (-x $::lx_office_conf{applications}->{openofficeorg_writer}) |
2462 | 2462 |
&& $::lx_office_conf{applications}->{xvfb} && (-x $::lx_office_conf{applications}->{xvfb})) { |
2463 | 2463 |
push(@formats, { "name" => $locale->text("PDF (OpenDocument/OASIS)"), |
2464 | 2464 |
"value" => "opendocument_pdf" }); |
2465 | 2465 |
} |
2466 |
if ($main::latex_templates) {
|
|
2466 |
if ($::lx_office_conf{print_templates}->{latex}) {
|
|
2467 | 2467 |
push(@formats, { "name" => $locale->text("PDF"), "value" => "pdf" }); |
2468 | 2468 |
} |
2469 | 2469 |
push(@formats, { "name" => "HTML", "value" => "html" }); |
2470 |
if ($main::latex_templates) {
|
|
2470 |
if ($::lx_office_conf{print_templates}->{latex}) {
|
|
2471 | 2471 |
push(@formats, { "name" => $locale->text("Postscript"), |
2472 | 2472 |
"value" => "postscript" }); |
2473 | 2473 |
} |
2474 |
if ($main::opendocument_templates) {
|
|
2474 |
if ($::lx_office_conf{print_templates}->{opendocument}) {
|
|
2475 | 2475 |
push(@formats, { "name" => $locale->text("OpenDocument/OASIS"), |
2476 | 2476 |
"value" => "opendocument" }); |
2477 | 2477 |
} |
Auch abrufbar als: Unified diff
Globale Variablen für Druckvorlagen nach %::lx_office_conf verschoben
Betroffen sind:
$latex_templates
$excel_templates
$opendocument_templates
$openofficeorg_daemon
$openofficeorg_daemon_port