Changeset 2811 for trunk/gsdl/perllib/plugins/WordPlug.pm
- Timestamp:
- 2001-10-31T19:41:49+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/WordPlug.pm
r2785 r2811 32 32 } 33 33 34 sub 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 34 48 sub get_default_process_exp { 35 49 my $self = shift (@_); … … 37 51 return q^(?i)\.doc$^; 38 52 } 39 40 41 53 42 54 # do plugin specific processing of doc_obj for HTML type
Note:
See TracChangeset
for help on using the changeset viewer.