Package | Description |
---|---|
org.odftoolkit.simple |
Provide high level methods to frequently used ODF documents
|
Modifier and Type | Method and Description |
---|---|
protected Document.OdfMediaType |
Document.getOdfMediaType()
Gets the media type of the Document
|
Document.OdfMediaType |
PresentationDocument.OdfMediaType.getOdfMediaType() |
static Document.OdfMediaType |
TextDocument.OdfMediaType.getOdfMediaType(String mediaType) |
static Document.OdfMediaType |
ChartDocument.OdfMediaType.getOdfMediaType(String mediaType) |
static Document.OdfMediaType |
Document.OdfMediaType.getOdfMediaType(String mediaType) |
static Document.OdfMediaType |
GraphicsDocument.OdfMediaType.getOdfMediaType(String mediaType) |
static Document.OdfMediaType |
PresentationDocument.OdfMediaType.getOdfMediaType(String mediaType) |
static Document.OdfMediaType |
SpreadsheetDocument.OdfMediaType.getOdfMediaType(String mediaType) |
static Document.OdfMediaType |
Document.OdfMediaType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Document.OdfMediaType[] |
Document.OdfMediaType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<Document> |
Document.getEmbeddedDocuments(Document.OdfMediaType mediaType)
Method returns all embedded OdfPackageDocuments of the root
OdfPackageDocument matching the according MediaType.
|
protected static Document |
Document.loadTemplate(OdfPackageDocument.Resource res,
Document.OdfMediaType odfMediaType)
Loads an Document from the given resource.
|
protected void |
Document.setOdfMediaType(Document.OdfMediaType odfMediaType)
Sets the media type of the Document
|
Constructor and Description |
---|
Document(OdfPackage pkg,
String internalPath,
Document.OdfMediaType mediaType) |
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.