org.odftoolkit.simple.presentation
Class Slide.SlideBuilder
java.lang.Object
org.odftoolkit.simple.presentation.Slide.SlideBuilder
- Enclosing class:
- Slide
public static class Slide.SlideBuilder
- extends Object
This is a tool class which supplies all of the slide creation detail.
The end user isn't allowed to create it directly, otherwise an
IllegalStateException
will be thrown.
- Since:
- 0.3.5
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Slide.SlideBuilder
public Slide.SlideBuilder(PresentationDocument doc)
- SlideBuilder constructor. This constructor should only be use in
owner
PresentationDocument
constructor. The end user isn't allowed to call
it directly, otherwise an IllegalStateException
will be
thrown.
- Parameters:
doc
- the owner PresentationDocument
.
- Throws:
IllegalStateException
- if new SlideBuilder out of owner PresentationDocument
constructor, this exception will be thrown.
getSlideInstance
public Slide getSlideInstance(DrawPageElement pageElement)
- Get a presentation slide instance by an instance of
DrawPageElement
.
- Parameters:
pageElement
- an instance of DrawPageElement
- Returns:
- an instance of
Slide
that can represent
pageElement
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.