Ignore:
Timestamp:
2001-10-31T19:41:49+13:00 (23 years ago)
Author:
sjboddie
Message:

* empty log message *

File:
1 edited

Legend:

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

    r2785 r2811  
    3232}
    3333
     34sub new {
     35    my $class = shift (@_);
     36
     37    my $self = new ConvertToPlug ($class, @_);
     38
     39    # wvWare will always produce html files encoded as utf-8
     40    if ($self->{'input_encoding'} eq "auto") {
     41    $self->{'input_encoding'} = "utf8";
     42    $self->{'extract_language'} = 1;
     43    }
     44
     45    return bless $self, $class;
     46}
     47
    3448sub get_default_process_exp {
    3549    my $self = shift (@_);
     
    3751    return q^(?i)\.doc$^;
    3852}
    39    
    40 
    4153
    4254# do plugin specific processing of doc_obj for HTML type
Note: See TracChangeset for help on using the changeset viewer.