Changeset 20831 for gsdl/trunk
- Timestamp:
- 2009-10-21T16:11:13+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugins/OpenDocumentPlugin.pm
r16955 r20831 83 83 84 84 return bless $self, $class; 85 } 86 87 # want to use BasePlugin's version of this, not ReadXMLFile's 88 sub can_process_this_file { 89 my $self = shift(@_); 90 91 return $self->BasePlugin::can_process_this_file(@_); 85 92 } 86 93 … … 176 183 $self->{'file'} = $file; 177 184 $self->{'filename'} = $filename_full_path; 185 $self->{'filename_no_path'} = $filename_no_path; 178 186 $self->{'processor'} = $processor; 179 187 $self->{'metadata'} = $metadata; … … 240 248 my $self = shift(@_); 241 249 my ($filename,$file_only) = @_; 242 250 243 251 my $doc_obj = $self->{'doc_obj'}; 244 245 252 my $mimetype = $self->get_mimetype(); 246 253 247 254 $file_only = $doc_obj->get_assocfile_from_sourcefile(); # url-encoded filename in archives 248 249 255 $doc_obj->associate_file($filename, $file_only, $mimetype, ""); 250 256 $doc_obj->associate_file("Thumbnails/thumbnail.png", "thumbnail.png", "image/png", "");
Note:
See TracChangeset
for help on using the changeset viewer.