| 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.dom | |
| org.odftoolkit.odfdom.pkg |
Representing the "Package Layer", the physical document handling.
|
| org.odftoolkit.odfdom.pkg.manifest |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
OdfChartDocument(OdfPackage pkg,
String internalPath,
OdfChartDocument.OdfMediaType odfMediaType)
To avoid data duplication a new document is only created, if not already opened.
|
OdfDocument(OdfPackage pkg,
String internalPath,
OdfDocument.OdfMediaType mediaType) |
OdfGraphicsDocument(OdfPackage pkg,
String internalPath,
OdfGraphicsDocument.OdfMediaType odfMediaType)
To avoid data duplication a new document is only created, if not already opened.
|
OdfImageDocument(OdfPackage pkg,
String internalPath,
OdfImageDocument.OdfMediaType odfMediaType)
To avoid data duplication a new document is only created, if not already opened.
|
OdfPresentationDocument(OdfPackage pkg,
String internalPath,
OdfPresentationDocument.OdfMediaType odfMediaType)
To avoid data duplication a new document is only created, if not already opened.
|
OdfSpreadsheetDocument(OdfPackage pkg,
String internalPath,
OdfSpreadsheetDocument.OdfMediaType odfMediaType)
To avoid data duplication a new document is only created, if not already opened.
|
OdfTextDocument(OdfPackage pkg,
String internalPath,
OdfTextDocument.OdfMediaType odfMediaType)
To avoid data duplication a new document is only created, if not already opened.
|
| Constructor and Description |
|---|
OdfSchemaDocument(OdfPackage pkg,
String internalPath,
String mediaTypeString)
Creates a new OdfSchemaDocument.
|
| Modifier and Type | Field and Description |
|---|---|
protected OdfPackage |
OdfPackageDocument.mPackage
The ODF package containing the document
|
protected OdfPackage |
OdfFileDom.mPackage |
| Modifier and Type | Method and Description |
|---|---|
OdfPackage |
OdfPackageDocument.getPackage()
Retreives the OdfPackage for this OdfPackageDocument.
|
static OdfPackage |
OdfPackage.loadPackage(File pkgFile)
Loads an OdfPackage from the OpenDocument provided by a File.
|
static OdfPackage |
OdfPackage.loadPackage(File pkgFile,
ErrorHandler errorHandler)
Loads an OdfPackage from the given File.
|
static OdfPackage |
OdfPackage.loadPackage(File pkgFile,
String password)
Loads an OdfPackage from the given File.
|
static OdfPackage |
OdfPackage.loadPackage(File pkgFile,
String password,
ErrorHandler errorHandler)
Loads an OdfPackage from the given File.
|
static OdfPackage |
OdfPackage.loadPackage(InputStream packageStream)
Creates an OdfPackage from the given InputStream.
|
static OdfPackage |
OdfPackage.loadPackage(InputStream packageStream,
String baseURI,
ErrorHandler errorHandler)
Creates an OdfPackage from the given InputStream.
|
static OdfPackage |
OdfPackage.loadPackage(String path)
Loads an OdfPackage from the given documentURL.
|
| Modifier and Type | Method and Description |
|---|---|
static OdfFileDom |
OdfFileDom.newFileDom(OdfPackage pkg,
String packagePath) |
| Constructor and Description |
|---|
OdfFileDom(OdfPackage pkg,
String packagePath)
Creates the DOM representation of an XML file of an Odf document.
|
OdfPackageDocument(OdfPackage pkg,
String internalPath,
String mediaTypeString)
Creates a new OdfPackageDocument.
|
| Constructor and Description |
|---|
OdfManifestDom(OdfPackage pkg,
String packagePath)
Creates the DOM representation of an XML file of an Odf document.
|
Copyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.