Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 813e461c

Von Cem Aydin vor etwa 2 Jahren hinzugefügt

CLI Optionen für OpenDocument PDF Erzeugung korrigiert (behebt Warnungen)

Unterschiede anzeigen:

SL/Template/OpenDocument.pm
771 771
        my $ssres = setsid();
772 772
        $main::lxdebug->message(LXDebug->DEBUG2(), "  Child execing\n");
773 773
        my @cmdline = ($::lx_office_conf{applications}->{openofficeorg_writer},
774
                       "-minimized", "-norestore", "-nologo", "-nolockcheck",
775
                       "-headless",
776
                       "-accept=socket,host=localhost,port=" .
774
                       "--minimized", "--norestore", "--nologo", "--nolockcheck",
775
                       "--headless",
776
                       "--accept=socket,host=localhost,port=" .
777 777
                       $::lx_office_conf{print_templates}->{openofficeorg_daemon_port} . ";urp;");
778 778
        exec(@cmdline);
779 779
      } else {
......
827 827

  
828 828
  if (!$::lx_office_conf{print_templates}->{openofficeorg_daemon}) {
829 829
    if (system($::lx_office_conf{applications}->{openofficeorg_writer},
830
               "-minimized", "-norestore", "-nologo", "-nolockcheck", "-headless",
830
               "--minimized", "--norestore", "--nologo", "--nolockcheck", "--headless",
831 831
               "file:${filename}.odt",
832 832
               "macro://" . (split('/', $filename))[-1] . "/Standard.Conversion.ConvertSelfToPDF()") == -1) {
833 833
      die "system call to $::lx_office_conf{applications}->{openofficeorg_writer} failed: $!";

Auch abrufbar als: Unified diff