Uses of Class
org.odftoolkit.odfdom.pkg.OdfPackage
Package
Description
The "Document Layer" exist for usability reasons, it gives a feature based view on the document model.
Representing the "Package Layer", the physical document handling.
-
Uses of OdfPackage in org.odftoolkit.odfdom.changes
-
Uses of OdfPackage in org.odftoolkit.odfdom.doc
Modifier and TypeMethodDescriptionstatic OdfDocument
OdfDocument.loadDocument
(OdfPackage odfPackage) Loads the ODF root document from the ODF package.static OdfDocument
OdfDocument.loadDocument
(OdfPackage odfPackage, Boolean enableCollaboration) 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
(OdfPackage odfPackage, String internalPath, Boolean enableCollaboration) Creates an OdfDocument from the OpenDocument provided by an ODF package.ModifierConstructorDescriptionprotected
OdfChartDocument
(OdfPackage pkg, String internalPath, OdfChartDocument.OdfMediaType odfMediaType) To avoid data duplication a new document is only created, if not already opened.protected
OdfDocument
(OdfPackage pkg, String internalPath, OdfDocument.OdfMediaType mediaType) protected
OdfGraphicsDocument
(OdfPackage pkg, String internalPath, OdfGraphicsDocument.OdfMediaType odfMediaType) To avoid data duplication a new document is only created, if not already opened.protected
OdfImageDocument
(OdfPackage pkg, String internalPath, OdfImageDocument.OdfMediaType odfMediaType) To avoid data duplication a new document is only created, if not already opened.protected
OdfPresentationDocument
(OdfPackage pkg, String internalPath, OdfPresentationDocument.OdfMediaType odfMediaType) To avoid data duplication a new document is only created, if not already opened.protected
OdfSpreadsheetDocument
(OdfPackage pkg, String internalPath, OdfSpreadsheetDocument.OdfMediaType odfMediaType) To avoid data duplication a new document is only created, if not already opened.protected
OdfTextDocument
(OdfPackage pkg, String internalPath, OdfTextDocument.OdfMediaType odfMediaType) To avoid data duplication a new document is only created, if not already opened.protected
OdfTextDocument
(OdfPackage pkg, String internalPath, OdfTextDocument.OdfMediaType odfMediaType, Boolean enableCollaboration) To avoid data duplication a new document is only created, if not already opened. -
Uses of OdfPackage in org.odftoolkit.odfdom.dom
ModifierConstructorDescriptionOdfContentOrStylesDomBase
(OdfPackage pkg, String packagePath) protected
OdfSchemaDocument
(OdfPackage pkg, String internalPath, String mediaTypeString) Creates a new OdfSchemaDocument. -
Uses of OdfPackage in org.odftoolkit.odfdom.pkg
Modifier and TypeFieldDescriptionprotected OdfPackage
OdfFileDom.mPackage
protected OdfPackage
OdfPackageDocument.mPackage
The ODF package containing the documentModifier and TypeMethodDescriptionOdfPackageDocument.getPackage()
Retrieves 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, 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
(File pkgFile, 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
(InputStream packageStream, Map<String, Object> configuration) Creates an OdfPackage from the given InputStream.static OdfPackage
OdfPackage.loadPackage
(String path) Loads an OdfPackage from the given documentURL.Modifier and TypeMethodDescriptionstatic OdfFileDom
OdfFileDom.newFileDom
(OdfPackage pkg, String packagePath) ModifierConstructorDescriptionprotected
OdfFileDom
(OdfPackage pkg, String packagePath) Creates the DOM representation of an XML file of an Odf document.protected
OdfPackageDocument
(OdfPackage pkg, String internalPath, String mediaTypeString) Creates a new OdfPackageDocument. -
Uses of OdfPackage in org.odftoolkit.odfdom.pkg.manifest
ModifierConstructorDescriptionOdfManifestDom
(OdfPackage pkg, String packagePath) Creates the DOM representation of an XML file of an Odf document.