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