+ [refac] Add the phpword class to delegate method calls of the PhpWord library.

This commit is contained in:
liugang
2025-10-27 09:08:21 +08:00
parent 247c4d51fe
commit ca3be35b95
4 changed files with 2331 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
require_once __DIR__ . '/h2d_htmlconverter.php';
require_once __DIR__ . '/simple_html_dom.php';
require_once __DIR__ . '/styles.php';
require_once dirname(__FILE__, 2) . '/base/delegate/delegate.class.php';
class phpword extends baseDelegate
{
protected static $className = 'PhpOffice\PhpWord\PhpWord';
public function __construct()
{
$this->instance = new self::$className();
}
}