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