|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odftoolkit.simple.Component
org.odftoolkit.simple.presentation.Notes
public class Notes
Notes
represents the presentation notes feature of the ODF
document. Notes
provides methods to creates notes, add content,
add list, etc.
Nested Class Summary | |
---|---|
static class |
Notes.NotesBuilder
This is a tool class which supplies all of the notes creation detail. |
Method Summary | |
---|---|
List |
addList()
Add a new List to this container. |
List |
addList(ListDecorator decorator)
Add a List with specified ListDecorator to this container. |
void |
addText(String text)
insert some text to the notes page |
void |
clearList()
Remove all Lists from this container. |
static Notes |
getInstance(PresentationNotesElement noteElement)
Get a presentation notes page instance by an instance of PresentationNotesElement . |
OdfElement |
getListContainerElement()
Get the ODF element which can have |
Iterator<List> |
getListIterator()
Return an Iterator of the Lists in this ListContainer. |
PresentationNotesElement |
getOdfElement()
Return an instance of PresentationNotesElement which
represents presentation notes page feature. |
boolean |
removeList(List list)
Remove the existing List from this container. |
Methods inherited from class org.odftoolkit.simple.Component |
---|
getComponentByElement, getOwnerDocument, registerComponent, unregisterComponent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Notes getInstance(PresentationNotesElement noteElement)
PresentationNotesElement
.
noteElement
- an instance of PresentationNotesElement
Notes
that can represent
PresentationNotesElement
public PresentationNotesElement getOdfElement()
PresentationNotesElement
which
represents presentation notes page feature.
getOdfElement
in class Component
PresentationNotesElement
public void addText(String text)
text
- the text that need to insert in the notes pagepublic OdfElement getListContainerElement()
ListContainer
getListContainerElement
in interface ListContainer
public List addList()
ListContainer
addList
in interface ListContainer
public List addList(ListDecorator decorator)
ListContainer
addList
in interface ListContainer
decorator
- the specified ListDecorator
public void clearList()
ListContainer
clearList
in interface ListContainer
public Iterator<List> getListIterator()
ListContainer
getListIterator
in interface ListContainer
Iterator
public boolean removeList(List list)
ListContainer
removeList
in interface ListContainer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |