public abstract class AbstractFrameContainer extends Object implements FrameContainer
Constructor and Description |
---|
AbstractFrameContainer() |
Modifier and Type | Method and Description |
---|---|
Frame |
addFrame()
Add a frame to the container
|
Frame |
addFrame(FrameRectangle rectangle)
Add a frame with the specific position to the container
|
Frame |
getFrameByName(String name)
Return a frame whose name (specified with "draw:name") is a given value.
|
List<Frame> |
getFrameByPresentationclass(PresentationDocument.PresentationClass usage)
Return a list of frame whose usage (specified with "presentation:class")
is a given value.
|
abstract OdfElement |
getFrameContainerElement()
Get the ODF element which can have
|
public abstract OdfElement getFrameContainerElement()
FrameContainer
getFrameContainerElement
in interface FrameContainer
public Frame addFrame()
public Frame addFrame(FrameRectangle rectangle)
rectangle
- - the rectangle (position and size) of this framepublic Frame getFrameByName(String name)
name
- - the name of this framepublic List<Frame> getFrameByPresentationclass(PresentationDocument.PresentationClass usage)
Null will be returned if the owner document is not a presentation document.
usage
- - the usage valuePresentationDocument.PresentationClass
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.