Changeset 24104 for gs2-extensions/open-office
- Timestamp:
- 2011-05-31T16:57:13+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/open-office/trunk/src/perllib/plugins/OpenOfficeConverter.pm
r23738 r24104 232 232 # into the command to launch jodconverter so that, when using the remote GS server 233 233 # on Windows, jodconverter can find the openoffice installation: 234 # my $office_short_path = Win32::GetShortPathName($ENV{'SOFFICE_HOME'}); 235 # my $convert_cmd = "java -Doffice.home=\"".$office_short_path."\" -jar \"$jodjar\""; 236 237 my $convert_cmd = "java -jar \"$jodjar\" --port $ENV{'JODCONVERTER_PORT'}"; 234 my $office_short_path = Win32::GetShortPathName($ENV{'SOFFICE_HOME'}); 235 my $convert_cmd = "java -Doffice.home=\"".$office_short_path."\" -jar \"$jodjar\" --port $ENV{'JODCONVERTER_PORT'}"; 236 237 # commented out the following line since jodjar always assumes that soffice 238 # is in C:\Prog Files\OpenOffice org 3 rather than checking for any SOFFICE var 239 # the user may have set. So need to run with the -Doffice.home flag that's set above 240 # rather than run without it as was being done below. 241 # my $convert_cmd = "java -jar \"$jodjar\" --port $ENV{'JODCONVERTER_PORT'}"; 238 242 $convert_cmd .= " \"$source_file_full_path\" \"$target_file_path\""; 239 243
Note:
See TracChangeset
for help on using the changeset viewer.