| Package | Description |
|---|---|
| org.odftoolkit.simple |
Provide high level methods to frequently used ODF documents.
|
| org.odftoolkit.simple.text |
Provide convenient methods to manipulate frequently used structures in ODF text document, such as list and section.
|
| Modifier and Type | Method and Description |
|---|---|
Section |
TextDocument.appendSection(Section section,
boolean isResourceCopied)
Copy a section and append it at the end of the text document, whether the section is in this
document or in a different document.
|
Section |
TextDocument.appendSection(String name)
Create an empty section and append it at the end of the text document.
|
Section |
Document.getSectionByName(String name)
This method will search both the document content and header/footer, return a section with a
specific name.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Section> |
Document.getSectionIterator()
This method will search both the document content and header/footer, return an iterator of
section objects.
|
| Modifier and Type | Method and Description |
|---|---|
Section |
TextDocument.appendSection(Section section,
boolean isResourceCopied)
Copy a section and append it at the end of the text document, whether the section is in this
document or in a different document.
|
| Modifier and Type | Method and Description |
|---|---|
Section |
Header.appendSection(String name)
Create an empty section and append it at the end of the footer.
|
Section |
Footer.appendSection(String name)
Create an empty section and append it at the end of the footer.
|
Section |
Section.getEmbeddedSectionByName(String chdSecName)
Looks for an embedded section with a given name.
|
static Section |
Section.getInstance(TextSectionElement element)
Get a section instance by an object of
TextSectionElement. |
Copyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.