Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 PHP PowerPoint 阅读 PPTX 文件?有没有办法像 PHPexcel 那样序列化 ppt 文件?
PHPPowerPoint 还不能读取 ppt 或 pptx 文件。
理论上,PHPPowerPoint 中的序列化编写器会生成随后可以被 PHPPowerPoint 再次读取的文件,但由于它是 PHPPowerPoint 对象的序列化,因此其他应用程序无法使用它。尽管如此,仍然需要首先手动创建一个 PHPPowerPoint 对象。
请注意,序列化格式现已从 PHPExcel 中删除