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