Show
Ignore:
Timestamp:
07.01.2009 17:59:22 (11 years ago)
Author:
ak19
Message:

Extra parameter to new doc(): the renaming method to be used on the file (base64 or URL encoding).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/PagedImagePlugin.pm

    r17822 r18327  
    479479     
    480480    # create a new document 
    481     $self->{'doc_obj'} = new doc ($self->{'filename'}, "indexed_doc"); 
     481    $self->{'doc_obj'} = new doc ($self->{'filename'}, "indexed_doc", $self->{'file_rename_method'}); 
    482482    # TODO is file filenmae_no_path?? 
    483483    $self->set_initial_doc_fields($self->{'doc_obj'}, $self->{'file'}, $self->{'processor'}); 
     
    529529    my ($filename_full_path, $dir, $filename_no_path, $processor) = @_; 
    530530 
    531     my $doc_obj = new doc ($filename_full_path, "indexed_doc"); 
     531    my $doc_obj = new doc ($filename_full_path, "indexed_doc", $self->{'file_rename_method'}); 
    532532    $self->set_initial_doc_fields($doc_obj, $filename_no_path, $processor); 
    533533    my $topsection = $doc_obj->get_top_section();