Uses of Enum
org.odftoolkit.odfdom.doc.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
Modifier and TypeMethodDescriptionstatic OdfTextDocument.OdfMediaType
Returns 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.Modifier and TypeMethodDescriptionvoid
OdfTextDocument.changeMode
(OdfTextDocument.OdfMediaType mediaType) Changes the document to the given mediatype.static OdfTextDocument
OdfTextDocument.newTextDocument
(OdfTextDocument.OdfMediaType mimeType) Creates an empty text document.ModifierConstructorDescriptionprotected
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.