Package | Description |
---|---|
org.odftoolkit.simple |
Provide high level methods to frequently used ODF documents
|
Modifier and Type | Method and Description |
---|---|
static TextDocument.OdfMediaType |
TextDocument.OdfMediaType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextDocument.OdfMediaType[] |
TextDocument.OdfMediaType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
TextDocument.changeMode(TextDocument.OdfMediaType mediaType)
Changes the document to the given mediatype.
|
static TextDocument |
TextDocument.newTextDocument(TextDocument.OdfMediaType mimeType)
Creates an empty text document.
|
Constructor and Description |
---|
TextDocument(OdfPackage pkg,
String internalPath,
TextDocument.OdfMediaType odfMediaType)
To avoid data duplication a new document is only created, if not already
opened.
|
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.