|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.odfdom.doc.OdfDocument
org.odftoolkit.odfdom.doc.OdfImageDocument
public class OdfImageDocument
This class represents an ODF image document.
| Nested Class Summary | |
|---|---|
static class |
OdfImageDocument.OdfMediaType
This enum contains all possible media types of OdfImageDocument documents. |
| Nested classes/interfaces inherited from class org.odftoolkit.odfdom.doc.OdfDocument |
|---|
OdfDocument.OdfXMLFile, OdfDocument.Resource |
| Constructor Summary | |
|---|---|
protected |
OdfImageDocument()
|
| Method Summary | |
|---|---|
void |
changeMode(OdfImageDocument.OdfMediaType type)
Switches this instance to the given type. |
OdfOfficeImage |
getContentRoot()
Get the content root of a image document. |
static OdfImageDocument |
newImageDocument()
Creates an empty image document. |
static OdfImageDocument |
newImageTemplateDocument()
Creates an empty image template. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected OdfImageDocument()
| Method Detail |
|---|
public static OdfImageDocument newImageDocument()
throws java.lang.Exception
java.lang.Exception - - if the document could not be created
public static OdfImageDocument newImageTemplateDocument()
throws java.lang.Exception
java.lang.Exception - - if the template could not be created
public OdfOfficeImage getContentRoot()
throws java.lang.Exception
java.lang.Exception - if the file DOM could not be created.public void changeMode(OdfImageDocument.OdfMediaType type)
type -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||