| Package | Description |
|---|---|
| org.odftoolkit.odfdom.doc |
The "Document Layer" exisit for usability reasons, it gives a feature based view on the document model.
|
| org.odftoolkit.odfdom.doc.table |
Provide convenient methods to manipulate table in ODF text and spreadsheet document.
|
| org.odftoolkit.odfdom.incubator.doc.text |
| Modifier and Type | Class and Description |
|---|---|
class |
OdfChartDocument
This class represents an empty ODF document , which will be in general embedded in an existing
ODF (Spreadsheet) document.
|
class |
OdfGraphicsDocument
This class represents an empty ODF graphics document.
|
class |
OdfImageDocument
This class represents an ODF image document.
|
class |
OdfPresentationDocument
This class represents an empty ODF presentation.
|
class |
OdfSpreadsheetDocument
This class represents an empty ODF spreadsheet document.
|
class |
OdfTextDocument
This class represents an empty ODF text document.
|
| Modifier and Type | Method and Description |
|---|---|
static OdfDocument |
OdfDocument.loadDocument(File file)
Loads the ODF root document from the ODF package provided as a File.
|
static OdfDocument |
OdfDocument.loadDocument(InputStream inStream)
Loads the ODF root document from the ODF package provided by a Stream.
|
static OdfDocument |
OdfDocument.loadDocument(OdfPackage odfPackage)
Loads the ODF root document from the ODF package.
|
static OdfDocument |
OdfDocument.loadDocument(OdfPackage odfPackage,
String internalPath)
Creates an OdfDocument from the OpenDocument provided by an ODF package.
|
static OdfDocument |
OdfDocument.loadDocument(String documentPath)
Loads the ODF root document from the ODF package provided by its path.
|
OdfDocument |
OdfDocument.loadSubDocument(String documentPath)
Returns an embedded OdfPackageDocument from the given package path.
|
protected static OdfDocument |
OdfDocument.loadTemplate(OdfPackageDocument.Resource res,
OdfDocument.OdfMediaType odfMediaType)
Loads the ODF root document from the given Resource.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,OdfDocument> |
OdfDocument.loadSubDocuments()
Method returns all embedded OdfPackageDocuments, which match a valid OdfMediaType, of the
current OdfPackageDocument.
|
Map<String,OdfDocument> |
OdfDocument.loadSubDocuments(OdfDocument.OdfMediaType desiredMediaType)
Method returns all embedded OdfPackageDocuments of sthe current OdfPackageDocument matching the
according MediaType.
|
| Modifier and Type | Field and Description |
|---|---|
protected OdfDocument |
OdfTable.mDocument |
| Modifier and Type | Method and Description |
|---|---|
static OdfTable |
OdfTable.newTable(OdfDocument document)
Construct the
OdfTable feature. |
static OdfTable |
OdfTable.newTable(OdfDocument document,
int numRows,
int numCols)
Construct the
OdfTable feature with a specified row number and column number. |
static OdfTable |
OdfTable.newTable(OdfDocument document,
int numRows,
int numCols,
int headerRowNumber,
int headerColumnNumber)
Construct the OdfTable feature with a specified 2 dimension array as the data of this table.
|
static OdfTable |
OdfTable.newTable(OdfDocument document,
String[] rowLabel,
String[] columnLabel,
double[][] data)
Construct the OdfTable feature with a specified 2 dimension array as the data of this table.
|
static OdfTable |
OdfTable.newTable(OdfDocument document,
String[] rowLabel,
String[] columnLabel,
String[][] data)
Construct the OdfTable feature with a specified 2 dimension array as the data of this table.
|
| Modifier and Type | Method and Description |
|---|---|
static OdfEditableTextExtractor |
OdfEditableTextExtractor.newOdfEditableTextExtractor(OdfDocument doc)
An instance of OdfEditableTextExtractor will be created to extract the editable text content of
an ODF element.
|
Copyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.