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()
FrameContainergetFrameContainerElement in interface FrameContainerpublic 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.PresentationClassCopyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.