Links

« Back to blog

Groovy PowerPoint DSL

Groovy PowerPoint DSL supports the following features:

* Slides with titles
* Bullets, which can be added to the slides
* Textboxes, which are large text area's
* Imageslides, which are slides consisting of only images. This is to support all the 'Beyond Bullet Points' lovers ;-)

Example:

builder.slideshow(filename:'Test.ppt') {
slide(title: 'Introduction') {
bullet(text: 'Bullet 1')
bullet(text: 'Bullet 2')
}
slide(title: 'Slide 2') {
bullet(text: 'Bullet 3')
bullet(text: 'Bullet 4')
}
slide(title: 'Example') {
textbox("""This is a slide
With a lot of extra lines
Which make no sense
At all""")
}
imageslide(src:'background.png')
}

http://dontmindthelanguage.wordpress.com/2009/02/27/groovy-powerpoint-dsl/

Posted December 9, 2009 by email 
 
To leave a comment on this posterous, please login by clicking one of the following.
Posterous-login     twitter