org.jopendocument.dom
Class ODDocument
java.lang.Object
org.jopendocument.dom.ODDocument
- Direct Known Subclasses:
- SpreadSheet, TextDocument
public abstract class ODDocument
- extends Object
An ODF document, like a spreadsheet or a text file.
- Author:
- Sylvain
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ODDocument
protected ODDocument(ODPackage orig)
getVersion
public final XMLVersion getVersion()
getFormatVersion
public final XMLFormatVersion getFormatVersion()
getPackage
public final ODPackage getPackage()
getContentDocument
public final org.jdom.Document getContentDocument()
getBody
protected final org.jdom.Element getBody()
getEpoch
public final ODEpoch getEpoch()
getEpoch
public final ODEpoch getEpoch(boolean updateFromXML)
saveAs
public File saveAs(File file)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
Copyright © 2010 jOpenDocument All Rights Reserved.