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.
我正在使用PHPOffice生成基于数据库数据的演示文稿。这是一个很棒的图书馆。有谁知道如何将演示文稿设置为垂直?在它说它确实支持它的功能上,但我似乎无法找到一种方法来做到这一点。任何指导将不胜感激。
原始开发人员回答了我的问题:
$oDocumentLayout = new DocumentLayout(); $oDocumentLayout->setDocumentLayout(DocumentLayout::LAYOUT_A4, false); $oPresentation = new PhpPresentation(); $oPresentation->getLayout($oDocumentLayout);