我正在尝试使用 PHPWord 示例添加 OLE 对象,但未添加任何对象
<?php
require __DIR__ . '/vendor/autoload.php';
$phpWord = new \PhpOffice\PhpWord\PhpWord();
$section = $phpWord->addSection();
$section->addText('You can open this OLE object by double clicking on the
icon:');
$section->addTextBreak(2);
$section->addOLEObject('resources/_sheet.xls');
PHP 5:PHPWord 版本:0.14 windows7 Ultimate sp1 MS Office 2010