Changeset 31759 for main/trunk


Ignore:
Timestamp:
2017-06-29T15:12:38+12:00 (7 years ago)
Author:
ak19
Message:

The previous commit put text into doc.xml, but no text was visible in when previewing the extracted HTML version of the doc. Kathy pointed out that NoText was set. 'This doc has no text' was also appended to the doc.xml. Overrode add_dummy_text so that

File:
1 edited

Legend:

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

    r31757 r31759  
    146146}
    147147
     148# Called by UnknownPlugin::process()
     149# Overriding here to ensure that the NoText flag (metadata) and dummy text are not set,
     150# since, unlike UnknownPlugin, this plugin has a chance of extracting text from the unknown file format
     151sub add_dummy_text {
     152    my $self = shift(@_);
     153}
     154
    148155# Are init, begin and deinit necessary (will they not get called automatically)?
    149156# Copied here from PDFPlugin, PowerPointPlugin
Note: See TracChangeset for help on using the changeset viewer.