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 OdfDocumentOdfDocument.loadDocument(OdfPackage odfPackage) Loads the ODF root document from the ODF package.static OdfDocumentOdfDocument.loadDocument(OdfPackage odfPackage, Boolean enableCollaboration) Loads the ODF root document from the ODF package.static OdfDocumentOdfDocument.loadDocument(OdfPackage odfPackage, String internalPath) Creates an OdfDocument from the OpenDocument provided by an ODF package.static OdfDocumentOdfDocument.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 OdfPackageModifierConstructorDescriptionprotectedOdfChartDocument(OdfPackage pkg, String internalPath, OdfChartDocument.OdfMediaType odfMediaType) To avoid data duplication a new document is only created, if not already opened.protectedOdfDocument(OdfPackage pkg, String internalPath, OdfDocument.OdfMediaType mediaType) protectedOdfGraphicsDocument(OdfPackage pkg, String internalPath, OdfGraphicsDocument.OdfMediaType odfMediaType) To avoid data duplication a new document is only created, if not already opened.protectedOdfImageDocument(OdfPackage pkg, String internalPath, OdfImageDocument.OdfMediaType odfMediaType) To avoid data duplication a new document is only created, if not already opened.protectedOdfPresentationDocument(OdfPackage pkg, String internalPath, OdfPresentationDocument.OdfMediaType odfMediaType) To avoid data duplication a new document is only created, if not already opened.protectedOdfSpreadsheetDocument(OdfPackage pkg, String internalPath, OdfSpreadsheetDocument.OdfMediaType odfMediaType) To avoid data duplication a new document is only created, if not already opened.protectedOdfTextDocument(OdfPackage pkg, String internalPath, OdfTextDocument.OdfMediaType odfMediaType) To avoid data duplication a new document is only created, if not already opened.protectedOdfTextDocument(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) protectedOdfSchemaDocument(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 OdfPackageOdfFileDom.mPackageprotected OdfPackageOdfPackageDocument.mPackageThe ODF package containing the documentMethods in org.odftoolkit.odfdom.pkg that return OdfPackageModifier and TypeMethodDescriptionOdfPackageDocument.getPackage()Retrieves the OdfPackage for this OdfPackageDocument.static OdfPackageOdfPackage.loadPackage(File pkgFile) Loads an OdfPackage from the OpenDocument provided by a File.static OdfPackageOdfPackage.loadPackage(File pkgFile, String password) Loads an OdfPackage from the given File.static OdfPackageOdfPackage.loadPackage(File pkgFile, String password, ErrorHandler errorHandler) Loads an OdfPackage from the given File.static OdfPackageOdfPackage.loadPackage(File pkgFile, ErrorHandler errorHandler) Loads an OdfPackage from the given File.static OdfPackageOdfPackage.loadPackage(InputStream packageStream) Creates an OdfPackage from the given InputStream.static OdfPackageOdfPackage.loadPackage(InputStream packageStream, String baseURI, ErrorHandler errorHandler) Creates an OdfPackage from the given InputStream.static OdfPackageOdfPackage.loadPackage(InputStream packageStream, Map<String, Object> configuration) Creates an OdfPackage from the given InputStream.static OdfPackageOdfPackage.loadPackage(String path) Loads an OdfPackage from the given documentURL.Methods in org.odftoolkit.odfdom.pkg with parameters of type OdfPackageModifier and TypeMethodDescriptionstatic OdfFileDomOdfFileDom.newFileDom(OdfPackage pkg, String packagePath) Constructors in org.odftoolkit.odfdom.pkg with parameters of type OdfPackageModifierConstructorDescriptionprotectedOdfFileDom(OdfPackage pkg, String packagePath) Creates the DOM representation of an XML file of an Odf document.protectedOdfPackageDocument(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.