Changeset 22503 for main/trunk


Ignore:
Timestamp:
2010-07-26T13:01:45+12:00 (14 years ago)
Author:
kjdon
Message:

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

File:
1 edited

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'};
Note: See TracChangeset for help on using the changeset viewer.