Uses of Enum
org.odftoolkit.odfdom.doc.OdfTextDocument.OdfMediaType
Packages that use OdfTextDocument.OdfMediaType
Package
Description
The "Document Layer" exist for usability reasons, it gives a feature based view on the document model.
-
Uses of OdfTextDocument.OdfMediaType in org.odftoolkit.odfdom.doc
Methods in org.odftoolkit.odfdom.doc that return OdfTextDocument.OdfMediaTypeModifier and TypeMethodDescriptionstatic OdfTextDocument.OdfMediaTypeReturns the enum constant of this type with the specified name.static OdfTextDocument.OdfMediaType[]OdfTextDocument.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 OdfTextDocument.OdfMediaTypeModifier and TypeMethodDescriptionvoidOdfTextDocument.changeMode(OdfTextDocument.OdfMediaType mediaType) Changes the document to the given mediatype.static OdfTextDocumentOdfTextDocument.newTextDocument(OdfTextDocument.OdfMediaType mimeType) Creates an empty text document.Constructors in org.odftoolkit.odfdom.doc with parameters of type OdfTextDocument.OdfMediaTypeModifierConstructorDescriptionprotectedOdfTextDocument(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.