org.odftoolkit.odfdom.doc
Class OdfChartDocument
java.lang.Object
org.odftoolkit.odfdom.doc.OdfDocument
org.odftoolkit.odfdom.doc.OdfChartDocument
public class OdfChartDocument
- extends OdfDocument
This class represents an empty ODF document file, which will be embedded
in an existing ODF document.
Note: The way of receiving a new empty OdfEmbeddedDocument will probably change.
In the future the streams and DOM representation of an OpenDocument file will
be clonable and this stream buffering will be neglected.
| Methods inherited from class org.odftoolkit.odfdom.doc.OdfDocument |
embedDocument, getBaseURI, getContentDom, getContentStream, getDocumentPackagePath, getDocumentStyles, getEmbeddedDocument, getEmbeddedDocuments, getEmbeddedDocuments, getMetaStream, getOfficeBody, getOfficeMasterStyles, getOrCreateDocumentStyles, getPackage, getRootDocument, getSettingsStream, getStylesDom, getStylesStream, getXMLFilePath, getXPath, loadDocument, loadDocument, loadDocument, loadDocument, loadTemplate, save, save, save, setMediaType, setPackage, setRootDocument |
OdfChartDocument
protected OdfChartDocument()
createChartDocument
public static OdfChartDocument createChartDocument()
throws Exception
- Creates an empty charts document.
*
Note: ODF Chart documents are (with OOo 3.0) only used as embedded document and not used stand-alone.
- Returns:
- ODF charts document based on a default template
- Throws:
Exception - - if the document could not be created
getMediaType
public String getMediaType()
- Get the media type
- Overrides:
getMediaType in class OdfDocument
- Returns:
- the media type string of this package
toString
public String toString()
- Overrides:
toString in class OdfDocument
Copyright © 2009. All Rights Reserved.