org.odftoolkit.simple.presentation
Constructor and Description |
---|
Slide.SlideBuilder(PresentationDocument doc)
SlideBuilder constructor.
|
Modifier and Type | Method and Description |
---|---|
Slide |
getSlideInstance(DrawPageElement pageElement)
Get a presentation slide instance by an instance of
DrawPageElement . |
public Slide.SlideBuilder(PresentationDocument doc)
PresentationDocument
constructor. The end user isn't allowed to call
it directly, otherwise an IllegalStateException
will be
thrown.doc
- the owner PresentationDocument
.IllegalStateException
- if new SlideBuilder out of owner PresentationDocument
constructor, this exception will be thrown.public Slide getSlideInstance(DrawPageElement pageElement)
DrawPageElement
.pageElement
- an instance of DrawPageElement
Slide
that can represent
pageElement
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.