| Package | Description |
|---|---|
| org.odftoolkit.simple |
Provide high level methods to frequently used ODF documents.
|
| org.odftoolkit.simple.chart |
Provide convenient methods to manipulate chart in ODF text, presentation and spreadsheet document.
|
| org.odftoolkit.simple.common |
Provide text extraction and fields methods to all ODF documents and elements.
|
| org.odftoolkit.simple.common.navigation |
Provide classes to operate the content and style of the selected text content.
|
| org.odftoolkit.simple.draw |
Provide high level methods to manipulate draw frame and text box.
|
| org.odftoolkit.simple.form | |
| org.odftoolkit.simple.style |
Provide convenient methods to handle style definitions in ODF document.
|
| org.odftoolkit.simple.table |
Provide convenient methods to manipulate table in ODF text and spreadsheet document.
|
| org.odftoolkit.simple.text |
Provide convenient methods to manipulate frequently used structures in ODF text document, such as list and section.
|
| org.odftoolkit.simple.text.list |
Provide convenient methods to handle list in ODF document.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChartDocument
This class represents an empty ODF document , which will be in general embedded in an existing
ODF (Spreadsheet) document.
|
class |
GraphicsDocument
This class represents an empty ODF graphics document.
|
class |
PresentationDocument
This class represents an empty ODF presentation.
|
class |
SpreadsheetDocument
This class represents an empty ODF spreadsheet document.
|
class |
TextDocument
This class represents an empty ODF text document.
|
| Modifier and Type | Method and Description |
|---|---|
Document |
Document.getEmbeddedDocument(String documentPath)
Returns an embedded OdfPackageDocument from the given package path.
|
Document |
Component.getOwnerDocument()
Get the owner document of this component
|
static Document |
Document.loadDocument(File file)
Creates a Document from the Document provided by a File.
|
static Document |
Document.loadDocument(File file,
String password)
Creates a Document from the Document provided by a File.
|
static Document |
Document.loadDocument(InputStream inStream)
Creates a Document from the Document provided by a resource Stream.
|
static Document |
Document.loadDocument(OdfPackage odfPackage)
Creates a Document from the Document provided by an ODF package.
|
static Document |
Document.loadDocument(OdfPackage odfPackage,
String internalPath)
Creates a Document from the Document provided by an ODF package.
|
static Document |
Document.loadDocument(String documentPath)
Loads a Document from the provided path.
|
static Document |
Document.loadDocument(String documentPath,
String password)
Loads a Document from the provided path.
|
protected static Document |
Document.loadTemplate(OdfPackageDocument.Resource res,
Document.OdfMediaType odfMediaType)
Loads an Document from the given resource.
|
| Modifier and Type | Method and Description |
|---|---|
List<Document> |
Document.getEmbeddedDocuments()
Method returns all embedded OdfPackageDocuments, which match a valid OdfMediaType, of the root
OdfPackageDocument.
|
List<Document> |
Document.getEmbeddedDocuments(Document.OdfMediaType mediaType)
Method returns all embedded OdfPackageDocuments of the root OdfPackageDocument matching the
according MediaType.
|
| Modifier and Type | Method and Description |
|---|---|
OdfElement |
TextDocument.insertOdfElement(OdfElement referenceOdfElement,
Document sourceDocument,
OdfElement sourceOdfElement,
boolean before)
Copy a OdfElement and insert it before or after the Reference OdfElement in the TextDocument,
whether the OdfElement is in this TextDocument or in a different Document.
|
| Constructor and Description |
|---|
AbstractChartContainer(Document doc)
The constructor to create a chart container
|
| Modifier and Type | Method and Description |
|---|---|
static String |
EditableTextExtractor.getText(Document doc)
Return the text content of document as String
|
static EditableTextExtractor |
EditableTextExtractor.newOdfEditableTextExtractor(Document doc)
An instance of EditableTextExtractor will be created to extract the editable text content in
specified document.
|
| Modifier and Type | Field and Description |
|---|---|
protected Document |
Navigation.mDocument |
| Constructor and Description |
|---|
TextNavigation(String pattern,
Document doc)
Construct
TextNavigation with matched condition and navigation scope. |
TextStyleNavigation(Map<OdfStyleProperty,String> props,
Document doc)
Construct
TextStyleNavigation with style properties condition and navigation
scope. |
| Modifier and Type | Field and Description |
|---|---|
protected Document |
Frame.mOwnerDocument |
| Modifier and Type | Method and Description |
|---|---|
Document |
Image.getOwnerDocument()
Get the owner document of this image
|
| Modifier and Type | Method and Description |
|---|---|
Document |
OOForm.getOwnerDocument() |
| Modifier and Type | Field and Description |
|---|---|
protected Document |
DefaultStyleHandler.mDocument
The document
|
| Modifier and Type | Method and Description |
|---|---|
static MasterPage |
MasterPage.getOrCreateMasterPage(Document doc,
String name)
Return a master page according to its name and its document.
|
| Modifier and Type | Field and Description |
|---|---|
protected Document |
Table.mDocument |
| Modifier and Type | Method and Description |
|---|---|
Document |
Paragraph.getOwnerDocument()
Get the owner document of this paragraph.
|
Document |
Section.getOwnerDocument()
Return the ODF document which this section belongs to.
|
Document |
Span.getOwnerDocument()
Get the owner document of this span
|
| Constructor and Description |
|---|
BulletDecorator(Document doc)
Constructor with Document.
|
BulletDecoratorBase(Document doc,
String styleName,
String styleNameIntern,
String listCharacter)
Constructor with Document.
|
DiscDecorator(Document doc)
Constructor with Document.
|
ImageDecorator(Document doc,
URI imageUri)
Constructor with Document and image URI.
|
NumberDecorator(Document doc)
Constructor with Document.
|
NumberDecoratorBase(Document doc,
String styleName,
String styleNameIntern,
String numberingFormat,
String suffix,
String prefix)
Constructor with Document.
|
NumberedAlphaLowerDecorator(Document doc)
Constructor with Document.
|
NumberedAlphaUpperDecorator(Document doc)
Constructor with Document.
|
NumberedGreekLowerDecorator(Document doc)
Constructor with Document.
|
NumberedRomanLowerDecorator(Document doc)
Constructor with Document.
|
NumberedRomanUpperDecorator(Document doc)
Constructor with Document.
|
OutLineDecorator(Document doc)
Constructor with Document.
|
SquareDecorator(Document doc)
Constructor with Document.
|
Copyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.