public class Notes extends Component implements ListContainer
Notes represents the presentation notes feature of the ODF document. Notes
provides methods to creates notes, add content, add list, etc.| Modifier and Type | Class and Description |
|---|---|
static class |
Notes.NotesBuilder
This is a tool class which supplies all of the notes creation detail.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getComponentByElement, getOwnerDocument, registerComponent, unregisterComponentpublic static Notes getInstance(PresentationNotesElement noteElement)
PresentationNotesElement.noteElement - an instance of PresentationNotesElementNotes that can represent PresentationNotesElement
public PresentationNotesElement getOdfElement()
PresentationNotesElement which represents presentation notes
page feature.getOdfElement in class ComponentPresentationNotesElementpublic void addText(String text)
text - the text that need to insert in the notes pagepublic OdfElement getListContainerElement()
ListContainergetListContainerElement in interface ListContainerpublic List addList()
ListContaineraddList in interface ListContainerpublic List addList(ListDecorator decorator)
ListContaineraddList in interface ListContainerdecorator - the specified ListDecoratorpublic void clearList()
ListContainerclearList in interface ListContainerpublic Iterator<List> getListIterator()
ListContainergetListIterator in interface ListContainerIteratorpublic boolean removeList(List list)
ListContainerremoveList in interface ListContainerCopyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.