Changeset 31759

Show
Ignore:
Timestamp:
29.06.2017 15:12:38 (4 weeks 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

Files:
1 modified

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