1

複数のパワーポイント (PPT) プレゼンテーションからスライドをコピーして、マスター パワーポイントまたは .PPTX を作成したいと考えています。PHPPowerPoint にファイルの場所のリストを入力として渡して、マスター PPT または PPTX を作成させたいと思います。PHPPowerPointはこれを行うことができますか?

ありがとう

4

1 に答える 1

1

Release 0.3.0 (Sep 22, 2014) includes the the ability to read PowerPoint97 files so it seems like you would be able to do this.

It seems like you can use code like this:

$oReaderPPT = \PhpOffice\PhpPowerpoint\IOFactory::createReader('PowerPoint97');
$oReaderPPT->load('/path/to/my.ppt');

From there, you may be able to use a combination of ->getSlideCount, ->getSlide, and ->addSlide.

于 2015-03-22T04:18:10.040 に答える