Uses of Enum
org.odftoolkit.odfdom.doc.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
Modifier and TypeMethodDescriptionstatic OdfDocument.OdfMediaType
OdfChartDocument.OdfMediaType.getOdfMediaType
(String mediaType) protected OdfDocument.OdfMediaType
OdfDocument.getOdfMediaType()
Gets the media type of the OdfDocumentstatic OdfDocument.OdfMediaType
OdfDocument.OdfMediaType.getOdfMediaType
(String mediaType) static OdfDocument.OdfMediaType
OdfGraphicsDocument.OdfMediaType.getOdfMediaType
(String mediaType) static OdfDocument.OdfMediaType
OdfImageDocument.OdfMediaType.getOdfMediaType
(String mediaType) OdfPresentationDocument.OdfMediaType.getOdfMediaType()
static OdfDocument.OdfMediaType
OdfPresentationDocument.OdfMediaType.getOdfMediaType
(String mediaType) static OdfDocument.OdfMediaType
OdfSpreadsheetDocument.OdfMediaType.getOdfMediaType
(String mediaType) static OdfDocument.OdfMediaType
OdfTextDocument.OdfMediaType.getOdfMediaType
(String mediaType) static OdfDocument.OdfMediaType
Returns 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.Modifier and TypeMethodDescriptionOdfDocument.loadSubDocuments
(OdfDocument.OdfMediaType desiredMediaType) Method returns all embedded OdfPackageDocuments of sthe current OdfPackageDocument matching the according MediaType.protected static OdfDocument
OdfDocument.loadTemplate
(OdfPackageDocument.Resource res, OdfDocument.OdfMediaType odfMediaType) Loads the ODF root document from the given Resource.protected static OdfDocument
OdfDocument.loadTemplate
(OdfPackageDocument.Resource res, OdfDocument.OdfMediaType odfMediaType, Boolean enableCollaboration) Loads the ODF root document from the given Resource.protected void
OdfDocument.setOdfMediaType
(OdfDocument.OdfMediaType odfMediaType) Sets the media type of the OdfDocumentModifierConstructorDescriptionprotected
OdfDocument
(OdfPackage pkg, String internalPath, OdfDocument.OdfMediaType mediaType)