Uses of Enum
org.odftoolkit.odfdom.doc.OdfDocument.OdfMediaType
Packages that use OdfDocument.OdfMediaType
Package
Description
The "Document Layer" exist for usability reasons, it gives a feature based view on the document model.
-
Uses of OdfDocument.OdfMediaType in org.odftoolkit.odfdom.doc
Methods in org.odftoolkit.odfdom.doc that return OdfDocument.OdfMediaTypeModifier and TypeMethodDescriptionstatic OdfDocument.OdfMediaTypeOdfChartDocument.OdfMediaType.getOdfMediaType(String mediaType) protected OdfDocument.OdfMediaTypeOdfDocument.getOdfMediaType()Gets the media type of the OdfDocumentstatic OdfDocument.OdfMediaTypeOdfDocument.OdfMediaType.getOdfMediaType(String mediaType) static OdfDocument.OdfMediaTypeOdfGraphicsDocument.OdfMediaType.getOdfMediaType(String mediaType) static OdfDocument.OdfMediaTypeOdfImageDocument.OdfMediaType.getOdfMediaType(String mediaType) OdfPresentationDocument.OdfMediaType.getOdfMediaType()static OdfDocument.OdfMediaTypeOdfPresentationDocument.OdfMediaType.getOdfMediaType(String mediaType) static OdfDocument.OdfMediaTypeOdfSpreadsheetDocument.OdfMediaType.getOdfMediaType(String mediaType) static OdfDocument.OdfMediaTypeOdfTextDocument.OdfMediaType.getOdfMediaType(String mediaType) static OdfDocument.OdfMediaTypeReturns the enum constant of this type with the specified name.static OdfDocument.OdfMediaType[]OdfDocument.OdfMediaType.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.odftoolkit.odfdom.doc with parameters of type OdfDocument.OdfMediaTypeModifier and TypeMethodDescriptionOdfDocument.loadSubDocuments(OdfDocument.OdfMediaType desiredMediaType) Method returns all embedded OdfPackageDocuments of sthe current OdfPackageDocument matching the according MediaType.protected static OdfDocumentOdfDocument.loadTemplate(OdfPackageDocument.Resource res, OdfDocument.OdfMediaType odfMediaType) Loads the ODF root document from the given Resource.protected static OdfDocumentOdfDocument.loadTemplate(OdfPackageDocument.Resource res, OdfDocument.OdfMediaType odfMediaType, Boolean enableCollaboration) Loads the ODF root document from the given Resource.protected voidOdfDocument.setOdfMediaType(OdfDocument.OdfMediaType odfMediaType) Sets the media type of the OdfDocumentConstructors in org.odftoolkit.odfdom.doc with parameters of type OdfDocument.OdfMediaTypeModifierConstructorDescriptionprotectedOdfDocument(OdfPackage pkg, String internalPath, OdfDocument.OdfMediaType mediaType)