信呼OA版本v2.3.8

This commit is contained in:
雨中磐石
2022-08-14 16:47:40 +08:00
parent 4640677d27
commit e3fcd913e3
1405 changed files with 133635 additions and 73 deletions

View File

@@ -0,0 +1,17 @@
<?php
/**
* win下将word转html
*/
class officeChajian extends Chajian{
public function tohtml($path)
{
if(!class_exists('COM'))return '没有开启COM组件';
$word = new COM('Word.Application');
$word->Visible = true; //可看见
$word->Documents->Open($path);
$word->Documents[1]->SaveAs('upload/abc.html',8);
}
}