exportToPPTX

版本 2.0.2 (222.2 KB) 作者: Stefan Slonevskiy
MatLab tool for exporting data to PowerPoint 2007+ files without using COM-objects automation
9.4K 次下载
更新时间 2024/6/21

编者注: This file was selected as MATLAB Central Pick of the Week

exportToPPTX allows user to create PowerPoint 2007+ (PPTX) files without using COM-objects automation (or PowerPoint application itself). Proper XML files are created and packaged into PPTX file that can be read and displayed by PowerPoint.
Basic command syntax:
pptx = exportToPPTX();
pptx.<command>(...)
List of available commands:
* pptx = exportToPPTX(...)
* pptx = exportToPPTX(file)
* pptx.save(file)
* pptx.addSlide(...)
* pptx.switchSlide(slideID)
* pptx.addPicture(h,...)
* pptx.addTextbox(txt,...)
* pptx.addNote(txt,...)
* pptx.addShape(x,y,...)
* pptx.addTable(tbl,...)
More elaborate examples are included in examples_exportToPPTX.m and examples2_exportToPPTX.m files.
Up-to-date version, a more detailed help, bugs/issues tracking can all be found here: https://github.com/stefslon/exportToPPTX

引用格式

Stefan Slonevskiy (2024). exportToPPTX (https://github.com/stefslon/exportToPPTX), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

启发作品: Model Review Tool, jrichter24/toPPT, tfigure

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
2.0.2

OnClick property of addTextbox command now supports URLs and external files

2.0.1

Change picture scaling behavior when Position is given

2.0

exportToPPTX is class based/object oriented now. This is a major change and breaks all previous usage of the code. However changing over should not be too bad. See GitHub README for details on how to port your existing code to new implementation.

1.6.0.0

Add support for PowerPoint templates, add 'addtable' functionality, fix tabbing in markdown
Linked to GitHub version

1.5.0.0

Fixed (hopefully) Office 2010 compatibility issue

1.4.0.0

- Add "BackgroundColor" option to slides
- Fixed bug with Unicode file content
- Fixed invalid PPTX files on some versions of PowerPoint
- Fixed paragraph breaks in multi-line textboxes

1.3.0.0

added ability to add notes to slides, plus fixed a number of bugs

1.2.0.0

Fixed bug that caused multiple images to override each other on a single slide.

1.1.0.0

* Throw a more descriptive error if there is one when writing PPTX file
* Support additional input types for addPicture
* Add additional textbox and image formatting options

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库