Package | Description |
---|---|
org.odftoolkit.odfdom.doc |
The "Document Layer" exisit for usability reasons, it gives a feature based view on the document model.
|
Modifier and Type | Method and Description |
---|---|
protected OdfDocument.OdfMediaType |
OdfDocument.getOdfMediaType()
Gets the media type of the OdfDocument
|
OdfDocument.OdfMediaType |
OdfPresentationDocument.OdfMediaType.getOdfMediaType() |
static OdfDocument.OdfMediaType |
OdfGraphicsDocument.OdfMediaType.getOdfMediaType(String mediaType) |
static OdfDocument.OdfMediaType |
OdfTextDocument.OdfMediaType.getOdfMediaType(String mediaType) |
static OdfDocument.OdfMediaType |
OdfChartDocument.OdfMediaType.getOdfMediaType(String mediaType) |
static OdfDocument.OdfMediaType |
OdfDocument.OdfMediaType.getOdfMediaType(String mediaType) |
static OdfDocument.OdfMediaType |
OdfSpreadsheetDocument.OdfMediaType.getOdfMediaType(String mediaType) |
static OdfDocument.OdfMediaType |
OdfImageDocument.OdfMediaType.getOdfMediaType(String mediaType) |
static OdfDocument.OdfMediaType |
OdfPresentationDocument.OdfMediaType.getOdfMediaType(String mediaType) |
static OdfDocument.OdfMediaType |
OdfDocument.OdfMediaType.valueOf(String name)
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 Type | Method and Description |
---|---|
Map<String,OdfDocument> |
OdfDocument.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 void |
OdfDocument.setOdfMediaType(OdfDocument.OdfMediaType odfMediaType)
Sets the media type of the OdfDocument
|
Constructor and Description |
---|
OdfDocument(OdfPackage pkg,
String internalPath,
OdfDocument.OdfMediaType mediaType) |
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.