Changeset 22503

Show
Ignore:
Timestamp:
26.07.2010 13:01:45 (9 years ago)
Author:
kjdon
Message:

StructuredHTMLPlugin needs -description tags if office_scripting is on, not just if windows_scripting is on.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/WordPlugin.pm

    r22462 r22503  
    102102    if ($@) { 
    103103    # Useful debugging statement if there is a syntax error in OpenOfficeConverter   
    104     # print STDERR "$@\n"; 
     104     #print STDERR "$@\n"; 
    105105 
    106106    push(@WordPlugin::ISA,"ConvertBinaryFile"); 
     
    190190        push (@$structhtml_options, "-metadata_fields","Title,GENERATOR,date,author<Creator>"); 
    191191        push (@$structhtml_options, "-title_sub", '^(Page\s+\d+)?(\s*1\s+)?'); 
    192         push (@$structhtml_options, "-description_tags") if $self->{'windows_scripting'}; # What about openoffice??? 
     192        push (@$structhtml_options, "-description_tags") if $self->{'office_scripting'};  
    193193        push (@$structhtml_options, "-extract_language") if $self->{'extract_language'}; 
    194194        push (@$structhtml_options, "-delete_toc") if $self->{'delete_toc'};