./dtcw4 local exportPPT
exportPPT
About This Task
Exports PowerPoint slides (.pptx) as PNG images and extracts speaker notes as AsciiDoc.
In v4, this task uses Apache POI for rendering and works on all platforms (Linux, macOS, Windows). The v3 version was Windows-only (VBScript).
|
Note
|
Only .pptx files are supported. Legacy .ppt format is not supported.
|
Generated Output
For each <name>.pptx found under your input path, the task writes:
-
slide images to
src/docs/images/ppt/<name>/slide_NNN.png(one PNG per slide), -
speaker notes to
src/docs/ppt/<name>/slide_NNN_notes.adoc(only for slides that have notes), -
a ready-to-include AsciiDoc file at
src/docs/ppt/<name>/<name>.adoc.
The generated <name>.adoc contains one section per slide, each with the slide title as a === heading, the slide image, and an include of the slide’s notes:
=== <slide title>
image::ppt/<name>/slide_001.png[<slide title>]
include::slide_001_notes.adoc[]
Include the generated <name>.adoc from your own document to embed the slides and notes.
Further Reading
Source
View the source of this task: scripts/exportPPT.groovy on GitHub
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.