- Timestamp:
- 2010-08-21T00:31:36+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/open-office-src/trunk/perllib/plugins/OpenOfficeConverter.pm
r22643 r22701 82 82 } 83 83 } 84 85 } 86 87 my $arguments = [ 88 { 'name' => "openoffice_port", 89 'desc' => "{OpenOfficeConverter.openoffice_port}", 90 'type' => "int", 91 'deft' => "8100", 92 'range' => "81,", 93 'reqd' => "no" }, 94 ]; 84 } 85 86 #my $arguments = [ 87 # { 'name' => "openoffice_port", 88 # 'desc' => "{OpenOfficeConverter.openoffice_port}", 89 # 'type' => "int", 90 # 'deft' => "8100", 91 # 'range' => "81,", 92 # 'reqd' => "no" }, 93 # ]; 94 95 my $arguments = [ ]; 96 95 97 96 98 my $options = { 'name' => "OpenOfficeConverter", … … 102 104 sub new { 103 105 my ($class) = shift (@_); 104 my ($pluginlist,$inputargs,$hashArgOptLists ) = @_;106 my ($pluginlist,$inputargs,$hashArgOptLists,$auxilary) = @_; 105 107 push(@$pluginlist, $class); 106 108 … … 108 110 push(@{$hashArgOptLists->{"OptList"}},$options); 109 111 110 my $self = new BaseMediaConverter($pluginlist, $inputargs, $hashArgOptLists); 112 my $self = new BaseMediaConverter($pluginlist, $inputargs, 113 $hashArgOptLists, $auxilary); 111 114 112 115 if ($self->{'info_only'}) { … … 115 118 } 116 119 if ($openoffice_conversion_available) { 117 my $oo_port = $self->{'openoffice_port'}; 120 # my $oo_port = $self->{'openoffice_port'}; 121 my $oo_port = 8100; 122 118 123 my $launch_cmd = "soffice"; 119 124 $launch_cmd .= " \"-accept=socket,host=localhost,port=$oo_port;urp;StarOffice.ServiceManager\"";
Note:
See TracChangeset
for help on using the changeset viewer.