Uses of Class
org.odftoolkit.odfdom.pkg.OdfPackage
Packages that use 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
Methods in org.odftoolkit.odfdom.changes that return OdfPackage -
Uses of OdfPackage in org.odftoolkit.odfdom.doc
Methods in org.odftoolkit.odfdom.doc with parameters of type OdfPackageModifier 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.Constructors in org.odftoolkit.odfdom.doc with parameters of type OdfPackageModifierConstructorDescriptionprotected
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
Constructors in org.odftoolkit.odfdom.dom with parameters of type OdfPackageModifierConstructorDescriptionOdfContentOrStylesDomBase
(OdfPackage pkg, String packagePath) protected
OdfSchemaDocument
(OdfPackage pkg, String internalPath, String mediaTypeString) Creates a new OdfSchemaDocument. -
Uses of OdfPackage in org.odftoolkit.odfdom.pkg
Fields in org.odftoolkit.odfdom.pkg declared as OdfPackageModifier and TypeFieldDescriptionprotected OdfPackage
OdfFileDom.mPackage
protected OdfPackage
OdfPackageDocument.mPackage
The ODF package containing the documentMethods in org.odftoolkit.odfdom.pkg that return OdfPackageModifier 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.Methods in org.odftoolkit.odfdom.pkg with parameters of type OdfPackageModifier and TypeMethodDescriptionstatic OdfFileDom
OdfFileDom.newFileDom
(OdfPackage pkg, String packagePath) Constructors in org.odftoolkit.odfdom.pkg with parameters of type OdfPackageModifierConstructorDescriptionprotected
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
Constructors in org.odftoolkit.odfdom.pkg.manifest with parameters of type OdfPackageModifierConstructorDescriptionOdfManifestDom
(OdfPackage pkg, String packagePath) Creates the DOM representation of an XML file of an Odf document.