org.odftoolkit.simple.draw
public interface TextboxContainer extends FrameContainer
Modifier and Type | Method and Description |
---|---|
Textbox |
addTextbox()
Add a text box
|
Textbox |
addTextbox(FrameRectangle position)
Add a text box with a specific size at a specific position
|
Textbox |
getTextboxByName(String name)
Return a text box whose name is a given value.
|
List<Textbox> |
getTextboxByUsage(PresentationDocument.PresentationClass usage)
This method is only useful in presentation slide.
|
Iterator<Textbox> |
getTextboxIterator()
Return an Iterator of the text objects in this container.
|
boolean |
removeTextbox(Textbox box)
Remove the text box
|
getFrameContainerElement
Textbox addTextbox()
Textbox addTextbox(FrameRectangle position)
position
- - the rectangle (position and size) of this text boxboolean removeTextbox(Textbox box)
box
- - the instance of text boxIterator<Textbox> getTextboxIterator()
Textbox getTextboxByName(String name)
name
- - the name of the text boxList<Textbox> getTextboxByUsage(PresentationDocument.PresentationClass usage)
This method will return a list of text boxs by the usage in presentation slides.
usage
- - the usage descriptionCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.