Show
Ignore:
Timestamp:
08/31/09 18:56:20 (1 year ago)
Author:
bermi
Message:

COnverting converters to PHP5

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/AkConverters/AkMsWordToMany.php

    r296 r1397  
    1919class AkMsWordToMany 
    2020{ 
    21     var $_file_type_codes = array('doc' => 0,'dot' => 1,'txt'=>2,'rtf'=>6,'unicode'=>7,'htm'=>8,'html'=>8,'asc'=>9,'wri'=>13,'wp.doc'=>24,'wps'=>28); 
     21    public $_file_type_codes = array('doc' => 0,'dot' => 1,'txt'=>2,'rtf'=>6,'unicode'=>7,'htm'=>8,'html'=>8,'asc'=>9,'wri'=>13,'wp.doc'=>24,'wps'=>28); 
    2222 
    23     function convert() 
     23    public function convert() 
    2424    { 
    2525        $word = new COM('word.application') or die('Unable to instantiate Word'); 
     
    3838    } 
    3939 
    40     function init() 
     40    public function init() 
    4141    { 
    4242        $this->ext = empty($this->ext) ? 'doc' : strtolower(trim($this->ext,'.'));