<img src="https://wiki.bitplan.com/font-awesome/svg/nav_left_blue.svg" width="48" height="48" title="nav_left_blue">
<img src="https://wiki.bitplan.com/font-awesome/svg/document.svg" width="48" height="48" title="document">
<img src="https://wiki.bitplan.com/font-awesome/svg/nav_right_blue.svg" width="48" height="48" title="nav_right_blue">


This is an Example for accessing a Powerpoint97 <img src='http://img3.wikia.nocookie.net/__cb20130617071432/logopedia/images/thumb/f/ff/Office_PowerPoint_2000.svg/80px-Office_PowerPoint_2000.svg.png'/> ppt document from a WikiTask. The example file is Presentation Tips see http://poi.apache.org/slideshow/quick-guide.html

template

This template includes Office#Powerpoint97

@include(wiki.Office.Powerpoint97)
The powerpoint presentation @(wikiTask.getInput())
@if(powerpoint.error) {  
can not be opened due to error @(powerpoint.error.getMessage())
} else {
 contains the following slides:
@("{|") class="wikitable sortable"
! #
! title
|-
@{ int page=0; }
@for (Slide slide:powerpoint.slides) { 
| @(++page)
| @(slide.getTitle())
|-
}
@("|}")
}
{{wikitask|cmd=runtemplate|input=http://www.iasted.org/conferences/formatting/Presentations-Tips.ppt|engine=Rythm|template={{FULLPAGENAMEE}}#template|targetpage={{FULLPAGENAMEE}}#result}}

<img src="https://wiki.bitplan.com/font-awesome/svg/play.svg" width="48" height="48" title="play">runtemplate -> WikiTaskTutorial/Powerpoint97#result

result

The powerpoint presentation http://www.iasted.org/conferences/formatting/Presentations-Tips.ppt

contains the following slides:
# title
1 Making PowerPoint Slides
2 Tips to be Covered
3 Outline
4 Slide Structure – Good
5 Slide Structure - Bad
6 Slide Structure – Good
7 Slide Structure - Bad
8 Fonts - Good
9 Fonts - Bad
10 Colour - Good
11 Colour - Bad
12 Background - Good
13 Background – Bad
14 Graphs - Good
15 Graphs - Bad
16 Graphs - Good
17 Graphs - Bad
18 Graphs - Bad
19 Spelling and Grammar
20 Conclusion
21 Questions??